dealpos 25.48.1 → 25.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-IFOBYW26.js → chunk-25H27N7N.js} +1 -1
- package/browser/{chunk-BA3BDB5Y.js → chunk-26YFRPR2.js} +1 -1
- package/browser/{chunk-JEL3OND6.js → chunk-2CL5FM3P.js} +1 -1
- package/browser/{chunk-OU7YY2CV.js → chunk-2GQEQ3DM.js} +1 -1
- package/browser/chunk-2MPRVJXH.js +1 -0
- package/browser/{chunk-3VKLSTEH.js → chunk-2THWFHCQ.js} +1 -1
- package/browser/{chunk-CA6YBQT3.js → chunk-2VE2WNSA.js} +1 -1
- package/browser/{chunk-MVUVDYGQ.js → chunk-32QBWLTN.js} +1 -1
- package/browser/{chunk-HL3ONSX6.js → chunk-363IDTE3.js} +1 -1
- package/browser/chunk-36GWLMZX.js +1 -0
- package/browser/chunk-3CSCTT6I.js +1 -0
- package/browser/chunk-3HZIDGPN.js +1 -0
- package/browser/{chunk-534MIVWD.js → chunk-45E6XCHN.js} +1 -1
- package/browser/{chunk-UTAQ3FRE.js → chunk-4BXCIT62.js} +1 -1
- package/browser/{chunk-VP2ZEIJA.js → chunk-4CPRMZL6.js} +1 -1
- package/browser/chunk-4FQK7PPL.js +2 -0
- package/browser/chunk-4HEJOI53.js +1 -0
- package/browser/{chunk-HUYWGTVQ.js → chunk-4NC3AMZL.js} +1 -1
- package/browser/{chunk-QIJEAKQK.js → chunk-4OEDK7YE.js} +1 -1
- package/browser/{chunk-R4OHTTCT.js → chunk-4SRWAPD4.js} +1 -1
- package/browser/chunk-4W3WYXI2.js +1 -0
- package/browser/chunk-4XJWQAS6.js +1 -0
- package/browser/{chunk-SWPKQM2X.js → chunk-4ZITX27A.js} +1 -1
- package/browser/chunk-53VS5DA7.js +1 -0
- package/browser/chunk-5LXLK7RD.js +1 -0
- package/browser/{chunk-XACC6EMJ.js → chunk-5USF4MRW.js} +1 -1
- package/browser/{chunk-GN3HVOCN.js → chunk-5ZD6KTDH.js} +1 -1
- package/browser/chunk-6423WDPG.js +1 -0
- package/browser/{chunk-7NOKG3UC.js → chunk-6C2HPRJZ.js} +1 -1
- package/browser/chunk-6DEXG3XU.js +1 -0
- package/browser/chunk-6JILNRKG.js +1 -0
- package/browser/{chunk-ZQGXWDT6.js → chunk-6KZY3TKX.js} +1 -1
- package/browser/{chunk-M43HNBJQ.js → chunk-6P2ASCNY.js} +1 -1
- package/browser/chunk-6UWPPIGG.js +1 -0
- package/browser/chunk-6VDSD23I.js +1 -0
- package/browser/{chunk-LOD3JYZW.js → chunk-6WATOQG3.js} +1 -1
- package/browser/{chunk-CSFFF2YO.js → chunk-72RZBOHX.js} +1 -1
- package/browser/chunk-7BQKGIZM.js +1 -0
- package/browser/chunk-7DAPNQYU.js +1 -0
- package/browser/{chunk-ZRYRGDGM.js → chunk-7F4QLFQQ.js} +1 -1
- package/browser/{chunk-5IAWFOXD.js → chunk-7JULWG2B.js} +1 -1
- package/browser/{chunk-NWSIPELM.js → chunk-7P3L3ODB.js} +1 -1
- package/browser/chunk-7TZGCMN2.js +1 -0
- package/browser/{chunk-6QBYWFJ4.js → chunk-7VDLNYGI.js} +1 -1
- package/browser/{chunk-X57HWGVJ.js → chunk-7YUPYNWQ.js} +1 -1
- package/browser/{chunk-QFWPOP7L.js → chunk-7ZNQDUWM.js} +1 -1
- package/browser/chunk-A2EVMYAR.js +1 -0
- package/browser/{chunk-JCTDWAYQ.js → chunk-A565EUMD.js} +1 -1
- package/browser/{chunk-AEXXXOEQ.js → chunk-AQW4VS3Y.js} +1 -1
- package/browser/{chunk-4HPBSK4V.js → chunk-ARYZHNFV.js} +1 -1
- package/browser/{chunk-KR2YGW5S.js → chunk-AZ7K5PCZ.js} +3 -3
- package/browser/{chunk-HVJHE6PQ.js → chunk-B36P4U32.js} +1 -1
- package/browser/{chunk-4HCSE44G.js → chunk-B5IABJO5.js} +1 -1
- package/browser/chunk-B7AC4RMR.js +1 -0
- package/browser/{chunk-NETNL55X.js → chunk-BEHZM3AS.js} +1 -1
- package/browser/chunk-BNNKSBQ6.js +1 -0
- package/browser/chunk-BPDYHYKF.js +1 -0
- package/browser/{chunk-IWUWV3MS.js → chunk-BQUL7SGN.js} +1 -1
- package/browser/{chunk-RMB6IO7X.js → chunk-BRNU2JXC.js} +1 -1
- package/browser/chunk-BSK4YPJP.js +1 -0
- package/browser/{chunk-JUS6LLVX.js → chunk-BT7NN7PT.js} +1 -1
- package/browser/{chunk-JR5LAUIS.js → chunk-BYTV42NJ.js} +1 -1
- package/browser/{chunk-66MCBKC7.js → chunk-C2NCV7VC.js} +1 -1
- package/browser/{chunk-RNXOIUIO.js → chunk-C3STDN73.js} +1 -1
- package/browser/{chunk-O2LFJOK7.js → chunk-C5N3GKEC.js} +1 -1
- package/browser/{chunk-BILYIP7J.js → chunk-CCD6EYWH.js} +1 -1
- package/browser/{chunk-C5AIOCPM.js → chunk-CFWHBIM3.js} +1 -1
- package/browser/{chunk-GZ7UUU3F.js → chunk-CGOHOFH4.js} +1 -1
- package/browser/{chunk-KQYNW4DG.js → chunk-CIXVVGDN.js} +6 -6
- package/browser/{chunk-I5W4NCFM.js → chunk-COA4UL2V.js} +1 -1
- package/browser/{chunk-ZJDY54VM.js → chunk-COGKLKKE.js} +1 -1
- package/browser/chunk-COQ6KERI.js +1 -0
- package/browser/{chunk-NVCUDJUL.js → chunk-CQLZHUT4.js} +1 -1
- package/browser/{chunk-LS5TMLIT.js → chunk-CVNF5DNI.js} +1 -1
- package/browser/{chunk-KKLNFVVN.js → chunk-D4FCXEV4.js} +1 -1
- package/browser/{chunk-YQUQYWX3.js → chunk-D7DUI5NF.js} +1 -1
- package/browser/{chunk-KYAKLZR7.js → chunk-DC3TCY6D.js} +1 -1
- package/browser/chunk-DDDIGOYS.js +1 -0
- package/browser/{chunk-EHJXCRPX.js → chunk-DGOPOWKY.js} +1 -1
- package/browser/{chunk-62V34GYI.js → chunk-DIUGPBCL.js} +1 -1
- package/browser/chunk-DOCQN2VL.js +1 -0
- package/browser/chunk-DOMOJ5PC.js +1 -0
- package/browser/{chunk-H7XFYY6V.js → chunk-DTVCBHPA.js} +1 -1
- package/browser/chunk-DTX2BFBV.js +1 -0
- package/browser/{chunk-RNLSEEMX.js → chunk-DWZ5JTI2.js} +1 -1
- package/browser/{chunk-XEATJM6B.js → chunk-EHXF34TI.js} +1 -1
- package/browser/{chunk-L5KVMIM3.js → chunk-EKL7FI32.js} +1 -1
- package/browser/{chunk-7PN2DG6D.js → chunk-EN2Y56CS.js} +1 -1
- package/browser/{chunk-3GPGJFQV.js → chunk-ESDXMFGP.js} +1 -1
- package/browser/chunk-EYCC2FG6.js +1 -0
- package/browser/{chunk-Q2A4MYK3.js → chunk-FAED643P.js} +1 -1
- package/browser/chunk-FFVOGAIH.js +1 -0
- package/browser/{chunk-ZW5E2GIN.js → chunk-FHB5KLDR.js} +1 -1
- package/browser/chunk-FJJCLSYK.js +1 -0
- package/browser/{chunk-LAZZHDUO.js → chunk-FPRM3L6U.js} +1 -1
- package/browser/{chunk-DEGB7PBB.js → chunk-FQZELIHB.js} +1 -1
- package/browser/{chunk-L76WVZW6.js → chunk-FU2ZGMX4.js} +1 -1
- package/browser/{chunk-J7YNB6YX.js → chunk-FW4OCSXV.js} +1 -1
- package/browser/chunk-GCFRMUP7.js +1 -0
- package/browser/{chunk-IDOZYC3I.js → chunk-GDNVMJOU.js} +1 -1
- package/browser/{chunk-33ZBZA3U.js → chunk-GDYJUXUE.js} +4 -4
- package/browser/chunk-GGDW5WFA.js +1 -0
- package/browser/{chunk-3PC6CTVP.js → chunk-GTPQNPNO.js} +1 -1
- package/browser/{chunk-HNK3XQEI.js → chunk-GTS2IIAX.js} +1 -1
- package/browser/{chunk-QEOGHVXA.js → chunk-GWKBJZYT.js} +1 -1
- package/browser/chunk-H6IBM6BC.js +1 -0
- package/browser/chunk-H74MLHRV.js +1 -0
- package/browser/{chunk-YLLLGS4S.js → chunk-H7YRZLPS.js} +1 -1
- package/browser/{chunk-23PKMU5D.js → chunk-HGSF7LOB.js} +1 -1
- package/browser/chunk-HJ2XQHCX.js +1 -0
- package/browser/{chunk-MP4RQSWT.js → chunk-HJLLPMCN.js} +2 -2
- package/browser/{chunk-VAPCHGLS.js → chunk-HSIXOQO7.js} +1 -1
- package/browser/{chunk-DEOVGQZC.js → chunk-HTP4IV7P.js} +2 -2
- package/browser/{chunk-MJ2YN4R7.js → chunk-HWPSC7RE.js} +1 -1
- package/browser/chunk-I526RO6J.js +1 -0
- package/browser/chunk-IEVGW2RT.js +5 -0
- package/browser/{chunk-46GHEHUK.js → chunk-IFIH2CE2.js} +1 -1
- package/browser/chunk-IISHJIET.js +1 -0
- package/browser/chunk-IIXYONOA.js +1 -0
- package/browser/{chunk-VX5HH3BW.js → chunk-IKKPP4JS.js} +1 -1
- package/browser/chunk-IR7K45WG.js +1 -0
- package/browser/{chunk-GODXDKX5.js → chunk-IZLEZJ6U.js} +1 -1
- package/browser/{chunk-4QM23MMO.js → chunk-J6M7UWVR.js} +1 -1
- package/browser/chunk-JB7Y2263.js +1 -0
- package/browser/{chunk-C4WJKF7R.js → chunk-JBS5UYZC.js} +1 -1
- package/browser/chunk-JGNIGGKO.js +1 -0
- package/browser/{chunk-RONQFUCZ.js → chunk-JTZHHVPI.js} +1 -1
- package/browser/{chunk-BCUIYEEN.js → chunk-JXXYVM7W.js} +1 -1
- package/browser/chunk-K3M76ZUI.js +1 -0
- package/browser/{chunk-NHWTJY64.js → chunk-K6JXFK2Q.js} +1 -1
- package/browser/{chunk-X2JCAGKP.js → chunk-K7JBKE6Y.js} +1 -1
- package/browser/chunk-KB4247J2.js +1 -0
- package/browser/{chunk-4Y2FYXDF.js → chunk-KUG5VVV4.js} +1 -1
- package/browser/{chunk-UFBRV4CF.js → chunk-KVMBRL53.js} +1 -1
- package/browser/chunk-KYXB2UQI.js +1 -0
- package/browser/{chunk-VYQEM4T2.js → chunk-KZFNI67M.js} +1 -1
- package/browser/{chunk-QFON23YX.js → chunk-L6PKNRWO.js} +1 -1
- package/browser/chunk-LCQBLV3U.js +1 -0
- package/browser/chunk-LEUO5XNX.js +1 -0
- package/browser/{chunk-IDQUQBKL.js → chunk-LGINK7BD.js} +1 -1
- package/browser/chunk-LGOSIAUC.js +1 -0
- package/browser/{chunk-CBSYYTXQ.js → chunk-LNDHYAFW.js} +1 -1
- package/browser/chunk-M3DKYPGC.js +1 -0
- package/browser/{chunk-LDTRYGRE.js → chunk-M4EQZHIE.js} +1 -1
- package/browser/{chunk-4RYYICV5.js → chunk-MKYEWHKB.js} +2 -2
- package/browser/{chunk-2MQDNPCG.js → chunk-MLBTUOHX.js} +1 -1
- package/browser/{chunk-SVUUS5JD.js → chunk-MNJSQKLX.js} +1 -1
- package/browser/chunk-MZITJQAC.js +5 -0
- package/browser/chunk-NGAK7FA2.js +1 -0
- package/browser/chunk-NGNP3LMM.js +1 -0
- package/browser/chunk-NKCLCWVQ.js +1 -0
- package/browser/{chunk-2KPICU7I.js → chunk-NM3IQUNN.js} +1 -1
- package/browser/{chunk-ZHPBIWMH.js → chunk-NOYC5PIT.js} +1 -1
- package/browser/{chunk-AUBQH6JY.js → chunk-O2VVATBW.js} +1 -1
- package/browser/{chunk-CDFNRJAQ.js → chunk-O4KRGU26.js} +1 -1
- package/browser/chunk-O5FXLJXR.js +1 -0
- package/browser/chunk-OOUHVU22.js +1 -0
- package/browser/chunk-OPK7EJDW.js +1 -0
- package/browser/chunk-OS6NXQAD.js +1 -0
- package/browser/chunk-OS7TGSSO.js +1 -0
- package/browser/{chunk-RDAIK2LU.js → chunk-OXTKPDEW.js} +1 -1
- package/browser/{chunk-76RLGANX.js → chunk-OXWQ7ZZS.js} +1 -1
- package/browser/{chunk-5BH2H4V6.js → chunk-OYGBAHVX.js} +1 -1
- package/browser/{chunk-M3CGB5RK.js → chunk-PERLSN3Q.js} +4 -4
- package/browser/{chunk-KHR4NBM3.js → chunk-PHH2AA3W.js} +1 -1
- package/browser/{chunk-RAQ5KDLF.js → chunk-PJ3DTEH2.js} +1 -1
- package/browser/{chunk-C6YPXBIP.js → chunk-PPVORSJQ.js} +1 -1
- package/browser/chunk-PQ6W7KXC.js +1 -0
- package/browser/{chunk-5DQ4MJJT.js → chunk-PRVQ3NAP.js} +1 -1
- package/browser/chunk-PS7477UG.js +2 -0
- package/browser/chunk-PWNUUE44.js +1 -0
- package/browser/chunk-PWSBBWBK.js +1 -0
- package/browser/{chunk-Z6RY34PQ.js → chunk-PXDS3HXW.js} +1 -1
- package/browser/{chunk-DZ6FWYAF.js → chunk-QCBLF7NV.js} +1 -1
- package/browser/{chunk-KI4BAWII.js → chunk-QI7I46MV.js} +1 -1
- package/browser/{chunk-64RUCACD.js → chunk-QJUU75N6.js} +1 -1
- package/browser/{chunk-5SFUSWFY.js → chunk-QPAUI5EG.js} +1 -1
- package/browser/chunk-QULFOXVD.js +1 -0
- package/browser/chunk-QWGDO43C.js +1 -0
- package/browser/{chunk-XA4TVPAS.js → chunk-QZZ2NRA3.js} +1 -1
- package/browser/{chunk-CS6HBROS.js → chunk-R2GUMKAU.js} +1 -1
- package/browser/{chunk-DXBQR3VL.js → chunk-RACYAEOL.js} +1 -1
- package/browser/{chunk-W4W2KCYV.js → chunk-RESN2GAB.js} +1 -1
- package/browser/chunk-RGTVKO5F.js +1 -0
- package/browser/chunk-RRGOP2H3.js +1 -0
- package/browser/{chunk-AQQHMGYE.js → chunk-RSNEHVIM.js} +1 -1
- package/browser/chunk-RZJNCIBD.js +1 -0
- package/browser/chunk-S27D5MBU.js +1 -0
- package/browser/{chunk-6SGN7MNX.js → chunk-S7FOJJP2.js} +1 -1
- package/browser/{chunk-TGEQUV6Z.js → chunk-SIDUUVNA.js} +1 -1
- package/browser/{chunk-FIUZN6JU.js → chunk-SIQZO2WM.js} +1 -1
- package/browser/{chunk-O5SLP4JK.js → chunk-SLX34TWD.js} +1 -1
- package/browser/{chunk-S3K63CGI.js → chunk-SNXAPUVR.js} +1 -1
- package/browser/chunk-SX5HM4IO.js +1 -0
- package/browser/chunk-T4MU3R7Y.js +1 -0
- package/browser/{chunk-AFBBEIKR.js → chunk-T7XU5W5A.js} +1 -1
- package/browser/{chunk-KCOMWYKA.js → chunk-TCUCRGQD.js} +1 -1
- package/browser/{chunk-T25N3EEG.js → chunk-TEGIL5RZ.js} +1 -1
- package/browser/{chunk-7TBS7SPQ.js → chunk-THT6CY5E.js} +1 -1
- package/browser/{chunk-HD2QU6GJ.js → chunk-TSH564VU.js} +1 -1
- package/browser/{chunk-B3STLAM7.js → chunk-TXJJUZ26.js} +1 -1
- package/browser/{chunk-2B5OZGVM.js → chunk-TYE7PH3R.js} +1 -1
- package/browser/{chunk-N5SEZOII.js → chunk-U4S6SKF5.js} +1 -1
- package/browser/chunk-U5T7O36J.js +3 -0
- package/browser/{chunk-HVFAKTAO.js → chunk-UDSQQN6Z.js} +1 -1
- package/browser/{chunk-CZYGX5TM.js → chunk-UQ4DSCA2.js} +1 -1
- package/browser/{chunk-7DCWSNUN.js → chunk-URGS37DI.js} +1 -1
- package/browser/{chunk-5I5IONRY.js → chunk-USD2ALDX.js} +1 -1
- package/browser/{chunk-3N7EBSCG.js → chunk-UXA22FAJ.js} +1 -1
- package/browser/chunk-VKWSK452.js +1 -0
- package/browser/chunk-VM4K4MNV.js +1 -0
- package/browser/chunk-VR447IX7.js +1 -0
- package/browser/{chunk-ZEKZLSGA.js → chunk-VVWAYTKN.js} +1 -1
- package/browser/{chunk-PJCGIZLH.js → chunk-VVYRPW2Y.js} +1 -1
- package/browser/chunk-VXPORXGI.js +1 -0
- package/browser/{chunk-P3LNLMNH.js → chunk-VZBXT2TV.js} +1 -1
- package/browser/chunk-VZUPDSBH.js +1 -0
- package/browser/{chunk-LVC4ZU2C.js → chunk-WCPDZKHY.js} +1 -1
- package/browser/chunk-WFQIMZGL.js +1 -0
- package/browser/{chunk-O5CTER4C.js → chunk-WISF6M2S.js} +4 -4
- package/browser/{chunk-6H5P35AP.js → chunk-WKM2QOAU.js} +1 -1
- package/browser/chunk-WM2DGNWH.js +1 -0
- package/browser/{chunk-QPOOLLKY.js → chunk-WMZLH4YK.js} +1 -1
- package/browser/chunk-WUV22SZ4.js +1 -0
- package/browser/chunk-X44CHNHS.js +1 -0
- package/browser/{chunk-4KLLS7S5.js → chunk-XJZ4RRZP.js} +1 -1
- package/browser/chunk-XMWFGX7E.js +1 -0
- package/browser/{chunk-AAXXZ3RZ.js → chunk-XMZLK7EB.js} +1 -1
- package/browser/chunk-XNJ3D4E5.js +1 -0
- package/browser/chunk-XNLXCX4E.js +1 -0
- package/browser/{chunk-6GLKD66N.js → chunk-XTCEZONP.js} +1 -1
- package/browser/chunk-XY3FCZN2.js +1 -0
- package/browser/{chunk-YU4JSVLL.js → chunk-Y6V3JP4D.js} +1 -1
- package/browser/{chunk-W7CJ25G5.js → chunk-YIJJ2R62.js} +1 -1
- package/browser/chunk-Z6X5UYRZ.js +1 -0
- package/browser/{chunk-SANNYTK4.js → chunk-ZCQDZKFQ.js} +1 -1
- package/browser/{chunk-UGCO74DQ.js → chunk-ZKOARDC2.js} +1 -1
- package/browser/{chunk-DLNZDHGS.js → chunk-ZMJLTU5O.js} +1 -1
- package/browser/{chunk-A45GTZVV.js → chunk-ZTD4APMR.js} +1 -1
- package/browser/chunk-ZTU3TIGR.js +1 -0
- package/browser/{chunk-G4IW5GPY.js → chunk-ZZBF7AOW.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-NN7FZ4DK.js → main-2S7EUV47.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-22Q4GFCS.js +0 -1
- package/browser/chunk-2LOWEWI4.js +0 -1
- package/browser/chunk-2MCEIRJY.js +0 -1
- package/browser/chunk-2YJP5PQJ.js +0 -1
- package/browser/chunk-327LILIU.js +0 -1
- package/browser/chunk-37E4SNZ3.js +0 -1
- package/browser/chunk-3ALHEPKV.js +0 -1
- package/browser/chunk-3DZLNGPO.js +0 -1
- package/browser/chunk-3KSZCJ6T.js +0 -1
- package/browser/chunk-3OHHXDTW.js +0 -1
- package/browser/chunk-4F6J35GL.js +0 -1
- package/browser/chunk-4OD3JW2M.js +0 -1
- package/browser/chunk-5TKXFIDJ.js +0 -1
- package/browser/chunk-5U73W2IZ.js +0 -1
- package/browser/chunk-6F4WKG7M.js +0 -1
- package/browser/chunk-7T6YO3VY.js +0 -1
- package/browser/chunk-A4TTSCQT.js +0 -2
- package/browser/chunk-A5WQMHVO.js +0 -1
- package/browser/chunk-ABNUBGXO.js +0 -1
- package/browser/chunk-AMONIKLC.js +0 -1
- package/browser/chunk-AVTYR2I6.js +0 -1
- package/browser/chunk-BWEEC6HM.js +0 -1
- package/browser/chunk-BXOQMC5N.js +0 -1
- package/browser/chunk-CSURZQS6.js +0 -1
- package/browser/chunk-CUU2G2CM.js +0 -1
- package/browser/chunk-D2JKYGM3.js +0 -1
- package/browser/chunk-DJTAYVZN.js +0 -1
- package/browser/chunk-DPGY5YXC.js +0 -1
- package/browser/chunk-E5XIALIA.js +0 -1
- package/browser/chunk-E7ISSVA3.js +0 -1
- package/browser/chunk-EQR3RN5K.js +0 -1
- package/browser/chunk-ETLWM6MW.js +0 -1
- package/browser/chunk-EX6JLLRB.js +0 -1
- package/browser/chunk-FNH6K4S4.js +0 -1
- package/browser/chunk-FY3CQQFL.js +0 -1
- package/browser/chunk-FYMATMVS.js +0 -1
- package/browser/chunk-G2VAG4V3.js +0 -1
- package/browser/chunk-GEMHTJVB.js +0 -1
- package/browser/chunk-GHBBRGW2.js +0 -1
- package/browser/chunk-GTJDUG56.js +0 -1
- package/browser/chunk-HIQKF5X3.js +0 -1
- package/browser/chunk-HS44M5L3.js +0 -1
- package/browser/chunk-I3ABVEQL.js +0 -1
- package/browser/chunk-IMM4P55U.js +0 -1
- package/browser/chunk-IMSDBLRH.js +0 -1
- package/browser/chunk-JYZTRN6N.js +0 -5
- package/browser/chunk-LBQRCFLJ.js +0 -1
- package/browser/chunk-M4HEF65P.js +0 -1
- package/browser/chunk-MEG3XVPI.js +0 -5
- package/browser/chunk-N7SUEV3C.js +0 -1
- package/browser/chunk-NDSWUR7R.js +0 -2
- package/browser/chunk-P32JEM3L.js +0 -1
- package/browser/chunk-P6LF5RPW.js +0 -1
- package/browser/chunk-PD5SVXID.js +0 -1
- package/browser/chunk-PIZRVCBM.js +0 -1
- package/browser/chunk-PSJRHKCL.js +0 -1
- package/browser/chunk-QA67WF7E.js +0 -1
- package/browser/chunk-REBD6XHD.js +0 -1
- package/browser/chunk-RJJYGGF6.js +0 -1
- package/browser/chunk-RLQLFW36.js +0 -1
- package/browser/chunk-SEOZWGYI.js +0 -1
- package/browser/chunk-SVECNUUA.js +0 -1
- package/browser/chunk-T2ECIFZW.js +0 -1
- package/browser/chunk-T2H2XAEJ.js +0 -1
- package/browser/chunk-T2IWW7SS.js +0 -1
- package/browser/chunk-THUJIHI7.js +0 -1
- package/browser/chunk-UAIR26OK.js +0 -3
- package/browser/chunk-UHVNH2XA.js +0 -1
- package/browser/chunk-UILJOKEL.js +0 -1
- package/browser/chunk-USJ6ILEE.js +0 -1
- package/browser/chunk-UTTKPBED.js +0 -1
- package/browser/chunk-VAVKHKIO.js +0 -1
- package/browser/chunk-W3VF2RCW.js +0 -1
- package/browser/chunk-W4ZCLNTU.js +0 -1
- package/browser/chunk-WNZKCNMC.js +0 -1
- package/browser/chunk-XL7XI3DY.js +0 -1
- package/browser/chunk-YRDGEYIV.js +0 -1
- package/browser/chunk-YV6MAUKK.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ia}from"./chunk-3KSZCJ6T.js";import{b as nt,c as rt,d as aa}from"./chunk-6GLKD66N.js";import{a as ra,b as sa}from"./chunk-CBSYYTXQ.js";import{a as ta,k as na,l as st}from"./chunk-BA3BDB5Y.js";import{b as Jt}from"./chunk-C4WJKF7R.js";import{A as _e,G as Z,L as Kt,N as et,O as jt,S as tt,T as Wt,U as qt,V as at,W as Qt,Z as Gt,_ as $t,ba as Ut,da as Zt,e as Pt,f as K,g as Bt,ha as Xt,j as Xe,ka as it,la as ea,p as Je,q as me,r as Le,x as Ht,z as zt}from"./chunk-NWSIPELM.js";import{a as Ye,d as Ne,e as ue,f as Ot,g as Yt,k as Nt,t as Lt}from"./chunk-RNLSEEMX.js";import{$ as we,$a as qe,$b as Te,Ab as Ve,Bb as Ie,Ca as u,Cb as g,D as se,Db as c,E as wt,Eb as h,Fa as ke,Fb as I,Ga as Se,Gb as Vt,Ha as N,Hb as It,Ia as de,Ic as Tt,Ja as H,Mb as he,Mc as Ft,N as At,Nb as xe,Ob as f,Qb as m,Rb as pe,Sb as $,Tb as xt,Ub as x,Vb as k,Vc as F,Wb as S,Xa as l,Xc as O,Ya as p,Za as We,a as M,ab as kt,ac as T,cb as Qe,cc as Ue,cd as Rt,d as E,dc as D,eb as St,ec as R,fb as Ge,fc as U,gc as Ze,hb as w,ib as Ee,ic as Fe,jb as V,jc as Re,ka as Ke,kc as Oe,la as Y,lb as z,ma as Ae,na as Q,nb as $e,o as Ce,oa as Me,ob as Et,pa as o,sc as L,ta as y,tb as v,ua as C,va as oe,vb as le,wa as je,xa as G,xb as ce,ya as Mt}from"./chunk-JYZTRN6N.js";import{a as yt,b as Ct}from"./chunk-SNAKHGZS.js";var ot=new Q("MAT_DATE_LOCALE",{providedIn:"root",factory:ka});function ka(){return o(Tt)}var X="Method not implemented",_=class{locale;_localeChanges=new E;localeChanges=this._localeChanges;setTime(s,e,t,a){throw new Error(X)}getHours(s){throw new Error(X)}getMinutes(s){throw new Error(X)}getSeconds(s){throw new Error(X)}parseTime(s,e){throw new Error(X)}addSeconds(s,e){throw new Error(X)}getValidDateOrNull(s){return this.isDateInstance(s)&&this.isValid(s)?s:null}deserialize(s){return s==null||this.isDateInstance(s)&&this.isValid(s)?s:this.invalid()}setLocale(s){this.locale=s,this._localeChanges.next()}compareDate(s,e){return this.getYear(s)-this.getYear(e)||this.getMonth(s)-this.getMonth(e)||this.getDate(s)-this.getDate(e)}compareTime(s,e){return this.getHours(s)-this.getHours(e)||this.getMinutes(s)-this.getMinutes(e)||this.getSeconds(s)-this.getSeconds(e)}sameDate(s,e){if(s&&e){let t=this.isValid(s),a=this.isValid(e);return t&&a?!this.compareDate(s,e):t==a}return s==e}sameTime(s,e){if(s&&e){let t=this.isValid(s),a=this.isValid(e);return t&&a?!this.compareTime(s,e):t==a}return s==e}clampDate(s,e,t){return e&&this.compareDate(s,e)<0?e:t&&this.compareDate(s,t)>0?t:s}},P=new Q("mat-date-formats");var Va=["mat-calendar-body",""];function Ia(n,s){return this._trackRow(s)}var ma=(n,s)=>s.id;function xa(n,s){if(n&1&&(c(0,"tr",0)(1,"td",3),D(2),h()()),n&2){let e=m();l(),Te("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e.numCols),l(),U(" ",e.label," ")}}function Ta(n,s){if(n&1&&(c(0,"td",3),D(1),h()),n&2){let e=m(2);Te("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e._firstRowOffset),l(),U(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Fa(n,s){if(n&1){let e=he();c(0,"td",6)(1,"button",7),f("click",function(a){let i=y(e).$implicit,r=m(2);return C(r._cellClicked(i,a))})("focus",function(a){let i=y(e).$implicit,r=m(2);return C(r._emitActiveDateChange(i,a))}),c(2,"span",8),D(3),h(),I(4,"span",9),h()()}if(n&2){let e=s.$implicit,t=s.$index,a=m().$index,i=m();Te("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),v("data-mat-row",a)("data-mat-col",t),l(),T("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(a,t))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,a,t))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,a,t))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),g("ngClass",e.cssClasses)("tabindex",i._isActiveCell(a,t)?0:-1),v("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null)("aria-describedby",i._getDescribedby(e.compareValue)),l(),T("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),l(),U(" ",e.displayValue," ")}}function Ra(n,s){if(n&1&&(c(0,"tr",1),le(1,Ta,2,6,"td",4),Ve(2,Fa,5,48,"td",5,ma),h()),n&2){let e=s.$implicit,t=s.$index,a=m();l(),ce(t===0&&a._firstRowOffset?1:-1),l(),Ie(e)}}function Oa(n,s){if(n&1&&(c(0,"th",2)(1,"span",6),D(2),h(),c(3,"span",3),D(4),h()()),n&2){let e=s.$implicit;l(2),R(e.long),l(2),R(e.narrow)}}var _a=["*"];function Ya(n,s){}function Na(n,s){if(n&1){let e=he();c(0,"mat-month-view",4),Oe("activeDateChange",function(a){y(e);let i=m();return Re(i.activeDate,a)||(i.activeDate=a),C(a)}),f("_userSelection",function(a){y(e);let i=m();return C(i._dateSelected(a))})("dragStarted",function(a){y(e);let i=m();return C(i._dragStarted(a))})("dragEnded",function(a){y(e);let i=m();return C(i._dragEnded(a))}),h()}if(n&2){let e=m();Fe("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function La(n,s){if(n&1){let e=he();c(0,"mat-year-view",5),Oe("activeDateChange",function(a){y(e);let i=m();return Re(i.activeDate,a)||(i.activeDate=a),C(a)}),f("monthSelected",function(a){y(e);let i=m();return C(i._monthSelectedInYearView(a))})("selectedChange",function(a){y(e);let i=m();return C(i._goToDateInView(a,"month"))}),h()}if(n&2){let e=m();Fe("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Pa(n,s){if(n&1){let e=he();c(0,"mat-multi-year-view",6),Oe("activeDateChange",function(a){y(e);let i=m();return Re(i.activeDate,a)||(i.activeDate=a),C(a)}),f("yearSelected",function(a){y(e);let i=m();return C(i._yearSelectedInMultiYearView(a))})("selectedChange",function(a){y(e);let i=m();return C(i._goToDateInView(a,"year"))}),h()}if(n&2){let e=m();Fe("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ba(n,s){}var Ha=["button"],za=[[["","matDatepickerToggleIcon",""]]],Ka=["[matDatepickerToggleIcon]"];function ja(n,s){n&1&&(oe(),c(0,"svg",2),I(1,"path",3),h())}var Wa=[[["input","matStartDate",""]],[["input","matEndDate",""]]],qa=["input[matStartDate]","input[matEndDate]"];function Qa(n,s){n&1&&(Vt(0,"div",0),$(1),It())}var re=(()=>{class n{changes=new E;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,t){return`${e} \u2013 ${t}`}formatYearRangeLabel(e,t){return`${e} to ${t}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ga=0,be=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ga++;constructor(s,e,t,a,i={},r=s,d){this.value=s,this.displayValue=e,this.ariaLabel=t,this.enabled=a,this.cssClasses=i,this.compareValue=r,this.rawValue=d}},$a={passive:!1,capture:!0},Pe={passive:!0,capture:!0},oa={passive:!0},ae=(()=>{class n{_elementRef=o(H);_ngZone=o(We);_platform=o(Bt);_intl=o(re);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=o(G);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=o(Qe),t=o(_e);this._startDateLabelId=t.getId("mat-calendar-body-start-"),this._endDateLabelId=t.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=t.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=t.getId("mat-calendar-body-comparison-end-"),o(me).load(ta),this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement,i=[e.listen(a,"touchmove",this._touchmoveHandler,$a),e.listen(a,"mouseenter",this._enterHandler,Pe),e.listen(a,"focus",this._enterHandler,Pe),e.listen(a,"mouseleave",this._leaveHandler,Pe),e.listen(a,"blur",this._leaveHandler,Pe),e.listen(a,"mousedown",this._mousedownHandler,oa),e.listen(a,"touchstart",this._mousedownHandler,oa)];this._platform.isBrowser&&i.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=i})}_cellClicked(e,t){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_emitActiveDateChange(e,t){e.enabled&&this.activeDateChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let t=e.numCols,{rows:a,numCols:i}=this;(e.rows||t)&&(this._firstRowOffset=a&&a.length&&a[0].length?i-a[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),(t||!this._cellWidth)&&(this._cellWidth=`${100/i}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,t){let a=e*this.numCols+t;return e&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(e=!0){qe(()=>{setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return ct(e,this.startValue,this.endValue)}_isRangeEnd(e){return ht(e,this.startValue,this.endValue)}_isInRange(e){return pt(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return ct(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,a){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[t][a-1];if(!i){let r=this.rows[t-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,t,a){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[t][a+1];if(!i){let r=this.rows[t+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return ht(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return pt(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return ct(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ht(e,this.previewStart,this.previewEnd)}_isInPreview(e){return pt(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let t=da(e),a=t?this._getCellFromElement(t):null;t!==e.target&&(this._didDragSinceMouseDown=!0),lt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let t=e.target&&this._getCellFromElement(e.target);!t||!this._isInRange(t.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:t.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let t=lt(e.target);if(!t){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}t.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let a=this._getCellFromElement(t);this.dragEnded.emit({value:a?.rawValue??null,event:e})})};_touchendHandler=e=>{let t=da(e);t&&this._mouseupHandler({target:t})};_getCellFromElement(e){let t=lt(e);if(t){let a=t.getAttribute("data-mat-row"),i=t.getAttribute("data-mat-col");if(a&&i)return this.rows[parseInt(a)]?.[parseInt(i)]||null}return null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=w({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[N],attrs:Va,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(t,a){t&1&&(le(0,xa,3,6,"tr",0),Ve(1,Ra,4,1,"tr",1,Ia,!0),c(3,"span",2),D(4),h(),c(5,"span",2),D(6),h(),c(7,"span",2),D(8),h(),c(9,"span",2),D(10),h()),t&2&&(ce(a._firstRowOffset<a.labelMinRequiredCells?0:-1),l(),Ie(a.rows),l(2),g("id",a._startDateLabelId),l(),U(" ",a.startDateAccessibleName,`
|
|
1
|
+
import{a as ia}from"./chunk-VM4K4MNV.js";import{b as nt,c as rt,d as aa}from"./chunk-XTCEZONP.js";import{a as ra,b as sa}from"./chunk-LNDHYAFW.js";import{a as ta,k as na,l as st}from"./chunk-26YFRPR2.js";import{b as Jt}from"./chunk-JBS5UYZC.js";import{A as _e,G as Z,L as Kt,N as et,O as jt,S as tt,T as Wt,U as qt,V as at,W as Qt,Z as Gt,_ as $t,ba as Ut,da as Zt,e as Pt,f as K,g as Bt,ha as Xt,j as Xe,ka as it,la as ea,p as Je,q as me,r as Le,x as Ht,z as zt}from"./chunk-7P3L3ODB.js";import{a as Ye,d as Ne,e as ue,f as Ot,g as Yt,k as Nt,t as Lt}from"./chunk-DWZ5JTI2.js";import{$ as we,$a as qe,$c as O,Ab as ce,Ca as u,D as se,Db as Ve,E as wt,Eb as Ie,Fa as ke,Fb as g,Ga as Se,Gb as c,Ha as N,Hb as h,Ia as de,Ib as I,Ja as H,Jb as Vt,Kb as It,Mc as Tt,N as At,Pb as he,Qb as xe,Qc as Ft,Sb as f,Ub as m,Vb as pe,Wb as $,Xa as l,Xb as xt,Ya as p,Yb as x,Za as We,Zb as k,Zc as F,_b as S,a as M,ab as kt,d as E,db as Qe,dc as Te,ec as T,fb as St,gb as Ge,gc as Ue,gd as Rt,hc as D,ib as w,ic as R,jb as Ee,jc as U,ka as Ke,kb as V,kc as Ze,la as Y,ma as Ae,mb as z,mc as Fe,na as Q,nc as Re,o as Ce,oa as Me,ob as $e,oc as Oe,pa as o,pb as Et,ta as y,ua as C,va as oe,wa as je,wb as v,wc as L,xa as G,ya as Mt,yb as le}from"./chunk-IEVGW2RT.js";import{a as yt,b as Ct}from"./chunk-SNAKHGZS.js";var ot=new Q("MAT_DATE_LOCALE",{providedIn:"root",factory:ka});function ka(){return o(Tt)}var X="Method not implemented",_=class{locale;_localeChanges=new E;localeChanges=this._localeChanges;setTime(s,e,t,a){throw new Error(X)}getHours(s){throw new Error(X)}getMinutes(s){throw new Error(X)}getSeconds(s){throw new Error(X)}parseTime(s,e){throw new Error(X)}addSeconds(s,e){throw new Error(X)}getValidDateOrNull(s){return this.isDateInstance(s)&&this.isValid(s)?s:null}deserialize(s){return s==null||this.isDateInstance(s)&&this.isValid(s)?s:this.invalid()}setLocale(s){this.locale=s,this._localeChanges.next()}compareDate(s,e){return this.getYear(s)-this.getYear(e)||this.getMonth(s)-this.getMonth(e)||this.getDate(s)-this.getDate(e)}compareTime(s,e){return this.getHours(s)-this.getHours(e)||this.getMinutes(s)-this.getMinutes(e)||this.getSeconds(s)-this.getSeconds(e)}sameDate(s,e){if(s&&e){let t=this.isValid(s),a=this.isValid(e);return t&&a?!this.compareDate(s,e):t==a}return s==e}sameTime(s,e){if(s&&e){let t=this.isValid(s),a=this.isValid(e);return t&&a?!this.compareTime(s,e):t==a}return s==e}clampDate(s,e,t){return e&&this.compareDate(s,e)<0?e:t&&this.compareDate(s,t)>0?t:s}},P=new Q("mat-date-formats");var Va=["mat-calendar-body",""];function Ia(n,s){return this._trackRow(s)}var ma=(n,s)=>s.id;function xa(n,s){if(n&1&&(c(0,"tr",0)(1,"td",3),D(2),h()()),n&2){let e=m();l(),Te("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e.numCols),l(),U(" ",e.label," ")}}function Ta(n,s){if(n&1&&(c(0,"td",3),D(1),h()),n&2){let e=m(2);Te("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e._firstRowOffset),l(),U(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Fa(n,s){if(n&1){let e=he();c(0,"td",6)(1,"button",7),f("click",function(a){let i=y(e).$implicit,r=m(2);return C(r._cellClicked(i,a))})("focus",function(a){let i=y(e).$implicit,r=m(2);return C(r._emitActiveDateChange(i,a))}),c(2,"span",8),D(3),h(),I(4,"span",9),h()()}if(n&2){let e=s.$implicit,t=s.$index,a=m().$index,i=m();Te("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),v("data-mat-row",a)("data-mat-col",t),l(),T("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(a,t))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,a,t))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,a,t))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),g("ngClass",e.cssClasses)("tabindex",i._isActiveCell(a,t)?0:-1),v("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null)("aria-describedby",i._getDescribedby(e.compareValue)),l(),T("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),l(),U(" ",e.displayValue," ")}}function Ra(n,s){if(n&1&&(c(0,"tr",1),le(1,Ta,2,6,"td",4),Ve(2,Fa,5,48,"td",5,ma),h()),n&2){let e=s.$implicit,t=s.$index,a=m();l(),ce(t===0&&a._firstRowOffset?1:-1),l(),Ie(e)}}function Oa(n,s){if(n&1&&(c(0,"th",2)(1,"span",6),D(2),h(),c(3,"span",3),D(4),h()()),n&2){let e=s.$implicit;l(2),R(e.long),l(2),R(e.narrow)}}var _a=["*"];function Ya(n,s){}function Na(n,s){if(n&1){let e=he();c(0,"mat-month-view",4),Oe("activeDateChange",function(a){y(e);let i=m();return Re(i.activeDate,a)||(i.activeDate=a),C(a)}),f("_userSelection",function(a){y(e);let i=m();return C(i._dateSelected(a))})("dragStarted",function(a){y(e);let i=m();return C(i._dragStarted(a))})("dragEnded",function(a){y(e);let i=m();return C(i._dragEnded(a))}),h()}if(n&2){let e=m();Fe("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function La(n,s){if(n&1){let e=he();c(0,"mat-year-view",5),Oe("activeDateChange",function(a){y(e);let i=m();return Re(i.activeDate,a)||(i.activeDate=a),C(a)}),f("monthSelected",function(a){y(e);let i=m();return C(i._monthSelectedInYearView(a))})("selectedChange",function(a){y(e);let i=m();return C(i._goToDateInView(a,"month"))}),h()}if(n&2){let e=m();Fe("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Pa(n,s){if(n&1){let e=he();c(0,"mat-multi-year-view",6),Oe("activeDateChange",function(a){y(e);let i=m();return Re(i.activeDate,a)||(i.activeDate=a),C(a)}),f("yearSelected",function(a){y(e);let i=m();return C(i._yearSelectedInMultiYearView(a))})("selectedChange",function(a){y(e);let i=m();return C(i._goToDateInView(a,"year"))}),h()}if(n&2){let e=m();Fe("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ba(n,s){}var Ha=["button"],za=[[["","matDatepickerToggleIcon",""]]],Ka=["[matDatepickerToggleIcon]"];function ja(n,s){n&1&&(oe(),c(0,"svg",2),I(1,"path",3),h())}var Wa=[[["input","matStartDate",""]],[["input","matEndDate",""]]],qa=["input[matStartDate]","input[matEndDate]"];function Qa(n,s){n&1&&(Vt(0,"div",0),$(1),It())}var re=(()=>{class n{changes=new E;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,t){return`${e} \u2013 ${t}`}formatYearRangeLabel(e,t){return`${e} to ${t}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ga=0,be=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ga++;constructor(s,e,t,a,i={},r=s,d){this.value=s,this.displayValue=e,this.ariaLabel=t,this.enabled=a,this.cssClasses=i,this.compareValue=r,this.rawValue=d}},$a={passive:!1,capture:!0},Pe={passive:!0,capture:!0},oa={passive:!0},ae=(()=>{class n{_elementRef=o(H);_ngZone=o(We);_platform=o(Bt);_intl=o(re);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=o(G);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=o(Qe),t=o(_e);this._startDateLabelId=t.getId("mat-calendar-body-start-"),this._endDateLabelId=t.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=t.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=t.getId("mat-calendar-body-comparison-end-"),o(me).load(ta),this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement,i=[e.listen(a,"touchmove",this._touchmoveHandler,$a),e.listen(a,"mouseenter",this._enterHandler,Pe),e.listen(a,"focus",this._enterHandler,Pe),e.listen(a,"mouseleave",this._leaveHandler,Pe),e.listen(a,"blur",this._leaveHandler,Pe),e.listen(a,"mousedown",this._mousedownHandler,oa),e.listen(a,"touchstart",this._mousedownHandler,oa)];this._platform.isBrowser&&i.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=i})}_cellClicked(e,t){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_emitActiveDateChange(e,t){e.enabled&&this.activeDateChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let t=e.numCols,{rows:a,numCols:i}=this;(e.rows||t)&&(this._firstRowOffset=a&&a.length&&a[0].length?i-a[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),(t||!this._cellWidth)&&(this._cellWidth=`${100/i}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,t){let a=e*this.numCols+t;return e&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(e=!0){qe(()=>{setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return ct(e,this.startValue,this.endValue)}_isRangeEnd(e){return ht(e,this.startValue,this.endValue)}_isInRange(e){return pt(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return ct(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,a){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[t][a-1];if(!i){let r=this.rows[t-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,t,a){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[t][a+1];if(!i){let r=this.rows[t+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return ht(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return pt(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return ct(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ht(e,this.previewStart,this.previewEnd)}_isInPreview(e){return pt(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let t=da(e),a=t?this._getCellFromElement(t):null;t!==e.target&&(this._didDragSinceMouseDown=!0),lt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let t=e.target&&this._getCellFromElement(e.target);!t||!this._isInRange(t.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:t.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let t=lt(e.target);if(!t){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}t.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let a=this._getCellFromElement(t);this.dragEnded.emit({value:a?.rawValue??null,event:e})})};_touchendHandler=e=>{let t=da(e);t&&this._mouseupHandler({target:t})};_getCellFromElement(e){let t=lt(e);if(t){let a=t.getAttribute("data-mat-row"),i=t.getAttribute("data-mat-col");if(a&&i)return this.rows[parseInt(a)]?.[parseInt(i)]||null}return null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=w({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[N],attrs:Va,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(t,a){t&1&&(le(0,xa,3,6,"tr",0),Ve(1,Ra,4,1,"tr",1,Ia,!0),c(3,"span",2),D(4),h(),c(5,"span",2),D(6),h(),c(7,"span",2),D(8),h(),c(9,"span",2),D(10),h()),t&2&&(ce(a._firstRowOffset<a.labelMinRequiredCells?0:-1),l(),Ie(a.rows),l(2),g("id",a._startDateLabelId),l(),U(" ",a.startDateAccessibleName,`
|
|
2
2
|
`),l(),g("id",a._endDateLabelId),l(),U(" ",a.endDateAccessibleName,`
|
|
3
3
|
`),l(),g("id",a._comparisonStartDateLabelId),l(),Ze(" ",a.comparisonDateAccessibleName," ",a.startDateAccessibleName,`
|
|
4
4
|
`),l(),g("id",a._comparisonEndDateLabelId),l(),Ze(" ",a.comparisonDateAccessibleName," ",a.endDateAccessibleName,`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as E}from"./chunk-
|
|
1
|
+
import{a as E}from"./chunk-M3DKYPGC.js";import{a as j}from"./chunk-VM4K4MNV.js";import{a as U,b as G}from"./chunk-LNDHYAFW.js";import{k as q,l as Z}from"./chunk-26YFRPR2.js";import{a as x}from"./chunk-JBS5UYZC.js";import{A as O,b,d as m,g as _,la as M,q as z}from"./chunk-7P3L3ODB.js";import{e as B,g as L,k as P,t as V}from"./chunk-DWZ5JTI2.js";import{$c as y,Ba as w,Ha as k,Ja as f,Pc as D,Qb as F,Sb as v,Za as c,cb as R,d,db as p,ec as H,ib as S,jb as u,k as I,kb as g,la as C,ma as h,na as A,pa as r,wb as T,wc as N}from"./chunk-IEVGW2RT.js";var X=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275cmp=S({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
|
|
2
2
|
`],encapsulation:2,changeDetection:0})}return s})(),J={passive:!0},K=(()=>{class s{_platform=r(_);_ngZone=r(c);_renderer=r(R).createRenderer(null,null);_styleLoader=r(z);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return I;this._styleLoader.load(X);let t=b(e),i=this._monitoredElements.get(t);if(i)return i.subject;let n=new d,o="cdk-text-field-autofilled",a=l=>{l.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(o)?(t.classList.add(o),this._ngZone.run(()=>n.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(o)&&(t.classList.remove(o),this._ngZone.run(()=>n.next({target:l.target,isAutofilled:!1})))},W=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",a,J)));return this._monitoredElements.set(t,{subject:n,unlisten:W}),n}stopMonitoring(e){let t=b(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||s)};static \u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var $=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=u({type:s});static \u0275inj=h({})}return s})();var Q=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ee=new A("MAT_INPUT_CONFIG"),Ne=(()=>{class s{_elementRef=r(f);_platform=r(_);ngControl=r(L,{optional:!0,self:!0});_autofillMonitor=r(K);_ngZone=r(c);_formField=r(Z,{optional:!0});_renderer=r(p);_uid=r(O).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=r(ee,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new d;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=m(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(B.required)??!1}set required(e){this._required=m(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&x().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=m(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>x().has(e));constructor(){let e=r(P,{optional:!0}),t=r(V,{optional:!0}),i=r(U),n=r(j,{optional:!0,self:!0}),o=this._elementRef.nativeElement,a=o.nodeName.toLowerCase();n?w(n.value)?this._signalBasedValueAccessor=n:this._inputValueAccessor=n:this._inputValueAccessor=o,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(o,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new G(i,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=o.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&D(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Q.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||s)};static \u0275dir=g({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,i){t&1&&v("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),t&2&&(F("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),T("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),H("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",y]},exportAs:["matInput"],features:[N([{provide:q,useExisting:s}]),k]})}return s})(),De=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=u({type:s});static \u0275inj=h({imports:[M,E,E,$,M]})}return s})();export{Ne as a,De as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as l}from"./chunk-EN2Y56CS.js";import{O as i}from"./chunk-TEGIL5RZ.js";import{p,s as u}from"./chunk-LGOSIAUC.js";import{la as s,oa as n,t as o}from"./chunk-IEVGW2RT.js";var c=class a{constructor(e,t){this.httpService=e;this.toastr=t}generateNumber(e,t){let r={ID:e};return this.httpService.post(t,r)}getQuickKey(e,t){return this.httpService.get(t,[{key:"ID",value:e}])}updateCourierList(e){let t={name:e};return this.httpService.post(i.UpdateCourierList,t)}getVarianByCode(e,t,r){return this.httpService.get(i.GetVariantByCode,[{key:"Code",value:e},{key:"EntityID",value:t},{key:"BarcodeSerial",value:r},{key:"Promotion",value:!0}])}getVariantBySerial(e,t){return this.httpService.get(i.GetVariantBySerial,[{key:"EntityID",value:t},{key:"Serial",value:e}])}getVariantById(e,t){return this.httpService.get(i.GetVariantByID,[{key:"ID",value:e},{key:"EntityID",value:t}])}submitTransaction(e,t){return this.httpService.post(t,e)}createNewContact(e,t){let r=[];e.Group&&r.push(e.Group);let y={contact:e,type:t,groups:r};return this.httpService.post(i.CreateContact,y)}getItemStock(e,t){return this.httpService.get(i.GetVariantStockByID,[{key:"ID",value:e},{key:"EntityID",value:t}])}clearOutlet(e){return this.httpService.get(i.getAllOutletInventory,[{key:"EntityID",value:e}]).pipe(o(t=>t.map(r=>this.plainJsonToCustomerPoItem(r))))}plainJsonToCustomerPoItem(e){let t=new l;return t.patchByVariant(e),t.TypeID=e.TypeID,t.Serial=e.Serial,t.Quantity=e.Quantity,t.TypeID==4&&(t.Quantity=this.calculateSerialQty(t.Serial)),t}calculateSerialQty(e=[]){let t=0;return e.forEach(r=>{t+=r.Quantity}),t}static \u0275fac=function(t){return new(t||a)(n(u),n(p))};static \u0275prov=s({token:a,factory:a.\u0275fac,providedIn:"root"})};export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as P}from"./chunk-NM3IQUNN.js";import{a as F}from"./chunk-A2EVMYAR.js";import{a as j}from"./chunk-P3KIIKY4.js";import{c as R}from"./chunk-2VE2WNSA.js";import{u as w,v as T,w as V}from"./chunk-26YFRPR2.js";import{e as x,f as O}from"./chunk-ZTD4APMR.js";import{p as E,s as b}from"./chunk-LGOSIAUC.js";import{Ab as C,Ca as S,Fb as d,Fd as D,Gb as m,Hb as c,Lc as y,Pb as u,Sb as f,Ub as s,Xa as U,aa as h,d as g,da as v,eb as p,ib as I,ob as M,ta as l,ua as r,yb as _}from"./chunk-IEVGW2RT.js";function H(i,e){if(i&1){let t=u();m(0,"POS-uppy",3),f("fileUploaded",function(o){l(t);let a=s(2);return r(a.assignFile(o))}),c()}if(i&2){let t=s(2);d("sampleUrl",t.sampleUrl)}}function k(i,e){if(i&1){let t=u();m(0,"POS-uppy",3),f("fileUploaded",function(o){l(t);let a=s(2);return r(a.assignFile(o))}),c()}if(i&2){let t=s(2);d("sampleUrl",t.sampleUrl)}}function N(i,e){if(i&1&&(_(0,H,1,1,"POS-uppy",2),_(1,k,1,1,"POS-uppy",2)),i&2){let t=s();C(t.uploadState()===t.uploadStateEnum.Idle||t.uploadState()===t.uploadStateEnum.Uploading?0:-1),U(),C(t.uploadState()===t.uploadStateEnum.Success||t.uploadState()===t.uploadStateEnum.Error?1:-1)}}var A=class i{constructor(e,t,n,o,a){this.data=e;this.dialogRef=t;this.toastService=n;this.httpService=o;this.convertCsv=a}useUppy=!1;fileEndpoint="";modalConfig;sampleUrl;apiUploadCsv;outletID;fileInput;destroy$=new g;fileName;loadingVal$;uploadState=S(0);uploadStateEnum=j;timeoutID;ngOnInit(){this.initModalConfig(),this.initUpload()}initModalConfig(){this.modalConfig=new w,this.modalConfig.title="Import Items",this.modalConfig.customWidth=this.data.useUppy?"610px":"484px"}initUpload(){this.data&&(this.sampleUrl=this.data.sampleUrl,this.apiUploadCsv=this.data.API,this.outletID=this.data.outletID,this.useUppy=this.data.useUppy,this.fileEndpoint=this.data.fileEndpoint)}onOk(){if(this.fileInput)if(!this.useUppy)this.convertCsv.convert(this.fileInput).pipe(v(this.destroy$),h(e=>this.httpService.post(this.apiUploadCsv,this.outletID?{EntityID:this.outletID,CartItems:e}:e))).subscribe(e=>{this.dialogRef.close(e)});else{let e=new FormData;e.append("File",this.fileInput),e.append("EntityID",this.outletID),this.httpService.postFormData(this.fileEndpoint,e).subscribe({next:t=>{t&&(this.uploadState.set(2),this.dialogRef.close(t))},error:t=>{t instanceof D&&(console.error("error",t.error.Message),this.uploadState.set(3),this.timeoutID=setTimeout(()=>{this.uploadState.set(0)},100))}})}else this.uploadState.set(0),this.toastService.warning("Please drop a CSV file.","Warning")}onClose(){this.dialogRef.close()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.timeoutID&&clearTimeout(this.timeoutID)}assignFile(e){this.uploadState.set(1),this.fileInput=e}static \u0275fac=function(t){return new(t||i)(p(O),p(x),p(E),p(b),p(F))};static \u0275cmp=I({type:i,selectors:[["POS-modal-upload"]],decls:3,vars:1,consts:[["modalContent",""],[3,"onOk","onCancel","onClose","config"],[3,"sampleUrl"],[3,"fileUploaded","sampleUrl"]],template:function(t,n){if(t&1){let o=u();m(0,"modal-material",1),f("onOk",function(){return l(o),r(n.onOk())})("onCancel",function(){return l(o),r(n.onClose())})("onClose",function(){return l(o),r(n.onClose())}),M(1,N,2,2,"ng-template",null,0,y),c()}t&2&&d("config",n.modalConfig)},dependencies:[V,T,P,R],encapsulation:2})};export{A as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Sb as h,Ya as f,Za as m,jb as y,kb as _,la as a,ma as u,na as p,pa as s,ya as l}from"./chunk-IEVGW2RT.js";var r=class{_document;_textarea;constructor(n,t){this._document=t;let e=this._textarea=this._document.createElement("textarea"),i=e.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",e.setAttribute("aria-hidden","true"),e.value=n,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){let n=this._textarea,t=!1;try{if(n){let e=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),t=this._document.execCommand("copy"),e&&e.focus()}}catch{}return t}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},C=(()=>{class o{_document=s(l);constructor(){}copy(t){let e=this.beginCopy(t),i=e.copy();return e.destroy(),i}beginCopy(t){return new r(t,this._document)}static \u0275fac=function(e){return new(e||o)};static \u0275prov=a({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),g=new p("CDK_COPY_TO_CLIPBOARD_CONFIG"),I=(()=>{class o{_clipboard=s(C);_ngZone=s(m);text="";attempts=1;copied=new f;_pending=new Set;_destroyed;_currentTimeout;constructor(){let t=s(g,{optional:!0});t&&t.attempts!=null&&(this.attempts=t.attempts)}copy(t=this.attempts){if(t>1){let e=t,i=this._clipboard.beginCopy(this.text);this._pending.add(i);let c=()=>{let d=i.copy();!d&&--e&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(c,1)):(this._currentTimeout=null,this._pending.delete(i),i.destroy(),this.copied.emit(d))};c()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}static \u0275fac=function(e){return new(e||o)};static \u0275dir=_({type:o,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,i){e&1&&h("click",function(){return i.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}})}return o})(),M=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=y({type:o});static \u0275inj=u({})}return o})();export{C as a,I as b,M as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-WUV22SZ4.js";import{E as r,Q as o,e as s,la as a}from"./chunk-IEVGW2RT.js";var l=class i{_destinationOutlet=new s(null);destinationOutlet$=this._destinationOutlet.asObservable().pipe(r(t=>n.IsNotEmpty(t)&&n.IsNotEmpty(t?.ID)),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateDestinationOutlet(t){this._destinationOutlet.next(t)}_items=new s(null);items$=this._items.asObservable().pipe(r(t=>n.IsNotEmpty(t)&&t?.length>0),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateItems(t){this._items.next(t)}resetLowOnStock(){this._destinationOutlet.next(null),this._items.next(null)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=a({token:i,factory:i.\u0275fac,providedIn:"root"})};var u=class i{outletSource=new s(null);outletSource$=this.outletSource.asObservable().pipe(r(t=>n.IsNotEmpty(t)),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateOutletID(t){this.outletSource.next(t)}items=new s(null);items$=this.items.asObservable().pipe(r(t=>n.IsNotEmpty(t)&&t?.length>0),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateItems(t){this.items.next(t)}resetOverOnStock(){this.outletSource.next(null),this.items.next(null)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=a({token:i,factory:i.\u0275fac,providedIn:"root"})};export{l as a,u as b};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{$ as Ke,$a as q,Ba as Ze,Ca as $,E as L,G as Ye,Ha as re,Ia as ge,Ja as y,Ka as Ge,La as ve,Lc as qe,M as Z,Ma as It,N as kt,Na as ye,Oa as xt,Q as Xe,Xc as D,Ya as C,Z as me,Za as p,_c as Ee,a as M,ab as se,ad as Mt,bb as N,c as K,cb as be,d as f,da as oe,e as St,ea as Dt,fa as At,fb as Q,gb as $e,hb as ae,ib as S,jb as R,la as h,lb as we,ma as b,na as w,o as pe,pa as a,ra as G,rb as le,sd as Tt,t as H,u as Rt,x as Ot,xa as E,ya as m}from"./chunk-JYZTRN6N.js";import{a as z,b as Ct}from"./chunk-SNAKHGZS.js";function Ce(n,i=0){return Pt(n)?Number(n):arguments.length===2?i:0}function Pt(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function F(n){return n instanceof y?n.nativeElement:n}var Qe;try{Qe=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qe=!1}var v=(()=>{class n{_platformId=a(It);isBrowser=this._platformId?Tt(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Qe)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ai=new w("cdk-dir-doc",{providedIn:"root",factory:Ii});function Ii(){return a(m)}var xi=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Nt(n){let i=n?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?xi.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var J=(()=>{class n{get value(){return this.valueSignal()}valueSignal=$("ltr");change=new C;constructor(){let e=a(Ai,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Nt(t||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var I=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(I||{}),Se,W;function Re(){if(W==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return W=!1,W;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)W=!0;else{let n=Element.prototype.scrollTo;n?W=!/\{\s*\[native code\]\s*\}/.test(n.toString()):W=!1}}return W}function ee(){if(typeof document!="object"||!document)return I.NORMAL;if(Se==null){let n=document.createElement("div"),i=n.style;n.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Se=I.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Se=n.scrollLeft===0?I.NEGATED:I.INVERTED),n.remove()}return Se}var B=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({})}return n})();var Mi=20,ce=(()=>{class n{_ngZone=a(p);_platform=a(v);_renderer=a(N).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new f;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Mi){return this._platform.isBrowser?new K(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(Ye(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(L(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_scrollableContainsElement(e,t){let o=F(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ti=(()=>{class n{elementRef=a(y);scrollDispatcher=a(ce);ngZone=a(p);dir=a(J,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new f;_renderer=a(be);_cleanupScroll;_elementScrolled=new f;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&ee()!=I.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),ee()==I.INVERTED?e.left=e.right:ee()==I.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;Re()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:t:e=="end"&&(e=s?t:o),s&&ee()==I.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&ee()==I.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),Pi=20,te=(()=>{class n{_platform=a(v);_listeners;_viewportSize;_change=new f;_document=a(m);constructor(){let e=a(p),t=a(N).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[t.listen("window","resize",o),t.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),s=-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,l=-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(e=Pi){return e>0?this._change.pipe(Ye(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Je=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({})}return n})(),et=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({imports:[B,Je,B,Je]})}return n})();function U(n){return Array.isArray(n)?n:[n]}function g(n){return n==null?"":typeof n=="string"?n:`${n}px`}function wo(n){return n!=null&&`${n}`!="false"}function Eo(n,i=/\s+/){let e=[];if(n!=null){let t=Array.isArray(n)?n:`${n}`.split(i);for(let o of t){let r=`${o}`.trim();r&&e.push(r)}}return e}function Oe(n,...i){return i.length?i.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var de;function Ni(){if(de==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>de=!0}))}finally{de=de||!1}return de}function Lt(n){return Ni()?n:!!n.capture}var tt;function Fi(){if(tt==null){let n=typeof document<"u"?document.head:null;tt=!!(n&&(n.createShadowRoot||n.attachShadow))}return tt}function Bt(n){if(Fi()){let i=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Vt(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function T(n){return n.composedPath?n.composedPath()[0]:n.target}function it(n){return n.buttons===0||n.detail===0}function nt(n){let i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var jt=new w("cdk-input-modality-detector-options"),zt={ignoreKeys:[18,17,224,91,16]},Ht=650,ot={passive:!0,capture:!0},Wt=(()=>{class n{_platform=a(v);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new St(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=T(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Ht||(this._modality.next(it(e)?"keyboard":"mouse"),this._mostRecentTarget=T(e))};_onTouchstart=e=>{if(nt(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=T(e)};constructor(){let e=a(p),t=a(m),o=a(jt,{optional:!0});if(this._options=z(z({},zt),o),this.modalityDetected=this._modality.pipe(me(1)),this.modalityChanged=this.modalityDetected.pipe(Xe()),this._platform.isBrowser){let r=a(N).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[r.listen(t,"keydown",this._onKeydown,ot),r.listen(t,"mousedown",this._onMousedown,ot),r.listen(t,"touchstart",this._onTouchstart,ot)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),he=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(he||{}),Ut=new w("cdk-focus-monitor-default-options"),ke=Lt({passive:!0,capture:!0}),Yt=(()=>{class n{_ngZone=a(p);_platform=a(v);_inputModalityDetector=a(Wt);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=a(m);_stopInputModalityDetector=new f;constructor(){let e=a(Ut,{optional:!0});this._detectionMode=e?.detectionMode||he.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=T(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=F(e);if(!this._platform.isBrowser||o.nodeType!==1)return pe();let r=Bt(o)||this._document,s=this._elementInfo.get(o);if(s)return t&&(s.checkChildren=!0),s.subject;let l={checkChildren:t,subject:new f,rootNode:r};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let t=F(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=F(e),s=this._document.activeElement;r===s?this._getClosestElementsInfo(r).forEach(([l,c])=>this._originChanged(l,t,c)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===he.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===he.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ht:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=T(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,ke),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,ke)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oe(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ke),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ke),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(t))return!0}return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Li=(()=>{class n{_elementRef=a(y);_focusMonitor=a(Yt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new C;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return n})();var De=new WeakMap,V=(()=>{class n{_appRef;_injector=a(E);_environmentInjector=a(G);load(e){let t=this._appRef=this._appRef||this._injector.get(le),o=De.get(t);o||(o={loaders:new Set,refs:[]},De.set(t,o),t.onDestroy(()=>{De.get(t)?.refs.forEach(r=>r.destroy()),De.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Ee(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ae=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=ae({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
1
|
+
import{$ as Ke,$a as q,$c as D,Ba as Ze,Ca as $,E as L,G as Ye,Ha as re,Ia as ge,Ja as y,Ka as Ge,La as ve,M as Z,Ma as It,N as kt,Na as ye,Oa as xt,Pc as qe,Q as Xe,Ya as C,Z as me,Za as p,a as M,ab as se,c as K,cb as N,cd as Ee,d as f,da as oe,db as be,e as St,ea as Dt,ed as Mt,fa as At,gb as Q,hb as $e,ib as ae,jb as S,kb as R,la as h,ma as b,mb as we,na as w,o as pe,pa as a,ra as G,sb as le,t as H,u as Rt,wd as Tt,x as Ot,xa as E,ya as m}from"./chunk-IEVGW2RT.js";import{a as z,b as Ct}from"./chunk-SNAKHGZS.js";function Ce(n,i=0){return Pt(n)?Number(n):arguments.length===2?i:0}function Pt(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function F(n){return n instanceof y?n.nativeElement:n}var Qe;try{Qe=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qe=!1}var v=(()=>{class n{_platformId=a(It);isBrowser=this._platformId?Tt(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Qe)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ai=new w("cdk-dir-doc",{providedIn:"root",factory:Ii});function Ii(){return a(m)}var xi=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Nt(n){let i=n?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?xi.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var J=(()=>{class n{get value(){return this.valueSignal()}valueSignal=$("ltr");change=new C;constructor(){let e=a(Ai,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Nt(t||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var I=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(I||{}),Se,W;function Re(){if(W==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return W=!1,W;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)W=!0;else{let n=Element.prototype.scrollTo;n?W=!/\{\s*\[native code\]\s*\}/.test(n.toString()):W=!1}}return W}function ee(){if(typeof document!="object"||!document)return I.NORMAL;if(Se==null){let n=document.createElement("div"),i=n.style;n.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Se=I.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Se=n.scrollLeft===0?I.NEGATED:I.INVERTED),n.remove()}return Se}var B=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({})}return n})();var Mi=20,ce=(()=>{class n{_ngZone=a(p);_platform=a(v);_renderer=a(N).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new f;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Mi){return this._platform.isBrowser?new K(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(Ye(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(L(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_scrollableContainsElement(e,t){let o=F(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ti=(()=>{class n{elementRef=a(y);scrollDispatcher=a(ce);ngZone=a(p);dir=a(J,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new f;_renderer=a(be);_cleanupScroll;_elementScrolled=new f;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&ee()!=I.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),ee()==I.INVERTED?e.left=e.right:ee()==I.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;Re()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:t:e=="end"&&(e=s?t:o),s&&ee()==I.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&ee()==I.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),Pi=20,te=(()=>{class n{_platform=a(v);_listeners;_viewportSize;_change=new f;_document=a(m);constructor(){let e=a(p),t=a(N).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[t.listen("window","resize",o),t.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),s=-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,l=-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(e=Pi){return e>0?this._change.pipe(Ye(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Je=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({})}return n})(),et=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({imports:[B,Je,B,Je]})}return n})();function U(n){return Array.isArray(n)?n:[n]}function g(n){return n==null?"":typeof n=="string"?n:`${n}px`}function wo(n){return n!=null&&`${n}`!="false"}function Eo(n,i=/\s+/){let e=[];if(n!=null){let t=Array.isArray(n)?n:`${n}`.split(i);for(let o of t){let r=`${o}`.trim();r&&e.push(r)}}return e}function Oe(n,...i){return i.length?i.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var de;function Ni(){if(de==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>de=!0}))}finally{de=de||!1}return de}function Lt(n){return Ni()?n:!!n.capture}var tt;function Fi(){if(tt==null){let n=typeof document<"u"?document.head:null;tt=!!(n&&(n.createShadowRoot||n.attachShadow))}return tt}function Bt(n){if(Fi()){let i=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Vt(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function T(n){return n.composedPath?n.composedPath()[0]:n.target}function it(n){return n.buttons===0||n.detail===0}function nt(n){let i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var jt=new w("cdk-input-modality-detector-options"),zt={ignoreKeys:[18,17,224,91,16]},Ht=650,ot={passive:!0,capture:!0},Wt=(()=>{class n{_platform=a(v);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new St(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=T(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Ht||(this._modality.next(it(e)?"keyboard":"mouse"),this._mostRecentTarget=T(e))};_onTouchstart=e=>{if(nt(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=T(e)};constructor(){let e=a(p),t=a(m),o=a(jt,{optional:!0});if(this._options=z(z({},zt),o),this.modalityDetected=this._modality.pipe(me(1)),this.modalityChanged=this.modalityDetected.pipe(Xe()),this._platform.isBrowser){let r=a(N).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[r.listen(t,"keydown",this._onKeydown,ot),r.listen(t,"mousedown",this._onMousedown,ot),r.listen(t,"touchstart",this._onTouchstart,ot)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),he=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(he||{}),Ut=new w("cdk-focus-monitor-default-options"),ke=Lt({passive:!0,capture:!0}),Yt=(()=>{class n{_ngZone=a(p);_platform=a(v);_inputModalityDetector=a(Wt);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=a(m);_stopInputModalityDetector=new f;constructor(){let e=a(Ut,{optional:!0});this._detectionMode=e?.detectionMode||he.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=T(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=F(e);if(!this._platform.isBrowser||o.nodeType!==1)return pe();let r=Bt(o)||this._document,s=this._elementInfo.get(o);if(s)return t&&(s.checkChildren=!0),s.subject;let l={checkChildren:t,subject:new f,rootNode:r};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let t=F(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=F(e),s=this._document.activeElement;r===s?this._getClosestElementsInfo(r).forEach(([l,c])=>this._originChanged(l,t,c)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===he.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===he.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ht:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=T(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,ke),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,ke)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oe(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ke),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ke),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(t))return!0}return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Li=(()=>{class n{_elementRef=a(y);_focusMonitor=a(Yt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new C;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return n})();var De=new WeakMap,V=(()=>{class n{_appRef;_injector=a(E);_environmentInjector=a(G);load(e){let t=this._appRef=this._appRef||this._injector.get(le),o=De.get(t);o||(o={loaders:new Set,refs:[]},De.set(t,o),t.onDestroy(()=>{De.get(t)?.refs.forEach(r=>r.destroy()),De.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Ee(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ae=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=ae({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
2
2
|
`],encapsulation:2,changeDetection:0})}return n})();var Xt=new Set,Y,Ie=(()=>{class n{_platform=a(v);_nonce=a(xt,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Vi}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Bi(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Bi(n,i){if(!Xt.has(n))try{Y||(Y=document.createElement("style"),i&&Y.setAttribute("nonce",i),Y.setAttribute("type","text/css"),document.head.appendChild(Y)),Y.sheet&&(Y.sheet.insertRule(`@media ${n} {body{ }}`,0),Xt.add(n))}catch(e){console.error(e)}}function Vi(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var rt=(()=>{class n{_mediaMatcher=a(Ie);_zone=a(p);_queries=new Map;_destroySubject=new f;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Kt(U(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Kt(U(e)).map(s=>this._registerQuery(s).observable),r=Rt(o);return r=Ot(r.pipe(kt(1)),r.pipe(me(1),Z(0))),r.pipe(H(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new K(s=>{let l=c=>this._zone.run(()=>s.next(c));return t.addListener(l),()=>{t.removeListener(l)}}).pipe(Ke(t),H(({matches:s})=>({query:e,matches:s})),oe(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Kt(n){return n.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function ji(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let i=0;i<n.addedNodes.length;i++)if(!(n.addedNodes[i]instanceof Comment))return!1;for(let i=0;i<n.removedNodes.length;i++)if(!(n.removedNodes[i]instanceof Comment))return!1;return!0}return!1}var Zt=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Gt=(()=>{class n{_mutationObserverFactory=a(Zt);_observedElements=new Map;_ngZone=a(p);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=F(e);return new K(o=>{let s=this._observeElement(t).pipe(H(l=>l.filter(c=>!ji(c))),L(l=>!!l.length)).subscribe(l=>{this._ngZone.run(()=>{o.next(l)})});return()=>{s.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new f,o=this._mutationObserverFactory.create(r=>t.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:o}=this._observedElements.get(e);t&&t.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),pr=(()=>{class n{_contentObserver=a(Gt);_elementRef=a(y);event=new C;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=Ce(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Z(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",D],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return n})(),$t=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({providers:[Zt]})}return n})();var zi=(()=>{class n{_platform=a(v);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Wi(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=Hi(qi(e));if(t&&(qt(t)===-1||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=qt(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Gi(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return $i(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Hi(n){try{return n.frameElement}catch{return null}}function Wi(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Ui(n){let i=n.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function Yi(n){return Ki(n)&&n.type=="hidden"}function Xi(n){return Zi(n)&&n.hasAttribute("href")}function Ki(n){return n.nodeName.toLowerCase()=="input"}function Zi(n){return n.nodeName.toLowerCase()=="a"}function ei(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let i=n.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function qt(n){if(!ei(n))return null;let i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Gi(n){let i=n.nodeName.toLowerCase(),e=i==="input"&&n.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function $i(n){return Yi(n)?!1:Ui(n)||Xi(n)||n.hasAttribute("contenteditable")||ei(n)}function qi(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var at=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,t,o,r=!1,s){this._element=i,this._checker=e,this._ngZone=t,this._document=o,this._injector=s,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(i),!!t}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let t=0;t<e.length;t++){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[t]):null;if(o)return o}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let t=e.length-1;t>=0;t--){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?q(i,{injector:this._injector}):setTimeout(i)}},ti=(()=>{class n{_checker=a(zi);_ngZone=a(p);_document=a(m);_injector=a(E);constructor(){a(V).load(Ae)}create(e,t=!1){return new at(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Qi=(()=>{class n{_elementRef=a(y);_focusTrapFactory=a(ti);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){a(v).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Vt(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",D],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",D]},exportAs:["cdkTrapFocus"],features:[re]})}return n})(),ii=new w("liveAnnouncerElement",{providedIn:"root",factory:ni});function ni(){return null}var oi=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ji=0,en=(()=>{class n{_ngZone=a(p);_defaultOptions=a(oi,{optional:!0});_liveElement;_document=a(m);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=a(ii,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...t){let o=this._defaultOptions,r,s;return t.length===1&&typeof t[0]=="number"?s=t[0]:[r,s]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r<t.length;r++)t[r].remove();return o.classList.add(e),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${Ji++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(e){let t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<t.length;o++){let r=t[o],s=r.getAttribute("aria-owns");s?s.indexOf(e)===-1&&r.setAttribute("aria-owns",s+" "+e):r.setAttribute("aria-owns",e)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var j=(function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n})(j||{}),Qt="cdk-high-contrast-black-on-white",Jt="cdk-high-contrast-white-on-black",st="cdk-high-contrast-active",xe=(()=>{class n{_platform=a(v);_hasCheckedHighContrastMode;_document=a(m);_breakpointSubscription;constructor(){this._breakpointSubscription=a(rt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return j.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return j.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return j.BLACK_ON_WHITE}return j.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(st,Qt,Jt),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===j.BLACK_ON_WHITE?e.add(st,Qt):t===j.WHITE_ON_BLACK&&e.add(st,Jt)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),tn=(()=>{class n{constructor(){a(xe)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({imports:[$t]})}return n})();var lt={},ct=(()=>{class n{_appId=a(ve);getId(e){return this._appId!=="ng"&&(e+=this._appId),lt.hasOwnProperty(e)||(lt[e]=0),`${e}${lt[e]++}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var nn=200,Me=class{_letterKeyStream=new f;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new f;selectedItem=this._selectedItem;constructor(i,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:nn;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(At(e=>this._pressedLetters.push(e)),Z(i),L(()=>this._pressedLetters.length>0),H(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;t<this._items.length+1;t++){let o=(this._selectedItemIndex+t)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}};var ie=class{_items;_activeItemIndex=$(-1);_activeItem=$(null);_wrap=!1;_typeaheadSubscription=M.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof Ge?this._itemChangesSubscription=i.changes.subscribe(t=>this._itemsChanged(t.toArray())):Ze(i)&&(this._effectRef=qe(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new f;change=new f;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Me(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(o||Oe(i,"shiftKey"))&&this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){let e=this._getItemsArray(),t=typeof i=="number"?i:e.indexOf(i),o=e[t];this._activeItem.set(o??null),this._activeItemIndex.set(t),this._typeahead?.setCurrentSelectedItemIndex(t)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){let e=this._getItemsArray();for(let t=1;t<=e.length;t++){let o=(this._activeItemIndex()+i*t+e.length)%e.length,r=e[o];if(!this._skipPredicateFn(r)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex()+i,i)}_setActiveItemByIndex(i,e){let t=this._getItemsArray();if(t[i]){for(;this._skipPredicateFn(t[i]);)if(i+=e,!t[i])return;this.setActiveItem(i)}}_getItemsArray(){return Ze(this._items)?this._items():this._items instanceof Ge?this._items.toArray():this._items}_itemsChanged(i){this._typeahead?.setItems(i);let e=this._activeItem();if(e){let t=i.indexOf(e);t>-1&&t!==this._activeItemIndex()&&(this._activeItemIndex.set(t),this._typeahead?.setCurrentSelectedItemIndex(t))}}};var dt=class extends ie{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var ht=class extends ie{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var si=" ";function on(n,i,e){let t=Pe(n,i);e=e.trim(),!t.some(o=>o.trim()===e)&&(t.push(e),n.setAttribute(i,t.join(si)))}function rn(n,i,e){let t=Pe(n,i);e=e.trim();let o=t.filter(r=>r!==e);o.length?n.setAttribute(i,o.join(si)):n.removeAttribute(i)}function Pe(n,i){return n.getAttribute(i)?.match(/\S+/g)??[]}var ai="cdk-describedby-message",Te="cdk-describedby-host",ft=0,ds=(()=>{class n{_platform=a(v);_document=a(m);_messageRegistry=new Map;_messagesContainer=null;_id=`${ft++}`;constructor(){a(V).load(Ae),this._id=a(ve)+"-"+ft++}describe(e,t,o){if(!this._canBeDescribed(e,t))return;let r=ut(t,o);typeof t!="string"?(ri(t,this._id),this._messageRegistry.set(r,{messageElement:t,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(t,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,t,o){if(!t||!this._isElementNode(e))return;let r=ut(t,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof t=="string"){let s=this._messageRegistry.get(r);s&&s.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Te}="${this._id}"]`);for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(Te);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,t){let o=this._document.createElement("div");ri(o,this._id),o.textContent=e,t&&o.setAttribute("role",t),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(ut(e,t),{messageElement:o,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",t=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let r=0;r<t.length;r++)t[r].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(e),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(e){let t=Pe(e,"aria-describedby").filter(o=>o.indexOf(ai)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let o=this._messageRegistry.get(t);on(e,"aria-describedby",o.messageElement.id),e.setAttribute(Te,this._id),o.referenceCount++}_removeMessageReference(e,t){let o=this._messageRegistry.get(t);o.referenceCount--,rn(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Te)}_isElementDescribedByMessage(e,t){let o=Pe(e,"aria-describedby"),r=this._messageRegistry.get(t),s=r&&r.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let o=t==null?"":`${t}`.trim(),r=e.getAttribute("aria-label");return o?!r||r.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ut(n,i){return typeof n=="string"?`${i||""}/${n}`:n}function ri(n,i){n.id||(n.id=`${ai}-${i}-${ft++}`)}var ue=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},_t=class extends ue{component;viewContainerRef;injector;projectableNodes;constructor(i,e,t,o){super(),this.component=i,this.viewContainerRef=e,this.injector=t,this.projectableNodes=o}},ne=class extends ue{templateRef;viewContainerRef;context;injector;constructor(i,e,t,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},pt=class extends ue{element;constructor(i){super(),this.element=i instanceof y?i.nativeElement:i}},Ne=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof _t)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof ne)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof pt)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Fe=class extends Ne{outletElement;_appRef;_defaultInjector;constructor(i,e,t){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=t}attachComponentPortal(i){let e;if(i.viewContainerRef){let t=i.injector||i.viewContainerRef.injector,o=t.get($e,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let t=this._appRef,o=i.injector||this._defaultInjector||E.NULL,r=o.get(G,t.injector);e=Ee(i.component,{elementInjector:o,environmentInjector:r,projectableNodes:i.projectableNodes||void 0}),t.attachView(e.hostView),this.setDisposeFn(()=>{t.viewCount>0&&t.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,t=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=i,t}attachDomPortal=i=>{let e=i.element;e.parentNode;let t=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}},Cs=(()=>{class n extends ne{constructor(){let e=a(se),t=a(Q);super(e,t)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[we]})}return n})();var Ss=(()=>{class n extends Ne{_moduleRef=a($e,{optional:!0});_document=a(m);_viewContainerRef=a(Q);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new C;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(o,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[we]})}return n})();var li=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({})}return n})();function mt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ci=Re();function mi(n){return new Le(n.get(te),n.get(m))}var Le=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=g(-this._previousScrollPosition.left),i.style.top=g(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,t=i.style,o=e.style,r=t.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),ci&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ci&&(t.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};function gi(n,i){return new Be(n.get(ce),n.get(p),n.get(te),i)}var Be=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,t,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(L(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var fe=class{enable(){}disable(){}attach(){}};function gt(n,i){return i.some(e=>{let t=n.bottom<e.top,o=n.top>e.bottom,r=n.right<e.left,s=n.left>e.right;return t||o||r||s})}function di(n,i){return i.some(e=>{let t=n.top<e.top,o=n.bottom>e.bottom,r=n.left<e.left,s=n.right>e.right;return t||o||r||s})}function Ue(n,i){return new Ve(n.get(ce),n.get(te),n.get(p),i)}var Ve=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,t,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();gt(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},vi=(()=>{class n{_injector=a(E);constructor(){}noop=()=>new fe;close=e=>gi(this._injector,e);block=()=>mi(this._injector);reposition=e=>Ue(this._injector,e);static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),_e=class{positionStrategy;scrollStrategy=new fe;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let t of e)i[t]!==void 0&&(this[t]=i[t])}}};var je=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var yi=(()=>{class n{_attachedOverlays=[];_document=a(m);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bi=(()=>{class n extends yi{_ngZone=a(p);_renderer=a(N).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--)if(t[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>t[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=ge(n)))(o||n)}})();static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),wi=(()=>{class n extends yi{_platform=a(v);_ngZone=a(p);_renderer=a(N).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,o={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(t,"pointerdown",this._pointerDownListener,o),r.listen(t,"click",this._clickListener,o),r.listen(t,"auxclick",this._clickListener,o),r.listen(t,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=T(e)};_clickListener=e=>{let t=T(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let s=r.length-1;s>-1;s--){let l=r[s];if(l._outsidePointerEvents.observers.length<1||!l.hasAttached())continue;if(hi(l.overlayElement,t)||hi(l.overlayElement,o))break;let c=l._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=ge(n)))(o||n)}})();static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function hi(n,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=i;for(;t;){if(t===n)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var Ei=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=ae({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
3
3
|
`],encapsulation:2,changeDetection:0})}return n})(),Ci=(()=>{class n{_platform=a(v);_containerElement;_document=a(m);_styleLoader=a(V);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||mt()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}let t=this._document.createElement("div");t.classList.add(e),mt()?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}_loadStyles(){this._styleLoader.load(Ei)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),vt=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,e,t,o){this._renderer=e,this._ngZone=t,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},ze=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new f;_attachments=new f;_detachments=new f;_positionStrategy;_scrollStrategy;_locationChanges=M.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new f;_outsidePointerEvents=new f;_afterNextRenderRef;constructor(i,e,t,o,r,s,l,c,u,d=!1,_,P){this._portalOutlet=i,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=l,this._location=c,this._outsideClickDispatcher=u,this._animationsDisabled=d,this._injector=_,this._renderer=P,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=q(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=z(z({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Ct(z({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=g(this._config.width),i.height=g(this._config.height),i.minWidth=g(this._config.minWidth),i.minHeight=g(this._config.minHeight),i.maxWidth=g(this._config.maxWidth),i.maxHeight=g(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new vt(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,t){let o=U(e||[]).filter(r=>!!r);o.length&&(t?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=q(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},ui="cdk-overlay-connected-position-bounding-box",sn=/([A-Za-z%]+)$/;function bt(n,i){return new He(i,n.get(te),n.get(m),n.get(v),n.get(Ci))}var He=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new f;_resizeSubscription=M.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(ui),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[],s;for(let l of this._preferredPositions){let c=this._getOriginPoint(i,o,l),u=this._getOverlayPoint(c,e,l),d=this._getOverlayFit(u,e,t,l);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(l,c);return}if(this._canFitWithFlexibleDimensions(d,u,t)){r.push({position:l,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,l)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:u,originPoint:c,position:l,overlayRect:e})}if(r.length){let l=null,c=-1;for(let u of r){let d=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);d>c&&(c=d,l=u)}this._isPushed=!1,this._applyPosition(l.position,l.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&X(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ui),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,t){let o;if(t.originX=="center")o=i.left+i.width/2;else{let s=this._isRtl()?i.right:i.left,l=this._isRtl()?i.left:i.right;o=t.originX=="start"?s:l}e.left<0&&(o-=e.left);let r;return t.originY=="center"?r=i.top+i.height/2:r=t.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,t,o){let r=_i(e),{x:s,y:l}=i,c=this._getOffset(o,"x"),u=this._getOffset(o,"y");c&&(s+=c),u&&(l+=u);let d=0-s,_=s+r.width-t.width,P=0-l,A=l+r.height-t.height,k=this._subtractOverflows(r.width,d,_),x=this._subtractOverflows(r.height,P,A),Et=k*x;return{visibleArea:Et,isCompletelyWithinViewport:r.width*r.height===Et,fitsInViewportVertically:x===r.height,fitsInViewportHorizontally:k==r.width}}_canFitWithFlexibleDimensions(i,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,r=t.right-e.x,s=fi(this._overlayRef.getConfig().minHeight),l=fi(this._overlayRef.getConfig().minWidth),c=i.fitsInViewportVertically||s!=null&&s<=o,u=i.fitsInViewportHorizontally||l!=null&&l<=r;return c&&u}return!1}_pushOverlayOnScreen(i,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=_i(e),r=this._viewportRect,s=Math.max(i.x+o.width-r.width,0),l=Math.max(i.y+o.height-r.height,0),c=Math.max(r.top-t.top-i.y,0),u=Math.max(r.left-t.left-i.x,0),d=0,_=0;return o.width<=r.width?d=u||-s:d=i.x<this._viewportMargin?r.left-t.left-i.x:0,o.height<=r.height?_=c||-l:_=i.y<this._viewportMargin?r.top-t.top-i.y:0,this._previousPushAmount={x:d,y:_},{x:i.x+d,y:i.y+_}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let t=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!an(this._lastScrollVisibility,t)){let o=new je(i,t);this._positionChanges.next(o)}this._lastScrollVisibility=t}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),t,o=i.overlayY;i.overlayX==="center"?t="center":this._isRtl()?t=i.overlayX==="start"?"right":"left":t=i.overlayX==="start"?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${t} ${o}`}_calculateBoundingBoxRect(i,e){let t=this._viewportRect,o=this._isRtl(),r,s,l;if(e.overlayY==="top")s=i.y,r=t.height-s+this._viewportMargin;else if(e.overlayY==="bottom")l=t.height-i.y+this._viewportMargin*2,r=t.height-l+this._viewportMargin;else{let A=Math.min(t.bottom-i.y+t.top,i.y),k=this._lastBoundingBoxSize.height;r=A*2,s=i.y-A,r>k&&!this._isInitialRender&&!this._growAfterOpen&&(s=i.y-k/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,u=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,d,_,P;if(u)P=t.width-i.x+this._viewportMargin*2,d=i.x-this._viewportMargin;else if(c)_=i.x,d=t.right-i.x;else{let A=Math.min(t.right-i.x+t.left,i.x),k=this._lastBoundingBoxSize.width;d=A*2,_=i.x-A,d>k&&!this._isInitialRender&&!this._growAfterOpen&&(_=i.x-k/2)}return{top:s,left:_,bottom:l,right:P,width:d,height:r}}_setBoundingBoxStyles(i,e){let t=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=g(t.height),o.top=g(t.top),o.bottom=g(t.bottom),o.width=g(t.width),o.left=g(t.left),o.right=g(t.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=g(r)),s&&(o.maxWidth=g(s))}this._lastBoundingBoxSize=t,X(this._boundingBox.style,o)}_resetBoundingBoxStyles(){X(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){X(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let d=this._viewportRuler.getViewportScrollPosition();X(t,this._getExactOverlayY(e,i,d)),X(t,this._getExactOverlayX(e,i,d))}else t.position="static";let l="",c=this._getOffset(e,"x"),u=this._getOffset(e,"y");c&&(l+=`translateX(${c}px) `),u&&(l+=`translateY(${u}px)`),t.transform=l.trim(),s.maxHeight&&(o?t.maxHeight=g(s.maxHeight):r&&(t.maxHeight="")),s.maxWidth&&(o?t.maxWidth=g(s.maxWidth):r&&(t.maxWidth="")),X(this._pane.style,t)}_getExactOverlayY(i,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),i.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(r.y+this._overlayRect.height)}px`}else o.top=g(r.y);return o}_getExactOverlayX(i,e,t){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let s;if(this._isRtl()?s=i.overlayX==="end"?"left":"right":s=i.overlayX==="end"?"right":"left",s==="right"){let l=this._document.documentElement.clientWidth;o.right=`${l-(r.x+this._overlayRect.width)}px`}else o.left=g(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:di(i,t),isOriginOutsideView:gt(i,t),isOverlayClipped:di(e,t),isOverlayOutsideView:gt(e,t)}}_subtractOverflows(i,...e){return e.reduce((t,o)=>t-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+i-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&U(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof y)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,t=i.height||0;return{top:i.y,bottom:i.y+t,left:i.x,right:i.x+e,height:t,width:e}}};function X(n,i){for(let e in i)i.hasOwnProperty(e)&&(n[e]=i[e]);return n}function fi(n){if(typeof n!="number"&&n!=null){let[i,e]=n.split(sn);return!e||e==="px"?parseFloat(i):null}return n||null}function _i(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function an(n,i){return n===i?!0:n.isOriginClipped===i.isOriginClipped&&n.isOriginOutsideView===i.isOriginOutsideView&&n.isOverlayClipped===i.isOverlayClipped&&n.isOverlayOutsideView===i.isOverlayOutsideView}var ln=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],cn=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],pi="cdk-global-overlay-wrapper";function Si(n){return new We}var We=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(pi),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:l}=t,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),u=(r==="100%"||r==="100vh")&&(!l||l==="100%"||l==="100vh"),d=this._xPosition,_=this._xOffset,P=this._overlayRef.getConfig().direction==="rtl",A="",k="",x="";c?x="flex-start":d==="center"?(x="center",P?k=_:A=_):P?d==="left"||d==="end"?(x="flex-end",A=_):(d==="right"||d==="start")&&(x="flex-start",k=_):d==="left"||d==="start"?(x="flex-start",A=_):(d==="right"||d==="end")&&(x="flex-end",k=_),i.position=this._cssPosition,i.marginLeft=c?"0":A,i.marginTop=u?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=c?"0":k,e.justifyContent=x,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(pi),t.justifyContent=t.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},Ri=(()=>{class n{_injector=a(E);constructor(){}global(){return Si()}flexibleConnectedTo(e){return bt(this._injector,e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function wt(n,i){n.get(V).load(Ei);let e=n.get(Ci),t=n.get(m),o=n.get(ct),r=n.get(le),s=n.get(J),l=t.createElement("div"),c=t.createElement("div");c.id=o.getId("cdk-overlay-"),c.classList.add("cdk-overlay-pane"),l.appendChild(c),e.getContainerElement().appendChild(l);let u=new Fe(c,r,n),d=new _e(i),_=n.get(be,null,{optional:!0})||n.get(N).createRenderer(null,null);return d.direction=d.direction||s.value,new ze(u,l,c,d,n.get(p),n.get(bi),t,n.get(Mt),n.get(wi),i?.disableAnimations??n.get(ye,null,{optional:!0})==="NoopAnimations",n.get(G),_)}var Oi=(()=>{class n{scrollStrategies=a(vi);_positionBuilder=a(Ri);_injector=a(E);constructor(){}create(e){return wt(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),dn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ki=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=a(E);return()=>Ue(n)}}),yt=(()=>{class n{elementRef=a(y);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),hn=(()=>{class n{_dir=a(J,{optional:!0});_injector=a(E);_overlayRef;_templatePortal;_backdropSubscription=M.EMPTY;_attachSubscription=M.EMPTY;_detachSubscription=M.EMPTY;_positionSubscription=M.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=a(ki);_disposeOnNavigation=!1;_ngZone=a(p);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new C;positionChange=new C;attach=new C;detach=new C;overlayKeydown=new C;overlayOutsideClick=new C;constructor(){let e=a(se),t=a(Q);this._templatePortal=new ne(e,t),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=dn);let e=this._overlayRef=wt(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Oe(t)&&(t.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let o=this._getOriginElement(),r=T(t);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new _e({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=bt(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof yt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof yt?this.origin.elementRef.nativeElement:this.origin instanceof y?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Dt(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",D],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",D],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D],push:[2,"cdkConnectedOverlayPush","push",D],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[re]})}return n})();function un(n){let i=a(E);return()=>Ue(i)}var fn={provide:ki,useFactory:un},_n=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({providers:[Oi,fn],imports:[B,li,et,et]})}return n})();var _a={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var pn=new w("MATERIAL_ANIMATIONS");var Di=null;function mn(){return a(pn,{optional:!0})?.animationsDisabled||a(ye,{optional:!0})==="NoopAnimations"?"di-disabled":(Di??=a(Ie).matchMedia("(prefers-reduced-motion)").matches,Di?"reduced-motion":"enabled")}function ya(){return mn()!=="enabled"}var Ra=(()=>{class n{constructor(){a(xe)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=S({type:n});static \u0275inj=b({imports:[B,B]})}return n})();export{Ce as a,F as b,U as c,wo as d,Eo as e,Oe as f,v as g,Lt as h,Bt as i,Vt as j,T as k,it as l,nt as m,Wt as n,Yt as o,Li as p,V as q,Ae as r,rt as s,pr as t,$t as u,zi as v,ti as w,Qi as x,en as y,tn as z,ct as A,dt as B,ht as C,on as D,rn as E,ds as F,J as G,B as H,ce as I,Ti as J,te as K,Je as L,et as M,_t as N,ne as O,Ne as P,Fe as Q,Cs as R,Ss as S,li as T,mi as U,Ue as V,_e as W,Ci as X,ze as Y,bt as Z,He as _,ln as $,cn as aa,Si as ba,Ri as ca,wt as da,Oi as ea,yt as fa,hn as ga,_n as ha,_a as ia,mn as ja,ya as ka,Ra as la};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as ft,b as xt}from"./chunk-RZJNCIBD.js";import"./chunk-ZKOARDC2.js";import{a as st}from"./chunk-BQUL7SGN.js";import{a as ut}from"./chunk-5LXLK7RD.js";import{a as Ct}from"./chunk-ZMJLTU5O.js";import"./chunk-PRVQ3NAP.js";import"./chunk-BYXBJQAS.js";import{a as tt}from"./chunk-363IDTE3.js";import{d as mt,e as _t}from"./chunk-WMZLH4YK.js";import"./chunk-72RZBOHX.js";import"./chunk-3RK6DDJD.js";import"./chunk-M3DKYPGC.js";import"./chunk-6WATOQG3.js";import"./chunk-VM4K4MNV.js";import"./chunk-XTCEZONP.js";import"./chunk-LNDHYAFW.js";import{d as lt,e as ct}from"./chunk-5ZD6KTDH.js";import"./chunk-ZZBF7AOW.js";import{a as X}from"./chunk-CGOHOFH4.js";import{b as pt}from"./chunk-4W3WYXI2.js";import{f as dt}from"./chunk-XJZ4RRZP.js";import{b as $}from"./chunk-VXPORXGI.js";import"./chunk-WCPDZKHY.js";import"./chunk-URGS37DI.js";import"./chunk-L6PKNRWO.js";import"./chunk-SIQZO2WM.js";import{a as it}from"./chunk-J6M7UWVR.js";import{e as at,f as rt}from"./chunk-H7YRZLPS.js";import"./chunk-7YUPYNWQ.js";import"./chunk-2CL5FM3P.js";import"./chunk-LGINK7BD.js";import"./chunk-IKKPP4JS.js";import"./chunk-QPAUI5EG.js";import"./chunk-45E6XCHN.js";import"./chunk-SIDUUVNA.js";import"./chunk-KZFNI67M.js";import"./chunk-4BXCIT62.js";import"./chunk-D4FCXEV4.js";import"./chunk-6P2ASCNY.js";import"./chunk-2THWFHCQ.js";import{b as et}from"./chunk-NGAK7FA2.js";import"./chunk-R2GUMKAU.js";import"./chunk-BT7NN7PT.js";import"./chunk-26YFRPR2.js";import{b as Z,c as J}from"./chunk-JBS5UYZC.js";import{N as ot,g as nt}from"./chunk-TEGIL5RZ.js";import"./chunk-B7AC4RMR.js";import"./chunk-EQLHPWVB.js";import"./chunk-THT6CY5E.js";import{g as Y}from"./chunk-ZTD4APMR.js";import"./chunk-7P3L3ODB.js";import"./chunk-S7FOJJP2.js";import"./chunk-FU2ZGMX4.js";import"./chunk-2FWFPV5I.js";import"./chunk-SLX34TWD.js";import{F as K}from"./chunk-DWZ5JTI2.js";import"./chunk-OPK7EJDW.js";import"./chunk-UDSQQN6Z.js";import"./chunk-36GWLMZX.js";import{b as U}from"./chunk-WFQIMZGL.js";import"./chunk-WUV22SZ4.js";import"./chunk-BEHZM3AS.js";import{s as Q}from"./chunk-LGOSIAUC.js";import{Ab as p,Bb as W,Db as N,Eb as j,Fb as u,Fc as s,Gb as a,Gc as C,Hb as o,Hc as v,Ib as E,Jd as H,Lc as q,Pb as S,Qd as z,Sb as V,Ub as c,Xa as i,eb as h,hc as r,ib as L,ic as b,jc as f,jd as R,mb as O,mc as T,nc as g,ob as D,oc as I,sd as A,ta as x,ua as y,vd as G,wb as k,xc as F,yb as d,yc as P}from"./chunk-IEVGW2RT.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var vt=()=>["View inventory traffic using each transaction\u2019s created date. Transfer Orders always use actual dispatch and receive dates","View inventory traffic using each transaction\u2019s invoice date (including backdated). Transfer Orders always use actual dispatch and receive dates"],Tt=()=>["/menu/Outlets/Master/Outlets/Info"],B=e=>({ID:e}),gt=()=>["/menu/Products/Catalog/Variants/Info"],It=()=>["/menu/Products/Catalog/Products/Info"];function ht(e,l){if(e&1){let t=S();a(0,"button",13),V("click",function(){x(t);let n=c();return y(n.openExportModal())}),E(1,"i",14),r(2," Export "),o()}}function St(e,l){if(e&1){let t=S();a(0,"div",15)(1,"h6"),r(2,"Outlet Group"),o(),a(3,"POS-outlet-group-tree-select",16),I("selectedOutletGroupIDChange",function(n){x(t);let _=c();return g(_.pageData.Filter.OutletGroupID,n)||(_.pageData.Filter.OutletGroupID=n),y(n)}),o(),a(4,"h6"),r(5,"Category"),o(),a(6,"POS-product-category-select",17),I("selectedCategoryIDChange",function(n){x(t);let _=c();return g(_.pageData.Filter.CategoryID,n)||(_.pageData.Filter.CategoryID=n),y(n)}),o(),a(7,"h6"),r(8,"Search Type"),o(),a(9,"radio-options",18),I("modelChange",function(n){x(t);let _=c();return g(_.pageData.Filter.ProductVariantSearchMode,n)||(_.pageData.Filter.ProductVariantSearchMode=n),y(n)}),V("modelChange",function(n){x(t);let _=c();return y(_.onChangeSearchType(n))}),o(),a(10,"autocompleteV3",19),I("modelNameChange",function(n){x(t);let _=c();return g(_.productVariantModel,n)||(_.productVariantModel=n),y(n)}),o(),a(11,"h6"),r(12,"From - To"),o(),a(13,"div")(14,"datepicker",20),I("dateChange",function(n){x(t);let _=c();return g(_.pageData.Filter.From,n)||(_.pageData.Filter.From=n),y(n)}),o()(),a(15,"div",21)(16,"datepicker",22),I("dateChange",function(n){x(t);let _=c();return g(_.pageData.Filter.To,n)||(_.pageData.Filter.To=n),y(n)}),o()(),a(17,"h6"),r(18,"Inventory Type"),o(),a(19,"radio-options",23),I("modelChange",function(n){x(t);let _=c();return g(_.pageData.Filter.InventoryType,n)||(_.pageData.Filter.InventoryType=n),y(n)}),o(),a(20,"h6"),r(21,"Movement Type"),o(),a(22,"radio-options",24),I("modelChange",function(n){x(t);let _=c();return g(_.pageData.Filter.MovementType,n)||(_.pageData.Filter.MovementType=n),y(n)}),o(),a(23,"h6"),r(24,"Hide Zero Traffic"),o(),a(25,"radio-options",25),I("modelChange",function(n){x(t);let _=c();return g(_.pageData.Filter.RowOption,n)||(_.pageData.Filter.RowOption=n),y(n)}),o()()}if(e&2){let t=c();i(3),u("showClear",!0),T("selectedOutletGroupID",t.pageData.Filter.OutletGroupID),i(3),T("selectedCategoryID",t.pageData.Filter.CategoryID),u("showClear",!0),i(3),T("model",t.pageData.Filter.ProductVariantSearchMode),u("options",t.pageData.Options.ProductVariantSearchModes),i(),T("modelName",t.productVariantModel),u("placeholder",t.pageData.Filter.ProductVariantSearchMode===0?"Search Product":"Search Variant")("isShowEmptyMessage",!0)("emptyMessage",t.pageData.Filter.ProductVariantSearchMode===0?"No Product found":"No Variant found")("tooltipMessage",t.pageData.Filter.ProductVariantSearchMode===0?"Search by product name":"Search by variant name")("label",t.pageData.Filter.ProductVariantSearchMode===0?"Product to Analyze":"Variant to Analyze")("listDataEndpoint",t.pageData.Filter.ProductVariantSearchMode===0?"/api/ac/GetProductSuggestionByCodeNName":"/API/AC/GetVariantSuggestionByCodeNName")("valueField",t.pageData.Filter.ProductVariantSearchMode===0?"Name":"Value")("showThumbnail",!0)("thumbnailKey","ImageURL"),i(4),u("isFloatingLabel",!1),T("date",t.pageData.Filter.From),u("hidelClearBtn",!0),i(2),u("isFloatingLabel",!1),T("date",t.pageData.Filter.To),u("hidelClearBtn",!0),i(3),T("model",t.pageData.Filter.InventoryType),u("options",t.pageData.Options.InventoryTypes),i(3),T("model",t.pageData.Filter.MovementType),u("options",t.pageData.Options.MovementTypes)("title",F(29,vt)),i(3),T("model",t.pageData.Filter.RowOption),u("options",t.pageData.Options.RowOptions)}}function Vt(e,l){e&1&&(a(0,"th",8),r(1,"Product"),o())}function Ft(e,l){e&1&&(a(0,"th",9)(1,"span",26),r(2," P.Code "),o()())}function wt(e,l){e&1&&(a(0,"th",10),r(1,"Code"),o())}function Dt(e,l){e&1&&(a(0,"th",11)(1,"span",27),r(2," Start "),o()())}function Et(e,l){e&1&&(a(0,"th",11)(1,"span",28),r(2," Bought "),o()())}function Pt(e,l){e&1&&(a(0,"th",11)(1,"span",29),r(2," Sold "),o()())}function bt(e,l){e&1&&(a(0,"th",11)(1,"span",30),r(2," T.In "),o()())}function Bt(e,l){e&1&&(a(0,"th",11)(1,"span",31),r(2," T.Out "),o()())}function Mt(e,l){e&1&&(a(0,"th",11)(1,"span",32),r(2," Adjust "),o()())}function Lt(e,l){e&1&&(a(0,"th",11)(1,"span",33),r(2," End "),o()())}function Ot(e,l){e&1&&(a(0,"th",11)(1,"span",34),r(2," Now "),o()())}function kt(e,l){e&1&&(a(0,"th",11)(1,"span",35),r(2," % "),o()())}function Wt(e,l){if(e&1&&(a(0,"td")(1,"a",36),r(2),o()()),e&2){let t=c().$implicit;i(),u("routerLink",F(3,It))("queryParams",P(4,B,t.ProductID)),i(),f(" ",t.ProductName," ")}}function Nt(e,l){if(e&1&&(a(0,"td"),r(1),o()),e&2){let t=c().$implicit;i(),f(" ",t.ProductCode," ")}}function jt(e,l){if(e&1&&(a(0,"td",37),r(1),o()),e&2){let t=c().$implicit;i(),f(" ",t.VariantCode," ")}}function qt(e,l){if(e&1&&(a(0,"td",38),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;u("colsFontColor",t.Start),i(),f(" ",C(2,2,t.Start)," ")}}function Rt(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;i(),f(" ",C(2,1,t.Bought)," ")}}function At(e,l){if(e&1&&(a(0,"td",39),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;i(),f(" ",C(2,1,t.Sold)," ")}}function Gt(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;i(),f(" ",C(2,1,t.TransferredIn)," ")}}function Ht(e,l){if(e&1&&(a(0,"td",39),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;i(),f(" ",C(2,1,t.TransferredOut)," ")}}function zt(e,l){if(e&1&&(a(0,"td",38),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;u("colsFontColor",t.Adjustment),i(),f(" ",t.Adjustment<0?t.Adjustment*-1:C(2,2,t.Adjustment)," ")}}function Kt(e,l){if(e&1&&(a(0,"td",38),r(1),o()),e&2){let t=c().$implicit;u("colsFontColor",t.End),i(),f(" ",t.End," ")}}function Qt(e,l){if(e&1&&(a(0,"td",38),r(1),o()),e&2){let t=c().$implicit;u("colsFontColor",t.Now),i(),f(" ",t.Now," ")}}function Ut(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"quantityFraction"),o()),e&2){let t=c().$implicit;i(),f(" ",C(2,1,t.SellTransferInRate)," ")}}function Zt(e,l){if(e&1&&(a(0,"tr")(1,"td")(2,"a",36),r(3),o()(),d(4,Wt,3,6,"td"),d(5,Nt,2,1,"td"),a(6,"td")(7,"a",36),r(8),o()(),d(9,jt,2,1,"td",37),d(10,qt,3,4,"td",38),d(11,Rt,3,3,"td",37),d(12,At,3,3,"td",39),d(13,Gt,3,3,"td",37),d(14,Ht,3,3,"td",39),d(15,zt,3,4,"td",38),d(16,Kt,2,2,"td",38),d(17,Qt,2,2,"td",38),d(18,Ut,3,3,"td",37),o()),e&2){let t=l.$implicit,m=c(2);i(2),u("routerLink",F(18,Tt))("queryParams",P(19,B,t.OutletID)),i(),f(" ",t.OutletName," "),i(),p(m.column.productname.selected?4:-1),i(),p(m.column.productcode.selected?5:-1),i(2),u("routerLink",F(21,gt))("queryParams",P(22,B,t.VariantID)),i(),b(t.VariantName),i(),p(m.column.code.selected?9:-1),i(),p(m.column.start.selected?10:-1),i(),p(m.column.bought.selected?11:-1),i(),p(m.column.sold.selected?12:-1),i(),p(m.column.transferredIn.selected?13:-1),i(),p(m.column.transferredOut.selected?14:-1),i(),p(m.column.adjust.selected?15:-1),i(),p(m.column.end.selected?16:-1),i(),p(m.column.now.selected?17:-1),i(),p(m.column.percent.selected?18:-1)}}function Jt(e,l){if(e&1&&N(0,Zt,19,24,"tr",null,W),e&2){let t=c();j(t.infiniteList)}}function Xt(e,l){e&1&&(a(0,"tr")(1,"td",40),E(2,"app-empty-state"),o()())}function Yt(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"Start"))," ")}}function $t(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"Bought"))," ")}}function te(e,l){if(e&1&&(a(0,"td",39),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"Sold"))," ")}}function ee(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"TransferredIn"))," ")}}function ie(e,l){if(e&1&&(a(0,"td",39),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"TransferredOut"))," ")}}function ne(e,l){if(e&1&&(a(0,"td",38),s(1,"sum"),s(2,"quantityFraction"),r(3),s(4,"sum"),s(5,"quantityFraction"),o()),e&2){let t=c(2);u("colsFontColor",C(2,5,v(1,2,t.infiniteList,"Adjustment"))),i(3),f(" ",C(5,10,v(4,7,t.infiniteList,"Adjustment"))," ")}}function oe(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"End"))," ")}}function ae(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"sum"),s(3,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",C(3,4,v(2,1,t.infiniteList,"Now"))," ")}}function re(e,l){if(e&1&&(a(0,"td",37),r(1),s(2,"sum"),s(3,"sum"),s(4,"sum"),s(5,"quantityFraction"),o()),e&2){let t=c(2);i(),f(" ",v(2,1,t.infiniteList,"TransferredIn")?C(5,10,v(3,4,t.infiniteList,"Sold")/v(4,7,t.infiniteList,"TransferredIn")*100):0," ")}}function le(e,l){if(e&1&&(a(0,"tfoot")(1,"tr",41)(2,"th",42),r(3," Total: "),o(),d(4,Yt,4,6,"td",37),d(5,$t,4,6,"td",37),d(6,te,4,6,"td",39),d(7,ee,4,6,"td",37),d(8,ie,4,6,"td",39),d(9,ne,6,12,"td",38),d(10,oe,4,6,"td",37),d(11,ae,4,6,"td",37),d(12,re,6,12,"td",37),o()()),e&2){let t=c();i(2),k("colspan",2+(t.column.productname.selected?1:0)+(t.column.productcode.selected?1:0)+(t.column.code.selected?1:0)),i(2),p(t.column.start.selected?4:-1),i(),p(t.column.bought.selected?5:-1),i(),p(t.column.sold.selected?6:-1),i(),p(t.column.transferredIn.selected?7:-1),i(),p(t.column.transferredOut.selected?8:-1),i(),p(t.column.adjust.selected?9:-1),i(),p(t.column.end.selected?10:-1),i(),p(t.column.now.selected?11:-1),i(),p(t.column.percent.selected?12:-1)}}function ce(e,l){if(e&1){let t=S();a(0,"span",49),V("click",function(){x(t);let n=c(2);return y(n.StoreRowsCountAPIResult("inventory/GetCountVariantInventoryTraffic"))}),a(1,"i",50),r(2,"?"),o()()}}function de(e,l){if(e&1&&(a(0,"span"),r(1),s(2,"number"),o()),e&2){let t=c(2);i(),b(C(2,1,t.listTotal))}}function pe(e,l){if(e&1){let t=S();a(0,"div",12)(1,"div",43)(2,"div",44),r(3),s(4,"number"),D(5,ce,3,0,"span",45)(6,de,3,3,"span",46),r(7),o()(),a(8,"a",47),V("click",function(){x(t);let n=c();return y(n.NextPage(!0))}),E(9,"i",48),r(10," Next"),o()()}if(e&2){let t=c();i(3),f(" Showing 1 - ",C(4,4,t.infiniteList.length)," of "),i(2),u("ngIf",!t.pageData.HideStoreApiCount),i(),u("ngIf",t.pageData.HideStoreApiCount),i(),f(" records ~ ",t.pageData.Filter.PageNumber," Page ")}}var yt=class e extends X{constructor(t,m,n,_,M,w,me){super(t,m,"inventory/GetVariantInventoryTraffic","inventoryloader/GetVariantInventoryTraffic",void 0,void 0,!0);this.httpService=m;this.csvConverter=n;this.pageTitle=_;this.converter=M;this.roleService=w;this.matDialog=me;this.pageTitle.setTitle(this.menuData.T)}column={productname:{selected:!1,name:"Product"},productcode:{selected:!1,name:"Product Code"},code:{selected:!0,name:"Variant Code"},start:{selected:!0,name:"Start"},bought:{selected:!1,name:"Bought"},sold:{selected:!0,name:"Sold"},transferredIn:{selected:!0,name:"T.In"},transferredOut:{selected:!0,name:"T.Out"},adjust:{selected:!1,name:"Adjust"},end:{selected:!1,name:"End"},now:{selected:!0,name:"Now"},percent:{selected:!0,name:"Percentage"}};selectedProduct=[];postBindData(){this.menuData.H=this.data.PageTitle}openExportModal(){this.matDialog.open($,{data:{title:"Variant Inventory Traffic",exportTypes:[{ID:"inventoryexport/GetExportVariantInventoryTraffic",Value:"Default",FileName:"Variant Inventory Traffic"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!0}})}onChangeSearchType(t){this.pageData.Filter.ListProductID=[],this.pageData.Filter.ListVariantID=[]}get productVariantModel(){return this.pageData.Filter.ProductVariantSearchMode===0?this.pageData.Filter.ListProductID:this.pageData.Filter.ListVariantID}set productVariantModel(t){this.pageData.Filter.ProductVariantSearchMode===0?this.pageData.Filter.ListProductID=t:this.pageData.Filter.ListVariantID=t}static \u0275fac=function(m){return new(m||e)(h(et),h(Q),h(it),h(H),h(st),h(U),h(Y))};static \u0275cmp=L({type:e,selectors:[["POS-variant-inventory-traffic"]],features:[O],decls:33,vars:21,consts:[["pageFilterTemplate",""],[3,"onSubmit","filterChange","pageData","hideSearchBox","isFilterOnDropdown","filter","column"],["class","btn btn-outline-secondary me-3",3,"click",4,"ngIf"],[1,"container-fluid","mt-3"],[1,"table-responsive"],["id","tableGrid",1,"table","border-bottom"],[1,"thead-light","sticky-top-thead"],[2,"width","180px"],[2,"width","150px"],[2,"width","80px"],[1,"text-end",2,"width","130px"],[1,"text-end",2,"width","80px"],[1,"d-flex","justify-content-between","mt-5"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],[1,"tree-select-as-filter",3,"selectedOutletGroupIDChange","showClear","selectedOutletGroupID"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear"],["name","SearchType",3,"modelChange","model","options"],[3,"modelNameChange","modelName","placeholder","isShowEmptyMessage","emptyMessage","tooltipMessage","label","listDataEndpoint","valueField","showThumbnail","thumbnailKey"],["placeholder","From","appearance","outline","name","From",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],[1,"mt-4"],["placeholder","To","appearance","outline","name","To",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],["name","InventoryType",3,"modelChange","model","options"],["name","MovementType",3,"modelChange","model","options","title"],["name","RowOption",3,"modelChange","model","options"],["matTooltip","Product Code","matTooltipPosition","above"],["matTooltip","Stock based on start date (from date filter)","matTooltipPosition","above"],["matTooltip","Movement Stock from Inbound Logistics (Supplier Bill)","matTooltipPosition","above"],["matTooltip","Movement Stock from Outbound Logistics (Customer Invoice)","matTooltipPosition","above"],["matTooltip","Stock received from other outlets","matTooltipPosition","above"],["matTooltip","Stock sent to other outlets","matTooltipPosition","above"],["matTooltip","Total stock adjustments made","matTooltipPosition","above"],["matTooltip","Stock based on end date (to date filter)","matTooltipPosition","above"],["matTooltip","Current on-hand inventory","matTooltipPosition","above"],["matTooltip","Percentage of sold items compared to the total items received from other outlets.","matTooltipPosition","above",1,"text-end"],[3,"routerLink","queryParams"],[1,"text-end"],[1,"text-end",3,"colsFontColor"],[1,"text-end","text-danger"],["colspan","13"],[1,"table-footer"],[1,"empty-column","text-end"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],["style","cursor: pointer",3,"click",4,"ngIf"],[4,"ngIf"],["role","button",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-right"],[2,"cursor","pointer",3,"click"],["matTooltipPosition","above","matTooltip","Retrieve rows count",1,"border","p-3"]],template:function(m,n){if(m&1){let _=S();a(0,"mainpanel-cmp",1),V("onSubmit",function(){return x(_),y(n.searchFromPageOne())}),I("filterChange",function(w){return x(_),g(n.pageData.Filter,w)||(n.pageData.Filter=w),y(w)}),a(1,"actions"),D(2,ht,3,0,"button",2),o(),a(3,"filters"),D(4,St,26,30,"ng-template",null,0,q),o(),a(6,"content")(7,"div",3)(8,"div",4)(9,"table",5)(10,"thead",6)(11,"tr")(12,"th",7),r(13,"Outlet"),o(),d(14,Vt,2,0,"th",8),d(15,Ft,3,0,"th",9),a(16,"th"),r(17,"Variant"),o(),d(18,wt,2,0,"th",10),d(19,Dt,3,0,"th",11),d(20,Et,3,0,"th",11),d(21,Pt,3,0,"th",11),d(22,bt,3,0,"th",11),d(23,Bt,3,0,"th",11),d(24,Mt,3,0,"th",11),d(25,Lt,3,0,"th",11),d(26,Ot,3,0,"th",11),d(27,kt,3,0,"th",11),o()(),a(28,"tbody"),d(29,Jt,2,0)(30,Xt,3,0,"tr"),o(),d(31,le,13,10,"tfoot"),o()(),d(32,pe,11,6,"div",12),o()()()}m&2&&(u("pageData",n.menuData)("hideSearchBox",!0)("isFilterOnDropdown",!1),T("filter",n.pageData.Filter),u("column",n.column),i(2),u("ngIf",n.roleService.global.Export),i(12),p(n.column.productname.selected?14:-1),i(),p(n.column.productcode.selected?15:-1),i(3),p(n.column.code.selected?18:-1),i(),p(n.column.start.selected?19:-1),i(),p(n.column.bought.selected?20:-1),i(),p(n.column.sold.selected?21:-1),i(),p(n.column.transferredIn.selected?22:-1),i(),p(n.column.transferredOut.selected?23:-1),i(),p(n.column.adjust.selected?24:-1),i(),p(n.column.end.selected?25:-1),i(),p(n.column.now.selected?26:-1),i(),p(n.column.percent.selected?27:-1),i(2),p(n.infiniteList&&n.infiniteList.length>0?29:30),i(2),p(n.infiniteList&&n.infiniteList.length>0?31:-1),i(),p(n.infiniteList&&n.infiniteList.length>0?32:-1))},dependencies:[rt,at,G,R,K,ut,dt,ft,ot,z,_t,mt,ct,lt,Ct,pt,xt,J,Z,A,nt,tt],encapsulation:2})};export{yt as Variant_Inventory_TrafficComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as c}from"./chunk-
|
|
1
|
+
import{b as c}from"./chunk-OPK7EJDW.js";import{la as r,pa as s}from"./chunk-IEVGW2RT.js";var i=class{to;from;constructor(){this.to=new Date,this.from=new Date}};var n=class o{cookiesService=s(c);_cookiesName="PaymentDate";dateFilter={from:new Date,to:new Date};set(e){this.saveFilterToCookie(e),this.dateFilter=e}initFilterDate(e){let t;if(this.checkCookieExists())t=this.get();else{let a=e.From||new Date,m=e.To||new Date;t={from:a,to:m}}return e.From=t.from,e.To=t.to,e}get(){return this.checkCookieExists()?this.dateFilter=JSON.parse(this.cookiesService.get(this._cookiesName)):this.dateFilter=new i,this.dateFilter}checkCookieExists(){return this.cookiesService.check(this._cookiesName)}saveFilterToCookie(e){this.cookiesService.set(this._cookiesName,JSON.stringify(e),this.getExpiredDate(),"/")}clear(){this.cookiesService.delete(this._cookiesName,"/"),this.dateFilter=new i}getExpiredDate(){let e=new Date,a=1*60*60*1e3;return e.setTime(e.getTime()+a),e}static \u0275fac=function(t){return new(t||o)};static \u0275prov=r({token:o,factory:o.\u0275fac,providedIn:"root"})};export{n as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as se}from"./chunk-
|
|
1
|
+
import{b as se}from"./chunk-QPAUI5EG.js";import{a as oe,b as ft,d as bt}from"./chunk-R2GUMKAU.js";import{b as ee,c as K,d as U,e as It,h as ne,k as _,l as Tt}from"./chunk-FU2ZGMX4.js";import{B as it,J as nt,L as Pt,N as ot,b as Bt,d as Jt,la as ie,o as Xt,oa as St,pa as Z,w as te,x as Nt,xa as q}from"./chunk-SLX34TWD.js";import{c as Yt,d as Mt,f as Rt,i as Ft,j as kt,k as At}from"./chunk-LGOSIAUC.js";import{Ac as qt,Fb as h,Gb as tt,Hb as et,Ia as x,Ib as zt,Jb as Ot,Kb as Dt,Lb as Vt,Lc as mt,Mb as B,Nb as N,Ob as P,Oc as Kt,Pb as ct,Qb as Wt,Sb as dt,Tc as Lt,Ub as u,Vb as H,Wb as j,Xa as g,Xb as R,Ya as E,Yb as st,Za as yt,Zb as S,_b as I,cc as ht,dc as Qt,eb as rt,fc as $t,gc as T,ib as D,id as Ut,jb as at,jd as Ct,la as F,ma as lt,mb as V,md as Gt,na as k,nb as A,nd as wt,ob as y,pa as C,ta as J,ua as X,va as _t,vd as $,wb as vt,wc as W,wd as ut,xc as Zt,yc as Q,zc as pt}from"./chunk-IEVGW2RT.js";import{a as M,b as Et}from"./chunk-SNAKHGZS.js";var ye=["data-p-icon","search"],ui=(()=>{class e extends oe{pathId;onInit(){this.pathId="url(#"+ee()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=x(e)))(n||e)}})();static \u0275cmp=D({type:e,selectors:[["","data-p-icon","search"]],features:[V],attrs:ye,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(_t(),Ot(0,"g"),Vt(1,"path",0),Dt(),Ot(2,"defs")(3,"clipPath",1),Vt(4,"rect",2),Dt()()),i&2&&(vt("clip-path",n.pathId),g(3),Wt("id",n.pathId))},encapsulation:2})}return e})();var le=["content"],Ce=["overlay"],we=["*"],Se=(e,a,t)=>({showTransitionParams:e,hideTransitionParams:a,transform:t}),Ie=e=>({value:"visible",params:e}),Te=e=>({mode:e}),be=e=>({$implicit:e});function xe(e,a){e&1&&P(0)}function Ee(e,a){if(e&1){let t=ct();tt(0,"div",3,1),dt("click",function(n){J(t);let o=u(2);return X(o.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){J(t);let o=u(2);return X(o.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){J(t);let o=u(2);return X(o.onOverlayContentAnimationDone(n))}),j(2),y(3,xe,1,0,"ng-container",4),et()}if(e&2){let t=u(2);T(t.cn(t.cx("content"),t.contentStyleClass)),h("pBind",t.ptm("content"))("@overlayContentAnimation",Q(10,Ie,qt(6,Se,t.showTransitionOptions,t.hideTransitionOptions,t.transformOptions[t.modal?t.overlayResponsiveDirection:"default"]))),g(3),h("ngTemplateOutlet",t.contentTemplate||t._contentTemplate)("ngTemplateOutletContext",Q(14,be,Q(12,Te,t.overlayMode)))}}function ze(e,a){if(e&1){let t=ct();tt(0,"div",3,0),dt("click",function(){J(t);let n=u();return X(n.onOverlayClick())}),y(2,Ee,4,16,"div",2),et()}if(e&2){let t=u();T(t.cn(t.cx("root"),t.styleClass)),h("pBind",t.ptm("root")),g(2),h("ngIf",t.visible)}}var Oe=`
|
|
2
2
|
.p-overlay {
|
|
3
3
|
position: absolute;
|
|
4
4
|
top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-NGAK7FA2.js";import{K as o}from"./chunk-IEVGW2RT.js";var s=class extends a{constructor(t,e,r,n){super(t);this.httpService=e;this.formDataAPI=r;this.route=n;let p=this.route.snapshot.queryParams;this.menuData$.pipe(o(()=>this.httpService.post(`/api/${this.formDataAPI}`,p))).subscribe(i=>{this.data=i,this.postBindForm(i)})}data={};get formData(){return this.data.Form}set formData(t){this.data.Form=t}get options(){return this.data.Options?this.data.Options:{}}get Roles(){return this.data.Roles?this.data.Roles:{}}postBindForm(t){}onSubmit(t,e=!1){this.preSubmitForm(),this.httpService.post(`/api/${t}`,this.formData).subscribe({next:r=>{this.onSubmitSuccess(r)},error:r=>{this.onSubmitError(r)}})}compare(t,e,r){return(t<e?-1:1)*(r?1:-1)}preSubmitForm(){}onSubmitSuccess(t){}onSubmitError(t){}};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as u}from"./chunk-LGOSIAUC.js";import{d as f,la as d,oa as b}from"./chunk-IEVGW2RT.js";var v=class p{constructor(e){this.toastr=e}subject$=new f;onFileLoad(e){let s=e.target.result,o=!1,i=[],n=[],l=0;for(let a of s.split(/[\r\n]+/))if(o){let r={};for(let c=0;c<l;c++)r[n[c]]=a.split(",")[c];i.push(r)}else{for(let r=0;r<a.split(",").length;r++)l=a.split(",").length,n.push(a.split(",")[r].replace(/ /g,""));o=!0}return i.splice(-1),i}convert(e){let t=e.files,s=["csv"];if(t&&t.length){let o=e.files[0].name.split(".").pop().toLowerCase();if(s.indexOf(o)>-1){let n=t[0],l=new FileReader;return l.onload=a=>{let r=this.onFileLoad(a);this.subject$.next(r)},l.readAsText(n,"UTF-8"),this.subject$.asObservable()}else this.toastr.error("Invalid File Type","Failed")}}convertFile(e){let t=e,s=new FileReader;return s.onload=o=>{let i=this.onFileLoad(o);this.subject$.next(i)},s.readAsText(t,"UTF-8"),this.subject$.asObservable()}static \u0275fac=function(t){return new(t||p)(b(u))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};export{v as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{la as o}from"./chunk-
|
|
1
|
+
import{la as o}from"./chunk-IEVGW2RT.js";var c=class t{selectedLowOnStockData=[];constructor(){}static \u0275fac=function(e){return new(e||t)};static \u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"})};export{c as a};
|