marketplacepos 5.48.6 → 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.
Files changed (286) hide show
  1. package/Marketplace/3rdpartylicenses.txt +214 -214
  2. package/Marketplace/{chunk-SHUYFOQI.js → chunk-24KZDZKS.js} +1 -1
  3. package/Marketplace/{chunk-7JQEF4XX.js → chunk-27DIE2YS.js} +1 -1
  4. package/Marketplace/chunk-2AXBEVQ7.js +4 -0
  5. package/Marketplace/chunk-2K5AP6IZ.js +1 -0
  6. package/Marketplace/{chunk-4RG5YR7N.js → chunk-2NRHX6CZ.js} +2 -2
  7. package/Marketplace/{chunk-ZTHO6JJM.js → chunk-2ST3DMR6.js} +1 -1
  8. package/Marketplace/chunk-34ZZ4GCS.js +1 -0
  9. package/Marketplace/chunk-35N7HHLQ.js +1 -0
  10. package/Marketplace/{chunk-5X2E3W32.js → chunk-3HME327V.js} +1 -1
  11. package/Marketplace/chunk-3NAMEVOB.js +1 -0
  12. package/Marketplace/{chunk-AFIF6VRM.js → chunk-3SCX7IMW.js} +1 -1
  13. package/Marketplace/chunk-47JP6ZSE.js +1 -0
  14. package/Marketplace/chunk-47Q5JJIA.js +1 -0
  15. package/Marketplace/chunk-4KGXKQPG.js +1 -0
  16. package/Marketplace/chunk-4ORO4H6Z.js +266 -0
  17. package/Marketplace/chunk-4PG2EBJQ.js +1 -0
  18. package/Marketplace/chunk-4Q4I4JG4.js +5 -0
  19. package/Marketplace/{chunk-QFSA7CU4.js → chunk-4S4BOPUV.js} +2 -2
  20. package/Marketplace/{chunk-KTLMPVSK.js → chunk-4XENFCCZ.js} +1 -1
  21. package/Marketplace/chunk-52YCKO3Z.js +1 -0
  22. package/Marketplace/chunk-55E6VHIU.js +2 -0
  23. package/Marketplace/{chunk-5BSPSA4O.js → chunk-5C24BA5F.js} +1 -1
  24. package/Marketplace/{chunk-PMVDQ2OP.js → chunk-5QDH4ZNS.js} +1 -1
  25. package/Marketplace/{chunk-ZETUYNFJ.js → chunk-5UFP37GQ.js} +1 -1
  26. package/Marketplace/{chunk-PDCVMSLL.js → chunk-5WQ3LCWP.js} +1 -1
  27. package/Marketplace/chunk-5WT456T7.js +3 -0
  28. package/Marketplace/chunk-5ZS5MEG7.js +1 -0
  29. package/Marketplace/chunk-654AVLKM.js +1 -0
  30. package/Marketplace/chunk-6C4UBIZK.js +10 -0
  31. package/Marketplace/{chunk-ZKIO2ZQ6.js → chunk-6F62N7RZ.js} +2 -2
  32. package/Marketplace/chunk-6NS3D6KQ.js +5 -0
  33. package/Marketplace/chunk-7E53IHXI.js +1 -0
  34. package/Marketplace/{chunk-RQQWNLDZ.js → chunk-7HRL6MHY.js} +1 -1
  35. package/Marketplace/{chunk-LEUBNBGC.js → chunk-7IOQ6VVF.js} +1 -1
  36. package/Marketplace/chunk-7QP3VZ6H.js +1 -0
  37. package/Marketplace/chunk-7R2D2JZ6.js +3 -0
  38. package/Marketplace/{chunk-5MV3UFJQ.js → chunk-7X4B2T6C.js} +2 -2
  39. package/Marketplace/chunk-A2RTZANN.js +1 -0
  40. package/Marketplace/chunk-A53NYS6S.js +1 -0
  41. package/Marketplace/chunk-AHMFSCTX.js +2 -0
  42. package/Marketplace/chunk-ALLZQ6Y3.js +1 -0
  43. package/Marketplace/chunk-AQVMOA6Z.js +1 -0
  44. package/Marketplace/chunk-AUEWKPWQ.js +1 -0
  45. package/Marketplace/chunk-B5ZK5TGW.js +1 -0
  46. package/Marketplace/chunk-BAW6PICI.js +2 -0
  47. package/Marketplace/{chunk-DTAHV4GM.js → chunk-BC6LHZWP.js} +1 -1
  48. package/Marketplace/chunk-BKZIKCX7.js +1 -0
  49. package/Marketplace/chunk-BL6MPO6D.js +2 -0
  50. package/Marketplace/{chunk-GPHNPV7O.js → chunk-BMOMTOEW.js} +2 -2
  51. package/Marketplace/chunk-BUMWMFHU.js +2 -0
  52. package/Marketplace/chunk-BYL4N2KB.js +1 -0
  53. package/Marketplace/chunk-BYX6HZW7.js +1 -0
  54. package/Marketplace/{chunk-6KWG6O5L.js → chunk-C2LAQOUW.js} +1 -1
  55. package/Marketplace/chunk-CC7KUBNZ.js +1 -0
  56. package/Marketplace/chunk-CZWUOW55.js +1 -0
  57. package/Marketplace/{chunk-L7WZ6U4T.js → chunk-DDFP4CNP.js} +1 -1
  58. package/Marketplace/chunk-DI2VKA4Z.js +1 -0
  59. package/Marketplace/{chunk-6OJQRHIZ.js → chunk-DLHIDOS3.js} +1 -1
  60. package/Marketplace/chunk-DPB2343S.js +1 -0
  61. package/Marketplace/chunk-EBXGQWOL.js +1 -0
  62. package/Marketplace/{chunk-IM5M2CAI.js → chunk-EH3PIGLJ.js} +1 -1
  63. package/Marketplace/chunk-EHND5PFE.js +1 -0
  64. package/Marketplace/{chunk-2J7P6ENI.js → chunk-F26O6FCO.js} +1 -1
  65. package/Marketplace/chunk-FEQXCPQI.js +2 -0
  66. package/Marketplace/chunk-FFJXYPVA.js +1 -0
  67. package/Marketplace/chunk-FJU2CZTJ.js +1 -0
  68. package/Marketplace/chunk-FLNIURLD.js +1 -0
  69. package/Marketplace/{chunk-4ILDFTIG.js → chunk-FOKLBUX6.js} +1 -1
  70. package/Marketplace/chunk-FTIUJUXI.js +1 -0
  71. package/Marketplace/{chunk-WNUTNP6I.js → chunk-G3B6ETBU.js} +5 -5
  72. package/Marketplace/{chunk-VWX2IX64.js → chunk-G4T4VM5E.js} +1 -1
  73. package/Marketplace/{chunk-OQM7K2EA.js → chunk-G6O6VFLS.js} +1 -1
  74. package/Marketplace/chunk-GG3X4R7G.js +1 -0
  75. package/Marketplace/chunk-GVJLKDIO.js +1 -0
  76. package/Marketplace/chunk-HFGQAVIU.js +1 -0
  77. package/Marketplace/{chunk-N5AE5WMQ.js → chunk-HO2TMGLM.js} +1 -1
  78. package/Marketplace/chunk-HORS2MKK.js +1 -0
  79. package/Marketplace/chunk-IBE5KBZU.js +1 -0
  80. package/Marketplace/chunk-IDGK6BMG.js +1 -0
  81. package/Marketplace/chunk-IF7EJSQG.js +1 -0
  82. package/Marketplace/chunk-IKC5WEP5.js +1 -0
  83. package/Marketplace/{chunk-3L7Y6LG6.js → chunk-IM7YH54S.js} +1 -1
  84. package/Marketplace/{chunk-63I3I3MX.js → chunk-IVKFEOCB.js} +1 -1
  85. package/Marketplace/chunk-J3QDFXZ7.js +1 -0
  86. package/Marketplace/chunk-J6HA4ZHH.js +1 -0
  87. package/Marketplace/chunk-JM3NLPH4.js +9 -0
  88. package/Marketplace/chunk-JNRCB7N3.js +2 -0
  89. package/Marketplace/chunk-JSQ7SYYK.js +1 -0
  90. package/Marketplace/chunk-JV4F6ZYF.js +1 -0
  91. package/Marketplace/chunk-JWDQVXQP.js +1 -0
  92. package/Marketplace/chunk-JYSOUJ42.js +1 -0
  93. package/Marketplace/chunk-JZ3E5MLG.js +1 -0
  94. package/Marketplace/chunk-K5WSFDNA.js +1 -0
  95. package/Marketplace/chunk-KDIXLH2S.js +1 -0
  96. package/Marketplace/chunk-KR6UNAIL.js +3 -0
  97. package/Marketplace/chunk-KSRL7Y2J.js +2 -0
  98. package/Marketplace/{chunk-3664K4KH.js → chunk-LAMGWNDE.js} +19 -19
  99. package/Marketplace/chunk-LKJCOEGO.js +1 -0
  100. package/Marketplace/chunk-LQPY6AYJ.js +1 -0
  101. package/Marketplace/{chunk-FULVA6QB.js → chunk-LR2YCE6M.js} +1 -1
  102. package/Marketplace/{chunk-DXYMG6QK.js → chunk-LUJ3SHSP.js} +1 -1
  103. package/Marketplace/{chunk-J6CZKQ53.js → chunk-M3DUXHYE.js} +4 -4
  104. package/Marketplace/{chunk-6PW6S7MI.js → chunk-MAQQQB3T.js} +1 -1
  105. package/Marketplace/chunk-MM7SAZOU.js +1 -0
  106. package/Marketplace/{chunk-CM3B2UZ7.js → chunk-MPFJ7FBJ.js} +1 -1
  107. package/Marketplace/{chunk-SJ5MC42H.js → chunk-MT3CWRVG.js} +2 -2
  108. package/Marketplace/chunk-MTVUPPAN.js +149 -0
  109. package/Marketplace/{chunk-WHHW4IZT.js → chunk-N3E43QWK.js} +2 -2
  110. package/Marketplace/{chunk-AFDI4TD4.js → chunk-NIJCYMZM.js} +3 -3
  111. package/Marketplace/chunk-NMFPLAWN.js +1 -0
  112. package/Marketplace/chunk-NQLMPUSB.js +1 -0
  113. package/Marketplace/chunk-NQVNAQCL.js +1 -0
  114. package/Marketplace/{chunk-DUXKDRDP.js → chunk-NRSDIDOP.js} +1 -1
  115. package/Marketplace/{chunk-3JRUKSV3.js → chunk-NVPT5BF2.js} +2 -2
  116. package/Marketplace/chunk-NY2YBW66.js +1 -0
  117. package/Marketplace/chunk-O4D64GHO.js +2 -0
  118. package/Marketplace/{chunk-UH5C5HXK.js → chunk-O4U34AC7.js} +1 -1
  119. package/Marketplace/chunk-OCXIDX74.js +1 -0
  120. package/Marketplace/chunk-OGF4VFSK.js +1 -0
  121. package/Marketplace/chunk-OHGMB7HJ.js +4 -0
  122. package/Marketplace/chunk-OIWQSDTS.js +1 -0
  123. package/Marketplace/chunk-OSGPJXJZ.js +1 -0
  124. package/Marketplace/chunk-P3XVM6DH.js +1 -0
  125. package/Marketplace/{chunk-ODLI42YV.js → chunk-P6RAMHDB.js} +1 -1
  126. package/Marketplace/chunk-PBAFAOKJ.js +1 -0
  127. package/Marketplace/chunk-PGX5ZJ6P.js +1 -0
  128. package/Marketplace/{chunk-IGKMJFKP.js → chunk-PN3KM4M4.js} +2 -2
  129. package/Marketplace/chunk-PSJVP2XO.js +1 -0
  130. package/Marketplace/chunk-PUCIZX6E.js +1 -0
  131. package/Marketplace/chunk-PWCN6GJX.js +5 -0
  132. package/Marketplace/{chunk-L76NLJD7.js → chunk-PWOKOWVV.js} +2 -2
  133. package/Marketplace/chunk-QJ55WDGL.js +1 -0
  134. package/Marketplace/chunk-QJCYEP2A.js +1 -0
  135. package/Marketplace/{chunk-4RLWHMI6.js → chunk-QMHG3QTI.js} +1 -1
  136. package/Marketplace/chunk-QMIL5QUX.js +1 -0
  137. package/Marketplace/chunk-QMQCIH3X.js +7 -0
  138. package/Marketplace/chunk-QQF5ZMGS.js +2 -0
  139. package/Marketplace/{chunk-6XDT56RT.js → chunk-R3WIWDSP.js} +2 -2
  140. package/Marketplace/{chunk-LOWGZOML.js → chunk-RBZU7OVM.js} +1 -1
  141. package/Marketplace/chunk-RM6ZXD3O.js +1 -0
  142. package/Marketplace/chunk-RN5CI3LE.js +1 -0
  143. package/Marketplace/chunk-ROS2QMKF.js +1 -0
  144. package/Marketplace/{chunk-YTHY4IFS.js → chunk-RQUCYFCB.js} +1 -1
  145. package/Marketplace/chunk-RTLTTFZ7.js +1 -0
  146. package/Marketplace/chunk-RUYX7KTP.js +1 -0
  147. package/Marketplace/{chunk-5PMKN6PM.js → chunk-RXC5D64C.js} +2 -2
  148. package/Marketplace/chunk-RZ5N5JLA.js +1 -0
  149. package/Marketplace/chunk-S4JKTHY2.js +1 -0
  150. package/Marketplace/chunk-SABMHH6B.js +1 -0
  151. package/Marketplace/{chunk-TXOZULMZ.js → chunk-SIPZP62B.js} +1 -1
  152. package/Marketplace/{chunk-6CM22SKR.js → chunk-SMZOSLIK.js} +1 -1
  153. package/Marketplace/chunk-SPLGZRGH.js +5 -0
  154. package/Marketplace/chunk-SS6PBSX7.js +1 -0
  155. package/Marketplace/chunk-SZ33XJ4F.js +1 -0
  156. package/Marketplace/chunk-TBVMCNS2.js +1 -0
  157. package/Marketplace/{chunk-3WRXJBHF.js → chunk-TDMNVEUU.js} +3 -3
  158. package/Marketplace/{chunk-RUBV3KX2.js → chunk-TKZ74HJD.js} +1 -1
  159. package/Marketplace/chunk-TOK5EWN4.js +1 -0
  160. package/Marketplace/{chunk-7GY4O2UX.js → chunk-TYQYNICX.js} +3 -3
  161. package/Marketplace/{chunk-VX75I7HA.js → chunk-TZTW72NT.js} +1 -1
  162. package/Marketplace/{chunk-AZOCRKXK.js → chunk-UB62TZOI.js} +1 -1
  163. package/Marketplace/{chunk-L22SKCLL.js → chunk-UE2QO2Y4.js} +1 -1
  164. package/Marketplace/chunk-UE5E7JXK.js +1 -0
  165. package/Marketplace/chunk-UMLV2ZUF.js +1 -0
  166. package/Marketplace/{chunk-JBEKD57G.js → chunk-UPRDDI4K.js} +1 -1
  167. package/Marketplace/{chunk-MDP2SGJI.js → chunk-V6QH3IVL.js} +1 -1
  168. package/Marketplace/chunk-VH7JZJ2B.js +1 -0
  169. package/Marketplace/chunk-VOONKP66.js +1 -0
  170. package/Marketplace/chunk-VP3XO25X.js +2 -0
  171. package/Marketplace/chunk-VVTBM3Z5.js +1 -0
  172. package/Marketplace/chunk-VWMEDVEG.js +1 -0
  173. package/Marketplace/{chunk-NWB7EVME.js → chunk-W33M7S2S.js} +1 -1
  174. package/Marketplace/{chunk-L3W6SG2T.js → chunk-WAXAIL2I.js} +1 -1
  175. package/Marketplace/{chunk-HK5FXZE4.js → chunk-WIRBYT7F.js} +1 -1
  176. package/Marketplace/chunk-WQHFRJZZ.js +1 -0
  177. package/Marketplace/{chunk-KJE5GRQ4.js → chunk-WVA5LYVE.js} +1 -1
  178. package/Marketplace/chunk-X35EOX3B.js +1 -0
  179. package/Marketplace/chunk-X52ZT4MU.js +1 -0
  180. package/Marketplace/chunk-XLQGQESJ.js +2 -0
  181. package/Marketplace/chunk-XPA7U45N.js +1 -0
  182. package/Marketplace/{chunk-6Q6L5NUD.js → chunk-XUDE7VBC.js} +1 -1
  183. package/Marketplace/{chunk-DHPNXR6E.js → chunk-Y3O22N4P.js} +1 -1
  184. package/Marketplace/{chunk-Q2QX5AAJ.js → chunk-YABJCAAL.js} +4 -4
  185. package/Marketplace/{chunk-WFVK32EW.js → chunk-YAWT3CLI.js} +1 -1
  186. package/Marketplace/chunk-YD6BNJ2B.js +1 -0
  187. package/Marketplace/{chunk-FHER4TFY.js → chunk-YKKHSYDW.js} +1 -1
  188. package/Marketplace/chunk-YLQU53ID.js +1 -0
  189. package/Marketplace/chunk-YNL43MLU.js +1 -0
  190. package/Marketplace/chunk-YQZHIZHO.js +6 -0
  191. package/Marketplace/chunk-YX65R6YJ.js +1 -0
  192. package/Marketplace/chunk-YYV4FSYQ.js +1 -0
  193. package/Marketplace/{chunk-EYT2YJGK.js → chunk-Z2XRGVGT.js} +1 -1
  194. package/Marketplace/chunk-Z6LN3X5Q.js +1 -0
  195. package/Marketplace/{chunk-HPINZVE4.js → chunk-ZC526ERX.js} +1 -1
  196. package/Marketplace/{chunk-M4ZE35XK.js → chunk-ZDBFIPDM.js} +1 -1
  197. package/Marketplace/{chunk-RNWHARPK.js → chunk-ZGIYCORM.js} +1 -1
  198. package/Marketplace/chunk-ZMQQVXQU.js +1 -0
  199. package/Marketplace/chunk-ZQHOCT7I.js +1 -0
  200. package/Marketplace/chunk-ZVNZGCYO.js +1 -0
  201. package/Marketplace/{chunk-ITGVXYDV.js → chunk-ZWUYPYHD.js} +1 -1
  202. package/Marketplace/index.html +2 -2
  203. package/Marketplace/main-IQOLSEWV.js +1 -0
  204. package/package.json +1 -1
  205. package/Marketplace/chunk-2B5DXBBJ.js +0 -1
  206. package/Marketplace/chunk-2F4DTZCZ.js +0 -2
  207. package/Marketplace/chunk-2MEVIFIA.js +0 -1
  208. package/Marketplace/chunk-2USFVKEX.js +0 -1
  209. package/Marketplace/chunk-36U7D4LI.js +0 -1
  210. package/Marketplace/chunk-4JDI3AL5.js +0 -1
  211. package/Marketplace/chunk-4LQREJ6J.js +0 -1
  212. package/Marketplace/chunk-4YCSITNV.js +0 -1
  213. package/Marketplace/chunk-5A3P2NB3.js +0 -1
  214. package/Marketplace/chunk-6EORXONU.js +0 -4
  215. package/Marketplace/chunk-6LRZDPE5.js +0 -1
  216. package/Marketplace/chunk-6UOPF4ZP.js +0 -1
  217. package/Marketplace/chunk-7Z5X4HRT.js +0 -1
  218. package/Marketplace/chunk-A7PUMY67.js +0 -1
  219. package/Marketplace/chunk-BQEBDVGB.js +0 -7
  220. package/Marketplace/chunk-BXYXVBXP.js +0 -1
  221. package/Marketplace/chunk-C4VD7LDS.js +0 -266
  222. package/Marketplace/chunk-C6JVY2ER.js +0 -1
  223. package/Marketplace/chunk-C7N6EI73.js +0 -1
  224. package/Marketplace/chunk-CBD25LAJ.js +0 -5
  225. package/Marketplace/chunk-CT6UFONR.js +0 -1
  226. package/Marketplace/chunk-D2J64VUP.js +0 -1
  227. package/Marketplace/chunk-DAUML5UD.js +0 -2
  228. package/Marketplace/chunk-DDV2A3Y2.js +0 -1
  229. package/Marketplace/chunk-E32KODU7.js +0 -1
  230. package/Marketplace/chunk-E3EBAWLJ.js +0 -1
  231. package/Marketplace/chunk-E66QUDQF.js +0 -1
  232. package/Marketplace/chunk-E6AMKEQR.js +0 -149
  233. package/Marketplace/chunk-E6ZWL77N.js +0 -1
  234. package/Marketplace/chunk-EDEZ3JLR.js +0 -4
  235. package/Marketplace/chunk-ESXDXSQ3.js +0 -1
  236. package/Marketplace/chunk-FCEXPGTK.js +0 -5
  237. package/Marketplace/chunk-FKGKMEDE.js +0 -2
  238. package/Marketplace/chunk-FKPDG4AM.js +0 -1
  239. package/Marketplace/chunk-GG3MDS4C.js +0 -1
  240. package/Marketplace/chunk-GURSK3ZV.js +0 -1
  241. package/Marketplace/chunk-HNFW4VQS.js +0 -1
  242. package/Marketplace/chunk-HSQHQZV7.js +0 -1
  243. package/Marketplace/chunk-I3R7CC6J.js +0 -1
  244. package/Marketplace/chunk-I7C6W3RB.js +0 -1
  245. package/Marketplace/chunk-ICE4DSEP.js +0 -1
  246. package/Marketplace/chunk-ILW6ZFFV.js +0 -1
  247. package/Marketplace/chunk-JW7NES7L.js +0 -1
  248. package/Marketplace/chunk-JWK3HR6P.js +0 -1
  249. package/Marketplace/chunk-K2BII75W.js +0 -15
  250. package/Marketplace/chunk-KSR5TQDN.js +0 -1
  251. package/Marketplace/chunk-KUBWQQZK.js +0 -1
  252. package/Marketplace/chunk-KUNITWR6.js +0 -1
  253. package/Marketplace/chunk-KVDREHOE.js +0 -1
  254. package/Marketplace/chunk-LNJUGHOX.js +0 -2
  255. package/Marketplace/chunk-LY32FUZ4.js +0 -2
  256. package/Marketplace/chunk-M2BYW5SR.js +0 -1
  257. package/Marketplace/chunk-MTPSSM64.js +0 -2
  258. package/Marketplace/chunk-N5VHHR26.js +0 -1
  259. package/Marketplace/chunk-NBCUYSP7.js +0 -1
  260. package/Marketplace/chunk-NCKPMA6Q.js +0 -1
  261. package/Marketplace/chunk-NH6QGSVC.js +0 -1
  262. package/Marketplace/chunk-O2YF5VGD.js +0 -2
  263. package/Marketplace/chunk-O4EO3YBL.js +0 -1
  264. package/Marketplace/chunk-OBF4XVU7.js +0 -1
  265. package/Marketplace/chunk-ONPG3DER.js +0 -2
  266. package/Marketplace/chunk-OPXITNRF.js +0 -1
  267. package/Marketplace/chunk-OXWPYJNB.js +0 -1
  268. package/Marketplace/chunk-Q4TAOZ73.js +0 -1
  269. package/Marketplace/chunk-Q56RJPES.js +0 -1
  270. package/Marketplace/chunk-R2XT5M5F.js +0 -3
  271. package/Marketplace/chunk-RI7L4QSY.js +0 -5
  272. package/Marketplace/chunk-RWVVRZJY.js +0 -1
  273. package/Marketplace/chunk-S5R6MCNP.js +0 -5
  274. package/Marketplace/chunk-S7CKRTJV.js +0 -2
  275. package/Marketplace/chunk-STYL7ETF.js +0 -3
  276. package/Marketplace/chunk-T5IUZ6UD.js +0 -1
  277. package/Marketplace/chunk-TAITBX62.js +0 -1
  278. package/Marketplace/chunk-TJYYRHZZ.js +0 -1
  279. package/Marketplace/chunk-TYQY4WPY.js +0 -1
  280. package/Marketplace/chunk-UQK5JNU2.js +0 -1
  281. package/Marketplace/chunk-XLIPGDSC.js +0 -2
  282. package/Marketplace/chunk-ZLBPUHTQ.js +0 -1
  283. package/Marketplace/chunk-ZME22WYI.js +0 -1
  284. package/Marketplace/chunk-ZW2TMVZP.js +0 -10
  285. package/Marketplace/chunk-ZYJ6LAJ3.js +0 -4
  286. package/Marketplace/main-K3MDOIIF.js +0 -1
