dealpos 25.46.0 → 25.46.2

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 (270) hide show
  1. package/browser/{chunk-ID2BNJTV.js → chunk-23PKMU5D.js} +1 -1
  2. package/browser/{chunk-5A3WAD32.js → chunk-27Y3MQJV.js} +1 -1
  3. package/browser/chunk-2E4N3RZU.js +1 -0
  4. package/browser/{chunk-6SLXFBWF.js → chunk-2HOSLZ77.js} +1 -1
  5. package/browser/{chunk-GB6NLAAI.js → chunk-2KPICU7I.js} +1 -1
  6. package/browser/{chunk-WMTI6O7I.js → chunk-2LOWEWI4.js} +1 -1
  7. package/browser/{chunk-3F4KI5PR.js → chunk-2MQDNPCG.js} +1 -1
  8. package/browser/{chunk-JBMBXZHF.js → chunk-2RERZJD4.js} +1 -1
  9. package/browser/chunk-374PEHK3.js +1 -0
  10. package/browser/{chunk-2G2N3QIY.js → chunk-3BRM3TED.js} +1 -1
  11. package/browser/chunk-3GPGJFQV.js +1 -0
  12. package/browser/{chunk-QVN7DETM.js → chunk-3JKK7ROI.js} +1 -1
  13. package/browser/chunk-3KSZCJ6T.js +1 -0
  14. package/browser/{chunk-GF6UUBXR.js → chunk-3PC6CTVP.js} +1 -1
  15. package/browser/{chunk-QIYEPDZF.js → chunk-3XKRDZSE.js} +1 -1
  16. package/browser/{chunk-52X5HGTB.js → chunk-3YKXHA6Q.js} +1 -1
  17. package/browser/{chunk-BQ7W6HVM.js → chunk-46GHEHUK.js} +1 -1
  18. package/browser/chunk-475JSTPA.js +1 -0
  19. package/browser/{chunk-TKOHX2XL.js → chunk-4HCSE44G.js} +1 -1
  20. package/browser/{chunk-SNGOVACV.js → chunk-4HPBSK4V.js} +1 -1
  21. package/browser/{chunk-ANWIC3AL.js → chunk-4QM23MMO.js} +1 -1
  22. package/browser/{chunk-FVSWTMXM.js → chunk-4ZWIQZYV.js} +9 -9
  23. package/browser/{chunk-TJXA75FB.js → chunk-534MIVWD.js} +1 -1
  24. package/browser/{chunk-4BPD7IPB.js → chunk-56D7QEFP.js} +1 -1
  25. package/browser/{chunk-I46YKGKC.js → chunk-5I5IONRY.js} +1 -1
  26. package/browser/{chunk-5SJZZU5V.js → chunk-5IAWFOXD.js} +1 -1
  27. package/browser/{chunk-GFBFG6KV.js → chunk-5L54U63F.js} +1 -1
  28. package/browser/{chunk-E7CKHP2W.js → chunk-5SFUSWFY.js} +1 -1
  29. package/browser/chunk-5TKXFIDJ.js +1 -0
  30. package/browser/chunk-5TOXPQJI.js +16 -0
  31. package/browser/chunk-66MCBKC7.js +1 -0
  32. package/browser/{chunk-6KAJXZU4.js → chunk-6FM7DAHK.js} +1 -1
  33. package/browser/{chunk-EPSJXHC6.js → chunk-6H5P35AP.js} +1 -1
  34. package/browser/{chunk-P5NZWQQQ.js → chunk-6SGN7MNX.js} +1 -1
  35. package/browser/{chunk-U2AHHKPZ.js → chunk-6WEGHV7F.js} +1 -1
  36. package/browser/{chunk-TFNPU76N.js → chunk-76RLGANX.js} +1 -1
  37. package/browser/{chunk-2RA23GAL.js → chunk-7EQG6N5Y.js} +1 -1
  38. package/browser/{chunk-RV3HEIY6.js → chunk-7NOKG3UC.js} +1 -1
  39. package/browser/{chunk-ITL6HDN2.js → chunk-7PN2DG6D.js} +1 -1
  40. package/browser/chunk-7QGORD2Z.js +2 -0
  41. package/browser/{chunk-VSS454NR.js → chunk-7TBS7SPQ.js} +1 -1
  42. package/browser/{chunk-HS26VQGJ.js → chunk-A45GTZVV.js} +1 -1
  43. package/browser/{chunk-EHLQZKY6.js → chunk-AAXXZ3RZ.js} +1 -1
  44. package/browser/{chunk-U2WIPEWI.js → chunk-ABO3BJKM.js} +1 -1
  45. package/browser/{chunk-WXF6PTWZ.js → chunk-AFBBEIKR.js} +1 -1
  46. package/browser/{chunk-VNV7VWNA.js → chunk-APOV2ZYY.js} +1 -1
  47. package/browser/{chunk-LWTHIG4U.js → chunk-AQQHMGYE.js} +1 -1
  48. package/browser/{chunk-QJIVDQKL.js → chunk-B3JWFPWO.js} +1 -1
  49. package/browser/{chunk-CRXFERRX.js → chunk-BILYIP7J.js} +1 -1
  50. package/browser/{chunk-47TATTXM.js → chunk-BKBSPC2U.js} +1 -1
  51. package/browser/chunk-BLG3XERH.js +1 -0
  52. package/browser/{chunk-VIIDAPDU.js → chunk-BR3Y2C2F.js} +1 -1
  53. package/browser/{chunk-42IETN73.js → chunk-BY57IAJ7.js} +1 -1
  54. package/browser/{chunk-WILA4FS3.js → chunk-BYO7FJ4O.js} +1 -1
  55. package/browser/{chunk-KRTNI2QB.js → chunk-C4WJKF7R.js} +1 -1
  56. package/browser/{chunk-OFXB2JPC.js → chunk-C56YPV2G.js} +2 -2
  57. package/browser/{chunk-EV4Q6ALX.js → chunk-C5AIOCPM.js} +1 -1
  58. package/browser/{chunk-T4EAHLQ4.js → chunk-CBSYYTXQ.js} +1 -1
  59. package/browser/{chunk-3G2IUR3X.js → chunk-CGISR53W.js} +1 -1
  60. package/browser/chunk-CLJWABT2.js +4 -0
  61. package/browser/{chunk-PS6E5OMN.js → chunk-CM7Z6YFA.js} +1 -1
  62. package/browser/{chunk-YJJAQOYJ.js → chunk-CS6HBROS.js} +1 -1
  63. package/browser/{chunk-O44PCSTB.js → chunk-DC426G2P.js} +1 -1
  64. package/browser/{chunk-FV4VN5TM.js → chunk-DGXQDOCM.js} +1 -1
  65. package/browser/{chunk-VCSTNDEY.js → chunk-DJAISUEF.js} +1 -1
  66. package/browser/{chunk-KOF4TIVO.js → chunk-DJTAYVZN.js} +1 -1
  67. package/browser/chunk-DLNZDHGS.js +1 -0
  68. package/browser/{chunk-XGM7LWRY.js → chunk-DWZLJMWC.js} +1 -1
  69. package/browser/{chunk-HENPJSI6.js → chunk-DXBQR3VL.js} +1 -1
  70. package/browser/{chunk-XVOXL7EV.js → chunk-E2DUJTA4.js} +1 -1
  71. package/browser/{chunk-S5MGRIMQ.js → chunk-ED4WZKA6.js} +1 -1
  72. package/browser/{chunk-QLGCMRTS.js → chunk-EMJ7V5XH.js} +2 -2
  73. package/browser/{chunk-B2ZKTHHK.js → chunk-EX4TE4E5.js} +1 -1
  74. package/browser/{chunk-MBWD4S2P.js → chunk-F53OD5V2.js} +1 -1
  75. package/browser/{chunk-QNQXO4YS.js → chunk-FIUZN6JU.js} +1 -1
  76. package/browser/{chunk-UFZBFEHP.js → chunk-FNQCKGUC.js} +1 -1
  77. package/browser/{chunk-WJL7IGC6.js → chunk-FX72NG5O.js} +1 -1
  78. package/browser/{chunk-LLD4JAZJ.js → chunk-FY2ZQK3Q.js} +1 -1
  79. package/browser/{chunk-FO57E5BU.js → chunk-G4IW5GPY.js} +1 -1
  80. package/browser/{chunk-FHVQSZV4.js → chunk-G5QWJMKY.js} +1 -1
  81. package/browser/{chunk-54PTN6TM.js → chunk-GDS3XQ5F.js} +1 -1
  82. package/browser/{chunk-MMT7GFHE.js → chunk-GI7KMXBX.js} +1 -1
  83. package/browser/{chunk-XMPP4Y4Z.js → chunk-GM6P3WGI.js} +1 -1
  84. package/browser/{chunk-XSPT7GLC.js → chunk-GMPJ72LI.js} +1 -1
  85. package/browser/{chunk-YGOSFZQM.js → chunk-GNODCFOP.js} +1 -1
  86. package/browser/{chunk-7WAZVWJ7.js → chunk-GODXDKX5.js} +1 -1
  87. package/browser/chunk-GSFXKVGZ.js +1 -0
  88. package/browser/{chunk-D7PYJVQX.js → chunk-H7XFYY6V.js} +1 -1
  89. package/browser/chunk-HI65LAJQ.js +1 -0
  90. package/browser/{chunk-LOHDNRJM.js → chunk-HIOIFMAE.js} +1 -1
  91. package/browser/{chunk-LHXDS2UV.js → chunk-HL3ONSX6.js} +1 -1
  92. package/browser/{chunk-XUEGGJ25.js → chunk-HLNB2PE4.js} +1 -1
  93. package/browser/chunk-HOBU2OAG.js +1 -0
  94. package/browser/{chunk-X5OTMPQN.js → chunk-HQ4NLUV6.js} +1 -1
  95. package/browser/{chunk-GA5UNKLN.js → chunk-HYCJCA6A.js} +1 -1
  96. package/browser/{chunk-6AY5BHS7.js → chunk-HYCSLDMX.js} +1 -1
  97. package/browser/{chunk-WPPCNK6N.js → chunk-I3ABVEQL.js} +1 -1
  98. package/browser/{chunk-RWMRVY4Q.js → chunk-IDQUQBKL.js} +1 -1
  99. package/browser/chunk-IFOBYW26.js +1 -0
  100. package/browser/chunk-IGKZJP6R.js +1 -0
  101. package/browser/{chunk-OQW54TBN.js → chunk-IGNVHAO2.js} +1 -1
  102. package/browser/{chunk-BCNA556P.js → chunk-IKA5TDNG.js} +1 -1
  103. package/browser/{chunk-GG2JYIHB.js → chunk-ILIZ5NZH.js} +3 -3
  104. package/browser/{chunk-BWBWSNUR.js → chunk-IMST27WS.js} +1 -1
  105. package/browser/{chunk-XABTH5K3.js → chunk-INHUUGSI.js} +1 -1
  106. package/browser/{chunk-XFQZ7QQD.js → chunk-IRDKCXB2.js} +1 -1
  107. package/browser/{chunk-BOKRBOOE.js → chunk-IWUWV3MS.js} +1 -1
  108. package/browser/{chunk-REYWUYK5.js → chunk-J7YNB6YX.js} +1 -1
  109. package/browser/{chunk-6CM3LOP5.js → chunk-JCTDWAYQ.js} +1 -1
  110. package/browser/{chunk-CDXAKDVU.js → chunk-JEL3OND6.js} +1 -1
  111. package/browser/{chunk-2S4MUH4L.js → chunk-JT3HOWQH.js} +10 -10
  112. package/browser/{chunk-NQ3TLVWW.js → chunk-JUS6LLVX.js} +1 -1
  113. package/browser/{chunk-HG5EY2AA.js → chunk-JVFZL3LP.js} +1 -1
  114. package/browser/{chunk-D4VXNK25.js → chunk-JYZTRN6N.js} +3 -3
  115. package/browser/{chunk-NKSKEAZY.js → chunk-K4LLK7O5.js} +1 -1
  116. package/browser/{chunk-DSGMEORC.js → chunk-KA4G654J.js} +1 -1
  117. package/browser/{chunk-FE7XNXYT.js → chunk-KCOMWYKA.js} +1 -1
  118. package/browser/{chunk-RN6J3XFI.js → chunk-KD7WBOUR.js} +1 -1
  119. package/browser/{chunk-W4S7Q6CB.js → chunk-KEAT6AT3.js} +1 -1
  120. package/browser/{chunk-5X6HJLPO.js → chunk-KHR4NBM3.js} +1 -1
  121. package/browser/{chunk-TU6PG43Y.js → chunk-KI4BAWII.js} +1 -1
  122. package/browser/{chunk-XEAD3GDE.js → chunk-KJLTTTEY.js} +1 -1
  123. package/browser/{chunk-PIZCEKMP.js → chunk-KKLNFVVN.js} +1 -1
  124. package/browser/{chunk-TRI5DSKF.js → chunk-KP7OGAMJ.js} +1 -1
  125. package/browser/chunk-KPVGNOMG.js +1 -0
  126. package/browser/{chunk-Z2VRH2HR.js → chunk-KTPMM54V.js} +1 -1
  127. package/browser/{chunk-KPNDJV2U.js → chunk-KYAKLZR7.js} +1 -1
  128. package/browser/chunk-L424UWKA.js +3 -0
  129. package/browser/{chunk-ZVQF3NH4.js → chunk-L5GSB3ZX.js} +1 -1
  130. package/browser/{chunk-QDM4BBTH.js → chunk-L5ZIS7CJ.js} +1 -1
  131. package/browser/{chunk-XU5W6MOV.js → chunk-L76WVZW6.js} +1 -1
  132. package/browser/{chunk-2PFGIE43.js → chunk-LAZZHDUO.js} +1 -1
  133. package/browser/{chunk-CSSCB5H5.js → chunk-LBQRCFLJ.js} +1 -1
  134. package/browser/{chunk-JCTDORER.js → chunk-LBXJVRAT.js} +1 -1
  135. package/browser/{chunk-HPPVU3Z2.js → chunk-LK7UQBXO.js} +1 -1
  136. package/browser/{chunk-JQFQEYSX.js → chunk-LLEPB2B6.js} +1 -1
  137. package/browser/{chunk-KVJIA6ZU.js → chunk-LUWTRLMM.js} +1 -1
  138. package/browser/{chunk-DBEYMOMT.js → chunk-M43HNBJQ.js} +1 -1
  139. package/browser/{chunk-XZGY4EZF.js → chunk-MD6WWBSZ.js} +1 -1
  140. package/browser/{chunk-SN3QC2AI.js → chunk-MEG3XVPI.js} +1 -1
  141. package/browser/{chunk-UV57OGWO.js → chunk-MFBHQLLO.js} +1 -1
  142. package/browser/{chunk-IXBA7EIJ.js → chunk-MIENCGCQ.js} +1 -1
  143. package/browser/{chunk-H6DX2XWJ.js → chunk-MJ2YN4R7.js} +1 -1
  144. package/browser/{chunk-JSKJOCYV.js → chunk-MJIPNN7A.js} +1 -1
  145. package/browser/chunk-MMP7HKXF.js +1 -0
  146. package/browser/{chunk-GNTFQRQT.js → chunk-MPAFCKH7.js} +1 -1
  147. package/browser/{chunk-6JM2R43J.js → chunk-MPE7Q4VX.js} +1 -1
  148. package/browser/{chunk-2P6YEJWK.js → chunk-N6ZNENQU.js} +2 -2
  149. package/browser/{chunk-V2IOC2AJ.js → chunk-NFFC4KSY.js} +1 -1
  150. package/browser/{chunk-5WD2XGU7.js → chunk-NMOQIXVY.js} +1 -1
  151. package/browser/{chunk-6KD2XLEU.js → chunk-NQ3LNNVL.js} +1 -1
  152. package/browser/{chunk-CKUZYWD3.js → chunk-NRF37QSD.js} +1 -1
  153. package/browser/{chunk-OWKXU5ZC.js → chunk-NWSIPELM.js} +1 -1
  154. package/browser/{chunk-GFNPL4DE.js → chunk-NX6ACGTN.js} +1 -1
  155. package/browser/{chunk-CH2CJQUF.js → chunk-NZYZO47Z.js} +1 -1
  156. package/browser/{chunk-4GH7NXPQ.js → chunk-O2K56L4P.js} +1 -1
  157. package/browser/{chunk-ZJFXRNBM.js → chunk-O4AM5O5P.js} +16 -16
  158. package/browser/{chunk-7YBH2SXZ.js → chunk-O5SLP4JK.js} +1 -1
  159. package/browser/chunk-ON47ICI3.js +1 -0
  160. package/browser/{chunk-2T2LYQDD.js → chunk-OQI66KFN.js} +2 -2
  161. package/browser/{chunk-LY6VOK2B.js → chunk-OR7B4MQC.js} +1 -1
  162. package/browser/chunk-P5CBDXUP.js +1 -0
  163. package/browser/{chunk-5KVP2F7F.js → chunk-P6NP3EAO.js} +1 -1
  164. package/browser/{chunk-PMYMVWKR.js → chunk-PECGNYTX.js} +1 -1
  165. package/browser/{chunk-BZ2MTKI3.js → chunk-PKIK7U7Z.js} +1 -1
  166. package/browser/{chunk-4BMVHD44.js → chunk-PLWCVGTF.js} +1 -1
  167. package/browser/{chunk-LKDUSJDE.js → chunk-PO6OVC5B.js} +1 -1
  168. package/browser/{chunk-5V62CV7A.js → chunk-POJQGU7L.js} +1 -1
  169. package/browser/{chunk-XCII6WYI.js → chunk-Q2A4MYK3.js} +1 -1
  170. package/browser/chunk-QAQYVKMI.js +24 -0
  171. package/browser/{chunk-AM63STD6.js → chunk-QDE5Y76C.js} +1 -1
  172. package/browser/{chunk-YV457DYY.js → chunk-QEOGHVXA.js} +1 -1
  173. package/browser/{chunk-IYQKU2EL.js → chunk-QFON23YX.js} +1 -1
  174. package/browser/{chunk-TTUXWXNN.js → chunk-QIJEAKQK.js} +1 -1
  175. package/browser/{chunk-LFJYPPPQ.js → chunk-QPN54ILN.js} +1 -1
  176. package/browser/{chunk-5O5D7WMM.js → chunk-QZK5TM5O.js} +1 -1
  177. package/browser/{chunk-TO24XJZI.js → chunk-QZMZBCE7.js} +1 -1
  178. package/browser/{chunk-4WDKKRLY.js → chunk-R4OHTTCT.js} +1 -1
  179. package/browser/{chunk-L245BNIA.js → chunk-RF5WGONA.js} +1 -1
  180. package/browser/{chunk-FJDNER3H.js → chunk-RLQLFW36.js} +1 -1
  181. package/browser/{chunk-EEJEVJEF.js → chunk-RNLSEEMX.js} +1 -1
  182. package/browser/{chunk-VPNGMBCE.js → chunk-RNXOIUIO.js} +1 -1
  183. package/browser/{chunk-N5J3AS3T.js → chunk-S7N22G4D.js} +1 -1
  184. package/browser/{chunk-XUAUPVAM.js → chunk-SANNYTK4.js} +1 -1
  185. package/browser/chunk-SARJJ3AZ.js +1 -0
  186. package/browser/chunk-SEOZWGYI.js +1 -0
  187. package/browser/{chunk-VNNCIA5L.js → chunk-SFQX5FUP.js} +1 -1
  188. package/browser/{chunk-BG4XRSKY.js → chunk-SO4GMA3Y.js} +1 -1
  189. package/browser/chunk-SVAXS2TA.js +1 -0
  190. package/browser/chunk-TDZ2L7GX.js +1 -0
  191. package/browser/{chunk-D5IRUIA5.js → chunk-TGEQUV6Z.js} +1 -1
  192. package/browser/{chunk-6PPAAIAS.js → chunk-TH6BQXNM.js} +1 -1
  193. package/browser/{chunk-3ZFDZRWQ.js → chunk-TVWGXKBN.js} +1 -1
  194. package/browser/{chunk-5YVJIGMT.js → chunk-TVZ622KQ.js} +1 -1
  195. package/browser/{chunk-PNLYN7MQ.js → chunk-U3B2DTPX.js} +1 -1
  196. package/browser/{chunk-DNBHVVDZ.js → chunk-UDWVWF7E.js} +1 -1
  197. package/browser/{chunk-DFHK3QA3.js → chunk-UE2HBW5H.js} +1 -1
  198. package/browser/{chunk-ARGOJ7DE.js → chunk-UFBRV4CF.js} +1 -1
  199. package/browser/{chunk-4CLAEU7U.js → chunk-ULYBLEXA.js} +1 -1
  200. package/browser/chunk-UPV6MUOR.js +1 -0
  201. package/browser/{chunk-5ACAEXN7.js → chunk-USJ6ILEE.js} +1 -1
  202. package/browser/{chunk-VWL5FKU2.js → chunk-UTAQ3FRE.js} +1 -1
  203. package/browser/chunk-UWWB4ON7.js +1 -0
  204. package/browser/{chunk-B6RBXYBH.js → chunk-VP2ZEIJA.js} +1 -1
  205. package/browser/chunk-VWOX66SZ.js +3 -0
  206. package/browser/{chunk-B7BEECTQ.js → chunk-VYQEM4T2.js} +1 -1
  207. package/browser/chunk-WBMSB25X.js +1 -0
  208. package/browser/{chunk-BQZPNTN2.js → chunk-WH2BY5K4.js} +1 -1
  209. package/browser/{chunk-45LBXHFM.js → chunk-WMUZZ5XX.js} +1 -1
  210. package/browser/{chunk-FAUBVY2Z.js → chunk-WOAUMRNS.js} +2 -2
  211. package/browser/{chunk-HKYIKSF6.js → chunk-WRVMZNGD.js} +1 -1
  212. package/browser/{chunk-VBBYHB7E.js → chunk-X57HWGVJ.js} +1 -1
  213. package/browser/{chunk-HTUZHZ2W.js → chunk-XA4TVPAS.js} +1 -1
  214. package/browser/{chunk-T6TESUGU.js → chunk-XACC6EMJ.js} +1 -1
  215. package/browser/{chunk-RA4OB2YA.js → chunk-XEATJM6B.js} +1 -1
  216. package/browser/{chunk-NFZ2TD3A.js → chunk-XIXDLSA2.js} +1 -1
  217. package/browser/chunk-YEV6AJC2.js +1 -0
  218. package/browser/{chunk-MPPCTVQF.js → chunk-YRGHPSPV.js} +1 -1
  219. package/browser/chunk-YV6MAUKK.js +1 -0
  220. package/browser/chunk-Z6RY34PQ.js +1 -0
  221. package/browser/{chunk-QNPEMG6D.js → chunk-Z7IU5JLK.js} +1 -1
  222. package/browser/{chunk-YJJEYBW2.js → chunk-ZEKZLSGA.js} +1 -1
  223. package/browser/{chunk-QYQO4PJF.js → chunk-ZHPBIWMH.js} +1 -1
  224. package/browser/{chunk-2T52WAWX.js → chunk-ZK32OWP6.js} +2 -2
  225. package/browser/{chunk-7EN4VWQC.js → chunk-ZRYRGDGM.js} +1 -1
  226. package/browser/{chunk-5JDNG4HM.js → chunk-ZVBZGOUU.js} +1 -1
  227. package/browser/{chunk-IKX6MZV7.js → chunk-ZW5E2GIN.js} +1 -1
  228. package/browser/{chunk-KCYEWNYP.js → chunk-ZXSVZL53.js} +1 -1
  229. package/browser/index.html +2 -2
  230. package/browser/main-ICSDESMZ.js +3 -0
  231. package/package.json +1 -1
  232. package/browser/chunk-2BGWWBHC.js +0 -3
  233. package/browser/chunk-2UJUXPQL.js +0 -1
  234. package/browser/chunk-44MS566M.js +0 -4
  235. package/browser/chunk-45DQRELI.js +0 -24
  236. package/browser/chunk-5A4BI6R4.js +0 -1
  237. package/browser/chunk-67JWJEWL.js +0 -1
  238. package/browser/chunk-6VWCIQNT.js +0 -1
  239. package/browser/chunk-AD5QTGBG.js +0 -1
  240. package/browser/chunk-ADRSDODY.js +0 -1
  241. package/browser/chunk-AL37NTTS.js +0 -1
  242. package/browser/chunk-BWL4WXAD.js +0 -1
  243. package/browser/chunk-DWWQ27MN.js +0 -16
  244. package/browser/chunk-DZSOQO6Z.js +0 -1
  245. package/browser/chunk-G36EBMA4.js +0 -1
  246. package/browser/chunk-GQGYP4YJ.js +0 -1
  247. package/browser/chunk-HE2B5Q63.js +0 -1
  248. package/browser/chunk-II43RP2H.js +0 -1
  249. package/browser/chunk-JM73PAXO.js +0 -1
  250. package/browser/chunk-KY4GSSBW.js +0 -1
  251. package/browser/chunk-LFUE4ZL6.js +0 -2
  252. package/browser/chunk-LJ6YD225.js +0 -1
  253. package/browser/chunk-NJ67KPDC.js +0 -3
  254. package/browser/chunk-O2H3P76C.js +0 -1
  255. package/browser/chunk-OHYERAR6.js +0 -1
  256. package/browser/chunk-P4NX6EKZ.js +0 -1
  257. package/browser/chunk-PF2YFOXS.js +0 -1
  258. package/browser/chunk-QXANNR7D.js +0 -1
  259. package/browser/chunk-RLNFPJPE.js +0 -1
  260. package/browser/chunk-RRHPX65K.js +0 -1
  261. package/browser/chunk-SZHE2X7K.js +0 -1
  262. package/browser/chunk-TTR5FF2O.js +0 -1
  263. package/browser/chunk-UWBVPKV4.js +0 -1
  264. package/browser/chunk-Y2T5WNHG.js +0 -1
  265. package/browser/chunk-Y5JYDZ3E.js +0 -1
  266. package/browser/chunk-YGHK5XUL.js +0 -1
  267. package/browser/chunk-YZSVWK3T.js +0 -1
  268. package/browser/chunk-ZIWCCS4F.js +0 -1
  269. package/browser/chunk-ZJDFNACB.js +0 -1
  270. package/browser/main-K2ATSNT2.js +0 -3
