marketplacepos 5.48.5 → 5.50.0
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/Marketplace/3rdpartylicenses.txt +214 -214
- package/Marketplace/{chunk-SHUYFOQI.js → chunk-24KZDZKS.js} +1 -1
- package/Marketplace/{chunk-7JQEF4XX.js → chunk-27DIE2YS.js} +1 -1
- package/Marketplace/chunk-2AXBEVQ7.js +4 -0
- package/Marketplace/chunk-2K5AP6IZ.js +1 -0
- package/Marketplace/{chunk-4RG5YR7N.js → chunk-2NRHX6CZ.js} +2 -2
- package/Marketplace/{chunk-ZTHO6JJM.js → chunk-2ST3DMR6.js} +1 -1
- package/Marketplace/chunk-34ZZ4GCS.js +1 -0
- package/Marketplace/chunk-35N7HHLQ.js +1 -0
- package/Marketplace/{chunk-5X2E3W32.js → chunk-3HME327V.js} +1 -1
- package/Marketplace/chunk-3NAMEVOB.js +1 -0
- package/Marketplace/{chunk-AFIF6VRM.js → chunk-3SCX7IMW.js} +1 -1
- package/Marketplace/chunk-47JP6ZSE.js +1 -0
- package/Marketplace/chunk-47Q5JJIA.js +1 -0
- package/Marketplace/chunk-4KGXKQPG.js +1 -0
- package/Marketplace/chunk-4ORO4H6Z.js +266 -0
- package/Marketplace/chunk-4PG2EBJQ.js +1 -0
- package/Marketplace/chunk-4Q4I4JG4.js +5 -0
- package/Marketplace/{chunk-QFSA7CU4.js → chunk-4S4BOPUV.js} +2 -2
- package/Marketplace/{chunk-FEQNJY7V.js → chunk-4XENFCCZ.js} +1 -1
- package/Marketplace/chunk-52YCKO3Z.js +1 -0
- package/Marketplace/chunk-55E6VHIU.js +2 -0
- package/Marketplace/{chunk-5BSPSA4O.js → chunk-5C24BA5F.js} +1 -1
- package/Marketplace/{chunk-PMVDQ2OP.js → chunk-5QDH4ZNS.js} +1 -1
- package/Marketplace/{chunk-ZETUYNFJ.js → chunk-5UFP37GQ.js} +1 -1
- package/Marketplace/{chunk-PDCVMSLL.js → chunk-5WQ3LCWP.js} +1 -1
- package/Marketplace/chunk-5WT456T7.js +3 -0
- package/Marketplace/chunk-5ZS5MEG7.js +1 -0
- package/Marketplace/chunk-654AVLKM.js +1 -0
- package/Marketplace/chunk-6C4UBIZK.js +10 -0
- package/Marketplace/{chunk-ZKIO2ZQ6.js → chunk-6F62N7RZ.js} +2 -2
- package/Marketplace/chunk-6NS3D6KQ.js +5 -0
- package/Marketplace/chunk-7E53IHXI.js +1 -0
- package/Marketplace/{chunk-RQQWNLDZ.js → chunk-7HRL6MHY.js} +1 -1
- package/Marketplace/{chunk-ESXTZ7DM.js → chunk-7IOQ6VVF.js} +1 -1
- package/Marketplace/chunk-7QP3VZ6H.js +1 -0
- package/Marketplace/chunk-7R2D2JZ6.js +3 -0
- package/Marketplace/{chunk-5MV3UFJQ.js → chunk-7X4B2T6C.js} +2 -2
- package/Marketplace/chunk-A2RTZANN.js +1 -0
- package/Marketplace/chunk-A53NYS6S.js +1 -0
- package/Marketplace/chunk-AHMFSCTX.js +2 -0
- package/Marketplace/chunk-ALLZQ6Y3.js +1 -0
- package/Marketplace/chunk-AQVMOA6Z.js +1 -0
- package/Marketplace/chunk-AUEWKPWQ.js +1 -0
- package/Marketplace/chunk-B5ZK5TGW.js +1 -0
- package/Marketplace/chunk-BAW6PICI.js +2 -0
- package/Marketplace/{chunk-DTAHV4GM.js → chunk-BC6LHZWP.js} +1 -1
- package/Marketplace/chunk-BKZIKCX7.js +1 -0
- package/Marketplace/chunk-BL6MPO6D.js +2 -0
- package/Marketplace/{chunk-GPHNPV7O.js → chunk-BMOMTOEW.js} +2 -2
- package/Marketplace/chunk-BUMWMFHU.js +2 -0
- package/Marketplace/chunk-BYL4N2KB.js +1 -0
- package/Marketplace/chunk-BYX6HZW7.js +1 -0
- package/Marketplace/{chunk-6KWG6O5L.js → chunk-C2LAQOUW.js} +1 -1
- package/Marketplace/chunk-CC7KUBNZ.js +1 -0
- package/Marketplace/chunk-CZWUOW55.js +1 -0
- package/Marketplace/{chunk-L7WZ6U4T.js → chunk-DDFP4CNP.js} +1 -1
- package/Marketplace/chunk-DI2VKA4Z.js +1 -0
- package/Marketplace/{chunk-6OJQRHIZ.js → chunk-DLHIDOS3.js} +1 -1
- package/Marketplace/chunk-DPB2343S.js +1 -0
- package/Marketplace/chunk-EBXGQWOL.js +1 -0
- package/Marketplace/{chunk-IM5M2CAI.js → chunk-EH3PIGLJ.js} +1 -1
- package/Marketplace/chunk-EHND5PFE.js +1 -0
- package/Marketplace/{chunk-2J7P6ENI.js → chunk-F26O6FCO.js} +1 -1
- package/Marketplace/chunk-FEQXCPQI.js +2 -0
- package/Marketplace/chunk-FFJXYPVA.js +1 -0
- package/Marketplace/chunk-FJU2CZTJ.js +1 -0
- package/Marketplace/chunk-FLNIURLD.js +1 -0
- package/Marketplace/{chunk-4ILDFTIG.js → chunk-FOKLBUX6.js} +1 -1
- package/Marketplace/chunk-FTIUJUXI.js +1 -0
- package/Marketplace/{chunk-WNUTNP6I.js → chunk-G3B6ETBU.js} +5 -5
- package/Marketplace/{chunk-VWX2IX64.js → chunk-G4T4VM5E.js} +1 -1
- package/Marketplace/{chunk-E4BL56JJ.js → chunk-G6O6VFLS.js} +1 -1
- package/Marketplace/chunk-GG3X4R7G.js +1 -0
- package/Marketplace/chunk-GVJLKDIO.js +1 -0
- package/Marketplace/chunk-HFGQAVIU.js +1 -0
- package/Marketplace/{chunk-N5AE5WMQ.js → chunk-HO2TMGLM.js} +1 -1
- package/Marketplace/chunk-HORS2MKK.js +1 -0
- package/Marketplace/chunk-IBE5KBZU.js +1 -0
- package/Marketplace/chunk-IDGK6BMG.js +1 -0
- package/Marketplace/chunk-IF7EJSQG.js +1 -0
- package/Marketplace/chunk-IKC5WEP5.js +1 -0
- package/Marketplace/{chunk-3L7Y6LG6.js → chunk-IM7YH54S.js} +1 -1
- package/Marketplace/{chunk-63I3I3MX.js → chunk-IVKFEOCB.js} +1 -1
- package/Marketplace/chunk-J3QDFXZ7.js +1 -0
- package/Marketplace/chunk-J6HA4ZHH.js +1 -0
- package/Marketplace/chunk-JM3NLPH4.js +9 -0
- package/Marketplace/chunk-JNRCB7N3.js +2 -0
- package/Marketplace/chunk-JSQ7SYYK.js +1 -0
- package/Marketplace/chunk-JV4F6ZYF.js +1 -0
- package/Marketplace/chunk-JWDQVXQP.js +1 -0
- package/Marketplace/chunk-JYSOUJ42.js +1 -0
- package/Marketplace/chunk-JZ3E5MLG.js +1 -0
- package/Marketplace/chunk-K5WSFDNA.js +1 -0
- package/Marketplace/chunk-KDIXLH2S.js +1 -0
- package/Marketplace/chunk-KR6UNAIL.js +3 -0
- package/Marketplace/chunk-KSRL7Y2J.js +2 -0
- package/Marketplace/{chunk-2PXOGGDS.js → chunk-LAMGWNDE.js} +19 -19
- package/Marketplace/chunk-LKJCOEGO.js +1 -0
- package/Marketplace/chunk-LQPY6AYJ.js +1 -0
- package/Marketplace/{chunk-FULVA6QB.js → chunk-LR2YCE6M.js} +1 -1
- package/Marketplace/{chunk-DXYMG6QK.js → chunk-LUJ3SHSP.js} +1 -1
- package/Marketplace/{chunk-J6CZKQ53.js → chunk-M3DUXHYE.js} +4 -4
- package/Marketplace/{chunk-6PW6S7MI.js → chunk-MAQQQB3T.js} +1 -1
- package/Marketplace/chunk-MM7SAZOU.js +1 -0
- package/Marketplace/{chunk-CM3B2UZ7.js → chunk-MPFJ7FBJ.js} +1 -1
- package/Marketplace/{chunk-SJ5MC42H.js → chunk-MT3CWRVG.js} +2 -2
- package/Marketplace/chunk-MTVUPPAN.js +149 -0
- package/Marketplace/{chunk-WHHW4IZT.js → chunk-N3E43QWK.js} +2 -2
- package/Marketplace/{chunk-AFDI4TD4.js → chunk-NIJCYMZM.js} +3 -3
- package/Marketplace/chunk-NMFPLAWN.js +1 -0
- package/Marketplace/chunk-NQLMPUSB.js +1 -0
- package/Marketplace/chunk-NQVNAQCL.js +1 -0
- package/Marketplace/{chunk-VNI2KCJE.js → chunk-NRSDIDOP.js} +1 -1
- package/Marketplace/{chunk-3JRUKSV3.js → chunk-NVPT5BF2.js} +2 -2
- package/Marketplace/chunk-NY2YBW66.js +1 -0
- package/Marketplace/chunk-O4D64GHO.js +2 -0
- package/Marketplace/{chunk-UH5C5HXK.js → chunk-O4U34AC7.js} +1 -1
- package/Marketplace/chunk-OCXIDX74.js +1 -0
- package/Marketplace/chunk-OGF4VFSK.js +1 -0
- package/Marketplace/chunk-OHGMB7HJ.js +4 -0
- package/Marketplace/chunk-OIWQSDTS.js +1 -0
- package/Marketplace/chunk-OSGPJXJZ.js +1 -0
- package/Marketplace/chunk-P3XVM6DH.js +1 -0
- package/Marketplace/{chunk-GEDKSGFP.js → chunk-P6RAMHDB.js} +1 -1
- package/Marketplace/chunk-PBAFAOKJ.js +1 -0
- package/Marketplace/chunk-PGX5ZJ6P.js +1 -0
- package/Marketplace/{chunk-IGKMJFKP.js → chunk-PN3KM4M4.js} +2 -2
- package/Marketplace/chunk-PSJVP2XO.js +1 -0
- package/Marketplace/chunk-PUCIZX6E.js +1 -0
- package/Marketplace/chunk-PWCN6GJX.js +5 -0
- package/Marketplace/{chunk-L76NLJD7.js → chunk-PWOKOWVV.js} +2 -2
- package/Marketplace/chunk-QJ55WDGL.js +1 -0
- package/Marketplace/chunk-QJCYEP2A.js +1 -0
- package/Marketplace/{chunk-4RLWHMI6.js → chunk-QMHG3QTI.js} +1 -1
- package/Marketplace/chunk-QMIL5QUX.js +1 -0
- package/Marketplace/chunk-QMQCIH3X.js +7 -0
- package/Marketplace/chunk-QQF5ZMGS.js +2 -0
- package/Marketplace/{chunk-6XDT56RT.js → chunk-R3WIWDSP.js} +2 -2
- package/Marketplace/{chunk-LOWGZOML.js → chunk-RBZU7OVM.js} +1 -1
- package/Marketplace/chunk-RM6ZXD3O.js +1 -0
- package/Marketplace/chunk-RN5CI3LE.js +1 -0
- package/Marketplace/chunk-ROS2QMKF.js +1 -0
- package/Marketplace/{chunk-YTHY4IFS.js → chunk-RQUCYFCB.js} +1 -1
- package/Marketplace/chunk-RTLTTFZ7.js +1 -0
- package/Marketplace/chunk-RUYX7KTP.js +1 -0
- package/Marketplace/{chunk-5PMKN6PM.js → chunk-RXC5D64C.js} +2 -2
- package/Marketplace/chunk-RZ5N5JLA.js +1 -0
- package/Marketplace/chunk-S4JKTHY2.js +1 -0
- package/Marketplace/chunk-SABMHH6B.js +1 -0
- package/Marketplace/{chunk-TXOZULMZ.js → chunk-SIPZP62B.js} +1 -1
- package/Marketplace/{chunk-35DCCWTG.js → chunk-SMZOSLIK.js} +1 -1
- package/Marketplace/chunk-SPLGZRGH.js +5 -0
- package/Marketplace/chunk-SS6PBSX7.js +1 -0
- package/Marketplace/chunk-SZ33XJ4F.js +1 -0
- package/Marketplace/chunk-TBVMCNS2.js +1 -0
- package/Marketplace/{chunk-3WRXJBHF.js → chunk-TDMNVEUU.js} +3 -3
- package/Marketplace/{chunk-RUBV3KX2.js → chunk-TKZ74HJD.js} +1 -1
- package/Marketplace/chunk-TOK5EWN4.js +1 -0
- package/Marketplace/{chunk-7GY4O2UX.js → chunk-TYQYNICX.js} +3 -3
- package/Marketplace/{chunk-VX75I7HA.js → chunk-TZTW72NT.js} +1 -1
- package/Marketplace/{chunk-AZOCRKXK.js → chunk-UB62TZOI.js} +1 -1
- package/Marketplace/{chunk-LA2EIRS6.js → chunk-UE2QO2Y4.js} +1 -1
- package/Marketplace/chunk-UE5E7JXK.js +1 -0
- package/Marketplace/chunk-UMLV2ZUF.js +1 -0
- package/Marketplace/{chunk-JBEKD57G.js → chunk-UPRDDI4K.js} +1 -1
- package/Marketplace/{chunk-K2QHJ7WS.js → chunk-V6QH3IVL.js} +1 -1
- package/Marketplace/chunk-VH7JZJ2B.js +1 -0
- package/Marketplace/chunk-VOONKP66.js +1 -0
- package/Marketplace/chunk-VP3XO25X.js +2 -0
- package/Marketplace/chunk-VVTBM3Z5.js +1 -0
- package/Marketplace/chunk-VWMEDVEG.js +1 -0
- package/Marketplace/{chunk-NWB7EVME.js → chunk-W33M7S2S.js} +1 -1
- package/Marketplace/{chunk-L3W6SG2T.js → chunk-WAXAIL2I.js} +1 -1
- package/Marketplace/{chunk-HK5FXZE4.js → chunk-WIRBYT7F.js} +1 -1
- package/Marketplace/chunk-WQHFRJZZ.js +1 -0
- package/Marketplace/{chunk-KJE5GRQ4.js → chunk-WVA5LYVE.js} +1 -1
- package/Marketplace/chunk-X35EOX3B.js +1 -0
- package/Marketplace/chunk-X52ZT4MU.js +1 -0
- package/Marketplace/chunk-XLQGQESJ.js +2 -0
- package/Marketplace/chunk-XPA7U45N.js +1 -0
- package/Marketplace/{chunk-6Q6L5NUD.js → chunk-XUDE7VBC.js} +1 -1
- package/Marketplace/{chunk-DHPNXR6E.js → chunk-Y3O22N4P.js} +1 -1
- package/Marketplace/{chunk-Q2QX5AAJ.js → chunk-YABJCAAL.js} +4 -4
- package/Marketplace/{chunk-3J4WF3UO.js → chunk-YAWT3CLI.js} +1 -1
- package/Marketplace/chunk-YD6BNJ2B.js +1 -0
- package/Marketplace/{chunk-FHER4TFY.js → chunk-YKKHSYDW.js} +1 -1
- package/Marketplace/chunk-YLQU53ID.js +1 -0
- package/Marketplace/chunk-YNL43MLU.js +1 -0
- package/Marketplace/chunk-YQZHIZHO.js +6 -0
- package/Marketplace/chunk-YX65R6YJ.js +1 -0
- package/Marketplace/chunk-YYV4FSYQ.js +1 -0
- package/Marketplace/{chunk-EYT2YJGK.js → chunk-Z2XRGVGT.js} +1 -1
- package/Marketplace/chunk-Z6LN3X5Q.js +1 -0
- package/Marketplace/{chunk-HPINZVE4.js → chunk-ZC526ERX.js} +1 -1
- package/Marketplace/{chunk-M4ZE35XK.js → chunk-ZDBFIPDM.js} +1 -1
- package/Marketplace/{chunk-RNWHARPK.js → chunk-ZGIYCORM.js} +1 -1
- package/Marketplace/chunk-ZMQQVXQU.js +1 -0
- package/Marketplace/chunk-ZQHOCT7I.js +1 -0
- package/Marketplace/chunk-ZVNZGCYO.js +1 -0
- package/Marketplace/{chunk-ITGVXYDV.js → chunk-ZWUYPYHD.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/main-IQOLSEWV.js +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-2F4DTZCZ.js +0 -2
- package/Marketplace/chunk-2HGLCZCJ.js +0 -1
- package/Marketplace/chunk-2USFVKEX.js +0 -1
- package/Marketplace/chunk-2WEEVTKZ.js +0 -1
- package/Marketplace/chunk-36U7D4LI.js +0 -1
- package/Marketplace/chunk-3IGKGUHQ.js +0 -1
- package/Marketplace/chunk-4JDI3AL5.js +0 -1
- package/Marketplace/chunk-4YCSITNV.js +0 -1
- package/Marketplace/chunk-6EORXONU.js +0 -4
- package/Marketplace/chunk-6J3WQHJF.js +0 -1
- package/Marketplace/chunk-6T3PILHS.js +0 -1
- package/Marketplace/chunk-7NHO7E6W.js +0 -1
- package/Marketplace/chunk-A7PUMY67.js +0 -1
- package/Marketplace/chunk-AMHOLPZC.js +0 -1
- package/Marketplace/chunk-BI2LUCYC.js +0 -1
- package/Marketplace/chunk-BXYXVBXP.js +0 -1
- package/Marketplace/chunk-BY7LPG4A.js +0 -2
- package/Marketplace/chunk-C7N6EI73.js +0 -1
- package/Marketplace/chunk-CBB3JEV7.js +0 -1
- package/Marketplace/chunk-CT6UFONR.js +0 -1
- package/Marketplace/chunk-D2J64VUP.js +0 -1
- package/Marketplace/chunk-DAUML5UD.js +0 -2
- package/Marketplace/chunk-DDSVUI6T.js +0 -2
- package/Marketplace/chunk-DOVAN3PS.js +0 -1
- package/Marketplace/chunk-E3EBAWLJ.js +0 -1
- package/Marketplace/chunk-E3TCC2HT.js +0 -1
- package/Marketplace/chunk-E66QUDQF.js +0 -1
- package/Marketplace/chunk-E6AMKEQR.js +0 -149
- package/Marketplace/chunk-E6ZWL77N.js +0 -1
- package/Marketplace/chunk-EDEZ3JLR.js +0 -4
- package/Marketplace/chunk-F6SEXTTP.js +0 -15
- package/Marketplace/chunk-FCEXPGTK.js +0 -5
- package/Marketplace/chunk-FKGKMEDE.js +0 -2
- package/Marketplace/chunk-GG3MDS4C.js +0 -1
- package/Marketplace/chunk-GURSK3ZV.js +0 -1
- package/Marketplace/chunk-HVGTRPJH.js +0 -1
- package/Marketplace/chunk-I7C6W3RB.js +0 -1
- package/Marketplace/chunk-I7YNDTEK.js +0 -1
- package/Marketplace/chunk-ILW6ZFFV.js +0 -1
- package/Marketplace/chunk-JTP3ZFNS.js +0 -1
- package/Marketplace/chunk-JW7NES7L.js +0 -1
- package/Marketplace/chunk-JZL2233L.js +0 -266
- package/Marketplace/chunk-KVDREHOE.js +0 -1
- package/Marketplace/chunk-KWRH5WFZ.js +0 -2
- package/Marketplace/chunk-LNJUGHOX.js +0 -2
- package/Marketplace/chunk-LVRM4JAP.js +0 -1
- package/Marketplace/chunk-M2BYW5SR.js +0 -1
- package/Marketplace/chunk-MAK2RHFD.js +0 -1
- package/Marketplace/chunk-MYJY2N6R.js +0 -1
- package/Marketplace/chunk-NCKPMA6Q.js +0 -1
- package/Marketplace/chunk-O2YF5VGD.js +0 -2
- package/Marketplace/chunk-O4EO3YBL.js +0 -1
- package/Marketplace/chunk-OBF4XVU7.js +0 -1
- package/Marketplace/chunk-OCP5FDSY.js +0 -1
- package/Marketplace/chunk-OPXITNRF.js +0 -1
- package/Marketplace/chunk-OXWPYJNB.js +0 -1
- package/Marketplace/chunk-PYQPYOIY.js +0 -7
- package/Marketplace/chunk-Q4TAOZ73.js +0 -1
- package/Marketplace/chunk-QFGKR62M.js +0 -1
- package/Marketplace/chunk-R2XT5M5F.js +0 -3
- package/Marketplace/chunk-RXE72I2S.js +0 -1
- package/Marketplace/chunk-S5R6MCNP.js +0 -5
- package/Marketplace/chunk-S7CKRTJV.js +0 -2
- package/Marketplace/chunk-SETHDR5R.js +0 -5
- package/Marketplace/chunk-STYL7ETF.js +0 -3
- package/Marketplace/chunk-TJUIBLFE.js +0 -1
- package/Marketplace/chunk-TJYYRHZZ.js +0 -1
- package/Marketplace/chunk-TYQY4WPY.js +0 -1
- package/Marketplace/chunk-UJ4S2WZV.js +0 -1
- package/Marketplace/chunk-UN53SVGE.js +0 -1
- package/Marketplace/chunk-UYG2OCBS.js +0 -1
- package/Marketplace/chunk-VEBP36WX.js +0 -1
- package/Marketplace/chunk-VKZ2UVXB.js +0 -1
- package/Marketplace/chunk-WD4PA53F.js +0 -1
- package/Marketplace/chunk-WZYOXBEP.js +0 -5
- package/Marketplace/chunk-XLIPGDSC.js +0 -2
- package/Marketplace/chunk-XUMLTOVI.js +0 -1
- package/Marketplace/chunk-Z2CPXQ24.js +0 -1
- package/Marketplace/chunk-ZME22WYI.js +0 -1
- package/Marketplace/chunk-ZW2TMVZP.js +0 -10
- package/Marketplace/chunk-ZYJ6LAJ3.js +0 -4
- package/Marketplace/main-JXUEQJZZ.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as E}from"./chunk-DHPNXR6E.js";import{a as je}from"./chunk-6XDT56RT.js";import"./chunk-SHUYFOQI.js";import{a as Ke}from"./chunk-TYQY4WPY.js";import"./chunk-IM5M2CAI.js";import{a as J}from"./chunk-ISMIPSYN.js";import{a as ze,b as Ge,c as qe,d as Y,e as ee}from"./chunk-S5R6MCNP.js";import{c as We,d as $e}from"./chunk-VX75I7HA.js";import"./chunk-DAUML5UD.js";import{a as He,b as Qe}from"./chunk-DXYMG6QK.js";import"./chunk-3WRXJBHF.js";import"./chunk-UH5C5HXK.js";import"./chunk-63I3I3MX.js";import{a as Ae}from"./chunk-ESXTZ7DM.js";import"./chunk-QFSA7CU4.js";import"./chunk-OPXITNRF.js";import"./chunk-5BSPSA4O.js";import"./chunk-FULVA6QB.js";import"./chunk-HPINZVE4.js";import"./chunk-D2J64VUP.js";import"./chunk-6Q6L5NUD.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import"./chunk-3RK6DDJD.js";import"./chunk-4YCSITNV.js";import"./chunk-WHHW4IZT.js";import{a as Z}from"./chunk-ZSUWHVKX.js";import{a as Le,b as Oe,c as Be}from"./chunk-6PW6S7MI.js";import"./chunk-N5AE5WMQ.js";import{a as Ue}from"./chunk-6OJQRHIZ.js";import"./chunk-E4BL56JJ.js";import{e as Ie}from"./chunk-6KWG6O5L.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import{i as be}from"./chunk-PYQPYOIY.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import{a as X}from"./chunk-AGBJEXIM.js";import{b as fe,e as Se}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{c as y}from"./chunk-JBEKD57G.js";import{b as Pe,c as De,d as Me,j as Ve,k as Ee,l as ke,m as Re,n as Ne}from"./chunk-EDEZ3JLR.js";import{A as xe,b as _e,c as Ce,h as ue,m as he,o as ge}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import{a as ye,b as ve,c as we}from"./chunk-ZETUYNFJ.js";import{v as Fe,w as Te}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{G as pe,I as me,c as ce,i as $,j as H,l as de,m as Q}from"./chunk-LNJUGHOX.js";import{$b as u,$c as D,G as j,Gb as O,Ha as M,Lc as ie,Mb as B,Mc as m,Nc as L,Oc as I,Qc as F,Rc as T,Sc as P,Tc as oe,Uc as ae,Vc as le,Wc as re,Z as R,Zc as W,_c as se,bc as h,cc as G,ea as z,ec as q,fc as K,gc as g,hc as a,hd as f,ic as r,id as b,jc as v,jd as V,lb as N,nb as s,nc as A,oc as U,qc as w,ra as S,v as k,vc as x,xa as _,xc as l,ya as C}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import{a as ne}from"./chunk-66YHNWRR.js";var Je=()=>["/menu/order/download"];function et(i,c){if(i&1&&(a(0,"li",4)(1,"div"),m(2," The last time you manually download your order is on "),a(3,"span",8),m(4),f(5,"date"),r()(),a(6,"div",9),m(7),r()()),i&2){l();let e=le(0);s(4),I(" ",V(5,2,e==null?null:e.OrderDownloadLatestOn,"dd MMM yyyy HH:mm")," "),s(3),I("(",e==null?null:e.calculatedDate,")")}}function tt(i,c){i&1&&(a(0,"li",4),m(1," The last time you manually download your order is on (-) "),r())}var Ze=(()=>{let c=class c{constructor(){this.dialogRef=S(Pe),this.data=S(De),this.modalConfig=new Ve,this.inventoryService=S(E),this.lastDownloadInfo$=this.inventoryService.getLastInfoDownloadInventory(this.data.channelId).pipe(k(n=>{let t=n.OrderDownloadLatestOn!=y.MinDate,o=null,p=null;return t&&(o=new Date(n.OrderDownloadLatestOn),p=y.convertToReadableDate(o)),{OrderDownloadLatestOn:o,calculatedDate:p}}),R(1)),this.selectedProducts=M(this.data.selectedProducts||[]),this.modalConfig.title="Manual Inventory Sync",this.modalConfig.customWidth="500px",this.modalConfig.bodyScrollable=!0,this.modalConfig.hideOk=!0,this.modalConfig.hideCancel=!0}onUpdate(){this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}};c.\u0275fac=function(t){return new(t||c)},c.\u0275cmp=O({type:c,selectors:[["app-dialog-update-product-info"]],features:[W([E])],decls:16,vars:8,consts:[[3,"onCancel","config"],["content",""],[1,"container"],[1,"mt-8"],[1,"lh-base"],["footer",""],[1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3","py-8",3,"click","routerLink"],[1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3","py-8",3,"click","keyup.F2"],[1,"fw-bold","me-1"],[1,"fw-bold"]],template:function(t,o){if(t&1){let p=w();oe(0),f(1,"async"),a(2,"modal-material",0),x("onCancel",function(){return _(p),C(o.onCancel())}),a(3,"div",1)(4,"div",2)(5,"h4"),m(6),r(),a(7,"div",3)(8,"ul"),u(9,et,8,5,"li",4)(10,tt,2,0,"li",4),r()()()(),a(11,"div",5)(12,"a",6),x("click",function(){return _(p),C(o.onCancel())}),m(13," Download "),r(),a(14,"button",7),x("click",function(){return _(p),C(o.onUpdate())})("keyup.F2",function(){return _(p),C(o.onUpdate())}),m(15," Update Anyway "),r()()()}if(t&2){let p=ae(b(1,4,o.lastDownloadInfo$));s(2),g("config",o.modalConfig),s(4),I("",o.selectedProducts().length," Product(s) will be updated."),s(3),h(p!=null&&p.OrderDownloadLatestOn?9:10),s(3),g("routerLink",se(7,Je))}},dependencies:[Ee,Q,me,pe,$,H],encapsulation:2});let i=c;return i})();var te=i=>[i],nt=i=>({"text-decoration-line-through":i}),it=i=>({"me-10":i}),ot=i=>({"bg-gradient-warning":i}),at=i=>({cursor:i});function lt(i,c){if(i&1){let e=w();a(0,"button",37),x("click",function(){_(e);let t=l(),o=l(2);return C(o.onScanInventory(t))}),v(1,"i",38),m(2,"Refresh "),r()}}function rt(i,c){if(i&1){let e=w();a(0,"div",35)(1,"button",39),x("click",function(){_(e);let t=l(),o=l(2);return C(o.onOpenDialogUpdateStockInfo(t))}),v(2,"i",40),m(3," Update "),r(),v(4,"button",41),a(5,"ul",42)(6,"a",43),x("click",function(){_(e);let t=l(3);return C(t.openExportDialog())}),v(7,"i",44),a(8,"span"),m(9,"Export"),r()()()()}}function st(i,c){if(i&1){let e=w();a(0,"button",45),x("click",function(){_(e);let t=l(3);return C(t.openExportDialog())}),v(1,"i",44),a(2,"span"),m(3,"Export"),r()()}}function ct(i,c){if(i&1&&(a(0,"div"),u(1,lt,3,0,"button",34),u(2,rt,10,0,"div",35)(3,st,4,0,"button",36),r()),i&2){let e=c,n=l(2);s(),h(n.productService.hasSelectionVariant(e)?1:-1),s(),h(n.productService.hasSelectionVariant(e)?2:3)}}function dt(i,c){i&1&&(a(0,"div",18)(1,"span"),m(2," showing only different stock, please press next to populate more data "),r()())}function pt(i,c){if(i&1){let e=w();a(0,"th")(1,"input",46),P("ngModelChange",function(t){_(e);let o=l(3);return T(o.checkboxState,t)||(o.checkboxState=t),C(t)}),x("ngModelChange",function(){let t=_(e),o=l(3);return C(o.onCheckboxStateChange(t))}),r()()}if(i&2){let e=l(3);s(),F("ngModel",e.checkboxState)}}function mt(i,c){if(i&1&&(A(0),u(1,pt,2,1,"th"),f(2,"async"),U()),i&2){let e,n=l(2);s(),h((e=b(2,1,n.products$))?1:-1,e)}}function _t(i,c){i&1&&(a(0,"th",31),m(1," Reserved "),r())}function Ct(i,c){if(i&1){let e=w();a(0,"input",63),P("ngModelChange",function(t){_(e);let o=l(4).$implicit;return T(o.selected,t)||(o.selected=t),C(t)}),x("ngModelChange",function(){_(e);let t=l(4).$implicit,o=l(2);return C(o.onCheckboxStateProduct(t))}),r()}if(i&2){let e=l(4).$implicit;F("ngModel",e.selected)}}function ut(i,c){if(i&1&&(A(0),a(1,"div",61),u(2,Ct,1,1,"input",62),r(),U()),i&2){let e=l(3).$implicit;s(),g("ngClass",D(2,it,e.Variants.length<=1)),s(),h(e.Variants.length>1?2:-1)}}function ht(i,c){if(i&1){let e=w();a(0,"img",64),x("click",function(t){_(e);let o=l(3).$implicit,p=l(2);return C(p.onZoomImage(t,o==null?null:o.ImageUrl))}),r()}if(i&2){let e=l(3).$implicit;g("src",re(e==null?null:e.ThumbnailUrl),N)}}function gt(i,c){i&1&&v(0,"img",58)}function xt(i,c){if(i&1&&(v(0,"br"),a(1,"div",65),v(2,"i",66),a(3,"small"),m(4),r()()),i&2){let e=l(3).$implicit;s(4),I("(",e==null?null:e.Category,")")}}function ft(i,c){if(i&1&&(a(0,"td",56)(1,"div",12),B(2,ut,3,4,"ng-container",25),a(3,"div"),u(4,ht,1,2,"img",57)(5,gt,1,0,"img",58),r()()(),a(6,"td",59)(7,"span",60),m(8),r(),u(9,xt,5,1),r()),i&2){let e=l(2).$implicit,n=l(2);g("rowSpan",e==null?null:e.Variants.length),s(2),g("ngxPermissionsOnly",D(6,te,n.inventoryUpdateRole)),s(2),h(e!=null&&e.ThumbnailUrl?4:5),s(2),g("rowSpan",e==null?null:e.Variants.length),s(2),L(e==null?null:e.Name),s(),h(e.CategoryID!==null&&e.CategoryID!=n.guidEmpty?9:-1)}}function St(i,c){if(i&1){let e=w();a(0,"input",46),P("ngModelChange",function(t){_(e);let o=l(3).$implicit;return T(o.selected,t)||(o.selected=t),C(t)}),r()}if(i&2){let e=l(3).$implicit;F("ngModel",e.selected)}}function yt(i,c){if(i&1&&u(0,St,1,1,"input",68),i&2){let e=l(2).$implicit;h((e==null?null:e.Inventory)<=1e5?0:-1)}}function vt(i,c){if(i&1){let e=w();a(0,"input",46),P("ngModelChange",function(t){_(e);let o=l(2).$implicit;return T(o.selected,t)||(o.selected=t),C(t)}),r()}if(i&2){let e=l(2).$implicit;F("ngModel",e.selected)}}function wt(i,c){if(i&1&&(A(0),a(1,"td",67),u(2,yt,1,1)(3,vt,1,1,"input",68),r(),U()),i&2){let e=l().$implicit;s(2),h((e==null?null:e.Channel[0].TypeID)==1?2:(e==null?null:e.Inventory)>=0?3:-1)}}function bt(i,c){i&1&&(a(0,"div",51),m(1," Not Found "),r())}function It(i,c){if(i&1&&(a(0,"div")(1,"span",69),m(2),f(3,"number"),r(),m(4," => "),a(5,"span",70),m(6),f(7,"number"),r()()),i&2){let e=l().$implicit;s(2),I(" ",b(3,2,e==null||e.I==null?null:e.I.Available)),s(4),L(b(7,4,e==null?null:e.Inventory))}}function Ft(i,c){if(i&1&&(m(0),f(1,"number")),i&2){let e=l().$implicit;I(" ",b(1,1,e==null?null:e.Inventory)," ")}}function Tt(i,c){if(i&1&&(a(0,"div",52)(1,"a",71),v(2,"i",72),r()()),i&2){let e=l().$implicit,n=l(3);s(),g("href",n.hostName+"/menu/Products/Catalog/Variants/Info?ID="+(e==null?null:e.ID),N)}}function Pt(i,c){if(i&1){let e=w();a(0,"span",76),x("click",function(){_(e);let t=l(2).$implicit,o=l().$implicit,p=l(2);return C(p.openTableDialog(o,t))}),m(1),f(2,"number"),r()}if(i&2){let e=l(2).$implicit,n=l(3);ie(D(5,at,n.hasInventoryEdit())),s(),I(" ",b(2,3,e==null||e.Channel[0]==null?null:e.Channel[0].Inventory)," ")}}function Dt(i,c){if(i&1){let e=w();a(0,"td",53)(1,"div",50)(2,"div"),u(3,Pt,3,7,"span",73),f(4,"async"),r(),a(5,"div",52)(6,"a",71),v(7,"i",72),r()(),a(8,"div",52)(9,"span",74),x("click",function(){_(e);let t=l().$implicit,o=l(3);return C(o.refreshInventory(t==null||t.Channel[0]==null?null:t.Channel[0].ChannelItemID,t==null||t.Channel[0]==null?null:t.Channel[0].ChannelVariationID,t==null||t.Channel[0]==null?null:t.Channel[0].ChannelID,t==null?null:t.ID))}),v(10,"i",75),r()()()()}if(i&2){let e,n=l().$implicit,t=l(3);g("ngClass",D(5,ot,(n==null?null:n.Inventory)!=(n==null||n.Channel[0]==null?null:n.Channel[0].Inventory))),s(3),h((e=b(4,3,t.products$))?3:-1,e),s(3),g("href",n==null||n.Channel[0]==null?null:n.Channel[0].Url,N)}}function Mt(i,c){if(i&1&&(a(0,"span",77),m(1),f(2,"number"),r()),i&2){let e=l(2).$implicit;s(),I(" (",b(2,1,e==null||e.Channel[0]==null?null:e.Channel[0].InventoryReserved),") ")}}function Vt(i,c){i&1&&m(0," - ")}function Et(i,c){if(i&1&&(a(0,"td",48),u(1,Mt,3,3,"span",77)(2,Vt,1,0),r()),i&2){let e=l().$implicit;s(),h(!(e==null||e.Channel[0]==null)&&e.Channel[0].InventoryReserved?1:2)}}function kt(i,c){i&1&&m(0," - ")}function Rt(i,c){if(i&1&&(a(0,"span",55),f(1,"date"),m(2),f(3,"date"),r()),i&2){let e=l().$implicit;g("matTooltip",V(1,2,e==null||e.Channel[0]==null?null:e.Channel[0].LastInventorySync,"dd MMMM yyyy HH:mm:ss")),s(2),I(" ",V(3,5,e==null||e.Channel[0]==null?null:e.Channel[0].LastInventorySync,"dd MMM yy HH:mm")," ")}}function Nt(i,c){if(i&1&&(a(0,"tr"),u(1,ft,10,8),a(2,"td",47),m(3),r(),a(4,"td",48)(5,"span",49),m(6),r()(),B(7,wt,4,1,"ng-container",25),a(8,"td")(9,"div",50),u(10,bt,2,0,"div",51),u(11,It,8,6,"div"),u(12,Ft,2,3),u(13,Tt,3,1,"div",52),r()(),u(14,Dt,11,7,"td",53),u(15,Et,3,1,"td",48),a(16,"td",54),u(17,kt,1,0)(18,Rt,4,8,"span",55),r()()),i&2){let e=c.$implicit,n=c.$index,t=l(3);s(),h(n==0?1:-1),s(2),L(e==null?null:e.Model),s(2),g("matTooltip",e.Discontinued?t.discontinuedVariantMsg:"")("ngClass",D(13,nt,e.Discontinued)),s(),L(e==null?null:e.Code),s(),g("ngxPermissionsOnly",D(15,te,t.inventoryUpdateRole)),s(3),h((e==null?null:e.I)==null?10:-1),s(),h((e==null?null:e.I)!=null&&(e==null?null:e.Inventory)!=(e==null||e.I==null?null:e.I.Available)?11:-1),s(),h((e==null?null:e.Inventory)==(e==null||e.I==null?null:e.I.Available)?12:-1),s(),h((e==null?null:e.I)!=null?13:-1),s(),h(e!=null&&e.Channel?14:-1),s(),h(t.isShowReservedColumn?15:-1),s(2),h((e==null||e.Channel[0]==null?null:e.Channel[0].LastInventorySync)==t.minDate?17:18)}}function Lt(i,c){if(i&1&&(a(0,"tbody"),q(1,Nt,19,17,"tr",null,G),r()),i&2){let e=c.$implicit;s(),K(e.Variants)}}function Ot(i,c){if(i&1){let e=w();a(0,"mainpanel",1),x("onSubmit",function(t){_(e);let o=l();return C(o.onSearch(t))}),a(1,"actions")(2,"div",2),u(3,ct,4,2,"div"),f(4,"async"),r()(),a(5,"filters")(6,"div",3)(7,"label",4),m(8,"Channel"),r(),a(9,"multiwarehouse-tree-select",5),x("onChannelChange",function(t){_(e);let o=l();return C(o.onChannelChange(t))}),r()(),a(10,"div",3)(11,"filter-query-type",6),P("numberFilterComparatorChange",function(t){_(e);let o=l();return T(o.searchFilter.NumberFilterComparator,t)||(o.searchFilter.NumberFilterComparator=t),C(t)})("searchTypeChange",function(t){_(e);let o=l();return T(o.searchFilter.SearchType,t)||(o.searchFilter.SearchType=t),C(t)}),r()(),a(12,"div",3)(13,"label",7),m(14,"PageNumber"),r(),a(15,"input",8),P("ngModelChange",function(t){_(e);let o=l();return T(o.searchFilter.PageNumber,t)||(o.searchFilter.PageNumber=t),C(t)}),r()(),a(16,"div",3)(17,"label",9),m(18,"Page Size"),r(),a(19,"input",10),P("ngModelChange",function(t){_(e);let o=l();return T(o.searchFilter.RowCount,t)||(o.searchFilter.RowCount=t),C(t)}),r()(),a(20,"div")(21,"label",11),m(22,"Quantity From - To"),r(),a(23,"div",12)(24,"input",13),P("ngModelChange",function(t){_(e);let o=l();return T(o.searchFilter.QuantityFrom,t)||(o.searchFilter.QuantityFrom=t),C(t)}),r(),m(25," - "),a(26,"input",14),P("ngModelChange",function(t){_(e);let o=l();return T(o.searchFilter.QuantityTo,t)||(o.searchFilter.QuantityTo=t),C(t)}),r()()()(),a(27,"content")(28,"div",15)(29,"div",16)(30,"div",17),u(31,dt,3,0,"div",18),a(32,"table",19),x("matSortChange",function(t){_(e);let o=l();return C(o.onSortVariant(t))}),a(33,"thead",20)(34,"tr")(35,"th",21),m(36," Product "),v(37,"br"),a(38,"mat-slide-toggle",22),x("toggleChange",function(){_(e);let t=l();return t.showDifferenceStock=!t.showDifferenceStock,C(t.onShowDifferenceStock())}),a(39,"small",11),m(40,"FILTER DIFFERENT INVENTORY"),r()()(),a(41,"th",23),m(42,"Variant"),r(),a(43,"th",24),m(44,"SKU"),r(),B(45,mt,3,3,"ng-container",25),a(46,"th",26),m(47," POS "),r(),a(48,"th",27)(49,"div",28),x("click",function(){_(e);let t=l();return C(t.openModalFilter())}),v(50,"img",29),a(51,"span",30),m(52),f(53,"stringLimit"),r()()(),u(54,_t,2,0,"th",31),a(55,"th",32),m(56,"Last Sync"),r()()(),q(57,Lt,3,0,"tbody",null,G),f(59,"async"),r(),a(60,"infinite-paginator",33),f(61,"async"),x("onNextPage",function(){_(e);let t=l();return C(t.infinitePagination.onNextPage(t.searchFilter))})("onLastPage",function(){_(e);let t=l();return C(t.infinitePagination.onLastPage(t.searchFilter))})("onGetRowCount",function(){_(e);let t=l();return C(t.infinitePagination.getRowCount(t.searchFilter))}),r()()()()()()}if(i&2){let e,n,t,o,p=c,d=l();g("hideSearchBox",!1)("searchBoxPlaceHolder",d.searchPlaceholder()),s(3),h((e=b(4,24,d.products$))?3:-1,e),s(6),g("ngModel",(d.searchFilter==null?null:d.searchFilter.LocationID)||(d.searchFilter==null?null:d.searchFilter.ChannelID)),s(2),g("numberFilterComparatorOptions",p==null||p.Options==null?null:p.Options.SearchComparatorTypeOptions),F("numberFilterComparator",d.searchFilter.NumberFilterComparator),g("searchTypeOptions",p==null||p.Options==null?null:p.Options.SearchSKUOnlyOrSKUNameOptions),F("searchType",d.searchFilter.SearchType),s(4),F("ngModel",d.searchFilter.PageNumber),s(4),F("ngModel",d.searchFilter.RowCount),s(5),F("ngModel",d.searchFilter.QuantityFrom),s(2),F("ngModel",d.searchFilter.QuantityTo),s(5),h((d.searchFilter==null?null:d.searchFilter.filterModel)==3?31:-1),s(14),g("ngxPermissionsOnly",D(33,te,d.inventoryUpdateRole)),s(4),g("matTooltip",((n=d.channelIdentity())==null||n.label==null?null:n.label.length)>13?(n=d.channelIdentity())==null?null:n.label:""),s(),g("src",(t=d.channelIdentity())==null?null:t.img,N),s(2),I(" ",V(53,26,(o=d.channelIdentity())==null?null:o.label,13)," "),s(2),h(d.isShowReservedColumn?54:-1),s(3),K(b(59,29,d.products$)),s(3),g("totalData",d.infinitePagination.totalData())("hideCount",d.infinitePagination.hideCount())("rowCount",b(61,31,d.infinitePagination.totalRowCount$))("pageNumber",d.infinitePagination.pageNumber())("disableNextButton",d.infinitePagination.disableNextButton())("goToLastPage",d.infinitePagination.isLastPage())}}var Bn=(()=>{let c=class c{constructor(){this.http=S(Se),this.toastr=S(fe),this.dialog=S(Me),this.productService=S(Ae),this.authService=S(be),this.biggerPictureService=S(Ue),this.mainPanelService=S(ke),this.placeholderService=S(We),this.infinitePagination=S(Y),this.ngxPermissionsService=S(ye),this.updateResHandling=S(ee),this.inventoryService=S(E),this.checkboxState=!1,this.showDifferenceStock=!1,this.loaderApi="InventoryLoader/Load",this.fetchApi="Inventory/GetSingleChannelComparison",this.rowCountApi="Inventory/GetInventoryByChannelRowCount",this.minDate=y.MinDate,this.isShowReservedColumn=!0,this.discontinuedVariantMsg="This Variant is discontinued from POS, you must Non Active manually at the seller center so that it is not sold again on the channel.",this.guidEmpty=y.GuidEMpty,this.selectedChannel=M(null),this.channelIdentity=M({img:null,label:null}),this.inventoryUpdateRole=Z.InventoryUpdate,this.hasInventoryEdit=M(!0),this.searchPlaceholder=M("Search ...")}ngOnInit(){this.initRoles(),this.hostName=this.authService.getDomain(),this.initPageLoader(),this.sourceObs$=this.infinitePagination.data$.pipe(z(n=>{this.checkShowReservedColumn(n)}),k(n=>(n=this.calculateAvailableStock(n),n)),R(1)),this.products$=this.sourceObs$}initPageLoader(){this.infinitePagination.fetchDataEndpoint=this.fetchApi,this.infinitePagination.fethRowCountEndpoint=this.rowCountApi,this.loader$=this.http.post(`/api/${this.loaderApi}`,{}).pipe(R(1),z(n=>{this.searchFilter={RowCount:n.Filter?.PageSize,filterModel:1,PageNumber:1,ChannelID:n.Filter?.ChannelID,LocationID:n.Filter?.LocationID,NumberFilterComparator:n.Filter?.NumberFilterComparator,SearchType:n.Filter?.SearchType},this.initReloadData(),this.initSearchPlaceholder(),this.showToastrMarketplaceInactive(!n.Filter.IsMarketplaceAppActive)}))}initSearchPlaceholder(){this.searchPlaceholder.set(this.placeholderService.generatePlaceholderBySearchType(this.searchFilter.SearchType,this.searchFilter.NumberFilterComparator))}initRoles(){this.ngxPermissionsService.hasPermission(Z.InventoryUpdate).then(n=>this.hasInventoryEdit.set(n))}calculateAvailableStock(n){return n.map(o=>(o.totalAvailable=o.Variants.reduce((p,d)=>(p+=d.I?.Available||0,p),0),o))}checkShowReservedColumn(n){let t=0,o;n.forEach(p=>{o=p.Variants.find(d=>y.IsNotEmpty(d?.Channel[0]?.InventoryReserved)),o&&(t+=1)}),this.isShowReservedColumn=t>0}onChannelChange(n){let t=Object.assign({},n);this.selectedChannel.set(t),y.IsEmpty(this.channelIdentity()?.label)&&this.setChannelFilter()}setChannelFilter(){if(this.selectedChannel()){let n=Object.assign({},this.selectedChannel());y.IsNotEmpty(n.parent)?(this.searchFilter.LocationID=n.id,this.searchFilter.ChannelID=n?.parent?.id,n.label=n?.parent?.label+" - "+n?.label,n.img=y.getChannelLogoByTypeId(n?.parent?.typeid)):(this.searchFilter.LocationID=null,n.img=y.getChannelLogoByTypeId(n?.typeid),this.searchFilter.ChannelID=n?.id,this.selectedChannel.set(n)),this.channelIdentity.update(()=>({img:n.img,label:n.label}))}}initReloadData(){this.infinitePagination.reloadPagination(this.searchFilter)}showToastrMarketplaceInactive(n){n&&this.toastr.warning(`Automatic inventory sync disabled.
|
|
2
|
-
Please enable Dealpos X Marketplace Apps integration in POS Configuration`,"Warning")}onSearch(n){this.searchFilter.text=n,this.setChannelFilter(),this.initReloadData(),this.initSearchPlaceholder()}openModalFilter(){this.mainPanelService.openModalFilter()}onOpenDialogUpdateStockInfo(n){let t=this.productService.selectedVariantProduct(n);this.dialog.open(Ze,{data:{channelId:t[0]?.Channel[0]?.ChannelID,selectedProducts:t}}).afterClosed().pipe(j(o=>o===!0)).subscribe(()=>{this.updateStock(t)})}updateStock(n){if(n.length>0){let t=this.searchFilter.LocationID,o=n.map(d=>ne({ChannelItemID:d?.Channel[0]?.ChannelItemID,ChannelVariationID:d?.Channel[0]?.ChannelVariationID,Inventory:d.Inventory},y.IsNotEmpty(t)&&{LocationID:t})),p={ListChannelID:[this.searchFilter.ChannelID],List:o};this.http.post(X.UpdateInventoryChannel,p).subscribe(d=>{this.initReloadData(),this.checkboxState=!1,this.handlingUpdateStock(d)})}}handlingUpdateStock(n){if(n[0]?.Response){let t=n[0]?.Response?.Fail_list,o=n[0]?.Response?.Success_list;this.updateResHandling.responseHandling(o,t,"Stock")}else this.toastr.error(n[0]?.Exception,"Error")}refreshInventory(n,t,o,p){let d={ChannelItemID:n,ChannelVariationID:t,ChannelID:o,VariantID:p};this.http.post("/api/Inventory/RefreshInventoryChannel",d).subscribe(Bt=>{this.toastr.success("Successfully updated","Success"),this.initReloadData()})}onCheckboxStateProduct(n){n.Variants=n.Variants.map(t=>(t.Inventory>=0&&(t.selected=n.selected),t))}onCheckboxStateChange(n){n=n.map(t=>(t.Variants=t.Variants.map(o=>(o.selected=this.checkboxState,o)),t))}openTableDialog(n,t){this.hasInventoryEdit()&&this.dialog.open(ze,{data:{Name:n.Name,Variant:t,ChannelID:t?.Channel[0]?.ChannelID,Table:"inventory",ChannelItemID:n.ChannelItemID}}).afterClosed().pipe(j(p=>y.IsNotEmpty(p))).subscribe(p=>{this.updateItemAfterDialog(p)})}updateItemAfterDialog(n){let t=n.InventoryMultiwarehouse[0]?.LocationID,o={ID:n.ChannelID,ChannelItemID:n.ChannelItemID,ChannelVariantID:n.ChannelVariationID,NewQuantity:n?.Inventory,VariantID:n.ID,SKU:n?.Sku,LocationID:t};this.http.post(X.UpdateUpdateQuantityByItem,o).subscribe(p=>{this.searchFilter.PageNumber=1,this.initReloadData(),this.handlingUpdateStock([p])})}onScanInventory(n){let t=this.productService.selectedVariantProduct(n);this.inventoryService.refreshInventory(t).subscribe(()=>{this.initReloadData(),this.toastr.success("Inventory refreshed successfully","Success")})}openExportDialog(){this.dialog.open(je,{data:{title:"Export Inventory Single Channel Comparison",pageNumber:this.searchFilter.PageNumber,rowCount:this.searchFilter.RowCount,filterExport:this.searchFilter,getRowCountApi:this.rowCountApi,QuantityFrom:this.searchFilter.QuantityFrom,QuantityTo:this.searchFilter.QuantityTo,exportApi:"Inventory/GetExportSingleChannelComparison"}}).afterClosed().subscribe()}onShowDifferenceStock(){this.showDifferenceStock?this.searchFilter.filterModel=J.DIFFERENCE:this.searchFilter.filterModel=J.ALL,this.initReloadData()}onZoomImage(n,t){this.biggerPictureService.openBiggerPicture(n,t)}onSortVariant(n){if(n.direction==""){this.products$=this.sourceObs$;return}this.products$=this.products$.pipe(k(t=>t.map(o=>(o.Variants=o.Variants.sort((p,d)=>y.compare(p.I?.Available,d.I?.Available,n.direction==="asc")),o)).sort((o,p)=>y.compare(o.totalAvailable,p.totalAvailable,n.direction==="asc"))))}};c.\u0275fac=function(t){return new(t||c)},c.\u0275cmp=O({type:c,selectors:[["app-single-channel-comparison"]],features:[W([Y,E,ee])],decls:2,vars:3,consts:[["headerTitle","Inventory Comparison","textButton","Search",3,"hideSearchBox","searchBoxPlaceHolder"],["headerTitle","Inventory Comparison","textButton","Search",3,"onSubmit","hideSearchBox","searchBoxPlaceHolder"],[1,"d-flex"],[1,"mb-5"],["for","channelOptions",1,"fw-bold","mb-2"],["id","channelOptions",3,"onChannelChange","ngModel"],[3,"numberFilterComparatorChange","searchTypeChange","numberFilterComparatorOptions","numberFilterComparator","searchTypeOptions","searchType"],["for","PageNumber",1,"fw-bold"],["type","number","id","PageNumber","placeholder","PageNumber","name","PageNumber","data-toggle","tooltip","matTooltip","Page Number",1,"mat-mdc-tooltip-trigger","form-control","ng-pristine","ng-valid","ng-touched","mt-3",3,"ngModelChange","ngModel"],["for","RowCount",1,"fw-bold"],["type","number","id","RowCount","placeholder","Page Size","name","RowCount","data-toggle","tooltip","matTooltip","Page Size",1,"mat-mdc-tooltip-trigger","form-control","ng-pristine","ng-valid","ng-touched","mt-3",3,"ngModelChange","ngModel"],[1,"fw-bold"],[1,"d-flex","align-items-center","justify-content-start"],["type","number","name","QuantityFrom",1,"w-25","me-2","mt-3","form-control",3,"ngModelChange","ngModel"],["type","number","name","QuantityTo",1,"w-25","ms-2","form-control","mt-2",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],["role","alert",1,"alert","alert-warning","d-flex","justify-content-between","text-dark"],["matSort","",1,"table","border-bottom",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],["scope","col","colspan","2",1,"text-center","ps-12",2,"width","25%"],[3,"toggleChange"],["scope","col",1,"text-start"],["scope","col",1,"text-end",2,"width","10%"],[4,"ngxPermissionsOnly"],["scope","col","mat-sort-header","Available","arrowPosition","before",1,"text-end","w-10",2,"width","8%"],[1,"text-end",2,"width","150px"],["role","button","matTooltipPosition","above",1,"d-inline-block",3,"click","matTooltip"],[2,"width","16px",3,"src"],[1,"ms-1"],["matTooltip","Reserved Stock","matTooltipPosition","above",1,"text-end",2,"width","80px"],[1,"text-center",2,"width","145px"],[3,"onNextPage","onLastPage","onGetRowCount","totalData","hideCount","rowCount","pageNumber","disableNextButton","goToLastPage"],["matTooltip","Fetch the latest stock directly from the channel",1,"btn","btn-outline-dark","me-3"],[1,"btn-group"],[1,"btn","btn-outline-secondary","shadow","rounded"],["matTooltip","Fetch the latest stock directly from the channel",1,"btn","btn-outline-dark","me-3",3,"click"],[1,"fa-solid","fa-arrows-rotate","me-3"],[1,"btn","btn-success",3,"click"],[1,"fas","fa-chevron-circle-up"],["data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-success","btn-sm","dropdown-toggle","border-start"],[1,"dropdown-menu","dropdown-menu-end","pointer"],["role","button",1,"dropdown-item","cursor-pointer","fs-5",3,"click"],[1,"fa-solid","fa-print","me-3"],[1,"btn","btn-outline-secondary","shadow","rounded",3,"click"],["type","checkbox",3,"ngModelChange","ngModel"],[1,"text-start"],[1,"text-end"],["matTooltipPosition","above",3,"matTooltip","ngClass"],[1,"d-flex","align-items-center","justify-content-end"],["matTooltip","This product is no longer available in POS","matTooltipPosition","above",1,"text-danger"],[1,"ms-3"],[1,"text-end",3,"ngClass"],[1,"text-center"],["matTooltipShowDelay","500",3,"matTooltip"],[1,"text-start",2,"width","0%",3,"rowSpan"],[1,"border","rounded","w-img","cursor-pointer",2,"margin-left","20px",3,"src"],["src","//res.cloudinary.com/pos/image/upload/w_40/POS/Images/Icon/products_thumb.png",1,"border","rounded","w-img",2,"margin-left","20px"],[1,"text-start",3,"rowSpan"],[1,"item-name","mb-0"],[3,"ngClass"],["type","checkbox",1,"me-3",3,"ngModel"],["type","checkbox",1,"me-3",3,"ngModelChange","ngModel"],[1,"border","rounded","w-img","cursor-pointer",2,"margin-left","20px",3,"click","src"],[1,"d-flex","align-items-center"],["title","Category",1,"fa-solid","fa-tags","me-2",2,"opacity","60%"],[1,"align-middle"],["type","checkbox",3,"ngModel"],["title","Stock Available"],["title","Inventory below minimum inventory"],["target","_blank",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"],[3,"class"],["matTooltip","Refresh stock according to seller center",1,"pl-5","cursor-pointer",2,"color","var(--bs-link-color)",3,"click"],[1,"fas","fa-sync","fa-lg","external-link-custom","pt-1"],[3,"click"],[1,"text-danger"]],template:function(t,o){if(t&1&&(u(0,Ot,62,35,"mainpanel",0),f(1,"async")),t&2){let p;h((p=b(1,1,o.loader$))?0:-1,p)}},dependencies:[Q,ce,Ne,Re,Ie,xe,Ce,ge,_e,ue,he,qe,we,ve,Qe,He,Te,Fe,Be,Le,Oe,Ke,$e,$,de,H,Ge],styles:[".w-10[_ngcontent-%COMP%]{width:10%}.w-img[_ngcontent-%COMP%]{width:40px;height:40px}.item-name[_ngcontent-%COMP%]{margin-bottom:-14px!important;font-size:larger}input[type=checkbox][_ngcontent-%COMP%]{width:15px;height:15px}"]});let i=c;return i})();export{Bn as SingleChannelComparisonComponent};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ as Zi,$a as Ir,A as ln,Ab as po,Ac as bo,Ad as Ne,Ba as We,Bb as Ke,Bd as No,Ca as M,Cb as go,Cc as Ao,Cd as Po,Da as Tt,Db as mo,Dc as To,Dd as Lo,Ea as Cr,Eb as vo,Ed as ko,Fa as ot,Fb as gn,Fd as Ee,G as ne,Gb as Do,Gd as kr,Ha as hn,Hb as Fe,Ib as W,Ic as _o,J as Ve,Ja as Xi,Jb as _t,Jd as xo,K as ye,Ka as Er,N as Dr,Na as ce,O as it,Oa as Sr,Ob as Or,Pa as Rr,Pb as yo,Qa as Ie,Qb as mn,Rb as vn,S as He,Sa as Ji,Sb as Fr,T as Te,Ta as br,Tb as Dn,U as yr,Ua as Qi,Ub as wo,V as Wi,Va as fn,Vb as Nr,Wb as Co,X as qi,Xa as Ar,Xb as Pr,Ya as eo,Za as Tr,Zb as Eo,_a as _r,a as $i,aa as B,ab as Me,b as zi,bb as st,c as un,ca as wr,cb as to,d as mr,db as no,e as vr,ea as x,eb as ro,f as te,fb as io,g as Q,gb as oo,hb as so,ia as g,ib as ao,ja as Ge,jb as qe,jc as So,ka as we,ld as Io,m as De,ma as m,mb as uo,md as Lr,na as _e,nd as re,oa as Yi,ob as Ze,p as $,pa as E,pb as co,q as p,qa as v,qb as lo,qd as Mo,r as bt,ra as d,rb as pn,s as Vi,sa as dn,sb as Ye,t as Hi,ta as Ki,tb as le,tc as Y,td as Oo,ua as Ce,ub as ho,uc as N,v as b,va as G,vb as Mr,vc as Ro,w as cn,x as H,xb as fo,y as At,yb as Oe,yd as Fo,z as Gi,zb as T}from"./chunk-ZYJ6LAJ3.js";import{a as f,b as U,i as an}from"./chunk-66YHNWRR.js";var jo=null;function de(){return jo}function xr(t){jo??=t}var It=class{},Mt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>d($o),providedIn:"platform"})}return t})(),Ur=new E(""),$o=(()=>{class t extends Mt{_location;_history;_doc=d(M);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return de().getBaseHref(this._doc)}onPopState(e){let n=de().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=de().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,n,i){this._history.pushState(e,n,i)}replaceState(e,n,i){this._history.replaceState(e,n,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function yn(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function Uo(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function ie(t){return t&&t[0]!=="?"?`?${t}`:t}var oe=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>d(Cn),providedIn:"root"})}return t})(),wn=new E(""),Cn=(()=>{class t extends oe{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??d(M).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return yn(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ie(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ie(o));this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ie(o));this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(v(Mt),v(wn,8))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Le=(()=>{class t{_subject=new te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Ua(Uo(Bo(n))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+ie(n))}normalize(e){return t.stripTrailingSlash(xa(this._basePath,Bo(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ie(n)),i)}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ie(n)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n))}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=ie;static joinWithSlash=yn;static stripTrailingSlash=Uo;static \u0275fac=function(n){return new(n||t)(v(oe))};static \u0275prov=m({token:t,factory:()=>ka(),providedIn:"root"})}return t})();function ka(){return new Le(v(oe))}function xa(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Bo(t){return t.replace(/\/index.html$/,"")}function Ua(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var qr=(()=>{class t extends oe{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=yn(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ie(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ie(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(v(Mt),v(wn,8))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();var Zr=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t})(Zr||{});var j=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(j||{}),_=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(_||{}),q=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(q||{}),Z={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 Zo(t){return Y(t)[N.LocaleId]}function Yo(t,r,e){let n=Y(t),i=[n[N.DayPeriodsFormat],n[N.DayPeriodsStandalone]],o=ee(i,r);return ee(o,e)}function Ko(t,r,e){let n=Y(t),i=[n[N.DaysFormat],n[N.DaysStandalone]],o=ee(i,r);return ee(o,e)}function Xo(t,r,e){let n=Y(t),i=[n[N.MonthsFormat],n[N.MonthsStandalone]],o=ee(i,r);return ee(o,e)}function Jo(t,r){let n=Y(t)[N.Eras];return ee(n,r)}function Ot(t,r){let e=Y(t);return ee(e[N.DateFormat],r)}function Ft(t,r){let e=Y(t);return ee(e[N.TimeFormat],r)}function Nt(t,r){let n=Y(t)[N.DateTimeFormat];return ee(n,r)}function he(t,r){let e=Y(t),n=e[N.NumberSymbols][r];if(typeof n>"u"){if(r===Z.CurrencyDecimal)return e[N.NumberSymbols][Z.Decimal];if(r===Z.CurrencyGroup)return e[N.NumberSymbols][Z.Group]}return n}function Qo(t,r){return Y(t)[N.NumberFormats][r]}function es(t){if(!t[N.ExtraData])throw new g(2303,!1)}function ts(t){let r=Y(t);return es(r),(r[N.ExtraData][2]||[]).map(n=>typeof n=="string"?Br(n):[Br(n[0]),Br(n[1])])}function ns(t,r,e){let n=Y(t);es(n);let i=[n[N.ExtraData][0],n[N.ExtraData][1]],o=ee(i,r)||[];return ee(o,e)||[]}function ee(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new g(2304,!1)}function Br(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e}}var Ba=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,En={},ja=/((?:[^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 rs(t,r,e,n){let i=Ya(t);r=Se(e,r)||r;let s=[],a;for(;r;)if(a=ja.exec(r),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;r=l}else{s.push(r);break}let u=i.getTimezoneOffset();n&&(u=os(n,u),i=Za(i,n));let c="";return s.forEach(l=>{let h=Wa(l);c+=h?h(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Tn(t,r,e){let n=new Date(0);return n.setFullYear(t,r,e),n.setHours(0,0,0),n}function Se(t,r){let e=Zo(t);if(En[e]??={},En[e][r])return En[e][r];let n="";switch(r){case"shortDate":n=Ot(t,q.Short);break;case"mediumDate":n=Ot(t,q.Medium);break;case"longDate":n=Ot(t,q.Long);break;case"fullDate":n=Ot(t,q.Full);break;case"shortTime":n=Ft(t,q.Short);break;case"mediumTime":n=Ft(t,q.Medium);break;case"longTime":n=Ft(t,q.Long);break;case"fullTime":n=Ft(t,q.Full);break;case"short":let i=Se(t,"shortTime"),o=Se(t,"shortDate");n=Sn(Nt(t,q.Short),[i,o]);break;case"medium":let s=Se(t,"mediumTime"),a=Se(t,"mediumDate");n=Sn(Nt(t,q.Medium),[s,a]);break;case"long":let u=Se(t,"longTime"),c=Se(t,"longDate");n=Sn(Nt(t,q.Long),[u,c]);break;case"full":let l=Se(t,"fullTime"),h=Se(t,"fullDate");n=Sn(Nt(t,q.Full),[l,h]);break}return n&&(En[e][r]=n),n}function Sn(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return r!=null&&n in r?r[n]:e})),t}function se(t,r,e="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<r;)s="0"+s;return n&&(s=s.slice(s.length-r)),o+s}function $a(t,r){return se(t,3).substring(0,r)}function P(t,r,e=0,n=!1,i=!1){return function(o,s){let a=za(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return $a(a,r);let u=he(s,Z.MinusSign);return se(a,r,u,n,i)}}function za(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new g(2301,!1)}}function I(t,r,e=j.Format,n=!1){return function(i,o){return Va(i,o,t,r,e,n)}}function Va(t,r,e,n,i,o){switch(e){case 2:return Xo(r,i,n)[t.getMonth()];case 1:return Ko(r,i,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=ts(r),l=ns(r,i,n),h=c.findIndex(w=>{if(Array.isArray(w)){let[D,S]=w,k=s>=D.hours&&a>=D.minutes,C=s<S.hours||s===S.hours&&a<S.minutes;if(D.hours<S.hours){if(k&&C)return!0}else if(k||C)return!0}else if(w.hours===s&&w.minutes===a)return!0;return!1});if(h!==-1)return l[h]}return Yo(r,i,n)[s<12?0:1];case 3:return Jo(r,n)[t.getFullYear()<=0?0:1];default:let u=e;throw new g(2302,!1)}}function Rn(t){return function(r,e,n){let i=-1*n,o=he(e,Z.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+se(s,2,o)+se(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+se(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+se(s,2,o)+":"+se(Math.abs(i%60),2,o);case 3:return n===0?"Z":(i>=0?"+":"")+se(s,2,o)+":"+se(Math.abs(i%60),2,o);default:throw new g(2310,!1)}}}var Ha=0,An=4;function Ga(t){let r=Tn(t,Ha,1).getDay();return Tn(t,0,1+(r<=An?An:An+7)-r)}function is(t){let r=t.getDay(),e=r===0?-3:An-r;return Tn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function jr(t,r=!1){return function(e,n){let i;if(r){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=is(e),s=Ga(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return se(i,t,he(n,Z.MinusSign))}}function bn(t,r=!1){return function(e,n){let o=is(e).getFullYear();return se(o,t,he(n,Z.MinusSign),r)}}var $r={};function Wa(t){if($r[t])return $r[t];let r;switch(t){case"G":case"GG":case"GGG":r=I(3,_.Abbreviated);break;case"GGGG":r=I(3,_.Wide);break;case"GGGGG":r=I(3,_.Narrow);break;case"y":r=P(0,1,0,!1,!0);break;case"yy":r=P(0,2,0,!0,!0);break;case"yyy":r=P(0,3,0,!1,!0);break;case"yyyy":r=P(0,4,0,!1,!0);break;case"Y":r=bn(1);break;case"YY":r=bn(2,!0);break;case"YYY":r=bn(3);break;case"YYYY":r=bn(4);break;case"M":case"L":r=P(1,1,1);break;case"MM":case"LL":r=P(1,2,1);break;case"MMM":r=I(2,_.Abbreviated);break;case"MMMM":r=I(2,_.Wide);break;case"MMMMM":r=I(2,_.Narrow);break;case"LLL":r=I(2,_.Abbreviated,j.Standalone);break;case"LLLL":r=I(2,_.Wide,j.Standalone);break;case"LLLLL":r=I(2,_.Narrow,j.Standalone);break;case"w":r=jr(1);break;case"ww":r=jr(2);break;case"W":r=jr(1,!0);break;case"d":r=P(2,1);break;case"dd":r=P(2,2);break;case"c":case"cc":r=P(7,1);break;case"ccc":r=I(1,_.Abbreviated,j.Standalone);break;case"cccc":r=I(1,_.Wide,j.Standalone);break;case"ccccc":r=I(1,_.Narrow,j.Standalone);break;case"cccccc":r=I(1,_.Short,j.Standalone);break;case"E":case"EE":case"EEE":r=I(1,_.Abbreviated);break;case"EEEE":r=I(1,_.Wide);break;case"EEEEE":r=I(1,_.Narrow);break;case"EEEEEE":r=I(1,_.Short);break;case"a":case"aa":case"aaa":r=I(0,_.Abbreviated);break;case"aaaa":r=I(0,_.Wide);break;case"aaaaa":r=I(0,_.Narrow);break;case"b":case"bb":case"bbb":r=I(0,_.Abbreviated,j.Standalone,!0);break;case"bbbb":r=I(0,_.Wide,j.Standalone,!0);break;case"bbbbb":r=I(0,_.Narrow,j.Standalone,!0);break;case"B":case"BB":case"BBB":r=I(0,_.Abbreviated,j.Format,!0);break;case"BBBB":r=I(0,_.Wide,j.Format,!0);break;case"BBBBB":r=I(0,_.Narrow,j.Format,!0);break;case"h":r=P(3,1,-12);break;case"hh":r=P(3,2,-12);break;case"H":r=P(3,1);break;case"HH":r=P(3,2);break;case"m":r=P(4,1);break;case"mm":r=P(4,2);break;case"s":r=P(5,1);break;case"ss":r=P(5,2);break;case"S":r=P(6,1);break;case"SS":r=P(6,2);break;case"SSS":r=P(6,3);break;case"Z":case"ZZ":case"ZZZ":r=Rn(0);break;case"ZZZZZ":r=Rn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=Rn(1);break;case"OOOO":case"ZZZZ":case"zzzz":r=Rn(2);break;default:return null}return $r[t]=r,r}function os(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e}function qa(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t}function Za(t,r,e){let i=t.getTimezoneOffset(),o=os(r,i);return qa(t,-1*(o-i))}function Ya(t){if(zo(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return Tn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Ba))return Ka(n)}let r=new Date(t);if(!zo(r))throw new g(2311,!1);return r}function Ka(t){let r=new Date(0),e=0,n=0,i=t[8]?r.setUTCFullYear:r.setFullYear,o=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(r,s,a,u,c),r}function zo(t){return t instanceof Date&&!isNaN(t.valueOf())}var Xa=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Vo=22,_n=".",Pt="0",Ja=";",Qa=",",zr="#";function eu(t,r,e,n,i,o,s=!1){let a="",u=!1;if(!isFinite(t))a=he(e,Z.Infinity);else{let c=ru(t);s&&(c=nu(c));let l=r.minInt,h=r.minFrac,w=r.maxFrac;if(o){let O=o.match(Xa);if(O===null)throw new g(2306,!1);let V=O[1],F=O[3],ue=O[5];V!=null&&(l=Vr(V)),F!=null&&(h=Vr(F)),ue!=null?w=Vr(ue):F!=null&&h>w&&(w=h)}iu(c,h,w);let D=c.digits,S=c.integerLen,k=c.exponent,C=[];for(u=D.every(O=>!O);S<l;S++)D.unshift(0);for(;S<0;S++)D.unshift(0);S>0?C=D.splice(S,D.length):(C=D,D=[0]);let R=[];for(D.length>=r.lgSize&&R.unshift(D.splice(-r.lgSize,D.length).join(""));D.length>r.gSize;)R.unshift(D.splice(-r.gSize,D.length).join(""));D.length&&R.unshift(D.join("")),a=R.join(he(e,n)),C.length&&(a+=he(e,i)+C.join("")),k&&(a+=he(e,Z.Exponential)+"+"+k)}return t<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function ss(t,r,e){let n=Qo(r,Zr.Decimal),i=tu(n,he(r,Z.MinusSign));return eu(t,i,r,Z.Group,Z.Decimal,e)}function tu(t,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Ja),i=n[0],o=n[1],s=i.indexOf(_n)!==-1?i.split(_n):[i.substring(0,i.lastIndexOf(Pt)+1),i.substring(i.lastIndexOf(Pt)+1)],a=s[0],u=s[1]||"";e.posPre=a.substring(0,a.indexOf(zr));for(let l=0;l<u.length;l++){let h=u.charAt(l);h===Pt?e.minFrac=e.maxFrac=l+1:h===zr?e.maxFrac=l+1:e.posSuf+=h}let c=a.split(Qa);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let l=i.length-e.posPre.length-e.posSuf.length,h=o.indexOf(zr);e.negPre=o.substring(0,h).replace(/'/g,""),e.negSuf=o.slice(h+l).replace(/'/g,"")}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function nu(t){if(t.digits[0]===0)return t;let r=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(r===0?t.digits.push(0,0):r===1&&t.digits.push(0),t.integerLen+=2),t}function ru(t){let r=Math.abs(t)+"",e=0,n,i,o,s,a;for((i=r.indexOf(_n))>-1&&(r=r.replace(_n,"")),(o=r.search(/e/i))>0?(i<0&&(i=o),i+=+r.slice(o+1),r=r.substring(0,o)):i<0&&(i=r.length),o=0;r.charAt(o)===Pt;o++);if(o===(a=r.length))n=[0],i=1;else{for(a--;r.charAt(a)===Pt;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(r.charAt(o))}return i>Vo&&(n=n.splice(0,Vo-1),e=i-1,i=1),{digits:n,exponent:e,integerLen:i}}function iu(t,r,e){if(r>e)throw new g(2307,!1);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(r,i),e),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let h=s;h<n.length;h++)n[h]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let h=1;h<s;h++)n[h]=0}if(a>=5)if(s-1<0){for(let h=0;h>s;h--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let u=o!==0,c=r+t.integerLen,l=n.reduceRight(function(h,w,D,S){return w=w+h,S[D]=w<10?w:w-10,u&&(S[D]===0&&D>=c?S.pop():u=!1),w>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Vr(t){let r=parseInt(t);if(isNaN(r))throw new g(2305,!1);return r}var Hr=/\s+/,Ho=[],ou=(()=>{class t{_ngEl;_renderer;initialClasses=Ho;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Hr):Ho}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Hr):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==n&&(i.changed=!0,i.enabled=n),i.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],i=e[1];i.changed?(this._toggleClass(n,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),i.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Hr).forEach(i=>{n?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(T(Ie),T(Oe))};static \u0275dir=W({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),su=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0||e.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||e.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=vo(this.ngComponentOutletNgModule,Go(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Go(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[n,i]of this._inputsUsed)i?(e.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(e.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||t)(T(Ke))};static \u0275dir=W({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[ce]})}return t})();function Go(t){return t.get(go).injector}var In=class{$implicit;ngForOf;index;count;constructor(r,e,n,i){this.$implicit=r,this.ngForOf=e,this.index=n,this.count=i}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}},as=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,i){this._viewContainer=e,this._template=n,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)n.createEmbeddedView(this._template,new In(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),Wo(a,i)}});for(let i=0,o=n.length;i<o;i++){let a=n.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=n.get(i.currentIndex);Wo(o,i)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ke),T(Mr),T(No))};static \u0275dir=W({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Wo(t,r){t.context.$implicit=r.item}var au=(()=>{class t{_viewContainer;_context=new Mn;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){qo(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){qo(e,!1),this._elseTemplateRef=e,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(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ke),T(Mr))};static \u0275dir=W({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Mn=class{$implicit=null;ngIf=null};function qo(t,r){if(t&&!t.createEmbeddedView)throw new g(2020,!1)}var uu=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,i){this._ngEl=e,this._differs=n,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:Ze.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(T(Ie),T(Po),T(Oe))};static \u0275dir=W({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),cu=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):!1,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(T(Ke))};static \u0275dir=W({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ce]})}return t})();function Yr(t,r){return new g(2100,!1)}var Gr=class{createSubscription(r,e,n){return re(()=>r.subscribe({next:e,error:n}))}dispose(r){re(()=>r.unsubscribe())}},Wr=class{createSubscription(r,e,n){return r.then(i=>e?.(i),i=>n?.(i)),{unsubscribe:()=>{e=null,n=null}}}dispose(r){r.unsubscribe()}},lu=new Wr,du=new Gr,hu=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=d(ot);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n))}_selectStrategy(e){if(Dn(e))return lu;if(wo(e))return du;throw Yr(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(T(Ne,16))};static \u0275pipe=_t({name:"async",type:t,pure:!1})}return t})();var fu="mediumDate",us=new E(""),cs=new E(""),pu=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,i){this.locale=e,this.defaultTimezone=n,this.defaultOptions=i}transform(e,n,i,o){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??fu,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return rs(e,s,o||this.locale,a)}catch(s){throw Yr(t,s.message)}}static \u0275fac=function(n){return new(n||t)(T(Lr,16),T(us,24),T(cs,24))};static \u0275pipe=_t({name:"date",type:t,pure:!0})}return t})();var gu=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"json",type:t,pure:!1})}return t})();var mu=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,i){if(!vu(e))return null;i||=this._locale;try{let o=Du(e);return ss(o,i,n)}catch(o){throw Yr(t,o.message)}}static \u0275fac=function(n){return new(n||t)(T(Lr,16))};static \u0275pipe=_t({name:"number",type:t,pure:!0})}return t})();function vu(t){return!(t==null||t===""||t!==t)}function Du(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new g(2309,!1);return t}var Kr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Fe({type:t});static \u0275inj=_e({})}return t})();function Lt(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var Xe=class{};var Jr="browser",wu="server";function Rh(t){return t===Jr}function bh(t){return t===wu}var ds=(()=>{class t{static \u0275prov=m({token:t,providedIn:"root",factory:()=>new Xr(d(M),window)})}return t})(),Xr=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r,e){this.window.scrollTo(U(f({},e),{left:r[0],top:r[1]}))}scrollToAnchor(r,e){let n=Cu(this.document,r);n&&(this.scrollToElement(n,e),n.focus())}setHistoryScrollRestoration(r){try{this.window.history.scrollRestoration=r}catch{console.warn(Ge(2400,!1))}}scrollToElement(r,e){let n=r.getBoundingClientRect(),i=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(U(f({},e),{left:i-s[0],top:o-s[1]}))}};function Cu(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(r)||o.querySelector(`[name="${r}"]`);if(s)return s}i=n.nextNode()}}return null}var Eu="20";function Su(t){return/^https?:\/\//.test(t)}function Ru(t){if(!(typeof t=="string")||t.trim()==="")return!1;try{let e=new URL(t);return!0}catch{return!1}}function bu(t){return t.endsWith("/")?t.slice(0,-1):t}function Au(t){return t.startsWith("/")?t.slice(1):t}var hs=t=>t.src,fs=new E("",{providedIn:"root",factory:()=>hs});function Tu(t,r){return function(n){return Ru(n)||_u(n,r||[]),n=bu(n),[{provide:fs,useValue:s=>(Su(s.src)&&Iu(n,s.src),t(n,U(f({},s),{src:Au(s.src)})))}]}}function _u(t,r){throw new g(2959,!1)}function Iu(t,r){throw new g(2959,!1)}var Ah=Tu(Mu,void 0);function Mu(t,r){let e=new URL(`${t}/${r.src}`);return e.searchParams.set("auto","format"),r.width&&e.searchParams.set("w",r.width.toString()),r.isPlaceholder&&e.searchParams.set("q",Eu),e.href}var ls=/^((\s*\d+w\s*(,|$)){1,})$/;var Ou=[1,2],Fu=640;var Nu=1920,Pu=1080;var Th=(()=>{class t{imageLoader=d(fs);config=Lu(d(Tr));renderer=d(Oe);imgElement=d(Ie).nativeElement;injector=d(We);destroyRef=d(Tt);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){pn("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("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&ls.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(e){let n=e;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=ls.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(o=>o>=Fu)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return Ou.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>Nu||this.height>Pu),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==hs&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof e=="string"?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let s=this.injector.get(Ne);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);this.destroyRef.onDestroy(()=>{i(),o()}),ku(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,i){n&2&&_o("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",xu],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",kr],height:[2,"height","height",kr],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Ee],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Ee],fill:[2,"fill","fill",Ee],placeholder:[2,"placeholder","placeholder",Uu],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ce]})}return t})();function Lu(t){let r={};return t.breakpoints&&(r.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},eo,t,r)}function ku(t,r){t.complete&&t.naturalWidth&&r()}function xu(t){return typeof t=="string"?t:Me(t)}function Uu(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:Ee(t)}var kt=class{_doc;constructor(r){this._doc=r}manager},On=(()=>{class t extends kt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(v(M))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Nn=new E(""),ri=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof On));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof On);o&&this._plugins.push(o)}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new g(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(v(Nn),v(le))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Qr="ng-app-id";function ps(t){for(let r of t)r.remove()}function gs(t,r){let e=r.createElement("style");return e.textContent=t,e}function ju(t,r,e,n){let i=t.head?.querySelectorAll(`style[${Qr}="${r}"],link[${Qr}="${r}"]`);if(i)for(let o of i)o.removeAttribute(Qr),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function ti(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var ii=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,ju(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,gs);n?.forEach(i=>this.addUsage(i,this.external,ti))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(ps(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ps(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,gs(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,ti(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(v(M),v(br),v(Ar,8),v(fn))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),ei={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"},oi=/%COMP%/g;var vs="%COMP%",$u=`_nghost-${vs}`,zu=`_ngcontent-${vs}`,Vu=!0,Hu=new E("",{providedIn:"root",factory:()=>Vu});function Gu(t){return zu.replace(oi,t)}function Wu(t){return $u.replace(oi,t)}function Ds(t,r){return r.map(e=>e.replace(oi,t))}var si=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,i,o,s,a,u=null,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=u,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new xt(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,n);return i instanceof Fn?i.applyToHost(e):i instanceof Ut&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer,w=this.tracingService;switch(n.encapsulation){case Ir.Emulated:o=new Fn(u,c,n,this.appId,l,s,a,h,w);break;case Ir.ShadowDom:return new ni(u,c,e,n,s,a,this.nonce,h,w);default:o=new Ut(u,c,n,l,s,a,h,w);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(v(ri),v(ii),v(br),v(Hu),v(M),v(le),v(Ar),v(lo,8))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),xt=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,o){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(ei[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(ms(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(ms(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new g(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=ei[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=ei[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(Ze.DashCase|Ze.Important)?r.style.setProperty(e,n,i&Ze.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&Ze.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=de().getGlobalEventTarget(this.doc,r),!r))throw new g(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function ms(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ni=class extends xt{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,u,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Ds(i.id,l);for(let w of l){let D=document.createElement("style");a&&D.setAttribute("nonce",a),D.textContent=w,this.shadowRoot.appendChild(D)}let h=i.getExternalStyles?.();if(h)for(let w of h){let D=ti(w,o);a&&D.setAttribute("nonce",a),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ut=class extends xt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=c?Ds(c,l):l,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&co.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Fn=class extends Ut{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,u,c){let l=i+"-"+n.id;super(r,e,n,o,s,a,u,c,l),this.contentAttr=Gu(l),this.hostAttr=Wu(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var Pn=class t extends It{supportsDOMEvents=!0;static makeCurrent(){xr(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=qu();return e==null?null:Zu(e)}resetBaseElement(){Bt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Lt(document.cookie,r)}},Bt=null;function qu(){return Bt=Bt||document.head.querySelector("base"),Bt?Bt.getAttribute("href"):null}function Zu(t){return new URL(t,document.baseURI).pathname}var Ln=class{addToWindow(r){we.getAngularTestability=(n,i=!0)=>{let o=r.findTestabilityInTree(n,i);if(o==null)throw new g(5103,!1);return o},we.getAllAngularTestabilities=()=>r.getAllTestabilities(),we.getAllAngularRootElements=()=>r.getAllRootElements();let e=n=>{let i=we.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,n){if(e==null)return null;let i=r.getTestability(e);return i??(n?de().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Yu=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),ys=["alt","control","meta","shift"],Ku={"\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"},Xu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ws=(()=>{class t extends kt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>de().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),ys.forEach(c=>{let l=n.indexOf(c);l>-1&&(n.splice(l,1),s+=c+".")}),s+=o,n.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,n){let i=Ku[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),ys.forEach(s=>{if(s!==i){let a=Xu[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(v(M))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();function Ju(){Pn.makeCurrent()}function Qu(){return new Cr}function ec(){return Ji(document),document}var tc=[{provide:fn,useValue:Jr},{provide:Qi,useValue:Ju,multi:!0},{provide:M,useFactory:ec}],nc=Fo(Lo,"browser",tc);var rc=[{provide:mn,useClass:Ln},{provide:yo,useClass:vn,deps:[le,Fr,mn]},{provide:vn,useClass:vn,deps:[le,Fr,mn]}],ic=[{provide:Ki,useValue:"root"},{provide:Cr,useFactory:Qu},{provide:Nn,useClass:On,multi:!0,deps:[M]},{provide:Nn,useClass:ws,multi:!0,deps:[M]},si,ii,ri,{provide:fo,useExisting:si},{provide:Xe,useClass:Yu},[]],oc=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Fe({type:t});static \u0275inj=_e({providers:[...ic,...rc],imports:[Kr,ko]})}return t})();var ct=class{},jt=class{},ke=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
|
|
2
|
-
`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var xn=class{encodeKey(r){return Cs(r)}encodeValue(r){return Cs(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function sc(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var ac=/%(\d[a-f0-9])/gi,uc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Cs(t){return encodeURIComponent(t).replace(ac,(r,e)=>uc[e]??r)}function kn(t){return`${t}`}var Re=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new xn,r.fromString){if(r.fromObject)throw new g(2805,!1);this.map=sc(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(kn):[kn(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(kn(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(kn(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var Un=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function cc(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Es(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ss(t){return typeof Blob<"u"&&t instanceof Blob}function Rs(t){return typeof FormData<"u"&&t instanceof FormData}function lc(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var bs="Content-Type",As="Accept",_s="X-Request-URL",Is="text/plain",Ms="application/json",dc=`${Ms}, ${Is}, */*`,at=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(cc(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new g(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new ke,this.context??=new Un,!this.params)this.params=new Re,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Es(this.body)||Ss(this.body)||Rs(this.body)||lc(this.body)?this.body:this.body instanceof Re?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||Rs(this.body)?null:Ss(this.body)?this.body.type||null:Es(this.body)?null:typeof this.body=="string"?Is:this.body instanceof Re?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ms:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.keepalive??this.keepalive,s=r.priority||this.priority,a=r.cache||this.cache,u=r.mode||this.mode,c=r.redirect||this.redirect,l=r.credentials||this.credentials,h=r.referrer||this.referrer,w=r.integrity||this.integrity,D=r.transferCache??this.transferCache,S=r.timeout??this.timeout,k=r.body!==void 0?r.body:this.body,C=r.withCredentials??this.withCredentials,R=r.reportProgress??this.reportProgress,O=r.headers||this.headers,V=r.params||this.params,F=r.context??this.context;return r.setHeaders!==void 0&&(O=Object.keys(r.setHeaders).reduce((ue,ze)=>ue.set(ze,r.setHeaders[ze]),O)),r.setParams&&(V=Object.keys(r.setParams).reduce((ue,ze)=>ue.set(ze,r.setParams[ze]),V)),new t(e,n,k,{params:V,headers:O,context:F,reportProgress:R,responseType:i,withCredentials:C,transferCache:D,keepalive:o,cache:a,priority:s,timeout:S,mode:u,redirect:c,credentials:l,referrer:h,integrity:w})}},Je=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Je||{}),lt=class{headers;status;statusText;url;ok;type;redirected;constructor(r,e=200,n="OK"){this.headers=r.headers||new ke,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.redirected=r.redirected,this.ok=this.status>=200&&this.status<300}},Bn=class t extends lt{constructor(r={}){super(r)}type=Je.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},$t=class t extends lt{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=Je.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected})}},ut=class extends lt{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},hc=200,fc=204;function ai(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var Os=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let o;if(e instanceof at)o=e;else{let u;i.headers instanceof ke?u=i.headers:u=new ke(i.headers);let c;i.params&&(i.params instanceof Re?c=i.params:c=new Re({fromObject:i.params})),o=new at(e,n,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=p(o).pipe(ye(u=>this.handler.handle(u)));if(e instanceof at||i.observe==="events")return s;let a=s.pipe(ne(u=>u instanceof $t));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new g(2806,!1);return u.body}));case"blob":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new g(2807,!1);return u.body}));case"text":return a.pipe(b(u=>{if(u.body!==null&&typeof u.body!="string")throw new g(2808,!1);return u.body}));case"json":default:return a.pipe(b(u=>u.body))}case"response":return a;default:throw new g(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Re().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,ai(i,n))}post(e,n,i={}){return this.request("POST",e,ai(i,n))}put(e,n,i={}){return this.request("PUT",e,ai(i,n))}static \u0275fac=function(n){return new(n||t)(v(ct))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();var pc=new E("");function Fs(t,r){return r(t)}function gc(t,r){return(e,n)=>r.intercept(e,{handle:i=>t(i,n)})}function mc(t,r,e){return(n,i)=>G(e,()=>r(n,o=>t(o,i)))}var Ns=new E(""),ci=new E(""),Ps=new E(""),li=new E("",{providedIn:"root",factory:()=>!0});function vc(){let t=null;return(r,e)=>{t===null&&(t=(d(Ns,{optional:!0})??[]).reduceRight(gc,Fs));let n=d(Er);if(d(li)){let o=n.add();return t(r,e).pipe(He(o))}else return t(r,e)}}var jn=(()=>{class t extends ct{backend;injector;chain=null;pendingTasks=d(Er);contributeToStability=d(li);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(ci),...this.injector.get(Ps,[])]));this.chain=n.reduceRight((i,o)=>mc(i,o,this.injector),Fs)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(He(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(v(jt),v(Ce))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();var Dc=/^\)\]\}',?\n/,yc=RegExp(`^${_s}:`,"m");function wc(t){return"responseURL"in t&&t.responseURL?t.responseURL:yc.test(t.getAllResponseHeaders())?t.getResponseHeader(_s):null}var ui=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new g(-2800,!1);let n=this.xhrFactory;return p(null).pipe(B(()=>new un(o=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((C,R)=>s.setRequestHeader(C,R.join(","))),e.headers.has(As)||s.setRequestHeader(As,dc),!e.headers.has(bs)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader(bs,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!=="json"?C:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let C=s.statusText||"OK",R=new ke(s.getAllResponseHeaders()),O=wc(s)||e.url;return u=new Bn({headers:R,status:s.status,statusText:C,url:O}),u},l=()=>{let{headers:C,status:R,statusText:O,url:V}=c(),F=null;R!==fc&&(F=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=F?hc:0);let ue=R>=200&&R<300;if(e.responseType==="json"&&typeof F=="string"){let ze=F;F=F.replace(Dc,"");try{F=F!==""?JSON.parse(F):null}catch(La){F=ze,ue&&(ue=!1,F={error:La,text:F})}}ue?(o.next(new $t({body:F,headers:C,status:R,statusText:O,url:V||void 0})),o.complete()):o.error(new ut({error:F,headers:C,status:R,statusText:O,url:V||void 0}))},h=C=>{let{url:R}=c(),O=new ut({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});o.error(O)},w=h;e.timeout&&(w=C=>{let{url:R}=c(),O=new ut({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:R||void 0});o.error(O)});let D=!1,S=C=>{D||(o.next(c()),D=!0);let R={type:Je.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(R.total=C.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),o.next(R)},k=C=>{let R={type:Je.UploadProgress,loaded:C.loaded};C.lengthComputable&&(R.total=C.total),o.next(R)};return s.addEventListener("load",l),s.addEventListener("error",h),s.addEventListener("timeout",w),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",S),a!==null&&s.upload&&s.upload.addEventListener("progress",k)),s.send(a),o.next({type:Je.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",l),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",S),a!==null&&s.upload&&s.upload.removeEventListener("progress",k)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(v(Xe))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Ls=new E(""),Cc="XSRF-TOKEN",Ec=new E("",{providedIn:"root",factory:()=>Cc}),Sc="X-XSRF-TOKEN",Rc=new E("",{providedIn:"root",factory:()=>Sc}),zt=class{},bc=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Lt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(v(M),v(Ec))};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();function Ac(t,r){let e=t.url.toLowerCase();if(!d(Ls)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let n=d(zt).getToken(),i=d(Rc);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),r(t)}var di=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(di||{});function Tc(t,r){return{\u0275kind:t,\u0275providers:r}}function _c(...t){let r=[Os,ui,jn,{provide:ct,useExisting:jn},{provide:jt,useFactory:()=>d(pc,{optional:!0})??d(ui)},{provide:ci,useValue:Ac,multi:!0},{provide:Ls,useValue:!0},{provide:zt,useClass:bc}];for(let e of t)r.push(...e.\u0275providers);return dn(r)}var Ts=new E("");function Ic(){return Tc(di.LegacyInterceptors,[{provide:Ts,useFactory:vc},{provide:ci,useExisting:Ts,multi:!0}])}var ks=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(v(M))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Oc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=v(Fc),i},providedIn:"root"})}return t})(),Fc=(()=>{class t extends Oc{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case qe.NONE:return n;case qe.HTML:return st(n,"HTML")?Me(n):ao(this._doc,String(n)).toString();case qe.STYLE:return st(n,"Style")?Me(n):n;case qe.SCRIPT:if(st(n,"Script"))return Me(n);throw new g(5200,!1);case qe.URL:return st(n,"URL")?Me(n):so(String(n));case qe.RESOURCE_URL:if(st(n,"ResourceURL"))return Me(n);throw new g(5201,!1);default:throw new g(5202,!1)}}bypassSecurityTrustHtml(e){return to(e)}bypassSecurityTrustStyle(e){return no(e)}bypassSecurityTrustScript(e){return ro(e)}bypassSecurityTrustUrl(e){return io(e)}bypassSecurityTrustResourceUrl(e){return oo(e)}static \u0275fac=function(n){return new(n||t)(v(M))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y="primary",tn=Symbol("RouteTitle"),mi=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function tt(t){return new mi(t)}function Hs(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Pc(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!fe(t[e],r[e]))return!1;return!0}function fe(t,r){let e=t?vi(t):void 0,n=r?vi(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Gs(t[i],r[i]))return!1;return!0}function vi(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Gs(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function Ws(t){return t.length>0?t[t.length-1]:null}function Ae(t){return Vi(t)?t:Dn(t)?$(Promise.resolve(t)):p(t)}var Lc={exact:Zs,subset:Ys},qs={exact:kc,subset:xc,ignored:()=>!0};function xs(t,r,e){return Lc[e.paths](t.root,r.root,e.matrixParams)&&qs[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function kc(t,r){return fe(t,r)}function Zs(t,r,e){if(!Qe(t.segments,r.segments)||!Vn(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Zs(t.children[n],r.children[n],e))return!1;return!0}function xc(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Gs(t[e],r[e]))}function Ys(t,r,e){return Ks(t,r,r.segments,e)}function Ks(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Qe(i,e)||r.hasChildren()||!Vn(i,e,n))}else if(t.segments.length===e.length){if(!Qe(t.segments,e)||!Vn(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Ys(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Qe(t.segments,i)||!Vn(t.segments,i,n)||!t.children[y]?!1:Ks(t.children[y],r,o,n)}}function Vn(t,r,e){return r.every((n,i)=>qs[e](t[i].parameters,n.parameters))}var ge=class{root;queryParams;fragment;_queryParamMap;constructor(r=new A([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=tt(this.queryParams),this._queryParamMap}toString(){return jc.serialize(this)}},A=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hn(this)}},xe=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=tt(this.parameters),this._parameterMap}toString(){return Js(this)}};function Uc(t,r){return Qe(t,r)&&t.every((e,n)=>fe(e.parameters,r[n].parameters))}function Qe(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Bc(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===y&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==y&&(e=e.concat(r(i,n)))}),e}var nt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>new Ue,providedIn:"root"})}return t})(),Ue=class{parse(r){let e=new yi(r);return new ge(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Vt(r.root,!0)}`,n=Vc(r.queryParams),i=typeof r.fragment=="string"?`#${$c(r.fragment)}`:"";return`${e}${n}${i}`}},jc=new Ue;function Hn(t){return t.segments.map(r=>Js(r)).join("/")}function Vt(t,r){if(!t.hasChildren())return Hn(t);if(r){let e=t.children[y]?Vt(t.children[y],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==y&&n.push(`${i}:${Vt(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Bc(t,(n,i)=>i===y?[Vt(t.children[y],!1)]:[`${i}:${Vt(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[y]!=null?`${Hn(t)}/${e[0]}`:`${Hn(t)}/(${e.join("//")})`}}function Xs(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $n(t){return Xs(t).replace(/%3B/gi,";")}function $c(t){return encodeURI(t)}function Di(t){return Xs(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gn(t){return decodeURIComponent(t)}function Us(t){return Gn(t.replace(/\+/g,"%20"))}function Js(t){return`${Di(t.path)}${zc(t.parameters)}`}function zc(t){return Object.entries(t).map(([r,e])=>`;${Di(r)}=${Di(e)}`).join("")}function Vc(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${$n(e)}=${$n(i)}`).join("&"):`${$n(e)}=${$n(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Hc=/^[^\/()?;#]+/;function hi(t){let r=t.match(Hc);return r?r[0]:""}var Gc=/^[^\/()?;=#]+/;function Wc(t){let r=t.match(Gc);return r?r[0]:""}var qc=/^[^=?&#]+/;function Zc(t){let r=t.match(qc);return r?r[0]:""}var Yc=/^[^&#]+/;function Kc(t){let r=t.match(Yc);return r?r[0]:""}var yi=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new A([],{}):new A([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[y]=new A(r,e)),n}parseSegment(){let r=hi(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new g(4009,!1);return this.capture(r),new xe(Gn(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=Wc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=hi(this.remaining);i&&(n=i,this.capture(n))}r[Gn(e)]=Gn(n)}parseQueryParam(r){let e=Zc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=Kc(this.remaining);s&&(n=s,this.capture(n))}let i=Us(e),o=Us(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=hi(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new g(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=y);let s=this.parseChildren();e[o??y]=Object.keys(s).length===1&&s[y]?s[y]:new A([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new g(4011,!1)}};function Qs(t){return t.segments.length>0?new A([],{[y]:t}):t}function ea(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=ea(i);if(n===y&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new A(t.segments,r);return Xc(e)}function Xc(t){if(t.numberOfChildren===1&&t.children[y]){let r=t.children[y];return new A(t.segments.concat(r.segments),r.children)}return t}function Be(t){return t instanceof ge}function ta(t,r,e=null,n=null){let i=na(t);return ra(i,r,e,n)}function na(t){let r;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new A(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=Qs(n);return r??i}function ra(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return fi(i,i,i,e,n);let o=Jc(r);if(o.toRoot())return fi(i,i,new A([],{}),e,n);let s=Qc(o,i,t),a=s.processChildren?Gt(s.segmentGroup,s.index,o.commands):oa(s.segmentGroup,s.index,o.commands);return fi(i,s.segmentGroup,a,e,n)}function Wn(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qt(t){return typeof t=="object"&&t!=null&&t.outlets}function fi(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===r?s=e:s=ia(t,r,e);let a=Qs(ea(s));return new ge(a,o,i)}function ia(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=ia(o,r,e)}),new A(t.segments,n)}var qn=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&Wn(n[0]))throw new g(4003,!1);let i=n.find(qt);if(i&&i!==Ws(n))throw new g(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Jc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new qn(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new qn(e,r,n)}var ft=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Qc(t,r,e){if(t.isAbsolute)return new ft(r,!0,0);if(!e)return new ft(r,!1,NaN);if(e.parent===null)return new ft(e,!0,0);let n=Wn(t.commands[0])?0:1,i=e.segments.length-1+n;return el(e,i,t.numberOfDoubleDots)}function el(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new g(4005,!1);i=n.segments.length}return new ft(n,!1,i-o)}function tl(t){return qt(t[0])?t[0].outlets:{[y]:t}}function oa(t,r,e){if(t??=new A([],{}),t.segments.length===0&&t.hasChildren())return Gt(t,r,e);let n=nl(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new A(t.segments.slice(0,n.pathIndex),{});return o.children[y]=new A(t.segments.slice(n.pathIndex),t.children),Gt(o,0,i)}else return n.match&&i.length===0?new A(t.segments,{}):n.match&&!t.hasChildren()?wi(t,r,e):n.match?Gt(t,0,i):wi(t,r,e)}function Gt(t,r,e){if(e.length===0)return new A(t.segments,{});{let n=tl(e),i={};if(Object.keys(n).some(o=>o!==y)&&t.children[y]&&t.numberOfChildren===1&&t.children[y].segments.length===0){let o=Gt(t.children[y],r,e);return new A(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=oa(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new A(t.segments,i)}}function nl(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(qt(a))break;let u=`${a}`,c=n<e.length-1?e[n+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!js(u,c,s))return o;n+=2}else{if(!js(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function wi(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(qt(o)){let u=rl(o.outlets);return new A(n,u)}if(i===0&&Wn(e[0])){let u=t.segments[r];n.push(new xe(u.path,Bs(e[0]))),i++;continue}let s=qt(o)?o.outlets[y]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Wn(a)?(n.push(new xe(s,Bs(a))),i+=2):(n.push(new xe(s,{})),i++)}return new A(n,{})}function rl(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=wi(new A([],{}),0,n))}),r}function Bs(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function js(t,r,e){return t==e.path&&fe(r,e.parameters)}var pt="imperative",L=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(L||{}),X=class{id;url;constructor(r,e){this.id=r,this.url=e}},je=class extends X{type=L.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},J=class extends X{urlAfterRedirects;type=L.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},z=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(z||{}),mt=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(mt||{}),pe=class extends X{reason;code;type=L.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},me=class extends X{reason;code;type=L.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},vt=class extends X{error;target;type=L.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Zt=class extends X{urlAfterRedirects;state;type=L.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zn=class extends X{urlAfterRedirects;state;type=L.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Yn=class extends X{urlAfterRedirects;state;shouldActivate;type=L.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Kn=class extends X{urlAfterRedirects;state;type=L.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xn=class extends X{urlAfterRedirects;state;type=L.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class{route;type=L.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qn=class{route;type=L.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},er=class{snapshot;type=L.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},tr=class{snapshot;type=L.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},nr=class{snapshot;type=L.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rr=class{snapshot;type=L.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Dt=class{routerEvent;position;anchor;type=L.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Yt=class{},yt=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function il(t){return!(t instanceof Yt)&&!(t instanceof yt)}function ol(t,r){return t.providers&&!t._injector&&(t._injector=gn(t.providers,r,`Route: ${t.path}`)),t._injector??r}function ae(t){return t.outlet||y}function sl(t,r){let e=t.filter(n=>ae(n)===r);return e.push(...t.filter(n=>ae(n)!==r)),e}function Et(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var ir=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Et(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new rt(this.rootInjector)}},rt=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new ir(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(v(Ce))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),or=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Ci(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=Ci(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Ei(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Ei(r,this._root).map(e=>e.value)}};function Ci(t,r){if(t===r.value)return r;for(let e of r.children){let n=Ci(t,e);if(n)return n}return null}function Ei(t,r){if(t===r.value)return[r];for(let e of r.children){let n=Ei(t,e);if(n.length)return n.unshift(r),n}return[]}var K=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function ht(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Kt=class extends or{snapshot;constructor(r,e){super(r),this.snapshot=e,Mi(this,r)}toString(){return this.snapshot.toString()}};function sa(t){let r=al(t),e=new Q([new xe("",{})]),n=new Q({}),i=new Q({}),o=new Q({}),s=new Q(""),a=new be(e,n,o,s,i,y,t,r.root);return a.snapshot=r.root,new Kt(new K(a,[]),r)}function al(t){let r={},e={},n={},o=new et([],r,n,"",e,y,t,null,{});return new Xt("",new K(o,[]))}var be=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(b(c=>c[tn]))??p(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}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(b(r=>tt(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(r=>tt(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function sr(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:f(f({},r.params),t.params),data:f(f({},r.data),t.data),resolve:f(f(f(f({},t.data),r.data),i?.data),t._resolvedData)}:n={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&ua(i)&&(n.resolve[tn]=i.title),n}var et=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[tn]}constructor(r,e,n,i,o,s,a,u,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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??=tt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=tt(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},Xt=class extends or{url;constructor(r,e){super(e),this.url=r,Mi(this,e)}toString(){return aa(this._root)}};function Mi(t,r){r.value._routerState=t,r.children.forEach(e=>Mi(t,e))}function aa(t){let r=t.children.length>0?` { ${t.children.map(aa).join(", ")} } `:"";return`${t.value}${r}`}function pi(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,fe(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),fe(r.params,e.params)||t.paramsSubject.next(e.params),Pc(r.url,e.url)||t.urlSubject.next(e.url),fe(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Si(t,r){let e=fe(t.params,r.params)&&Uc(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Si(t.parent,r.parent))}function ua(t){return typeof t.title=="string"||t.title===null}var ca=new E(""),Oi=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=y;activateEvents=new Ye;deactivateEvents=new Ye;attachEvents=new Ye;detachEvents=new Ye;routerOutletData=Oo();parentContexts=d(rt);location=d(Ke);changeDetector=d(Ne);inputBinder=d(nn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new g(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Ri(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ce]})}return t})(),Ri=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===be?this.route:r===rt?this.childContexts:r===ca?this.outletData:this.parent.get(r,e)}},nn=new E(""),Fi=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=cn([n.queryParams,n.params,n.data]).pipe(B(([o,s,a],u)=>(a=f(f(f({},o),s),a),u===0?p(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=xo(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})(),Ni=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=Do({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&So(0,"router-outlet")},dependencies:[Oi],encapsulation:2})}return t})();function Pi(t){let r=t.children&&t.children.map(Pi),e=r?U(f({},t),{children:r}):f({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==y&&(e.component=Ni),e}function ul(t,r,e){let n=Jt(t,r._root,e?e._root:void 0);return new Kt(n,r)}function Jt(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=cl(t,r,e);return new K(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>Jt(t,a)),s}}let n=ll(r.value),i=r.children.map(o=>Jt(t,o));return new K(n,i)}}function cl(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Jt(t,n,i);return Jt(t,n)})}function ll(t){return new be(new Q(t.url),new Q(t.params),new Q(t.queryParams),new Q(t.fragment),new Q(t.data),t.outlet,t.component,t)}var wt=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},la="ngNavigationCancelingError";function ar(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=Be(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=da(!1,z.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function da(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[la]=!0,e.cancellationCode=r,e}function dl(t){return ha(t)&&Be(t.url)}function ha(t){return!!t&&t[la]}var hl=(t,r,e,n)=>b(i=>(new bi(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),bi=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),pi(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=ht(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ht(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ht(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=ht(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new rr(o.value.snapshot))}),r.children.length&&this.forwardEvent(new tr(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(pi(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),pi(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},ur=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},gt=class{component;route;constructor(r,e){this.component=r,this.route=e}};function fl(t,r,e){let n=t._root,i=r?r._root:null;return Ht(n,i,e,[n.value])}function pl(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function St(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Yi(t)?t:r.get(t):n}function Ht(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ht(r);return t.children.forEach(s=>{gl(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Wt(a,e.getContext(s),i)),i}function gl(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=ml(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new ur(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ht(t,r,a?a.children:null,n,i):Ht(t,r,e,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new gt(a.outlet.component,s))}else s&&Wt(r,a,i),i.canActivateChecks.push(new ur(n)),o.component?Ht(t,null,a?a.children:null,n,i):Ht(t,null,e,n,i);return i}function ml(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Qe(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Qe(t.url,r.url)||!fe(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Si(t,r)||!fe(t.queryParams,r.queryParams);case"paramsChange":default:return!Si(t,r)}}function Wt(t,r,e){let n=ht(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?Wt(s,r.children.getContext(o),e):Wt(s,null,e):Wt(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new gt(r.outlet.component,i)):e.canDeactivateChecks.push(new gt(null,i)):e.canDeactivateChecks.push(new gt(null,i))}function rn(t){return typeof t=="function"}function vl(t){return typeof t=="boolean"}function Dl(t){return t&&rn(t.canLoad)}function yl(t){return t&&rn(t.canActivate)}function wl(t){return t&&rn(t.canActivateChild)}function Cl(t){return t&&rn(t.canDeactivate)}function El(t){return t&&rn(t.canMatch)}function fa(t){return t instanceof Hi||t?.name==="EmptyError"}var zn=Symbol("INITIAL_VALUE");function Ct(){return B(t=>cn(t.map(r=>r.pipe(it(1),Zi(zn)))).pipe(b(r=>{for(let e of r)if(e!==!0){if(e===zn)return zn;if(e===!1||Sl(e))return e}return!0}),ne(r=>r!==zn),it(1)))}function Sl(t){return Be(t)||t instanceof wt}function Rl(t,r){return H(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?p(U(f({},e),{guardsResult:!0})):bl(s,n,i,t).pipe(H(a=>a&&vl(a)?Al(n,o,t,r):p(a)),b(a=>U(f({},e),{guardsResult:a})))})}function bl(t,r,e,n){return $(t).pipe(H(i=>Ol(i.component,i.route,e,r,n)),Te(i=>i!==!0,!0))}function Al(t,r,e,n){return $(r).pipe(ye(i=>Gi(_l(i.route.parent,n),Tl(i.route,n),Ml(t,i.path,e),Il(t,i.route,e))),Te(i=>i!==!0,!0))}function Tl(t,r){return t!==null&&r&&r(new nr(t)),p(!0)}function _l(t,r){return t!==null&&r&&r(new er(t)),p(!0)}function Il(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return p(!0);let i=n.map(o=>ln(()=>{let s=Et(r)??e,a=St(o,s),u=yl(a)?a.canActivate(r,t):G(s,()=>a(r,t));return Ae(u).pipe(Te())}));return p(i).pipe(Ct())}function Ml(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>pl(s)).filter(s=>s!==null).map(s=>ln(()=>{let a=s.guards.map(u=>{let c=Et(s.node)??e,l=St(u,c),h=wl(l)?l.canActivateChild(n,t):G(c,()=>l(n,t));return Ae(h).pipe(Te())});return p(a).pipe(Ct())}));return p(o).pipe(Ct())}function Ol(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return p(!0);let s=o.map(a=>{let u=Et(r)??i,c=St(a,u),l=Cl(c)?c.canDeactivate(t,r,e,n):G(u,()=>c(t,r,e,n));return Ae(l).pipe(Te())});return p(s).pipe(Ct())}function Fl(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return p(!0);let o=i.map(s=>{let a=St(s,t),u=Dl(a)?a.canLoad(r,e):G(t,()=>a(r,e));return Ae(u)});return p(o).pipe(Ct(),pa(n))}function pa(t){return zi(x(r=>{if(typeof r!="boolean")throw ar(t,r)}),b(r=>r===!0))}function Nl(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=St(s,t),u=El(a)?a.canMatch(r,e):G(t,()=>a(r,e));return Ae(u)});return p(o).pipe(Ct(),pa(n))}var Qt=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},en=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function dt(t){return bt(new Qt(t))}function Pl(t){return bt(new g(4e3,!1))}function Ll(t){return bt(da(!1,z.GuardRejected))}var Ai=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return p(n);if(i.numberOfChildren>1||!i.children[y])return Pl(`${r.redirectTo}`);i=i.children[y]}}applyRedirectCommands(r,e,n,i,o){return kl(e,i,o).pipe(b(s=>{if(s instanceof ge)throw new en(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,n);if(s[0]==="/")throw new en(a);return a}))}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new ge(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(r,u,n,i)}),new A(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new g(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}};function kl(t,r,e){if(typeof t=="string")return p(t);let n=t,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,params:c,data:l,title:h}=r;return Ae(G(e,()=>n({params:c,data:l,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,title:h})))}var Ti={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xl(t,r,e,n,i){let o=ga(t,r,e);return o.matched?(n=ol(r,n),Nl(n,r,e,i).pipe(b(s=>s===!0?o:f({},Ti)))):p(o)}function ga(t,r,e){if(r.path==="**")return Ul(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},Ti):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Hs)(e,t,r);if(!i)return f({},Ti);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?f(f({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Ul(t){return{matched:!0,parameters:t.length>0?Ws(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function $s(t,r,e,n){return e.length>0&&$l(t,e,n)?{segmentGroup:new A(r,jl(n,new A(e,t.children))),slicedSegments:[]}:e.length===0&&zl(t,e,n)?{segmentGroup:new A(t.segments,Bl(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new A(t.segments,t.children),slicedSegments:e}}function Bl(t,r,e,n){let i={};for(let o of e)if(lr(t,r,o)&&!n[ae(o)]){let s=new A([],{});i[ae(o)]=s}return f(f({},n),i)}function jl(t,r){let e={};e[y]=r;for(let n of t)if(n.path===""&&ae(n)!==y){let i=new A([],{});e[ae(n)]=i}return e}function $l(t,r,e){return e.some(n=>lr(t,r,n)&&ae(n)!==y)}function zl(t,r,e){return e.some(n=>lr(t,r,n))}function lr(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Vl(t,r,e){return r.length===0&&!t.children[e]}var _i=class{};function Hl(t,r,e,n,i,o,s="emptyOnly"){return new Ii(t,r,e,n,i,s,o).recognize()}var Gl=31,Ii=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ai(this.urlSerializer,this.urlTree)}noMatchError(r){return new g(4002,`'${r.segmentGroup}'`)}recognize(){let r=$s(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(b(({children:e,rootSnapshot:n})=>{let i=new K(n,e),o=new Xt("",i),s=ta(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new et([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),y,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,y,e).pipe(b(n=>({children:n,rootSnapshot:e})),Ve(n=>{if(n instanceof en)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Qt?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(b(s=>s instanceof K?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return $(o).pipe(ye(s=>{let a=n.children[s],u=sl(e,s);return this.processSegmentGroup(r,u,a,s,i)}),qi((s,a)=>(s.push(...a),s)),Dr(null),Wi(),H(s=>{if(s===null)return dt(n);let a=ma(s);return Wl(a),p(a)}))}processSegment(r,e,n,i,o,s,a){return $(e).pipe(ye(u=>this.processSegmentAgainstRoute(u._injector??r,e,u,n,i,o,s,a).pipe(Ve(c=>{if(c instanceof Qt)return p(null);throw c}))),Te(u=>!!u),Ve(u=>{if(fa(u))return Vl(n,i,o)?p(new _i):dt(n);throw u}))}processSegmentAgainstRoute(r,e,n,i,o,s,a,u){return ae(n)!==s&&(s===y||!lr(i,o,n))?dt(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,u):dt(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:h,remainingSegments:w}=ga(e,i,o);if(!u)return dt(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Gl&&(this.allowRedirects=!1));let D=new et(o,c,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,zs(i),ae(i),i.component??i._loadedComponent??null,i,Vs(i)),S=sr(D,a,this.paramsInheritanceStrategy);return D.params=Object.freeze(S.params),D.data=Object.freeze(S.data),this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,D,r).pipe(B(C=>this.applyRedirects.lineralizeSegments(i,C)),H(C=>this.processSegment(r,n,e,C.concat(w),s,!1,a)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let a=xl(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(B(u=>u.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(B(({routes:c})=>{let l=n._loadedInjector??r,{parameters:h,consumedSegments:w,remainingSegments:D}=u,S=new et(w,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,zs(n),ae(n),n.component??n._loadedComponent??null,n,Vs(n)),k=sr(S,s,this.paramsInheritanceStrategy);S.params=Object.freeze(k.params),S.data=Object.freeze(k.data);let{segmentGroup:C,slicedSegments:R}=$s(e,w,D,c);if(R.length===0&&C.hasChildren())return this.processChildren(l,c,C,S).pipe(b(V=>new K(S,V)));if(c.length===0&&R.length===0)return p(new K(S,[]));let O=ae(n)===o;return this.processSegment(l,c,C,R,O?y:o,!0,S).pipe(b(V=>new K(S,V instanceof K?[V]:[])))}))):dt(e)))}getChildConfig(r,e,n){return e.children?p({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Fl(r,e,n,this.urlSerializer).pipe(H(i=>i?this.configLoader.loadChildren(r,e).pipe(x(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):Ll(e))):p({routes:[],injector:r})}};function Wl(t){t.sort((r,e)=>r.value.outlet===y?-1:e.value.outlet===y?1:r.value.outlet.localeCompare(e.value.outlet))}function ql(t){let r=t.value.routeConfig;return r&&r.path===""}function ma(t){let r=[],e=new Set;for(let n of t){if(!ql(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=ma(n.children);r.push(new K(n.value,i))}return r.filter(n=>!e.has(n))}function zs(t){return t.data||{}}function Vs(t){return t.resolve||{}}function Zl(t,r,e,n,i,o){return H(s=>Hl(t,r,e,n,s.extractedUrl,i,o).pipe(b(({state:a,tree:u})=>U(f({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function Yl(t,r){return H(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of va(u))s.add(c);let a=0;return $(s).pipe(ye(u=>o.has(u)?Kl(u,n,t,r):(u.data=sr(u,u.parent,t).resolve,p(void 0))),x(()=>a++),yr(1),H(u=>a===s.size?p(e):De))})}function va(t){let r=t.children.map(e=>va(e)).flat();return[t,...r]}function Kl(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!ua(i)&&(o[tn]=i.title),ln(()=>(t.data=sr(t,t.parent,e).resolve,Xl(o,t,r,n).pipe(b(s=>(t._resolvedData=s,t.data=f(f({},t.data),s),null)))))}function Xl(t,r,e,n){let i=vi(t);if(i.length===0)return p({});let o={};return $(i).pipe(H(s=>Jl(t[s],r,e,n).pipe(Te(),x(a=>{if(a instanceof wt)throw ar(new Ue,a);o[s]=a}))),yr(1),b(()=>o),Ve(s=>fa(s)?De:bt(s)))}function Jl(t,r,e,n){let i=Et(r)??n,o=St(t,i),s=o.resolve?o.resolve(r,e):G(i,()=>o(r,e));return Ae(s)}function gi(t){return B(r=>{let e=t(r);return e?$(e).pipe(b(()=>r)):p(r)})}var Li=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===y);return n}getResolvedTitleForRoute(e){return e.data[tn]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>d(Da),providedIn:"root"})}return t})(),Da=(()=>{class t extends Li{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(v(ks))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$e=new E("",{providedIn:"root",factory:()=>({})}),Rt=new E(""),dr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Io);loadComponent(e,n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return p(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Ae(G(e,()=>n.loadComponent())).pipe(b(wa),B(Ca),x(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),He(()=>{this.componentLoaders.delete(n)})),o=new vr(i,()=>new te).pipe(mr());return this.componentLoaders.set(n,o),o}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return p({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=ya(n,this.compiler,e,this.onLoadEndListener).pipe(He(()=>{this.childrenLoaders.delete(n)})),s=new vr(o,()=>new te).pipe(mr());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ya(t,r,e,n){return Ae(G(e,()=>t.loadChildren())).pipe(b(wa),B(Ca),H(i=>i instanceof mo||Array.isArray(i)?p(i):$(r.compileModuleAsync(i))),b(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Rt,[],{optional:!0,self:!0}).flat()),{routes:s.map(Pi),injector:o}}))}function Ql(t){return t&&typeof t=="object"&&"default"in t}function wa(t){return Ql(t)?t.default:t}function Ca(t){return p(t)}var hr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>d(ed),providedIn:"root"})}return t})(),ed=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ki=new E(""),xi=new E("");function Ea(t,r,e){let n=t.get(xi),i=t.get(M);if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),td(t)));a.ready.catch(c=>{});let{onViewTransitionCreated:u}=n;return u&&G(t,()=>u({transition:a,from:r,to:e})),s}function td(t){return new Promise(r=>{ho({read:()=>setTimeout(r)},{injector:t})})}var Ui=new E(""),fr=(()=>{class t{currentNavigation=hn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new te;transitionAbortWithErrorSubject=new te;configLoader=d(dr);environmentInjector=d(Ce);destroyRef=d(Tt);urlSerializer=d(nt);rootContexts=d(rt);location=d(Le);inputBindingEnabled=d(nn,{optional:!0})!==null;titleStrategy=d(Li);options=d($e,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(hr);createViewTransition=d(ki,{optional:!0});navigationErrorHandler=d(Ui,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Jn(i)),n=i=>this.events.next(new Qn(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;re(()=>{this.transitions?.next(U(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:n}))})}setupNavigations(e){return this.transitions=new Q(null),this.transitions.pipe(ne(n=>n!==null),B(n=>{let i=!1;return p(n).pipe(B(o=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",z.SupersededByNewNavigation),De;this.currentTransition=n,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?U(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new me(o.id,this.urlSerializer.serialize(o.rawUrl),"",mt.IgnoredSameUrlNavigation)),o.resolve(!1),De;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return p(o).pipe(B(u=>(this.events.next(new je(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?De:Promise.resolve(u))),Zl(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),x(u=>{n.targetSnapshot=u.targetSnapshot,n.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=u.urlAfterRedirects,l));let c=new Zt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:u,extractedUrl:c,source:l,restoredState:h,extras:w}=o,D=new je(u,this.urlSerializer.serialize(c),l,h);this.events.next(D);let S=sa(this.rootComponentType).snapshot;return this.currentTransition=n=U(f({},o),{targetSnapshot:S,urlAfterRedirects:c,extras:U(f({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(k=>(k.finalUrl=c,k)),p(n)}else return this.events.next(new me(o.id,this.urlSerializer.serialize(o.extractedUrl),"",mt.IgnoredByUrlHandlingStrategy)),o.resolve(!1),De}),x(o=>{let s=new Zn(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),b(o=>(this.currentTransition=n=U(f({},o),{guards:fl(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),n)),Rl(this.environmentInjector,o=>this.events.next(o)),x(o=>{if(n.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw ar(this.urlSerializer,o.guardsResult);let s=new Yn(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),ne(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",z.GuardRejected),!1)),gi(o=>{if(o.guards.canActivateChecks.length!==0)return p(o).pipe(x(s=>{let a=new Kn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),B(s=>{let a=!1;return p(s).pipe(Yl(this.paramsInheritanceStrategy,this.environmentInjector),x({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",z.NoDataFromResolver)}}))}),x(s=>{let a=new Xn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),gi(o=>{let s=a=>{let u=[];if(a.routeConfig?.loadComponent){let c=Et(a)??this.environmentInjector;u.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(x(l=>{a.component=l}),b(()=>{})))}for(let c of a.children)u.push(...s(c));return u};return cn(s(o.targetSnapshot.root)).pipe(Dr(null),it(1))}),gi(()=>this.afterPreactivation()),B(()=>{let{currentSnapshot:o,targetSnapshot:s}=n,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?$(a).pipe(b(()=>n)):p(n)}),b(o=>{let s=ul(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=n=U(f({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),n}),x(()=>{this.events.next(new Yt)}),hl(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),it(1),wr(new un(o=>{let s=n.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ne(()=>!i&&!n.targetRouterState),x(()=>{this.cancelNavigationTransition(n,n.abortController.signal.reason+"",z.Aborted)}))),x({next:o=>{i=!0,this.lastSuccessfulNavigation=re(this.currentNavigation),this.events.next(new J(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),wr(this.transitionAbortWithErrorSubject.pipe(x(o=>{throw o}))),He(()=>{i||this.cancelNavigationTransition(n,"",z.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ve(o=>{if(this.destroyed)return n.resolve(!1),De;if(i=!0,ha(o))this.events.next(new pe(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode)),dl(o)?this.events.next(new yt(o.url,o.navigationBehaviorOptions)):n.resolve(!1);else{let s=new vt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);try{let a=G(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof wt){let{message:u,cancellationCode:c}=ar(this.urlSerializer,a);this.events.next(new pe(n.id,this.urlSerializer.serialize(n.extractedUrl),u,c)),this.events.next(new yt(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(a)}}return De}))}))}cancelNavigationTransition(e,n,i){let o=new pe(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=re(this.currentNavigation),i=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==i?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nd(t){return t!==pt}var Sa=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>d(rd),providedIn:"root"})}return t})(),cr=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},rd=(()=>{class t extends cr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Sr(t)))(i||t)}})();static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ra=(()=>{class t{urlSerializer=d(nt);options=d($e,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Le);urlHandlingStrategy=d(hr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ge;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof ge?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=sa(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:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:()=>d(id),providedIn:"root"})}return t})(),id=(()=>{class t extends Ra{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof je?this.updateStateMemento():e instanceof me?this.commitTransition(n):e instanceof Zt?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Yt?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof pe&&e.code!==z.SupersededByNewNavigation&&e.code!==z.Redirect?this.restoreHistory(n):e instanceof vt?this.restoreHistory(n,!0):e instanceof J&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:o,state:s}=n;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=f(f({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=f(f({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Sr(t)))(i||t)}})();static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function pr(t,r){t.events.pipe(ne(e=>e instanceof J||e instanceof pe||e instanceof vt||e instanceof me),b(e=>e instanceof J||e instanceof me?0:(e instanceof pe?e.code===z.Redirect||e.code===z.SupersededByNewNavigation:!1)?2:1),ne(e=>e!==2),it(1)).subscribe(()=>{r()})}var od={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},sd={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ve=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(Or);stateManager=d(Ra);options=d($e,{optional:!0})||{};pendingTasks=d(Xi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(fr);urlSerializer=d(nt);location=d(Le);urlHandlingStrategy=d(hr);injector=d(Ce);_events=new te;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(Sa);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(Rt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(nn,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new $i;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=re(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof pe&&n.code!==z.Redirect&&n.code!==z.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof J)this.navigated=!0;else if(n instanceof yt){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),u=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||nd(i.source)},s);this.scheduleNavigation(a,pt,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}il(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),pt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=f({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,s,o).catch(u=>{this.disposed||this.injector.get(ot)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return re(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Pi),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(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=n,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let w=i?i.snapshot:this.routerState.snapshot.root;h=na(w)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return ra(h,e,l,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=Be(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,pt,null,n)}navigate(e,n={skipLocationChange:!1}){return ad(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Ge(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=f({},od):n===!1?i=f({},sd):i=n,Be(e))return xs(this.currentUrlTree,e,i);let o=this.parseUrl(e);return xs(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((h,w)=>{a=h,u=w});let l=this.pendingTasks.add();return pr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ad(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new g(4008,!1)}var gr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=hn(null);get href(){return re(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new te;applicationErrorHandler=d(ot);options=d($e,{optional:!0});constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(d(new Mo("href"),{optional:!0}));let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area"||!!(typeof customElements=="object"&&customElements.get(u)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,n=i=>i==="merge"||i==="preserve";e||=n(this.queryParamsHandling),e||=!this.queryParamsHandling&&!n(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(i=>{i instanceof J&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Be(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Be(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(n){return new(n||t)(T(ve),T(be),Rr("tabindex"),T(Oe),T(Ie),T(oe))};static \u0275dir=W({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,i){n&1&&Ro("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Eo("href",i.reactiveHref(),uo)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ee],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ee],replaceUrl:[2,"replaceUrl","replaceUrl",Ee],routerLink:"routerLink"},features:[ce]})}return t})(),ud=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ye;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof J&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(At()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=$(e).pipe(At()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&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!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=cd(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(T(ve),T(Ie),T(Oe),T(Ne),T(gr,8))};static \u0275dir=W({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&bo(o,gr,5),n&2){let s;Ao(s=To())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ce]})}return t})();function cd(t){return!!t.paths}var on=class{};var ba=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,o){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ne(e=>e instanceof J),ye(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let i=[];for(let o of n){o.providers&&!o._injector&&(o._injector=gn(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return $(i).pipe(At())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=p(null);let o=i.pipe(H(s=>s===null?p(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(e,n);return $([o,s]).pipe(At())}else return o})}static \u0275fac=function(n){return new(n||t)(v(ve),v(Ce),v(on),v(dr))};static \u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Aa=new E(""),ld=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=pt;restoredId=0;store={};constructor(e,n,i,o,s={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=o,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(e=>{e instanceof je?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof J?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof me&&e.code===mt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Dt))return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>an(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Dt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){po()};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();function dd(t){return t.routerState.root}function sn(t,r){return{\u0275kind:t,\u0275providers:r}}function hd(){let t=d(We);return r=>{let e=t.get(Pr);if(r!==e.components[0])return;let n=t.get(ve),i=t.get(Ta);t.get(ji)===1&&n.initialNavigation(),t.get(Ma,null,{optional:!0})?.setUpPreloading(),t.get(Aa,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ta=new E("",{factory:()=>new te}),ji=new E("",{providedIn:"root",factory:()=>1});function _a(){let t=[{provide:_r,useValue:!0},{provide:ji,useValue:0},Nr(()=>{let r=d(We);return r.get(Ur,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(ve),o=r.get(Ta);pr(i,()=>{n(!0)}),r.get(fr).afterPreactivation=()=>(n(!0),o.closed?p(void 0):o),i.initialNavigation()}))})];return sn(2,t)}function Ia(){let t=[Nr(()=>{d(ve).setUpLocationChangeListener()}),{provide:ji,useValue:2}];return sn(3,t)}var Ma=new E("");function Oa(t){return sn(0,[{provide:Ma,useExisting:ba},{provide:on,useExisting:t}])}function Fa(){return sn(8,[Fi,{provide:nn,useExisting:Fi}])}function Na(t){pn("NgRouterViewTransitions");let r=[{provide:ki,useValue:Ea},{provide:xi,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return sn(9,r)}var Pa=[Le,{provide:nt,useClass:Ue},ve,rt,{provide:be,useFactory:dd,deps:[ve]},dr,[]],fd=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Pa,[],{provide:Rt,multi:!0,useValue:e},[],n?.errorHandler?{provide:Ui,useValue:n.errorHandler}:[],{provide:$e,useValue:n||{}},n?.useHash?gd():md(),pd(),n?.preloadingStrategy?Oa(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?vd(n):[],n?.bindToComponentInputs?Fa().\u0275providers:[],n?.enableViewTransitions?Na().\u0275providers:[],Dd()]}}static forChild(e){return{ngModule:t,providers:[{provide:Rt,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Fe({type:t});static \u0275inj=_e({})}return t})();function pd(){return{provide:Aa,useFactory:()=>{let t=d(ds),r=d(le),e=d($e),n=d(fr),i=d(nt);return e.scrollOffset&&t.setOffset(e.scrollOffset),new ld(i,n,t,r,e)}}}function gd(){return{provide:oe,useClass:qr}}function md(){return{provide:oe,useClass:Cn}}function vd(t){return[t.initialNavigation==="disabled"?Ia().\u0275providers:[],t.initialNavigation==="enabledBlocking"?_a().\u0275providers:[]]}var Bi=new E("");function Dd(){return[{provide:Bi,useFactory:hd},{provide:Co,multi:!0,useExisting:Bi}]}export{de as a,Le as b,ou as c,su as d,as as e,au as f,uu as g,cu as h,hu as i,pu as j,gu as k,mu as l,Kr as m,Rh as n,bh as o,Ah as p,Th as q,si as r,nc as s,oc as t,ke as u,Re as v,Os as w,Ns as x,_c as y,Ic as z,ks as A,Oc as B,J as C,be as D,Oi as E,ve as F,gr as G,ud as H,fd as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as de,b as pe,c as se}from"./chunk-ILW6ZFFV.js";import{a as ue}from"./chunk-VNI2KCJE.js";import{a as P}from"./chunk-35DCCWTG.js";import{a as ce}from"./chunk-S7CKRTJV.js";import{a as ae}from"./chunk-7JQEF4XX.js";import"./chunk-AFIF6VRM.js";import"./chunk-ZW2TMVZP.js";import"./chunk-ZTHO6JJM.js";import"./chunk-SHUYFOQI.js";import"./chunk-FCEXPGTK.js";import"./chunk-QFSA7CU4.js";import"./chunk-OPXITNRF.js";import"./chunk-HPINZVE4.js";import"./chunk-D2J64VUP.js";import"./chunk-6Q6L5NUD.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import"./chunk-3RK6DDJD.js";import"./chunk-4YCSITNV.js";import"./chunk-WHHW4IZT.js";import"./chunk-N5AE5WMQ.js";import"./chunk-6OJQRHIZ.js";import{a as me}from"./chunk-LA2EIRS6.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import{a as le}from"./chunk-PDCVMSLL.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-PYQPYOIY.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import"./chunk-AGBJEXIM.js";import"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as re,n as oe}from"./chunk-EDEZ3JLR.js";import{A as te,c as Y,h as Z,m as $,o as ee}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import{v as ie,w as ne}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{i as J,j as K,l as Q,m as X}from"./chunk-LNJUGHOX.js";import{$b as b,$c as q,Gb as I,Ha as W,Lc as A,Mc as a,Nc as w,Oc as x,Qc as _,Rc as h,Sc as v,Tc as R,Uc as H,Vc as j,Z as O,Zc as U,bc as V,cc as B,ec as k,fc as z,gc as f,hc as t,hd as y,ic as i,id as E,jc as C,jd as G,lb as D,nb as r,qc as M,ra as F,vc as T,xa as c,xc as g,ya as u}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import{a as L,b as N}from"./chunk-66YHNWRR.js";var Ce=o=>({"td-cell-hover":o});function fe(o,m){if(o&1&&C(0,"variants-dropdown",31),o&2){let e=g().$implicit;f("variants",e==null?null:e.Variants)}}function ge(o,m){if(o&1&&C(0,"variant-with-image",32),o&2){let e=g().$implicit;f("variant",e==null?null:e.Variants[0])}}function _e(o,m){if(o&1&&(t(0,"span"),a(1),i()),o&2){let e=g().$implicit;r(),x("(",e.LogisticService==null?null:e.LogisticService.Option,")")}}function he(o,m){if(o&1&&(t(0,"tr")(1,"td")(2,"div",24),C(3,"img",25),y(4,"channelImage"),t(5,"div",26)(6,"div"),a(7),i(),t(8,"small",27)(9,"span"),a(10),i()()()()(),t(11,"td")(12,"div",28)(13,"div"),C(14,"order-link",29),i(),t(15,"small"),a(16),y(17,"date"),i(),C(18,"br"),t(19,"small"),C(20,"i",30),a(21),i()()(),t(22,"td"),b(23,fe,1,1,"variants-dropdown",31)(24,ge,1,1,"variant-with-image",32),i(),t(25,"td",33),a(26),y(27,"number"),i(),t(28,"td")(29,"div",28)(30,"div",34)(31,"span"),a(32),i(),b(33,_e,2,1,"span"),i(),t(34,"small"),a(35),i()()()()),o&2){let e=m.$implicit;r(3),f("src",E(4,14,e==null?null:e.MarketType),D)("alt",e==null||e.Variants[0]==null?null:e.Variants[0].Name),r(4),w(e.Outlet),r(3),w(e.ChannelName),r(4),f("order",e),r(2),x(" ",G(17,16,e==null?null:e.Created,"dd/MM/yyyy HH:mm:ss")," "),r(5),x(" ",e.Customer," "),r(),A(q(21,Ce,(e.Variants==null?null:e.Variants.length)>1)),r(),V((e.Variants==null?null:e.Variants.length)>1?23:24),r(3),w(E(27,19,e.Amount)),r(6),w(e.LogisticService!=null&&e.LogisticService.Name?e.LogisticService==null?null:e.LogisticService.Name:"-"),r(),V(e.LogisticService!=null&&e.LogisticService.Option&&(e.LogisticService==null?null:e.LogisticService.Option)!="Default"?33:-1),r(2),x(" ",e.ReferenceNumber?e.ReferenceNumber:"-"," ")}}function ve(o,m){if(o&1){let e=M();t(0,"div",15)(1,"table",17)(2,"thead",18)(3,"tr",19)(4,"th",20),a(5,"Outlet"),i(),t(6,"th",20),a(7,"Number"),i(),t(8,"th"),a(9,"Items"),i(),t(10,"th",21),a(11,"Amount"),i(),t(12,"th",22),a(13,"Shipping"),i()()(),t(14,"tbody"),k(15,he,36,23,"tr",null,B),i()(),t(17,"app-custom-paginator",23),T("next",function(){c(e);let p=g();return u(p.initCompletedOrders())})("previous",function(){c(e);let p=g();return u(p.initCompletedOrders())}),i()()}if(o&2){let e=g(),d=j(0);r(15),z(d),r(2),f("filter",e.filter())("totaldata",d==null?null:d.length)}}function Se(o,m){o&1&&(t(0,"div",16),C(1,"app-empty-state"),i())}var je=(()=>{let m=class m{constructor(){this.orderService=F(P),this.filter=W({PageNumber:1,PageSize:20,ListChannelID:[],From:null,To:null,Number:null})}ngOnInit(){this.orderService.getOrderDefaultValue().subscribe({next:d=>{this.initFromDate(d)},error:d=>{console.error("Error fetching default date:",d),this.initFromDate(null)}})}initFromDate(d){this.filter.update(p=>N(L({},p),{From:d})),this.initCompletedOrders()}initCompletedOrders(){this.completedOrders$=this.orderService.getCompletedOrders(this.filter()).pipe(O(1))}};m.\u0275fac=function(p){return new(p||m)},m.\u0275cmp=I({type:m,selectors:[["app-completed"]],features:[U([P])],decls:34,vars:11,consts:[["headerTitle","Completed","searchBoxPlaceHolder","Order Number...",3,"onSubmit","textChange","text"],["href","https://ods.dealpos.app","target","_blank","matTooltip","Monitor your Order & Fulfillment in real-time from TV!",1,"btn","btn-outline-secondary","shadow","rounded","ms-2"],[1,"fa-regular","fa-tv","me-3"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"mt-5"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","PageSize",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"],[1,"table"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","200px"],[1,"text-end",2,"width","100px"],[2,"width","80px"],["rowCountApi","/api/orders/completedcount",3,"next","previous","filter","totaldata"],[1,"d-flex","align-items-center","gap-3"],[2,"width","20px","height","20px",3,"src","alt"],[1,"lh-base"],[1,"d-flex","align-items-center","gap-2"],[1,"lh-sm"],[2,"font-size","14px",3,"order"],[1,"fa-solid","fa-user"],[3,"variants"],[3,"variant"],[1,"text-end"],[1,"d-flex","align-items-end","gap-2"]],template:function(p,l){if(p&1){let s=M();R(0),y(1,"async"),t(2,"mainpanel",0),T("onSubmit",function(){return c(s),u(l.initCompletedOrders())}),v("textChange",function(n){return c(s),h(l.filter().Number,n)||(l.filter().Number=n),u(n)}),t(3,"actions")(4,"a",1),C(5,"i",2),t(6,"span"),a(7,"Order Fulfillment Display"),i()()(),t(8,"filters")(9,"div")(10,"label",3),a(11,"Channel"),i(),t(12,"app-channel-options-v2",4),v("ngModelChange",function(n){return c(s),h(l.filter().ListChannelID,n)||(l.filter().ListChannelID=n),u(n)}),i()(),t(13,"div",5)(14,"label",3),a(15,"From/To"),i(),t(16,"div",6)(17,"datepicker",7),v("dateChange",function(n){return c(s),h(l.filter().From,n)||(l.filter().From=n),u(n)}),i()(),t(18,"div")(19,"datepicker",8),v("dateChange",function(n){return c(s),h(l.filter().To,n)||(l.filter().To=n),u(n)}),i()()(),t(20,"div",5)(21,"label",9),a(22,"Page Number"),i(),t(23,"input",10),v("ngModelChange",function(n){return c(s),h(l.filter().PageNumber,n)||(l.filter().PageNumber=n),u(n)}),i()(),t(24,"div",5)(25,"label",9),a(26,"Page Size"),i(),t(27,"input",11),v("ngModelChange",function(n){return c(s),h(l.filter().PageSize,n)||(l.filter().PageSize=n),u(n)}),i()()(),t(28,"content")(29,"div",12)(30,"div",13)(31,"div",14),b(32,ve,18,2,"div",15)(33,Se,2,0,"div",16),i()()()()()}if(p&2){let s=H(E(1,8,l.completedOrders$));r(2),_("text",l.filter().Number),r(10),f("multiple",!0),_("ngModel",l.filter().ListChannelID),r(5),_("date",l.filter().From),r(2),_("date",l.filter().To),r(4),_("ngModel",l.filter().PageNumber),r(4),_("ngModel",l.filter().PageSize),r(5),V((s==null?null:s.length)>0?32:33)}},dependencies:[X,oe,re,ae,le,te,Y,ee,Z,$,pe,se,ce,ne,ie,ue,me,J,Q,K,de],encapsulation:2});let o=m;return o})();export{je as CompletedComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ae,b as pe,c as ce,d as se,e as le,f as de}from"./chunk-RUBV3KX2.js";import{a as G}from"./chunk-RQQWNLDZ.js";import"./chunk-AZOCRKXK.js";import"./chunk-UH5C5HXK.js";import{b as re,c as ne}from"./chunk-E6AMKEQR.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import{a as oe,b as ie}from"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import"./chunk-AGBJEXIM.js";import{b as Z}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{m as ee,n as te}from"./chunk-EDEZ3JLR.js";import{A as Y,c as Q,h as U,m as X}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{D as q,F as H,G as J,I as K,i as j,m as z}from"./chunk-LNJUGHOX.js";import{$b as V,$c as L,Gb as P,Ha as C,Kc as F,Lc as E,Mc as _,Nc as I,Oc as O,Qc as x,Rc as v,Sc as w,Tc as W,Zc as B,_c as T,aa as D,bc as N,cc as y,ea as R,ec as M,fc as S,gc as b,hc as n,hd as $,ic as p,id as A,nb as s,qc as k,ra as g,vc as h,xa as l,xc as f,ya as d}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var me=()=>({display:"d-flex"}),ue=a=>({"border-end-0":a});function _e(a,c){if(a&1){let i=k();n(0,"div",18),h("click",function(){let o=l(i).$implicit;return d(o.checked=!o.checked)}),n(1,"div",19)(2,"p-checkbox",20),w("ngModelChange",function(o){let e=l(i).$implicit;return v(e.checked,o)||(e.checked=o),d(o)}),h("click",function(o){return l(i),d(o.stopPropagation())}),p(),n(3,"p",21),_(4),p()()()}if(a&2){let i=c.$implicit,t=c.$index,o=f().$implicit;E(L(8,ue,t!==o.Roles.length-1)),b("pTooltip",i.Description),s(2),F(T(10,me)),b("binary",!0),x("ngModel",i.checked),s(2),O(" ",i.Name," ")}}function he(a,c){if(a&1){let i=k();n(0,"div",11)(1,"div",12),h("click",function(){let o=l(i).$implicit,e=f(2);return d(e.onPermissionGroupChange(!o.checked,o.ID))}),n(2,"div",13)(3,"span",14),_(4),p(),n(5,"p-checkbox",15),h("click",function(o){return l(i),d(o.stopPropagation())})("onChange",function(o){let e=l(i).$implicit,r=f(2);return d(r.onPermissionGroupChange(o.checked,e.ID))}),p()()(),n(6,"div",16)(7,"div",11),M(8,_e,5,11,"div",17,y),p()()()}if(a&2){let i=c.$implicit;s(4),I(i.Name),s(),F(T(5,me)),b("binary",!0)("ngModel",i.checked),s(3),S(i==null?null:i.Roles)}}function ge(a,c){if(a&1&&(n(0,"div",9),M(1,he,10,6,"div",11,y),p()),a&2){let i=f();s(),S(i.roleOptions())}}var Be=(()=>{let c=class c{constructor(){this.groupService=g(G),this.activatedRoute=g(q),this.toastr=g(Z),this.router=g(H),this.groupName=C(null),this.roleOptions=C([]),this.description=C(null),this.group$=this.activatedRoute.queryParams.pipe(D(t=>(this.groupID=t.ID,this.groupService.getGroupsForm(t.ID))),R(t=>{this.groupName.set(t.Group.Name),this.description.set(t.Group.Description),this.initRoleOptions(t.Options,t.RoleSelected)}))}initRoleOptions(t,o){t=t.map(e=>(e.Roles=e.Roles.map(r=>(r.checked=o.includes(r.ID),r)),e.checked=e.Roles.every(r=>r.checked),e)),this.roleOptions.set(t)}onPermissionGroupChange(t,o){this.roleOptions.update(e=>{let r=e.findIndex(m=>m.ID===o);return r!==-1&&(e[r].checked=t,e[r].Roles=e[r].Roles.map(m=>(m.checked=t,m))),[...e]})}onSubmit(){let t={Group:{ID:this.groupID,Name:this.groupName(),Description:this.description()},RoleSelected:this.getSelecedRoles()};this.groupService.submitGroup(t).subscribe({next:o=>{this.toastr.success("Group saved successfully","Success"),this.router.navigate(["/menu/users/groups"])}})}getSelecedRoles(){let t=[];return this.roleOptions().forEach(o=>{o.Roles.forEach(e=>{e.checked&&t.push(e.ID)})}),t}};c.\u0275fac=function(o){return new(o||c)},c.\u0275cmp=P({type:c,selectors:[["app-groups-form"]],features:[B([G])],decls:24,vars:8,consts:[["headerTitle","Groups Form",3,"headerTitle","hideSearchBox","hideSearchDropdown"],["routerLink","/menu/users/groups",1,"btn","btn-secondary","me-3"],[1,"btn","btn-success",3,"click"],[1,"container-fluid"],[1,"row","mt-8"],[1,"col-12"],["type","text","pInputText","","placeholder","Group Name",1,"w-100","form-control","rounded-1",2,"padding-top","12px","padding-bottom","12px","font-size","14px",3,"ngModelChange","ngModel"],["value","0"],["value","1"],[1,"d-flex","flex-column","row-gap-6","ps-8"],["pInputTextarea","","rows","10","placeholder","Description",1,"w-100","form-control","rounded-1",3,"ngModelChange","ngModel"],[1,"row"],[1,"col-2","border","d-flex","align-items-center","justify-content-between","border-end-0","cursor-pointer",2,"height","40px","background","#f6f6f6","cursor","pointer",3,"click"],[1,"d-flex","justify-content-center","w-100","align-items-center","gap-4"],[1,"fs-5","w-100","text-center"],["size","small",3,"click","onChange","binary","ngModel"],[1,"col"],["tooltipPosition","top",1,"col-3","border","p-0","bg-white","cursor-pointer",2,"height","40px",3,"class","pTooltip"],["tooltipPosition","top",1,"col-3","border","p-0","bg-white","cursor-pointer",2,"height","40px",3,"click","pTooltip"],[1,"d-flex","h-100","align-items-center","gap-4","px-2"],["size","small",3,"ngModelChange","click","binary","ngModel"],[1,"fs-6","text-dark",2,"margin","0"]],template:function(o,e){if(o&1){let r=k();W(0),$(1,"async"),n(2,"mainpanel",0)(3,"actions")(4,"a",1),_(5," Cancel "),p(),n(6,"button",2),h("click",function(){return l(r),d(e.onSubmit())}),_(7,"Save"),p()(),n(8,"content")(9,"div",3)(10,"div",4)(11,"div",5)(12,"input",6),w("ngModelChange",function(u){return l(r),v(e.groupName,u)||(e.groupName=u),d(u)}),p()()(),n(13,"p-tabs",7)(14,"p-tablist")(15,"p-tab",7),_(16,"Permission"),p(),n(17,"p-tab",8),_(18,"Description"),p()(),n(19,"p-tabpanels")(20,"p-tabpanel",7),V(21,ge,3,0,"div",9),p(),n(22,"p-tabpanel",8)(23,"textarea",10),w("ngModelChange",function(u){return l(r),v(e.description,u)||(e.description=u),d(u)}),p()()()()()()()}if(o&2){let r=A(1,6,e.group$);s(2),b("headerTitle",e.groupName()?"Edit Group - "+e.groupName():"New Group Form")("hideSearchBox",!0)("hideSearchDropdown",!0),s(10),x("ngModel",e.groupName),s(9),N(r?21:-1),s(2),x("ngModel",e.description)}},dependencies:[z,te,ee,de,le,se,ce,ae,pe,Y,Q,U,X,ne,re,ie,oe,K,J,j],styles:["[_nghost-%COMP%] .p-checkbox{display:flex!important;--p-checkbox-checked-background: #0976b4;--p-checkbox-hover-border-color: #0976b4;--p-checkbox-checked-border-color: #0976b4;--p-checkbox-checked-hover-border-color: #0976b4;--p-checkbox-hover-border-color-background: #0669a2;--p-checkbox-checked-hover-background: #0976b4}[_nghost-%COMP%] .p-tabs{--p-tabs-tab-active-color: #555555;--p-tabs-tab-color: #0976b4}[_nghost-%COMP%] .p-tabs .p-tabpanels{padding-left:0!important}[_nghost-%COMP%] .p-tabs .p-tablist-active-bar{background-color:#555!important}[_nghost-%COMP%] .p-panel .p-panel-header{display:none!important}"],changeDetection:0});let a=c;return a})();export{Be as GroupsFormComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as de,c as pe}from"./chunk-ILW6ZFFV.js";import{a as ce}from"./chunk-VNI2KCJE.js";import{a as T}from"./chunk-35DCCWTG.js";import{a as se}from"./chunk-S7CKRTJV.js";import{a as ae}from"./chunk-7JQEF4XX.js";import"./chunk-AFIF6VRM.js";import"./chunk-ZW2TMVZP.js";import"./chunk-ZTHO6JJM.js";import"./chunk-SHUYFOQI.js";import"./chunk-FCEXPGTK.js";import"./chunk-QFSA7CU4.js";import"./chunk-OPXITNRF.js";import"./chunk-HPINZVE4.js";import"./chunk-D2J64VUP.js";import"./chunk-6Q6L5NUD.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import"./chunk-3RK6DDJD.js";import"./chunk-4YCSITNV.js";import"./chunk-WHHW4IZT.js";import"./chunk-N5AE5WMQ.js";import"./chunk-6OJQRHIZ.js";import{a as me}from"./chunk-LA2EIRS6.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import{a as le}from"./chunk-PDCVMSLL.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-PYQPYOIY.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import"./chunk-AGBJEXIM.js";import"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as re,n as oe}from"./chunk-EDEZ3JLR.js";import{A as te,c as Y,h as Z,m as $,o as ee}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import{v as ie,w as ne}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{i as K,j as Q,l as U,m as X}from"./chunk-LNJUGHOX.js";import{$b as y,$c as G,Gb as W,Ha as O,Lc as k,Mc as a,Nc as E,Oc as w,Qc as g,Rc as C,Sc as h,Tc as z,Uc as R,Vc as H,Z as F,Zc as j,_c as q,bc as b,cc as D,ec as I,fc as B,gc as v,hc as t,hd as x,ic as i,id as A,jc as _,jd as J,nb as l,qc as V,ra as N,vc as M,xa as c,xc as f,ya as u}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import{a as P,b as L}from"./chunk-66YHNWRR.js";var ue=()=>[],_e=r=>({"td-cell-hover":r});function fe(r,m){if(r&1&&_(0,"variants-dropdown",26),r&2){let e=f().$implicit;v("variants",e==null?null:e.Variants)}}function ge(r,m){if(r&1&&_(0,"variant-with-image",27),r&2){let e=f().$implicit;v("variant",e==null?null:e.Variants[0])}}function Ce(r,m){if(r&1&&(t(0,"span"),a(1),i()),r&2){let e=f().$implicit;l(),w("(",e.LogisticService==null?null:e.LogisticService.Option,")")}}function he(r,m){if(r&1&&(t(0,"tr")(1,"td")(2,"div",23)(3,"div"),_(4,"order-link",24),i(),t(5,"small"),a(6),x(7,"date"),i(),_(8,"br"),t(9,"small"),_(10,"i",25),a(11),i()()(),t(12,"td"),y(13,fe,1,1,"variants-dropdown",26)(14,ge,1,1,"variant-with-image",27),i(),t(15,"td"),a(16),x(17,"number"),i(),t(18,"td")(19,"div",23)(20,"div",28)(21,"span"),a(22),i(),y(23,Ce,2,1,"span"),i(),t(24,"small"),a(25),i()()()()),r&2){let e=m.$implicit;l(4),v("order",e),l(2),w(" ",J(7,10,e==null?null:e.Created,"dd/MM/yyyy HH:mm:ss")," "),l(5),w(" ",e.Customer," "),l(),k(G(15,_e,(e.Variants==null?null:e.Variants.length)>1)),l(),b((e.Variants==null?null:e.Variants.length)>1?13:14),l(3),E(A(17,13,e.Amount)),l(6),E(e.LogisticService!=null&&e.LogisticService.Name?e.LogisticService==null?null:e.LogisticService.Name:"-"),l(),b(e.LogisticService!=null&&e.LogisticService.Option&&(e.LogisticService==null?null:e.LogisticService.Option)!="Default"?23:-1),l(2),w(" ",e.ReferenceNumber?e.ReferenceNumber:"-"," ")}}function Se(r,m){if(r&1){let e=V();t(0,"div",15)(1,"table",17)(2,"thead",18)(3,"tr",19)(4,"th",20),a(5,"Number"),i(),t(6,"th"),a(7,"Items"),i(),t(8,"th",21),a(9,"Amount"),i(),t(10,"th",21),a(11,"Shipping"),i()()(),t(12,"tbody"),I(13,he,26,17,"tr",null,D),i()(),t(15,"app-custom-paginator",22),M("next",function(){c(e);let p=f();return u(p.initAllOrders())})("previous",function(){c(e);let p=f();return u(p.initAllOrders())}),i()()}if(r&2){let e=f(),d=H(0);l(13),B(d),l(2),v("filter",e.filter())("totaldata",d==null?null:d.length)}}function ve(r,m){r&1&&(t(0,"div",16),_(1,"app-empty-state"),i())}var qe=(()=>{let m=class m{constructor(){this.orderService=N(T),this.filter=O({PageNumber:1,PageSize:20,ListChannelID:[],From:null,To:null,Number:null})}ngOnInit(){this.orderService.getOrderDefaultValue().subscribe({next:d=>{this.initFromDate(d)},error:d=>{console.error("Error fetching default date:",d),this.initFromDate(null)}})}initFromDate(d){this.filter.update(p=>L(P({},p),{From:d})),this.initAllOrders()}initAllOrders(){this.allOrders$=this.orderService.getAllOrders(this.filter()).pipe(F(1))}};m.\u0275fac=function(p){return new(p||m)},m.\u0275cmp=W({type:m,selectors:[["app-all"]],features:[j([T])],decls:34,vars:12,consts:[["headerTitle","Completed","searchBoxPlaceHolder","Order Number...",3,"onSubmit","textChange","text"],["href","https://ods.dealpos.app","target","_blank","matTooltip","Monitor your Order & Fulfillment in real-time from TV!",1,"btn","btn-outline-secondary","shadow","rounded","ms-2"],[1,"fa-solid","fa-clipboard-list","me-3"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"mt-5"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","PageSize",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"],[1,"table"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","250px"],[2,"width","150px"],["rowCountApi","/api/orders/allcount",3,"next","previous","filter","totaldata"],[1,"lh-sm"],[2,"font-size","14px",3,"order"],[1,"fa-solid","fa-user"],[3,"variants"],[3,"variant"],[1,"d-flex","align-items-end","gap-2"]],template:function(p,o){if(p&1){let s=V();z(0),x(1,"async"),t(2,"mainpanel",0),M("onSubmit",function(){return c(s),u(o.initAllOrders())}),h("textChange",function(n){return c(s),C(o.filter().Number,n)||(o.filter().Number=n),u(n)}),t(3,"actions")(4,"a",1),_(5,"i",2),t(6,"span"),a(7,"Order Fulfillment Display"),i()()(),t(8,"filters")(9,"div")(10,"label",3),a(11,"Channel"),i(),t(12,"app-channel-options-v2",4),h("ngModelChange",function(n){return c(s),C(o.filter().ListChannelID,n)||(o.filter().ListChannelID=n),u(n)}),i()(),t(13,"div",5)(14,"label",3),a(15,"From/To"),i(),t(16,"div",6)(17,"datepicker",7),h("dateChange",function(n){return c(s),C(o.filter().From,n)||(o.filter().From=n),u(n)}),i()(),t(18,"div")(19,"datepicker",8),h("dateChange",function(n){return c(s),C(o.filter().To,n)||(o.filter().To=n),u(n)}),i()()(),t(20,"div",5)(21,"label",9),a(22,"Page Number"),i(),t(23,"input",10),h("ngModelChange",function(n){return c(s),C(o.filter().PageNumber,n)||(o.filter().PageNumber=n),u(n)}),i()(),t(24,"div",5)(25,"label",9),a(26,"Page Size"),i(),t(27,"input",11),h("ngModelChange",function(n){return c(s),C(o.filter().PageSize,n)||(o.filter().PageSize=n),u(n)}),i()()(),t(28,"content")(29,"div",12)(30,"div",13)(31,"div",14),y(32,Se,16,2,"div",15)(33,ve,2,0,"div",16),i()()()()()}if(p&2){let s=R(A(1,8,o.allOrders$)||q(11,ue));l(2),g("text",o.filter().Number),l(10),v("multiple",!0),g("ngModel",o.filter().ListChannelID),l(5),g("date",o.filter().From),l(2),g("date",o.filter().To),l(4),g("ngModel",o.filter().PageNumber),l(4),g("ngModel",o.filter().PageSize),l(5),b((s==null?null:s.length)>0?32:33)}},dependencies:[X,oe,re,ae,le,te,Y,ee,Z,$,de,pe,se,ne,ie,ce,me,K,U,Q],encapsulation:2});let r=m;return r})();export{qe as AllComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as Ce}from"./chunk-DXYMG6QK.js";import{c as Se}from"./chunk-5BSPSA4O.js";import"./chunk-FULVA6QB.js";import"./chunk-HPINZVE4.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import{a as ne}from"./chunk-ZSUWHVKX.js";import"./chunk-N5AE5WMQ.js";import{a as me,b as pe,d as de,e as ge}from"./chunk-6KWG6O5L.js";import{i as ce}from"./chunk-PYQPYOIY.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-AGBJEXIM.js";import{b as re,e as ae}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{b as g,c as oe}from"./chunk-JBEKD57G.js";import{m as fe,n as _e}from"./chunk-EDEZ3JLR.js";import{A as ie,h as ee,m as te}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import{b as se,c as le}from"./chunk-ZETUYNFJ.js";import{v as he,w as ue}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{I as L,i as Z,m as y}from"./chunk-LNJUGHOX.js";import{$b as V,$c as Y,Gb as K,Hb as _,Hc as P,Mb as S,Mc as c,Nc as h,Oc as G,Qc as O,Rc as w,Sc as I,Tc as q,Uc as Q,Vc as X,Z as b,aa as F,bc as W,dc as $,ea as R,ec as j,fc as A,gc as p,hc as r,hd as C,ic as s,id as x,jc as H,kd as D,lb as k,na as u,nb as l,nc as z,oc as J,q as B,qc as E,ra as f,v,vc as N,xa as M,xc as m,ya as T}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var ve=t=>[t];function be(t,i){if(t&1&&(r(0,"span",14),H(1,"img",15),s(),r(2,"span"),c(3),s()),t&2){let a=i.item;l(),p("src",a.Img,k)("alt",a.Name),l(2),G(" ",a.Name," ")}}function Me(t,i){if(t&1){let a=E();z(0),q(1),C(2,"async"),r(3,"a",16),N("click",function(){M(a);let e=X(1),o=m();return T(o.submitLogistics(e))}),c(4,"Submit"),s(),J()}if(t&2){let a=m();l(),Q(x(2,0,a.logisticServices$))}}function Te(t,i){}function Ee(t,i){if(t&1){let a=E();r(0,"ng-select",18),I("ngModelChange",function(e){M(a);let o=m(2).$implicit;return w(o.ProductSKU,e)||(o.ProductSKU=e),T(e)}),s()}if(t&2){let a=m(),n=m().$implicit;O("ngModel",n.ProductSKU),p("items",a)}}function Ne(t,i){if(t&1&&(r(0,"span"),c(1),s()),t&2){let a=m(2).$implicit;l(),h(a.ProductSKU||"-")}}function Pe(t,i){if(t&1&&S(0,Te,0,0,"ng-template",17)(1,Ee,1,2,"ng-template",null,0,D)(3,Ne,2,1,"ng-template",null,1,D),t&2){let a=P(2),n=P(4),e=m(2);p("ngxPermissionsOnly",Y(3,ve,e.logisticEditRole))("ngxPermissionsOnlyThen",a)("ngxPermissionsOnlyElse",n)}}function Oe(t,i){if(t&1&&(r(0,"tr")(1,"td"),c(2),s(),r(3,"td"),c(4),s(),r(5,"td"),c(6),s(),r(7,"td"),V(8,Pe,5,5),C(9,"async"),s()()),t&2){let a,n=i.$implicit,e=m();l(2),h(n.Name),l(2),h(n.Service),l(2),h(n.TypeString),l(2),W((a=x(9,4,e.logisticOptions$))?8:-1,a)}}var ye=(()=>{let i=class i{constructor(){this.http=f(ae),this.toastr=f(re),this.authService=f(ce),this.filter={ChannelID:""},this.logisticEditRole=ne.LogisticUpdate,this.channelOptions=this.authService.getChannels(),this.initUnsupportedChannel(),this.initLoader()}initUnsupportedChannel(){let n=[g.WooCommerce,g.Lazada,g.Shopify,g.Plugo,g.Tokopedia];this.channelOptions=this.channelOptions.map(e=>(n.forEach(o=>{e.TypeID===o&&(e.disabled=!0)}),e))}initLoader(){this.http.post("/api/Logistic/Load",{}).subscribe(n=>{this.filter=n.Filter,this.channelName=this.channelOptions[0].Name,this.initLogisticServiceOptions(),this.getLogisticService()})}initLogisticServiceOptions(){this.logisticOptions$=this.http.get("/api/Logistic/OptionLogisticsService").pipe(b(1))}submitLogistics(n){this.clonedLogisticServices$.pipe(v(e=>n.map(o=>(e.findIndex(d=>d.Name===o.Name&&d.ProductSKU==o.ProductSKU)==-1&&(o.IsChange=!0),o))),F(e=>this.http.post("/api/Logistic/Submit",e))).subscribe(()=>{this.toastr.success("Logistic service updated successfully.","Success"),this.getLogisticService()})}getLogisticService(){this.iniTitle(),this.logisticServices$=this.http.post("/api/Logistic/Get",this.filter).pipe(v(n=>n.map(e=>(e.ProductSKU=oe.IsEmpty(e.ProductSKU)?null:e.ProductSKU,e))),R(n=>{let e=JSON.parse(JSON.stringify(n));this.clonedLogisticServices$=B(e)}),b(1))}iniTitle(){let n=this.channelOptions.find(e=>e.ID==this.filter.ChannelID);this.channelName=n?n.Name:null}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=K({type:i,selectors:[["app-logistic"]],standalone:!1,decls:29,vars:8,consts:[["thenBlock",""],["elseBlock",""],["hideSearchBox","true","searchBoxPlaceHolder","Enter Number...",3,"onSubmit","headerTitle","hideSearchDropdown"],[1,"mb-2","fw-bold"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Select Channel",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[4,"ngxPermissionsOnly"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[1,"me-2"],[2,"width","18px",3,"src","alt"],["role","button","data-toggle","tooltip","data-placement","top","matTooltip","enter Logistic for recorded",1,"btn","btn-success","btn-fill","btn-lg","text-white",3,"click"],[3,"ngxPermissionsOnly","ngxPermissionsOnlyThen","ngxPermissionsOnlyElse"],["placeholder","Logistic Service Code","bindLabel","Name","bindValue","Code",1,"w-75",3,"ngModelChange","ngModel","items"]],template:function(e,o){e&1&&(r(0,"mainpanel",2),N("onSubmit",function(){return o.getLogisticService()}),r(1,"filters")(2,"div")(3,"label",3),c(4,"Select a Channel"),s(),r(5,"ng-select",4),I("ngModelChange",function(d){return w(o.filter.ChannelID,d)||(o.filter.ChannelID=d),d}),S(6,be,4,3,"ng-template",5),s()()(),r(7,"actions"),S(8,Me,5,3,"ng-container",6),s(),r(9,"content")(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"table",11)(15,"thead",12)(16,"tr",13)(17,"th"),c(18,"Logistic"),s(),r(19,"th"),c(20,"Service"),s(),r(21,"th"),c(22,"Type"),s(),r(23,"th"),c(24,"Logistic Service"),s()()(),r(25,"tbody"),j(26,Oe,10,6,"tr",null,$),C(28,"async"),s()()()()()()()()),e&2&&(p("headerTitle","Logistic Courier - "+o.channelName)("hideSearchDropdown",!1),l(5),p("clearable",!1)("items",o.channelOptions),O("ngModel",o.filter.ChannelID),l(3),p("ngxPermissionsOnly",o.logisticEditRole),l(18),A(x(28,6,o.logisticServices$)))},dependencies:[ee,te,fe,de,me,pe,he,se,Z],encapsulation:2});let t=i;return t})();var we=[{path:"",component:ye}],Le=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=_({type:i}),i.\u0275inj=u({imports:[y,L.forChild(we)]});let t=i;return t})();var mt=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=_({type:i}),i.\u0275inj=u({imports:[y,L,Le,ie,_e,ge,Ce,Se,ue,le]});let t=i;return t})();export{mt as LogisticModule};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as te,b as ie,c as oe,d as ne,e as re,f as ae}from"./chunk-RUBV3KX2.js";import{a as P}from"./chunk-RQQWNLDZ.js";import"./chunk-AZOCRKXK.js";import"./chunk-UH5C5HXK.js";import{a as R}from"./chunk-ZSUWHVKX.js";import"./chunk-HK5FXZE4.js";import"./chunk-4ILDFTIG.js";import{a as Z,b as ee}from"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import"./chunk-AGBJEXIM.js";import{b as K}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{m as X,n as Y}from"./chunk-EDEZ3JLR.js";import"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import{b as Q,c as W}from"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{D as V,F as z,G as H,I as J,i as q,m as U}from"./chunk-LNJUGHOX.js";import{$b as _,$c as T,Gb as w,Lc as O,Mb as M,Mc as u,Nc as F,Oc as $,Tc as L,Uc as N,Vc as x,Zc as A,aa as D,bc as g,cc as h,ec as v,fc as C,gc as c,hc as l,hd as B,ic as p,id as j,jc as f,nb as s,nc as y,oc as S,qc as G,ra as m,v as b,vc as k,xa as I,xc as d,ya as E}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var le=e=>({ID:e}),pe=e=>({"border-end-0":e});function se(e,o){if(e&1){let t=G();y(0),l(1,"button",11),k("click",function(){I(t);let r=d(),a=x(0);return E(r.onDeleteGroup(a==null?null:a.id))}),f(2,"i",12),u(3," Delete "),p(),S()}}function ce(e,o){if(e&1&&(y(0),l(1,"a",13),f(2,"i",14),u(3," Edit "),p(),S()),e&2){d();let t=x(0);s(),c("queryParams",T(1,le,t==null?null:t.id))}}function de(e,o){if(e&1&&(l(0,"div",21)(1,"div",22)(2,"p",23),u(3),p()()()),e&2){let t=d(),i=t.$implicit,r=t.$index,a=d(2).$implicit;O(T(4,pe,r!==a.Roles.length-1)),c("pTooltip",i.Description),s(3),$(" ",i.Name," ")}}function ue(e,o){if(e&1&&_(0,de,4,6,"div",20),e&2){let t=o.$implicit;g(t.checked?0:-1)}}function me(e,o){if(e&1&&(l(0,"div",15)(1,"div",16)(2,"div",17)(3,"span",18),u(4),p()()(),l(5,"div",19)(6,"div",15),v(7,ue,1,1,null,null,h),p()()()),e&2){let t=d().$implicit;s(4),F(t.Name),s(3),C(t==null?null:t.Roles)}}function fe(e,o){if(e&1&&_(0,me,9,1,"div",15),e&2){let t=o.$implicit;g((t==null||t.Roles==null?null:t.Roles.length)>0?0:-1)}}function _e(e,o){if(e&1&&(l(0,"div",9),v(1,fe,1,1,null,null,h),p()),e&2){d();let t=x(0);s(),C(t.groups)}}var $e=(()=>{let o=class o{constructor(){this.groupService=m(P),this.activatedRoute=m(V),this.toastr=m(K),this.route=m(z),this.group$=this.activatedRoute.queryParams.pipe(D(i=>this.groupService.getGroupsForm(i.ID).pipe(b(r=>(r.ID=i.ID,r)))),b(i=>({id:i.ID,name:i.Group.Name,groups:this.mapSelectedRoles(i.Options,i.RoleSelected),description:i.Group.Description}))),this.userEditRole=R.UserEdit,this.userDeleteRole=R.UserDelete}mapSelectedRoles(i,r){return i.map(a=>(a.Roles=a.Roles.map(n=>(n.checked=r.includes(n.ID),n)).filter(n=>n.checked),a.checked=a.Roles.some(n=>n.checked),a))}onDeleteGroup(i){confirm("Are you sure you want to delete this group?")&&this.groupService.deleteGroups([i]).subscribe(()=>{this.toastr.success("Group deleted successfully","Success"),this.route.navigate(["/menu/users/groups"])})}};o.\u0275fac=function(r){return new(r||o)},o.\u0275cmp=w({type:o,selectors:[["app-group-info"]],features:[A([P])],decls:23,vars:11,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],["role","group","aria-label","User Group Actions",1,"btn-group"],[4,"ngxPermissionsOnly"],[1,"container-fluid"],[1,"row","mt-8"],[1,"col-12"],["type","text","pInputText","","placeholder","Group Name","readonly","",1,"w-100","form-control","rounded-1",2,"padding-top","12px","padding-bottom","12px","font-size","14px",3,"value"],["value","0"],["value","1"],[1,"d-flex","flex-column","row-gap-6","ps-8"],["pInputTextarea","","rows","10","placeholder","Description","readonly","",1,"w-100","form-control","rounded-1",3,"value"],[1,"btn","btn-outline-secondary",3,"click"],[1,"fa","fa-trash","me-1"],["role","button","routerLink","/menu/users/groups/form",1,"btn","btn-outline-secondary",3,"queryParams"],[1,"fa","fa-edit","me-1"],[1,"row"],[1,"col-2","border","d-flex","align-items-center","justify-content-between","border-end-0",2,"height","40px","background","#f6f6f6"],[1,"d-flex","justify-content-center","w-100","align-items-center","gap-4"],[1,"fs-5","w-100","text-center"],[1,"col"],["tooltipPosition","top",1,"col-3","border","p-0","bg-white",2,"height","40px",3,"class","pTooltip"],["tooltipPosition","top",1,"col-3","border","p-0","bg-white",2,"height","40px",3,"pTooltip"],[1,"d-flex","h-100","align-items-center","gap-4","px-2"],[1,"fs-6","text-dark",2,"margin","0"]],template:function(r,a){if(r&1&&(L(0),B(1,"async"),l(2,"mainpanel",0)(3,"actions")(4,"div",1),M(5,se,4,0,"ng-container",2)(6,ce,4,3,"ng-container",2),p()(),l(7,"content")(8,"div",3)(9,"div",4)(10,"div",5),f(11,"input",6),p()(),l(12,"p-tabs",7)(13,"p-tablist")(14,"p-tab",7),u(15,"Permission"),p(),l(16,"p-tab",8),u(17,"Description"),p()(),l(18,"p-tabpanels")(19,"p-tabpanel",7),_(20,_e,3,0,"div",9),p(),l(21,"p-tabpanel",8),f(22,"textarea",10),p()()()()()()),r&2){let n=N(j(1,8,a.group$));s(2),c("headerTitle",(n==null?null:n.name)+" Info")("hideSearchBox",!0)("hideSearchDropdown",!0),s(3),c("ngxPermissionsOnly",a.userDeleteRole),s(),c("ngxPermissionsOnly",a.userEditRole),s(5),c("value",n==null?null:n.name),s(9),g(n?20:-1),s(2),c("value",n==null?null:n.description)}},dependencies:[U,Y,X,ae,re,ne,oe,te,ie,ee,Z,W,Q,J,H,q],styles:["[_nghost-%COMP%] .p-tabs{--p-tabs-tab-active-color: #555555;--p-tabs-tab-color: #0976b4}[_nghost-%COMP%] .p-tabs .p-tabpanels{padding-left:0!important}[_nghost-%COMP%] .p-tabs .p-tablist-active-bar{background-color:#555!important}[_nghost-%COMP%] .p-panel .p-panel-header{display:none!important}[_nghost-%COMP%] .btn-outline-secondary{background-color:#fff;border-color:#ccc;color:#000}[_nghost-%COMP%] .btn-outline-secondary:hover{background-color:#f8f9fa;border-color:#b3b3b3;color:#000}"]});let e=o;return e})();export{$e as GroupInfoComponent};
|