@@ -0,0 +1,4 @@
1
+ import{c as fl,d as Mr,e as pl,f as hl}from"./chunk-WFMAM73Y.js";import{a as W,b as G}from"./chunk-66YHNWRR.js";function v(e){return typeof e=="function"}function Xe(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Nr=Xe(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ht(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(v(r))try{r()}catch(i){t=i instanceof Nr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gl(i)}catch(s){t=t??[],s instanceof Nr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Nr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ht(n,t)}remove(t){let{_finalizers:n}=this;n&&ht(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var ki=L.EMPTY;function xr(e){return e instanceof L||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function gl(e){v(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wt={setTimeout(e,t,...n){let{delegate:r}=Wt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Wt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sr(e){Wt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function ye(){}var ml=Oi("C",void 0,void 0);function yl(e){return Oi("E",void 0,e)}function vl(e){return Oi("N",e,void 0)}function Oi(e,t,n){return{kind:e,value:t,error:n}}var gt=null;function Gt(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!gt;if(t&&(gt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=gt;if(gt=null,n)throw r}}else e()}function Il(e){me.useDeprecatedSynchronousErrorHandling&&gt&&(gt.errorThrown=!0,gt.error=e)}var mt=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xr(t)&&t.add(this)):this.destination=qh}static create(t,n,r){return new He(t,n,r)}next(t){this.isStopped?Li(vl(t),this):this._next(t)}error(t){this.isStopped?Li(yl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Li(ml,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},$h=Function.prototype.bind;function Pi(e,t){return $h.call(e,t)}var Fi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ar(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ar(r)}else Ar(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ar(n)}}},He=class extends mt{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Pi(t.next,i),error:t.error&&Pi(t.error,i),complete:t.complete&&Pi(t.complete,i)}):o=t}this.destination=new Fi(o)}};function Ar(e){me.useDeprecatedSynchronousErrorHandling?Il(e):Sr(e)}function Uh(e){throw e}function Li(e,t){let{onStoppedNotification:n}=me;n&&Wt.setTimeout(()=>n(e,t))}var qh={closed:!0,next:ye,error:Uh,complete:ye};var zt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function z(e){return e}function Wh(...e){return ji(e)}function ji(e){return e.length===0?z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=zh(n)?n:new He(n,r,o);return Gt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=El(r),new r((o,i)=>{let s=new He({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[zt](){return this}pipe(...n){return ji(n)(this)}toPromise(n){return n=El(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function El(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function Gh(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function zh(e){return e&&e instanceof mt||Gh(e)&&xr(e)}var Dl=Xe(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Rr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Dl}next(n){Gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ki:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,ht(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new Rr(t,n),e})(),Rr=class extends se{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ki}};var yt=new N(e=>e.complete());function kr(e){return e&&v(e.schedule)}function Vi(e){return e[e.length-1]}function Qt(e){return v(Vi(e))?e.pop():void 0}function _e(e){return kr(Vi(e))?e.pop():void 0}function Cl(e,t){return typeof Vi(e)=="number"?e.pop():t}var Zt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Or(e){return v(e?.then)}function Pr(e){return v(e[zt])}function Lr(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Fr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Qh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var jr=Qh();function Vr(e){return v(e?.[jr])}function Hr(e){return pl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Mr(n.read());if(o)return yield Mr(void 0);yield yield Mr(r)}}finally{n.releaseLock()}})}function Br(e){return v(e?.getReader)}function M(e){if(e instanceof N)return e;if(e!=null){if(Pr(e))return Zh(e);if(Zt(e))return Yh(e);if(Or(e))return Kh(e);if(Lr(e))return Tl(e);if(Vr(e))return Jh(e);if(Br(e))return Xh(e)}throw Fr(e)}function Zh(e){return new N(t=>{let n=e[zt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Yh(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Kh(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Sr)})}function Jh(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Tl(e){return new N(t=>{eg(e,t).catch(n=>t.error(n))})}function Xh(e){return Tl(Hr(e))}function eg(e,t){var n,r,o,i;return fl(this,void 0,void 0,function*(){try{for(n=hl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Hi(e){return v(e?.lift)}function y(e){return t=>{if(Hi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new Bi(e,t,n,r,o)}var Bi=class extends mt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function _n(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function Mn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function wl(e,t){return M(e).pipe(Mn(t),_n(t))}function bl(e,t){return M(e).pipe(Mn(t),_n(t))}function _l(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ml(e,t){return new N(n=>{let r;return Z(n,t,()=>{r=e[jr](),Z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>v(r?.return)&&r.return()})}function $r(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Nl(e,t){return $r(Hr(e),t)}function xl(e,t){if(e!=null){if(Pr(e))return wl(e,t);if(Zt(e))return _l(e,t);if(Or(e))return bl(e,t);if(Lr(e))return $r(e,t);if(Vr(e))return Ml(e,t);if(Br(e))return Nl(e,t)}throw Fr(e)}function Me(e,t){return t?xl(e,t):M(e)}function tg(...e){let t=_e(e);return Me(e,t)}function et(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}function Sl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&t.complete()},p=C=>l<r?h(C):c.push(C),h=C=>{i&&t.next(C),l++;let S=!1;M(n(C,u++)).subscribe(m(t,_=>{o?.(_),i?p(_):t.next(_)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<r;){let _=c.shift();s?Z(t,s,()=>h(_)):h(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(m(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Be(e,t,n=1/0){return v(t)?Be((r,o)=>et((i,s)=>t(r,i,o,s))(M(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>Sl(r,o,e,n)))}function Nn(e=1/0){return Be(z,e)}function ng(...e){let t=_e(e),n=Cl(e,1/0),r=e;return r.length?r.length===1?M(r[0]):Nn(n)(Me(r,t)):yt}function ve(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Al(e,t){return v(t)?Be(e,t,1):Be(e,1)}var xn={now(){return(xn.delegate||Date).now()},delegate:void 0};var Sn=class extends se{constructor(t=1/0,n=1/0,r=xn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Ui(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let C=s;p(),C?.unsubscribe()};return y((C,S)=>{l++,!d&&!u&&f();let _=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=$i(h,o))}),_.subscribe(S),!s&&l>0&&(s=new He({next:be=>_.next(be),error:be=>{d=!0,f(),a=$i(p,n,be),_.error(be)},complete:()=>{u=!0,f(),a=$i(p,r),_.complete()}}),M(C).subscribe(s))})(i)}}function $i(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new He({next:()=>{r.unsubscribe(),e()}});return M(t(...n)).subscribe(r)}function Rl(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ui({connector:()=>new Sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function An(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;M(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function kl(e){return y((t,n)=>{M(e).subscribe(m(n,()=>n.complete(),ye)),!n.closed&&t.subscribe(n)})}function Ol(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):z}function qi(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Wi=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Hi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return qi()(this)}};var Yt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Yt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Yt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Yt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Rn=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Ur=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var kn={setInterval(e,t,...n){let{delegate:r}=kn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=kn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ne=class extends Ur{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return kn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&kn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ht(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var rg=1,Gi,zi={};function Pl(e){return e in zi?(delete zi[e],!0):!1}var Ll={setImmediate(e){let t=rg++;return zi[t]=!0,Gi||(Gi=Promise.resolve()),Gi.then(()=>Pl(t)&&e()),t},clearImmediate(e){Pl(e)}};var{setImmediate:og,clearImmediate:ig}=Ll,On={setImmediate(...e){let{delegate:t}=On;return(t?.setImmediate||og)(...e)},clearImmediate(e){let{delegate:t}=On;return(t?.clearImmediate||ig)(e)},delegate:void 0};var qr=class extends Ne{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=On.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(On.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Kt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Kt.now=xn.now;var xe=class extends Kt{constructor(t,n=Kt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Wr=class extends xe{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var sg=new Wr(qr);var Se=new xe(Ne),Qi=Se;var Gr=class extends Ne{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var zr=class extends xe{};var ag=new zr(Gr);var Qr=class extends Ne{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Yt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Yt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Zr=class extends xe{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var cg=new Zr(Qr);function lg(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function ug(e){return!!e&&(e instanceof N||v(e.lift)&&v(e.subscribe))}var vt=Xe(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Yr(e){return e instanceof Date&&!isNaN(e)}var dg=Xe(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function fg(e,t){let{first:n,each:r,with:o=pg,scheduler:i=t??Se,meta:s=null}=Yr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return y((a,c)=>{let l,u,d=null,f=0,p=h=>{u=Z(c,i,()=>{try{l.unsubscribe(),M(o({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(C){c.error(C)}},h)};l=a.subscribe(m(c,h=>{u?.unsubscribe(),f++,c.next(d=h),r>0&&p(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!f&&p(n!=null?typeof n=="number"?n:+n-i.now():r)})}function pg(e){throw new dg(e)}var{isArray:hg}=Array;function gg(e,t){return hg(t)?e(...t):e(t)}function Jt(e){return et(t=>gg(e,t))}var{isArray:mg}=Array,{getPrototypeOf:yg,prototype:vg,keys:Ig}=Object;function Kr(e){if(e.length===1){let t=e[0];if(mg(t))return{args:t,keys:null};if(Eg(t)){let n=Ig(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Eg(e){return e&&typeof e=="object"&&yg(e)===vg}function Jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dg(...e){let t=_e(e),n=Qt(e),{args:r,keys:o}=Kr(e);if(r.length===0)return Me([],t);let i=new N(Cg(r,t,o?s=>Jr(o,s):z));return n?i.pipe(Jt(n)):i}function Cg(e,t,n=z){return r=>{Fl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Fl(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Fl(e,t,n){e?Z(n,e,t):t()}function jl(){return Nn(1)}function Xr(...e){return jl()(Me(e,_e(e)))}function Tg(e){return new N(t=>{M(e()).subscribe(t)})}function wg(...e){let t=Qt(e),{args:n,keys:r}=Kr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;M(n[u]).subscribe(m(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Jr(r,a):a),i.complete())}))}});return t?o.pipe(Jt(t)):o}var bg=["addListener","removeListener"],_g=["addEventListener","removeEventListener"],Mg=["on","off"];function Zi(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return Zi(e,t,n).pipe(Jt(r));let[o,i]=Sg(e)?_g.map(s=>a=>e[s](t,a,n)):Ng(e)?bg.map(Vl(e,t)):xg(e)?Mg.map(Vl(e,t)):[];if(!o&&Zt(e))return Be(s=>Zi(s,t,n))(M(e));if(!o)throw new TypeError("Invalid event target");return new N(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Vl(e,t){return n=>r=>e[n](t,r)}function Ng(e){return v(e.addListener)&&v(e.removeListener)}function xg(e){return v(e.on)&&v(e.off)}function Sg(e){return v(e.addEventListener)&&v(e.removeEventListener)}function Pn(e=0,t,n=Qi){let r=-1;return t!=null&&(kr(t)?n=t:r=t),new N(o=>{let i=Yr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Ag(e=0,t=Se){return e<0&&(e=0),Pn(e,e,t)}function Hl(e,t){return(n,r)=>!e.call(t,n,r)}function Rg(e,t,n){return[ve(t,n)(M(e)),ve(Hl(t,n))(M(e))]}function Bl(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||M(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function kg(e,t=Se){return Bl(()=>Pn(e,t))}function Yi(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=M(e(s,Yi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function $l(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Og(e){return y((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,ye),M(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Ul(e,t=Se){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(m(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ln(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ki(e){return e<=0?()=>yt:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Pg(){return y((e,t)=>{e.subscribe(m(t,ye))})}function Lg(e,t=z){return e=e??Fg,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Fg(e,t){return e===t}function eo(e=jg){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function jg(){return new vt}function Vg(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}function Hg(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Bg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ve((o,i)=>e(o,i,r)):z,Ki(1),n?Ln(t):eo(()=>new vt))}function Ji(e){return e<=0?()=>yt:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function $g(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ve((o,i)=>e(o,i,r)):z,Ji(1),n?Ln(t):eo(()=>new vt))}function Ug(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function ql(e,t){return y($l(e,t,arguments.length>=2,!0))}function qg(e){return ve((t,n)=>e<=n)}function Wl(...e){let t=_e(e);return y((n,r)=>{(t?Xr(e,n,t):Xr(e,n)).subscribe(r)})}function Wg(e,t){return v(t)?An(()=>e,t):An(()=>e)}function Gg(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function zg(...e){let t=Qt(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)M(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(z))&&(s=null))},ye));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}var Xi;function to(){return Xi}function Ae(e){let t=Xi;return Xi=e,t}var Gl=Symbol("NotFound");function Xt(e){return e===Gl||e?.name==="\u0275NotFound"}var Y=null,no=!1,es=1,Qg=null,H=Symbol("SIGNAL");function D(e){let t=Y;return Y=e,t}function so(){return Y}var It={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function tt(e){if(no)throw new Error("");if(Y===null)return;Y.consumerOnSignalRead(e);let t=Y.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Y.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Y.producers,n!==void 0&&n.producer===e)){Y.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Y&&(!r||Yg(o,Y)))return;let i=en(Y),s={producer:e,consumer:Y,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Y.producersTail=s,t!==void 0?t.nextProducer=s:Y.producers=s,i&&Yl(e,s)}function zl(){es++}function ao(e){if(!(en(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===es)){if(!e.producerMustRecompute(e)&&!Dt(e)){io(e);return}e.producerRecomputeValue(e),io(e)}}function ts(e){if(e.consumers===void 0)return;let t=no;no=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Zg(r)}}finally{no=t}}function ns(){return Y?.consumerAllowSignalWrites!==!1}function Zg(e){e.dirty=!0,ts(e),e.consumerMarkedDirty?.(e)}function io(e){e.dirty=!1,e.lastCleanEpoch=es}function nt(e){return e&&Ql(e),D(e)}function Ql(e){e.producersTail=void 0,e.recomputing=!0}function Et(e,t){D(t),e&&Zl(e)}function Zl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(en(e))do n=rs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Dt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ao(n),r!==n.version))return!0}return!1}function rt(e){if(en(e)){let t=e.producers;for(;t!==void 0;)t=rs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Yl(e,t){let n=e.consumersTail,r=en(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Yl(o.producer,o)}function rs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!en(t)){let i=t.producers;for(;i!==void 0;)i=rs(i)}return n}function en(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function co(e){Qg?.(e)}function Yg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function lo(e,t){return Object.is(e,t)}function jn(e,t){let n=Object.create(Kg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ao(n),tt(n),n.value===Fn)throw n.error;return n.value};return r[H]=n,co(n),r}var ro=Symbol("UNSET"),oo=Symbol("COMPUTING"),Fn=Symbol("ERRORED"),Kg=G(W({},It),{value:ro,dirty:!0,error:null,equal:lo,kind:"computed",producerMustRecompute(e){return e.value===ro||e.value===oo},producerRecomputeValue(e){if(e.value===oo)throw new Error("");let t=e.value;e.value=oo;let n=nt(e),r,o=!1;try{r=e.computation(),D(null),o=t!==ro&&t!==Fn&&r!==Fn&&e.equal(t,r)}catch(i){r=Fn,e.error=i}finally{Et(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Jg(){throw new Error}var Kl=Jg;function Jl(e){Kl(e)}function os(e){Kl=e}var Xg=null;function is(e,t){let n=Object.create(Vn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Xl(n);return r[H]=n,co(n),[r,s=>Ct(n,s),s=>ss(n,s)]}function Xl(e){return tt(e),e.value}function Ct(e,t){ns()||Jl(e),e.equal(e.value,t)||(e.value=t,em(e))}function ss(e,t){ns()||Jl(e),Ct(e,t(e.value))}var Vn=G(W({},It),{equal:lo,value:void 0,kind:"signal"});function em(e){e.version++,zl(),ts(e),Xg?.(e)}function eu(e){let t=D(null);try{return e()}finally{D(t)}}var tu=G(W({},It),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function nu(e){if(e.dirty=!1,e.version>0&&!Dt(e))return;e.version++;let t=nt(e);try{e.cleanup(),e.fn()}finally{Et(e,t)}}var fo=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},tm=new fo("20.3.13");var go="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(t,n){super(qn(t,n)),this.code=t}};function nm(e){return`NG0${Math.abs(e)}`}function qn(e,t){return`${nm(e)}${t?": "+t:""}`}var ke=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function iu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ue(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ue).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function mo(e,t){return e?t?`${e} ${t}`:e:t||""}var rm=A({__forward_ref__:A});function yo(e){return e.__forward_ref__=yo,e.toString=function(){return Ue(this())},e}function $(e){return vs(e)?e():e}function vs(e){return typeof e=="function"&&e.hasOwnProperty(rm)&&e.__forward_ref__===yo}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Is(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wn(e){return im(e,vo)}function om(e){return Wn(e)!==null}function im(e,t){return e.hasOwnProperty(t)&&e[t]||null}function sm(e){let t=e?.[vo]??null;return t||null}function cs(e){return e&&e.hasOwnProperty(po)?e[po]:null}var vo=A({\u0275prov:A}),po=A({\u0275inj:A}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Es(e){return e&&!!e.\u0275providers}var Ds=A({\u0275cmp:A}),Cs=A({\u0275dir:A}),Ts=A({\u0275pipe:A}),ws=A({\u0275mod:A}),Bn=A({\u0275fac:A}),Mt=A({__NG_ELEMENT_ID__:A}),ru=A({__NG_ENV_ID__:A});function qe(e){return typeof e=="string"?e:e==null?"":String(e)}function su(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():qe(e)}var au=A({ngErrorCode:A}),am=A({ngErrorMessage:A}),cm=A({ngTokenPath:A});function bs(e,t){return cu("",-200,t)}function Io(e,t){throw new w(-201,!1)}function cu(e,t,n){let r=new w(t,e);return r[au]=t,r[am]=e,n&&(r[cm]=n),r}function lm(e){return e[au]}var ls;function lu(){return ls}function te(e){let t=ls;return ls=e,t}function _s(e,t,n){let r=Wn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Io(e,"Injector")}var um={},Tt=um,us="__NG_DI_FLAG__",ds=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=wt(n)||0;try{return this.injector.get(t,r&8?null:Tt,r)}catch(o){if(Xt(o))return o;throw o}}};function dm(e,t=0){let n=to();if(n===void 0)throw new w(-203,!1);if(n===null)return _s(e,void 0,t);{let r=fm(t),o=n.retrieve(e,r);if(Xt(o)){if(r.optional)return null;throw o}return o}}function re(e,t=0){return(lu()||dm)($(e),t)}function E(e,t){return re(e,wt(t))}function wt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function fs(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=pm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(re(o,i))}else t.push(re(r))}return t}function Ms(e,t){return e[us]=t,e.prototype[us]=t,e}function pm(e){return e[us]}function ot(e,t){let n=e.hasOwnProperty(Bn);return n?e[Bn]:null}function uu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function du(e){return e.flat(Number.POSITIVE_INFINITY)}function Eo(e,t){e.forEach(n=>Array.isArray(n)?Eo(n,t):t(n))}function Ns(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function fu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function pu(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function zn(e,t,n){let r=nn(e,t);return r>=0?e[r|1]=n:(r=~r,pu(e,r,t,n)),r}function Do(e,t){let n=nn(e,t);if(n>=0)return e[n|1]}function nn(e,t){return hm(e,t,1)}function hm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ee={},K=[],Nt=new x(""),xs=new x("",-1),Ss=new x(""),$n=class{get(t,n=Tt){if(n===Tt){let o=cu("",-201);throw o.name="\u0275NotFound",o}return n}};function As(e){return e[ws]||null}function Oe(e){return e[Ds]||null}function Co(e){return e[Cs]||null}function hu(e){return e[Ts]||null}function Rs(e){return{\u0275providers:e}}function gu(...e){return{\u0275providers:ks(!0,e),\u0275fromNgModule:!0}}function ks(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Eo(t,s=>{let a=s;ho(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&mu(o,i),n}function mu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Os(o,i=>{t(i,r)})}}function ho(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=cs(e),s=!i&&Oe(e);if(!i&&!s){let c=e.ngModule;if(i=cs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ho(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Eo(i.imports,u=>{ho(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&mu(l,t)}if(!a){let l=ot(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Ss,useValue:o,multi:!0},o),t({provide:Nt,useValue:()=>re(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Os(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Os(e,t){for(let n of e)Es(n)&&(n=n.\u0275providers),Array.isArray(n)?Os(n,t):t(n)}var gm=A({provide:String,useValue:A});function yu(e){return e!==null&&typeof e=="object"&&gm in e}function mm(e){return!!(e&&e.useExisting)}function ym(e){return!!(e&&e.useFactory)}function bt(e){return typeof e=="function"}function vu(e){return!!e.useClass}var Ps=new x(""),uo={},ou={},as;function rn(){return as===void 0&&(as=new $n),as}var ae=class{},_t=class extends ae{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,hs(t,s=>this.processProvider(s)),this.records.set(xs,tn(void 0,this)),o.has("environment")&&this.records.set(ae,tn(void 0,this));let i=this.records.get(Ps);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ss,K,{self:!0}))}retrieve(t,n){let r=wt(n)||0;try{return this.get(t,Tt,r)}catch(o){if(Xt(o))return o;throw o}}destroy(){Hn(this),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return Hn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Hn(this);let n=Ae(this),r=te(void 0),o;try{return t()}finally{Ae(n),te(r)}}get(t,n=Tt,r){if(Hn(this),t.hasOwnProperty(ru))return t[ru](this);let o=wt(r),i,s=Ae(this),a=te(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Cm(t)&&Wn(t);u&&this.injectableDefInScope(u)?l=tn(ps(t),uo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?rn():this.parent;return n=o&8&&n===Tt?null:n,c.get(t,n)}catch(c){let l=lm(c);throw l===-200||l===-201?new w(l,null):c}finally{te(a),Ae(s)}}resolveInjectorInitializers(){let t=D(null),n=Ae(this),r=te(void 0),o;try{let i=this.get(Nt,K,{self:!0});for(let s of i)s()}finally{Ae(n),te(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Ue(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=bt(t)?t:$(t&&t.provide),r=Im(t);if(!bt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=tn(void 0,uo,!0),o.factory=()=>fs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{if(n.value===ou)throw bs(Ue(t));return n.value===uo&&(n.value=ou,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Dm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ps(e){let t=Wn(e),n=t!==null?t.factory:ot(e);if(n!==null)return n;if(e instanceof x)throw new w(204,!1);if(e instanceof Function)return vm(e);throw new w(204,!1)}function vm(e){if(e.length>0)throw new w(204,!1);let n=sm(e);return n!==null?()=>n.factory(e):()=>new e}function Im(e){if(yu(e))return tn(void 0,e.useValue);{let t=Ls(e);return tn(t,uo)}}function Ls(e,t,n){let r;if(bt(e)){let o=$(e);return ot(o)||ps(o)}else if(yu(e))r=()=>$(e.useValue);else if(ym(e))r=()=>e.useFactory(...fs(e.deps||[]));else if(mm(e))r=(o,i)=>re($(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=$(e&&(e.useClass||e.provide));if(Em(e))r=()=>new o(...fs(e.deps));else return ot(o)||ps(o)}return r}function Hn(e){if(e.destroyed)throw new w(205,!1)}function tn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Em(e){return!!e.deps}function Dm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Cm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function hs(e,t){for(let n of e)Array.isArray(n)?hs(n,t):n&&Es(n)?hs(n.\u0275providers,t):t(n)}function To(e,t){let n;e instanceof _t?(Hn(e),n=e):n=new ds(e);let r,o=Ae(n),i=te(void 0);try{return t()}finally{Ae(o),te(i)}}function wo(){return lu()!==void 0||to()!=null}function Tm(e){if(!wo())throw new w(-203,!1)}var le=0,I=1,T=2,U=3,ue=4,ne=5,xt=6,on=7,j=8,We=9,Pe=10,R=11,sn=12,Fs=13,St=14,J=15,st=16,At=17,Le=18,Qn=19,js=20,$e=21,bo=22,Ge=23,oe=24,Rt=25,kt=26,P=27,Vs=1,Hs=6,at=7,Zn=8,Ot=9,V=10;function Fe(e){return Array.isArray(e)&&typeof e[Vs]=="object"}function De(e){return Array.isArray(e)&&e[Vs]===!0}function Bs(e){return(e.flags&4)!==0}function ze(e){return e.componentOffset>-1}function an(e){return(e.flags&1)===1}function de(e){return!!e.template}function cn(e){return(e[T]&512)!==0}function Pt(e){return(e[T]&256)===256}var $s="svg",Iu="math";function fe(e){for(;Array.isArray(e);)e=e[le];return e}function Us(e){for(;Array.isArray(e);){if(typeof e[Vs]=="object")return e;e=e[le]}return null}function qs(e,t){return fe(t[e])}function pe(e,t){return fe(t[e.index])}function Yn(e,t){return e.data[t]}function Kn(e,t){return e[t]}function Jn(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function he(e,t){let n=t[e];return Fe(n)?n:n[le]}function Eu(e){return(e[T]&4)===4}function _o(e){return(e[T]&128)===128}function Du(e){return De(e[U])}function ie(e,t){return t==null?null:e[t]}function Ws(e){e[At]=0}function Gs(e){e[T]&1024||(e[T]|=1024,_o(e)&&ct(e))}function Cu(e,t){for(;e>0;)t=t[St],e--;return t}function Xn(e){return!!(e[T]&9216||e[oe]?.dirty)}function Mo(e){e[Pe].changeDetectionScheduler?.notify(8),e[T]&64&&(e[T]|=1024),Xn(e)&&ct(e)}function ct(e){e[Pe].changeDetectionScheduler?.notify(0);let t=it(e);for(;t!==null&&!(t[T]&8192||(t[T]|=8192,!_o(t)));)t=it(t)}function zs(e,t){if(Pt(e))throw new w(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function Tu(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function it(e){let t=e[U];return De(t)?t[U]:t}function Qs(e){return e[on]??=[]}function Zs(e){return e.cleanup??=[]}function wu(e,t,n,r){let o=Qs(t);o.push(n),e.firstCreatePass&&Zs(e).push(r,o.length-1)}var b={lFrame:Lu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gs=!1;function bu(){return b.lFrame.elementDepthCount}function _u(){b.lFrame.elementDepthCount++}function Ys(){b.lFrame.elementDepthCount--}function No(){return b.bindingsEnabled}function Ks(){return b.skipHydrationRootTNode!==null}function Js(e){return b.skipHydrationRootTNode===e}function Xs(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function k(){return b.lFrame.tView}function Mu(e){return b.lFrame.contextLView=e,e[j]}function Nu(e){return b.lFrame.contextLView=null,e}function B(){let e=ea();for(;e!==null&&e.type===64;)e=e.parent;return e}function ea(){return b.lFrame.currentTNode}function xu(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function ta(){return b.lFrame.isParent}function na(){b.lFrame.isParent=!1}function ra(){return b.lFrame.contextLView}function oa(){return gs}function ln(e){let t=gs;return gs=e,t}function ge(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Su(){return b.lFrame.bindingIndex}function Au(e){return b.lFrame.bindingIndex=e}function Ce(){return b.lFrame.bindingIndex++}function xo(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ru(){return b.lFrame.inI18n}function ku(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,So(t)}function Ou(){return b.lFrame.currentDirectiveIndex}function So(e){b.lFrame.currentDirectiveIndex=e}function ia(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ao(){return b.lFrame.currentQueryIndex}function er(e){b.lFrame.currentQueryIndex=e}function wm(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function sa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=wm(i),o===null||(i=i[St],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=Pu();return r.currentTNode=t,r.lView=e,!0}function Ro(e){let t=Pu(),n=e[I];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Pu(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Lu(e):t}function Lu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Fu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var aa=Fu;function ko(){let e=Fu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ju(e){return(b.lFrame.contextLView=Cu(e,b.lFrame.contextLView))[j]}function Te(){return b.lFrame.selectedIndex}function lt(e){b.lFrame.selectedIndex=e}function Ft(){let e=b.lFrame;return Yn(e.tView,e.selectedIndex)}function Vu(){b.lFrame.currentNamespace=$s}function Hu(){bm()}function bm(){b.lFrame.currentNamespace=null}function Bu(){return b.lFrame.currentNamespace}var $u=!0;function Oo(){return $u}function tr(e){$u=e}function ms(e,t=null,n=null,r){let o=ca(e,t,n,r);return o.resolveInjectorInitializers(),o}function ca(e,t=null,n=null,r,o=new Set){let i=[n||K,gu(e)];return r=r||(typeof e=="object"?void 0:Ue(e)),new _t(i,t||rn(),r||null,o)}var Ie=class e{static THROW_IF_NOT_FOUND=Tt;static NULL=new $n;static create(t,n){if(Array.isArray(t))return ms({name:""},n,t,"");{let r=t.name??"";return ms({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>re(xs)});static __NG_ELEMENT_ID__=-1},_m=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=Mm;static __NG_ENV_ID__=n=>n}return e})(),Un=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Pt(this._lView)}onDestroy(t){let n=this._lView;return zs(n,t),()=>Tu(n,t)}};function Mm(){return new Un(g())}var Re=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Qe=new x("",{providedIn:"root",factory:()=>{let e=E(ae),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Re),t.handleError(n))}}}),Uu={provide:Nt,useValue:()=>void E(Re),multi:!0};function la(e){return typeof e=="function"&&e[H]!==void 0}function Po(e,t){let[n,r,o]=is(e,t?.equal),i=n,s=i[H];return i.set=r,i.update=o,i.asReadonly=Lo.bind(i),i}function Lo(){let e=this[H];if(e.readonlyFn===void 0){let t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function ua(e){return la(e)&&typeof e.set=="function"}var jt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Nm}return e})();function Nm(){return new jt(g(),B())}var ce=class{},Fo=new x("",{providedIn:"root",factory:()=>!1});var da=new x(""),fa=new x(""),ut=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Rn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),pa=(()=>{class e{internalPendingTasks=E(ut);scheduler=E(ce);errorHandler=E(Qe);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();function Vt(...e){}var nr=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new ys})}return e})(),ys=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Cn(e){return{toString:e}.toString()}var jo="__parameters__";function Pm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Nd(e,t,n){return Cn(()=>{let r=Pm(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(jo)?c[jo]:Object.defineProperty(c,jo,{value:[]})[jo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Lm=Ms(Nd("Optional"),8);var Fm=Ms(Nd("SkipSelf"),4);function jm(e){return typeof e=="function"}var Zo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function xd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Vm=(()=>{let e=()=>Sd;return e.ngInherit=!0,e})();function Sd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Bm),Hm}function Hm(){let e=Rd(this),t=e?.current;if(t){let n=e.previous;if(n===Ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Bm(e,t,n,r,o){let i=this.declaredInputs[r],s=Rd(e)||$m(e,{previous:Ee,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Zo(l&&l.currentValue,n,c===Ee),xd(e,t,o,n)}var Ad="__ngSimpleChanges__";function Rd(e){return e[Ad]||null}function $m(e,t){return e[Ad]=t}var qu=[];var O=function(e,t=null,n){for(let r=0;r<qu.length;r++){let o=qu[r];o(e,t,n)}};function Um(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Sd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function kd(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function qo(e,t,n){Od(e,t,3,n)}function Wo(e,t,n,r){(e[T]&3)===n&&Od(e,t,n,r)}function ha(e,t){let n=e[T];(n&3)===t&&(n&=16383,n+=1,e[T]=n)}function Od(e,t,n,r){let o=r!==void 0?e[At]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[At]+=65536),(a<i||i==-1)&&(qm(e,n,t,c),e[At]=(e[At]&4294901760)+c+2),c++}function Wu(e,t){O(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),O(5,e,t)}}function qm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[T]>>14<e[At]>>16&&(e[T]&3)===t&&(e[T]+=16384,Wu(a,i)):Wu(a,i)}var dn=-1,Bt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Wm(e){return(e.flags&8)!==0}function Gm(e){return(e.flags&16)!==0}function zm(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Qm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Pd(e){return e===3||e===4||e===6}function Qm(e){return e.charCodeAt(0)===64}function fn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Gu(e,n,o,null,t[++r]):Gu(e,n,o,null,null))}}return e}function Gu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Ld(e){return e!==dn}function Yo(e){return e&32767}function Zm(e){return e>>16}function Ko(e,t){let n=Zm(e),r=t;for(;n>0;)r=r[St],n--;return r}var ba=!0;function Jo(e){let t=ba;return ba=e,t}var Ym=256,Fd=Ym-1,jd=5,Km=0,Ve={};function Jm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mt)&&(r=n[Mt]),r==null&&(r=n[Mt]=Km++);let o=r&Fd,i=1<<o;t.data[e+(o>>jd)]|=i}function Xo(e,t){let n=Vd(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,ga(r.data,e),ga(t,null),ga(r.blueprint,null));let o=uc(e,t),i=e.injectorIndex;if(Ld(o)){let s=Yo(o),a=Ko(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ga(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function uc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=qd(o),r===null)return dn;if(n++,o=o[St],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return dn}function _a(e,t,n){Jm(e,t,n)}function Xm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Pd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Hd(e,t,n){if(n&8||e!==void 0)return e;Io(t,"NodeInjector")}function Bd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[We],i=te(void 0);try{return o?o.get(t,r,n&8):_s(t,r,n&8)}finally{te(i)}}return Hd(r,t,n)}function $d(e,t,n,r=0,o){if(e!==null){if(t[T]&2048&&!(r&2)){let s=oy(e,t,n,r,Ve);if(s!==Ve)return s}let i=Ud(e,t,n,r,Ve);if(i!==Ve)return i}return Bd(t,n,r,o)}function Ud(e,t,n,r,o){let i=ty(n);if(typeof i=="function"){if(!sa(t,e,r))return r&1?Hd(o,n,r):Bd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Io(n);else return s}finally{aa()}}else if(typeof i=="number"){let s=null,a=Vd(e,t),c=dn,l=r&1?t[J][ne]:null;for((a===-1||r&4)&&(c=a===-1?uc(e,t):t[a+8],c===dn||!Qu(r,!1)?a=-1:(s=t[I],a=Yo(c),t=Ko(c,t)));a!==-1;){let u=t[I];if(zu(i,a,u.data)){let d=ey(a,t,n,s,r,l);if(d!==Ve)return d}c=t[a+8],c!==dn&&Qu(r,t[I].data[a+8]===l)&&zu(i,a,t)?(s=u,a=Yo(c),t=Ko(c,t)):a=-1}}return o}function ey(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?ze(a)&&ba:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Go(a,s,n,c,l);return u!==null?ir(t,s,u,a,o):Ve}function Go(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let h=s[p];if(p<c&&n===h||p>=c&&h.type===n)return p}if(o){let p=s[c];if(p&&de(p)&&p.type===n)return c}return null}function ir(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Bt){let a=i;if(a.resolving){let p=su(s[n]);throw bs(p)}let c=Jo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?te(a.injectImpl):null,f=sa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Um(n,s[n],t)}finally{d!==null&&te(d),Jo(c),a.resolving=!1,aa()}}return i}function ty(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Mt)?e[Mt]:void 0;return typeof t=="number"?t>=0?t&Fd:ny:t}function zu(e,t,n){let r=1<<e;return!!(n[t+(e>>jd)]&r)}function Qu(e,t){return!(e&2)&&!(e&1&&t)}var Ht=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $d(this._tNode,this._lView,t,wt(r),n)}};function ny(){return new Ht(B(),g())}function ry(e){return Cn(()=>{let t=e.prototype.constructor,n=t[Bn]||Ma(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Bn]||Ma(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ma(e){return vs(e)?()=>{let t=Ma($(e));return t&&t()}:ot(e)}function oy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[T]&2048&&!cn(s);){let a=Ud(i,s,n,r|2,Ve);if(a!==Ve)return a;let c=i.parent;if(!c){let l=s[js];if(l){let u=l.get(n,Ve,r);if(u!==Ve)return u}c=qd(s),s=s[St]}i=c}return o}function qd(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function Wd(e){return Xm(B(),e)}function iy(){return Tn(B(),g())}function Tn(e,t){return new gr(pe(e,t))}var gr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=iy}return e})();function Gd(e){return e instanceof gr?e.nativeElement:e}function sy(){return this._results[Symbol.iterator]()}var ei=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new se}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=du(t);(this._changesDetected=!uu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=sy};function zd(e){return(e.flags&128)===128}var dc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(dc||{}),Qd=new Map,ay=0;function cy(){return ay++}function ly(e){Qd.set(e[Qn],e)}function Na(e){Qd.delete(e[Qn])}var Zu="__ngContext__";function pn(e,t){Fe(t)?(e[Zu]=t[Qn],ly(t)):e[Zu]=t}function Zd(e){return Kd(e[sn])}function Yd(e){return Kd(e[ue])}function Kd(e){for(;e!==null&&!De(e);)e=e[ue];return e}var xa;function uy(e){xa=e}function fc(){if(xa!==void 0)return xa;if(typeof document<"u")return document;throw new w(210,!1)}var dy=new x("",{providedIn:"root",factory:()=>fy}),fy="ng",Jd=new x(""),py=new x("",{providedIn:"platform",factory:()=>"unknown"});var hy=new x(""),gy=new x("",{providedIn:"root",factory:()=>fc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Xd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},my=new x("",{providedIn:"root",factory:()=>Xd});var yy="h",vy="b";var ef="r";var tf="di";var nf=!1,rf=new x("",{providedIn:"root",factory:()=>nf});var Iy=new x("");var Ey=(e,t,n,r)=>{};function Dy(e,t,n,r){Ey(e,t,n,r)}function gi(e){return(e.flags&32)===32}var Cy=()=>null;function of(e,t,n=!1){return Cy(e,t,n)}function sf(e,t){let n=e.contentQueries;if(n!==null){let r=D(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];er(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function Sa(e,t,n){er(0);let r=D(null);try{t(e,n)}finally{D(r)}}function pc(e,t,n){if(Bs(t)){let r=D(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{D(r)}}}var hn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(hn||{}),Vo;function Ty(){if(Vo===void 0&&(Vo=null,ke.trustedTypes))try{Vo=ke.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vo}function mi(e){return Ty()?.createHTML(e)||e}var Ho;function af(){if(Ho===void 0&&(Ho=null,ke.trustedTypes))try{Ho=ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ho}function Yu(e){return af()?.createHTML(e)||e}function Ku(e){return af()?.createScriptURL(e)||e}var Ye=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${go})`}},Aa=class extends Ye{getTypeName(){return"HTML"}},Ra=class extends Ye{getTypeName(){return"Style"}},ka=class extends Ye{getTypeName(){return"Script"}},Oa=class extends Ye{getTypeName(){return"URL"}},Pa=class extends Ye{getTypeName(){return"ResourceURL"}};function Ut(e){return e instanceof Ye?e.changingThisBreaksApplicationSecurity:e}function yi(e,t){let n=cf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${go})`)}return n===t}function cf(e){return e instanceof Ye&&e.getTypeName()||null}function wy(e){return new Aa(e)}function by(e){return new Ra(e)}function _y(e){return new ka(e)}function My(e){return new Oa(e)}function Ny(e){return new Pa(e)}function xy(e){let t=new Fa(e);return Sy()?new La(t):t}var La=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(mi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Fa=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=mi(t),n}};function Sy(){try{return!!new window.DOMParser().parseFromString(mi(""),"text/html")}catch{return!1}}var Ay=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hc(e){return e=String(e),e.match(Ay)?e:"unsafe:"+e}function Ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function mr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var lf=Ke("area,br,col,hr,img,wbr"),uf=Ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),df=Ke("rp,rt"),Ry=mr(df,uf),ky=mr(uf,Ke("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Oy=mr(df,Ke("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ju=mr(lf,ky,Oy,Ry),ff=Ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Py=Ke("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ly=Ke("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Fy=mr(ff,Py,Ly),jy=Ke("script,style,template"),ja=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=By(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Hy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Xu(t).toLowerCase();if(!Ju.hasOwnProperty(n))return this.sanitizedSomething=!0,!jy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Fy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ff[a]&&(c=hc(c)),this.buf.push(" ",s,'="',ed(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Xu(t).toLowerCase();Ju.hasOwnProperty(n)&&!lf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ed(t))}};function Vy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Hy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw pf(t);return t}function By(e){let t=e.firstChild;if(t&&Vy(e,t))throw pf(t);return t}function Xu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function pf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var $y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Uy=/([^\#-~ |!])/g;function ed(e){return e.replace(/&/g,"&amp;").replace($y,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Uy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Bo;function hf(e,t){let n=null;try{Bo=Bo||xy(e);let r=t?String(t):"";n=Bo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Bo.getInertBodyElement(r)}while(r!==i);let a=new ja().sanitizeChildren(td(n)||n);return mi(a)}finally{if(n){let r=td(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function td(e){return"content"in e&&qy(e)?e.content:null}function qy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var yr=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(yr||{});function Wy(e){let t=gc();return t?Yu(t.sanitize(yr.HTML,e)||""):yi(e,"HTML")?Yu(Ut(e)):hf(fc(),qe(e))}function gf(e){let t=gc();return t?t.sanitize(yr.URL,e)||"":yi(e,"URL")?Ut(e):hc(qe(e))}function mf(e){let t=gc();if(t)return Ku(t.sanitize(yr.RESOURCE_URL,e)||"");if(yi(e,"ResourceURL"))return Ku(Ut(e));throw new w(904,!1)}function Gy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?mf:gf}function zy(e,t,n){return Gy(t,n)(e)}function gc(){let e=g();return e&&e[Pe].sanitizer}var Qy=/^>|^->|<!--|-->|--!>|<!-$/g,Zy=/(<|>)/g,Yy="\u200B$1\u200B";function Ky(e){return e.replace(Qy,t=>t.replace(Zy,Yy))}function yf(e){return e instanceof Function?e():e}function Jy(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var vf="ng-template";function Xy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Jy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(mc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function mc(e){return e.type===4&&e.value!==vf}function ev(e,t,n){let r=e.type===4&&!n?vf:e.value;return t===r}function tv(e,t,n){let r=4,o=e.attrs,i=o!==null?ov(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!we(r)&&!we(c))return!1;if(s&&we(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ev(e,c,n)||c===""&&t.length===1){if(we(r))return!1;s=!0}}else if(r&8){if(o===null||!Xy(e,o,c,n)){if(we(r))return!1;s=!0}}else{let l=t[++a],u=nv(c,o,mc(e),n);if(u===-1){if(we(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(we(r))return!1;s=!0}}}}return we(r)||s}function we(e){return(e&1)===0}function nv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return iv(t,e)}function If(e,t,n=!1){for(let r=0;r<t.length;r++)if(tv(e,t[r],n))return!0;return!1}function rv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function ov(e){for(let t=0;t<e.length;t++){let n=e[t];if(Pd(n))return t}return e.length}function iv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function sv(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function nd(e,t){return e?":not("+t.trim()+")":t}function av(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!we(s)&&(t+=nd(i,o),o=""),r=s,i=i||!we(r);n++}return o!==""&&(t+=nd(i,o)),t}function cv(e){return e.map(av).join(",")}function lv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!we(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ee={};function uv(e,t){return e.createText(t)}function dv(e,t,n){e.setValue(t,n)}function fv(e,t){return e.createComment(Ky(t))}function Ef(e,t,n){return e.createElement(t,n)}function ti(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Df(e,t,n){e.appendChild(t,n)}function rd(e,t,n,r,o){r!==null?ti(e,t,n,r,o):Df(e,t,n)}function Cf(e,t,n,r){e.removeChild(null,t,n,r)}function pv(e,t,n){e.setAttribute(t,"style",n)}function hv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Tf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&zm(e,t,r),o!==null&&hv(e,t,o),i!==null&&pv(e,t,i)}function yc(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,f=d+o,p=gv(d,f),h=typeof l=="function"?l():l;return p[I]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function gv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ee);return n}function mv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=yc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[le]=o,d[T]=r|4|128|8|64|1024,(l!==null||e&&e[T]&2048)&&(d[T]|=2048),Ws(d),d[U]=d[St]=e,d[j]=n,d[Pe]=s||e&&e[Pe],d[R]=a||e&&e[R],d[We]=c||e&&e[We]||null,d[ne]=i,d[Qn]=cy(),d[xt]=u,d[js]=l,d[J]=t.type==2?e[J]:d,d}function yv(e,t,n){let r=pe(t,e),o=mv(n),i=e[Pe].rendererFactory,s=Ic(e,vc(e,o,null,wf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function wf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function bf(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ic(e,t){return e[sn]?e[Fs][ue]=t:e[sn]=t,e[Fs]=t,t}function vv(e=1){_f(k(),g(),Te()+e,!1)}function _f(e,t,n,r){if(!r)if((t[T]&3)===3){let i=e.preOrderCheckHooks;i!==null&&qo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Wo(t,i,0,n)}lt(n)}var vi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(vi||{});function Va(e,t,n,r){let o=D(null);try{let[i,s,a]=e.inputs[n],c=null;(s&vi.SignalBased)!==0&&(c=t[i][H]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):xd(t,c,i,r)}finally{D(o)}}var ni=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ni||{}),Iv;function Ec(e,t){return Iv(e,t)}var sr=new Set,Ii=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ii||{}),wn=new x(""),od=new Set;function pt(e){od.has(e)||(od.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Mf=!1,Ha=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,wo()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(ut,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ze=Ha;function Nf(e){let t,n;function r(){e=Vt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function id(e){return queueMicrotask(()=>e()),()=>{e=Vt}}var Dc="isAngularZone",ri=Dc+"_ID",Ev=0,X=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ze(!1);onMicrotaskEmpty=new Ze(!1);onStable=new Ze(!1);onError=new Ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Mf}=t;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Tv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Dc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Dv,Vt,Vt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Dv={};function Cc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Cv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Nf(()=>{e.callbackScheduled=!1,Ba(e),e.isCheckStableRunning=!0,Cc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ba(e)}function Tv(e){let t=()=>{Cv(e)},n=Ev++;e._inner=e._inner.fork({name:"angular",properties:{[Dc]:!0,[ri]:n,[ri+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(wv(c))return r.invokeTask(i,s,a,c);try{return sd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ad(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return sd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bv(c)&&t(),ad(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ba(e),Cc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ba(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function sd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ad(e){e._nesting--,Cc(e)}var oi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ze;onMicrotaskEmpty=new Ze;onStable=new Ze;onError=new Ze;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function wv(e){return xf(e,"__ignore_ng_zone__")}function bv(e){return xf(e,"__scheduler_tick__")}function xf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ei=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tc=[0,1,2,3],wc=(()=>{class e{ngZone=E(X);scheduler=E(ce);errorHandler=E(Re,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(wn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(16),this.executing=!0;for(let r of Tc)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(17)}register(n){let{view:r}=n;r!==void 0?((r[Rt]??=[]).push(n),ct(r),r[T]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ii.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),ar=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Rt];t&&(this.view[Rt]=t.filter(n=>n!==this))}};function _v(e,t){let n=t?.injector??E(Ie);return pt("NgAfterNextRender"),Nv(e,n,t,!0)}function Mv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Nv(e,t,n,r){let o=t.get(Ei);o.impl??=t.get(wc);let i=t.get(wn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(jt,null,{optional:!0}),c=new ar(o.impl,Mv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Sf=new x("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Af(e,t,n){let r=e.get(Sf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function xv(e,t){let n=e.get(Sf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Sv(e,t){for(let[n,r]of t)Af(e,r.animateFns)}function cd(e,t,n,r){let o=e?.[kt]?.enter;t!==null&&o&&o.has(n.index)&&Sv(r,o)}function un(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;De(o)?c=o:Fe(o)&&(l=!0,o=o[le]);let u=fe(o);e===0&&r!==null?(cd(a,r,i,n),s==null?Df(t,r,u):ti(t,r,u,s||null,!0)):e===1&&r!==null?(cd(a,r,i,n),ti(t,r,u,s||null,!0)):e===2?ld(a,i,n,d=>{Cf(t,u,l,d)}):e===3&&ld(a,i,n,()=>{t.destroyNode(u)}),c!=null&&Bv(t,e,n,c,i,r,s)}}function Av(e,t){Rf(e,t),t[le]=null,t[ne]=null}function Rv(e,t,n,r,o,i){r[le]=o,r[ne]=t,Ci(e,r,n,1,o,i)}function Rf(e,t){t[Pe].changeDetectionScheduler?.notify(9),Ci(e,t,t[R],2,null,null)}function kv(e){let t=e[sn];if(!t)return ma(e[I],e);for(;t;){let n=null;if(Fe(t))n=t[sn];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[ue]&&t!==e;)Fe(t)&&ma(t[I],t),t=t[U];t===null&&(t=e),Fe(t)&&ma(t[I],t),n=t&&t[ue]}t=n}}function bc(e,t){let n=e[Ot],r=n.indexOf(t);n.splice(r,1)}function Di(e,t){if(Pt(t))return;let n=t[R];n.destroyNode&&Ci(e,t,n,3,null,null),kv(t)}function ma(e,t){if(Pt(t))return;let n=D(null);try{t[T]&=-129,t[T]|=256,t[oe]&&rt(t[oe]),Lv(e,t),Pv(e,t),t[I].type===1&&t[R].destroy();let r=t[st];if(r!==null&&De(t[U])){r!==t[U]&&bc(r,t);let o=t[Le];o!==null&&o.detachView(e)}Na(t)}finally{D(n)}}function ld(e,t,n,r){let o=e?.[kt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&sr.add(e),Af(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Ov(e,r)}else e&&sr.delete(e),r(!1)},o)}function Ov(e,t){let n=e[kt]?.running;if(n){n.then(()=>{e[kt].running=void 0,sr.delete(e),t(!0)});return}t(!1)}function Pv(e,t){let n=e.cleanup,r=t[on];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[on]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ge];if(i!==null){t[Ge]=null;for(let s of i)s.destroy()}}function Lv(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Bt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(4,a,c);try{c.call(a)}finally{O(5,a,c)}}else{O(4,o,i);try{i.call(o)}finally{O(5,o,i)}}}}}function kf(e,t,n){return Fv(e,t.parent,n)}function Fv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[le];if(ze(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===hn.None||o===hn.Emulated)return null}return pe(r,n)}function Of(e,t,n){return Vv(e,t,n)}function jv(e,t,n){return e.type&40?pe(e,n):null}var Vv=jv,ud;function _c(e,t,n,r){let o=kf(e,r,t),i=t[R],s=r.parent||t[ne],a=Of(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)rd(i,o,n[c],a,!1);else rd(i,o,n,a,!1);ud!==void 0&&ud(i,r,t,n,o)}function rr(e,t){if(t!==null){let n=t.type;if(n&3)return pe(t,e);if(n&4)return $a(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return rr(e,r);{let o=e[t.index];return De(o)?$a(-1,o):fe(o)}}else{if(n&128)return rr(e,t.next);if(n&32)return Ec(t,e)()||fe(e[t.index]);{let r=Pf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=it(e[J]);return rr(o,r)}else return rr(e,t.next)}}}return null}function Pf(e,t){if(t!==null){let r=e[J][ne],o=t.projection;return r.projection[o]}return null}function $a(e,t){let n=V+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return rr(r,o)}return t[at]}function Mc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[We];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&pn(fe(c),r),n.flags|=2),!gi(n))if(l&8)Mc(e,t,n.child,r,o,i,!1),un(t,e,a,o,c,n,i,r);else if(l&32){let u=Ec(n,r),d;for(;d=u();)un(t,e,a,o,d,n,i,r);un(t,e,a,o,c,n,i,r)}else l&16?Lf(e,t,r,n,o,i):un(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ci(e,t,n,r,o,i){Mc(n,r,e.firstChild,t,o,i,!1)}function Hv(e,t,n){let r=t[R],o=kf(e,n,t),i=n.parent||t[ne],s=Of(i,n,t);Lf(r,0,t,n,o,s)}function Lf(e,t,n,r,o,i){let s=n[J],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];un(t,e,n[We],o,u,r,i,n)}else{let l=c,u=s[U];zd(r)&&(l.flags|=128),Mc(e,t,l,u,o,i,!0)}}function Bv(e,t,n,r,o,i,s){let a=r[at],c=fe(r);a!==c&&un(t,e,n,i,a,o,s);for(let l=V;l<r.length;l++){let u=r[l];Ci(u[I],u,e,t,i,a)}}function $v(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ni.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ni.Important),e.setStyle(n,r,o,i))}}function Ff(e,t,n,r,o){let i=Te(),s=r&2;try{lt(-1),s&&t.length>P&&_f(e,t,P,!1),O(s?2:0,o,n),n(r,o)}finally{lt(i),O(s?3:1,o,n)}}function Ti(e,t,n){zv(e,t,n),(n.flags&64)===64&&Qv(e,t,n)}function vr(e,t,n=pe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Uv(e,t,n,r){let i=r.get(rf,nf)||n===hn.ShadowDom,s=e.selectRootElement(t,i);return qv(s),s}function qv(e){Wv(e)}var Wv=()=>null;function Gv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function jf(e,t,n,r,o,i){let s=t[I];if(wi(e,s,t,n,r)){ze(e)&&Vf(t,e.index);return}e.type&3&&(n=Gv(n)),Nc(e,t,n,r,o,i)}function Nc(e,t,n,r,o,i){if(e.type&3){let s=pe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Vf(e,t){let n=he(t,e);n[T]&16||(n[T]|=64)}function zv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ze(n)&&yv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Xo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ir(t,e,s,n);if(pn(c,t),i!==null&&Kv(t,s-r,c,a,n,i),de(a)){let l=he(n.index,t);l[j]=ir(t,e,s,n)}}}function Qv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ou();try{lt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];So(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Zv(c,l)}}finally{lt(-1),So(s)}}function Zv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function xc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];If(t,i.selectors,!1)&&(r??=[],de(i)?r.unshift(i):r.push(i))}return r}function Yv(e,t,n,r,o,i){let s=pe(e,t);Hf(t[R],s,i,e.value,n,r,o)}function Hf(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?qe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Kv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Va(r,n,c,l)}}function Sc(e,t,n,r,o){let i=P+n,s=t[I],a=o(s,t,e,r,n);t[i]=a,Lt(e,!0);let c=e.type===2;return c?(Tf(t[R],a,e),(bu()===0||an(e))&&pn(a,t),_u()):pn(a,t),Oo()&&(!c||!gi(e))&&_c(s,t,a,e),e}function Ac(e){let t=e;return ta()?na():(t=t.parent,Lt(t,!1)),t}function Jv(e,t,n){return(e===null||de(e))&&(n=Us(n[t.index])),n[R]}function Xv(e,t){let n=e[We];if(!n)return;let r;try{r=n.get(Qe,null)}catch{r=null}r?.(t)}function wi(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Va(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Va(u,l,r,o),a=!0}return a}function eI(e,t){let n=he(t,e),r=n[I];tI(r,n);let o=n[le];o!==null&&n[xt]===null&&(n[xt]=of(o,n[We])),O(18),Rc(r,n,n[j]),O(19,n[j])}function tI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Rc(e,t,n){Ro(t);try{let r=e.viewQuery;r!==null&&Sa(1,r,n);let o=e.template;o!==null&&Ff(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Le]?.finishViewCreation(e),e.staticContentQueries&&sf(e,t),e.staticViewQueries&&Sa(2,e.viewQuery,n);let i=e.components;i!==null&&nI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[T]&=-5,ko()}}function nI(e,t){for(let n=0;n<t.length;n++)eI(e,t[n])}function Ir(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[T]&4096?4096:16,c=vc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[st]=l;let u=e[Le];return u!==null&&(c[Le]=u.createEmbeddedView(i)),Rc(i,c,n),c}finally{D(o)}}function gn(e,t){return!t||t.firstChild===null||zd(e)}function cr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(fe(i)),De(i)&&Bf(i,r);let s=n.type;if(s&8)cr(e,t,n.child,r);else if(s&32){let a=Ec(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Pf(t,n);if(Array.isArray(a))r.push(...a);else{let c=it(t[J]);cr(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Bf(e,t){for(let n=V;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&cr(r[I],r,o,t)}e[at]!==e[le]&&t.push(e[at])}function $f(e){if(e[Rt]!==null){for(let t of e[Rt])t.impl.addSequence(t);e[Rt].length=0}}var Uf=[];function rI(e){return e[oe]??oI(e)}function oI(e){let t=Uf.pop()??Object.create(sI);return t.lView=e,t}function iI(e){e.lView[oe]!==e&&(e.lView=null,Uf.push(e))}var sI=G(W({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ct(e.lView)},consumerOnSignalRead(){this.lView[oe]=this}});function aI(e){let t=e[oe]??Object.create(cI);return t.lView=e,t}var cI=G(W({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=it(e.lView);for(;t&&!qf(t[I]);)t=it(t);t&&Gs(t)},consumerOnSignalRead(){this.lView[oe]=this}});function qf(e){return e.type!==2}function Wf(e){if(e[Ge]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ge])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[T]&8192)}}var lI=100;function Gf(e,t=0){let r=e[Pe].rendererFactory,o=!1;o||r.begin?.();try{uI(e,t)}finally{o||r.end?.()}}function uI(e,t){let n=oa();try{ln(!0),Ua(e,t);let r=0;for(;Xn(e);){if(r===lI)throw new w(103,!1);r++,Ua(e,1)}}finally{ln(n)}}function dI(e,t,n,r){if(Pt(t))return;let o=t[T],i=!1,s=!1;Ro(t);let a=!0,c=null,l=null;i||(qf(e)?(l=rI(t),c=nt(l)):so()===null?(a=!1,l=aI(t),c=nt(l)):t[oe]&&(rt(t[oe]),t[oe]=null));try{Ws(t),Au(e.bindingStartIndex),n!==null&&Ff(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&qo(t,p,null)}else{let p=e.preOrderHooks;p!==null&&Wo(t,p,0,null),ha(t,0)}if(s||fI(t),Wf(t),zf(t,0),e.contentQueries!==null&&sf(e,t),!i)if(u){let p=e.contentCheckHooks;p!==null&&qo(t,p)}else{let p=e.contentHooks;p!==null&&Wo(t,p,1),ha(t,1)}hI(e,t);let d=e.components;d!==null&&Zf(t,d,0);let f=e.viewQuery;if(f!==null&&Sa(2,f,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&qo(t,p)}else{let p=e.viewHooks;p!==null&&Wo(t,p,2),ha(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bo]){for(let p of t[bo])p();t[bo]=null}i||($f(t),t[T]&=-73)}catch(u){throw i||ct(t),u}finally{l!==null&&(Et(l,c),a&&iI(l)),ko()}}function zf(e,t){for(let n=Zd(e);n!==null;n=Yd(n))for(let r=V;r<n.length;r++){let o=n[r];Qf(o,t)}}function fI(e){for(let t=Zd(e);t!==null;t=Yd(t)){if(!(t[T]&2))continue;let n=t[Ot];for(let r=0;r<n.length;r++){let o=n[r];Gs(o)}}}function pI(e,t,n){O(18);let r=he(t,e);Qf(r,n),O(19,r[j])}function Qf(e,t){_o(e)&&Ua(e,t)}function Ua(e,t){let r=e[I],o=e[T],i=e[oe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Dt(i)),s||=!1,i&&(i.dirty=!1),e[T]&=-9217,s)dI(r,e,r.template,e[j]);else if(o&8192){let a=D(null);try{Wf(e),zf(e,1);let c=r.components;c!==null&&Zf(e,c,1),$f(e)}finally{D(a)}}}function Zf(e,t,n){for(let r=0;r<t.length;r++)pI(e,t[r],n)}function hI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)lt(~o);else{let i=o,s=n[++r],a=n[++r];ku(s,i);let c=t[i];O(24,c),a(2,c),O(25,c)}}}finally{lt(-1)}}function kc(e,t){let n=oa()?64:1088;for(e[Pe].changeDetectionScheduler?.notify(t);e;){e[T]|=n;let r=it(e);if(cn(e)&&!r)return e;e=r}return null}function Yf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Kf(e,t){let n=V+t;if(n<e.length)return e[n]}function Er(e,t,n,r=!0){let o=t[I];if(gI(o,t,e,n),r){let s=$a(n,e),a=t[R],c=a.parentNode(e[at]);c!==null&&Rv(o,e[ne],a,t,c,s)}let i=t[xt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Jf(e,t){let n=lr(e,t);return n!==void 0&&Di(n[I],n),n}function lr(e,t){if(e.length<=V)return;let n=V+t,r=e[n];if(r){let o=r[st];o!==null&&o!==e&&bc(o,r),t>0&&(e[n-1][ue]=r[ue]);let i=Gn(e,V+t);Av(r[I],r);let s=i[Le];s!==null&&s.detachView(i[I]),r[U]=null,r[ue]=null,r[T]&=-129}return r}function gI(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][ue]=t),r<i-V?(t[ue]=n[o],Ns(n,V+r,t)):(n.push(t),t[ue]=null),t[U]=n;let s=t[st];s!==null&&n!==s&&Xf(s,t);let a=t[Le];a!==null&&a.insertView(e),Mo(t),t[T]|=128}function Xf(e,t){let n=e[Ot],r=t[U];if(Fe(r))e[T]|=2;else{let o=r[U][J];t[J]!==o&&(e[T]|=2)}n===null?e[Ot]=[t]:n.push(t)}var dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[I];return cr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Pt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(De(t)){let n=t[Zn],r=n?n.indexOf(this):-1;r>-1&&(lr(t,r),Gn(n,r))}this._attachedToViewContainer=!1}Di(this._lView[I],this._lView)}onDestroy(t){zs(this._lView,t)}markForCheck(){kc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[T]&=-129}reattach(){Mo(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,Gf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=cn(this._lView),n=this._lView[st];n!==null&&!t&&bc(n,this._lView),Rf(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let n=cn(this._lView),r=this._lView[st];r!==null&&!n&&Xf(r,this._lView),Mo(this._lView)}};var ur=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=mI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Ir(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new dt(i)}}return e})();function mI(){return bi(B(),g())}function bi(e,t){return e.type&4?new ur(t,e,Tn(e,t)):null}function qt(e,t,n,r,o){let i=e.data[t];if(i===null)i=yI(e,t,n,r,o),Ru()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=xu();i.injectorIndex=s===null?-1:s.injectorIndex}return Lt(i,!0),i}function yI(e,t,n,r,o){let i=ea(),s=ta(),a=s?i:i&&i.parent,c=e.data[t]=II(e,a,n,t,r,o);return vI(e,c,i,s),c}function vI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function II(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ks()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var uk=new RegExp(`^(\\d+)*(${vy}|${yy})*(.*)`);function EI(e){let t=e[Hs]??[],r=e[U][R],o=[];for(let i of t)i.data[tf]!==void 0?o.push(i):DI(i,r);e[Hs]=o}function DI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[ef];for(;n<o;){let i=r.nextSibling;Cf(t,r,!1),r=i,n++}}}var CI=()=>null,TI=()=>null;function ii(e,t){return CI(e,t)}function ep(e,t,n){return TI(e,t,n)}var tp=class{},_i=class{},qa=class{resolveComponentFactory(t){throw new w(917,!1)}},Dr=class{static NULL=new qa},dr=class{},wI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>bI()}return e})();function bI(){let e=g(),t=B(),n=he(t.index,e);return(Fe(n)?n:e)[R]}var np=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();var zo={},Wa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,zo,r);return o!==zo||n===zo?o:this.parentInjector.get(t,n,r)}};function si(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=mo(o,a);else if(i==2){let c=a,l=t[++s];r=mo(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Cr(e,t=0){let n=g();if(n===null)return re(e,t);let r=B();return $d(r,n,$(e),t)}function _I(){let e="invalid";throw new Error(e)}function rp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}xI(e,t,n,a,i,c,l)}i!==null&&r!==null&&MI(n,r,i)}function MI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new w(-301,!1);r.push(t[o],i)}}function NI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function xI(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let f=0;f<a;f++){let p=r[f];!c&&de(p)&&(c=!0,NI(e,n,f)),_a(Xo(n,t),e,p.type)}PI(n,e.data.length,a);for(let f=0;f<a;f++){let p=r[f];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=bf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(n.mergedAttrs=fn(n.mergedAttrs,p.hostAttrs),AI(e,n,t,d,p),OI(d,p,o),s!==null&&s.has(p)){let[C,S]=s.get(p);n.directiveToIndex.set(p.type,[d,C+n.directiveStart,S+n.directiveStart])}else(i===null||!i.has(p))&&n.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(n.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(n.flags|=64);let h=p.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}SI(e,n,i)}function SI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))dd(0,t,o,r),dd(1,t,o,r),pd(t,r,!1);else{let i=n.get(o);fd(0,t,i,r),fd(1,t,i,r),pd(t,r,!0)}}}function dd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),op(t,i)}}function fd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),op(t,s)}}function op(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function pd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||mc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function AI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ot(o.type,!0)),s=new Bt(i,de(o),Cr,null);e.blueprint[r]=s,n[r]=s,RI(e,t,r,bf(e,n,o.hostVars,ee),o)}function RI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;kI(s)!=a&&s.push(a),s.push(n,r,i)}}function kI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function OI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;de(t)&&(n[""]=e)}}function PI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Oc(e,t,n,r,o,i,s,a){let c=t[I],l=c.consts,u=ie(l,s),d=qt(c,e,n,r,u);return i&&rp(c,t,d,ie(l,a),o),d.mergedAttrs=fn(d.mergedAttrs,d.attrs),d.attrs!==null&&si(d,d.attrs,!1),d.mergedAttrs!==null&&si(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Pc(e,t){kd(e,t),Bs(t)&&e.queries.elementEnd(t)}function LI(e,t,n,r,o,i){let s=t.consts,a=ie(s,o),c=qt(t,e,n,r,a);if(c.mergedAttrs=fn(c.mergedAttrs,c.attrs),i!=null){let l=ie(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&si(c,c.attrs,!1),c.mergedAttrs!==null&&si(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Lc(e){return Mi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function ip(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Mi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Je(e,t,n){return e[t]=n}function Tr(e,t){return e[t]}function Q(e,t,n){if(n===ee)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function mn(e,t,n,r){let o=Q(e,t,n);return Q(e,t+1,r)||o}function sp(e,t,n,r,o){let i=mn(e,t,n,r);return Q(e,t+2,o)||i}function yn(e,t,n,r,o,i){let s=mn(e,t,n,r);return mn(e,t+2,o,i)||s}function Qo(e,t,n){return function r(o){let i=ze(e)?he(e.index,t):t;kc(i,5);let s=t[j],a=hd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=hd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function hd(e,t,n,r){let o=D(null);try{return O(6,t,n),n(r)!==!1}catch(i){return Xv(e,i),!1}finally{O(7,t,n),D(o)}}function ap(e,t,n,r,o,i,s,a){let c=an(e),l=!1,u=null;if(!r&&c&&(u=jI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=pe(e,n),f=r?r(d):d;Dy(n,f,i,a);let p=o.listen(f,i,a);if(!FI(i)){let h=r?C=>r(fe(C[e.index])):e.index;cp(h,t,n,i,a,p,!1)}}return l}function FI(e){return e.startsWith("animation")||e.startsWith("transition")}function jI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[on],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function cp(e,t,n,r,o,i,s){let a=t.firstCreatePass?Zs(t):null,c=Qs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function gd(e,t,n,r,o,i){let s=t[n],a=t[I],l=a.data[n].outputs[r],d=s[l].subscribe(i);cp(e.index,a,t,o,i,d,!0)}var Ga=Symbol("BINDING");var ai=class extends Dr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Oe(t);return new ft(n,this.ngModule)}};function VI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&vi.SignalBased)!==0};return o&&(i.transform=o),i})}function HI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function BI(e,t,n){let r=t instanceof ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Wa(n,r):n}function $I(e){let t=e.get(dr,null);if(t===null)throw new w(407,!1);let n=e.get(np,null),r=e.get(ce,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function UI(e,t){let n=lp(e);return Ef(t,n,n==="svg"?$s:n==="math"?Iu:null)}function lp(e){return(e.selectors[0][0]||"div").toLowerCase()}var ft=class extends _i{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=VI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=HI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=cv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(22);let a=D(null);try{let c=this.componentDef,l=qI(r,c,s,i),u=BI(c,o||this.ngModule,t),d=$I(u),f=d.rendererFactory.createRenderer(null,c),p=r?Uv(f,r,c.encapsulation,u):UI(c,f),h=s?.some(md)||i?.some(_=>typeof _!="function"&&_.bindings.some(md)),C=vc(null,l,null,512|wf(c),null,null,d,f,u,null,of(p,u,!0));C[P]=p,Ro(C);let S=null;try{let _=Oc(P,C,2,"#host",()=>l.directiveRegistry,!0,0);Tf(f,p,_),pn(p,C),Ti(l,C,_),pc(l,_,C),Pc(l,_),n!==void 0&&GI(_,this.ngContentSelectors,n),S=he(_.index,C),C[j]=S[j],Rc(l,C,null)}catch(_){throw S!==null&&Na(S),Na(C),_}finally{O(23),ko()}return new ci(this.componentType,C,!!h)}finally{D(a)}}};function qI(e,t,n,r){let o=e?["ng-version","20.3.13"]:lv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ga].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let f of d.bindings){a+=f[Ga].requiredVars;let p=u+1;f.create&&(f.targetIdx=p,(i??=[]).push(f)),f.update&&(f.targetIdx=p,(s??=[]).push(f))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,f=Co(d);c.push(f)}return yc(0,null,WI(i,s),1,a,c,null,null,null,[o],null)}function WI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function md(e){let t=e[Ga].kind;return t==="input"||t==="twoWay"}var ci=class extends tp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Yn(n[I],P),this.location=Tn(this._tNode,n),this.instance=he(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new dt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=wi(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=he(r.index,o);kc(s,1)}get injector(){return new Ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function GI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Ni=(()=>{class e{static __NG_ELEMENT_ID__=zI}return e})();function zI(){let e=B();return dp(e,g())}var QI=Ni,up=class extends QI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Tn(this._hostTNode,this._hostLView)}get injector(){return new Ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=uc(this._hostTNode,this._hostLView);if(Ld(t)){let n=Ko(t,this._hostLView),r=Yo(t),o=n[I].data[r+8];return new Ht(o,n)}else return new Ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ii(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,gn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!jm(t),l;if(c)l=n;else{let S=n||{};l=S.index,r=S.injector,o=S.projectableNodes,i=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let u=c?t:new ft(Oe(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let _=(c?d:this.parentInjector).get(ae,null);_&&(i=_)}let f=Oe(u.componentType??{}),p=ii(this._lContainer,f?.id??null),h=p?.firstChild??null,C=u.create(d,o,h,i,s,a);return this.insertImpl(C.hostView,l,gn(this._hostTNode,p)),C}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Du(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new up(c,c[ne],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Er(s,o,i,r),t.attachToViewContainerRef(),Ns(ya(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=lr(this._lContainer,n);r&&(Gn(ya(this._lContainer),n),Di(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=lr(this._lContainer,n);return r&&Gn(ya(this._lContainer),n)!=null?new dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yd(e){return e[Zn]}function ya(e){return e[Zn]||(e[Zn]=[])}function dp(e,t){let n,r=t[e.index];return De(r)?n=r:(n=Yf(r,t,null,e),t[e.index]=n,Ic(t,n)),YI(n,t,e,r),new up(n,e,t)}function ZI(e,t){let n=e[R],r=n.createComment(""),o=pe(t,e),i=n.parentNode(o);return ti(n,i,r,n.nextSibling(o),!1),r}var YI=XI,KI=()=>!1;function JI(e,t,n){return KI(e,t,n)}function XI(e,t,n,r){if(e[at])return;let o;n.type&8?o=fe(r):o=ZI(t,n),e[at]=o}var za=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Qa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)jc(t,n).matches!==null&&this.queries[n].setDirty()}},li=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=oE(t):this.predicate=t}},Za=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ya=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,eE(n,i)),this.matchTNodeWithReadOption(t,n,Go(n,t,i,!1,!1))}else r===ur?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Go(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===gr||o===Ni||o===ur&&n.type&4)this.addMatch(n.index,-2);else{let i=Go(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function eE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function tE(e,t){return e.type&11?Tn(e,t):e.type&4?bi(e,t):null}function nE(e,t,n,r){return n===-1?tE(t,e):n===-2?rE(e,t,r):ir(e,e[I],n,t)}function rE(e,t,n){if(n===gr)return Tn(t,e);if(n===ur)return bi(t,e);if(n===Ni)return dp(t,e)}function fp(e,t,n,r){let o=t[Le].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(nE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ka(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=fp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=V;d<u.length;d++){let f=u[d];f[st]===f[U]&&Ka(f[I],f,l,r)}if(u[Ot]!==null){let d=u[Ot];for(let f=0;f<d.length;f++){let p=d[f];Ka(p[I],p,l,r)}}}}}return r}function Fc(e,t){return e[Le].queries[t].queryList}function pp(e,t,n){let r=new ei((n&4)===4);return wu(e,t,r,r.destroy),(t[Le]??=new Qa).queries.push(new za(r))-1}function hp(e,t,n){let r=k();return r.firstCreatePass&&(mp(r,new li(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),pp(r,g(),t)}function gp(e,t,n,r){let o=k();if(o.firstCreatePass){let i=B();mp(o,new li(t,n,r),i.index),iE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return pp(o,g(),n)}function oE(e){return e.split(",").map(t=>t.trim())}function mp(e,t,n){e.queries===null&&(e.queries=new Za),e.queries.track(new Ya(t,n))}function iE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function jc(e,t){return e.queries.getByIndex(t)}function yp(e,t){let n=e[I],r=jc(n,t);return r.crossesNgTemplate?Ka(n,e,t,[]):fp(n,e,r,t)}function Vc(e,t,n){let r,o=jn(()=>{r._dirtyCounter();let i=sE(r,e);if(t&&i===void 0)throw new w(-951,!1);return i});return r=o[H],r._dirtyCounter=Po(0),r._flatValue=void 0,o}function Hc(e){return Vc(!0,!1,e)}function Bc(e){return Vc(!0,!0,e)}function vp(e){return Vc(!1,!1,e)}function Ip(e,t){let n=e[H];n._lView=g(),n._queryIndex=t,n._queryList=Fc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function sE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[T]&4)return t?void 0:K;let o=Fc(n,r),i=yp(n,r);return o.reset(i,Gd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var vn=class{},Ep=class{};function aE(e,t){return new fr(e,t??null,[])}var fr=class extends vn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ai(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=As(t);this._bootstrapComponents=yf(i.bootstrap),this._r3Injector=ca(t,n,[{provide:vn,useValue:this},{provide:Dr,useValue:this.componentFactoryResolver},...r],Ue(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ui=class extends Ep{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new fr(this.moduleType,t,[])}};var pr=class extends vn{injector;componentFactoryResolver=new ai(this);instance=null;constructor(t){super();let n=new _t([...t.providers,{provide:vn,useValue:this},{provide:Dr,useValue:this.componentFactoryResolver}],t.parent||rn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Dp(e,t,n=null){return new pr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var cE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ks(!1,n.type),o=r.length>0?Dp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(re(ae))})}return e})();function lE(e){return Cn(()=>{let t=Tp(e),n=G(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===dc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(cE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||hn.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&pt("NgStandalone"),wp(n);let r=e.dependencies;return n.directiveDefs=vd(r,uE),n.pipeDefs=vd(r,hu),n.id=gE(n),n})}function uE(e){return Oe(e)||Co(e)}function Cp(e){return Cn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dE(e,t){if(e==null)return Ee;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=vi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function fE(e){if(e==null)return Ee;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function pE(e){return Cn(()=>{let t=Tp(e);return wp(t),t})}function hE(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Tp(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ee,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:dE(e.inputs,t),outputs:fE(e.outputs),debugInfo:null}}function wp(e){e.features?.forEach(t=>t(e))}function vd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function gE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function mE(e){return Object.getPrototypeOf(e.prototype).constructor}function bp(e){let t=mE(e.type),n=!0,r=[e];for(;t;){let o;if(de(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new w(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=va(e.inputs),s.declaredInputs=va(e.declaredInputs),s.outputs=va(e.outputs);let a=o.hostBindings;a&&DE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&IE(e,c),l&&EE(e,l),yE(e,o),iu(e.outputs,o.outputs),de(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===bp&&(n=!1)}}t=Object.getPrototypeOf(t)}vE(r)}function yE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function vE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=fn(o.hostAttrs,n=fn(n,o.hostAttrs))}}function va(e){return e===Ee?{}:e===K?[]:e}function IE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function EE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function DE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function CE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=TE,n.hostDirectives=r?e.map(Ja):[e]):r?n.hostDirectives.unshift(...e.map(Ja)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function TE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,_p(s,t,r),o.set(s,[a,t.length-1])}i===0&&de(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function _p(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Id(Ja(i),t,n)}else Id(r,t,n)}function Id(e,t,n){let r=Co(e.directive);wE(r.declaredInputs,e.inputs),_p(r,t,n),n.set(r,e),t.push(r)}function Ja(e){return typeof e=="function"?{directive:$(e),inputs:Ee,outputs:Ee}:{directive:$(e.directive),inputs:Ed(e.inputs),outputs:Ed(e.outputs)}}function Ed(e){if(e===void 0||e.length===0)return Ee;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function wE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Mp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=fn(e.mergedAttrs,e.attrs);let u=e.tView=yc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Lt(e,!1);let c=_E(n,t,e,r);Oo()&&_c(n,t,c,e),pn(c,t);let l=Yf(c,t,c,e);t[r+P]=l,Ic(t,l),JI(l,e,t)}function bE(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,f;return t.firstCreatePass?(f=qt(t,d,4,s||null,a||null),No()&&rp(t,e,f,ie(t.consts,l),xc),kd(t,f)):f=t.data[d],Mp(f,e,t,n,r,o,i,c),an(f)&&Ti(t,e,f),l!=null&&vr(e,f,u),f}function In(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,f;if(t.firstCreatePass){if(f=qt(t,d,4,s||null,a||null),l!=null){let p=ie(t.consts,l);f.localNames=[];for(let h=0;h<p.length;h+=2)f.localNames.push(p[h],-1)}}else f=t.data[d];return Mp(f,e,t,n,r,o,i,c),l!=null&&vr(e,f,u),f}function Np(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=ie(l.consts,i);return bE(c,l,e,t,n,r,o,u,void 0,s,a),Np}function xp(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=ie(l.consts,i);return In(c,l,e,t,n,r,o,u,void 0,s,a),xp}var _E=ME;function ME(e,t,n,r){return tr(!0),t[R].createComment("")}var NE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Sp=new x(""),Ap=new x(""),xE=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,wo()&&(this._destroyRef=E(je,{optional:!0})??void 0),$c||(kp(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(re(X),re(Rp),re(Ap))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),Rp=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return $c?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function kp(e){$c=e}var $c;function Uc(e){return!!e&&typeof e.then=="function"}function Op(e){return!!e&&typeof e.subscribe=="function"}var qc=new x("");function SE(e){return Rs([{provide:qc,multi:!0,useValue:e}])}var Wc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(qc,{optional:!0})??[];injector=E(Ie);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=To(this.injector,o);if(Uc(i))n.push(i);else if(Op(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pp=new x("");function Lp(){os(()=>{let e="";throw new w(600,e)})}function Fp(e){return e.isBoundToModule}var AE=10;var bn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(Qe);afterRenderManager=E(Ei);zonelessEnabled=E(Fo);rootEffectScheduler=E(nr);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new se;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(ut);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(et(n=>!n))}constructor(){E(wn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ie.NULL){return this._injector.get(X).run(()=>{O(10);let s=n instanceof _i;if(!this._injector.get(Wc).done){let h="";throw new w(405,h)}let c;s?c=n:c=this._injector.get(Dr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Fp(c)?void 0:this._injector.get(vn),u=r||c.selector,d=c.create(o,[],u,l),f=d.location.nativeElement,p=d.injector.get(Sp,null);return p?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),or(this.components,d),p?.unregisterApplication(f)}),this._loadComponent(d),O(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ii.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),O(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(dr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<AE;)O(14),this.synchronizeOnce(),O(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Xn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Gf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Xn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;or(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Pp,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>or(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function or(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jp(e,t){let n=g(),r=Ce();if(Q(n,r,t)){let o=k(),i=Ft();if(wi(i,o,n,e,t))ze(i)&&Vf(n,i.index);else{let a=pe(i,n);Hf(n[R],a,null,i.value,e,t,null)}}return jp}function Vp(e,t,n,r){let o=g(),i=Ce();if(Q(o,i,t)){let s=k(),a=Ft();Yv(a,o,e,t,n,r)}return Vp}var yk=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function RE(){return g()[J][j]}var Xa=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ia(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function kE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Ia(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let f=e.at(s),p=t[c],h=Ia(s,f,c,p,n);if(h!==0){h<0&&e.updateValue(s,p),s--,c--;continue}let C=n(i,l),S=n(s,f),_=n(i,u);if(Object.is(_,S)){let be=n(c,p);Object.is(be,C)?(e.swap(i,s),e.updateValue(s,p),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new di,o??=Cd(e,i,s,n),ec(e,r,i,_))e.updateValue(i,u),i++,s++;else if(o.has(_))r.set(C,e.detach(i)),s--;else{let be=e.create(i,t[i]);e.attach(i,be),i++,s++}}for(;i<=c;)Dd(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,f=Ia(i,u,i,d,n);if(f!==0)f<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new di,o??=Cd(e,i,s,n);let p=n(i,d);if(ec(e,r,i,p))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(p))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Dd(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function ec(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Dd(e,t,n,r,o){if(ec(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Cd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var di=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function OE(e,t,n,r,o,i,s,a){pt("NgControlFlow");let c=g(),l=k(),u=ie(l.consts,i);return In(c,l,e,t,n,r,o,u,256,s,a),Gc}function Gc(e,t,n,r,o,i,s,a){pt("NgControlFlow");let c=g(),l=k(),u=ie(l.consts,i);return In(c,l,e,t,n,r,o,u,512,s,a),Gc}function PE(e,t){pt("NgControlFlow");let n=g(),r=Ce(),o=n[r]!==ee?n[r]:-1,i=o!==-1?fi(n,P+o):void 0,s=0;if(Q(n,r,e)){let a=D(null);try{if(i!==void 0&&Jf(i,s),e!==-1){let c=P+e,l=fi(n,c),u=oc(n[I],c),d=ep(l,u,n),f=Ir(n,u,t,{dehydratedView:d});Er(l,f,s,gn(u,d))}}finally{D(a)}}else if(i!==void 0){let a=Kf(i,s);a!==void 0&&(a[j]=t)}}var tc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function LE(e){return e}function FE(e,t){return t}var nc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function jE(e,t,n,r,o,i,s,a,c,l,u,d,f){pt("NgControlFlow");let p=g(),h=k(),C=c!==void 0,S=g(),_=a?s.bind(S[J][j]):s,be=new nc(C,_);S[P+e]=be,In(p,h,e+1,t,n,r,o,ie(h.consts,i),256),C&&In(p,h,e+2,c,l,u,d,ie(h.consts,f),512)}var rc=class extends Xa{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[xt];this.needsIndexUpdate||=t!==this.length,Er(this.lContainer,n,t,gn(this.templateTNode,r)),HE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,BE(this.lContainer,t),$E(this.lContainer,t)}create(t,n){let r=ii(this.lContainer,this.templateTNode.tView.ssrId),o=Ir(this.hostLView,this.templateTNode,new tc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Di(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return UE(this.lContainer,t)}};function VE(e){let t=D(null),n=Te();try{let r=g(),o=r[I],i=r[n],s=n+1,a=fi(r,s);if(i.liveCollection===void 0){let l=oc(o,s);i.liveCollection=new rc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(kE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ce(),u=c.length===0;if(Q(r,l,u)){let d=n+2,f=fi(r,d);if(u){let p=oc(o,d),h=ep(f,p,r),C=Ir(r,p,void 0,{dehydratedView:h});Er(f,C,0,gn(p,h))}else o.firstUpdatePass&&EI(f),Jf(f,0)}}}finally{D(t)}}function fi(e,t){return e[t]}function HE(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[kt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[We];xv(i,o),sr.delete(r),o.detachedLeaveAnimationFns=void 0}}function BE(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[kt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function $E(e,t){return lr(e,t)}function UE(e,t){return Kf(e,t)}function oc(e,t){return Yn(e,t)}function Hp(e,t,n){let r=g(),o=Ce();if(Q(r,o,t)){let i=k(),s=Ft();jf(s,r,e,t,r[R],n)}return Hp}function ic(e,t,n,r,o){wi(t,e,n,o?"class":"style",r)}function zc(e,t,n,r){let o=g(),i=o[I],s=e+P,a=i.firstCreatePass?Oc(s,o,2,t,xc,No(),n,r):i.data[s];if(Sc(a,o,e,t,Up),an(a)){let c=o[I];Ti(c,o,a),pc(c,a,o)}return r!=null&&vr(o,a),zc}function Qc(){let e=k(),t=B(),n=Ac(t);return e.firstCreatePass&&Pc(e,n),Js(n)&&Xs(),Ys(),n.classesWithoutHost!=null&&Wm(n)&&ic(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Gm(n)&&ic(e,n,g(),n.stylesWithoutHost,!1),Qc}function Bp(e,t,n,r){return zc(e,t,n,r),Qc(),Bp}function Zc(e,t,n,r){let o=g(),i=o[I],s=e+P,a=i.firstCreatePass?LI(s,i,2,t,n,r):i.data[s];return Sc(a,o,e,t,Up),r!=null&&vr(o,a),Zc}function Yc(){let e=B(),t=Ac(e);return Js(t)&&Xs(),Ys(),Yc}function $p(e,t,n,r){return Zc(e,t,n,r),Yc(),$p}var Up=(e,t,n,r,o)=>(tr(!0),Ef(t[R],r,Bu()));function Kc(e,t,n){let r=g(),o=r[I],i=e+P,s=o.firstCreatePass?Oc(i,r,8,"ng-container",xc,No(),t,n):o.data[i];if(Sc(s,r,e,"ng-container",qE),an(s)){let a=r[I];Ti(a,r,s),pc(a,s,r)}return n!=null&&vr(r,s),Kc}function Jc(){let e=k(),t=B(),n=Ac(t);return e.firstCreatePass&&Pc(e,n),Jc}function qp(e,t,n){return Kc(e,t,n),Jc(),qp}var qE=(e,t,n,r,o)=>(tr(!0),fv(t[R],""));function WE(){return g()}function Wp(e,t,n){let r=g(),o=Ce();if(Q(r,o,t)){let i=k(),s=Ft();Nc(s,r,e,t,r[R],n)}return Wp}function Gp(e,t,n){let r=g(),o=Ce();if(Q(r,o,t)){let i=k(),s=Ft(),a=ia(i.data),c=Jv(a,s,r);Nc(s,r,e,t,c,n)}return Gp}var $o=void 0;function GE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var zE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],$o,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],$o,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",$o,"{1} 'at' {0}",$o],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",GE],Ea={};function QE(e){let t=ZE(e),n=Td(t);if(n)return n;let r=t.split("-")[0];if(n=Td(r),n)return n;if(r==="en")return zE;throw new w(701,!1)}function Td(e){return e in Ea||(Ea[e]=ke.ng&&ke.ng.common&&ke.ng.common.locales&&ke.ng.common.locales[e]),Ea[e]}var zp=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(zp||{});function ZE(e){return e.toLowerCase().replace(/_/g,"-")}var wr="en-US";var YE=wr;function Qp(e){typeof e=="string"&&(YE=e.toLowerCase().replace(/_/g,"-"))}function Zp(e,t,n){let r=g(),o=k(),i=B();return Kp(o,r,r[R],i,e,t,n),Zp}function Yp(e,t,n){let r=g(),o=k(),i=B();return(i.type&3||n)&&ap(i,o,r,n,r[R],e,t,Qo(i,r,t)),Yp}function Kp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Qo(r,t,i),ap(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let f=u[d],p=u[d+1];c??=Qo(r,t,i),gd(r,t,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Qo(r,t,i),gd(r,t,d,o,o,c)}}function KE(e=1){return ju(e)}function JE(e,t){let n=null,r=rv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?If(e,i,!0):sv(r,i))return o}return n}function XE(e){let t=g()[J][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=fu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?JE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function eD(e,t=0,n,r,o,i){let s=g(),a=k(),c=r?e+1:null;c!==null&&In(s,a,c,r,o,i,null,n);let l=qt(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),na();let d=!s[xt]||Ks();s[J][ne].projection[l.projection]===null&&c!==null?tD(s,a,c):d&&!gi(l)&&Hv(a,s,l)}function tD(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=ii(i,o.tView.ssrId),a=Ir(e,o,void 0,{dehydratedView:s});Er(i,a,0,gn(o,s))}function nD(e,t,n,r){gp(e,t,n,r)}function rD(e,t,n){hp(e,t,n)}function oD(e){let t=g(),n=k(),r=Ao();er(r+1);let o=jc(n,r);if(e.dirty&&Eu(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=yp(t,r);e.reset(i,Gd),e.notifyOnChanges()}return!0}return!1}function iD(){return Fc(g(),Ao())}function sD(e,t,n,r,o){Ip(t,gp(e,n,r,o))}function aD(e,t,n,r){Ip(e,hp(t,n,r))}function cD(e=1){er(Ao()+e)}function lD(e){let t=ra();return Kn(t,P+e)}function Uo(e,t){return e<<17|t<<2}function $t(e){return e>>17&32767}function uD(e){return(e&2)==2}function dD(e,t){return e&131071|t<<17}function sc(e){return e|2}function En(e){return(e&131068)>>2}function Da(e,t){return e&-131069|t<<2}function fD(e){return(e&1)===1}function ac(e){return e|1}function pD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=$t(s),c=En(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||nn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let f=$t(e[a+1]);e[r+1]=Uo(f,a),f!==0&&(e[f+1]=Da(e[f+1],r)),e[a+1]=dD(e[a+1],r)}else e[r+1]=Uo(a,0),a!==0&&(e[a+1]=Da(e[a+1],r)),a=r;else e[r+1]=Uo(c,0),a===0?a=r:e[c+1]=Da(e[c+1],r),c=r;l&&(e[r+1]=sc(e[r+1])),wd(e,u,r,!0),wd(e,u,r,!1),hD(t,u,e,r,i),s=Uo(a,c),i?t.classBindings=s:t.styleBindings=s}function hD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&nn(i,t)>=0&&(n[r+1]=ac(n[r+1]))}function wd(e,t,n,r){let o=e[n+1],i=t===null,s=r?$t(o):En(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];gD(c,t)&&(a=!0,e[s+1]=r?ac(l):sc(l)),s=r?$t(l):En(l)}a&&(e[n+1]=r?sc(o):ac(o))}function gD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?nn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jp(e){return e.substring(q.key,q.keyEnd)}function mD(e){return e.substring(q.value,q.valueEnd)}function yD(e){return th(e),Xp(e,Dn(e,0,q.textEnd))}function Xp(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=ID(e,q.key=t,n),Dn(e,t,n))}function vD(e){return th(e),eh(e,Dn(e,0,q.textEnd))}function eh(e,t){let n=q.textEnd,r=q.key=Dn(e,t,n);return n===r?-1:(r=q.keyEnd=ED(e,r,n),r=bd(e,r,n,58),r=q.value=Dn(e,r,n),r=q.valueEnd=DD(e,r,n),bd(e,r,n,59))}function th(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function Dn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ID(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ED(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function bd(e,t,n,r){return t=Dn(e,t,n),t<n&&t++,t}function DD(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=_d(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=_d(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function _d(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function nh(e,t,n){return oh(e,t,n,!1),nh}function rh(e,t){return oh(e,t,null,!0),rh}function CD(e){ih(ch,TD,e,!1)}function TD(e,t){for(let n=vD(t);n>=0;n=eh(t,n))ch(e,Jp(t),mD(t))}function wD(e){ih(AD,bD,e,!0)}function bD(e,t){for(let n=yD(t);n>=0;n=Xp(t,n))zn(e,Jp(t),!0)}function oh(e,t,n,r){let o=g(),i=k(),s=xo(2);if(i.firstUpdatePass&&ah(i,e,s,r),t!==ee&&Q(o,s,t)){let a=i.data[Te()];lh(i,a,o,o[R],e,o[s+1]=kD(t,n),r,s)}}function ih(e,t,n,r){let o=k(),i=xo(2);o.firstUpdatePass&&ah(o,null,i,r);let s=g();if(n!==ee&&Q(s,i,n)){let a=o.data[Te()];if(uh(a,r)&&!sh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=mo(c,n||"")),ic(o,a,s,n,r)}else RD(o,a,s,s[R],s[i+1],s[i+1]=SD(e,t,n),r,i)}}function sh(e,t){return t>=e.expandoStartIndex}function ah(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Te()],s=sh(e,n);uh(i,r)&&t===null&&!s&&(t=!1),t=_D(o,i,t,r),pD(o,i,t,n,s,r)}}function _D(e,t,n,r){let o=ia(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ca(null,e,t,n,r),n=hr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ca(o,e,t,n,r),i===null){let c=MD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ca(null,e,t,c[1],r),c=hr(c,t.attrs,r),ND(e,t,r,c))}else i=xD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function MD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(En(r)!==0)return e[$t(r)]}function ND(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[$t(o)]=r}function xD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=hr(r,s,n)}return hr(r,t.attrs,n)}function Ca(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=hr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function hr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),zn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function SD(e,t,n){if(n==null||n==="")return K;let r=[],o=Ut(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ch(e,t,n){zn(e,t,Ut(n))}function AD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&zn(e,r,n)}function RD(e,t,n,r,o,i,s,a){o===ee&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,h=null,C;u===d?(c+=2,l+=2,f!==p&&(h=d,C=p)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,C=p),h!==null&&lh(e,t,n,r,h,C,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function lh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=fD(l)?Md(c,t,n,o,En(l),s):void 0;if(!pi(u)){pi(i)||uD(l)&&(i=Md(c,null,n,o,a,s));let d=qs(Te(),n);$v(r,s,d,o,i)}}function Md(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=n[o+1];f===ee&&(f=d?K:void 0);let p=d?Do(f,r):u===r?f:void 0;if(l&&!pi(p)&&(p=Do(c,r)),pi(p)&&(a=p,s))return a;let h=e[o+1];o=s?$t(h):En(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Do(c,r))}return a}function pi(e){return e!==void 0}function kD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ue(Ut(e)))),e}function uh(e,t){return(e.flags&(t?8:16))!==0}function OD(e,t=""){let n=g(),r=k(),o=e+P,i=r.firstCreatePass?qt(r,o,1,t,null):r.data[o],s=PD(r,n,i,t,e);n[o]=s,Oo()&&_c(r,n,s,i),Lt(i,!1)}var PD=(e,t,n,r,o)=>(tr(!0),uv(t[R],r));function dh(e,t,n,r=""){return Q(e,Ce(),n)?t+qe(n)+r:ee}function fh(e,t,n,r,o,i=""){let s=Su(),a=mn(e,s,n,o);return xo(2),a?t+qe(n)+r+qe(o)+i:ee}function ph(e){return Xc("",e),ph}function Xc(e,t,n){let r=g(),o=dh(r,e,t,n);return o!==ee&&gh(r,Te(),o),Xc}function hh(e,t,n,r,o){let i=g(),s=fh(i,e,t,n,r,o);return s!==ee&&gh(i,Te(),s),hh}function gh(e,t,n){let r=qs(t,e);dv(e[R],r,n)}function mh(e,t,n){ua(t)&&(t=t());let r=g(),o=Ce();if(Q(r,o,t)){let i=k(),s=Ft();jf(s,r,e,t,r[R],n)}return mh}function LD(e,t){let n=ua(e);return n&&e.set(t),n}function yh(e,t){let n=g(),r=k(),o=B();return Kp(r,n,n[R],o,e,t),yh}var vh={};function Ih(e){let t=k(),n=g(),r=e+P,o=qt(t,r,128,null,null);return Lt(o,!1),Jn(t,n,r,vh),Ih}function FD(e){pt("NgLet");let t=k(),n=g(),r=Te();return Jn(t,n,r,e),e}function jD(e){let t=ra(),n=Kn(t,P+e);if(n===vh)throw new w(314,!1);return n}function VD(e){return Q(g(),Ce(),e)?qe(e):ee}function HD(e,t,n=""){return dh(g(),e,t,n)}function BD(e,t,n,r,o=""){return fh(g(),e,t,n,r,o)}function $D(e,t,n){let r=k();if(r.firstCreatePass){let o=de(e);cc(n,r.data,r.blueprint,o,!0),cc(t,r.data,r.blueprint,o,!1)}}function cc(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)cc(e[i],t,n,r,o);else{let i=k(),s=g(),a=B(),c=bt(e)?e:$(e.provide),l=Ls(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(bt(e)||!e.multi){let p=new Bt(l,o,Cr,null),h=wa(c,t,o?u:u+f,d);h===-1?(_a(Xo(a,s),i,c),Ta(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=wa(c,t,u+f,d),h=wa(c,t,u,u+f),C=p>=0&&n[p],S=h>=0&&n[h];if(o&&!S||!o&&!C){_a(Xo(a,s),i,c);let _=WD(o?qD:UD,n.length,o,r,l,e);!o&&S&&(n[h].providerFactory=_),Ta(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Eh(n[o?h:p],l,!o&&r);Ta(i,e,p>-1?p:h,_)}!o&&r&&S&&n[h].componentProviders++}}}function Ta(e,t,n,r){let o=bt(t),i=vu(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Eh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function UD(e,t,n,r,o){return lc(this.multi,[])}function qD(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ir(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),lc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],lc(i,s);return s}function lc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function WD(e,t,n,r,o,i){let s=new Bt(e,n,Cr,null);return s.multi=[],s.index=t,s.componentProviders=0,Eh(s,o,r&&!n),s}function GD(e,t=[]){return n=>{n.providersResolver=(r,o)=>$D(r,o?o(e):e,t)}}function zD(e,t,n){let r=ge()+e,o=g();return o[r]===ee?Je(o,r,n?t.call(n):t()):Tr(o,r)}function QD(e,t,n,r){return Dh(g(),ge(),e,t,n,r)}function ZD(e,t,n,r,o){return Ch(g(),ge(),e,t,n,r,o)}function YD(e,t,n,r,o,i){return nC(g(),ge(),e,t,n,r,o,i)}function KD(e,t,n,r,o,i,s){return rC(g(),ge(),e,t,n,r,o,i,s)}function JD(e,t,n,r,o,i,s,a){let c=ge()+e,l=g(),u=yn(l,c,n,r,o,i);return Q(l,c+4,s)||u?Je(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Tr(l,c+5)}function XD(e,t,n,r,o,i,s,a,c){let l=ge()+e,u=g(),d=yn(u,l,n,r,o,i);return mn(u,l+4,s,a)||d?Je(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Tr(u,l+6)}function eC(e,t,n,r,o,i,s,a,c,l){let u=ge()+e,d=g(),f=yn(d,u,n,r,o,i);return sp(d,u+4,s,a,c)||f?Je(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Tr(d,u+7)}function tC(e,t,n,r,o,i,s,a,c,l,u){let d=ge()+e,f=g(),p=yn(f,d,n,r,o,i);return yn(f,d+4,s,a,c,l)||p?Je(f,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Tr(f,d+8)}function xi(e,t){let n=e[t];return n===ee?void 0:n}function Dh(e,t,n,r,o,i){let s=t+n;return Q(e,s,o)?Je(e,s+1,i?r.call(i,o):r(o)):xi(e,s+1)}function Ch(e,t,n,r,o,i,s){let a=t+n;return mn(e,a,o,i)?Je(e,a+2,s?r.call(s,o,i):r(o,i)):xi(e,a+2)}function nC(e,t,n,r,o,i,s,a){let c=t+n;return sp(e,c,o,i,s)?Je(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):xi(e,c+3)}function rC(e,t,n,r,o,i,s,a,c){let l=t+n;return yn(e,l,o,i,s,a)?Je(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):xi(e,l+4)}function oC(e,t){let n=k(),r,o=e+P;n.firstCreatePass?(r=iC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ot(r.type,!0)),s,a=te(Cr);try{let c=Jo(!1),l=i();return Jo(c),Jn(n,g(),o,l),l}finally{te(a)}}function iC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sC(e,t,n){let r=e+P,o=g(),i=Kn(o,r);return Th(o,r)?Dh(o,ge(),t,i.transform,n,i):i.transform(n)}function aC(e,t,n,r){let o=e+P,i=g(),s=Kn(i,o);return Th(i,o)?Ch(i,ge(),t,s.transform,n,r,s):s.transform(n,r)}function Th(e,t){return e[I].data[t].pure}function cC(e,t){return bi(e,t)}var hi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},lC=(()=>{class e{compileModuleSync(n){return new ui(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=As(n),i=yf(o.declarations).reduce((s,a)=>{let c=Oe(a);return c&&s.push(new ft(c)),s},[]);return new hi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uC=(()=>{class e{zone=E(X);changeDetectionScheduler=E(ce);applicationRef=E(bn);applicationErrorHandler=E(Qe);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new X(G(W({},bh()),{scheduleInRootZone:n})),[{provide:X,useFactory:e},{provide:Nt,multi:!0,useFactory:()=>{let r=E(uC,{optional:!0});return()=>r.initialize()}},{provide:Nt,multi:!0,useFactory:()=>{let r=E(dC);return()=>{r.initialize()}}},t===!0?{provide:da,useValue:!0}:[],{provide:fa,useValue:n??Mf},{provide:Qe,useFactory:()=>{let r=E(X),o=E(ae),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Re),i.handleError(s))})}}}]}function bh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var dC=(()=>{class e{subscription=new L;initialized=!1;zone=E(X);pendingTasks=E(ut);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _h=(()=>{class e{applicationErrorHandler=E(Qe);appRef=E(bn);taskService=E(ut);ngZone=E(X);zonelessEnabled=E(Fo);tracing=E(wn,{optional:!0});disableScheduling=E(da,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ri):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(fa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof oi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?id:Nf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ri+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,id(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fC(){return typeof $localize<"u"&&$localize.locale||wr}var el=new x("",{providedIn:"root",factory:()=>E(el,{optional:!0,skipSelf:!0})||fC()});var br=class{destroyed=!1;listeners=null;errorHandler=E(Re,{optional:!0});destroyRef=E(je);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new w(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(qn(953,!1));return}if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function pC(e){return eu(e)}function hC(e,t){return jn(e,t?.equal)}var tl=class{[H];constructor(t){this[H]=t}destroy(){this[H].destroy()}};function gC(e,t){let n=t?.injector??E(Ie),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(jt,null,{optional:!0}),s=n.get(ce);return i!==null?(o=vC(i.view,s,e),r instanceof Un&&r._lView===i.view&&(r=null)):o=IC(e,n.get(nr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new tl(o)}var Mh=G(W({},tu),{cleanupFns:void 0,zone:null,onDestroyFn:Vt,run(){let e=ln(!1);try{nu(this)}finally{ln(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=D(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],D(e)}}}),mC=G(W({},Mh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){rt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),yC=G(W({},Mh),{consumerMarkedDirty(){this.view[T]|=8192,ct(this.view),this.notifier.notify(13)},destroy(){rt(this),this.onDestroyFn(),this.cleanup(),this.view[Ge]?.delete(this)}});function vC(e,t,n){let r=Object.create(yC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Nh(r,n),e[Ge]??=new Set,e[Ge].add(r),r.consumerMarkedDirty(r),r}function IC(e,t,n){let r=Object.create(mC);return r.fn=Nh(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Nh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Ri=Symbol("InputSignalNode#UNSET"),jh=G(W({},Vn),{transformFn:void 0,applyValueToInputSignal(e,t){Ct(e,t)}});function Vh(e,t){let n=Object.create(jh);n.value=e,n.transformFn=t?.transform;function r(){if(tt(n),n.value===Ri){let o=null;throw new w(-950,o)}return n.value}return r[H]=n,r}var xh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Wd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},DC=new x("");DC.__NG_ELEMENT_ID__=e=>{let t=B();if(t===null)throw new w(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new w(204,!1)};function W0(e){return new br}function Sh(e,t){return Vh(e,t)}function CC(e){return Vh(Ri,e)}var G0=(Sh.required=CC,Sh);function Ah(e,t){return Hc(t)}function TC(e,t){return Bc(t)}var z0=(Ah.required=TC,Ah);function Rh(e,t){return Hc(t)}function wC(e,t){return Bc(t)}var Q0=(Rh.required=wC,Rh);function Z0(e,t){return vp(t)}function Hh(e,t){let n=Object.create(jh),r=new br;n.value=e;function o(){return tt(n),kh(n.value),n.value}return o[H]=n,o.asReadonly=Lo.bind(o),o.set=i=>{n.equal(n.value,i)||(Ct(n,i),r.emit(i))},o.update=i=>{kh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function kh(e){if(e===Ri)throw new w(952,!1)}function Oh(e,t){return Hh(e,t)}function bC(e){return Hh(Ri,e)}var Y0=(Oh.required=bC,Oh);var rl=new x(""),_C=new x("");function _r(e){return!e.moduleRef}function MC(e){let t=_r(e)?e.r3Injector:e.moduleRef.injector,n=t.get(X);return n.run(()=>{_r(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Qe),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),_r(e)){let i=()=>t.destroy(),s=e.platformInjector.get(rl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rl);s.add(i),e.moduleRef.onDestroy(()=>{or(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return xC(r,n,()=>{let i=t.get(ut),s=i.add(),a=t.get(Wc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(el,wr);if(Qp(c||wr),!t.get(_C,!0))return _r(e)?t.get(bn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(_r(e)){let u=t.get(bn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return NC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var NC;function xC(e,t,n){try{let r=n();return Uc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Si=null;function SC(e=[],t){return Ie.create({name:t,providers:[{provide:Ps,useValue:"platform"},{provide:rl,useValue:new Set([()=>Si=null])},...e]})}function AC(e=[]){if(Si)return Si;let t=SC(e);return Si=t,Lp(),RC(t),t}function RC(e){let t=e.get(Jd,null);To(e,()=>{t?.forEach(n=>n())})}function K0(){return!1}var J0=(()=>{class e{static __NG_ELEMENT_ID__=kC}return e})();function kC(e){return OC(B(),g(),(e&16)===16)}function OC(e,t,n){if(ze(e)&&!n){let r=he(e.index,t);return new dt(r,r)}else if(e.type&175){let r=t[J];return new dt(r,t)}return null}var ol=class{constructor(){}supports(t){return Lc(t)}create(t){return new il(t)}},PC=(e,t)=>t,il=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||PC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ph(r,o,i)?n:r,a=Ph(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,h=p+f;u<=h&&h<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Lc(t))throw new w(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,ip(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new sl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ai),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ai),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},sl=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},al=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ai=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new al,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ph(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var cl=class{constructor(){}supports(t){return t instanceof Map||Mi(t)}create(){return new ll}},ll=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Mi(t)))throw new w(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ul(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ul=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Lh(){return new LC([new ol])}var LC=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:Lh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=E(e,{optional:!0,skipSelf:!0});return e.create(n,r||Lh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new w(901,!1)}}return e})();function Fh(){return new FC([new cl])}var FC=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:Fh});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=E(e,{optional:!0,skipSelf:!0});return e.create(n,r||Fh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new w(901,!1)}}return e})();var X0=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(re(bn))};static \u0275mod=Cp({type:e});static \u0275inj=Is({})}return e})();function e1(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;O(8);try{let i=o?.injector??AC(r),s=[wh({}),{provide:ce,useExisting:_h},Uu,...n||[]],a=new pr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return MC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{O(9)}}function t1(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function n1(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var nl=Symbol("NOT_SET"),Bh=new Set,jC=G(W({},Vn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:nl,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==nl&&!Dt(this))return this.signal;try{for(let o of this.cleanup??Bh)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=nt(this),r;try{r=this.userFn.apply(null,t)}finally{Et(this,n)}return(this.value===nl||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),dl=class extends ar{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(je),s),this.scheduler=o;for(let a of Tc){let c=n[a];if(c===void 0)continue;let l=Object.create(jC);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(tt(l),l.value),l.signal[H]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Bh)n()}finally{rt(t)}}};function r1(e,t){let n=t?.injector??E(Ie),r=n.get(ce),o=n.get(Ei),i=n.get(wn,null,{optional:!0});o.impl??=n.get(wc);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(jt,null,{optional:!0}),c=new dl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function o1(e,t){let n=Oe(e),r=t.elementInjector||rn();return new ft(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function i1(e){let t=Oe(e);if(!t)return null;let n=new ft(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{L as a,Wh as b,N as c,qi as d,Wi as e,se as f,Rn as g,Sn as h,sg as i,Se as j,ag as k,cg as l,yt as m,_n as n,Mn as o,Me as p,tg as q,lg as r,ug as s,vt as t,fg as u,et as v,Dg as w,Be as x,Nn as y,Xr as z,Tg as A,wg as B,Zi as C,Pn as D,Ag as E,ng as F,ve as G,Rg as H,kg as I,Yi as J,Al as K,Og as L,Ul as M,Ln as N,Ki as O,Pg as P,Lg as Q,Vg as R,Hg as S,Bg as T,Ji as U,$g as V,Ug as W,ql as X,Ui as Y,Rl as Z,qg as _,Wl as $,An as aa,Wg as ba,kl as ca,Gg as da,Ol as ea,zg as fa,fo as ga,tm as ha,w as ia,qn as ja,ke as ka,yo as la,F as ma,Is as na,om as oa,x as pa,re as qa,E as ra,Rs as sa,gu as ta,Ps as ua,ae as va,To as wa,Tm as xa,Mu as ya,Nu as za,Vu as Aa,Hu as Ba,Ie as Ca,_m as Da,je as Ea,Re as Fa,Qe as Ga,la as Ha,Po as Ia,ce as Ja,ut as Ka,pa as La,Lm as Ma,Fm as Na,Vm as Oa,ry as Pa,Wd as Qa,gr as Ra,ei as Sa,uy as Ta,dy as Ua,Jd as Va,py as Wa,hy as Xa,gy as Ya,Xd as Za,my as _a,Iy as $a,hn as ab,Ut as bb,yi as cb,wy as db,by as eb,_y as fb,My as gb,Ny as hb,hc as ib,hf as jb,yr as kb,Wy as lb,gf as mb,zy as nb,vv as ob,ni as pb,sr as qb,wn as rb,pt as sb,Ze as tb,X as ub,_v as vb,ur as wb,Dr as xb,dr as yb,wI as zb,Cr as Ab,_I as Bb,Ni as Cb,vn as Db,Ep as Eb,aE as Fb,Dp as Gb,lE as Hb,Cp as Ib,pE as Jb,hE as Kb,bp as Lb,CE as Mb,Np as Nb,xp as Ob,NE as Pb,Sp as Qb,Ap as Rb,xE as Sb,Rp as Tb,Uc as Ub,Op as Vb,SE as Wb,Pp as Xb,bn as Yb,jp as Zb,Vp as _b,RE as $b,OE as ac,Gc as bc,PE as cc,LE as dc,FE as ec,jE as fc,VE as gc,Hp as hc,zc as ic,Qc as jc,Bp as kc,Zc as lc,Yc as mc,$p as nc,Kc as oc,Jc as pc,qp as qc,WE as rc,Wp as sc,Gp as tc,QE as uc,zp as vc,Zp as wc,Yp as xc,KE as yc,XE as zc,eD as Ac,nD as Bc,rD as Cc,oD as Dc,iD as Ec,sD as Fc,aD as Gc,cD as Hc,lD as Ic,nh as Jc,rh as Kc,CD as Lc,wD as Mc,OD as Nc,ph as Oc,Xc as Pc,hh as Qc,mh as Rc,LD as Sc,yh as Tc,Ih as Uc,FD as Vc,jD as Wc,VD as Xc,HD as Yc,BD as Zc,GD as _c,zD as $c,QD as ad,ZD as bd,YD as cd,KD as dd,JD as ed,XD as fd,eC as gd,tC as hd,oC as id,sC as jd,aC as kd,cC as ld,lC as md,el as nd,pC as od,hC as pd,gC as qd,xh as rd,DC as sd,W0 as td,G0 as ud,z0 as vd,Q0 as wd,Z0 as xd,Y0 as yd,K0 as zd,J0 as Ad,LC as Bd,FC as Cd,X0 as Dd,e1 as Ed,t1 as Fd,n1 as Gd,r1 as Hd,o1 as Id,i1 as Jd};
@@ -0,0 +1 @@
1
+ import{a as P}from"./chunk-BC6LHZWP.js";import{b as B}from"./chunk-BUMWMFHU.js";import"./chunk-ROS2QMKF.js";import"./chunk-5WT456T7.js";import"./chunk-YNL43MLU.js";import"./chunk-O4D64GHO.js";import"./chunk-7R2D2JZ6.js";import"./chunk-WAXAIL2I.js";import"./chunk-RQUCYFCB.js";import"./chunk-MM7SAZOU.js";import{b as M,e as _,g as A}from"./chunk-NQLMPUSB.js";import"./chunk-OSGPJXJZ.js";import{A as L,w as D,x as C,y as R,z as b}from"./chunk-JNRCB7N3.js";import"./chunk-XBIHN6D3.js";import{Hb as f,Nc as i,Oc as m,Pc as E,Z as S,ac as x,cc as g,hc as I,ic as e,id as l,jc as t,jd as c,kd as u,ob as a,ra as v,v as h}from"./chunk-OHGMB7HJ.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";function q(d,r){if(d&1&&(e(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"h5"),i(6,"General"),t()(),e(7,"div",7)(8,"div",8)(9,"div",9)(10,"div",10)(11,"label"),i(12,"Created"),t(),e(13,"div")(14,"span"),i(15),l(16,"date"),t()()()(),e(17,"div",9)(18,"div",10)(19,"label"),i(20,"Duration"),t(),e(21,"div")(22,"span"),i(23),l(24,"number"),t()()()(),e(25,"div",9)(26,"div",10)(27,"label"),i(28,"Response Code"),t(),e(29,"div")(30,"span"),i(31),t()()()()()()()()(),e(32,"div",3)(33,"div",9)(34,"div",5)(35,"div",6)(36,"h5"),i(37,"Request"),t()(),e(38,"div",7)(39,"div",11)(40,"div",12)(41,"pre"),i(42),l(43,"json"),t()()()()()(),e(44,"div",9)(45,"div",5)(46,"div",6)(47,"h5"),i(48,"Response"),t()(),e(49,"div",7)(50,"div",13)(51,"div",12)(52,"pre"),i(53),l(54,"json"),t()()()()()()()()),d&2){let o=r;a(15),m(u(16,5,o==null?null:o._source["@timestamp"],"dd MMM yyyy HH:mm:ss")),a(8),E("",u(24,8,o==null?null:o.DurationInSecond,"1.1-1")," s"),a(8),m(o==null?null:o.respCode),a(11),m(c(43,11,o==null?null:o.req)),a(11),m(c(54,13,o==null?null:o.res))}}var z=(()=>{let r=class r{constructor(){this.inventoryAsyncServiceLog=v(P),this.activatedRoute=v(M)}ngOnInit(){let p=this.activatedRoute.snapshot.queryParams;this.initInventoryLog(p?.ID)}initInventoryLog(p){this.inventoryLog$=this.inventoryAsyncServiceLog.getInventoryAsyncLogDetail(p).pipe(h(n=>{let s=JSON.parse(n.hits[0]._source?.log?.response);return n.hits[0].DurationInSecond=parseInt(s.Duration)/1e3,n.hits[0].respCode=s?.StatusCode,n.hits[0].req=JSON.parse(n.hits[0]._source?.log?.request),n.hits[0].res=s,n?.hits[0]}),S(1))}};r.\u0275fac=function(n){return new(n||r)},r.\u0275cmp=f({type:r,selectors:[["app-inventory-async-detail"]],decls:7,vars:5,consts:[["headerTitle","Product Inventory Sync Detail",3,"hideSearchBox","hideSearchDropdown"],["role","button","routerLink","/menu/log/inventory",1,"btn","btn-secondary","btn-fill","btn-lg","me-2"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"row","mt-7"],[1,"col-sm-6"],[1,"info-label-group"],[1,"col-sm-12"],[1,"form-group"],[1,"col-sm-12","mt-2"]],template:function(n,s){if(n&1&&(e(0,"mainpanel",0)(1,"actions")(2,"a",1),i(3,"Back"),t()(),e(4,"content"),x(5,q,55,15,"div",2),l(6,"async"),t()()),n&2){let y;I("hideSearchBox",!0)("hideSearchDropdown",!0),a(5),g((y=c(6,3,s.inventoryLog$))?5:-1,y)}},dependencies:[L,B,A,_,D,R,b,C],encapsulation:2});let d=r;return d})();export{z as InventoryAsyncDetailComponent};
@@ -0,0 +1 @@
1
+ import{A as Se,B as Me,a as ge,b as ve,i as _,j as ye,k as Ee}from"./chunk-JNRCB7N3.js";import{Da as p,Dd as he,Ed as me,Fa as x,Ib as G,Qb as pe,Rb as O,Sb as N,Ta as te,Tb as $,Ua as F,Va as ne,Wa as b,Ya as V,ab as z,bb as M,cb as w,db as re,eb as oe,fb as se,gb as ie,hb as ae,ia as h,ib as ce,jb as le,ka as m,kb as y,ma as f,na as B,pa as T,pb as D,qa as c,qb as de,rb as ue,ua as ee,ub as E,yb as fe}from"./chunk-OHGMB7HJ.js";import{a as j}from"./chunk-66YHNWRR.js";var R=class{_doc;constructor(n){this._doc=n}manager},L=(()=>{class o extends R{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r,s){return e.addEventListener(t,r,s),()=>this.removeEventListener(e,t,r,s)}removeEventListener(e,t,r,s){return e.removeEventListener(t,r,s)}static \u0275fac=function(t){return new(t||o)(c(p))};static \u0275prov=f({token:o,factory:o.\u0275fac})}return o})(),H=new T(""),W=(()=>{class o{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(i=>{i.manager=this});let r=e.filter(i=>!(i instanceof L));this._plugins=r.slice().reverse();let s=e.find(i=>i instanceof L);s&&this._plugins.push(s)}addEventListener(e,t,r,s){return this._findPluginFor(t).addEventListener(e,t,r,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new h(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||o)(c(H),c(E))};static \u0275prov=f({token:o,factory:o.\u0275fac})}return o})(),Z="ng-app-id";function we(o){for(let n of o)n.remove()}function _e(o,n){let e=n.createElement("style");return e.textContent=o,e}function Oe(o,n,e,t){let r=o.head?.querySelectorAll(`style[${Z}="${n}"],link[${Z}="${n}"]`);if(r)for(let s of r)s.removeAttribute(Z),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function K(o,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",o),e}var J=(()=>{class o{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,r,s={}){this.doc=e,this.appId=t,this.nonce=r,Oe(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let r of e)this.addUsage(r,this.inline,_e);t?.forEach(r=>this.addUsage(r,this.external,K))}removeStyles(e,t){for(let r of e)this.removeUsage(r,this.inline);t?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,t,r){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,r(e,this.doc)))})}removeUsage(e,t){let r=t.get(e);r&&(r.usage--,r.usage<=0&&(we(r.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])we(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:r}]of this.inline)r.push(this.addElement(e,_e(t,this.doc)));for(let[t,{elements:r}]of this.external)r.push(this.addElement(e,K(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||o)(c(p),c(F),c(V,8),c(b))};static \u0275prov=f({token:o,factory:o.\u0275fac})}return o})(),Y={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"},q=/%COMP%/g;var Re="%COMP%",Ne=`_nghost-${Re}`,Le=`_ngcontent-${Re}`,Pe=!0,He=new T("",{providedIn:"root",factory:()=>Pe});function ke(o){return Le.replace(q,o)}function Ue(o){return Ne.replace(q,o)}function Ce(o,n){return n.map(e=>e.replace(q,o))}var Q=(()=>{class o{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,r,s,i,a,u=null,l=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=i,this.ngZone=a,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new C(e,i,a,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,t);return r instanceof P?r.applyToHost(e):r instanceof A&&r.applyStyles(),r}getOrCreateRenderer(e,t){let r=this.rendererByCompId,s=r.get(t.id);if(!s){let i=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(t.encapsulation){case z.Emulated:s=new P(u,l,t,this.appId,d,i,a,v,g);break;case z.ShadowDom:return new X(u,l,e,t,i,a,this.nonce,v,g);default:s=new A(u,l,t,d,i,a,v,g);break}r.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||o)(c(W),c(J),c(F),c(He),c(p),c(E),c(V),c(ue,8))};static \u0275prov=f({token:o,factory:o.\u0275fac})}return o})(),C=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,r,s){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=r,this.tracingService=s}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Y[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Te(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(Te(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new h(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,r){if(r){e=r+":"+e;let s=Y[r];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let r=Y[t];r?n.removeAttributeNS(r,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,r){r&(D.DashCase|D.Important)?n.style.setProperty(e,t,r&D.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&D.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,r){if(typeof n=="string"&&(n=_().getGlobalEventTarget(this.doc,n),!n))throw new h(5102,!1);let s=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(n,e,s)),this.eventManager.addEventListener(n,e,s,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Te(o){return o.tagName==="TEMPLATE"&&o.content!==void 0}var X=class extends C{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,r,s,i,a,u,l){super(n,s,i,u,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=Ce(r.id,d);for(let g of d){let S=document.createElement("style");a&&S.setAttribute("nonce",a),S.textContent=g,this.shadowRoot.appendChild(S)}let v=r.getExternalStyles?.();if(v)for(let g of v){let S=K(g,s);a&&S.setAttribute("nonce",a),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},A=class extends C{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,r,s,i,a,u,l){super(n,s,i,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=t.styles;this.styles=l?Ce(l,d):d,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&de.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},P=class extends A{contentAttr;hostAttr;constructor(n,e,t,r,s,i,a,u,l){let d=r+"-"+t.id;super(n,e,t,s,i,a,u,l,d),this.contentAttr=ke(d),this.hostAttr=Ue(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var k=class o extends Ee{supportsDOMEvents=!0;static makeCurrent(){ye(new o)}onAndCancel(n,e,t,r){return n.addEventListener(e,t,r),()=>{n.removeEventListener(e,t,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=je();return e==null?null:Be(e)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ge(document.cookie,n)}},I=null;function je(){return I=I||document.head.querySelector("base"),I?I.getAttribute("href"):null}function Be(o){return new URL(o,document.baseURI).pathname}var U=class{addToWindow(n){m.getAngularTestability=(t,r=!0)=>{let s=n.findTestabilityInTree(t,r);if(s==null)throw new h(5103,!1);return s},m.getAllAngularTestabilities=()=>n.getAllTestabilities(),m.getAllAngularRootElements=()=>n.getAllRootElements();let e=t=>{let r=m.getAllAngularTestabilities(),s=r.length,i=function(){s--,s==0&&t()};r.forEach(a=>{a.whenStable(i)})};m.frameworkStabilizers||(m.frameworkStabilizers=[]),m.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,t){if(e==null)return null;let r=n.getTestability(e);return r??(t?_().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},xe=(()=>{class o{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||o)};static \u0275prov=f({token:o,factory:o.\u0275fac})}return o})(),Ae=["alt","control","meta","shift"],Fe={"\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"},Ve={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey},Ie=(()=>{class o extends R{constructor(e){super(e)}supports(e){return o.parseEventName(e)!=null}addEventListener(e,t,r,s){let i=o.parseEventName(t),a=o.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_().onAndCancel(e,i.domEventName,a,s))}static parseEventName(e){let t=e.toLowerCase().split("."),r=t.shift();if(t.length===0||!(r==="keydown"||r==="keyup"))return null;let s=o._normalizeKey(t.pop()),i="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),i="code."),Ae.forEach(l=>{let d=t.indexOf(l);d>-1&&(t.splice(d,1),i+=l+".")}),i+=s,t.length!=0||s.length===0)return null;let u={};return u.domEventName=r,u.fullKey=i,u}static matchEventFullKeyCode(e,t){let r=Fe[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(r=e.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Ae.forEach(i=>{if(i!==r){let a=Ve[i];a(e)&&(s+=i+".")}}),s+=r,s===t)}static eventCallback(e,t,r){return s=>{o.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>t(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||o)(c(p))};static \u0275prov=f({token:o,factory:o.\u0275fac})}return o})();function ze(o,n,e){let t=j({rootComponent:o,platformRef:e?.platformRef},Ge(n));return me(t)}function Ge(o){return{appProviders:[...be,...o?.providers??[]],platformProviders:Ke}}function $e(){k.makeCurrent()}function Ze(){return new x}function Ye(){return te(document),document}var Ke=[{provide:b,useValue:Me},{provide:ne,useValue:$e,multi:!0},{provide:p,useFactory:Ye}];var Xe=[{provide:O,useClass:U},{provide:pe,useClass:N,deps:[E,$,O]},{provide:N,useClass:N,deps:[E,$,O]}],be=[{provide:ee,useValue:"root"},{provide:x,useFactory:Ze},{provide:H,useClass:L,multi:!0,deps:[p]},{provide:H,useClass:Ie,multi:!0,deps:[p]},Q,J,W,{provide:fe,useExisting:Q},{provide:ve,useClass:xe},[]],We=(()=>{class o{constructor(){}static \u0275fac=function(t){return new(t||o)};static \u0275mod=G({type:o});static \u0275inj=B({providers:[...be,...Xe],imports:[Se,he]})}return o})();var Gt=(()=>{class o{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||o)(c(p))};static \u0275prov=f({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var qe=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=f({token:o,factory:function(t){let r=null;return t?r=new(t||o):r=c(Qe),r},providedIn:"root"})}return o})(),Qe=(()=>{class o extends qe{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case y.NONE:return t;case y.HTML:return w(t,"HTML")?M(t):le(this._doc,String(t)).toString();case y.STYLE:return w(t,"Style")?M(t):t;case y.SCRIPT:if(w(t,"Script"))return M(t);throw new h(5200,!1);case y.URL:return w(t,"URL")?M(t):ce(String(t));case y.RESOURCE_URL:if(w(t,"ResourceURL"))return M(t);throw new h(5201,!1);default:throw new h(5202,!1)}}bypassSecurityTrustHtml(e){return re(e)}bypassSecurityTrustStyle(e){return oe(e)}bypassSecurityTrustScript(e){return se(e)}bypassSecurityTrustUrl(e){return ie(e)}bypassSecurityTrustResourceUrl(e){return ae(e)}static \u0275fac=function(t){return new(t||o)(c(p))};static \u0275prov=f({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();export{Q as a,ze as b,We as c,Gt as d,qe as e};
@@ -0,0 +1 @@
1
+ import{a as D,b as L,c as E}from"./chunk-2K5AP6IZ.js";import{a as w}from"./chunk-XLQGQESJ.js";import"./chunk-A6QXXKPR.js";import{b}from"./chunk-BUMWMFHU.js";import"./chunk-ROS2QMKF.js";import"./chunk-5WT456T7.js";import"./chunk-YNL43MLU.js";import"./chunk-3SCX7IMW.js";import"./chunk-6C4UBIZK.js";import"./chunk-SPLGZRGH.js";import"./chunk-4S4BOPUV.js";import"./chunk-TBVMCNS2.js";import"./chunk-RM6ZXD3O.js";import"./chunk-2ST3DMR6.js";import"./chunk-24KZDZKS.js";import"./chunk-3RK6DDJD.js";import"./chunk-A2RTZANN.js";import"./chunk-N3E43QWK.js";import"./chunk-ZC526ERX.js";import"./chunk-YD6BNJ2B.js";import"./chunk-XUDE7VBC.js";import"./chunk-X52ZT4MU.js";import"./chunk-BMOMTOEW.js";import"./chunk-HO2TMGLM.js";import"./chunk-O4D64GHO.js";import"./chunk-7R2D2JZ6.js";import{c as u}from"./chunk-UPRDDI4K.js";import"./chunk-WAXAIL2I.js";import"./chunk-RQUCYFCB.js";import"./chunk-MM7SAZOU.js";import"./chunk-NQLMPUSB.js";import"./chunk-OSGPJXJZ.js";import{x as P}from"./chunk-JNRCB7N3.js";import"./chunk-XBIHN6D3.js";import{Hb as g,Nc as F,Rc as h,Sc as f,Tc as c,ac as T,cc as C,hc as p,ic as o,jc as l,kc as S,ob as m,ra as s,wc as _,yc as v}from"./chunk-OHGMB7HJ.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";function M(r,i){if(r&1&&(o(0,"div",6)(1,"div",7),S(2,"app-table-report",8),l()()),r&2){let d=v();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",1)}}var N=(()=>{let i=class i{constructor(){this.http=s(L),this.datePipe=s(P),this.filter=new D,this.PageTitle="Ready to Ship";let e=new Date;this.maxDate=e,this.minDate=u.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=u.formatTitleFromDate(this.filter.From,this.filter.To),a=this.datePipe.transform(this.filter.From,e),t=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.PageTitle=`Ready to Ship (${e==null?"":a+"-"} ${t})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncInvoice(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};i.\u0275fac=function(a){return new(a||i)},i.\u0275cmp=g({type:i,selectors:[["app-invoice"]],decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(a,t){a&1&&(o(0,"mainpanel",0),_("onSubmit",function(){return t.onFilter()}),o(1,"filters")(2,"div")(3,"label",1),F(4,"From/To"),l(),o(5,"div",2)(6,"datepicker",3),c("dateChange",function(n){return f(t.filter.From,n)||(t.filter.From=n),n}),l()(),o(7,"div")(8,"datepicker",4),c("dateChange",function(n){return f(t.filter.To,n)||(t.filter.To=n),n}),l()()()(),o(9,"content")(10,"div",5),T(11,M,3,5,"div",6),l()()()),a&2&&(p("headerTitle",t.PageTitle)("hideSearchBox",!0),m(6),h("date",t.filter.From),m(2),h("date",t.filter.To),m(3),C(t.result?11:-1))},dependencies:[b,w,E],encapsulation:2});let r=i;return r})();export{N as InvoiceComponent};
@@ -1 +1 @@
1
- import{a as F}from"./chunk-5X2E3W32.js";import{a as x}from"./chunk-LEUBNBGC.js";import{i as E}from"./chunk-BQEBDVGB.js";import{a as T}from"./chunk-AGBJEXIM.js";import{b as w,e as d}from"./chunk-OXWPYJNB.js";import{b as i,c as g}from"./chunk-JBEKD57G.js";import{F as D}from"./chunk-LNJUGHOX.js";import{B as U,G as C,Ha as j,J as l,g as A,ma as s,q as u,ra as p,v as I}from"./chunk-ZYJ6LAJ3.js";var H=(()=>{let o=class o{constructor(){this.httpService=p(d)}getAttributes(t,e){return this.httpService.get("api/product/shopee/GetAttributesTree",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/shopee/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/shopee/AddProduct",t).pipe(l(r=>u(null)))}generateAttribute(t){return t.map(e=>({attribute_id:e.attribute_id,attribute_value_list:e.attribute_value_list.map(r=>({value_id:r.value_id,name:r.name}))})),t}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var R=(()=>{let o=class o{constructor(){this.httpService=p(d)}getCategories(t){return this.httpService.get("api/product/tiktok/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/tiktok/AddProduct",t).pipe(l(r=>u(null)))}generateAttribute(t){let e;return t.map(r=>(r.type=="PRODUCT_PROPERTY"?e={id:r.id,name:r.name,type:r.type,values:r.values}:e={id:r.id,name:r.values[0].id,type:r.type},e))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var V=(()=>{let o=class o{constructor(){this.httpService=p(d)}getAttributes(t,e){return this.httpService.get("api/product/lazada/GetAttributes",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/lazada/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/lazada/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var z=(()=>{let o=class o{constructor(){this.httpService=p(d)}getAttributes(t,e){return this.httpService.get("api/product/woo/GetAttributes",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/woo/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/woo/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var y=class{};var v=class{};var G=(()=>{let o=class o{constructor(){this.httpService=p(d)}getCategories(t){return this.httpService.get("api/product/tokopedia/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/tokopedia/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var N=(()=>{let o=class o{constructor(){this.httpService=p(d)}uploadProduct(t){return this.httpService.post("api/product/shopify/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var O=(()=>{let o=class o{constructor(){this.httpService=p(d)}uploadProduct(t){return this.httpService.post(T.UploadPlugoProduct,t).pipe(l(e=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var Bt=(()=>{let o=class o{constructor(){this.authService=p(E),this.productService=p(x),this.shoppeUploadService=p(H),this.tiktokUploadService=p(R),this.lazadaUploadService=p(V),this.tokopediaUploadService=p(G),this.wooUploadService=p(z),this.shopifyUploadService=p(N),this.plugoUploadService=p(O),this.toastrHandlingService=p(F),this.toastr=p(w),this.router=p(D),this.httpService=p(d),this._selectedProduct=new A(this.getStoredProducts()),this.selectedProduct$=this._selectedProduct.asObservable().pipe(C(t=>t&&t.length>0))}getStoredProducts(){let t=localStorage.getItem("productsUpload");if(t){let e=JSON.parse(t);return e&&e.length>0?e:[]}else return[]}setSelectedProduct(t){localStorage.setItem("productsUpload",JSON.stringify(t)),this._selectedProduct.next(t)}clearSelectedProduct(){localStorage.removeItem("productsUpload"),this._selectedProduct.next([])}getUnselectedChannels(){let t=this.authService.getChannels(),e=this._selectedProduct.getValue();return this.productService.filterUnselectedChannel(e,t)}getDefaultCategory(){return this.httpService.get("api/v1/Channel/ProductCategory/Default")}get channelProductUpload(){let t=this.getUnselectedChannels();return j(t.map(r=>{let c=new y;return c.id=r.ID,c.name=r.Name,c.type=r.TypeID,c.categoryId=null,c.attributes=[],c.selected=!1,c}))}onUploadProduct(t){let e=t.filter(r=>r.selected&&g.IsNotEmpty(r.categoryId)||r.selected&&(r.type==i.Shopify||r.type==i.ShopifyV2||r.type==i.Plugo));if(e.length>0){let r=this.generateDataForUpload(e);this.uploadProduct(r)}else this.toastr.warning("Please select a channel and category to upload the product.","Warning!")}uploadProduct(t){let e=this.generateObservableForUpload(t);U(e).pipe(I(r=>{let c=[];return r.filter(f=>g.IsNotEmpty(f)).forEach(f=>{c=[...c,...f]}),c})).subscribe({next:(r=[])=>{g.IsNotEmpty(r)&&this.toastrHandlingService.showToastrUploadMultiple(r),this.hasSuccessRes(r)&&this.onSuccessUpload()}})}hasSuccessRes(t){let e=!1;return t.forEach(r=>{r?.Response.Success_list?.length>0&&g.IsNotEmpty(r)&&(e=!0)}),e}onSuccessUpload(){this.router.navigate(["/menu/products/status/sold-in-channel"]),this.clearSelectedProduct()}generateObservableForUpload(t){let e=[],r=[],c=[],f=[],S=[],k=[],P=[],b=[];t.forEach(n=>{switch(n.ChannelType){case i.Shopee:r.push(n);break;case i.Tiktok:e.push(n);break;case i.Lazada:c.push(n);break;case i.Tokopedia:f.push(n);break;case i.WooCommerce:S.push(n);break;case i.Shopify:k.push(n);break;case i.ShopifyV2:P.push(n);break;case i.Plugo:b.push(n);break}});let h=[];return[{type:i.Shopee,data:r},{type:i.Tiktok,data:e},{type:i.Lazada,data:c},{type:i.Tokopedia,data:f},{type:i.WooCommerce,data:S},{type:i.Shopify,data:k},{type:i.ShopifyV2,data:P},{type:i.Plugo,data:b}].filter(n=>n.data.length>0).forEach(n=>{switch(n.type){case i.Shopee:h.push(this.shoppeUploadService.uploadProduct(r));break;case i.Tiktok:h.push(this.tiktokUploadService.uploadProduct(e));break;case i.Lazada:h.push(this.lazadaUploadService.uploadProduct(c));break;case i.Tokopedia:h.push(this.tokopediaUploadService.uploadProduct(f));break;case i.WooCommerce:h.push(this.wooUploadService.uploadProduct(S));break;case i.Shopify:h.push(this.shopifyUploadService.uploadProduct(k));break;case i.ShopifyV2:h.push(this.shopifyUploadService.uploadProduct(P));break;case i.Plugo:h.push(this.plugoUploadService.uploadProduct(b));break}}),h}generateDataForUpload(t){let e=[];return t.forEach(r=>{let c=new v;c.ChannelID=r.id,c.ChannelType=r.type,c.Products=this._selectedProduct.getValue(),r.type==i.Shopify||r.type==i.ShopifyV2?delete c.CategoryID:c.CategoryID=r.categoryId,c=this.generateAttributeHttpRequest(r,c),e.push(c)}),e}generateAttributeHttpRequest(t,e){return t.type==i.WooCommerce||t.type==i.Shopify||t.type==i.ShopifyV2?e.Attribute=t.attributes[0]:t.type==i.Tiktok?(e.Attributes=this.formatAttributes(t.type,t.attributes),e.listing_platforms=t.listing_platforms):e.Attributes=this.formatAttributes(t.type,t.attributes),e}formatAttributes(t,e){let r;switch(t){case i.Shopee:r=this.shoppeUploadService.generateAttribute(e);break;case i.Tiktok:r=this.tiktokUploadService.generateAttribute(e);break;case i.WooCommerce:r=this.tiktokUploadService.generateAttribute(e);break;case i.Tokopedia:r=e;break;case i.Shopify:r=e;break;case i.ShopifyV2:r=e;break;default:r=[];break}return r}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();export{H as a,R as b,V as c,z as d,Bt as e};
1
+ import{a as F}from"./chunk-3HME327V.js";import{a as x}from"./chunk-7IOQ6VVF.js";import{h as E}from"./chunk-QMQCIH3X.js";import{a as T}from"./chunk-AGBJEXIM.js";import{b as i,c as g}from"./chunk-UPRDDI4K.js";import{b as D,e as d}from"./chunk-MM7SAZOU.js";import{d as w}from"./chunk-NQLMPUSB.js";import{B as U,G as C,Ia as j,J as l,g as A,ma as s,q as u,ra as p,v as I}from"./chunk-OHGMB7HJ.js";var H=(()=>{let o=class o{constructor(){this.httpService=p(d)}getAttributes(t,e){return this.httpService.get("api/product/shopee/GetAttributesTree",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/shopee/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/shopee/AddProduct",t).pipe(l(r=>u(null)))}generateAttribute(t){return t.map(e=>({attribute_id:e.attribute_id,attribute_value_list:e.attribute_value_list.map(r=>({value_id:r.value_id,name:r.name}))})),t}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var R=(()=>{let o=class o{constructor(){this.httpService=p(d)}getCategories(t){return this.httpService.get("api/product/tiktok/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/tiktok/AddProduct",t).pipe(l(r=>u(null)))}generateAttribute(t){let e;return t.map(r=>(r.type=="PRODUCT_PROPERTY"?e={id:r.id,name:r.name,type:r.type,values:r.values}:e={id:r.id,name:r.values[0].id,type:r.type},e))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var V=(()=>{let o=class o{constructor(){this.httpService=p(d)}getAttributes(t,e){return this.httpService.get("api/product/lazada/GetAttributes",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/lazada/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/lazada/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var z=(()=>{let o=class o{constructor(){this.httpService=p(d)}getAttributes(t,e){return this.httpService.get("api/product/woo/GetAttributes",[{key:"ID",value:t},{key:"CategoryID",value:e}])}getCategories(t){return this.httpService.get("api/product/woo/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/woo/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var y=class{};var v=class{};var G=(()=>{let o=class o{constructor(){this.httpService=p(d)}getCategories(t){return this.httpService.get("api/product/tokopedia/GetCategories",[{key:"ID",value:t}])}uploadProduct(t){return this.httpService.post("api/product/tokopedia/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var N=(()=>{let o=class o{constructor(){this.httpService=p(d)}uploadProduct(t){return this.httpService.post("api/product/shopify/AddProduct",t).pipe(l(r=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var O=(()=>{let o=class o{constructor(){this.httpService=p(d)}uploadProduct(t){return this.httpService.post(T.UploadPlugoProduct,t).pipe(l(e=>u(null)))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();var Bt=(()=>{let o=class o{constructor(){this.authService=p(E),this.productService=p(x),this.shoppeUploadService=p(H),this.tiktokUploadService=p(R),this.lazadaUploadService=p(V),this.tokopediaUploadService=p(G),this.wooUploadService=p(z),this.shopifyUploadService=p(N),this.plugoUploadService=p(O),this.toastrHandlingService=p(F),this.toastr=p(D),this.router=p(w),this.httpService=p(d),this._selectedProduct=new A(this.getStoredProducts()),this.selectedProduct$=this._selectedProduct.asObservable().pipe(C(t=>t&&t.length>0))}getStoredProducts(){let t=localStorage.getItem("productsUpload");if(t){let e=JSON.parse(t);return e&&e.length>0?e:[]}else return[]}setSelectedProduct(t){localStorage.setItem("productsUpload",JSON.stringify(t)),this._selectedProduct.next(t)}clearSelectedProduct(){localStorage.removeItem("productsUpload"),this._selectedProduct.next([])}getUnselectedChannels(){let t=this.authService.getChannels(),e=this._selectedProduct.getValue();return this.productService.filterUnselectedChannel(e,t)}getDefaultCategory(){return this.httpService.get("api/v1/Channel/ProductCategory/Default")}get channelProductUpload(){let t=this.getUnselectedChannels();return j(t.map(r=>{let c=new y;return c.id=r.ID,c.name=r.Name,c.type=r.TypeID,c.categoryId=null,c.attributes=[],c.selected=!1,c}))}onUploadProduct(t){let e=t.filter(r=>r.selected&&g.IsNotEmpty(r.categoryId)||r.selected&&(r.type==i.Shopify||r.type==i.ShopifyV2||r.type==i.Plugo));if(e.length>0){let r=this.generateDataForUpload(e);this.uploadProduct(r)}else this.toastr.warning("Please select a channel and category to upload the product.","Warning!")}uploadProduct(t){let e=this.generateObservableForUpload(t);U(e).pipe(I(r=>{let c=[];return r.filter(f=>g.IsNotEmpty(f)).forEach(f=>{c=[...c,...f]}),c})).subscribe({next:(r=[])=>{g.IsNotEmpty(r)&&this.toastrHandlingService.showToastrUploadMultiple(r),this.hasSuccessRes(r)&&this.onSuccessUpload()}})}hasSuccessRes(t){let e=!1;return t.forEach(r=>{r?.Response.Success_list?.length>0&&g.IsNotEmpty(r)&&(e=!0)}),e}onSuccessUpload(){this.router.navigate(["/menu/products/status/sold-in-channel"]),this.clearSelectedProduct()}generateObservableForUpload(t){let e=[],r=[],c=[],f=[],S=[],k=[],P=[],b=[];t.forEach(n=>{switch(n.ChannelType){case i.Shopee:r.push(n);break;case i.Tiktok:e.push(n);break;case i.Lazada:c.push(n);break;case i.Tokopedia:f.push(n);break;case i.WooCommerce:S.push(n);break;case i.Shopify:k.push(n);break;case i.ShopifyV2:P.push(n);break;case i.Plugo:b.push(n);break}});let h=[];return[{type:i.Shopee,data:r},{type:i.Tiktok,data:e},{type:i.Lazada,data:c},{type:i.Tokopedia,data:f},{type:i.WooCommerce,data:S},{type:i.Shopify,data:k},{type:i.ShopifyV2,data:P},{type:i.Plugo,data:b}].filter(n=>n.data.length>0).forEach(n=>{switch(n.type){case i.Shopee:h.push(this.shoppeUploadService.uploadProduct(r));break;case i.Tiktok:h.push(this.tiktokUploadService.uploadProduct(e));break;case i.Lazada:h.push(this.lazadaUploadService.uploadProduct(c));break;case i.Tokopedia:h.push(this.tokopediaUploadService.uploadProduct(f));break;case i.WooCommerce:h.push(this.wooUploadService.uploadProduct(S));break;case i.Shopify:h.push(this.shopifyUploadService.uploadProduct(k));break;case i.ShopifyV2:h.push(this.shopifyUploadService.uploadProduct(P));break;case i.Plugo:h.push(this.plugoUploadService.uploadProduct(b));break}}),h}generateDataForUpload(t){let e=[];return t.forEach(r=>{let c=new v;c.ChannelID=r.id,c.ChannelType=r.type,c.Products=this._selectedProduct.getValue(),r.type==i.Shopify||r.type==i.ShopifyV2?delete c.CategoryID:c.CategoryID=r.categoryId,c=this.generateAttributeHttpRequest(r,c),e.push(c)}),e}generateAttributeHttpRequest(t,e){return t.type==i.WooCommerce||t.type==i.Shopify||t.type==i.ShopifyV2?e.Attribute=t.attributes[0]:t.type==i.Tiktok?(e.Attributes=this.formatAttributes(t.type,t.attributes),e.listing_platforms=t.listing_platforms):e.Attributes=this.formatAttributes(t.type,t.attributes),e}formatAttributes(t,e){let r;switch(t){case i.Shopee:r=this.shoppeUploadService.generateAttribute(e);break;case i.Tiktok:r=this.tiktokUploadService.generateAttribute(e);break;case i.WooCommerce:r=this.tiktokUploadService.generateAttribute(e);break;case i.Tokopedia:r=e;break;case i.Shopify:r=e;break;case i.ShopifyV2:r=e;break;default:r=[];break}return r}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();export{H as a,R as b,V as c,z as d,Bt as e};
@@ -0,0 +1 @@
1
+ import{a as c,b as d}from"./chunk-J6HA4ZHH.js";import"./chunk-YNL43MLU.js";import"./chunk-O4D64GHO.js";import"./chunk-7R2D2JZ6.js";import"./chunk-5UFP37GQ.js";import{c as l,g as m}from"./chunk-NQLMPUSB.js";import"./chunk-OSGPJXJZ.js";import"./chunk-JNRCB7N3.js";import{Hb as i,hc as a,ic as s,jc as p,kc as n,ob as r}from"./chunk-OHGMB7HJ.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var f=(()=>{let e=class e{constructor(){this.tabs=[{Title:"Roles",Url:"/menu/profile/roles"}]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=i({type:e,selectors:[["app-my-profile"]],decls:5,vars:2,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs","usePermissions"]],template:function(o,v){o&1&&(s(0,"nav",0)(1,"div",1)(2,"div"),n(3,"nav-tab",2),p()()(),n(4,"router-outlet")),o&2&&(r(3),a("Tabs",v.tabs)("usePermissions",!0))},dependencies:[d,c,m,l],encapsulation:2});let t=e;return t})();var g=[{path:"",component:f,children:[{path:"",redirectTo:"roles",pathMatch:"full"},{path:"roles",loadComponent:()=>import("./chunk-QJCYEP2A.js").then(t=>t.RolesInfoComponent),data:{title:"Roles Info"}}]}];export{g as routes};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-V6QH3IVL.js";import"./chunk-4VNQYYVV.js";import{a as n}from"./chunk-QJ55WDGL.js";import{a as d,b as m}from"./chunk-J6HA4ZHH.js";import"./chunk-5WT456T7.js";import"./chunk-YNL43MLU.js";import"./chunk-O4D64GHO.js";import"./chunk-7R2D2JZ6.js";import"./chunk-QMQCIH3X.js";import"./chunk-YYV4FSYQ.js";import"./chunk-QXRG5XYP.js";import"./chunk-AGBJEXIM.js";import"./chunk-5UFP37GQ.js";import"./chunk-UPRDDI4K.js";import"./chunk-RQUCYFCB.js";import"./chunk-RXLMJGUY.js";import"./chunk-MM7SAZOU.js";import{c as u}from"./chunk-NQLMPUSB.js";import"./chunk-OSGPJXJZ.js";import"./chunk-JNRCB7N3.js";import"./chunk-XBIHN6D3.js";import{Hb as c,hc as l,ic as p,jc as s,kc as i,ob as r}from"./chunk-OHGMB7HJ.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var h=(()=>{let o=class o{constructor(){this.productTabs=[{Title:"Sold in Channel",Url:"/menu/products/status/sold-in-channel",Description:"SKU has been mapped between dealpos and marketplace"},{Title:"Not in POS",Url:"/menu/products/status/not-in-pos",Description:"SKU sold in Marketplace but not exist in DEALPOS"},{Title:"Not in Channel",Url:"/menu/products/status/not-in-channel",Description:"SKU has not been sold on one of channels"},{Title:"In POS",Url:"/menu/products/status/in-pos",Description:"All products which is already available in POS"},{Title:"Multiple Listing",Url:"/menu/products/status/duplicate-sku",Description:"SKU(s) which is listed more than one time (one to many)"},{Title:"Channel Statistic",Url:"/menu/products/status/channel-statistic",Description:"Product statistic from each channel obtained from the last product scan"},{Title:"Scan Job",Url:"/menu/products/status/notification",Description:"Scan results for each channel, including product counts and synchronization status"}]}};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=c({type:o,selectors:[["app-status"]],decls:5,vars:1,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid","d-flex","align-items-center","justify-content-between"],[3,"Tabs"]],template:function(a,f){a&1&&(p(0,"nav",0)(1,"div",1)(2,"div"),i(3,"nav-tab",2),s()()(),i(4,"router-outlet")),a&2&&(r(3),l("Tabs",f.productTabs))},dependencies:[m,d,u],encapsulation:2});let t=o;return t})();var U=[{component:h,path:"",children:[{path:"",redirectTo:"sold-in-channel",pathMatch:"full"},{path:"in-pos",loadComponent(){return import("./chunk-EBXGQWOL.js").then(t=>t.InPosComponent)},canActivate:[n,e],data:{title:"Products in POS"}},{path:"sold-in-channel",loadComponent(){return import("./chunk-4ORO4H6Z.js").then(t=>t.SoldInChannelComponent)},canActivate:[n,e],data:{title:"Products Sold in Channel"}},{path:"not-in-channel",loadComponent(){return import("./chunk-WQHFRJZZ.js").then(t=>t.NotInChannelComponent)},canActivate:[n,e],data:{title:"Products not in Channel"}},{path:"not-in-pos",loadComponent(){return import("./chunk-XPA7U45N.js").then(t=>t.NotInPosComponent)},canActivate:[n,e],data:{title:"Products not in POS"}},{path:"duplicate-sku",loadComponent(){return import("./chunk-ZVNZGCYO.js").then(t=>t.DuplicateSkuComponent)},canActivate:[n,e],data:{title:"Duplicate Sku in Channel"}},{path:"duplicate-sku/table",loadComponent(){return import("./chunk-DI2VKA4Z.js").then(t=>t.DuplicateSkuV2Component)},canActivate:[n,e],data:{title:"Duplicate Sku in Channel"}},{path:"channel-statistic",loadComponent(){return import("./chunk-NQVNAQCL.js").then(t=>t.ChannelStatisticComponent)},canActivate:[n,e],data:{title:"Channel Statistic"}},{path:"notification",loadComponent(){return import("./chunk-BKZIKCX7.js").then(t=>t.NotificationComponent)},canActivate:[n,e],data:{title:"Notification"}},{path:"notificationV2",loadComponent(){return import("./chunk-YLQU53ID.js").then(t=>t.NotificationV2Component)},canActivate:[n,e],data:{title:"Notification"}},{path:"notificationV2/detailV2",loadComponent(){return import("./chunk-2AXBEVQ7.js").then(t=>t.DetailComponent)},canActivate:[n,e],data:{title:"Notification Detail"}},{path:"notification/detail",loadComponent(){return import("./chunk-7E53IHXI.js").then(t=>t.DetailComponent)},canActivate:[n,e],data:{title:"Notification Detail"}}]}];export{U as routes};