@@ -1,4 +1,4 @@
1
- import{$ as V,U as de,V as N,X as ce,aa as W,ba as T,c as re,ca as he,da as ue,e as le,f as ae,ta as S,ua as j,va as E,wa as P,xa as H,ya as fe}from"./chunk-7YBH2SXZ.js";import{Ca as w,Ha as Q,Ia as _,Ja as F,Kc as b,Lc as x,Ma as ee,Pc as p,Vc as oe,Xc as M,bc as ie,cb as A,cc as se,db as R,ib as te,jb as $,la as X,lb as I,ma as Y,na as K,pa as y,sc as ne,td as k,xa as Z,ya as J}from"./chunk-D4VXNK25.js";import{a as h,b as L,e as U}from"./chunk-SNAKHGZS.js";var B={};function pe(o="pui_id_"){return Object.hasOwn(B,o)||(B[o]=0),B[o]++,`${o}${B[o]}`}function O(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[O(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}var Ee=Object.defineProperty,ge=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,me=(o,a,e)=>a in o?Ee(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e,ye=(o,a)=>{for(var e in a||(a={}))_e.call(a,e)&&me(o,e,a[e]);if(ge)for(var e of ge(a))Te.call(a,e)&&me(o,e,a[e]);return o};function be(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[be(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}function Pe(o){return typeof o=="function"&&"call"in o&&"apply"in o}function q(...o){return o?.reduce((a,e={})=>{for(let t in e){let i=e[t];if(t==="style")a.style=ye(ye({},a.style),e.style);else if(t==="class"||t==="className")a[t]=be(a[t],e[t]);else if(Pe(i)){let s=a[t];a[t]=s?(...n)=>{s(...n),i(...n)}:i}else a[t]=i}return a},{})}var Se=(()=>{class o extends H{name="common";static \u0275fac=(()=>{let e;return function(i){return(e||(e=_(o)))(i||o)}})();static \u0275prov=X({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Oe=new K("PARENT_INSTANCE"),ve=(()=>{class o{document=y(J);platformId=y(ee);el=y(F);injector=y(Z);cd=y(oe);renderer=y(A);config=y(fe);$parentInstance=y(Oe,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=y(Se);baseStyle=y(H);scopedStyleEl;parent=this.$params.parent;cn=O;_themeScopedListener;dt=p();unstyled=p();pt=p();ptOptions=p();$attrSelector=pe("pc");get $name(){return this.componentName||this.constructor?.name?.replace(/^_/,"")||"UnknownComponent"}get $hostName(){return this.hostName}$unstyled=b(()=>this.unstyled()!==void 0?this.unstyled():this.config?.unstyled()||!1);$pt=b(()=>V(this.pt()||this.directivePT(),this.$params));directivePT=w(void 0);get $globalPT(){return this._getPT(this.config?.pt(),void 0,e=>V(e,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,e=>this._getOptionValue(e,this.$hostName||this.$name,this.$params)||V(e,this.$params))}get $style(){return h(h({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let e=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:e}}}onInit(){}onChanges(e){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._themeScopedListener),this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()),e(()=>{S.off("theme:change",this._themeScopedListener)})}),x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._loadCoreStyles),this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))),e(()=>{S.off("theme:change",this._loadCoreStyles)})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(e){this.onChanges(e),this._hook("onChanges",e)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.el?.nativeElement?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(e,...t){return de(e)?e(...t):q(...t)}_getHostInstance(e){return e?this.$hostName?this.$name===this.$hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0}_getPropValue(e){return this[e]||this._getHostInstance(this)?.[e]}_getOptionValue(e,t="",i={}){return he(e,t,i)}_hook(e,...t){if(!this.$hostName){let i=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${e}`),s=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);i?.(...t),s?.(...t)}}_load(){P.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),P.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener(()=>this._load())}_loadGlobalStyles(){let e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);N(e)&&this.baseStyle.load(e,h({name:"global"},this.$styleOptions))}_loadCoreStyles(){!P.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),P.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!E.isStyleNameLoaded("common")){let{primitive:e,semantic:t,global:i,style:s}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,h({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(t?.css,h({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(i?.css,h({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(h({name:"global-style"},this.$styleOptions),s),E.setLoadedStyleName("common")}if(!E.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:e,style:t}=this.$style?.getComponentTheme?.()||{};this.$style?.load(e,h({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(h({name:`${this.$style?.name}-style`},this.$styleOptions),t),E.setLoadedStyleName(this.$style?.name)}if(!E.isStyleNameLoaded("layer-order")){let e=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,h({name:"layer-order",first:!0},this.$styleOptions)),E.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(e){let{css:t}=this.$style?.getPresetTheme?.(e,`[${this.$attrSelector}]`)||{},i=this.$style?.load(t,h({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=i?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e=()=>{}){P.clearLoadedStyleNames(),S.on("theme:change",e.bind(this))}_removeThemeListeners(){S.off("theme:change",this._loadCoreStyles),S.off("theme:change",this._load),S.off("theme:change",this._themeScopedListener)}_getPTValue(e={},t="",i={},s=!0){let n=/./g.test(t)&&!!i[t.split(".")[0]],{mergeSections:r=!0,mergeProps:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=s?n?this._useGlobalPT(this._getPTClassValue,t,i):this._useDefaultPT(this._getPTClassValue,t,i):void 0,d=n?void 0:this._usePT(this._getPT(e,this.$hostName||this.$name),this._getPTClassValue,t,L(h({},i),{global:c||{}})),u=this._getPTDatasets(t);return r||!r&&d?l?this._mergeProps(l,c,d,u):h(h(h({},c),d),u):h(h({},d),u)}_getPTDatasets(e=""){let t="data-pc-",i=e==="root"&&N(this.$pt()?.["data-pc-section"]);return e!=="transition"&&L(h({},e==="root"&&L(h({[`${t}name`]:T(i?this.$pt()?.["data-pc-section"]:this.$name)},i&&{[`${t}extend`]:T(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${t}section`]:T(e.includes(".")?e.split(".").at(-1)??"":e)})}_getPTClassValue(e,t,i){let s=this._getOptionValue(e,t,i);return W(s)||ue(s)?{class:s}:s}_getPT(e,t="",i){let s=(n,r=!1)=>{let l=i?i(n):n,c=T(t),d=T(this.$hostName||this.$name);return(r?c!==d?l?.[c]:void 0:l?.[c])??l};return e?.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:s(e.originalValue),value:s(e.value)}:s(e,!0)}_usePT(e,t,i,s){let n=r=>t?.call(this,r,i,s);if(e?.hasOwnProperty("_usept")){let{mergeSections:r=!0,mergeProps:l=!1}=e._usept||this.config?.ptOptions()||{},c=n(e.originalValue),d=n(e.value);return c===void 0&&d===void 0?void 0:W(d)?d:W(c)?c:r||!r&&d?l?this._mergeProps(l,c,d):h(h({},c),d):d}return n(e)}_useGlobalPT(e,t,i){return this._usePT(this.$globalPT,e,t,i)}_useDefaultPT(e,t,i){return this._usePT(this.$defaultPT,e,t,i)}ptm(e="",t={}){return this._getPTValue(this.$pt(),e,h(h({},this.$params),t))}ptms(e,t={}){return e.reduce((i,s)=>(i=q(i,this.ptm(s,t))||{},i),{})}ptmo(e={},t="",i={}){return this._getPTValue(e,t,h({instance:this},i),!1)}cx(e,t={}){return this.$unstyled()?void 0:O(this._getOptionValue(this.$style.classes,e,h(h({},this.$params),t)))}sx(e="",t=!0,i={}){if(t){let s=this._getOptionValue(this.$style.inlineStyles,e,h(h({},this.$params),i)),n=this._getOptionValue(this.baseComponentStyle.inlineStyles,e,h(h({},this.$params),i));return h(h({},n),s)}}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[ne([Se,H]),Q]})}return o})();var xe=(()=>{class o{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,t){e&&t&&(e.classList?e.classList.add(t):e.className+=" "+t)}static addMultipleClasses(e,t){if(e&&t)if(e.classList){let i=t.trim().split(" ");for(let s=0;s<i.length;s++)e.classList.add(i[s])}else{let i=t.split(" ");for(let s=0;s<i.length;s++)e.className+=" "+i[s]}}static removeClass(e,t){e&&t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(e,t){e&&t&&[t].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(s=>this.removeClass(e,s)))}static hasClass(e,t){return e&&t?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(t){return t!==e})}static find(e,t){return Array.from(e.querySelectorAll(t))}static findSingle(e,t){return this.isElement(e)?e.querySelector(t):null}static index(e){let t=e.parentNode.childNodes,i=0;for(var s=0;s<t.length;s++){if(t[s]==e)return i;t[s].nodeType==1&&i++}return-1}static indexWithinGroup(e,t){let i=e.parentNode?e.parentNode.childNodes:[],s=0;for(var n=0;n<i.length;n++){if(i[n]==e)return s;i[n].attributes&&i[n].attributes[t]&&i[n].nodeType==1&&s++}return-1}static appendOverlay(e,t,i="self"){i!=="self"&&e&&t&&this.appendChild(e,t)}static alignOverlay(e,t,i="self",s=!0){e&&t&&(s&&(e.style.minWidth=`${o.getOuterWidth(t)}px`),i==="self"?this.relativePosition(e,t):this.absolutePosition(e,t))}static relativePosition(e,t,i=!0){let s=C=>{if(C)return getComputedStyle(C).getPropertyValue("position")==="relative"?C:s(C.parentElement)},n=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),r=t.offsetHeight,l=t.getBoundingClientRect(),c=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),u=this.getViewport(),f=s(e)?.getBoundingClientRect()||{top:-1*c,left:-1*d},m,v,D="top";l.top+r+n.height>u.height?(m=l.top-f.top-n.height,D="bottom",l.top+m<0&&(m=-1*l.top)):(m=r+l.top-f.top,D="top");let G=l.left+n.width-u.width,Ce=l.left-f.left;if(n.width>u.width?v=(l.left-f.left)*-1:G>0?v=Ce-G:v=l.left-f.left,e.style.top=m+"px",e.style.left=v+"px",e.style.transformOrigin=D,i){let C=ae(/-anchor-gutter$/)?.value;e.style.marginTop=D==="bottom"?`calc(${C??"2px"} * -1)`:C??""}}static absolutePosition(e,t,i=!0){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),n=s.height,r=s.width,l=t.offsetHeight,c=t.offsetWidth,d=t.getBoundingClientRect(),u=this.getWindowScrollTop(),g=this.getWindowScrollLeft(),f=this.getViewport(),m,v;d.top+l+n>f.height?(m=d.top+u-n,e.style.transformOrigin="bottom",m<0&&(m=u)):(m=l+d.top+u,e.style.transformOrigin="top"),d.left+r>f.width?v=Math.max(0,d.left+g+c-r):v=d.left+g,e.style.top=m+"px",e.style.left=v+"px",i&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,t=[]){return e.parentNode===null?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}static getScrollableParents(e){let t=[];if(e){let i=this.getParents(e),s=/(auto|scroll)/,n=r=>{let l=window.getComputedStyle(r,null);return s.test(l.getPropertyValue("overflow"))||s.test(l.getPropertyValue("overflowX"))||s.test(l.getPropertyValue("overflowY"))};for(let r of i){let l=r.nodeType===1&&r.dataset.scrollselectors;if(l){let c=l.split(",");for(let d of c){let u=this.findSingle(r,d);u&&n(u)&&t.push(u)}}r.nodeType!==9&&n(r)&&t.push(r)}}return t}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementDimensions(e){let t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}static scrollInView(e,t){let i=getComputedStyle(e).getPropertyValue("borderTopWidth"),s=i?parseFloat(i):0,n=getComputedStyle(e).getPropertyValue("paddingTop"),r=n?parseFloat(n):0,l=e.getBoundingClientRect(),d=t.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-s-r,u=e.scrollTop,g=e.clientHeight,f=this.getOuterHeight(t);d<0?e.scrollTop=u+d:d+f>g&&(e.scrollTop=u+d-g+f)}static fadeIn(e,t){e.style.opacity=0;let i=+new Date,s=0,n=function(){s=+e.style.opacity.replace(",",".")+(new Date().getTime()-i)/t,e.style.opacity=s,i=+new Date,+s<1&&(window.requestAnimationFrame?window.requestAnimationFrame(n):setTimeout(n,16))};n()}static fadeOut(e,t){var i=1,s=50,n=t,r=s/n;let l=setInterval(()=>{i=i-r,i<=0&&(i=0,clearInterval(l)),e.style.opacity=i},s)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,t){var i=Element.prototype,s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(n){return[].indexOf.call(document.querySelectorAll(n),this)!==-1};return s.call(e,t)}static getOuterWidth(e,t){let i=e.offsetWidth;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return i}static getHorizontalPadding(e){let t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}static getHorizontalMargin(e){let t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}static innerWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static width(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static getInnerHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t+=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom),t}static getOuterHeight(e,t){let i=e.offsetHeight;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return i}static getHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}static getWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}static getViewport(){let e=window,t=document,i=t.documentElement,s=t.getElementsByTagName("body")[0],n=e.innerWidth||i.clientWidth||s.clientWidth,r=e.innerHeight||i.clientHeight||s.clientHeight;return{width:n,height:r}}static getOffset(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,t){let i=e.parentNode;if(!i)throw"Can't replace element";return i.replaceChild(t,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return!0;var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return!0}var n=e.indexOf("Edge/");return n>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,t){if(this.isElement(t))t.appendChild(e);else if(t&&t.el&&t.el.nativeElement)t.el.nativeElement.appendChild(e);else throw"Cannot append "+t+" to "+e}static removeChild(e,t){if(this.isElement(t))t.removeChild(e);else if(t.el&&t.el.nativeElement)t.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+t}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode?.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let i=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=i,i}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}static invokeElementMethod(e,t,i){e[t].apply(e,i)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,t){e&&document.activeElement!==e&&e.focus(t)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
1
+ import{$ as V,U as de,V as N,X as ce,aa as W,ba as T,c as re,ca as he,da as ue,e as le,f as ae,ta as S,ua as j,va as E,wa as P,xa as H,ya as fe}from"./chunk-O5SLP4JK.js";import{Ca as w,Ha as Q,Ia as _,Ja as F,Kc as b,Lc as x,Ma as ee,Pc as p,Vc as oe,Xc as M,bc as ie,cb as A,cc as se,db as R,ib as te,jb as $,la as X,lb as I,ma as Y,na as K,pa as y,sc as ne,td as k,xa as Z,ya as J}from"./chunk-JYZTRN6N.js";import{a as h,b as L,e as U}from"./chunk-SNAKHGZS.js";var B={};function pe(o="pui_id_"){return Object.hasOwn(B,o)||(B[o]=0),B[o]++,`${o}${B[o]}`}function O(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[O(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}var Ee=Object.defineProperty,ge=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,me=(o,a,e)=>a in o?Ee(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e,ye=(o,a)=>{for(var e in a||(a={}))_e.call(a,e)&&me(o,e,a[e]);if(ge)for(var e of ge(a))Te.call(a,e)&&me(o,e,a[e]);return o};function be(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[be(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}function Pe(o){return typeof o=="function"&&"call"in o&&"apply"in o}function q(...o){return o?.reduce((a,e={})=>{for(let t in e){let i=e[t];if(t==="style")a.style=ye(ye({},a.style),e.style);else if(t==="class"||t==="className")a[t]=be(a[t],e[t]);else if(Pe(i)){let s=a[t];a[t]=s?(...n)=>{s(...n),i(...n)}:i}else a[t]=i}return a},{})}var Se=(()=>{class o extends H{name="common";static \u0275fac=(()=>{let e;return function(i){return(e||(e=_(o)))(i||o)}})();static \u0275prov=X({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Oe=new K("PARENT_INSTANCE"),ve=(()=>{class o{document=y(J);platformId=y(ee);el=y(F);injector=y(Z);cd=y(oe);renderer=y(A);config=y(fe);$parentInstance=y(Oe,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=y(Se);baseStyle=y(H);scopedStyleEl;parent=this.$params.parent;cn=O;_themeScopedListener;dt=p();unstyled=p();pt=p();ptOptions=p();$attrSelector=pe("pc");get $name(){return this.componentName||this.constructor?.name?.replace(/^_/,"")||"UnknownComponent"}get $hostName(){return this.hostName}$unstyled=b(()=>this.unstyled()!==void 0?this.unstyled():this.config?.unstyled()||!1);$pt=b(()=>V(this.pt()||this.directivePT(),this.$params));directivePT=w(void 0);get $globalPT(){return this._getPT(this.config?.pt(),void 0,e=>V(e,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,e=>this._getOptionValue(e,this.$hostName||this.$name,this.$params)||V(e,this.$params))}get $style(){return h(h({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let e=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:e}}}onInit(){}onChanges(e){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._themeScopedListener),this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()),e(()=>{S.off("theme:change",this._themeScopedListener)})}),x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._loadCoreStyles),this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))),e(()=>{S.off("theme:change",this._loadCoreStyles)})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(e){this.onChanges(e),this._hook("onChanges",e)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.el?.nativeElement?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(e,...t){return de(e)?e(...t):q(...t)}_getHostInstance(e){return e?this.$hostName?this.$name===this.$hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0}_getPropValue(e){return this[e]||this._getHostInstance(this)?.[e]}_getOptionValue(e,t="",i={}){return he(e,t,i)}_hook(e,...t){if(!this.$hostName){let i=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${e}`),s=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);i?.(...t),s?.(...t)}}_load(){P.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),P.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener(()=>this._load())}_loadGlobalStyles(){let e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);N(e)&&this.baseStyle.load(e,h({name:"global"},this.$styleOptions))}_loadCoreStyles(){!P.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),P.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!E.isStyleNameLoaded("common")){let{primitive:e,semantic:t,global:i,style:s}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,h({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(t?.css,h({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(i?.css,h({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(h({name:"global-style"},this.$styleOptions),s),E.setLoadedStyleName("common")}if(!E.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:e,style:t}=this.$style?.getComponentTheme?.()||{};this.$style?.load(e,h({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(h({name:`${this.$style?.name}-style`},this.$styleOptions),t),E.setLoadedStyleName(this.$style?.name)}if(!E.isStyleNameLoaded("layer-order")){let e=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,h({name:"layer-order",first:!0},this.$styleOptions)),E.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(e){let{css:t}=this.$style?.getPresetTheme?.(e,`[${this.$attrSelector}]`)||{},i=this.$style?.load(t,h({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=i?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e=()=>{}){P.clearLoadedStyleNames(),S.on("theme:change",e.bind(this))}_removeThemeListeners(){S.off("theme:change",this._loadCoreStyles),S.off("theme:change",this._load),S.off("theme:change",this._themeScopedListener)}_getPTValue(e={},t="",i={},s=!0){let n=/./g.test(t)&&!!i[t.split(".")[0]],{mergeSections:r=!0,mergeProps:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=s?n?this._useGlobalPT(this._getPTClassValue,t,i):this._useDefaultPT(this._getPTClassValue,t,i):void 0,d=n?void 0:this._usePT(this._getPT(e,this.$hostName||this.$name),this._getPTClassValue,t,L(h({},i),{global:c||{}})),u=this._getPTDatasets(t);return r||!r&&d?l?this._mergeProps(l,c,d,u):h(h(h({},c),d),u):h(h({},d),u)}_getPTDatasets(e=""){let t="data-pc-",i=e==="root"&&N(this.$pt()?.["data-pc-section"]);return e!=="transition"&&L(h({},e==="root"&&L(h({[`${t}name`]:T(i?this.$pt()?.["data-pc-section"]:this.$name)},i&&{[`${t}extend`]:T(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${t}section`]:T(e.includes(".")?e.split(".").at(-1)??"":e)})}_getPTClassValue(e,t,i){let s=this._getOptionValue(e,t,i);return W(s)||ue(s)?{class:s}:s}_getPT(e,t="",i){let s=(n,r=!1)=>{let l=i?i(n):n,c=T(t),d=T(this.$hostName||this.$name);return(r?c!==d?l?.[c]:void 0:l?.[c])??l};return e?.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:s(e.originalValue),value:s(e.value)}:s(e,!0)}_usePT(e,t,i,s){let n=r=>t?.call(this,r,i,s);if(e?.hasOwnProperty("_usept")){let{mergeSections:r=!0,mergeProps:l=!1}=e._usept||this.config?.ptOptions()||{},c=n(e.originalValue),d=n(e.value);return c===void 0&&d===void 0?void 0:W(d)?d:W(c)?c:r||!r&&d?l?this._mergeProps(l,c,d):h(h({},c),d):d}return n(e)}_useGlobalPT(e,t,i){return this._usePT(this.$globalPT,e,t,i)}_useDefaultPT(e,t,i){return this._usePT(this.$defaultPT,e,t,i)}ptm(e="",t={}){return this._getPTValue(this.$pt(),e,h(h({},this.$params),t))}ptms(e,t={}){return e.reduce((i,s)=>(i=q(i,this.ptm(s,t))||{},i),{})}ptmo(e={},t="",i={}){return this._getPTValue(e,t,h({instance:this},i),!1)}cx(e,t={}){return this.$unstyled()?void 0:O(this._getOptionValue(this.$style.classes,e,h(h({},this.$params),t)))}sx(e="",t=!0,i={}){if(t){let s=this._getOptionValue(this.$style.inlineStyles,e,h(h({},this.$params),i)),n=this._getOptionValue(this.baseComponentStyle.inlineStyles,e,h(h({},this.$params),i));return h(h({},n),s)}}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[ne([Se,H]),Q]})}return o})();var xe=(()=>{class o{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,t){e&&t&&(e.classList?e.classList.add(t):e.className+=" "+t)}static addMultipleClasses(e,t){if(e&&t)if(e.classList){let i=t.trim().split(" ");for(let s=0;s<i.length;s++)e.classList.add(i[s])}else{let i=t.split(" ");for(let s=0;s<i.length;s++)e.className+=" "+i[s]}}static removeClass(e,t){e&&t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(e,t){e&&t&&[t].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(s=>this.removeClass(e,s)))}static hasClass(e,t){return e&&t?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(t){return t!==e})}static find(e,t){return Array.from(e.querySelectorAll(t))}static findSingle(e,t){return this.isElement(e)?e.querySelector(t):null}static index(e){let t=e.parentNode.childNodes,i=0;for(var s=0;s<t.length;s++){if(t[s]==e)return i;t[s].nodeType==1&&i++}return-1}static indexWithinGroup(e,t){let i=e.parentNode?e.parentNode.childNodes:[],s=0;for(var n=0;n<i.length;n++){if(i[n]==e)return s;i[n].attributes&&i[n].attributes[t]&&i[n].nodeType==1&&s++}return-1}static appendOverlay(e,t,i="self"){i!=="self"&&e&&t&&this.appendChild(e,t)}static alignOverlay(e,t,i="self",s=!0){e&&t&&(s&&(e.style.minWidth=`${o.getOuterWidth(t)}px`),i==="self"?this.relativePosition(e,t):this.absolutePosition(e,t))}static relativePosition(e,t,i=!0){let s=C=>{if(C)return getComputedStyle(C).getPropertyValue("position")==="relative"?C:s(C.parentElement)},n=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),r=t.offsetHeight,l=t.getBoundingClientRect(),c=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),u=this.getViewport(),f=s(e)?.getBoundingClientRect()||{top:-1*c,left:-1*d},m,v,D="top";l.top+r+n.height>u.height?(m=l.top-f.top-n.height,D="bottom",l.top+m<0&&(m=-1*l.top)):(m=r+l.top-f.top,D="top");let G=l.left+n.width-u.width,Ce=l.left-f.left;if(n.width>u.width?v=(l.left-f.left)*-1:G>0?v=Ce-G:v=l.left-f.left,e.style.top=m+"px",e.style.left=v+"px",e.style.transformOrigin=D,i){let C=ae(/-anchor-gutter$/)?.value;e.style.marginTop=D==="bottom"?`calc(${C??"2px"} * -1)`:C??""}}static absolutePosition(e,t,i=!0){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),n=s.height,r=s.width,l=t.offsetHeight,c=t.offsetWidth,d=t.getBoundingClientRect(),u=this.getWindowScrollTop(),g=this.getWindowScrollLeft(),f=this.getViewport(),m,v;d.top+l+n>f.height?(m=d.top+u-n,e.style.transformOrigin="bottom",m<0&&(m=u)):(m=l+d.top+u,e.style.transformOrigin="top"),d.left+r>f.width?v=Math.max(0,d.left+g+c-r):v=d.left+g,e.style.top=m+"px",e.style.left=v+"px",i&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,t=[]){return e.parentNode===null?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}static getScrollableParents(e){let t=[];if(e){let i=this.getParents(e),s=/(auto|scroll)/,n=r=>{let l=window.getComputedStyle(r,null);return s.test(l.getPropertyValue("overflow"))||s.test(l.getPropertyValue("overflowX"))||s.test(l.getPropertyValue("overflowY"))};for(let r of i){let l=r.nodeType===1&&r.dataset.scrollselectors;if(l){let c=l.split(",");for(let d of c){let u=this.findSingle(r,d);u&&n(u)&&t.push(u)}}r.nodeType!==9&&n(r)&&t.push(r)}}return t}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementDimensions(e){let t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}static scrollInView(e,t){let i=getComputedStyle(e).getPropertyValue("borderTopWidth"),s=i?parseFloat(i):0,n=getComputedStyle(e).getPropertyValue("paddingTop"),r=n?parseFloat(n):0,l=e.getBoundingClientRect(),d=t.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-s-r,u=e.scrollTop,g=e.clientHeight,f=this.getOuterHeight(t);d<0?e.scrollTop=u+d:d+f>g&&(e.scrollTop=u+d-g+f)}static fadeIn(e,t){e.style.opacity=0;let i=+new Date,s=0,n=function(){s=+e.style.opacity.replace(",",".")+(new Date().getTime()-i)/t,e.style.opacity=s,i=+new Date,+s<1&&(window.requestAnimationFrame?window.requestAnimationFrame(n):setTimeout(n,16))};n()}static fadeOut(e,t){var i=1,s=50,n=t,r=s/n;let l=setInterval(()=>{i=i-r,i<=0&&(i=0,clearInterval(l)),e.style.opacity=i},s)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,t){var i=Element.prototype,s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(n){return[].indexOf.call(document.querySelectorAll(n),this)!==-1};return s.call(e,t)}static getOuterWidth(e,t){let i=e.offsetWidth;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return i}static getHorizontalPadding(e){let t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}static getHorizontalMargin(e){let t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}static innerWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static width(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static getInnerHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t+=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom),t}static getOuterHeight(e,t){let i=e.offsetHeight;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return i}static getHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}static getWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}static getViewport(){let e=window,t=document,i=t.documentElement,s=t.getElementsByTagName("body")[0],n=e.innerWidth||i.clientWidth||s.clientWidth,r=e.innerHeight||i.clientHeight||s.clientHeight;return{width:n,height:r}}static getOffset(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,t){let i=e.parentNode;if(!i)throw"Can't replace element";return i.replaceChild(t,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return!0;var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return!0}var n=e.indexOf("Edge/");return n>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,t){if(this.isElement(t))t.appendChild(e);else if(t&&t.el&&t.el.nativeElement)t.el.nativeElement.appendChild(e);else throw"Cannot append "+t+" to "+e}static removeChild(e,t){if(this.isElement(t))t.removeChild(e);else if(t.el&&t.el.nativeElement)t.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+t}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode?.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let i=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=i,i}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}static invokeElementMethod(e,t,i){e[t].apply(e,i)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,t){e&&document.activeElement!==e&&e.focus(t)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
2
2
  [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
3
3
  input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
4
4
  select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
@@ -1 +1 @@
1
- import{kb as n}from"./chunk-D4VXNK25.js";var i=class r{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||r)};static \u0275pipe=n({name:"newlines",type:r,pure:!0})};export{i as a};
1
+ import{kb as n}from"./chunk-JYZTRN6N.js";var i=class r{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||r)};static \u0275pipe=n({name:"newlines",type:r,pure:!0})};export{i as a};
@@ -1 +1 @@
1
- import{a as V,b as E}from"./chunk-EPSJXHC6.js";import{a as $}from"./chunk-FJDNER3H.js";import{F as H,a as j}from"./chunk-EEJEVJEF.js";import{Bc as w,Cb as a,Cc as k,D as u,Db as b,E as S,Eb as y,Ob as O,S as v,Y as g,aa as f,d as p,db as C,ee as M,hb as P,ic as _,jc as R,ka as d,kc as N,kd as A,la as h,o as m,oa as l,rd as T,sc as I,t as o}from"./chunk-D4VXNK25.js";var s=class t{constructor(e,n){this.httpService=e;this.signalRService=n;this.initSalesPersons()}salesPersonApi="/api/Contact/SelectSalesPersonOptions";salesPerson$=m([]);onOpenNgSelect=new p;_onOpenNgSelect$=this.onOpenNgSelect.asObservable();initSalesPersons(){this.salesPerson$=u(this._onOpenNgSelect$.pipe(v(),o(e=>({source:"select",value:e}))),this.signalRService.recacheSalesPerson$.pipe(o(e=>({source:"signalR",value:e})))).pipe(S(e=>e.value==!0),f(e=>(e.source=="signalR"&&this.signalRService.resetOutletCache(),this.httpService.get(this.salesPersonApi))),g(1))}onOpenNgselect(){this.onOpenNgSelect.next(!0)}static \u0275fac=function(n){return new(n||t)(l(M),l($))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})};var F=class t{constructor(e){this.salesPersonService=e}value=null;onChange=()=>{};onTouched=()=>{};placeholder="Choose Sales Person";multiple=!1;clearable=!0;salesPerson$;ngOnInit(){this.salesPerson$=this.salesPersonService.salesPerson$}onClickSelect(){this.salesPersonService.onOpenNgselect()}writeValue(e){this.value=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onSelectChange(){this.onChange(this.value)}static \u0275fac=function(n){return new(n||t)(C(s))};static \u0275cmp=P({type:t,selectors:[["sales-person-selector"]],inputs:{placeholder:"placeholder",multiple:"multiple",clearable:"clearable"},features:[I([{provide:j,useExisting:d(()=>t),multi:!0}])],decls:2,vars:5,consts:[["bindValue","k","bindLabel","v",3,"selectedChange","onOpen","items","selected","placeholder"]],template:function(n,i){n&1&&(b(0,"ng-select-infinite",0),w(1,"async"),N("selectedChange",function(r){return R(i.value,r)||(i.value=r),r}),O("selectedChange",function(){return i.onSelectChange()})("onOpen",function(){return i.onClickSelect()}),y()),n&2&&(a("items",k(1,3,i.salesPerson$)),_("selected",i.value),a("placeholder",i.placeholder))},dependencies:[T,H,E,V,A],encapsulation:2})};export{F as a};
1
+ import{a as V,b as E}from"./chunk-6H5P35AP.js";import{a as $}from"./chunk-RLQLFW36.js";import{F as H,a as j}from"./chunk-RNLSEEMX.js";import{Bc as w,Cb as a,Cc as k,D as u,Db as b,E as S,Eb as y,Ob as O,S as v,Y as g,aa as f,d as p,db as C,ee as M,hb as P,ic as _,jc as R,ka as d,kc as N,kd as A,la as h,o as m,oa as l,rd as T,sc as I,t as o}from"./chunk-JYZTRN6N.js";var s=class t{constructor(e,n){this.httpService=e;this.signalRService=n;this.initSalesPersons()}salesPersonApi="/api/Contact/SelectSalesPersonOptions";salesPerson$=m([]);onOpenNgSelect=new p;_onOpenNgSelect$=this.onOpenNgSelect.asObservable();initSalesPersons(){this.salesPerson$=u(this._onOpenNgSelect$.pipe(v(),o(e=>({source:"select",value:e}))),this.signalRService.recacheSalesPerson$.pipe(o(e=>({source:"signalR",value:e})))).pipe(S(e=>e.value==!0),f(e=>(e.source=="signalR"&&this.signalRService.resetOutletCache(),this.httpService.get(this.salesPersonApi))),g(1))}onOpenNgselect(){this.onOpenNgSelect.next(!0)}static \u0275fac=function(n){return new(n||t)(l(M),l($))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})};var F=class t{constructor(e){this.salesPersonService=e}value=null;onChange=()=>{};onTouched=()=>{};placeholder="Choose Sales Person";multiple=!1;clearable=!0;salesPerson$;ngOnInit(){this.salesPerson$=this.salesPersonService.salesPerson$}onClickSelect(){this.salesPersonService.onOpenNgselect()}writeValue(e){this.value=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}onSelectChange(){this.onChange(this.value)}static \u0275fac=function(n){return new(n||t)(C(s))};static \u0275cmp=P({type:t,selectors:[["sales-person-selector"]],inputs:{placeholder:"placeholder",multiple:"multiple",clearable:"clearable"},features:[I([{provide:j,useExisting:d(()=>t),multi:!0}])],decls:2,vars:5,consts:[["bindValue","k","bindLabel","v",3,"selectedChange","onOpen","items","selected","placeholder"]],template:function(n,i){n&1&&(b(0,"ng-select-infinite",0),w(1,"async"),N("selectedChange",function(r){return R(i.value,r)||(i.value=r),r}),O("selectedChange",function(){return i.onSelectChange()})("onOpen",function(){return i.onClickSelect()}),y()),n&2&&(a("items",k(1,3,i.salesPerson$)),_("selected",i.value),a("placeholder",i.placeholder))},dependencies:[T,H,E,V,A],encapsulation:2})};export{F as a};
@@ -1 +1 @@
1
- import{a as ce}from"./chunk-3F4KI5PR.js";import{d as de,e as me}from"./chunk-BG4XRSKY.js";import"./chunk-PMYMVWKR.js";import"./chunk-3RK6DDJD.js";import"./chunk-O2H3P76C.js";import"./chunk-O44PCSTB.js";import"./chunk-TTR5FF2O.js";import"./chunk-WILA4FS3.js";import"./chunk-T4EAHLQ4.js";import{e as le}from"./chunk-U2AHHKPZ.js";import"./chunk-FO57E5BU.js";import{a as X}from"./chunk-6PPAAIAS.js";import{f as pe}from"./chunk-2T52WAWX.js";import{b as ee}from"./chunk-RN6J3XFI.js";import"./chunk-HPPVU3Z2.js";import"./chunk-VIIDAPDU.js";import"./chunk-IYQKU2EL.js";import"./chunk-QNQXO4YS.js";import{a as ie}from"./chunk-ANWIC3AL.js";import{e as oe,f as ne}from"./chunk-3G2IUR3X.js";import"./chunk-RWMRVY4Q.js";import"./chunk-MPPCTVQF.js";import"./chunk-B7BEECTQ.js";import"./chunk-VWL5FKU2.js";import"./chunk-DBEYMOMT.js";import"./chunk-PIZCEKMP.js";import"./chunk-VBBYHB7E.js";import"./chunk-E7CKHP2W.js";import"./chunk-TJXA75FB.js";import"./chunk-D5IRUIA5.js";import"./chunk-6KAJXZU4.js";import{b as te}from"./chunk-FV4VN5TM.js";import"./chunk-YJJAQOYJ.js";import"./chunk-NQ3TLVWW.js";import{F as ae,G as re}from"./chunk-TO24XJZI.js";import"./chunk-KRTNI2QB.js";import"./chunk-CH2CJQUF.js";import{d as Z,e as $}from"./chunk-VSS454NR.js";import"./chunk-FJDNER3H.js";import"./chunk-EQLHPWVB.js";import{g as Y}from"./chunk-HS26VQGJ.js";import"./chunk-OWKXU5ZC.js";import"./chunk-P5NZWQQQ.js";import"./chunk-XU5W6MOV.js";import"./chunk-2FWFPV5I.js";import"./chunk-7YBH2SXZ.js";import{F as K,h as q,o as z}from"./chunk-EEJEVJEF.js";import"./chunk-HG5EY2AA.js";import"./chunk-5YVJIGMT.js";import{d as Q}from"./chunk-5ACAEXN7.js";import"./chunk-44MS566M.js";import{$d as j,Ab as E,Bb as H,Bc as U,Cb as c,Db as a,Dc as W,Eb as r,Fb as M,Hc as L,Jb as P,Kb as h,Mb as w,Ob as x,Qa as T,Qb as s,Vc as A,Wd as N,Xa as o,Zd as O,be as G,db as C,dc as n,ec as D,ee as J,fd as R,hb as F,ic as g,jc as u,kc as _,lb as V,md as k,nb as I,rd as B,ta as l,ua as p,uc as b,yb as v}from"./chunk-D4VXNK25.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var _e=m=>({ID:m});function Ce(m,S){if(m&1){let t=w();a(0,"a",11),x("click",function(){l(t);let e=s();return p(e.openExportModal())}),M(1,"i",12),n(2," Export "),r()}}function fe(m,S){if(m&1){let t=w();a(0,"div",13)(1,"h6"),n(2,"Category"),r(),a(3,"POS-product-category-select",14),_("selectedCategoryIDChange",function(e){l(t);let i=s();return u(i.pageData.Filter.CategoryID,e)||(i.pageData.Filter.CategoryID=e),p(e)}),r(),a(4,"h6"),n(5,"Brand"),r(),a(6,"ng-select",15),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.BrandID,e)||(i.pageData.Filter.BrandID=e),p(e)}),r(),a(7,"h6"),n(8,"Tags"),r(),a(9,"ng-select",16),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.TagsID,e)||(i.pageData.Filter.TagsID=e),p(e)}),r(),a(10,"h6"),n(11,"Supplier"),r(),a(12,"autocompleteV2",17),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.SupplierID,e)||(i.pageData.Filter.SupplierID=e),p(e)}),r(),a(13,"h6"),n(14,"From - To"),r(),a(15,"div")(16,"datepicker",18),_("dateChange",function(e){l(t);let i=s();return u(i.pageData.Filter.From,e)||(i.pageData.Filter.From=e),p(e)}),r()(),a(17,"div",19)(18,"datepicker",20),_("dateChange",function(e){l(t);let i=s();return u(i.pageData.Filter.To,e)||(i.pageData.Filter.To=e),p(e)}),r()(),a(19,"h6"),n(20,"Product"),r(),a(21,"autocompleteV2",21),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.ProductID,e)||(i.pageData.Filter.ProductID=e),p(e)}),r()()}if(m&2){let t=s();o(3),g("selectedCategoryID",t.pageData.Filter.CategoryID),c("showClear",!0)("continuedCategoriesOnly",!0),o(3),c("items",t.pageData.Options==null?null:t.pageData.Options.Brands),g("ngModel",t.pageData.Filter.BrandID),o(3),c("items",t.pageData.Options==null?null:t.pageData.Options.Tags),g("ngModel",t.pageData.Filter.TagsID),o(3),g("ngModel",t.pageData.Filter.SupplierID),o(4),g("date",t.pageData.Filter.From),o(2),g("date",t.pageData.Filter.To),o(3),g("ngModel",t.pageData.Filter.ProductID)}}function ye(m,S){if(m&1&&(a(0,"tr")(1,"td")(2,"a",22),n(3),r()(),a(4,"td"),n(5),r(),a(6,"td"),n(7),r(),a(8,"td"),n(9),U(10,"date"),r(),a(11,"td"),M(12,"div",23),r()()),m&2){let t=S.$implicit;o(2),c("queryParams",b(9,_e,t.ProductID)),o(),D(t.ProductName),o(2),D(t.ProductCode),o(2),D(t.Modifier),o(2),D(W(10,6,t.Modified,"dd MMM yyyy HH:mm")),o(3),c("innerHTML",t.Note,T)}}var se=class m extends X{constructor(t,d,e,i,y,f,ge,ue){super(t,d,"catalog/Product/GetProductUpdateHistories","catalog/ProductLoader/GetProductUpdateHistories",e,ge,!1,ue);this.httpService=d;this.csvConverter=i;this.matDialog=y;this.roleService=f}openExportModal(){this.matDialog.open(ee,{data:{title:"Product Import Log",exportTypes:[{ID:"productExport/GetExportProductUpdateHistories",Value:"Default"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"catalog/Product/GetCountProductUpdateHistories",pagination:!0}})}static \u0275fac=function(d){return new(d||m)(C(te),C(J),C(G),C(ie),C(Y),C(Q),C(N),C(A))};static \u0275cmp=F({type:m,selectors:[["pos-product-update-history"]],features:[V],decls:26,vars:11,consts:[["pageFilterTemplate",""],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],["ngProjectAs","actions",5,["actions"]],["class","btn btn-outline-secondary",3,"click",4,"ngIf"],["ngProjectAs","filters",5,["filters"]],["ngProjectAs","content",5,["content"]],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table"],[1,"thead-light","sticky-header","account-receivable-header"],[3,"nextPage","fetchTotalData","concatAllData","totalData","totalCurrentRow","pageNumber","nextPageDisabled","isFetchTotalData","goToLast"],[1,"btn","btn-outline-secondary",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear","continuedCategoriesOnly"],["bindLabel","Value","bindValue","Key","placeholder","Choose...",3,"ngModelChange","items","ngModel"],["bindLabel","Name","bindValue","ID","placeholder","Choose...",3,"ngModelChange","items","ngModel"],["requestUrl","/API/AC/GetSupplierSuggestion",1,"w-100","ac-filter",3,"ngModelChange","ngModel"],["name","From",3,"dateChange","date"],[1,"mt-4"],["name","To",3,"dateChange","date"],["requestUrl","api/ac/GetProductSuggestionByCodeNName",1,"w-100","ac-filter",3,"ngModelChange","ngModel"],["target","_blank","routerLink","/menu/Products/Catalog/Products/Info",1,"link","link-primary",3,"queryParams"],[3,"innerHTML"]],template:function(d,e){if(d&1){let i=w();a(0,"mainpanel-cmp",1),_("textChange",function(f){return l(i),u(e.pageData.Filter.SearchText,f)||(e.pageData.Filter.SearchText=f),p(f)}),x("onSubmit",function(){return l(i),p(e.searchFromPageOne())}),_("filterChange",function(f){return l(i),u(e.pageData.Filter,f)||(e.pageData.Filter=f),p(f)}),P(1,2),I(2,Ce,3,0,"a",3),h(),P(3,4),I(4,fe,22,11,"ng-template",null,0,L),h(),P(6,5),a(7,"div",6)(8,"div",7)(9,"table",8)(10,"thead",9)(11,"tr")(12,"th"),n(13,"Product"),r(),a(14,"th"),n(15,"Code"),r(),a(16,"th"),n(17,"Modified By"),r(),a(18,"th"),n(19,"Modified"),r(),a(20,"th"),n(21,"Note"),r()()(),a(22,"tbody"),E(23,ye,13,11,"tr",null,v),r()()(),a(25,"infinite-pagination",10),x("nextPage",function(){return l(i),p(e.NextPage(!0))})("fetchTotalData",function(){return l(i),p(e.StoreRowsCountAPIResult("catalog/Product/GetCountProductUpdateHistories"))})("concatAllData",function(){return l(i),p(e.StoreRowsCountAPIResult("catalog/Product/GetCountProductUpdateHistories",!0))}),r()(),h(),r()}d&2&&(c("pageData",e.menuData),g("text",e.pageData.Filter.SearchText),c("isFilterOnDropdown",!1),g("filter",e.pageData.Filter),o(2),c("ngIf",e.roleService.global.Export),o(21),H(e.infiniteList),o(2),c("totalData",e.listTotal)("totalCurrentRow",e.infiniteList==null?null:e.infiniteList.length)("pageNumber",e.pageData.Filter.PageNumber)("nextPageDisabled",e.nextPageDisabled)("isFetchTotalData",e.pageData.HideStoreApiCount)("goToLast",e.goToLast))},dependencies:[ne,oe,K,q,z,B,R,ce,pe,$,Z,le,me,de,re,ae,j,O,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{se as ProductUpdateHistoryComponent};
1
+ import{a as ce}from"./chunk-2MQDNPCG.js";import{d as de,e as me}from"./chunk-SO4GMA3Y.js";import"./chunk-PECGNYTX.js";import"./chunk-3RK6DDJD.js";import"./chunk-SARJJ3AZ.js";import"./chunk-DC426G2P.js";import"./chunk-3KSZCJ6T.js";import"./chunk-BYO7FJ4O.js";import"./chunk-CBSYYTXQ.js";import{e as le}from"./chunk-6WEGHV7F.js";import"./chunk-G4IW5GPY.js";import{a as X}from"./chunk-TH6BQXNM.js";import{f as pe}from"./chunk-ZK32OWP6.js";import{b as ee}from"./chunk-KD7WBOUR.js";import"./chunk-LK7UQBXO.js";import"./chunk-BR3Y2C2F.js";import"./chunk-QFON23YX.js";import"./chunk-FIUZN6JU.js";import{a as ie}from"./chunk-4QM23MMO.js";import{e as oe,f as ne}from"./chunk-CGISR53W.js";import"./chunk-IDQUQBKL.js";import"./chunk-YRGHPSPV.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-M43HNBJQ.js";import"./chunk-KKLNFVVN.js";import"./chunk-X57HWGVJ.js";import"./chunk-5SFUSWFY.js";import"./chunk-534MIVWD.js";import"./chunk-TGEQUV6Z.js";import"./chunk-6FM7DAHK.js";import{b as te}from"./chunk-DGXQDOCM.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import{F as ae,G as re}from"./chunk-QZMZBCE7.js";import"./chunk-C4WJKF7R.js";import"./chunk-NZYZO47Z.js";import{d as Z,e as $}from"./chunk-7TBS7SPQ.js";import"./chunk-RLQLFW36.js";import"./chunk-EQLHPWVB.js";import{g as Y}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-6SGN7MNX.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import{F as K,h as q,o as z}from"./chunk-RNLSEEMX.js";import"./chunk-JVFZL3LP.js";import"./chunk-TVZ622KQ.js";import{d as Q}from"./chunk-USJ6ILEE.js";import"./chunk-CLJWABT2.js";import{$d as j,Ab as E,Bb as H,Bc as U,Cb as c,Db as a,Dc as W,Eb as r,Fb as M,Hc as L,Jb as P,Kb as h,Mb as w,Ob as x,Qa as T,Qb as s,Vc as A,Wd as N,Xa as o,Zd as O,be as G,db as C,dc as n,ec as D,ee as J,fd as R,hb as F,ic as g,jc as u,kc as _,lb as V,md as k,nb as I,rd as B,ta as l,ua as p,uc as b,yb as v}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var _e=m=>({ID:m});function Ce(m,S){if(m&1){let t=w();a(0,"a",11),x("click",function(){l(t);let e=s();return p(e.openExportModal())}),M(1,"i",12),n(2," Export "),r()}}function fe(m,S){if(m&1){let t=w();a(0,"div",13)(1,"h6"),n(2,"Category"),r(),a(3,"POS-product-category-select",14),_("selectedCategoryIDChange",function(e){l(t);let i=s();return u(i.pageData.Filter.CategoryID,e)||(i.pageData.Filter.CategoryID=e),p(e)}),r(),a(4,"h6"),n(5,"Brand"),r(),a(6,"ng-select",15),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.BrandID,e)||(i.pageData.Filter.BrandID=e),p(e)}),r(),a(7,"h6"),n(8,"Tags"),r(),a(9,"ng-select",16),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.TagsID,e)||(i.pageData.Filter.TagsID=e),p(e)}),r(),a(10,"h6"),n(11,"Supplier"),r(),a(12,"autocompleteV2",17),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.SupplierID,e)||(i.pageData.Filter.SupplierID=e),p(e)}),r(),a(13,"h6"),n(14,"From - To"),r(),a(15,"div")(16,"datepicker",18),_("dateChange",function(e){l(t);let i=s();return u(i.pageData.Filter.From,e)||(i.pageData.Filter.From=e),p(e)}),r()(),a(17,"div",19)(18,"datepicker",20),_("dateChange",function(e){l(t);let i=s();return u(i.pageData.Filter.To,e)||(i.pageData.Filter.To=e),p(e)}),r()(),a(19,"h6"),n(20,"Product"),r(),a(21,"autocompleteV2",21),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.ProductID,e)||(i.pageData.Filter.ProductID=e),p(e)}),r()()}if(m&2){let t=s();o(3),g("selectedCategoryID",t.pageData.Filter.CategoryID),c("showClear",!0)("continuedCategoriesOnly",!0),o(3),c("items",t.pageData.Options==null?null:t.pageData.Options.Brands),g("ngModel",t.pageData.Filter.BrandID),o(3),c("items",t.pageData.Options==null?null:t.pageData.Options.Tags),g("ngModel",t.pageData.Filter.TagsID),o(3),g("ngModel",t.pageData.Filter.SupplierID),o(4),g("date",t.pageData.Filter.From),o(2),g("date",t.pageData.Filter.To),o(3),g("ngModel",t.pageData.Filter.ProductID)}}function ye(m,S){if(m&1&&(a(0,"tr")(1,"td")(2,"a",22),n(3),r()(),a(4,"td"),n(5),r(),a(6,"td"),n(7),r(),a(8,"td"),n(9),U(10,"date"),r(),a(11,"td"),M(12,"div",23),r()()),m&2){let t=S.$implicit;o(2),c("queryParams",b(9,_e,t.ProductID)),o(),D(t.ProductName),o(2),D(t.ProductCode),o(2),D(t.Modifier),o(2),D(W(10,6,t.Modified,"dd MMM yyyy HH:mm")),o(3),c("innerHTML",t.Note,T)}}var se=class m extends X{constructor(t,d,e,i,y,f,ge,ue){super(t,d,"catalog/Product/GetProductUpdateHistories","catalog/ProductLoader/GetProductUpdateHistories",e,ge,!1,ue);this.httpService=d;this.csvConverter=i;this.matDialog=y;this.roleService=f}openExportModal(){this.matDialog.open(ee,{data:{title:"Product Import Log",exportTypes:[{ID:"productExport/GetExportProductUpdateHistories",Value:"Default"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"catalog/Product/GetCountProductUpdateHistories",pagination:!0}})}static \u0275fac=function(d){return new(d||m)(C(te),C(J),C(G),C(ie),C(Y),C(Q),C(N),C(A))};static \u0275cmp=F({type:m,selectors:[["pos-product-update-history"]],features:[V],decls:26,vars:11,consts:[["pageFilterTemplate",""],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],["ngProjectAs","actions",5,["actions"]],["class","btn btn-outline-secondary",3,"click",4,"ngIf"],["ngProjectAs","filters",5,["filters"]],["ngProjectAs","content",5,["content"]],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table"],[1,"thead-light","sticky-header","account-receivable-header"],[3,"nextPage","fetchTotalData","concatAllData","totalData","totalCurrentRow","pageNumber","nextPageDisabled","isFetchTotalData","goToLast"],[1,"btn","btn-outline-secondary",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear","continuedCategoriesOnly"],["bindLabel","Value","bindValue","Key","placeholder","Choose...",3,"ngModelChange","items","ngModel"],["bindLabel","Name","bindValue","ID","placeholder","Choose...",3,"ngModelChange","items","ngModel"],["requestUrl","/API/AC/GetSupplierSuggestion",1,"w-100","ac-filter",3,"ngModelChange","ngModel"],["name","From",3,"dateChange","date"],[1,"mt-4"],["name","To",3,"dateChange","date"],["requestUrl","api/ac/GetProductSuggestionByCodeNName",1,"w-100","ac-filter",3,"ngModelChange","ngModel"],["target","_blank","routerLink","/menu/Products/Catalog/Products/Info",1,"link","link-primary",3,"queryParams"],[3,"innerHTML"]],template:function(d,e){if(d&1){let i=w();a(0,"mainpanel-cmp",1),_("textChange",function(f){return l(i),u(e.pageData.Filter.SearchText,f)||(e.pageData.Filter.SearchText=f),p(f)}),x("onSubmit",function(){return l(i),p(e.searchFromPageOne())}),_("filterChange",function(f){return l(i),u(e.pageData.Filter,f)||(e.pageData.Filter=f),p(f)}),P(1,2),I(2,Ce,3,0,"a",3),h(),P(3,4),I(4,fe,22,11,"ng-template",null,0,L),h(),P(6,5),a(7,"div",6)(8,"div",7)(9,"table",8)(10,"thead",9)(11,"tr")(12,"th"),n(13,"Product"),r(),a(14,"th"),n(15,"Code"),r(),a(16,"th"),n(17,"Modified By"),r(),a(18,"th"),n(19,"Modified"),r(),a(20,"th"),n(21,"Note"),r()()(),a(22,"tbody"),E(23,ye,13,11,"tr",null,v),r()()(),a(25,"infinite-pagination",10),x("nextPage",function(){return l(i),p(e.NextPage(!0))})("fetchTotalData",function(){return l(i),p(e.StoreRowsCountAPIResult("catalog/Product/GetCountProductUpdateHistories"))})("concatAllData",function(){return l(i),p(e.StoreRowsCountAPIResult("catalog/Product/GetCountProductUpdateHistories",!0))}),r()(),h(),r()}d&2&&(c("pageData",e.menuData),g("text",e.pageData.Filter.SearchText),c("isFilterOnDropdown",!1),g("filter",e.pageData.Filter),o(2),c("ngIf",e.roleService.global.Export),o(21),H(e.infiniteList),o(2),c("totalData",e.listTotal)("totalCurrentRow",e.infiniteList==null?null:e.infiniteList.length)("pageNumber",e.pageData.Filter.PageNumber)("nextPageDisabled",e.nextPageDisabled)("isFetchTotalData",e.pageData.HideStoreApiCount)("goToLast",e.goToLast))},dependencies:[ne,oe,K,q,z,B,R,ce,pe,$,Z,le,me,de,re,ae,j,O,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{se as ProductUpdateHistoryComponent};
@@ -1 +1 @@
1
- import{a as P}from"./chunk-VIIDAPDU.js";import{a as w}from"./chunk-3G2IUR3X.js";import{a as C}from"./chunk-DBEYMOMT.js";import{a as A}from"./chunk-FV4VN5TM.js";import{a as I}from"./chunk-HS26VQGJ.js";import{a as l}from"./chunk-2FWFPV5I.js";import{a as c}from"./chunk-5ACAEXN7.js";import{fa as y,pa as f,t as L,z as S}from"./chunk-D4VXNK25.js";import{a as F}from"./chunk-SNAKHGZS.js";var g=class{enabledDragItem;constructor(){this.enabledDragItem=!1}drop(o,t){C(t.Data,o.previousIndex,o.currentIndex)}toggleEnabledDragItem(){}onSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.postListID(o,t.data.Data)}onPutSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.putListID(o,t.data.Data)}};var u=class{constructor(o){this.httpService=o}exportCSV(o,t,e,i){e.pageData.Filter.Export=!0,e.pageData.Filter.FormatType=0,i=i||"export.csv",this.httpService.post(`/api/${t}`,e.pageData.Filter).subscribe(r=>{o.convertToCSV(r,i),e.pageData.Filter.Export=!1})}convertToCSV(o,t=!1,e){let i=this.ExportDataFromUI2(t);o.convertToCSV(i,e)}ExportDataFromUI2(o=!1){let t=document.getElementById("tableGrid"),e=[];return c.IsNotEmpty(t)&&t.querySelectorAll("tr").forEach(r=>{let a=new Object,s=0;r.querySelectorAll("th, td").forEach(n=>{s++;let b=parseInt(n.getAttribute("colspan"));for(let h=1;h<b;h++)a["column"+s]="",s++;let m=n.innerText,v=m.toString().split("");if(o&&v[0]==="0"&&v.length>1){let h="'"+m.trim();a["column"+s]=h}else a["column"+s]=m.trim()}),e.push(a)}),e}};var d=class{listTotal;pageSize;show;constructor(){this.listTotal=0,this.pageSize=0,this.show=!1}changePaginationData(o){this.pageSize=o.pageData.Filter.RowCount,this.listTotal=o.data?.ListTotal??o.data?.Data?.total?.value,this.show=this.pageSize<=this.listTotal}changePage(o,t,e){t.Filter.PageNumber=o.pageIndex+1,e.getListData()}};var x=class extends A{constructor(t,e,i,r,a,s,p){super(t);this.httpService=e;this.dataAPI=i;this.pageAPI=r;this.toastrService=a;this.route=s;this.initOpenDialog=p;this.exportHandler=new u(e),r?(s&&(this.loaderPayload=F({ListIDs:this.reportFilterService?.initOutletFilter()},s.snapshot.queryParams)),this.preInitLoader(),S([this.menuData$,this.httpService.post("/api/"+this.pageAPI,this.loaderPayload)]).pipe(L(([n,b])=>b)).pipe(I()).subscribe(n=>{this.pageData=n,this.pageData.Filter||(this.pageData.Filter={},this.pageData.Filter.RowCount=20),this.pageData.Filter.PageNumber=1,this.pageData.Filter.ID=this.loaderPayload.ID,this.preInitList(),p?this.openDialogFilter.openDialog():this.getListData()})):(this.pageData.Filter.RowCount=20,this.pageData.Filter.PageNumber=1,this.preInitList(),S({menuData:this.menuData$,listData:this.getListData$()}).pipe(I()).subscribe())}openDialogFilter=f(w);reportFilterService=f(P);pageData={Filter:{},Options:{},Roles:{},Config:{}};data;pagination=new d;dragDrop=new g;exportHandler;comparation=0;loaderPayload={};preInitLoader(){}preInitList(){}getListData(t){this.preGetList(),this.dataAPI&&this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).subscribe(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)})}getListData$(t){return this.preGetList(),this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).pipe(y(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)}))}searchFromPageOne(){this.preSearchFromPageOne(),this.pageData.Filter.PageNumber=1,this.getListData("filterMode")}postInit(t){t.PageTitle!=null&&(this.menuData.H=t.PageTitle)}preGetList(){this.pageData.Filter.From==null&&(this.pageData.Filter.From=c.MinDate),this.pageData.Filter.To==null&&(this.pageData.Filter.To=c.MinDate)}preSearchFromPageOne(){}onPaginationChange(t){this.pagination.changePage(t,this.pageData,this)}onSelectAllData(t){this.data.Data=this.data.Data.map(e=>(e.selected=t,e))}getSelectedData(){let t=[];return this.data&&(t=this.data.Data.filter(e=>e.selected)),t}httpPostListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.postListID(t,r,i)}httpPutListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.putListID(t,r,i)}httpDeleteListID(t,e,i){if(e||(e="Are you sure you want to delete selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.DeleteListID(t,r,i)}onSaveDragAndDrop(t){this.dragDrop.onSaveDragAndDrop(t,this)}onPutSaveDragAndDrop(t){this.dragDrop.onPutSaveDragAndDrop(t,this)}postListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.post(`/api/${t}`,r,1e6,!0).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()},a=>{let s=a.status+" "+a.statusText;this.toastrService.error(a.error.Message!=""?a.error.Message:"An unknown error has occured!",s,{enableHtml:!0})})}putListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.put(`/api/${t}`,r).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.afterPutListSuccess(),this.getListData()})}afterPutListSuccess(){}DeleteListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.delete(`/api/${t}`,{body:r}).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()})}postData(t,e){this.httpService.post("/API/"+t,e).subscribe(i=>{this.getListData(),this.toastrService.success(i.Message?i.Message:i,l.Success)})}compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}exportCSV(t,e,i){this.exportHandler.exportCSV(t,e,this,i)}s2ab(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),r=0;r!=t.length;++r)i[r]=t.charCodeAt(r)&255;return e}exportXlsx(t,e){this.pageData.Filter.FormatType=1,this.pageData.Filter.Export=!0,this.httpService.post(`/api/${t}`,this.pageData.Filter).subscribe(i=>{e=decodeURI(e);let r=window.URL.createObjectURL(new Blob([this.s2ab(atob(i))],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"})),a=document.createElement("a");a.href=r,a.setAttribute("download",e),document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(r),a.remove()})}convertToCSV(t,e=!1,i){let r=this.exportHandler.ExportDataFromUI2(e);t.convertToCSV(r,i)}OnCompare(t){let e=t?this.data[t]:this.data;if(e.length<1)return;let i=Object.assign({},this.pageData.Filter);i.From=new Date(new Date(this.pageData.Filter.From).getFullYear(),new Date(this.pageData.Filter.From).getMonth()-1,1),i.To=new Date(new Date(this.pageData.Filter.To).getFullYear(),new Date(this.pageData.Filter.To).getMonth(),0).toDateString(),this.httpService.post("/API/"+this.dataAPI,i).subscribe(r=>{let a=t?r[t]:r;this.comparation=0,e.forEach(s=>{s.PrevIndex="-",s.CurrentIndex="-",s.Increase="-";let p=a.filter(n=>n.EntityID==s.EntityID);if(s.CurrentIndex=s.Rank,p.length>0){let n=p[0];s.PrevIndex=n.Rank,n.SalesNet?s.Increase=(s.SalesNet-n.SalesNet)/n.SalesNet*100:n.Sales&&(s.Increase=(s.Sales-n.Sales)/n.Sales*100),s.IsPositive=s.Increase>0,s.IsNegative=s.Increase<0,this.comparation+=s.Increase}})})}};export{x as a};
1
+ import{a as P}from"./chunk-BR3Y2C2F.js";import{a as w}from"./chunk-CGISR53W.js";import{a as C}from"./chunk-M43HNBJQ.js";import{a as A}from"./chunk-DGXQDOCM.js";import{a as I}from"./chunk-A45GTZVV.js";import{a as l}from"./chunk-2FWFPV5I.js";import{a as c}from"./chunk-USJ6ILEE.js";import{fa as y,pa as f,t as L,z as S}from"./chunk-JYZTRN6N.js";import{a as F}from"./chunk-SNAKHGZS.js";var g=class{enabledDragItem;constructor(){this.enabledDragItem=!1}drop(o,t){C(t.Data,o.previousIndex,o.currentIndex)}toggleEnabledDragItem(){}onSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.postListID(o,t.data.Data)}onPutSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.putListID(o,t.data.Data)}};var u=class{constructor(o){this.httpService=o}exportCSV(o,t,e,i){e.pageData.Filter.Export=!0,e.pageData.Filter.FormatType=0,i=i||"export.csv",this.httpService.post(`/api/${t}`,e.pageData.Filter).subscribe(r=>{o.convertToCSV(r,i),e.pageData.Filter.Export=!1})}convertToCSV(o,t=!1,e){let i=this.ExportDataFromUI2(t);o.convertToCSV(i,e)}ExportDataFromUI2(o=!1){let t=document.getElementById("tableGrid"),e=[];return c.IsNotEmpty(t)&&t.querySelectorAll("tr").forEach(r=>{let a=new Object,s=0;r.querySelectorAll("th, td").forEach(n=>{s++;let b=parseInt(n.getAttribute("colspan"));for(let h=1;h<b;h++)a["column"+s]="",s++;let m=n.innerText,v=m.toString().split("");if(o&&v[0]==="0"&&v.length>1){let h="'"+m.trim();a["column"+s]=h}else a["column"+s]=m.trim()}),e.push(a)}),e}};var d=class{listTotal;pageSize;show;constructor(){this.listTotal=0,this.pageSize=0,this.show=!1}changePaginationData(o){this.pageSize=o.pageData.Filter.RowCount,this.listTotal=o.data?.ListTotal??o.data?.Data?.total?.value,this.show=this.pageSize<=this.listTotal}changePage(o,t,e){t.Filter.PageNumber=o.pageIndex+1,e.getListData()}};var x=class extends A{constructor(t,e,i,r,a,s,p){super(t);this.httpService=e;this.dataAPI=i;this.pageAPI=r;this.toastrService=a;this.route=s;this.initOpenDialog=p;this.exportHandler=new u(e),r?(s&&(this.loaderPayload=F({ListIDs:this.reportFilterService?.initOutletFilter()},s.snapshot.queryParams)),this.preInitLoader(),S([this.menuData$,this.httpService.post("/api/"+this.pageAPI,this.loaderPayload)]).pipe(L(([n,b])=>b)).pipe(I()).subscribe(n=>{this.pageData=n,this.pageData.Filter||(this.pageData.Filter={},this.pageData.Filter.RowCount=20),this.pageData.Filter.PageNumber=1,this.pageData.Filter.ID=this.loaderPayload.ID,this.preInitList(),p?this.openDialogFilter.openDialog():this.getListData()})):(this.pageData.Filter.RowCount=20,this.pageData.Filter.PageNumber=1,this.preInitList(),S({menuData:this.menuData$,listData:this.getListData$()}).pipe(I()).subscribe())}openDialogFilter=f(w);reportFilterService=f(P);pageData={Filter:{},Options:{},Roles:{},Config:{}};data;pagination=new d;dragDrop=new g;exportHandler;comparation=0;loaderPayload={};preInitLoader(){}preInitList(){}getListData(t){this.preGetList(),this.dataAPI&&this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).subscribe(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)})}getListData$(t){return this.preGetList(),this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).pipe(y(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)}))}searchFromPageOne(){this.preSearchFromPageOne(),this.pageData.Filter.PageNumber=1,this.getListData("filterMode")}postInit(t){t.PageTitle!=null&&(this.menuData.H=t.PageTitle)}preGetList(){this.pageData.Filter.From==null&&(this.pageData.Filter.From=c.MinDate),this.pageData.Filter.To==null&&(this.pageData.Filter.To=c.MinDate)}preSearchFromPageOne(){}onPaginationChange(t){this.pagination.changePage(t,this.pageData,this)}onSelectAllData(t){this.data.Data=this.data.Data.map(e=>(e.selected=t,e))}getSelectedData(){let t=[];return this.data&&(t=this.data.Data.filter(e=>e.selected)),t}httpPostListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.postListID(t,r,i)}httpPutListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.putListID(t,r,i)}httpDeleteListID(t,e,i){if(e||(e="Are you sure you want to delete selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.DeleteListID(t,r,i)}onSaveDragAndDrop(t){this.dragDrop.onSaveDragAndDrop(t,this)}onPutSaveDragAndDrop(t){this.dragDrop.onPutSaveDragAndDrop(t,this)}postListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.post(`/api/${t}`,r,1e6,!0).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()},a=>{let s=a.status+" "+a.statusText;this.toastrService.error(a.error.Message!=""?a.error.Message:"An unknown error has occured!",s,{enableHtml:!0})})}putListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.put(`/api/${t}`,r).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.afterPutListSuccess(),this.getListData()})}afterPutListSuccess(){}DeleteListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.delete(`/api/${t}`,{body:r}).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()})}postData(t,e){this.httpService.post("/API/"+t,e).subscribe(i=>{this.getListData(),this.toastrService.success(i.Message?i.Message:i,l.Success)})}compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}exportCSV(t,e,i){this.exportHandler.exportCSV(t,e,this,i)}s2ab(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),r=0;r!=t.length;++r)i[r]=t.charCodeAt(r)&255;return e}exportXlsx(t,e){this.pageData.Filter.FormatType=1,this.pageData.Filter.Export=!0,this.httpService.post(`/api/${t}`,this.pageData.Filter).subscribe(i=>{e=decodeURI(e);let r=window.URL.createObjectURL(new Blob([this.s2ab(atob(i))],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"})),a=document.createElement("a");a.href=r,a.setAttribute("download",e),document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(r),a.remove()})}convertToCSV(t,e=!1,i){let r=this.exportHandler.ExportDataFromUI2(e);t.convertToCSV(r,i)}OnCompare(t){let e=t?this.data[t]:this.data;if(e.length<1)return;let i=Object.assign({},this.pageData.Filter);i.From=new Date(new Date(this.pageData.Filter.From).getFullYear(),new Date(this.pageData.Filter.From).getMonth()-1,1),i.To=new Date(new Date(this.pageData.Filter.To).getFullYear(),new Date(this.pageData.Filter.To).getMonth(),0).toDateString(),this.httpService.post("/API/"+this.dataAPI,i).subscribe(r=>{let a=t?r[t]:r;this.comparation=0,e.forEach(s=>{s.PrevIndex="-",s.CurrentIndex="-",s.Increase="-";let p=a.filter(n=>n.EntityID==s.EntityID);if(s.CurrentIndex=s.Rank,p.length>0){let n=p[0];s.PrevIndex=n.Rank,n.SalesNet?s.Increase=(s.SalesNet-n.SalesNet)/n.SalesNet*100:n.Sales&&(s.Increase=(s.Sales-n.Sales)/n.Sales*100),s.IsPositive=s.Increase>0,s.IsNegative=s.Increase<0,this.comparation+=s.Increase}})})}};export{x as a};
@@ -1,2 +1,2 @@
1
- import{a as Ue,e as Qe,f as We}from"./chunk-TO24XJZI.js";import{A as Be,C as Le,G as Ne,L as He,O as $,Q as Ye,V as ee,W as Ve,Z as je,da as ze,f as Oe,ha as Xe,ka as te,l as Ee,la as ie,m as Ae,o as J,q as Fe}from"./chunk-OWKXU5ZC.js";import{$ as x,$a as ge,Ca as pe,Cb as ke,D as C,Db as X,E as le,Eb as U,Fb as Q,Gb as W,Hb as Ie,Ja as w,Ka as he,Mb as De,N as me,Nb as Pe,Ob as G,Pb as Re,Qb as m,Rb as K,Sb as D,Tb as P,Ub as Te,Vb as f,Vc as y,Wb as b,Xa as Y,Xc as M,Ya as k,Za as _e,a as v,aa as N,ab as V,ac as q,cb as fe,cc as Se,d,da as ue,eb as be,fb as j,hb as z,ib as ye,jb as I,lb as Me,ma as ce,na as p,o as L,ob as ve,pa as s,rb as Ce,sc as Z,ta as h,tb as g,ua as _,va as de,vb as xe,xa as l,xb as we,ya as H}from"./chunk-D4VXNK25.js";import{a as B,b as re}from"./chunk-SNAKHGZS.js";var ot=["mat-menu-item",""],st=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],at=["mat-icon, [matMenuItemIcon]","*"];function rt(n,S){n&1&&(de(),X(0,"svg",2),Q(1,"polygon",3),U())}var lt=["*"];function mt(n,S){if(n&1){let e=De();W(0,"div",0),Re("click",function(){h(e);let i=m();return _(i.closed.emit("click"))})("animationstart",function(i){h(e);let o=m();return _(o._onAnimationStart(i.animationName))})("animationend",function(i){h(e);let o=m();return _(o._onAnimationDone(i.animationName))})("animationcancel",function(i){h(e);let o=m();return _(o._onAnimationDone(i.animationName))}),W(1,"div",1),D(2),Ie()()}if(n&2){let e=m();Se(e._classList),q("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),Pe("id",e.panelId),g("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var se=new p("MAT_MENU_PANEL"),oe=(()=>{class n{_elementRef=s(w);_document=s(H);_focusMonitor=s(J);_parentMenu=s(se,{optional:!0});_changeDetectorRef=s(y);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new d;_focused=new d;_highlighted=!1;_triggersSubmenu=!1;constructor(){s(Fe).load(Ue),this._parentMenu?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let i=0;i<t.length;i++)t[i].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=z({type:n,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(t,i){t&1&&G("click",function(a){return i._checkDisabled(a)})("mouseenter",function(){return i._handleMouseEnter()}),t&2&&(g("role",i.role)("tabindex",i._getTabIndex())("aria-disabled",i.disabled)("disabled",i.disabled||null),q("mat-mdc-menu-item-highlighted",i._highlighted)("mat-mdc-menu-item-submenu-trigger",i._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",M],disableRipple:[2,"disableRipple","disableRipple",M]},exportAs:["matMenuItem"],attrs:ot,ngContentSelectors:at,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,i){t&1&&(K(st),D(0),X(1,"span",0),D(2,1),U(),Q(3,"div",1),xe(4,rt,2,0,":svg:svg",2)),t&2&&(Y(3),ke("matRippleDisabled",i.disableRipple||i.disabled)("matRippleTrigger",i._getHostElement()),Y(),we(i._triggersSubmenu?4:-1))},dependencies:[Qe],encapsulation:2,changeDetection:0})}return n})();var qe=new p("MatMenuContent"),Xt=(()=>{class n{_template=s(V);_appRef=s(Ce);_injector=s(l);_viewContainerRef=s(j);_document=s(H);_changeDetectorRef=s(y);_portal;_outlet;_attached=new d;constructor(){}attach(e={}){this._portal||(this._portal=new $(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Ye(this._document.createElement("div"),this._appRef,this._injector));let t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal?.isAttached&&this._portal.detach()}ngOnDestroy(){this.detach(),this._outlet?.dispose()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=I({type:n,selectors:[["ng-template","matMenuContent",""]],features:[Z([{provide:qe,useExisting:n}])]})}return n})(),ut=new p("mat-menu-default-options",{providedIn:"root",factory:ct});function ct(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var ne="_mat-menu-enter",R="_mat-menu-exit",T=(()=>{class n{_elementRef=s(w);_changeDetectorRef=s(y);_injector=s(l);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=te();_allItems;_directDescendantItems=new he;_classList={};_panelAnimationState="void";_animationDone=new d;_isAnimating=pe(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let t=this._previousPanelClass,i=B({},this._classList);t&&t.length&&t.split(" ").forEach(o=>{i[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{i[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=i}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new k;close=this.closed;panelId=s(Be).getId("mat-menu-panel-");constructor(){let e=s(ut);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Le(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(x(this._directDescendantItems),N(e=>C(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let i=e.toArray(),o=Math.max(0,Math.min(i.length-1,t.activeItemIndex||0));i[o]&&!i[o].disabled?t.setActiveItem(o):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(x(this._directDescendantItems),N(t=>C(...t.map(i=>i._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,i=this._keyManager;switch(t){case 27:Oe(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&i.setFocusOrigin("keyboard"),i.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=ge(()=>{let t=this._resolvePanel();if(!t||!t.contains(document.activeElement)){let i=this._keyManager;i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=re(B({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let t=e===R;(t||e===ne)&&(t&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(t?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===ne||e===R)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let t=this._resolvePanel();t&&(t.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(R),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?ne:R)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(x(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=z({type:n,selectors:[["mat-menu"]],contentQueries:function(t,i,o){if(t&1&&(P(o,qe,5),P(o,oe,5),P(o,oe,4)),t&2){let a;f(a=b())&&(i.lazyContent=a.first),f(a=b())&&(i._allItems=a),f(a=b())&&(i.items=a)}},viewQuery:function(t,i){if(t&1&&Te(V,5),t&2){let o;f(o=b())&&(i.templateRef=o.first)}},hostVars:3,hostBindings:function(t,i){t&2&&g("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",M],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:M(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Z([{provide:se,useExisting:n}])],ngContentSelectors:lt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(t,i){t&1&&(K(),ve(0,mt,3,12,"ng-template"))},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}
1
+ import{a as Ue,e as Qe,f as We}from"./chunk-QZMZBCE7.js";import{A as Be,C as Le,G as Ne,L as He,O as $,Q as Ye,V as ee,W as Ve,Z as je,da as ze,f as Oe,ha as Xe,ka as te,l as Ee,la as ie,m as Ae,o as J,q as Fe}from"./chunk-NWSIPELM.js";import{$ as x,$a as ge,Ca as pe,Cb as ke,D as C,Db as X,E as le,Eb as U,Fb as Q,Gb as W,Hb as Ie,Ja as w,Ka as he,Mb as De,N as me,Nb as Pe,Ob as G,Pb as Re,Qb as m,Rb as K,Sb as D,Tb as P,Ub as Te,Vb as f,Vc as y,Wb as b,Xa as Y,Xc as M,Ya as k,Za as _e,a as v,aa as N,ab as V,ac as q,cb as fe,cc as Se,d,da as ue,eb as be,fb as j,hb as z,ib as ye,jb as I,lb as Me,ma as ce,na as p,o as L,ob as ve,pa as s,rb as Ce,sc as Z,ta as h,tb as g,ua as _,va as de,vb as xe,xa as l,xb as we,ya as H}from"./chunk-JYZTRN6N.js";import{a as B,b as re}from"./chunk-SNAKHGZS.js";var ot=["mat-menu-item",""],st=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],at=["mat-icon, [matMenuItemIcon]","*"];function rt(n,S){n&1&&(de(),X(0,"svg",2),Q(1,"polygon",3),U())}var lt=["*"];function mt(n,S){if(n&1){let e=De();W(0,"div",0),Re("click",function(){h(e);let i=m();return _(i.closed.emit("click"))})("animationstart",function(i){h(e);let o=m();return _(o._onAnimationStart(i.animationName))})("animationend",function(i){h(e);let o=m();return _(o._onAnimationDone(i.animationName))})("animationcancel",function(i){h(e);let o=m();return _(o._onAnimationDone(i.animationName))}),W(1,"div",1),D(2),Ie()()}if(n&2){let e=m();Se(e._classList),q("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),Pe("id",e.panelId),g("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var se=new p("MAT_MENU_PANEL"),oe=(()=>{class n{_elementRef=s(w);_document=s(H);_focusMonitor=s(J);_parentMenu=s(se,{optional:!0});_changeDetectorRef=s(y);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new d;_focused=new d;_highlighted=!1;_triggersSubmenu=!1;constructor(){s(Fe).load(Ue),this._parentMenu?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let i=0;i<t.length;i++)t[i].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=z({type:n,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(t,i){t&1&&G("click",function(a){return i._checkDisabled(a)})("mouseenter",function(){return i._handleMouseEnter()}),t&2&&(g("role",i.role)("tabindex",i._getTabIndex())("aria-disabled",i.disabled)("disabled",i.disabled||null),q("mat-mdc-menu-item-highlighted",i._highlighted)("mat-mdc-menu-item-submenu-trigger",i._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",M],disableRipple:[2,"disableRipple","disableRipple",M]},exportAs:["matMenuItem"],attrs:ot,ngContentSelectors:at,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,i){t&1&&(K(st),D(0),X(1,"span",0),D(2,1),U(),Q(3,"div",1),xe(4,rt,2,0,":svg:svg",2)),t&2&&(Y(3),ke("matRippleDisabled",i.disableRipple||i.disabled)("matRippleTrigger",i._getHostElement()),Y(),we(i._triggersSubmenu?4:-1))},dependencies:[Qe],encapsulation:2,changeDetection:0})}return n})();var qe=new p("MatMenuContent"),Xt=(()=>{class n{_template=s(V);_appRef=s(Ce);_injector=s(l);_viewContainerRef=s(j);_document=s(H);_changeDetectorRef=s(y);_portal;_outlet;_attached=new d;constructor(){}attach(e={}){this._portal||(this._portal=new $(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Ye(this._document.createElement("div"),this._appRef,this._injector));let t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal?.isAttached&&this._portal.detach()}ngOnDestroy(){this.detach(),this._outlet?.dispose()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=I({type:n,selectors:[["ng-template","matMenuContent",""]],features:[Z([{provide:qe,useExisting:n}])]})}return n})(),ut=new p("mat-menu-default-options",{providedIn:"root",factory:ct});function ct(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var ne="_mat-menu-enter",R="_mat-menu-exit",T=(()=>{class n{_elementRef=s(w);_changeDetectorRef=s(y);_injector=s(l);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=te();_allItems;_directDescendantItems=new he;_classList={};_panelAnimationState="void";_animationDone=new d;_isAnimating=pe(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let t=this._previousPanelClass,i=B({},this._classList);t&&t.length&&t.split(" ").forEach(o=>{i[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{i[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=i}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new k;close=this.closed;panelId=s(Be).getId("mat-menu-panel-");constructor(){let e=s(ut);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Le(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(x(this._directDescendantItems),N(e=>C(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let i=e.toArray(),o=Math.max(0,Math.min(i.length-1,t.activeItemIndex||0));i[o]&&!i[o].disabled?t.setActiveItem(o):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(x(this._directDescendantItems),N(t=>C(...t.map(i=>i._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,i=this._keyManager;switch(t){case 27:Oe(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&i.setFocusOrigin("keyboard"),i.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=ge(()=>{let t=this._resolvePanel();if(!t||!t.contains(document.activeElement)){let i=this._keyManager;i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=re(B({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let t=e===R;(t||e===ne)&&(t&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(t?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===ne||e===R)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let t=this._resolvePanel();t&&(t.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(R),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?ne:R)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(x(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=z({type:n,selectors:[["mat-menu"]],contentQueries:function(t,i,o){if(t&1&&(P(o,qe,5),P(o,oe,5),P(o,oe,4)),t&2){let a;f(a=b())&&(i.lazyContent=a.first),f(a=b())&&(i._allItems=a),f(a=b())&&(i.items=a)}},viewQuery:function(t,i){if(t&1&&Te(V,5),t&2){let o;f(o=b())&&(i.templateRef=o.first)}},hostVars:3,hostBindings:function(t,i){t&2&&g("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",M],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:M(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Z([{provide:se,useExisting:n}])],ngContentSelectors:lt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(t,i){t&1&&(K(),ve(0,mt,3,12,"ng-template"))},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}
2
2
  `],encapsulation:2,changeDetection:0})}return n})(),Ze=new p("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=s(l);return()=>ee(n)}});function dt(n){let S=s(l);return()=>ee(S)}var pt={provide:Ze,deps:[],useFactory:dt};var u=new WeakMap,ht=(()=>{class n{_canHaveBackdrop;_element=s(w);_viewContainerRef=s(j);_menuItemInstance=s(oe,{optional:!0,self:!0});_dir=s(Ne,{optional:!0});_focusMonitor=s(J);_ngZone=s(_e);_injector=s(l);_scrollStrategy=s(Ze);_changeDetectorRef=s(y);_animationsDisabled=te();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=v.EMPTY;_menuCloseSubscription=v.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(e){this._canHaveBackdrop=e;let t=s(se,{optional:!0});this._parentMaterialMenu=t instanceof T?t:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&u.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){let t=this._menu;if(this._menuOpen||!t)return;this._pendingRemoval?.unsubscribe();let i=u.get(t);u.set(t,this),i&&i!==this&&i._closeMenu();let o=this._createOverlay(t),a=o.getConfig(),r=a.positionStrategy;this._setPosition(t,r),this._canHaveBackdrop?a.hasBackdrop=t.hasBackdrop==null?!this._triggersSubmenu():t.hasBackdrop:a.hasBackdrop=!1,o.hasAttached()||(o.attach(this._getPortal(t)),t.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),t.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,e&&t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),t instanceof T&&(t._setIsOpen(!0),t._directDescendantItems.changes.pipe(ue(t.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(e){let t=this._overlayRef,i=this._menu;!t||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),i instanceof T&&this._ownsMenu(i)?(this._pendingRemoval=i._animationDone.pipe(me(1)).subscribe(()=>{t.detach(),u.has(i)||i.lazyContent?.detach()}),i._setIsOpen(!1)):(t.detach(),i?.lazyContent?.detach()),i&&this._ownsMenu(i)&&u.delete(i),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=ze(this._injector,t),this._overlayRef.keydownEvents().subscribe(i=>{this._menu instanceof T&&this._menu._handleKeydown(i)})}return this._overlayRef}_getOverlayConfig(e){return new Ve({positionStrategy:je(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(i=>{this._ngZone.run(()=>{let o=i.connectionPair.overlayX==="start"?"after":"before",a=i.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,t){let[i,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,r]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[O,E]=[a,r],[A,F]=[i,o],c=0;if(this._triggersSubmenu()){if(F=i=e.xPosition==="before"?"start":"end",o=A=i==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let ae=this._parentMaterialMenu.items.first;this._parentInnerPadding=ae?ae._getHostElement().offsetTop:0}c=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(O=a==="top"?"bottom":"top",E=r==="top"?"bottom":"top");t.withPositions([{originX:i,originY:O,overlayX:A,overlayY:a,offsetY:c},{originX:o,originY:O,overlayX:F,overlayY:a,offsetY:c},{originX:i,originY:E,overlayX:A,overlayY:r,offsetY:-c},{originX:o,originY:E,overlayX:F,overlayY:r,offsetY:-c}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),t=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:L(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(le(a=>this._menuOpen&&a!==this._menuItemInstance)):L();return C(e,i,o,t)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new $(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return u.get(e)===this}static \u0275fac=function(t){be()};static \u0275dir=I({type:n})}return n})(),Ut=(()=>{class n extends ht{_cleanupTouchstart;_hoverSubscription=v.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new k;onMenuOpen=this.menuOpened;menuClosed=new k;onMenuClose=this.menuClosed;constructor(){super(!0);let e=s(fe);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",t=>{Ae(t)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){Ee(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=I({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,i){t&1&&G("click",function(a){return i._handleClick(a)})("mousedown",function(a){return i._handleMousedown(a)})("keydown",function(a){return i._handleKeydown(a)}),t&2&&g("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu==null?null:i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[Me]})}return n})();var Qt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ye({type:n});static \u0275inj=ce({providers:[pt],imports:[We,ie,Xe,He,ie]})}return n})(),Je={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},Wt=Je.fadeInItems,Gt=Je.transformMenu;export{oe as a,Xt as b,T as c,Ut as d,Qt as e};
@@ -1 +1 @@
1
- import{c as f}from"./chunk-HG5EY2AA.js";import{a as m}from"./chunk-44MS566M.js";import{Bd as l,I as c,be as v,ee as u,k as n,la as s,oa as e,yd as h}from"./chunk-D4VXNK25.js";var d=class o{constructor(t,r,p,i){this.httpService=t;this.authService=r;this.httpClientService=p;this.toastr=i}port=window.location.href.split("localhost:")[1]?.split("/")[0];hostURL=t=>m.production?t:`https://localhost:${this.port}${t}`;configure2FA(t){return this.httpService.post("/api/Authentication/Setup_2FA",t)}validateCode(t,r){let p=this.authService.loginResponse?.Token,i=new h({"Content-Type":"application/json","Cache-Control":"no-cache"});i=i.append("Authorization","Bearer "+p);let S={ValidationCode:t,UserID:r};return this.httpClientService.post(this.hostURL("/api/Login/Validate_2FA "),S,{headers:i}).pipe(c(a=>(this.toastr.error(a?.error?.Message,"Error - "+a.status),n)))}disableTwoFactorAuthentication(){let t={enabled:!1};return this.httpService.post("/api/Authentication/Setup_2FA",t)}static \u0275fac=function(r){return new(r||o)(e(u),e(f),e(l),e(v))};static \u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"})};export{d as a};
1
+ import{c as f}from"./chunk-JVFZL3LP.js";import{a as m}from"./chunk-CLJWABT2.js";import{Bd as l,I as c,be as v,ee as u,k as n,la as s,oa as e,yd as h}from"./chunk-JYZTRN6N.js";var d=class o{constructor(t,r,p,i){this.httpService=t;this.authService=r;this.httpClientService=p;this.toastr=i}port=window.location.href.split("localhost:")[1]?.split("/")[0];hostURL=t=>m.production?t:`https://localhost:${this.port}${t}`;configure2FA(t){return this.httpService.post("/api/Authentication/Setup_2FA",t)}validateCode(t,r){let p=this.authService.loginResponse?.Token,i=new h({"Content-Type":"application/json","Cache-Control":"no-cache"});i=i.append("Authorization","Bearer "+p);let S={ValidationCode:t,UserID:r};return this.httpClientService.post(this.hostURL("/api/Login/Validate_2FA "),S,{headers:i}).pipe(c(a=>(this.toastr.error(a?.error?.Message,"Error - "+a.status),n)))}disableTwoFactorAuthentication(){let t={enabled:!1};return this.httpService.post("/api/Authentication/Setup_2FA",t)}static \u0275fac=function(r){return new(r||o)(e(u),e(f),e(l),e(v))};static \u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"})};export{d as a};
@@ -1,2 +1,2 @@
1
- import{A as Nt,G as Y,I as Mt,K as At,L as Ft,a as K,b as D,c as Tt,i as N,k as I,l as kt,m as Ot,q as Lt}from"./chunk-OWKXU5ZC.js";import{$ as B,$a as St,C as ft,Ca as W,D as O,Ha as Pt,Ja as Z,N as mt,Vc as $,Xc as w,Ya as m,Yc as Ct,Za as L,a as P,aa as vt,ab as yt,ac as q,bb as j,c as V,d as _,da as y,e as pt,fa as Dt,fb as Rt,hb as Et,ib as It,j as gt,jb as R,la as G,ma as wt,na as b,pa as c,sc as E,t as ut,tb as xt,xa as bt,ya as U}from"./chunk-D4VXNK25.js";function Q(r){let e=r.cloneNode(!0),t=e.querySelectorAll("[id]"),i=r.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s<t.length;s++)t[s].removeAttribute("id");return i==="canvas"?Vt(r,e):(i==="input"||i==="select"||i==="textarea")&&zt(r,e),Ht("canvas",r,e,Vt),Ht("input, textarea, select",r,e,zt),e}function Ht(r,e,t,i){let s=e.querySelectorAll(r);if(s.length){let n=t.querySelectorAll(r);for(let o=0;o<s.length;o++)i(s[o],n[o])}}var he=0;function zt(r,e){e.type!=="file"&&(e.value=r.value),e.type==="radio"&&e.name&&(e.name=`mat-clone-${e.name}-${he++}`)}function Vt(r,e){let t=e.getContext("2d");if(t)try{t.drawImage(r,0,0)}catch{}}function at(r){let e=r.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function tt(r,e,t){let{top:i,bottom:s,left:n,right:o}=r;return t>=i&&t<=s&&e>=n&&e<=o}function ce(r,e){let t=e.left<r.left,i=e.left+e.width>r.right,s=e.top<r.top,n=e.top+e.height>r.bottom;return t||i||s||n}function T(r,e,t){r.top+=e,r.bottom=r.top+r.height,r.left+=t,r.right=r.left+r.width}function Bt(r,e,t,i){let{top:s,right:n,bottom:o,left:a,width:l,height:h}=r,d=l*e,g=h*e;return i>s-g&&i<o+g&&t>a-d&&t<n+d}var M=class{_document;positions=new Map;constructor(e){this._document=e}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),e.forEach(t=>{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:at(t)})})}handleScroll(e){let t=I(e),i=this.positions.get(t);if(!i)return null;let s=i.scrollPosition,n,o;if(t===this._document){let h=this.getViewportScrollPosition();n=h.top,o=h.left}else n=t.scrollTop,o=t.scrollLeft;let a=s.top-n,l=s.left-o;return this.positions.forEach((h,d)=>{h.clientRect&&t!==d&&t.contains(d)&&T(h.clientRect,a,l)}),s.top=n,s.left=o,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function Jt(r,e){let t=r.rootNodes;if(t.length===1&&t[0].nodeType===e.ELEMENT_NODE)return t[0];let i=e.createElement("div");return t.forEach(s=>i.appendChild(s)),i}function lt(r,e,t){for(let i in e)if(e.hasOwnProperty(i)){let s=e[i];s?r.setProperty(i,s,t?.has(i)?"important":""):r.removeProperty(i)}return r}function S(r,e){let t=e?"":"none";lt(r.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function Gt(r,e,t){lt(r.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function A(r,e){return e&&e!="none"?r+" "+e:r}function Ut(r,e){r.style.width=`${e.width}px`,r.style.height=`${e.height}px`,r.style.transform=k(e.left,e.top)}function k(r,e){return`translate3d(${Math.round(r)}px, ${Math.round(e)}px, 0)`}function Wt(r){let e=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*e}function de(r){let e=getComputedStyle(r),t=X(e,"transition-property"),i=t.find(a=>a==="transform"||a==="all");if(!i)return 0;let s=t.indexOf(i),n=X(e,"transition-duration"),o=X(e,"transition-delay");return Wt(n[s])+Wt(o[s])}function X(r,e){return r.getPropertyValue(e).split(",").map(i=>i.trim())}var _e=new Set(["position"]),et=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(e,t,i,s,n,o,a,l,h,d){this._document=e,this._rootElement=t,this._direction=i,this._initialDomRect=s,this._previewTemplate=n,this._previewClass=o,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=h,this._renderer=d}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),Zt(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return de(this._preview)}addEventListener(e,t){return this._renderer.listen(this._preview,e,t)}_createPreview(){let e=this._previewTemplate,t=this._previewClass,i=e?e.template:null,s;if(i&&e){let n=e.matchSize?this._initialDomRect:null,o=e.viewContainer.createEmbeddedView(i,e.context);o.detectChanges(),s=Jt(o,this._document),this._previewEmbeddedView=o,e.matchSize?Ut(s,n):s.style.transform=k(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=Q(this._rootElement),Ut(s,this._initialDomRect),this._initialTransform&&(s.style.transform=this._initialTransform);return lt(s.style,{"pointer-events":"none",margin:Zt(s)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},_e),S(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("popover","manual"),s.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(n=>s.classList.add(n)):s.classList.add(t)),s}};function Zt(r){return"showPopover"in r}var pe={passive:!0},jt={passive:!1},ge={passive:!1,capture:!0},ue=800,qt="cdk-drag-placeholder",$t=new Set(["position"]),it=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=W(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new _;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=P.EMPTY;_pointerUpSubscription=P.EMPTY;_scrollSubscription=P.EMPTY;_resizeSubscription=P.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>S(t,e)))}_disabled=!1;beforeStarted=new _;started=new _;released=new _;ended=new _;entered=new _;exited=new _;dropped=new _;moved=this._moveEvents;data;constrainPosition;constructor(e,t,i,s,n,o,a){this._config=t,this._document=i,this._ngZone=s,this._viewportRuler=n,this._dragDropRegistry=o,this._renderer=a,this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new M(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(i=>D(i)),this._handles.forEach(i=>S(i,this.disabled)),this._toggleNativeDragInteractions();let t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let t=D(e);if(t!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(t,"mousedown",this._pointerDown,jt),i.listen(t,"touchstart",this._pointerDown,pe),i.listen(t,"dragstart",this._nativeDragStart,jt)]),this._initialTransform=void 0,this._rootElement=t}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?D(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&ce(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let e=this._boundaryElement.getBoundingClientRect(),t=this._rootElement.getBoundingClientRect(),i=0,s=0;t.left<e.left?i=e.left-t.left:t.right>e.right&&(i=e.right-t.right),t.top<e.top?s=e.top-t.top:t.bottom>e.bottom&&(s=e.bottom-t.bottom);let n=this._activeTransform.x,o=this._activeTransform.y,a=n+i,l=o+s;this._rootElement.style.transform=k(a,l),this._activeTransform={x:a,y:l},this._passiveTransform={x:a,y:l}}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),S(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),S(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)};_pointerMove=e=>{let t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging()){let s=Math.abs(t.x-this._pickupPositionOnPage.x),n=Math.abs(t.y-this._pickupPositionOnPage.y);if(s+n>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),l=this._dropContainer;if(!a){this._endDragSequence(e);return}(!l||!l.isDragging()&&!l.isReceiving())&&(e.cancelable&&e.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(e)))}return}e.cancelable&&e.preventDefault();let i=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,t);else{let s=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,n=this._activeTransform;n.x=i.x-s.x+this._passiveTransform.x,n.y=i.y-s.y+this._passiveTransform.y,this._applyRootElementTransform(n.x,n.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:e,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=e=>{this._endDragSequence(e)};_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){x(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let t=this._getShadowRoot(),i=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(t,"selectstart",fe,ge)}),i){let s=this._rootElement,n=s.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._marker=this._marker||this._document.createComment("");n.insertBefore(a,s),this._initialTransform=s.style.transform||"",this._preview=new et(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(n,t)),Gt(s,!1,$t),this._document.body.appendChild(n.replaceChild(o,s)),this.started.next({source:this,event:e}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();let i=this.isDragging(),s=x(t),n=!s&&t.button!==0,o=this._rootElement,a=I(t),l=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+ue>Date.now(),h=s?Ot(t):kt(t);if(a&&a.draggable&&t.type==="mousedown"&&t.preventDefault(),i||n||l||h)return;if(this._handles.length){let v=o.style;this._rootElementTapHighlight=v.webkitTapHighlightColor||"",v.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(v=>this._updateOnScroll(v)),this._boundaryElement&&(this._boundaryRect=at(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);let g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){Gt(this._rootElement,!0,$t),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let t=this._dropContainer,i=t.getItemIndex(this),s=this._getPointerPositionOnPage(e),n=this._getDragDistance(s),o=t._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:n,dropPoint:s,event:e}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:n,dropPoint:s,event:e}),t.drop(this,i,this._initialIndex,this._initialContainer,o,n,s,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:i,y:s}){let n=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{let o=this._dropContainer.getItemIndex(this),a=this._dropContainer.getItemAtIndex(o+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(n,this._dropContainer,a),this._dropContainer=n,this._dropContainer.enter(this,e,t,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,s),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let t=this._preview.getTransitionDuration();return t===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let s=a=>{(!a||this._preview&&I(a)===this._preview.element&&a.propertyName==="transform")&&(o(),i(),clearTimeout(n))},n=setTimeout(s,t*1.5),o=this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,t=e?e.template:null,i;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),i=Jt(this._placeholderRef,this._document)):i=Q(this._rootElement),i.style.pointerEvents="none",i.classList.add(qt),i}_getPointerPositionInElement(e,t,i){let s=t===this._rootElement?null:t,n=s?s.getBoundingClientRect():e,o=x(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition(),l=o.pageX-n.left-a.left,h=o.pageY-n.top-a.top;return{x:n.left-e.left+l,y:n.top-e.top+h}}_getPointerPositionOnPage(e){let t=this._getViewportScrollPosition(),i=x(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,s=i.pageX-t.left,n=i.pageY-t.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let a=this._ownerSVGElement.createSVGPoint();return a.x=s,a.y=n,a.matrixTransform(o.inverse())}}return{x:s,y:n}}_getConstrainedPointerPosition(e){let t=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:s}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||t==="x"?s=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||t==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:n,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:h}=this._getPreviewRect(),d=a.top+o,g=a.bottom-(h-o),v=a.left+n,H=a.right-(l-n);i=Kt(i,v,H),s=Kt(s,d,g)}return{x:i,y:s}}_updatePointerDirectionDelta(e){let{x:t,y:i}=e,s=this._pointerDirectionDelta,n=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-n.x),a=Math.abs(i-n.y);return o>this._config.pointerDirectionChangeThreshold&&(s.x=t>n.x?1:-1,n.x=t),a>this._config.pointerDirectionChangeThreshold&&(s.y=i>n.y?1:-1,n.y=i),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,S(this._rootElement,e))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(e=>e()),this._rootElementCleanups=void 0}_applyRootElementTransform(e,t){let i=1/this.scale,s=k(e*i,t*i),n=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=n.transform&&n.transform!="none"?n.transform:""),n.transform=A(s,this._initialTransform)}_applyPreviewTransform(e,t){let i=this._previewTemplate?.template?void 0:this._initialTransform,s=k(e,t);this._preview.setTransform(A(s,i))}_getDragDistance(e){let t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(e===0&&t===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(s.width===0&&s.height===0||i.width===0&&i.height===0)return;let n=s.left-i.left,o=i.right-s.right,a=s.top-i.top,l=i.bottom-s.bottom;s.width>i.width?(n>0&&(e+=n),o>0&&(e-=o)):e=0,s.height>i.height?(a>0&&(t+=a),l>0&&(t-=l)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){let t=this.dragStartDelay;return typeof t=="number"?t:x(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){let t=this._parentPositions.handleScroll(e);if(t){let i=I(e);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&T(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=N(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){let i=this._previewContainer||"global";if(i==="parent")return e;if(i==="global"){let s=this._document;return t||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return D(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=e=>{if(this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&e.preventDefault()}else this.disabled||e.preventDefault()};_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}_conditionallyInsertAnchor(e,t,i){if(e===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(t===this._initialContainer&&t.hasAnchor){let s=this._anchor??=Q(this._placeholder);s.classList.remove(qt),s.classList.add("cdk-drag-anchor"),s.style.transform="",i?i.before(s):D(t.element).appendChild(s)}}};function Kt(r,e,t){return Math.max(e,Math.min(t,r))}function x(r){return r.type[0]==="t"}function fe(r){r.preventDefault()}function Qt(r,e,t){let i=Yt(e,r.length-1),s=Yt(t,r.length-1);if(i===s)return;let n=r[i],o=s<i?-1:1;for(let a=i;a!==s;a+=o)r[a]=r[a+o];r[s]=n}function Yt(r,e){return Math.max(0,Math.min(e,r))}var F=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(e){this._dragDropRegistry=e}_previousSwap={drag:null,delta:0,overlaps:!1};start(e){this.withItems(e)}sort(e,t,i,s){let n=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,i,s);if(o===-1&&n.length>0)return null;let a=this.orientation==="horizontal",l=n.findIndex(u=>u.drag===e),h=n[o],d=n[l].clientRect,g=h.clientRect,v=l>o?1:-1,H=this._getItemOffsetPx(d,g,v),oe=this._getSiblingOffsetPx(l,n,v),ae=n.slice();return Qt(n,l,o),n.forEach((u,le)=>{if(ae[le]===u)return;let ct=u.drag===e,z=ct?H:oe,dt=ct?e.getPlaceholderElement():u.drag.getRootElement();u.offset+=z;let _t=Math.round(u.offset*(1/u.drag.scale));a?(dt.style.transform=A(`translate3d(${_t}px, 0, 0)`,u.initialTransform),T(u.clientRect,0,z)):(dt.style.transform=A(`translate3d(0, ${_t}px, 0)`,u.initialTransform),T(u.clientRect,z,0))}),this._previousSwap.overlaps=tt(g,t,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?s.x:s.y,{previousIndex:l,currentIndex:o}}enter(e,t,i,s){let n=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s,o=this._activeDraggables,a=o.indexOf(e),l=e.getPlaceholderElement(),h=o[n];if(h===e&&(h=o[n+1]),!h&&(n==null||n===-1||n<o.length-1)&&this._shouldEnterAsFirstChild(t,i)&&(h=o[0]),a>-1&&o.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){let d=h.getRootElement();d.parentElement.insertBefore(l,d),o.splice(n,0,e)}else this._element.appendChild(l),o.push(e);l.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables?.forEach(e=>{let t=e.getRootElement();if(t){let i=this._itemPositions.find(s=>s.drag===e)?.initialTransform;t.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return this._getVisualItemPositions().findIndex(t=>t.drag===e)}getItemAtIndex(e){return this._getVisualItemPositions()[e]?.drag||null}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:i})=>{T(i,e,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(t=>{let i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:at(i)}}).sort((t,i)=>e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=s?t.left-e.left:t.top-e.top;return i===-1&&(n+=s?t.width-e.width:t.height-e.height),n}_getSiblingOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=t[e].clientRect,o=t[e+i*-1],a=n[s?"width":"height"]*i;if(o){let l=s?"left":"top",h=s?"right":"bottom";i===-1?a-=o.clientRect[l]-n[h]:a+=n[l]-o.clientRect[h]}return a}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,s=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return s?e>=o.right:t>=o.bottom}else{let o=i[0].clientRect;return s?e<=o.left:t<=o.top}}_getItemIndexFromPointerPosition(e,t,i,s){let n=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===e)return!1;if(s){let h=n?s.x:s.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return n?t>=Math.floor(l.left)&&t<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return o===-1||!this._sortPredicate(o,e)?-1:o}},st=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(e,t){this._document=e,this._dragDropRegistry=t}start(e){let t=this._element.childNodes;this._relatedNodes=[];for(let i=0;i<t.length;i++){let s=t[i];this._relatedNodes.push([s,s.nextSibling])}this.withItems(e)}sort(e,t,i,s){let n=this._getItemIndexFromPointerPosition(e,t,i),o=this._previousSwap;if(n===-1||this._activeItems[n]===e)return null;let a=this._activeItems[n];if(o.drag===a&&o.overlaps&&o.deltaX===s.x&&o.deltaY===s.y)return null;let l=this.getItemIndex(e),h=e.getPlaceholderElement(),d=a.getRootElement();n>l?d.after(h):d.before(h),Qt(this._activeItems,l,n);let g=this._getRootNode().elementFromPoint(t,i);return o.deltaX=s.x,o.deltaY=s.y,o.drag=a,o.overlaps=d===g||d.contains(g),{previousIndex:l,currentIndex:n}}enter(e,t,i,s){let n=this._activeItems.indexOf(e);n>-1&&this._activeItems.splice(n,1);let o=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s;o===-1&&(o=this._getClosestItemIndexToPointer(e,t,i));let a=this._activeItems[o];a&&!this._dragDropRegistry.isDragging(a)?(this._activeItems.splice(o,0,e),a.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){let e=this._element,t=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[s,n]=this._relatedNodes[i];s.parentNode===e&&s.nextSibling!==n&&(n===null?e.appendChild(s):n.parentNode===e&&e.insertBefore(s,n))}this._relatedNodes=[],this._activeItems=[],t.drag=null,t.deltaX=t.deltaY=0,t.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}getItemAtIndex(e){return this._activeItems[e]||null}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,t,i){let s=this._getRootNode().elementFromPoint(Math.floor(t),Math.floor(i)),n=s?this._activeItems.findIndex(o=>{let a=o.getRootElement();return s===a||a.contains(s)}):-1;return n===-1||!this._sortPredicate(n,e)?-1:n}_getRootNode(){return this._rootNode||(this._rootNode=N(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,t,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let s=1/0,n=-1;for(let o=0;o<this._activeItems.length;o++){let a=this._activeItems[o];if(a!==e){let{x:l,y:h}=a.getRootElement().getBoundingClientRect(),d=Math.hypot(t-l,i-h);d<s&&(s=d,n=o)}}return n}},Xt=.05,te=.05,f=(function(r){return r[r.NONE=0]="NONE",r[r.UP=1]="UP",r[r.DOWN=2]="DOWN",r})(f||{}),p=(function(r){return r[r.NONE=0]="NONE",r[r.LEFT=1]="LEFT",r[r.RIGHT=2]="RIGHT",r})(p||{}),nt=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new _;entered=new _;exited=new _;dropped=new _;sorted=new _;receivingStarted=new _;receivingStopped=new _;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=P.EMPTY;_verticalScrollDirection=f.NONE;_horizontalScrollDirection=p.NONE;_scrollNode;_stopScrollTimers=new _;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(e,t,i,s,n){this._dragDropRegistry=t,this._ngZone=s,this._viewportRuler=n;let o=this.element=D(e);this._document=i,this.withOrientation("vertical").withElementContainer(o),t.registerDropContainer(this),this._parentPositions=new M(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,i,s){this._draggingStarted(),s==null&&this.sortingDisabled&&(s=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,i,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,i,s,n,o,a,l={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:i,container:this,previousContainer:s,isPointerOverContainer:n,distance:o,dropPoint:a,event:l})}withItems(e){let t=this._draggables;return this._draggables=e,e.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(s=>s.isDragging()).every(s=>e.indexOf(s)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof F&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if(e==="mixed")this._sortStrategy=new st(this._document,this._dragDropRegistry);else{let t=new F(this._dragDropRegistry);t.direction=this._direction,t.orientation=e,this._sortStrategy=t}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((t,i)=>this.sortPredicate(t,i,this)),this}withScrollableParents(e){let t=this._container;return this._scrollableElements=e.indexOf(t)===-1?[t,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;let t=D(this.element),i=this._scrollableElements.indexOf(this._container),s=this._scrollableElements.indexOf(e);return i>-1&&this._scrollableElements.splice(i,1),s>-1&&this._scrollableElements.splice(s,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}getItemAtIndex(e){return this._isDragging?this._sortStrategy.getItemAtIndex(e):this._draggables[e]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,i,s){if(this.sortingDisabled||!this._domRect||!Bt(this._domRect,Xt,t,i))return;let n=this._sortStrategy.sort(e,t,i,s);n&&this.sorted.next({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let i,s=f.NONE,n=p.NONE;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||i||Bt(o.clientRect,Xt,e,t)&&([s,n]=me(a,o.clientRect,this._direction,e,t),(s||n)&&(i=a))}),!s&&!n){let{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};s=ee(l,t),n=ie(l,e),i=window}i&&(s!==this._verticalScrollDirection||n!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=n,this._scrollNode=i,(s||n)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let e=this._container.style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),ft(0,gt).pipe(y(this._stopScrollTimers)).subscribe(()=>{let e=this._scrollNode,t=this.autoScrollStep;this._verticalScrollDirection===f.UP?e.scrollBy(0,-t):this._verticalScrollDirection===f.DOWN&&e.scrollBy(0,t),this._horizontalScrollDirection===p.LEFT?e.scrollBy(-t,0):this._horizontalScrollDirection===p.RIGHT&&e.scrollBy(t,0)})};_isOverContainer(e,t){return this._domRect!=null&&tt(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,i){return this._siblings.find(s=>s._canReceive(e,t,i))}_canReceive(e,t,i){if(!this._domRect||!tt(this._domRect,t,i)||!this.enterPredicate(e,this))return!1;let s=this._getShadowRoot().elementFromPoint(t,i);return s?s===this._container||this._container.contains(s):!1}_startReceiving(e,t){let i=this._activeSiblings;!i.has(e)&&t.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:t}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=N(this._container);this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}};function ee(r,e){let{top:t,bottom:i,height:s}=r,n=s*te;return e>=t-n&&e<=t+n?f.UP:e>=i-n&&e<=i+n?f.DOWN:f.NONE}function ie(r,e){let{left:t,right:i,width:s}=r,n=s*te;return e>=t-n&&e<=t+n?p.LEFT:e>=i-n&&e<=i+n?p.RIGHT:p.NONE}function me(r,e,t,i,s){let n=ee(e,s),o=ie(e,i),a=f.NONE,l=p.NONE;if(n){let h=r.scrollTop;n===f.UP?h>0&&(a=f.UP):r.scrollHeight-h>r.clientHeight&&(a=f.DOWN)}if(o){let h=r.scrollLeft;t==="rtl"?o===p.RIGHT?h<0&&(l=p.RIGHT):r.scrollWidth+h>r.clientWidth&&(l=p.LEFT):o===p.LEFT?h>0&&(l=p.LEFT):r.scrollWidth-h>r.clientWidth&&(l=p.RIGHT)}return[a,l]}var C={capture:!0},J={passive:!1,capture:!0},ve=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Et({type:r,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,s){},styles:[`@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}
1
+ import{A as Nt,G as Y,I as Mt,K as At,L as Ft,a as K,b as D,c as Tt,i as N,k as I,l as kt,m as Ot,q as Lt}from"./chunk-NWSIPELM.js";import{$ as B,$a as St,C as ft,Ca as W,D as O,Ha as Pt,Ja as Z,N as mt,Vc as $,Xc as w,Ya as m,Yc as Ct,Za as L,a as P,aa as vt,ab as yt,ac as q,bb as j,c as V,d as _,da as y,e as pt,fa as Dt,fb as Rt,hb as Et,ib as It,j as gt,jb as R,la as G,ma as wt,na as b,pa as c,sc as E,t as ut,tb as xt,xa as bt,ya as U}from"./chunk-JYZTRN6N.js";function Q(r){let e=r.cloneNode(!0),t=e.querySelectorAll("[id]"),i=r.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s<t.length;s++)t[s].removeAttribute("id");return i==="canvas"?Vt(r,e):(i==="input"||i==="select"||i==="textarea")&&zt(r,e),Ht("canvas",r,e,Vt),Ht("input, textarea, select",r,e,zt),e}function Ht(r,e,t,i){let s=e.querySelectorAll(r);if(s.length){let n=t.querySelectorAll(r);for(let o=0;o<s.length;o++)i(s[o],n[o])}}var he=0;function zt(r,e){e.type!=="file"&&(e.value=r.value),e.type==="radio"&&e.name&&(e.name=`mat-clone-${e.name}-${he++}`)}function Vt(r,e){let t=e.getContext("2d");if(t)try{t.drawImage(r,0,0)}catch{}}function at(r){let e=r.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function tt(r,e,t){let{top:i,bottom:s,left:n,right:o}=r;return t>=i&&t<=s&&e>=n&&e<=o}function ce(r,e){let t=e.left<r.left,i=e.left+e.width>r.right,s=e.top<r.top,n=e.top+e.height>r.bottom;return t||i||s||n}function T(r,e,t){r.top+=e,r.bottom=r.top+r.height,r.left+=t,r.right=r.left+r.width}function Bt(r,e,t,i){let{top:s,right:n,bottom:o,left:a,width:l,height:h}=r,d=l*e,g=h*e;return i>s-g&&i<o+g&&t>a-d&&t<n+d}var M=class{_document;positions=new Map;constructor(e){this._document=e}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),e.forEach(t=>{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:at(t)})})}handleScroll(e){let t=I(e),i=this.positions.get(t);if(!i)return null;let s=i.scrollPosition,n,o;if(t===this._document){let h=this.getViewportScrollPosition();n=h.top,o=h.left}else n=t.scrollTop,o=t.scrollLeft;let a=s.top-n,l=s.left-o;return this.positions.forEach((h,d)=>{h.clientRect&&t!==d&&t.contains(d)&&T(h.clientRect,a,l)}),s.top=n,s.left=o,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function Jt(r,e){let t=r.rootNodes;if(t.length===1&&t[0].nodeType===e.ELEMENT_NODE)return t[0];let i=e.createElement("div");return t.forEach(s=>i.appendChild(s)),i}function lt(r,e,t){for(let i in e)if(e.hasOwnProperty(i)){let s=e[i];s?r.setProperty(i,s,t?.has(i)?"important":""):r.removeProperty(i)}return r}function S(r,e){let t=e?"":"none";lt(r.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function Gt(r,e,t){lt(r.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function A(r,e){return e&&e!="none"?r+" "+e:r}function Ut(r,e){r.style.width=`${e.width}px`,r.style.height=`${e.height}px`,r.style.transform=k(e.left,e.top)}function k(r,e){return`translate3d(${Math.round(r)}px, ${Math.round(e)}px, 0)`}function Wt(r){let e=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*e}function de(r){let e=getComputedStyle(r),t=X(e,"transition-property"),i=t.find(a=>a==="transform"||a==="all");if(!i)return 0;let s=t.indexOf(i),n=X(e,"transition-duration"),o=X(e,"transition-delay");return Wt(n[s])+Wt(o[s])}function X(r,e){return r.getPropertyValue(e).split(",").map(i=>i.trim())}var _e=new Set(["position"]),et=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(e,t,i,s,n,o,a,l,h,d){this._document=e,this._rootElement=t,this._direction=i,this._initialDomRect=s,this._previewTemplate=n,this._previewClass=o,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=h,this._renderer=d}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),Zt(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return de(this._preview)}addEventListener(e,t){return this._renderer.listen(this._preview,e,t)}_createPreview(){let e=this._previewTemplate,t=this._previewClass,i=e?e.template:null,s;if(i&&e){let n=e.matchSize?this._initialDomRect:null,o=e.viewContainer.createEmbeddedView(i,e.context);o.detectChanges(),s=Jt(o,this._document),this._previewEmbeddedView=o,e.matchSize?Ut(s,n):s.style.transform=k(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=Q(this._rootElement),Ut(s,this._initialDomRect),this._initialTransform&&(s.style.transform=this._initialTransform);return lt(s.style,{"pointer-events":"none",margin:Zt(s)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},_e),S(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("popover","manual"),s.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(n=>s.classList.add(n)):s.classList.add(t)),s}};function Zt(r){return"showPopover"in r}var pe={passive:!0},jt={passive:!1},ge={passive:!1,capture:!0},ue=800,qt="cdk-drag-placeholder",$t=new Set(["position"]),it=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=W(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new _;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=P.EMPTY;_pointerUpSubscription=P.EMPTY;_scrollSubscription=P.EMPTY;_resizeSubscription=P.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>S(t,e)))}_disabled=!1;beforeStarted=new _;started=new _;released=new _;ended=new _;entered=new _;exited=new _;dropped=new _;moved=this._moveEvents;data;constrainPosition;constructor(e,t,i,s,n,o,a){this._config=t,this._document=i,this._ngZone=s,this._viewportRuler=n,this._dragDropRegistry=o,this._renderer=a,this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new M(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(i=>D(i)),this._handles.forEach(i=>S(i,this.disabled)),this._toggleNativeDragInteractions();let t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let t=D(e);if(t!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(t,"mousedown",this._pointerDown,jt),i.listen(t,"touchstart",this._pointerDown,pe),i.listen(t,"dragstart",this._nativeDragStart,jt)]),this._initialTransform=void 0,this._rootElement=t}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?D(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&ce(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let e=this._boundaryElement.getBoundingClientRect(),t=this._rootElement.getBoundingClientRect(),i=0,s=0;t.left<e.left?i=e.left-t.left:t.right>e.right&&(i=e.right-t.right),t.top<e.top?s=e.top-t.top:t.bottom>e.bottom&&(s=e.bottom-t.bottom);let n=this._activeTransform.x,o=this._activeTransform.y,a=n+i,l=o+s;this._rootElement.style.transform=k(a,l),this._activeTransform={x:a,y:l},this._passiveTransform={x:a,y:l}}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),S(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),S(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)};_pointerMove=e=>{let t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging()){let s=Math.abs(t.x-this._pickupPositionOnPage.x),n=Math.abs(t.y-this._pickupPositionOnPage.y);if(s+n>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),l=this._dropContainer;if(!a){this._endDragSequence(e);return}(!l||!l.isDragging()&&!l.isReceiving())&&(e.cancelable&&e.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(e)))}return}e.cancelable&&e.preventDefault();let i=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,t);else{let s=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,n=this._activeTransform;n.x=i.x-s.x+this._passiveTransform.x,n.y=i.y-s.y+this._passiveTransform.y,this._applyRootElementTransform(n.x,n.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:e,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=e=>{this._endDragSequence(e)};_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){x(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let t=this._getShadowRoot(),i=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(t,"selectstart",fe,ge)}),i){let s=this._rootElement,n=s.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._marker=this._marker||this._document.createComment("");n.insertBefore(a,s),this._initialTransform=s.style.transform||"",this._preview=new et(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(n,t)),Gt(s,!1,$t),this._document.body.appendChild(n.replaceChild(o,s)),this.started.next({source:this,event:e}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();let i=this.isDragging(),s=x(t),n=!s&&t.button!==0,o=this._rootElement,a=I(t),l=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+ue>Date.now(),h=s?Ot(t):kt(t);if(a&&a.draggable&&t.type==="mousedown"&&t.preventDefault(),i||n||l||h)return;if(this._handles.length){let v=o.style;this._rootElementTapHighlight=v.webkitTapHighlightColor||"",v.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(v=>this._updateOnScroll(v)),this._boundaryElement&&(this._boundaryRect=at(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);let g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){Gt(this._rootElement,!0,$t),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let t=this._dropContainer,i=t.getItemIndex(this),s=this._getPointerPositionOnPage(e),n=this._getDragDistance(s),o=t._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:n,dropPoint:s,event:e}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:n,dropPoint:s,event:e}),t.drop(this,i,this._initialIndex,this._initialContainer,o,n,s,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:i,y:s}){let n=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{let o=this._dropContainer.getItemIndex(this),a=this._dropContainer.getItemAtIndex(o+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(n,this._dropContainer,a),this._dropContainer=n,this._dropContainer.enter(this,e,t,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,s),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let t=this._preview.getTransitionDuration();return t===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let s=a=>{(!a||this._preview&&I(a)===this._preview.element&&a.propertyName==="transform")&&(o(),i(),clearTimeout(n))},n=setTimeout(s,t*1.5),o=this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,t=e?e.template:null,i;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),i=Jt(this._placeholderRef,this._document)):i=Q(this._rootElement),i.style.pointerEvents="none",i.classList.add(qt),i}_getPointerPositionInElement(e,t,i){let s=t===this._rootElement?null:t,n=s?s.getBoundingClientRect():e,o=x(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition(),l=o.pageX-n.left-a.left,h=o.pageY-n.top-a.top;return{x:n.left-e.left+l,y:n.top-e.top+h}}_getPointerPositionOnPage(e){let t=this._getViewportScrollPosition(),i=x(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,s=i.pageX-t.left,n=i.pageY-t.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let a=this._ownerSVGElement.createSVGPoint();return a.x=s,a.y=n,a.matrixTransform(o.inverse())}}return{x:s,y:n}}_getConstrainedPointerPosition(e){let t=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:s}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||t==="x"?s=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||t==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:n,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:h}=this._getPreviewRect(),d=a.top+o,g=a.bottom-(h-o),v=a.left+n,H=a.right-(l-n);i=Kt(i,v,H),s=Kt(s,d,g)}return{x:i,y:s}}_updatePointerDirectionDelta(e){let{x:t,y:i}=e,s=this._pointerDirectionDelta,n=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-n.x),a=Math.abs(i-n.y);return o>this._config.pointerDirectionChangeThreshold&&(s.x=t>n.x?1:-1,n.x=t),a>this._config.pointerDirectionChangeThreshold&&(s.y=i>n.y?1:-1,n.y=i),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,S(this._rootElement,e))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(e=>e()),this._rootElementCleanups=void 0}_applyRootElementTransform(e,t){let i=1/this.scale,s=k(e*i,t*i),n=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=n.transform&&n.transform!="none"?n.transform:""),n.transform=A(s,this._initialTransform)}_applyPreviewTransform(e,t){let i=this._previewTemplate?.template?void 0:this._initialTransform,s=k(e,t);this._preview.setTransform(A(s,i))}_getDragDistance(e){let t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(e===0&&t===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(s.width===0&&s.height===0||i.width===0&&i.height===0)return;let n=s.left-i.left,o=i.right-s.right,a=s.top-i.top,l=i.bottom-s.bottom;s.width>i.width?(n>0&&(e+=n),o>0&&(e-=o)):e=0,s.height>i.height?(a>0&&(t+=a),l>0&&(t-=l)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){let t=this.dragStartDelay;return typeof t=="number"?t:x(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){let t=this._parentPositions.handleScroll(e);if(t){let i=I(e);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&T(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=N(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){let i=this._previewContainer||"global";if(i==="parent")return e;if(i==="global"){let s=this._document;return t||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return D(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=e=>{if(this._handles.length){let t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&e.preventDefault()}else this.disabled||e.preventDefault()};_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}_conditionallyInsertAnchor(e,t,i){if(e===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(t===this._initialContainer&&t.hasAnchor){let s=this._anchor??=Q(this._placeholder);s.classList.remove(qt),s.classList.add("cdk-drag-anchor"),s.style.transform="",i?i.before(s):D(t.element).appendChild(s)}}};function Kt(r,e,t){return Math.max(e,Math.min(t,r))}function x(r){return r.type[0]==="t"}function fe(r){r.preventDefault()}function Qt(r,e,t){let i=Yt(e,r.length-1),s=Yt(t,r.length-1);if(i===s)return;let n=r[i],o=s<i?-1:1;for(let a=i;a!==s;a+=o)r[a]=r[a+o];r[s]=n}function Yt(r,e){return Math.max(0,Math.min(e,r))}var F=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(e){this._dragDropRegistry=e}_previousSwap={drag:null,delta:0,overlaps:!1};start(e){this.withItems(e)}sort(e,t,i,s){let n=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,i,s);if(o===-1&&n.length>0)return null;let a=this.orientation==="horizontal",l=n.findIndex(u=>u.drag===e),h=n[o],d=n[l].clientRect,g=h.clientRect,v=l>o?1:-1,H=this._getItemOffsetPx(d,g,v),oe=this._getSiblingOffsetPx(l,n,v),ae=n.slice();return Qt(n,l,o),n.forEach((u,le)=>{if(ae[le]===u)return;let ct=u.drag===e,z=ct?H:oe,dt=ct?e.getPlaceholderElement():u.drag.getRootElement();u.offset+=z;let _t=Math.round(u.offset*(1/u.drag.scale));a?(dt.style.transform=A(`translate3d(${_t}px, 0, 0)`,u.initialTransform),T(u.clientRect,0,z)):(dt.style.transform=A(`translate3d(0, ${_t}px, 0)`,u.initialTransform),T(u.clientRect,z,0))}),this._previousSwap.overlaps=tt(g,t,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?s.x:s.y,{previousIndex:l,currentIndex:o}}enter(e,t,i,s){let n=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s,o=this._activeDraggables,a=o.indexOf(e),l=e.getPlaceholderElement(),h=o[n];if(h===e&&(h=o[n+1]),!h&&(n==null||n===-1||n<o.length-1)&&this._shouldEnterAsFirstChild(t,i)&&(h=o[0]),a>-1&&o.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){let d=h.getRootElement();d.parentElement.insertBefore(l,d),o.splice(n,0,e)}else this._element.appendChild(l),o.push(e);l.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables?.forEach(e=>{let t=e.getRootElement();if(t){let i=this._itemPositions.find(s=>s.drag===e)?.initialTransform;t.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return this._getVisualItemPositions().findIndex(t=>t.drag===e)}getItemAtIndex(e){return this._getVisualItemPositions()[e]?.drag||null}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:i})=>{T(i,e,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(t=>{let i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:at(i)}}).sort((t,i)=>e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=s?t.left-e.left:t.top-e.top;return i===-1&&(n+=s?t.width-e.width:t.height-e.height),n}_getSiblingOffsetPx(e,t,i){let s=this.orientation==="horizontal",n=t[e].clientRect,o=t[e+i*-1],a=n[s?"width":"height"]*i;if(o){let l=s?"left":"top",h=s?"right":"bottom";i===-1?a-=o.clientRect[l]-n[h]:a+=n[l]-o.clientRect[h]}return a}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,s=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return s?e>=o.right:t>=o.bottom}else{let o=i[0].clientRect;return s?e<=o.left:t<=o.top}}_getItemIndexFromPointerPosition(e,t,i,s){let n=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===e)return!1;if(s){let h=n?s.x:s.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return n?t>=Math.floor(l.left)&&t<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return o===-1||!this._sortPredicate(o,e)?-1:o}},st=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(e,t){this._document=e,this._dragDropRegistry=t}start(e){let t=this._element.childNodes;this._relatedNodes=[];for(let i=0;i<t.length;i++){let s=t[i];this._relatedNodes.push([s,s.nextSibling])}this.withItems(e)}sort(e,t,i,s){let n=this._getItemIndexFromPointerPosition(e,t,i),o=this._previousSwap;if(n===-1||this._activeItems[n]===e)return null;let a=this._activeItems[n];if(o.drag===a&&o.overlaps&&o.deltaX===s.x&&o.deltaY===s.y)return null;let l=this.getItemIndex(e),h=e.getPlaceholderElement(),d=a.getRootElement();n>l?d.after(h):d.before(h),Qt(this._activeItems,l,n);let g=this._getRootNode().elementFromPoint(t,i);return o.deltaX=s.x,o.deltaY=s.y,o.drag=a,o.overlaps=d===g||d.contains(g),{previousIndex:l,currentIndex:n}}enter(e,t,i,s){let n=this._activeItems.indexOf(e);n>-1&&this._activeItems.splice(n,1);let o=s==null||s<0?this._getItemIndexFromPointerPosition(e,t,i):s;o===-1&&(o=this._getClosestItemIndexToPointer(e,t,i));let a=this._activeItems[o];a&&!this._dragDropRegistry.isDragging(a)?(this._activeItems.splice(o,0,e),a.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){let e=this._element,t=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[s,n]=this._relatedNodes[i];s.parentNode===e&&s.nextSibling!==n&&(n===null?e.appendChild(s):n.parentNode===e&&e.insertBefore(s,n))}this._relatedNodes=[],this._activeItems=[],t.drag=null,t.deltaX=t.deltaY=0,t.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}getItemAtIndex(e){return this._activeItems[e]||null}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,t,i){let s=this._getRootNode().elementFromPoint(Math.floor(t),Math.floor(i)),n=s?this._activeItems.findIndex(o=>{let a=o.getRootElement();return s===a||a.contains(s)}):-1;return n===-1||!this._sortPredicate(n,e)?-1:n}_getRootNode(){return this._rootNode||(this._rootNode=N(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,t,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let s=1/0,n=-1;for(let o=0;o<this._activeItems.length;o++){let a=this._activeItems[o];if(a!==e){let{x:l,y:h}=a.getRootElement().getBoundingClientRect(),d=Math.hypot(t-l,i-h);d<s&&(s=d,n=o)}}return n}},Xt=.05,te=.05,f=(function(r){return r[r.NONE=0]="NONE",r[r.UP=1]="UP",r[r.DOWN=2]="DOWN",r})(f||{}),p=(function(r){return r[r.NONE=0]="NONE",r[r.LEFT=1]="LEFT",r[r.RIGHT=2]="RIGHT",r})(p||{}),nt=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new _;entered=new _;exited=new _;dropped=new _;sorted=new _;receivingStarted=new _;receivingStopped=new _;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=P.EMPTY;_verticalScrollDirection=f.NONE;_horizontalScrollDirection=p.NONE;_scrollNode;_stopScrollTimers=new _;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(e,t,i,s,n){this._dragDropRegistry=t,this._ngZone=s,this._viewportRuler=n;let o=this.element=D(e);this._document=i,this.withOrientation("vertical").withElementContainer(o),t.registerDropContainer(this),this._parentPositions=new M(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,i,s){this._draggingStarted(),s==null&&this.sortingDisabled&&(s=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,i,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,i,s,n,o,a,l={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:i,container:this,previousContainer:s,isPointerOverContainer:n,distance:o,dropPoint:a,event:l})}withItems(e){let t=this._draggables;return this._draggables=e,e.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(s=>s.isDragging()).every(s=>e.indexOf(s)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof F&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if(e==="mixed")this._sortStrategy=new st(this._document,this._dragDropRegistry);else{let t=new F(this._dragDropRegistry);t.direction=this._direction,t.orientation=e,this._sortStrategy=t}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((t,i)=>this.sortPredicate(t,i,this)),this}withScrollableParents(e){let t=this._container;return this._scrollableElements=e.indexOf(t)===-1?[t,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;let t=D(this.element),i=this._scrollableElements.indexOf(this._container),s=this._scrollableElements.indexOf(e);return i>-1&&this._scrollableElements.splice(i,1),s>-1&&this._scrollableElements.splice(s,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}getItemAtIndex(e){return this._isDragging?this._sortStrategy.getItemAtIndex(e):this._draggables[e]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,i,s){if(this.sortingDisabled||!this._domRect||!Bt(this._domRect,Xt,t,i))return;let n=this._sortStrategy.sort(e,t,i,s);n&&this.sorted.next({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let i,s=f.NONE,n=p.NONE;if(this._parentPositions.positions.forEach((o,a)=>{a===this._document||!o.clientRect||i||Bt(o.clientRect,Xt,e,t)&&([s,n]=me(a,o.clientRect,this._direction,e,t),(s||n)&&(i=a))}),!s&&!n){let{width:o,height:a}=this._viewportRuler.getViewportSize(),l={width:o,height:a,top:0,right:o,bottom:a,left:0};s=ee(l,t),n=ie(l,e),i=window}i&&(s!==this._verticalScrollDirection||n!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=n,this._scrollNode=i,(s||n)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let e=this._container.style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),ft(0,gt).pipe(y(this._stopScrollTimers)).subscribe(()=>{let e=this._scrollNode,t=this.autoScrollStep;this._verticalScrollDirection===f.UP?e.scrollBy(0,-t):this._verticalScrollDirection===f.DOWN&&e.scrollBy(0,t),this._horizontalScrollDirection===p.LEFT?e.scrollBy(-t,0):this._horizontalScrollDirection===p.RIGHT&&e.scrollBy(t,0)})};_isOverContainer(e,t){return this._domRect!=null&&tt(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,i){return this._siblings.find(s=>s._canReceive(e,t,i))}_canReceive(e,t,i){if(!this._domRect||!tt(this._domRect,t,i)||!this.enterPredicate(e,this))return!1;let s=this._getShadowRoot().elementFromPoint(t,i);return s?s===this._container||this._container.contains(s):!1}_startReceiving(e,t){let i=this._activeSiblings;!i.has(e)&&t.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:t}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=N(this._container);this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}};function ee(r,e){let{top:t,bottom:i,height:s}=r,n=s*te;return e>=t-n&&e<=t+n?f.UP:e>=i-n&&e<=i+n?f.DOWN:f.NONE}function ie(r,e){let{left:t,right:i,width:s}=r,n=s*te;return e>=t-n&&e<=t+n?p.LEFT:e>=i-n&&e<=i+n?p.RIGHT:p.NONE}function me(r,e,t,i,s){let n=ee(e,s),o=ie(e,i),a=f.NONE,l=p.NONE;if(n){let h=r.scrollTop;n===f.UP?h>0&&(a=f.UP):r.scrollHeight-h>r.clientHeight&&(a=f.DOWN)}if(o){let h=r.scrollLeft;t==="rtl"?o===p.RIGHT?h<0&&(l=p.RIGHT):r.scrollWidth+h>r.clientWidth&&(l=p.LEFT):o===p.LEFT?h>0&&(l=p.LEFT):r.scrollWidth-h>r.clientWidth&&(l=p.RIGHT)}return[a,l]}var C={capture:!0},J={passive:!1,capture:!0},ve=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=Et({type:r,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,s){},styles:[`@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}
2
2
  `],encapsulation:2,changeDetection:0})}return r})(),se=(()=>{class r{_ngZone=c(L);_document=c(U);_styleLoader=c(Lt);_renderer=c(j).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new _;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=W([]);_globalListeners;_draggingPredicate=t=>t.isDragging();_domNodesToDirectives=null;pointerMove=new _;pointerUp=new _;constructor(){}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,J)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(t,i){if(!(this._activeDragInstances().indexOf(t)>-1)&&(this._styleLoader.load(ve),this._activeDragInstances.update(s=>[...s,t]),this._activeDragInstances().length===1)){let s=i.type.startsWith("touch"),n=a=>this.pointerUp.next(a),o=[["scroll",a=>this._scroll.next(a),C],["selectstart",this._preventDefaultWhileDragging,J]];s?o.push(["touchend",n,C],["touchcancel",n,C]):o.push(["mouseup",n,C]),s||o.push(["mousemove",a=>this.pointerMove.next(a),J]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=o.map(([a,l,h])=>this._renderer.listen(this._document,a,l,h))})}}stopDragging(t){this._activeDragInstances.update(i=>{let s=i.indexOf(t);return s>-1?(i.splice(s,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances().indexOf(t)>-1}scrolled(t){let i=[this._scroll];return t&&t!==this._document&&i.push(new V(s=>this._ngZone.runOutsideAngular(()=>{let n=this._renderer.listen(t,"scroll",o=>{this._activeDragInstances().length&&s.next(o)},C);return()=>{n()}}))),O(...i)}registerDirectiveNode(t,i){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(t,i)}removeDirectiveNode(t){this._domNodesToDirectives?.delete(t)}getDragDirectiveForNode(t){return this._domNodesToDirectives?.get(t)||null}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=t=>{this._activeDragInstances().length>0&&t.preventDefault()};_persistentTouchmoveListener=t=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))};_clearGlobalListeners(){this._globalListeners?.forEach(t=>t()),this._globalListeners=void 0}static \u0275fac=function(i){return new(i||r)};static \u0275prov=G({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),De={dragStartThreshold:5,pointerDirectionChangeThreshold:5},ht=(()=>{class r{_document=c(U);_ngZone=c(L);_viewportRuler=c(At);_dragDropRegistry=c(se);_renderer=c(j).createRenderer(null,null);constructor(){}createDrag(t,i=De){return new it(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(t){return new nt(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(i){return new(i||r)};static \u0275prov=G({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),rt=new b("CDK_DRAG_PARENT");var we=new b("CdkDragHandle");var ne=new b("CDK_DRAG_CONFIG"),re=new b("CdkDropList"),Ge=(()=>{class r{element=c(Z);dropContainer=c(re,{optional:!0,skipSelf:!0});_ngZone=c(L);_viewContainerRef=c(Rt);_dir=c(Y,{optional:!0});_changeDetectorRef=c($);_selfHandle=c(we,{optional:!0,self:!0});_parentDrag=c(rt,{optional:!0,skipSelf:!0});_dragDropRegistry=c(se);_destroyed=new _;_handles=new pt([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis=null;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(t){this._disabled=t,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new m;released=new m;ended=new m;entered=new m;exited=new m;dropped=new m;moved=new V(t=>{let i=this._dragRef.moved.pipe(ut(s=>({source:this,pointerPosition:s.pointerPosition,event:s.event,delta:s.delta,distance:s.distance}))).subscribe(t);return()=>{i.unsubscribe()}});_injector=c(bt);constructor(){let t=this.dropContainer,i=c(ne,{optional:!0}),s=c(ht);this._dragRef=s.createDrag(this.element,{dragStartThreshold:i&&i.dragStartThreshold!=null?i.dragStartThreshold:5,pointerDirectionChangeThreshold:i&&i.pointerDirectionChangeThreshold!=null?i.pointerDirectionChangeThreshold:5,zIndex:i?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),i&&this._assignDefaults(i),t&&(t.addItem(this),t._dropListRef.beforeStarted.pipe(y(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){St(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(t){let i=t.rootElementSelector,s=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(t){let i=this._handles.getValue();i.push(t),this._handles.next(i)}_removeHandle(t){let i=this._handles.getValue(),s=i.indexOf(t);s>-1&&(i.splice(s,1),this._handles.next(i))}_setPreviewTemplate(t){this._previewTemplate=t}_resetPreviewTemplate(t){t===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(t){this._placeholderTemplate=t}_resetPlaceholderTemplate(t){t===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let t=this.element.nativeElement,i=t;this.rootElementSelector&&(i=t.closest!==void 0?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||t)}_getBoundaryElement(){let t=this.boundaryElement;return t?typeof t=="string"?this.element.nativeElement.closest(t):D(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){let i=this._dir,s=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.scale=this.scale,t.dragStartDelay=typeof s=="object"&&s?s:K(s),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe(mt(1)).subscribe(()=>{if(this._parentDrag){t.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){let s=this._dragDropRegistry.getDragDirectiveForNode(i);if(s){t.withParent(s._dragRef);break}i=i.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){let{lockAxis:i,dragStartDelay:s,constrainPosition:n,previewClass:o,boundaryElement:a,draggingDisabled:l,rootElementSelector:h,previewContainer:d}=t;this.disabled=l??!1,this.dragStartDelay=s||0,this.lockAxis=i||null,n&&(this.constrainPosition=n),o&&(this.previewClass=o),a&&(this.boundaryElement=a),h&&(this.rootElementSelector=h),d&&(this.previewContainer=d)}_setupHandlesListener(){this._handles.pipe(Dt(t=>{let i=t.map(s=>s.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),vt(t=>O(...t.map(i=>i._stateChanges.pipe(B(i))))),y(this._destroyed)).subscribe(t=>{let i=this._dragRef,s=t.element.nativeElement;t.disabled?i.disableHandle(s):i.enableHandle(s)})}static \u0275fac=function(i){return new(i||r)};static \u0275dir=R({type:r,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,s){i&2&&q("cdk-drag-disabled",s.disabled)("cdk-drag-dragging",s._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",w],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Ct]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[E([{provide:rt,useExisting:r}]),Pt]})}return r})(),ot=new b("CdkDropListGroup"),Ue=(()=>{class r{_items=new Set;disabled=!1;ngOnDestroy(){this._items.clear()}static \u0275fac=function(i){return new(i||r)};static \u0275dir=R({type:r,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",w]},exportAs:["cdkDropListGroup"],features:[E([{provide:ot,useExisting:r}])]})}return r})(),We=(()=>{class r{element=c(Z);_changeDetectorRef=c($);_scrollDispatcher=c(Mt);_dir=c(Y,{optional:!0});_group=c(ot,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new _;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=c(Nt).getId("cdk-drop-list-");lockAxis=null;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=t}_disabled;sortingDisabled;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled;autoScrollStep;elementContainerSelector;hasAnchor;dropped=new m;entered=new m;exited=new m;sorted=new m;_unsortedItems=new Set;constructor(){let t=c(ht),i=c(ne,{optional:!0});this._dropListRef=t.createDropList(this.element),this._dropListRef.data=this,i&&this._assignDefaults(i),this._dropListRef.enterPredicate=(s,n)=>this.enterPredicate(s.data,n.data),this._dropListRef.sortPredicate=(s,n,o)=>this.sortPredicate(s,n.data,o.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),r._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(t){this._unsortedItems.add(t),t._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef))}removeItem(t){if(this._unsortedItems.delete(t),this._latestSortedRefs){let i=this._latestSortedRefs.indexOf(t._dragRef);i>-1&&(this._latestSortedRefs.splice(i,1),this._syncItemsWithRef(this._latestSortedRefs))}}getSortedItems(){return Array.from(this._unsortedItems).sort((t,i)=>t._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let t=r._dropLists.indexOf(this);t>-1&&r._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(B(this._dir.value),y(this._destroyed)).subscribe(i=>t.withDirection(i)),t.beforeStarted.subscribe(()=>{let i=Tt(this.connectedTo).map(s=>{if(typeof s=="string"){let n=r._dropLists.find(o=>o.id===s);return n}return s});if(this._group&&this._group._items.forEach(s=>{i.indexOf(s)===-1&&i.push(s)}),!this._scrollableParentsResolved){let s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(n=>n.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let s=this.element.nativeElement.querySelector(this.elementContainerSelector);t.withElementContainer(s)}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=this.sortingDisabled,t.autoScrollDisabled=this.autoScrollDisabled,t.autoScrollStep=K(this.autoScrollStep,2),t.hasAnchor=this.hasAnchor,t.connectedTo(i.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef)),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),O(t.receivingStarted,t.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(t){let{lockAxis:i,draggingDisabled:s,sortingDisabled:n,listAutoScrollDisabled:o,listOrientation:a}=t;this.disabled=s??!1,this.sortingDisabled=n??!1,this.autoScrollDisabled=o??!1,this.orientation=a||"vertical",this.lockAxis=i||null}_syncItemsWithRef(t){this._latestSortedRefs=t,this._dropListRef.withItems(t)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=R({type:r,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,s){i&2&&(xt("id",s.id),q("cdk-drop-list-disabled",s.disabled)("cdk-drop-list-dragging",s._dropListRef.isDragging())("cdk-drop-list-receiving",s._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",w],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",w],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",w],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",w]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[E([{provide:ot,useValue:void 0},{provide:re,useExisting:r}])]})}return r})(),be=new b("CdkDragPreview"),Ze=(()=>{class r{templateRef=c(yt);_drag=c(rt,{optional:!0});data;matchSize=!1;constructor(){this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static \u0275fac=function(i){return new(i||r)};static \u0275dir=R({type:r,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",w]},features:[E([{provide:be,useExisting:r}])]})}return r})();var je=(()=>{class r{static \u0275fac=function(i){return new(i||r)};static \u0275mod=It({type:r});static \u0275inj=wt({providers:[ht],imports:[Ft]})}return r})();export{Qt as a,ne as b,Ge as c,Ue as d,We as e,Ze as f,je as g};