marketplacepos 5.46.7 → 5.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/Marketplace/3rdpartylicenses.txt +80 -28
  2. package/Marketplace/chunk-2F4DTZCZ.js +2 -0
  3. package/Marketplace/chunk-2J7P6ENI.js +1 -0
  4. package/Marketplace/chunk-2USFVKEX.js +1 -0
  5. package/Marketplace/chunk-327AAICB.js +1 -0
  6. package/Marketplace/chunk-36U7D4LI.js +1 -0
  7. package/Marketplace/chunk-3JRUKSV3.js +251 -0
  8. package/Marketplace/chunk-3L7Y6LG6.js +1 -0
  9. package/Marketplace/chunk-3LTTPECO.js +1 -0
  10. package/Marketplace/chunk-3TPMCGA5.js +1 -0
  11. package/Marketplace/chunk-3WRXJBHF.js +380 -0
  12. package/Marketplace/chunk-4ILDFTIG.js +34 -0
  13. package/Marketplace/chunk-4JDI3AL5.js +1 -0
  14. package/Marketplace/chunk-4RG5YR7N.js +54 -0
  15. package/Marketplace/chunk-4RLWHMI6.js +1 -0
  16. package/Marketplace/chunk-4VNQYYVV.js +1 -0
  17. package/Marketplace/chunk-4YCSITNV.js +1 -0
  18. package/Marketplace/chunk-5BSPSA4O.js +2 -0
  19. package/Marketplace/chunk-5G3OIF3V.js +1 -0
  20. package/Marketplace/chunk-5MV3UFJQ.js +88 -0
  21. package/Marketplace/chunk-5PMKN6PM.js +151 -0
  22. package/Marketplace/{chunk-7TI3OR34.js → chunk-5X2E3W32.js} +3 -3
  23. package/Marketplace/chunk-63I3I3MX.js +5 -0
  24. package/Marketplace/chunk-64EV3KZS.js +1 -0
  25. package/Marketplace/chunk-6EORXONU.js +4 -0
  26. package/Marketplace/chunk-6KWG6O5L.js +2 -0
  27. package/Marketplace/{chunk-63ANFYRV.js → chunk-6OJQRHIZ.js} +3 -3
  28. package/Marketplace/chunk-6PW6S7MI.js +2 -0
  29. package/Marketplace/{chunk-6L7TD5DW.js → chunk-6Q6L5NUD.js} +1 -1
  30. package/Marketplace/chunk-6XDT56RT.js +2 -0
  31. package/Marketplace/chunk-6Z2CE7TK.js +1 -0
  32. package/Marketplace/chunk-6ZE3KI6C.js +2 -0
  33. package/Marketplace/chunk-7GY4O2UX.js +157 -0
  34. package/Marketplace/chunk-7JQEF4XX.js +1 -0
  35. package/Marketplace/chunk-7WHUYSBD.js +1 -0
  36. package/Marketplace/chunk-A6QXXKPR.js +1 -0
  37. package/Marketplace/chunk-A7PUMY67.js +1 -0
  38. package/Marketplace/chunk-AAUBUT4Y.js +1 -0
  39. package/Marketplace/chunk-AFCA7VVG.js +1 -0
  40. package/Marketplace/chunk-AFDI4TD4.js +104 -0
  41. package/Marketplace/chunk-AFIF6VRM.js +4 -0
  42. package/Marketplace/chunk-AGBJEXIM.js +1 -0
  43. package/Marketplace/chunk-AZOCRKXK.js +1 -0
  44. package/Marketplace/chunk-BJH4EGMC.js +2 -0
  45. package/Marketplace/chunk-BKR7YPEW.js +1 -0
  46. package/Marketplace/chunk-BXYXVBXP.js +1 -0
  47. package/Marketplace/chunk-BYTWGXP7.js +1 -0
  48. package/Marketplace/chunk-C7N6EI73.js +1 -0
  49. package/Marketplace/chunk-CG7UNGPF.js +1413 -0
  50. package/Marketplace/{chunk-RNNH3EZC.js → chunk-CM3B2UZ7.js} +1 -1
  51. package/Marketplace/chunk-CT6UFONR.js +1 -0
  52. package/Marketplace/chunk-D3VVBQYY.js +1 -0
  53. package/Marketplace/chunk-DAUML5UD.js +2 -0
  54. package/Marketplace/chunk-DHPNXR6E.js +1 -0
  55. package/Marketplace/chunk-DTAHV4GM.js +1 -0
  56. package/Marketplace/chunk-DXYMG6QK.js +2 -0
  57. package/Marketplace/chunk-E3EBAWLJ.js +1 -0
  58. package/Marketplace/chunk-E66QUDQF.js +1 -0
  59. package/Marketplace/chunk-E6AMKEQR.js +149 -0
  60. package/Marketplace/chunk-E6ZWL77N.js +1 -0
  61. package/Marketplace/chunk-EDEZ3JLR.js +4 -0
  62. package/Marketplace/chunk-EYT2YJGK.js +1 -0
  63. package/Marketplace/chunk-FCEXPGTK.js +5 -0
  64. package/Marketplace/chunk-FHER4TFY.js +1 -0
  65. package/Marketplace/chunk-FKGKMEDE.js +2 -0
  66. package/Marketplace/{chunk-HVCIQI7B.js → chunk-FULVA6QB.js} +1 -1
  67. package/Marketplace/chunk-GF6B54DH.js +5 -0
  68. package/Marketplace/chunk-GG3MDS4C.js +1 -0
  69. package/Marketplace/chunk-GPHNPV7O.js +2 -0
  70. package/Marketplace/chunk-GTIJJRTW.js +1 -0
  71. package/Marketplace/chunk-GURSK3ZV.js +1 -0
  72. package/Marketplace/chunk-HK5FXZE4.js +40 -0
  73. package/Marketplace/{chunk-W3JTS22H.js → chunk-HPINZVE4.js} +1 -1
  74. package/Marketplace/chunk-HUECAZ5I.js +1 -0
  75. package/Marketplace/chunk-I3Q5TAIL.js +1 -0
  76. package/Marketplace/chunk-I7C6W3RB.js +1 -0
  77. package/Marketplace/chunk-IGKMJFKP.js +90 -0
  78. package/Marketplace/chunk-ILW6ZFFV.js +1 -0
  79. package/Marketplace/chunk-IM5M2CAI.js +1 -0
  80. package/Marketplace/chunk-IODYBTLK.js +1 -0
  81. package/Marketplace/chunk-ISMIPSYN.js +1 -0
  82. package/Marketplace/chunk-ITGVXYDV.js +1 -0
  83. package/Marketplace/chunk-IU36PH6K.js +1 -0
  84. package/Marketplace/chunk-IWFUFVCC.js +1 -0
  85. package/Marketplace/chunk-IX6JJ6BJ.js +1 -0
  86. package/Marketplace/chunk-IYDRCUIT.js +1 -0
  87. package/Marketplace/chunk-J6CZKQ53.js +264 -0
  88. package/Marketplace/chunk-JBEKD57G.js +1 -0
  89. package/Marketplace/chunk-JKRH5WGR.js +1 -0
  90. package/Marketplace/chunk-JW7NES7L.js +1 -0
  91. package/Marketplace/chunk-KB3CRZC5.js +1 -0
  92. package/Marketplace/chunk-KJE5GRQ4.js +1 -0
  93. package/Marketplace/chunk-KVDREHOE.js +1 -0
  94. package/Marketplace/chunk-L3W6SG2T.js +1 -0
  95. package/Marketplace/chunk-L76NLJD7.js +149 -0
  96. package/Marketplace/chunk-L7WZ6U4T.js +15 -0
  97. package/Marketplace/chunk-LNJUGHOX.js +2 -0
  98. package/Marketplace/chunk-LOWGZOML.js +1 -0
  99. package/Marketplace/chunk-M2BYW5SR.js +1 -0
  100. package/Marketplace/chunk-M4ZE35XK.js +61 -0
  101. package/Marketplace/chunk-MRT6ZM2A.js +1 -0
  102. package/Marketplace/{chunk-JVNHFIYT.js → chunk-N5AE5WMQ.js} +1 -1
  103. package/Marketplace/chunk-NCKPMA6Q.js +1 -0
  104. package/Marketplace/chunk-NSBKRFO7.js +1 -0
  105. package/Marketplace/chunk-NWB7EVME.js +112 -0
  106. package/Marketplace/chunk-O2YF5VGD.js +2 -0
  107. package/Marketplace/chunk-O4EO3YBL.js +1 -0
  108. package/Marketplace/chunk-OBF4XVU7.js +1 -0
  109. package/Marketplace/chunk-OPXITNRF.js +1 -0
  110. package/Marketplace/chunk-OXWPYJNB.js +1 -0
  111. package/Marketplace/chunk-PDCVMSLL.js +1 -0
  112. package/Marketplace/chunk-PMVDQ2OP.js +1 -0
  113. package/Marketplace/{chunk-KXU32D3B.js → chunk-PUUZQ4N5.js} +1 -1
  114. package/Marketplace/chunk-Q2QX5AAJ.js +1130 -0
  115. package/Marketplace/chunk-Q4AWQ7IC.js +7 -0
  116. package/Marketplace/chunk-Q4TAOZ73.js +1 -0
  117. package/Marketplace/chunk-Q7MU7DBD.js +2 -0
  118. package/Marketplace/chunk-QFSA7CU4.js +2 -0
  119. package/Marketplace/chunk-QSBCJIQ3.js +1 -0
  120. package/Marketplace/chunk-QXRG5XYP.js +1 -0
  121. package/Marketplace/chunk-R2XT5M5F.js +3 -0
  122. package/Marketplace/chunk-RASTACH2.js +1 -0
  123. package/Marketplace/chunk-RDS3OGH2.js +1 -0
  124. package/Marketplace/chunk-RNWHARPK.js +92 -0
  125. package/Marketplace/chunk-RQQWNLDZ.js +1 -0
  126. package/Marketplace/chunk-RUBV3KX2.js +149 -0
  127. package/Marketplace/{chunk-TGMCGROM.js → chunk-RXLMJGUY.js} +3 -3
  128. package/Marketplace/chunk-RXZ43ZSY.js +1 -0
  129. package/Marketplace/chunk-S5R6MCNP.js +5 -0
  130. package/Marketplace/chunk-S7CKRTJV.js +2 -0
  131. package/Marketplace/chunk-SFZDUON5.js +2 -0
  132. package/Marketplace/chunk-SGTGXMFX.js +1 -0
  133. package/Marketplace/{chunk-QS22J2SC.js → chunk-SHUYFOQI.js} +2 -2
  134. package/Marketplace/chunk-SJ5MC42H.js +257 -0
  135. package/Marketplace/chunk-SJT5OMJM.js +1 -0
  136. package/Marketplace/chunk-STYL7ETF.js +3 -0
  137. package/Marketplace/chunk-T7HRAMHR.js +1 -0
  138. package/Marketplace/chunk-TJYYRHZZ.js +1 -0
  139. package/Marketplace/chunk-TLPRODFI.js +1 -0
  140. package/Marketplace/chunk-TOATNIRC.js +1 -0
  141. package/Marketplace/chunk-TXOZULMZ.js +1 -0
  142. package/Marketplace/chunk-TYQY4WPY.js +1 -0
  143. package/Marketplace/chunk-UH5C5HXK.js +1 -0
  144. package/Marketplace/chunk-UIZJMH4U.js +1 -0
  145. package/Marketplace/chunk-VWX2IX64.js +1 -0
  146. package/Marketplace/chunk-WFMAM73Y.js +1 -0
  147. package/Marketplace/chunk-WHHW4IZT.js +2 -0
  148. package/Marketplace/chunk-WIYPRMVW.js +266 -0
  149. package/Marketplace/chunk-WNUTNP6I.js +39 -0
  150. package/Marketplace/chunk-X5X4R6MJ.js +1 -0
  151. package/Marketplace/chunk-XBIHN6D3.js +1 -0
  152. package/Marketplace/chunk-XF2QZL6C.js +1 -0
  153. package/Marketplace/chunk-XLIPGDSC.js +2 -0
  154. package/Marketplace/chunk-XLNRT52E.js +5 -0
  155. package/Marketplace/chunk-XRLXIT7I.js +1 -0
  156. package/Marketplace/chunk-YTHY4IFS.js +1 -0
  157. package/Marketplace/chunk-ZEF5FMYQ.js +1 -0
  158. package/Marketplace/chunk-ZETUYNFJ.js +1 -0
  159. package/Marketplace/chunk-ZKIO2ZQ6.js +2 -0
  160. package/Marketplace/chunk-ZME22WYI.js +1 -0
  161. package/Marketplace/chunk-ZRTEGBXK.js +7 -0
  162. package/Marketplace/chunk-ZSUWHVKX.js +1 -0
  163. package/Marketplace/chunk-ZTHO6JJM.js +2 -0
  164. package/Marketplace/chunk-ZVTFMONF.js +15 -0
  165. package/Marketplace/chunk-ZW2TMVZP.js +10 -0
  166. package/Marketplace/chunk-ZYJ6LAJ3.js +4 -0
  167. package/Marketplace/index.html +2 -2
  168. package/Marketplace/main-T7D6R6TU.js +1 -0
  169. package/Marketplace/{polyfills-BUUDEW7V.js → polyfills-5FDKUQTZ.js} +1 -1
  170. package/Marketplace/scripts-2STIAS5P.js +5 -0
  171. package/Marketplace/styles-ANCVZJP7.css +1 -0
  172. package/package.json +1 -1
  173. package/Marketplace/chunk-25345PS7.js +0 -257
  174. package/Marketplace/chunk-2UIK6NRS.js +0 -1
  175. package/Marketplace/chunk-37MIOA6D.js +0 -1
  176. package/Marketplace/chunk-3DCFDJVG.js +0 -1
  177. package/Marketplace/chunk-3GDM5JNY.js +0 -2
  178. package/Marketplace/chunk-3X5SEOLP.js +0 -1
  179. package/Marketplace/chunk-4G7SG2H6.js +0 -1
  180. package/Marketplace/chunk-4NEKWRL7.js +0 -1
  181. package/Marketplace/chunk-4RTDKHTN.js +0 -1
  182. package/Marketplace/chunk-4VJ3SIJF.js +0 -1
  183. package/Marketplace/chunk-5CKVZBHM.js +0 -102
  184. package/Marketplace/chunk-5EIQGYTB.js +0 -1
  185. package/Marketplace/chunk-5G3N7OU5.js +0 -1
  186. package/Marketplace/chunk-5KNFEBH5.js +0 -1
  187. package/Marketplace/chunk-5PS6ZS3N.js +0 -1
  188. package/Marketplace/chunk-5QO5B7YG.js +0 -1
  189. package/Marketplace/chunk-67HPC5Y3.js +0 -2
  190. package/Marketplace/chunk-6H2KAYSB.js +0 -1088
  191. package/Marketplace/chunk-6NRH3MJL.js +0 -1
  192. package/Marketplace/chunk-6OMSPZZC.js +0 -2
  193. package/Marketplace/chunk-6QFP63YQ.js +0 -1
  194. package/Marketplace/chunk-7G6GQTSH.js +0 -33
  195. package/Marketplace/chunk-7KN3UVZI.js +0 -1
  196. package/Marketplace/chunk-7L3UKJDU.js +0 -1
  197. package/Marketplace/chunk-A6PXM4YX.js +0 -1
  198. package/Marketplace/chunk-ABYG6YZT.js +0 -2
  199. package/Marketplace/chunk-ACIMXBIC.js +0 -1
  200. package/Marketplace/chunk-AGURPBGY.js +0 -5
  201. package/Marketplace/chunk-AGZCB65X.js +0 -1
  202. package/Marketplace/chunk-BDBETNFT.js +0 -137
  203. package/Marketplace/chunk-BKRCW7SH.js +0 -79
  204. package/Marketplace/chunk-BMYBLBSP.js +0 -3
  205. package/Marketplace/chunk-BTO76EDH.js +0 -1
  206. package/Marketplace/chunk-BVDLO6WD.js +0 -1235
  207. package/Marketplace/chunk-CGOB6Y3X.js +0 -1
  208. package/Marketplace/chunk-CMBQCMTZ.js +0 -1
  209. package/Marketplace/chunk-CVM573KF.js +0 -1
  210. package/Marketplace/chunk-CWNZ6HAV.js +0 -1
  211. package/Marketplace/chunk-CYG42H2K.js +0 -1
  212. package/Marketplace/chunk-DAXM2MPK.js +0 -1
  213. package/Marketplace/chunk-DNNH5AQJ.js +0 -1
  214. package/Marketplace/chunk-DPAQQ77L.js +0 -222
  215. package/Marketplace/chunk-DXPLB6OB.js +0 -252
  216. package/Marketplace/chunk-EAA6S4WB.js +0 -1
  217. package/Marketplace/chunk-EHBCYQSG.js +0 -1
  218. package/Marketplace/chunk-EHUVS2VB.js +0 -1
  219. package/Marketplace/chunk-ERXVXBTU.js +0 -1
  220. package/Marketplace/chunk-EU2KAMEK.js +0 -1
  221. package/Marketplace/chunk-EUYQST7Q.js +0 -1
  222. package/Marketplace/chunk-EYONZQ2W.js +0 -1
  223. package/Marketplace/chunk-F2T43CJB.js +0 -51
  224. package/Marketplace/chunk-F2XHUFJC.js +0 -157
  225. package/Marketplace/chunk-F4Z47C2S.js +0 -15
  226. package/Marketplace/chunk-FJYAC47U.js +0 -2
  227. package/Marketplace/chunk-FXQKRJWU.js +0 -2
  228. package/Marketplace/chunk-GCECFUOP.js +0 -1
  229. package/Marketplace/chunk-GH5FTODR.js +0 -1
  230. package/Marketplace/chunk-GHVAGYK3.js +0 -2
  231. package/Marketplace/chunk-GJTQNOXV.js +0 -1
  232. package/Marketplace/chunk-GRYGUILI.js +0 -2
  233. package/Marketplace/chunk-GUO3DTDP.js +0 -1
  234. package/Marketplace/chunk-GZKOMS4T.js +0 -2
  235. package/Marketplace/chunk-HBVCUV6A.js +0 -7
  236. package/Marketplace/chunk-HERZ7KEM.js +0 -1
  237. package/Marketplace/chunk-HIC5QC3Y.js +0 -1
  238. package/Marketplace/chunk-HJXYT6MI.js +0 -4
  239. package/Marketplace/chunk-HZKRKNLA.js +0 -5
  240. package/Marketplace/chunk-IHSGQFDX.js +0 -2
  241. package/Marketplace/chunk-IITU3NV6.js +0 -1
  242. package/Marketplace/chunk-IQ3ER4NM.js +0 -1
  243. package/Marketplace/chunk-JAWWMIGP.js +0 -1
  244. package/Marketplace/chunk-JBT7GBCM.js +0 -5
  245. package/Marketplace/chunk-JGEU4EJT.js +0 -1
  246. package/Marketplace/chunk-JP6HRQLK.js +0 -2
  247. package/Marketplace/chunk-JZC463X6.js +0 -1
  248. package/Marketplace/chunk-K4NTJPH5.js +0 -1
  249. package/Marketplace/chunk-KS7ACI26.js +0 -10
  250. package/Marketplace/chunk-KSHWHTCH.js +0 -2
  251. package/Marketplace/chunk-KTB223SK.js +0 -1
  252. package/Marketplace/chunk-KWHVCPX2.js +0 -1
  253. package/Marketplace/chunk-LBDA5KP3.js +0 -1
  254. package/Marketplace/chunk-LBMUKJV5.js +0 -1
  255. package/Marketplace/chunk-LDL3A7NM.js +0 -1
  256. package/Marketplace/chunk-LETC4UBH.js +0 -1
  257. package/Marketplace/chunk-LVZDOEKQ.js +0 -1
  258. package/Marketplace/chunk-LW3PTNRL.js +0 -1
  259. package/Marketplace/chunk-LYCCI55Z.js +0 -1
  260. package/Marketplace/chunk-LYPHZP72.js +0 -2
  261. package/Marketplace/chunk-MAQ6FWVP.js +0 -1
  262. package/Marketplace/chunk-MFMD6ZSP.js +0 -234
  263. package/Marketplace/chunk-MFQQEEHJ.js +0 -3
  264. package/Marketplace/chunk-MO53T3IK.js +0 -1
  265. package/Marketplace/chunk-MX5SR3SR.js +0 -94
  266. package/Marketplace/chunk-MYPTLVUU.js +0 -1
  267. package/Marketplace/chunk-NAGQF4JJ.js +0 -1
  268. package/Marketplace/chunk-NCLAP5OW.js +0 -1
  269. package/Marketplace/chunk-NFGFM7TW.js +0 -1
  270. package/Marketplace/chunk-NNOI3AG4.js +0 -1
  271. package/Marketplace/chunk-NTGU2UMX.js +0 -1
  272. package/Marketplace/chunk-NX4WQMFK.js +0 -1
  273. package/Marketplace/chunk-O2YNPIYM.js +0 -5
  274. package/Marketplace/chunk-O3ADJ3YS.js +0 -1
  275. package/Marketplace/chunk-OJMQBH6T.js +0 -7
  276. package/Marketplace/chunk-OMPJUICC.js +0 -1
  277. package/Marketplace/chunk-OR6TBLPO.js +0 -33
  278. package/Marketplace/chunk-OXWPLJEW.js +0 -93
  279. package/Marketplace/chunk-OZ7LWNOK.js +0 -15
  280. package/Marketplace/chunk-PE5AFID4.js +0 -1
  281. package/Marketplace/chunk-PFY5UG5D.js +0 -4
  282. package/Marketplace/chunk-PHUHUFYL.js +0 -2
  283. package/Marketplace/chunk-PIBVGTHJ.js +0 -1
  284. package/Marketplace/chunk-PYXL7UF7.js +0 -2
  285. package/Marketplace/chunk-Q4N2QUV6.js +0 -30
  286. package/Marketplace/chunk-QOP7KZK7.js +0 -1
  287. package/Marketplace/chunk-QPLUVWFA.js +0 -158
  288. package/Marketplace/chunk-QW4EOJRM.js +0 -1
  289. package/Marketplace/chunk-QWISVEBT.js +0 -141
  290. package/Marketplace/chunk-R5KKW4LC.js +0 -1
  291. package/Marketplace/chunk-RAQRGWCZ.js +0 -2
  292. package/Marketplace/chunk-RC5PUUVM.js +0 -193
  293. package/Marketplace/chunk-RGAWEFPQ.js +0 -1
  294. package/Marketplace/chunk-RGY4FVTG.js +0 -1
  295. package/Marketplace/chunk-RHHHL4OR.js +0 -5
  296. package/Marketplace/chunk-S3FZRSRP.js +0 -1
  297. package/Marketplace/chunk-SCHKXMJN.js +0 -2
  298. package/Marketplace/chunk-T27ABFCP.js +0 -1
  299. package/Marketplace/chunk-T2OSIFLN.js +0 -78
  300. package/Marketplace/chunk-TLEH7QMI.js +0 -1
  301. package/Marketplace/chunk-TUHKMG57.js +0 -1
  302. package/Marketplace/chunk-U7WCPDIV.js +0 -1
  303. package/Marketplace/chunk-UGYIOLBR.js +0 -1
  304. package/Marketplace/chunk-UMP6ZMEJ.js +0 -1
  305. package/Marketplace/chunk-UQWB6RQP.js +0 -2
  306. package/Marketplace/chunk-V3USB3ZU.js +0 -1
  307. package/Marketplace/chunk-VFATXJRG.js +0 -1
  308. package/Marketplace/chunk-VLF5RZ3X.js +0 -1
  309. package/Marketplace/chunk-VRPKQ2HJ.js +0 -1
  310. package/Marketplace/chunk-W3DTXPRM.js +0 -1
  311. package/Marketplace/chunk-WN5DZGA4.js +0 -1
  312. package/Marketplace/chunk-WRJFUNM3.js +0 -1
  313. package/Marketplace/chunk-WUKVYBD3.js +0 -1
  314. package/Marketplace/chunk-XHAXYWZ7.js +0 -1
  315. package/Marketplace/chunk-XONEJSCE.js +0 -1
  316. package/Marketplace/chunk-XPCRS7AL.js +0 -1
  317. package/Marketplace/chunk-XXT6F2ZS.js +0 -5
  318. package/Marketplace/chunk-YERZ6W22.js +0 -1
  319. package/Marketplace/chunk-YFDFIBAG.js +0 -1
  320. package/Marketplace/chunk-YHT4EYQJ.js +0 -397
  321. package/Marketplace/chunk-YQLOB7IQ.js +0 -70
  322. package/Marketplace/chunk-YTCIQBSO.js +0 -2
  323. package/Marketplace/chunk-YU2SDRUC.js +0 -1
  324. package/Marketplace/chunk-Z3ITXK3D.js +0 -1
  325. package/Marketplace/chunk-ZHPHANAW.js +0 -3
  326. package/Marketplace/main-HRVNLZTX.js +0 -1
  327. package/Marketplace/scripts-BTEOQWVQ.js +0 -5
  328. package/Marketplace/styles-EW2SXTVD.css +0 -1
  329. /package/Marketplace/{chunk-SDUUFQUI.js → chunk-D2J64VUP.js} +0 -0
@@ -0,0 +1,257 @@
1
+ import{a as rt,b as dt,c as mt,d as ft}from"./chunk-AFDI4TD4.js";import{b as gt}from"./chunk-4RG5YR7N.js";import{a as ht}from"./chunk-5MV3UFJQ.js";import{a as ct,b as xe}from"./chunk-E6AMKEQR.js";import{b as _t}from"./chunk-IGKMJFKP.js";import{a as ot,c as st,d as pt,e as ut}from"./chunk-ITGVXYDV.js";import{b as at}from"./chunk-KJE5GRQ4.js";import{a as lt}from"./chunk-M4ZE35XK.js";import{a as tt,c as it,e as nt}from"./chunk-L7WZ6U4T.js";import{b as Ge,c as Je,d as Xe,e as Y,f as et}from"./chunk-LOWGZOML.js";import{D as Ke,R as Ne,T as P,U as H,V as q,X as U,aa as Qe,ca as $e,ja as qe,ma as Ue,oa as je,pa as We,qa as Ye,ra as Ze,sa as j,ta as W,u as ne,v as D,x as Re,y as ze}from"./chunk-5PMKN6PM.js";import{A as ye,a as He,h as ge,m as be}from"./chunk-L3W6SG2T.js";import{c as Ae,e as De,f as _e,g as Pe,h as he,m as fe}from"./chunk-LNJUGHOX.js";import{$b as X,$c as F,Ac as I,Bc as k,Cc as m,Dc as _,Fd as b,Gb as re,Gd as G,Ha as B,Hb as we,Hc as N,Ic as de,Kb as ce,Kc as te,Lb as Ve,Lc as g,Mb as p,Mc as E,Nc as R,Oa as se,Oc as ie,Qc as ke,Rc as Ee,Sc as Fe,Zb as T,Zc as ue,_c as me,ad as Q,bc as ee,bd as Le,gc as a,hc as u,ic as h,jc as A,kd as M,la as Se,ma as Te,na as Ce,nb as c,nc as v,oc as S,od as z,pa as ae,pc as w,pd as Be,qc as V,ra as L,sb as O,tb as Oe,td as $,vc as C,xa as y,xc as r,ya as x,yc as Me,za as K,zb as J,zc as pe}from"./chunk-ZYJ6LAJ3.js";import{a as Ie,b as ve}from"./chunk-66YHNWRR.js";var bt=`
2
+ .p-multiselect {
3
+ display: inline-flex;
4
+ cursor: pointer;
5
+ position: relative;
6
+ user-select: none;
7
+ background: dt('multiselect.background');
8
+ border: 1px solid dt('multiselect.border.color');
9
+ transition:
10
+ background dt('multiselect.transition.duration'),
11
+ color dt('multiselect.transition.duration'),
12
+ border-color dt('multiselect.transition.duration'),
13
+ outline-color dt('multiselect.transition.duration'),
14
+ box-shadow dt('multiselect.transition.duration');
15
+ border-radius: dt('multiselect.border.radius');
16
+ outline-color: transparent;
17
+ box-shadow: dt('multiselect.shadow');
18
+ }
19
+
20
+ .p-multiselect:not(.p-disabled):hover {
21
+ border-color: dt('multiselect.hover.border.color');
22
+ }
23
+
24
+ .p-multiselect:not(.p-disabled).p-focus {
25
+ border-color: dt('multiselect.focus.border.color');
26
+ box-shadow: dt('multiselect.focus.ring.shadow');
27
+ outline: dt('multiselect.focus.ring.width') dt('multiselect.focus.ring.style') dt('multiselect.focus.ring.color');
28
+ outline-offset: dt('multiselect.focus.ring.offset');
29
+ }
30
+
31
+ .p-multiselect.p-variant-filled {
32
+ background: dt('multiselect.filled.background');
33
+ }
34
+
35
+ .p-multiselect.p-variant-filled:not(.p-disabled):hover {
36
+ background: dt('multiselect.filled.hover.background');
37
+ }
38
+
39
+ .p-multiselect.p-variant-filled.p-focus {
40
+ background: dt('multiselect.filled.focus.background');
41
+ }
42
+
43
+ .p-multiselect.p-invalid {
44
+ border-color: dt('multiselect.invalid.border.color');
45
+ }
46
+
47
+ .p-multiselect.p-disabled {
48
+ opacity: 1;
49
+ background: dt('multiselect.disabled.background');
50
+ }
51
+
52
+ .p-multiselect-dropdown {
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ flex-shrink: 0;
57
+ background: transparent;
58
+ color: dt('multiselect.dropdown.color');
59
+ width: dt('multiselect.dropdown.width');
60
+ border-start-end-radius: dt('multiselect.border.radius');
61
+ border-end-end-radius: dt('multiselect.border.radius');
62
+ }
63
+
64
+ .p-multiselect-clear-icon {
65
+ align-self: center;
66
+ color: dt('multiselect.clear.icon.color');
67
+ inset-inline-end: dt('multiselect.dropdown.width');
68
+ }
69
+
70
+ .p-multiselect-label-container {
71
+ overflow: hidden;
72
+ flex: 1 1 auto;
73
+ cursor: pointer;
74
+ }
75
+
76
+ .p-multiselect-label {
77
+ white-space: nowrap;
78
+ cursor: pointer;
79
+ overflow: hidden;
80
+ text-overflow: ellipsis;
81
+ padding: dt('multiselect.padding.y') dt('multiselect.padding.x');
82
+ color: dt('multiselect.color');
83
+ }
84
+
85
+ .p-multiselect-display-chip .p-multiselect-label {
86
+ display: flex;
87
+ align-items: center;
88
+ gap: calc(dt('multiselect.padding.y') / 2);
89
+ }
90
+
91
+ .p-multiselect-label.p-placeholder {
92
+ color: dt('multiselect.placeholder.color');
93
+ }
94
+
95
+ .p-multiselect.p-invalid .p-multiselect-label.p-placeholder {
96
+ color: dt('multiselect.invalid.placeholder.color');
97
+ }
98
+
99
+ .p-multiselect.p-disabled .p-multiselect-label {
100
+ color: dt('multiselect.disabled.color');
101
+ }
102
+
103
+ .p-multiselect-label-empty {
104
+ overflow: hidden;
105
+ visibility: hidden;
106
+ }
107
+
108
+ .p-multiselect-overlay {
109
+ position: absolute;
110
+ top: 0;
111
+ left: 0;
112
+ background: dt('multiselect.overlay.background');
113
+ color: dt('multiselect.overlay.color');
114
+ border: 1px solid dt('multiselect.overlay.border.color');
115
+ border-radius: dt('multiselect.overlay.border.radius');
116
+ box-shadow: dt('multiselect.overlay.shadow');
117
+ min-width: 100%;
118
+ }
119
+
120
+ .p-multiselect-header {
121
+ display: flex;
122
+ align-items: center;
123
+ padding: dt('multiselect.list.header.padding');
124
+ }
125
+
126
+ .p-multiselect-header .p-checkbox {
127
+ margin-inline-end: dt('multiselect.option.gap');
128
+ }
129
+
130
+ .p-multiselect-filter-container {
131
+ flex: 1 1 auto;
132
+ }
133
+
134
+ .p-multiselect-filter {
135
+ width: 100%;
136
+ }
137
+
138
+ .p-multiselect-list-container {
139
+ overflow: auto;
140
+ }
141
+
142
+ .p-multiselect-list {
143
+ margin: 0;
144
+ padding: 0;
145
+ list-style-type: none;
146
+ padding: dt('multiselect.list.padding');
147
+ display: flex;
148
+ flex-direction: column;
149
+ gap: dt('multiselect.list.gap');
150
+ }
151
+
152
+ .p-multiselect-option {
153
+ cursor: pointer;
154
+ font-weight: normal;
155
+ white-space: nowrap;
156
+ position: relative;
157
+ overflow: hidden;
158
+ display: flex;
159
+ align-items: center;
160
+ gap: dt('multiselect.option.gap');
161
+ padding: dt('multiselect.option.padding');
162
+ border: 0 none;
163
+ color: dt('multiselect.option.color');
164
+ background: transparent;
165
+ transition:
166
+ background dt('multiselect.transition.duration'),
167
+ color dt('multiselect.transition.duration'),
168
+ border-color dt('multiselect.transition.duration'),
169
+ box-shadow dt('multiselect.transition.duration'),
170
+ outline-color dt('multiselect.transition.duration');
171
+ border-radius: dt('multiselect.option.border.radius');
172
+ }
173
+
174
+ .p-multiselect-option:not(.p-multiselect-option-selected):not(.p-disabled).p-focus {
175
+ background: dt('multiselect.option.focus.background');
176
+ color: dt('multiselect.option.focus.color');
177
+ }
178
+
179
+ .p-multiselect-option.p-multiselect-option-selected {
180
+ background: dt('multiselect.option.selected.background');
181
+ color: dt('multiselect.option.selected.color');
182
+ }
183
+
184
+ .p-multiselect-option.p-multiselect-option-selected.p-focus {
185
+ background: dt('multiselect.option.selected.focus.background');
186
+ color: dt('multiselect.option.selected.focus.color');
187
+ }
188
+
189
+ .p-multiselect-option-group {
190
+ cursor: auto;
191
+ margin: 0;
192
+ padding: dt('multiselect.option.group.padding');
193
+ background: dt('multiselect.option.group.background');
194
+ color: dt('multiselect.option.group.color');
195
+ font-weight: dt('multiselect.option.group.font.weight');
196
+ }
197
+
198
+ .p-multiselect-empty-message {
199
+ padding: dt('multiselect.empty.message.padding');
200
+ }
201
+
202
+ .p-multiselect-label .p-chip {
203
+ padding-block-start: calc(dt('multiselect.padding.y') / 2);
204
+ padding-block-end: calc(dt('multiselect.padding.y') / 2);
205
+ border-radius: dt('multiselect.chip.border.radius');
206
+ }
207
+
208
+ .p-multiselect-label:has(.p-chip) {
209
+ padding: calc(dt('multiselect.padding.y') / 2) calc(dt('multiselect.padding.x') / 2);
210
+ }
211
+
212
+ .p-multiselect-fluid {
213
+ display: flex;
214
+ width: 100%;
215
+ }
216
+
217
+ .p-multiselect-sm .p-multiselect-label {
218
+ font-size: dt('multiselect.sm.font.size');
219
+ padding-block: dt('multiselect.sm.padding.y');
220
+ padding-inline: dt('multiselect.sm.padding.x');
221
+ }
222
+
223
+ .p-multiselect-sm .p-multiselect-dropdown .p-icon {
224
+ font-size: dt('multiselect.sm.font.size');
225
+ width: dt('multiselect.sm.font.size');
226
+ height: dt('multiselect.sm.font.size');
227
+ }
228
+
229
+ .p-multiselect-lg .p-multiselect-label {
230
+ font-size: dt('multiselect.lg.font.size');
231
+ padding-block: dt('multiselect.lg.padding.y');
232
+ padding-inline: dt('multiselect.lg.padding.x');
233
+ }
234
+
235
+ .p-multiselect-lg .p-multiselect-dropdown .p-icon {
236
+ font-size: dt('multiselect.lg.font.size');
237
+ width: dt('multiselect.lg.font.size');
238
+ height: dt('multiselect.lg.font.size');
239
+ }
240
+
241
+ .p-floatlabel-in .p-multiselect-filter {
242
+ padding-block-start: dt('multiselect.padding.y');
243
+ padding-block-end: dt('multiselect.padding.y');
244
+ }
245
+ `;var Ct=["pMultiSelectItem",""],xt=t=>({$implicit:t}),Ot=(t,s)=>({checked:t,class:s});function wt(t,s){}function Vt(t,s){t&1&&p(0,wt,0,0,"ng-template")}function Mt(t,s){if(t&1&&p(0,Vt,1,0,null,3),t&2){let e=s.class,n=r(2);a("ngTemplateOutlet",n.itemCheckboxIconTemplate)("ngTemplateOutletContext",Q(2,Ot,n.selected,e))}}function kt(t,s){t&1&&(v(0),p(1,Mt,1,5,"ng-template",null,0,M),S())}function Et(t,s){if(t&1&&(u(0,"span"),E(1),h()),t&2){let e=r();c(),R(e.label??"empty")}}function Ft(t,s){t&1&&w(0)}var Lt=["item"],Bt=["group"],At=["loader"],Dt=["header"],Pt=["filter"],Ht=["footer"],Rt=["emptyfilter"],zt=["empty"],Kt=["selecteditems"],Nt=["loadingicon"],Qt=["filtericon"],$t=["removetokenicon"],Gt=["chipicon"],qt=["clearicon"],Ut=["dropdownicon"],jt=["itemcheckboxicon"],Wt=["headercheckboxicon"],Yt=["overlay"],Zt=["filterInput"],Jt=["focusInput"],Xt=["items"],ei=["scroller"],ti=["lastHiddenFocusableEl"],ii=["firstHiddenFocusableEl"],ni=["headerCheckbox"],li=[[["p-header"]],[["p-footer"]]],oi=["p-header","p-footer"],ai=()=>({class:"p-multiselect-chip-icon"}),si=(t,s)=>({$implicit:t,removeChip:s}),It=t=>({options:t}),ri=(t,s,e)=>({checked:t,partialSelected:s,class:e}),oe=t=>({height:t}),vt=(t,s)=>({$implicit:t,options:s}),ci=()=>({});function pi(t,s){if(t&1&&(v(0),E(1),S()),t&2){let e=r(2);c(),R(e.label()||"empty")}}function di(t,s){if(t&1&&E(0),t&2){let e=r(3);ie(" ",e.getSelectedItemsLabel()," ")}}function ui(t,s){t&1&&w(0)}function mi(t,s){if(t&1){let e=V();u(0,"span",27),C("click",function(i){y(e);let l=r(4).$implicit,o=r(4);return x(o.removeOption(l,i))}),p(1,ui,1,0,"ng-container",28),h()}if(t&2){let e=r(8);g(e.cx("chipIcon")),a("pBind",e.ptm("chipIcon")),T("aria-hidden",!0),c(),a("ngTemplateOutlet",e.chipIconTemplate||e._chipIconTemplate||e.removeTokenIconTemplate||e._removeTokenIconTemplate)("ngTemplateOutletContext",me(6,ai))}}function _i(t,s){if(t&1&&(v(0),p(1,mi,2,7,"span",26),S()),t&2){let e=r(7);c(),a("ngIf",e.chipIconTemplate||e._chipIconTemplate||e.removeTokenIconTemplate||e._removeTokenIconTemplate)}}function hi(t,s){if(t&1&&p(0,_i,2,1,"ng-container",20),t&2){let e=r(6);a("ngIf",!e.$disabled()&&!e.readonly)}}function fi(t,s){t&1&&(v(0),p(1,hi,1,1,"ng-template",null,5,M),S())}function gi(t,s){if(t&1){let e=V();u(0,"div",19,4)(2,"p-chip",25),C("onRemove",function(i){let l=y(e).$implicit,o=r(4);return x(o.removeOption(l,i))}),p(3,fi,3,0,"ng-container",20),h()()}if(t&2){let e=s.$implicit,n=r(4);g(n.cx("chipItem")),a("pBind",n.ptm("chipItem")),c(2),g(n.cx("pcChip")),a("pt",n.ptm("pcChip"))("label",n.getLabelByValue(e))("removable",!n.$disabled()&&!n.readonly)("removeIcon",n.chipIcon),c(),a("ngIf",n.chipIconTemplate||n._chipIconTemplate||n.removeTokenIconTemplate||n._removeTokenIconTemplate)}}function bi(t,s){if(t&1&&p(0,gi,4,10,"div",24),t&2){let e=r(3);a("ngForOf",e.chipSelectedItems())}}function yi(t,s){if(t&1&&(v(0),E(1),S()),t&2){let e=r(3);c(),R(e.placeholder()||"empty")}}function xi(t,s){if(t&1&&(v(0),X(1,di,1,1)(2,bi,1,1,"div",23),p(3,yi,2,1,"ng-container",20),S()),t&2){let e=r(2);c(),ee(e.chipSelectedItems()&&e.chipSelectedItems().length===e.maxSelectedLabels?1:2),c(2),a("ngIf",!e.modelValue()||e.modelValue().length===0)}}function Ii(t,s){if(t&1&&(v(0),p(1,pi,2,1,"ng-container",20)(2,xi,4,2,"ng-container",20),S()),t&2){let e=r();c(),a("ngIf",e.display==="comma"),c(),a("ngIf",e.display==="chip")}}function vi(t,s){t&1&&w(0)}function Si(t,s){if(t&1&&(v(0),E(1),S()),t&2){let e=r(2);c(),R(e.placeholder()||"empty")}}function Ti(t,s){if(t&1&&(v(0),p(1,vi,1,0,"ng-container",28)(2,Si,2,1,"ng-container",20),S()),t&2){let e=r();c(),a("ngTemplateOutlet",e.selectedItemsTemplate||e._selectedItemsTemplate)("ngTemplateOutletContext",Q(3,si,e.selectedOptions,e.removeOption.bind(e))),c(),a("ngIf",!e.modelValue()||e.modelValue().length===0)}}function Ci(t,s){if(t&1){let e=V();K(),u(0,"svg",31),C("click",function(i){y(e);let l=r(2);return x(l.clear(i))}),h()}if(t&2){let e=r(2);g(e.cx("clearIcon")),a("pBind",e.ptm("clearIcon")),T("aria-hidden",!0)}}function Oi(t,s){}function wi(t,s){t&1&&p(0,Oi,0,0,"ng-template")}function Vi(t,s){if(t&1){let e=V();u(0,"span",27),C("click",function(i){y(e);let l=r(2);return x(l.clear(i))}),p(1,wi,1,0,null,32),h()}if(t&2){let e=r(2);g(e.cx("clearIcon")),a("pBind",e.ptm("clearIcon")),T("aria-hidden",!0),c(),a("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function Mi(t,s){if(t&1&&(v(0),p(1,Ci,1,4,"svg",29)(2,Vi,2,5,"span",30),S()),t&2){let e=r();c(),a("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),c(),a("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function ki(t,s){t&1&&w(0)}function Ei(t,s){if(t&1&&(v(0),p(1,ki,1,0,"ng-container",32),S()),t&2){let e=r(2);c(),a("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function Fi(t,s){if(t&1&&A(0,"span",19),t&2){let e=r(3);g(e.cn(e.cx("loadingIcon"),"pi-spin "+e.loadingIcon)),a("pBind",e.ptm("loadingIcon")),T("aria-hidden",!0)}}function Li(t,s){if(t&1&&A(0,"span",19),t&2){let e=r(3);g(e.cn(e.cx("loadingIcon"),"pi pi-spinner pi-spin")),a("pBind",e.ptm("loadingIcon")),T("aria-hidden",!0)}}function Bi(t,s){if(t&1&&(v(0),p(1,Fi,1,4,"span",33)(2,Li,1,4,"span",33),S()),t&2){let e=r(2);c(),a("ngIf",e.loadingIcon),c(),a("ngIf",!e.loadingIcon)}}function Ai(t,s){if(t&1&&(v(0),p(1,Ei,2,1,"ng-container",20)(2,Bi,3,2,"ng-container",20),S()),t&2){let e=r();c(),a("ngIf",e.loadingIconTemplate||e._loadingIconTemplate),c(),a("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate)}}function Di(t,s){if(t&1&&A(0,"span",36),t&2){let e=r(3);g(e.cx("dropdownIcon")),a("pBind",e.ptm("dropdownIcon"))("ngClass",e.dropdownIcon),T("aria-hidden",!0)}}function Pi(t,s){if(t&1&&(K(),A(0,"svg",37)),t&2){let e=r(3);g(e.cx("dropdownIcon")),a("pBind",e.ptm("dropdownIcon")),T("aria-hidden",!0)}}function Hi(t,s){if(t&1&&(v(0),p(1,Di,1,5,"span",34)(2,Pi,1,4,"svg",35),S()),t&2){let e=r(2);c(),a("ngIf",e.dropdownIcon),c(),a("ngIf",!e.dropdownIcon)}}function Ri(t,s){}function zi(t,s){t&1&&p(0,Ri,0,0,"ng-template")}function Ki(t,s){if(t&1&&(u(0,"span",19),p(1,zi,1,0,null,32),h()),t&2){let e=r(2);g(e.cx("dropdownIcon")),a("pBind",e.ptm("dropdownIcon")),T("aria-hidden",!0),c(),a("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function Ni(t,s){if(t&1&&p(0,Hi,3,2,"ng-container",20)(1,Ki,2,5,"span",33),t&2){let e=r();a("ngIf",!e.dropdownIconTemplate&&!e._dropdownIconTemplate),c(),a("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function Qi(t,s){t&1&&w(0)}function $i(t,s){t&1&&w(0)}function Gi(t,s){if(t&1&&(v(0),p(1,$i,1,0,"ng-container",28),S()),t&2){let e=r(3);c(),a("ngTemplateOutlet",e.filterTemplate||e._filterTemplate)("ngTemplateOutletContext",F(2,It,e.filterOptions))}}function qi(t,s){if(t&1&&(K(),A(0,"svg",45)),t&2){let e=r().class,n=r(5);g(e),a("pBind",n.getHeaderCheckboxPTOptions("pcHeaderCheckbox.icon"))}}function Ui(t,s){}function ji(t,s){t&1&&p(0,Ui,0,0,"ng-template")}function Wi(t,s){if(t&1&&p(0,qi,1,3,"svg",44)(1,ji,1,0,null,28),t&2){let e=s.class,n=r(5);a("ngIf",!n.headerCheckboxIconTemplate&&!n._headerCheckboxIconTemplate&&n.allSelected()),c(),a("ngTemplateOutlet",n.headerCheckboxIconTemplate||n._headerCheckboxIconTemplate)("ngTemplateOutletContext",Le(3,ri,n.allSelected(),n.partialSelected(),e))}}function Yi(t,s){if(t&1){let e=V();u(0,"p-checkbox",43,10),C("onChange",function(i){y(e);let l=r(4);return x(l.onToggleAll(i))}),p(2,Wi,2,7,"ng-template",null,11,M),h()}if(t&2){let e=r(4);a("pt",e.getHeaderCheckboxPTOptions("pcHeaderCheckbox"))("ngModel",e.allSelected())("ariaLabel",e.toggleAllAriaLabel)("binary",!0)("variant",e.$variant())("disabled",e.$disabled())}}function Zi(t,s){if(t&1&&(K(),A(0,"svg",50)),t&2){let e=r(5);a("pBind",e.ptm("filterIcon"))}}function Ji(t,s){}function Xi(t,s){t&1&&p(0,Ji,0,0,"ng-template")}function en(t,s){if(t&1&&(u(0,"span",51),p(1,Xi,1,0,null,32),h()),t&2){let e=r(5);a("pBind",e.ptm("filterIcon")),c(),a("ngTemplateOutlet",e.filterIconTemplate||e._filterIconTemplate)}}function tn(t,s){if(t&1){let e=V();u(0,"p-iconfield",46)(1,"input",47,12),C("input",function(i){y(e);let l=r(4);return x(l.onFilterInputChange(i))})("keydown",function(i){y(e);let l=r(4);return x(l.onFilterKeyDown(i))})("click",function(i){y(e);let l=r(4);return x(l.onInputClick(i))})("blur",function(i){y(e);let l=r(4);return x(l.onFilterBlur(i))}),h(),u(3,"p-inputicon",46),p(4,Zi,1,1,"svg",48)(5,en,2,2,"span",49),h()()}if(t&2){let e=r(4);g(e.cx("pcFilterContainer")),a("pt",e.ptm("pcFilterContainer")),c(),g(e.cx("pcFilter")),a("pt",e.ptm("pcFilter"))("variant",e.$variant())("value",e._filterValue()||""),T("autocomplete",e.autocomplete)("aria-owns",e.id+"_list")("aria-activedescendant",e.focusedOptionId)("disabled",e.$disabled()?"":void 0)("placeholder",e.filterPlaceHolder)("aria-label",e.ariaFilterLabel),c(2),a("pt",e.ptm("pcFilterIconContainer")),c(),a("ngIf",!e.filterIconTemplate&&!e._filterIconTemplate),c(),a("ngIf",e.filterIconTemplate||e._filterIconTemplate)}}function nn(t,s){if(t&1&&p(0,Yi,4,6,"p-checkbox",41)(1,tn,6,17,"p-iconfield",42),t&2){let e=r(3);a("ngIf",e.showToggleAll&&!e.selectionLimit),c(),a("ngIf",e.filter)}}function ln(t,s){if(t&1&&(u(0,"div",19),pe(1),p(2,Gi,2,4,"ng-container",21)(3,nn,2,2,"ng-template",null,9,M),h()),t&2){let e=N(4),n=r(2);g(n.cx("header")),a("pBind",n.ptm("header")),c(2),a("ngIf",n.filterTemplate||n._filterTemplate)("ngIfElse",e)}}function on(t,s){t&1&&w(0)}function an(t,s){if(t&1&&p(0,on,1,0,"ng-container",28),t&2){let e=s.$implicit,n=s.options;r(2);let i=N(9);a("ngTemplateOutlet",i)("ngTemplateOutletContext",Q(2,vt,e,n))}}function sn(t,s){t&1&&w(0)}function rn(t,s){if(t&1&&p(0,sn,1,0,"ng-container",28),t&2){let e=s.options,n=r(4);a("ngTemplateOutlet",n.loaderTemplate||n._loaderTemplate)("ngTemplateOutletContext",F(2,It,e))}}function cn(t,s){t&1&&(v(0),p(1,rn,1,4,"ng-template",null,14,M),S())}function pn(t,s){if(t&1){let e=V();u(0,"p-scroller",52,13),C("onLazyLoad",function(i){y(e);let l=r(2);return x(l.onLazyLoad.emit(i))}),p(2,an,1,5,"ng-template",null,3,M)(4,cn,3,0,"ng-container",20),h()}if(t&2){let e=r(2);te(F(9,oe,e.scrollHeight)),a("items",e.visibleOptions())("itemSize",e.virtualScrollItemSize)("autoSize",!0)("tabindex",-1)("lazy",e.lazy)("options",e.virtualScrollOptions),c(4),a("ngIf",e.loaderTemplate||e._loaderTemplate)}}function dn(t,s){t&1&&w(0)}function un(t,s){if(t&1&&(v(0),p(1,dn,1,0,"ng-container",28),S()),t&2){r();let e=N(9),n=r();c(),a("ngTemplateOutlet",e)("ngTemplateOutletContext",Q(3,vt,n.visibleOptions(),me(2,ci)))}}function mn(t,s){if(t&1&&(u(0,"span"),E(1),h()),t&2){let e=r(2).$implicit,n=r(3);c(),R(n.getOptionGroupLabel(e.optionGroup))}}function _n(t,s){if(t&1&&w(0,58),t&2){let e=r(2).$implicit,n=r(3);a("ngTemplateOutlet",n.groupTemplate)("ngTemplateOutletContext",F(2,xt,e.optionGroup))}}function hn(t,s){if(t&1&&(v(0),u(1,"li",56),p(2,mn,2,1,"span",20)(3,_n,1,4,"ng-container",57),h(),S()),t&2){let e=r(),n=e.$implicit,i=e.index,l=r().options,o=r(2);c(),g(o.cx("optionGroup")),a("pBind",o.ptm("optionGroup"))("ngStyle",F(7,oe,l.itemSize+"px")),T("id",o.id+"_"+o.getOptionIndex(i,l)),c(),a("ngIf",!o.groupTemplate&&n.optionGroup),c(),a("ngIf",n.optionGroup&&o.groupTemplate)}}function fn(t,s){if(t&1){let e=V();v(0),u(1,"li",59),C("onClick",function(i){y(e);let l=r().index,o=r().options,d=r(2);return x(d.onOptionSelect(i,!1,d.getOptionIndex(l,o)))})("onMouseEnter",function(i){y(e);let l=r().index,o=r().options,d=r(2);return x(d.onOptionMouseEnter(i,d.getOptionIndex(l,o)))}),h(),S()}if(t&2){let e=r(),n=e.$implicit,i=e.index,l=r().options,o=r(2);c(),a("pBind",o.getPTOptions(n,o.getItemOptions,i,"option"))("id",o.id+"_"+o.getOptionIndex(i,l))("option",n)("selected",o.isSelected(n))("label",o.getOptionLabel(n))("disabled",o.isOptionDisabled(n))("template",o.itemTemplate||o._itemTemplate)("itemCheckboxIconTemplate",o.itemCheckboxIconTemplate||o._itemCheckboxIconTemplate)("itemSize",l.itemSize)("focused",o.focusedOptionIndex()===o.getOptionIndex(i,l))("ariaPosInset",o.getAriaPosInset(o.getOptionIndex(i,l)))("ariaSetSize",o.ariaSetSize)("variant",o.$variant())("highlightOnSelect",o.highlightOnSelect)("pt",o.pt)}}function gn(t,s){if(t&1&&p(0,hn,4,9,"ng-container",20)(1,fn,2,15,"ng-container",20),t&2){let e=s.$implicit,n=r(3);a("ngIf",n.isOptionGroup(e)),c(),a("ngIf",!n.isOptionGroup(e))}}function bn(t,s){if(t&1&&E(0),t&2){let e=r(4);ie(" ",e.emptyFilterMessageLabel," ")}}function yn(t,s){t&1&&w(0)}function xn(t,s){if(t&1&&p(0,yn,1,0,"ng-container",32),t&2){let e=r(4);a("ngTemplateOutlet",e.emptyFilterTemplate||e._emptyFilterTemplate||e.emptyTemplate||e._emptyFilterTemplate)}}function In(t,s){if(t&1&&(u(0,"li",56),X(1,bn,1,1)(2,xn,1,1,"ng-container"),h()),t&2){let e=r().options,n=r(2);g(n.cx("emptyMessage")),a("pBind",n.ptm("emptyMessage"))("ngStyle",F(5,oe,e.itemSize+"px")),c(),ee(!n.emptyFilterTemplate&&!n._emptyFilterTemplate&&!n.emptyTemplate&&!n._emptyTemplate?1:2)}}function vn(t,s){if(t&1&&E(0),t&2){let e=r(4);ie(" ",e.emptyMessageLabel," ")}}function Sn(t,s){t&1&&w(0)}function Tn(t,s){if(t&1&&p(0,Sn,1,0,"ng-container",32),t&2){let e=r(4);a("ngTemplateOutlet",e.emptyTemplate||e._emptyTemplate)}}function Cn(t,s){if(t&1&&(u(0,"li",56),X(1,vn,1,1)(2,Tn,1,1,"ng-container"),h()),t&2){let e=r().options,n=r(2);g(n.cx("emptyMessage")),a("pBind",n.ptm("emptyMessage"))("ngStyle",F(5,oe,e.itemSize+"px")),c(),ee(!n.emptyTemplate&&!n._emptyTemplate?1:2)}}function On(t,s){if(t&1&&(u(0,"ul",53,15),p(2,gn,2,2,"ng-template",54)(3,In,3,7,"li",55)(4,Cn,3,7,"li",55),h()),t&2){let e=s.$implicit,n=s.options,i=r(2);te(n.contentStyle),g(i.cn(i.cx("list"),n.contentStyleClass)),a("pBind",i.ptm("list")),T("aria-label",i.listLabel),c(2),a("ngForOf",e),c(),a("ngIf",i.hasFilter()&&i.isEmpty()),c(),a("ngIf",!i.hasFilter()&&i.isEmpty())}}function wn(t,s){t&1&&w(0)}function Vn(t,s){if(t&1&&(u(0,"div"),pe(1,1),p(2,wn,1,0,"ng-container",32),h()),t&2){let e=r(2);c(2),a("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}function Mn(t,s){if(t&1){let e=V();u(0,"div",38)(1,"span",39,6),C("focus",function(i){y(e);let l=r();return x(l.onFirstHiddenFocus(i))}),h(),p(3,Qi,1,0,"ng-container",32)(4,ln,5,5,"div",33),u(5,"div",19),p(6,pn,5,11,"p-scroller",40)(7,un,2,6,"ng-container",20)(8,On,5,9,"ng-template",null,7,M),h(),p(10,Vn,3,1,"div",20),u(11,"span",39,8),C("focus",function(i){y(e);let l=r();return x(l.onLastHiddenFocus(i))}),h()()}if(t&2){let e=r();g(e.cn(e.cx("overlay"),e.panelStyleClass)),a("pBind",e.ptm("overlay"))("ngStyle",e.panelStyle),T("id",e.id+"_list"),c(),a("pBind",e.ptm("firstHiddenFocusableEl")),T("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),c(2),a("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),c(),a("ngIf",e.showHeader),c(),g(e.cx("listContainer")),de("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),a("pBind",e.ptm("listContainer")),c(),a("ngIf",e.virtualScroll),c(),a("ngIf",!e.virtualScroll),c(3),a("ngIf",e.footerFacet||e.footerTemplate||e._footerTemplate),c(),a("pBind",e.ptm("lastHiddenFocusableEl")),T("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var kn=`
246
+ ${bt}
247
+
248
+ /* For PrimeNG */
249
+ .p-multiselect.ng-invalid.ng-dirty {
250
+ border-color: dt('multiselect.invalid.border.color');
251
+ }
252
+ p-multiSelect.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder,
253
+ p-multi-select.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder,
254
+ p-multiselect.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder {
255
+ color: dt('multiselect.invalid.placeholder.color');
256
+ }
257
+ `,En={root:({instance:t})=>({position:t.$appendTo()==="self"?"relative":void 0})},Fn={root:({instance:t})=>["p-multiselect p-component p-inputwrapper",{"p-multiselect p-component p-inputwrapper":!0,"p-multiselect-display-chip":t.display==="chip","p-disabled":t.$disabled(),"p-invalid":t.invalid(),"p-variant-filled":t.$variant()==="filled","p-focus":t.focused,"p-inputwrapper-filled":t.$filled(),"p-inputwrapper-focus":t.focused||t.overlayVisible,"p-multiselect-open":t.overlayVisible,"p-multiselect-fluid":t.hasFluid,"p-multiselect-sm p-inputfield-sm":t.size()==="small","p-multiselect-lg p-inputfield-lg":t.size()==="large"}],labelContainer:"p-multiselect-label-container",label:({instance:t})=>({"p-multiselect-label":!0,"p-placeholder":t.label()===t.placeholder(),"p-multiselect-label-empty":!t.placeholder()&&!t.defaultLabel&&(!t.modelValue()||t.modelValue().length===0)}),chipItem:"p-multiselect-chip-item",pcChip:"p-multiselect-chip",chipIcon:"p-multiselect-chip-icon",dropdown:"p-multiselect-dropdown",loadingIcon:"p-multiselect-loading-icon",dropdownIcon:"p-multiselect-dropdown-icon",overlay:"p-multiselect-overlay p-component-overlay p-component",header:"p-multiselect-header",pcFilterContainer:"p-multiselect-filter-container",pcFilter:"p-multiselect-filter",listContainer:"p-multiselect-list-container",list:"p-multiselect-list",optionGroup:"p-multiselect-option-group",option:({instance:t})=>({"p-multiselect-option":!0,"p-multiselect-option-selected":t.selected&&t.highlightOnSelect,"p-disabled":t.disabled,"p-focus":t.focused}),emptyMessage:"p-multiselect-empty-message",clearIcon:"p-multiselect-clear-icon"},le=(()=>{class t extends qe{name="multiselect";style=kn;classes=Fn;inlineStyles=En;static \u0275fac=(()=>{let e;return function(i){return(e||(e=se(t)))(i||t)}})();static \u0275prov=Te({token:t,factory:t.\u0275fac})}return t})();var yt=new ae("MULTISELECT_INSTANCE"),Ln=new ae("MULTISELECT_ITEM_INSTANCE"),Bn={provide:He,useExisting:Se(()=>St),multi:!0},An=(()=>{class t extends Xe{$pcMultiSelectItem=L(Ln,{optional:!0,skipSelf:!0})??void 0;hostName="MultiSelect";getPTOptions(e){return this.ptm(e,{context:{selected:this.selected,focused:this.focused,disabled:this.disabled}})}option;selected;label;disabled;itemSize;focused;ariaPosInset;ariaSetSize;variant;template;checkIconTemplate;itemCheckboxIconTemplate;highlightOnSelect;onClick=new O;onMouseEnter=new O;_componentStyle=L(le);onOptionClick(e){this.onClick.emit({originalEvent:e,option:this.option,selected:this.selected}),e.stopPropagation(),e.preventDefault()}onOptionMouseEnter(e){this.onMouseEnter.emit({originalEvent:e,option:this.option,selected:this.selected})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=se(t)))(i||t)}})();static \u0275cmp=re({type:t,selectors:[["li","pMultiSelectItem",""]],hostAttrs:["role","option"],hostVars:12,hostBindings:function(n,i){n&1&&C("click",function(o){return i.onOptionClick(o)})("mouseenter",function(o){return i.onOptionMouseEnter(o)}),n&2&&(T("aria-label",i.label)("aria-setsize",i.ariaSetSize)("aria-posinset",i.ariaPosInset)("aria-selected",i.selected)("data-p-focused",i.focused)("data-p-highlight",i.selected)("data-p-disabled",i.disabled)("aria-checked",i.selected),g(i.cx("option")),de("height",i.itemSize,"px"))},inputs:{option:"option",selected:[2,"selected","selected",b],label:"label",disabled:[2,"disabled","disabled",b],itemSize:[2,"itemSize","itemSize",G],focused:[2,"focused","focused",b],ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",variant:"variant",template:"template",checkIconTemplate:"checkIconTemplate",itemCheckboxIconTemplate:"itemCheckboxIconTemplate",highlightOnSelect:[2,"highlightOnSelect","highlightOnSelect",b]},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},features:[ue([le]),ce],attrs:Ct,decls:4,vars:12,consts:[["icon",""],[3,"ngModel","binary","tabindex","variant","ariaLabel","pt"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,i){n&1&&(u(0,"p-checkbox",1),p(1,kt,3,0,"ng-container",2),h(),p(2,Et,2,1,"span",2)(3,Ft,1,0,"ng-container",3)),n&2&&(a("ngModel",i.selected)("binary",!0)("tabindex",-1)("variant",i.variant)("ariaLabel",i.label)("pt",i.getPTOptions("pcOptionCheckbox")),c(),a("ngIf",i.itemCheckboxIconTemplate),c(),a("ngIf",!i.template),c(),a("ngTemplateOutlet",i.template)("ngTemplateOutletContext",F(10,xt,i.option)))},dependencies:[fe,_e,he,xe,ye,ge,be,j],encapsulation:2})}return t})(),St=(()=>{class t extends at{zone;filterService;overlayService;id;ariaLabel;styleClass;panelStyle;panelStyleClass;inputId;readonly;group;filter=!0;filterPlaceHolder;filterLocale;overlayVisible=!1;tabindex=0;dataKey;ariaLabelledBy;set displaySelectedLabel(e){this._displaySelectedLabel=e}get displaySelectedLabel(){return this._displaySelectedLabel}set maxSelectedLabels(e){this._maxSelectedLabels=e||0}get maxSelectedLabels(){return this._maxSelectedLabels}selectionLimit;selectedItemsLabel;showToggleAll=!0;emptyFilterMessage="";emptyMessage="";resetFilterOnHide=!1;dropdownIcon;chipIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";showHeader=!0;filterBy;scrollHeight="200px";lazy=!1;virtualScroll;loading=!1;virtualScrollItemSize;loadingIcon;virtualScrollOptions;overlayOptions;ariaFilterLabel;filterMatchMode="contains";tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;autofocusFilter=!1;display="comma";autocomplete="off";showClear=!1;autofocus;set placeholder(e){this._placeholder.set(e)}get placeholder(){return this._placeholder.asReadonly()}get options(){return this._options()}set options(e){Ne(this._options(),e)||this._options.set(e||[])}get filterValue(){return this._filterValue()}set filterValue(e){this._filterValue.set(e)}get selectAll(){return this._selectAll}set selectAll(e){this._selectAll=e}focusOnHover=!0;filterFields;selectOnFocus=!1;autoOptionFocus=!1;highlightOnSelect=!0;size=$();variant=$();fluid=$(void 0,{transform:b});appendTo=$(void 0);onChange=new O;onFilter=new O;onFocus=new O;onBlur=new O;onClick=new O;onClear=new O;onPanelShow=new O;onPanelHide=new O;onLazyLoad=new O;onRemove=new O;onSelectAllChange=new O;overlayViewChild;filterInputChild;focusInputViewChild;itemsViewChild;scroller;lastHiddenFocusableElementOnOverlay;firstHiddenFocusableElementOnOverlay;headerCheckboxViewChild;footerFacet;headerFacet;_componentStyle=L(le);bindDirectiveInstance=L(Y,{self:!0});searchValue;searchTimeout;_selectAll=null;_placeholder=B(void 0);_disableTooltip=!1;value;_filteredOptions;focus;filtered;itemTemplate;groupTemplate;loaderTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;selectedItemsTemplate;loadingIconTemplate;filterIconTemplate;removeTokenIconTemplate;chipIconTemplate;clearIconTemplate;dropdownIconTemplate;itemCheckboxIconTemplate;headerCheckboxIconTemplate;templates;_itemTemplate;_groupTemplate;_loaderTemplate;_headerTemplate;_filterTemplate;_footerTemplate;_emptyFilterTemplate;_emptyTemplate;_selectedItemsTemplate;_loadingIconTemplate;_filterIconTemplate;_removeTokenIconTemplate;_chipIconTemplate;_clearIconTemplate;_dropdownIconTemplate;_itemCheckboxIconTemplate;_headerCheckboxIconTemplate;$variant=z(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());$appendTo=z(()=>this.appendTo()||this.config.overlayAppendTo());$pcMultiSelect=L(yt,{optional:!0,skipSelf:!0})??void 0;pcFluid=L(st,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":this._itemTemplate=e.template;break;case"group":this._groupTemplate=e.template;break;case"selectedItems":case"selecteditems":this._selectedItemsTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"filter":this._filterTemplate=e.template;break;case"emptyfilter":this._emptyFilterTemplate=e.template;break;case"empty":this._emptyTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"headercheckboxicon":this._headerCheckboxIconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;case"filtericon":this._filterIconTemplate=e.template;break;case"removetokenicon":this._removeTokenIconTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"dropdownicon":this._dropdownIconTemplate=e.template;break;case"itemcheckboxicon":this._itemCheckboxIconTemplate=e.template;break;case"chipicon":this._chipIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}headerCheckboxFocus;filterOptions;preventModelTouched;focused=!1;itemsWrapper;_displaySelectedLabel=!0;_maxSelectedLabels=3;modelValue=B(null);_filterValue=B(null);_options=B([]);startRangeIndex=B(-1);focusedOptionIndex=B(-1);selectedOptions;clickInProgress=!1;get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(W.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(W.EMPTY_FILTER_MESSAGE)}get isVisibleClearIcon(){return this.modelValue()!=null&&this.modelValue()!==""&&P(this.modelValue())&&this.showClear&&!this.$disabled()&&!this.readonly&&this.$filled()}get toggleAllAriaLabel(){return this.config.translation.aria?this.config.translation.aria[this.allSelected()?"selectAll":"unselectAll"]:void 0}get listLabel(){return this.config.getTranslation(W.ARIA).listLabel}getAllVisibleAndNonVisibleOptions(){return this.group?this.flatOptions(this.options):this.options||[]}visibleOptions=z(()=>{let e=this.getAllVisibleAndNonVisibleOptions(),n=Qe(e)&&nt.isObject(e[0]);if(this._filterValue()){let i;if(n?i=this.filterService.filter(e,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale):i=e.filter(l=>l.toString().toLocaleLowerCase().includes(this._filterValue().toLocaleLowerCase())),this.group){let l=this.options||[],o=[];return l.forEach(d=>{let Z=this.getOptionGroupChildren(d).filter(Tt=>i.includes(Tt));Z.length>0&&o.push(ve(Ie({},d),{[typeof this.optionGroupChildren=="string"?this.optionGroupChildren:"items"]:[...Z]}))}),this.flatOptions(o)}return i}return e});label=z(()=>{let e,n=this.modelValue();if(n&&n?.length&&this.displaySelectedLabel){if(P(this.maxSelectedLabels)&&n?.length>(this.maxSelectedLabels||0))return this.getSelectedItemsLabel();e="";for(let i=0;i<n.length;i++)i!==0&&(e+=", "),e+=this.getLabelByValue(n[i])}else e=this.placeholder()||"";return e});chipSelectedItems=z(()=>P(this.maxSelectedLabels)&&this.modelValue()&&this.modelValue()?.length>(this.maxSelectedLabels||0)?this.modelValue()?.slice(0,this.maxSelectedLabels):this.modelValue());constructor(e,n,i){super(),this.zone=e,this.filterService=n,this.overlayService=i,Be(()=>{let l=this.modelValue(),o=this.getAllVisibleAndNonVisibleOptions();o&&P(o)&&(this.optionValue&&this.optionLabel&&l?this.selectedOptions=o.filter(d=>l.includes(d[this.optionLabel])||l.includes(d[this.optionValue])):this.selectedOptions=l,this.cd.markForCheck())})}onInit(){this.id=this.id||Ge("pn_id_"),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}maxSelectionLimitReached(){return this.selectionLimit&&this.modelValue()&&this.modelValue().length===this.selectionLimit}onAfterViewInit(){this.overlayVisible&&this.show()}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"])),this.filtered&&(this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild?.alignOverlay()},1)}),this.filtered=!1)}flatOptions(e){return(e||[]).reduce((n,i,l)=>{n.push({optionGroup:i,group:!0,index:l});let o=this.getOptionGroupChildren(i);return o&&o.forEach(d=>n.push(d)),n},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()){this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());let e=this.getOptionValue(this.visibleOptions()[this.focusedOptionIndex()]);this.onOptionSelect({originalEvent:null,option:[e]})}}updateModel(e,n){this.value=e,this.onModelChange(e),this.writeValue(e)}onInputClick(e){e.stopPropagation(),e.preventDefault(),this.focusedOptionIndex.set(-1)}onOptionSelect(e,n=!1,i=-1){let{originalEvent:l,option:o}=e;if(this.$disabled()||this.isOptionDisabled(o))return;let d=this.isSelected(o),f=[];d?f=this.modelValue().filter(Z=>!q(Z,this.getOptionValue(o),this.equalityKey()||"")):f=[...this.modelValue()||[],this.getOptionValue(o)],this.updateModel(f,l),i!==-1&&this.focusedOptionIndex.set(i),n&&D(this.focusInputViewChild?.nativeElement),this.onChange.emit({originalEvent:e,value:f,itemValue:o})}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}onOptionSelectRange(e,n=-1,i=-1){if(n===-1&&(n=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(n)),n!==-1&&i!==-1){let l=Math.min(n,i),o=Math.max(n,i),d=this.visibleOptions().slice(l,o+1).filter(f=>this.isValidOption(f)).map(f=>this.getOptionValue(f));this.updateModel(d,e)}}searchFields(){return(this.filterBy||this.optionLabel||"label").split(",")}findNearestSelectedOptionIndex(e,n=!1){let i=-1;return this.hasSelectedOption()&&(n?(i=this.findPrevSelectedOptionIndex(e),i=i===-1?this.findNextSelectedOptionIndex(e):i):(i=this.findNextSelectedOptionIndex(e),i=i===-1?this.findPrevSelectedOptionIndex(e):i)),i>-1?i:e}findPrevSelectedOptionIndex(e){let n=this.hasSelectedOption()&&e>0?U(this.visibleOptions().slice(0,e),i=>this.isValidSelectedOption(i)):-1;return n>-1?n:-1}findFirstFocusedOptionIndex(){let e=this.findFirstSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findFirstSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextSelectedOptionIndex(e){let n=this.hasSelectedOption()&&e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(i=>this.isValidSelectedOption(i)):-1;return n>-1?n+e+1:-1}equalityKey(){return this.optionValue?null:this.dataKey}hasSelectedOption(){return P(this.modelValue())}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}isOptionGroup(e){return e&&(this.group||this.optionGroupLabel)&&e.optionGroup&&e.group}isValidOption(e){return e&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionDisabled(e){return this.maxSelectionLimitReached()&&!this.isSelected(e)?!0:this.optionDisabled?H(e,this.optionDisabled):e&&e.disabled!==void 0?e.disabled:!1}isSelected(e){let n=this.getOptionValue(e);return(this.modelValue()||[]).some(i=>q(i,n,this.equalityKey()||""))}isOptionMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue?.toLocaleLowerCase(this.filterLocale))}isEmpty(){return!this._options()||this.visibleOptions()&&this.visibleOptions().length===0}getOptionIndex(e,n){return this.virtualScrollerDisabled?e:n&&n.getItemOptions(e).index}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(n=>this.isOptionGroup(n)).length:e)+1}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}getLabelByValue(e){let i=(this.group?this.flatOptions(this._options()):this._options()||[]).find(l=>!this.isOptionGroup(l)&&q(this.getOptionValue(l),e,this.equalityKey()||""));return i?this.getOptionLabel(i):null}getSelectedItemsLabel(){let e=/{(.*?)}/,n=this.selectedItemsLabel?this.selectedItemsLabel:this.config.getTranslation(W.SELECTION_MESSAGE);return e.test(n)?n.replace(n.match(e)[0],this.modelValue().length+""):n}getOptionLabel(e){return this.optionLabel?H(e,this.optionLabel):e&&e.label!=null?e.label:e}getOptionValue(e){return this.optionValue?H(e,this.optionValue):!this.optionLabel&&e&&e.value!==void 0?e.value:e}getOptionGroupLabel(e){return this.optionGroupLabel?H(e,this.optionGroupLabel):e&&e.label!=null?e.label:e}getOptionGroupChildren(e){return e?this.optionGroupChildren?H(e,this.optionGroupChildren):e.items:[]}onKeyDown(e){if(this.$disabled()){e.preventDefault();return}let n=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"Space":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"ShiftLeft":case"ShiftRight":this.onShiftKey();break;default:if(e.code==="KeyA"&&n){let i=this.visibleOptions().filter(l=>this.isValidOption(l)).map(l=>this.getOptionValue(l));this.updateModel(i,e),e.preventDefault();break}!n&&$e(e.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(e,e.key),e.preventDefault());break}}onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0);break;default:break}}onArrowLeftKey(e,n=!1){n&&this.focusedOptionIndex.set(-1)}onArrowDownKey(e){let n=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,this.startRangeIndex(),n),this.changeFocusedOptionIndex(e,n),!this.overlayVisible&&this.show(),e.preventDefault(),e.stopPropagation()}onArrowUpKey(e,n=!1){if(e.altKey&&!n)this.focusedOptionIndex()!==-1&&this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]),this.overlayVisible&&this.hide(),e.preventDefault();else{let i=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,i,this.startRangeIndex()),this.changeFocusedOptionIndex(e,i),!this.overlayVisible&&this.show(),e.preventDefault()}e.stopPropagation()}onHomeKey(e,n=!1){let{currentTarget:i}=e;if(n){let l=i.value.length;i.setSelectionRange(0,e.shiftKey?l:0),this.focusedOptionIndex.set(-1)}else{let l=e.metaKey||e.ctrlKey,o=this.findFirstOptionIndex();e.shiftKey&&l&&this.onOptionSelectRange(e,o,this.startRangeIndex()),this.changeFocusedOptionIndex(e,o),!this.overlayVisible&&this.show()}e.preventDefault()}onEndKey(e,n=!1){let{currentTarget:i}=e;if(n){let l=i.value.length;i.setSelectionRange(e.shiftKey?0:l,l),this.focusedOptionIndex.set(-1)}else{let l=e.metaKey||e.ctrlKey,o=this.findLastFocusedOptionIndex();e.shiftKey&&l&&this.onOptionSelectRange(e,this.startRangeIndex(),o),this.changeFocusedOptionIndex(e,o),!this.overlayVisible&&this.show()}e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onEnterKey(e){this.overlayVisible?this.focusedOptionIndex()!==-1&&(e.shiftKey?this.onOptionSelectRange(e,this.focusedOptionIndex()):this.onOptionSelect({originalEvent:e,option:this.visibleOptions()[this.focusedOptionIndex()]})):this.onArrowDownKey(e),e.preventDefault()}onEscapeKey(e){this.overlayVisible&&(this.hide(!0),e.stopPropagation(),e.preventDefault())}onTabKey(e,n=!1){if(!n)if(this.overlayVisible&&this.hasFocusableElements())D(e.shiftKey?this.lastHiddenFocusableElementOnOverlay?.nativeElement:this.firstHiddenFocusableElementOnOverlay?.nativeElement),e.preventDefault();else{if(this.focusedOptionIndex()!==-1){let i=this.visibleOptions()[this.focusedOptionIndex()];!this.isSelected(i)&&this.onOptionSelect({originalEvent:e,option:i})}this.overlayVisible&&this.hide(this.filter)}}onShiftKey(){this.startRangeIndex.set(this.focusedOptionIndex())}onContainerClick(e){if(!(this.$disabled()||this.loading||this.readonly||e.target?.isSameNode?.(this.focusInputViewChild?.nativeElement))){if(!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(e.target)){if(this.clickInProgress)return;this.clickInProgress=!0,setTimeout(()=>{this.clickInProgress=!1},150),this.overlayVisible?this.hide(!0):this.show(!0)}this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),this.onClick.emit(e),this.cd.detectChanges()}}onFirstHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?ze(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;D(n)}onInputFocus(e){this.focused=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit({originalEvent:e})}onInputBlur(e){this.focused=!1,this.onBlur.emit({originalEvent:e}),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onFilterInputChange(e){let n=e.target.value;this._filterValue.set(n),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:e,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller?.scrollToIndex(0),setTimeout(()=>{this.overlayViewChild?.alignOverlay()})}onLastHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?Ke(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;D(n)}onOptionMouseEnter(e,n){this.focusOnHover&&this.changeFocusedOptionIndex(e,n)}onFilterBlur(e){this.focusedOptionIndex.set(-1)}onToggleAll(e){if(!(this.$disabled()||this.readonly)){if(this.selectAll!=null)this.onSelectAllChange.emit({originalEvent:e,checked:!this.allSelected()});else{let n=this.getAllVisibleAndNonVisibleOptions().filter(f=>this.isSelected(f)&&(this.optionDisabled?H(f,this.optionDisabled):f&&f.disabled!==void 0?f.disabled:!1)),i=this.allSelected()?this.visibleOptions().filter(f=>!this.isValidOption(f)&&this.isSelected(f)):this.visibleOptions().filter(f=>this.isSelected(f)||this.isValidOption(f)),o=[...this.filter&&!this.allSelected()?this.getAllVisibleAndNonVisibleOptions().filter(f=>this.isSelected(f)&&this.isValidOption(f)):[],...n,...i].map(f=>this.getOptionValue(f)),d=[...new Set(o)];this.updateModel(d,e),(!d.length||d.length===this.getAllVisibleAndNonVisibleOptions().length)&&this.onSelectAllChange.emit({originalEvent:e,checked:!!d.length})}this.partialSelected()&&(this.selectedOptions=[],this.cd.markForCheck()),this.onChange.emit({originalEvent:e,value:this.value}),tt.focus(this.headerCheckboxViewChild?.inputViewChild?.nativeElement),this.headerCheckboxFocus=!0,e.originalEvent.preventDefault(),e.originalEvent.stopPropagation()}}changeFocusedOptionIndex(e,n){this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView())}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(e=-1){let n=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let i=ne(this.itemsViewChild.nativeElement,`li[id="${n}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}allSelected(){return this.selectAll!==null?this.selectAll:P(this.visibleOptions())&&this.visibleOptions().every(e=>this.isOptionGroup(e)||this.isOptionDisabled(e)||this.isSelected(e))}partialSelected(){return this.selectedOptions&&this.selectedOptions.length>0&&this.selectedOptions.length<(this.options?.length||0)}show(e){this.overlayVisible=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.findSelectedOptionIndex();this.focusedOptionIndex.set(n),e&&D(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}hide(e){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.overlayOptions?.mode==="modal"&&it(),e&&D(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(e){if(e.toState==="visible"){if(this.itemsWrapper=ne(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-multiselect-list-container"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){let n=this.modelValue()?this.focusedOptionIndex():-1;n!==-1&&this.scroller?.scrollToIndex(n)}else{let n=ne(this.itemsWrapper,'[data-p-highlight="true"]');n&&n.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterInputChild&&this.filterInputChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterInputChild.nativeElement.focus()),this.onPanelShow.emit(e)}e.toState==="void"&&(this.itemsWrapper=null,this.onModelTouched(),this.onPanelHide.emit(e))}resetFilter(){this.filterInputChild&&this.filterInputChild.nativeElement&&(this.filterInputChild.nativeElement.value=""),this._filterValue.set(null),this._filteredOptions=null}onOverlayHide(e){this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter()}close(e){this.hide(),e.preventDefault(),e.stopPropagation()}clear(e){this.value=[],this.updateModel(null,e),this.selectedOptions=[],this.onClear.emit(),this._disableTooltip=!0,e.stopPropagation()}labelContainerMouseLeave(){this._disableTooltip&&(this._disableTooltip=!1)}removeOption(e,n){let i=this.modelValue().filter(l=>!q(l,e,this.equalityKey()||""));this.updateModel(i,n),this.onChange.emit({originalEvent:n,value:i,itemValue:e}),this.onRemove.emit({newValue:i,removed:e}),n&&n.stopPropagation()}findNextOptionIndex(e){let n=e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(i=>this.isValidOption(i)):-1;return n>-1?n+e+1:e}findPrevOptionIndex(e){let n=e>0?U(this.visibleOptions().slice(0,e),i=>this.isValidOption(i)):-1;return n>-1?n:e}findLastSelectedOptionIndex(){return this.hasSelectedOption()?U(this.visibleOptions(),e=>this.isValidSelectedOption(e)):-1}findLastFocusedOptionIndex(){let e=this.findLastSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}findLastOptionIndex(){return U(this.visibleOptions(),e=>this.isValidOption(e))}searchOptions(e,n){this.searchValue=(this.searchValue||"")+n;let i=-1,l=!1;return this.focusedOptionIndex()!==-1?(i=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(o=>this.isOptionMatched(o)),i=i===-1?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(o=>this.isOptionMatched(o)):i+this.focusedOptionIndex()):i=this.visibleOptions().findIndex(o=>this.isOptionMatched(o)),i!==-1&&(l=!0),i===-1&&this.focusedOptionIndex()===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(e,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),l}hasFocusableElements(){return Re(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}hasFilter(){return this._filterValue()&&this._filterValue().trim().length>0}writeControlValue(e,n){this.value=e,n(e),this.cd.markForCheck()}getHeaderCheckboxPTOptions(e){return this.ptm(e,{context:{selected:this.allSelected()}})}getPTOptions(e,n,i,l){return this.ptm(l,{context:{selected:this.isSelected(e),focused:this.focusedOptionIndex()===this.getOptionIndex(i,n),disabled:this.isOptionDisabled(e)}})}static \u0275fac=function(n){return new(n||t)(J(Oe),J(Ue),J(je))};static \u0275cmp=re({type:t,selectors:[["p-multiSelect"],["p-multiselect"],["p-multi-select"]],contentQueries:function(n,i,l){if(n&1&&(I(l,Ye,5),I(l,We,5),I(l,Lt,4),I(l,Bt,4),I(l,At,4),I(l,Dt,4),I(l,Pt,4),I(l,Ht,4),I(l,Rt,4),I(l,zt,4),I(l,Kt,4),I(l,Nt,4),I(l,Qt,4),I(l,$t,4),I(l,Gt,4),I(l,qt,4),I(l,Ut,4),I(l,jt,4),I(l,Wt,4),I(l,Ze,4)),n&2){let o;m(o=_())&&(i.footerFacet=o.first),m(o=_())&&(i.headerFacet=o.first),m(o=_())&&(i.itemTemplate=o.first),m(o=_())&&(i.groupTemplate=o.first),m(o=_())&&(i.loaderTemplate=o.first),m(o=_())&&(i.headerTemplate=o.first),m(o=_())&&(i.filterTemplate=o.first),m(o=_())&&(i.footerTemplate=o.first),m(o=_())&&(i.emptyFilterTemplate=o.first),m(o=_())&&(i.emptyTemplate=o.first),m(o=_())&&(i.selectedItemsTemplate=o.first),m(o=_())&&(i.loadingIconTemplate=o.first),m(o=_())&&(i.filterIconTemplate=o.first),m(o=_())&&(i.removeTokenIconTemplate=o.first),m(o=_())&&(i.chipIconTemplate=o.first),m(o=_())&&(i.clearIconTemplate=o.first),m(o=_())&&(i.dropdownIconTemplate=o.first),m(o=_())&&(i.itemCheckboxIconTemplate=o.first),m(o=_())&&(i.headerCheckboxIconTemplate=o.first),m(o=_())&&(i.templates=o)}},viewQuery:function(n,i){if(n&1&&(k(Yt,5),k(Zt,5),k(Jt,5),k(Xt,5),k(ei,5),k(ti,5),k(ii,5),k(ni,5)),n&2){let l;m(l=_())&&(i.overlayViewChild=l.first),m(l=_())&&(i.filterInputChild=l.first),m(l=_())&&(i.focusInputViewChild=l.first),m(l=_())&&(i.itemsViewChild=l.first),m(l=_())&&(i.scroller=l.first),m(l=_())&&(i.lastHiddenFocusableElementOnOverlay=l.first),m(l=_())&&(i.firstHiddenFocusableElementOnOverlay=l.first),m(l=_())&&(i.headerCheckboxViewChild=l.first)}},hostVars:5,hostBindings:function(n,i){n&1&&C("click",function(o){return i.onContainerClick(o)}),n&2&&(T("id",i.id),te(i.sx("root")),g(i.cn(i.cx("root"),i.styleClass)))},inputs:{id:"id",ariaLabel:"ariaLabel",styleClass:"styleClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",inputId:"inputId",readonly:[2,"readonly","readonly",b],group:[2,"group","group",b],filter:[2,"filter","filter",b],filterPlaceHolder:"filterPlaceHolder",filterLocale:"filterLocale",overlayVisible:[2,"overlayVisible","overlayVisible",b],tabindex:[2,"tabindex","tabindex",G],dataKey:"dataKey",ariaLabelledBy:"ariaLabelledBy",displaySelectedLabel:"displaySelectedLabel",maxSelectedLabels:"maxSelectedLabels",selectionLimit:[2,"selectionLimit","selectionLimit",G],selectedItemsLabel:"selectedItemsLabel",showToggleAll:[2,"showToggleAll","showToggleAll",b],emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",b],dropdownIcon:"dropdownIcon",chipIcon:"chipIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",showHeader:[2,"showHeader","showHeader",b],filterBy:"filterBy",scrollHeight:"scrollHeight",lazy:[2,"lazy","lazy",b],virtualScroll:[2,"virtualScroll","virtualScroll",b],loading:[2,"loading","loading",b],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",G],loadingIcon:"loadingIcon",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:[2,"autofocusFilter","autofocusFilter",b],display:"display",autocomplete:"autocomplete",showClear:[2,"showClear","showClear",b],autofocus:[2,"autofocus","autofocus",b],placeholder:"placeholder",options:"options",filterValue:"filterValue",selectAll:"selectAll",focusOnHover:[2,"focusOnHover","focusOnHover",b],filterFields:"filterFields",selectOnFocus:[2,"selectOnFocus","selectOnFocus",b],autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",b],highlightOnSelect:[2,"highlightOnSelect","highlightOnSelect",b],size:[1,"size"],variant:[1,"variant"],fluid:[1,"fluid"],appendTo:[1,"appendTo"]},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onClear:"onClear",onPanelShow:"onPanelShow",onPanelHide:"onPanelHide",onLazyLoad:"onLazyLoad",onRemove:"onRemove",onSelectAllChange:"onSelectAllChange"},features:[ue([Bn,le,{provide:yt,useExisting:t},{provide:Je,useExisting:t}]),Ve([Y]),ce],ngContentSelectors:oi,decls:16,vars:46,consts:[["focusInput",""],["elseBlock",""],["overlay",""],["content",""],["token",""],["removeicon",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["headerCheckbox",""],["icon",""],["filterInput",""],["scroller",""],["loader",""],["items",""],[1,"p-hidden-accessible",3,"pBind"],["role","combobox",3,"focus","blur","keydown","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus","pBind"],[3,"mouseleave","pBind","pTooltip","tooltipDisabled","tooltipPosition","positionStyle","tooltipStyleClass"],[3,"pBind"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"visibleChange","onAnimationStart","onHide","hostAttrSelector","visible","options","target","appendTo","pt"],[3,"pBind","class"],[3,"pBind","class",4,"ngFor","ngForOf"],[3,"onRemove","pt","label","removable","removeIcon"],[3,"class","pBind","click",4,"ngIf"],[3,"click","pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","times",3,"pBind","class","click",4,"ngIf"],[3,"pBind","class","click",4,"ngIf"],["data-p-icon","times",3,"click","pBind"],[4,"ngTemplateOutlet"],[3,"pBind","class",4,"ngIf"],[3,"pBind","class","ngClass",4,"ngIf"],["data-p-icon","chevron-down",3,"pBind","class",4,"ngIf"],[3,"pBind","ngClass"],["data-p-icon","chevron-down",3,"pBind"],[3,"pBind","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus","pBind"],[3,"items","style","itemSize","autoSize","tabindex","lazy","options","onLazyLoad",4,"ngIf"],[3,"pt","ngModel","ariaLabel","binary","variant","disabled","onChange",4,"ngIf"],[3,"pt","class",4,"ngIf"],[3,"onChange","pt","ngModel","ariaLabel","binary","variant","disabled"],["data-p-icon","check",3,"class","pBind",4,"ngIf"],["data-p-icon","check",3,"pBind"],[3,"pt"],["pInputText","","type","text","role","searchbox",3,"input","keydown","click","blur","pt","variant","value"],["data-p-icon","search",3,"pBind",4,"ngIf"],["class","p-multiselect-filter-icon",3,"pBind",4,"ngIf"],["data-p-icon","search",3,"pBind"],[1,"p-multiselect-filter-icon",3,"pBind"],[3,"onLazyLoad","items","itemSize","autoSize","tabindex","lazy","options"],["role","listbox","aria-multiselectable","true",3,"pBind"],["ngFor","",3,"ngForOf"],["role","option",3,"pBind","class","ngStyle",4,"ngIf"],["role","option",3,"pBind","ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["pMultiSelectItem","","pRipple","",3,"onClick","onMouseEnter","pBind","id","option","selected","label","disabled","template","itemCheckboxIconTemplate","itemSize","focused","ariaPosInset","ariaSetSize","variant","highlightOnSelect","pt"]],template:function(n,i){if(n&1){let l=V();Me(li),u(0,"div",16)(1,"input",17,0),C("focus",function(d){return y(l),x(i.onInputFocus(d))})("blur",function(d){return y(l),x(i.onInputBlur(d))})("keydown",function(d){return y(l),x(i.onKeyDown(d))}),h()(),u(3,"div",18),C("mouseleave",function(){return y(l),x(i.labelContainerMouseLeave())}),u(4,"div",19),p(5,Ii,3,2,"ng-container",20)(6,Ti,3,6,"ng-container",20),h()(),p(7,Mi,3,2,"ng-container",20),u(8,"div",19),p(9,Ai,3,2,"ng-container",21)(10,Ni,2,2,"ng-template",null,1,M),h(),u(12,"p-overlay",22,2),Fe("visibleChange",function(d){return y(l),Ee(i.overlayVisible,d)||(i.overlayVisible=d),x(d)}),C("onAnimationStart",function(d){return y(l),x(i.onOverlayAnimationStart(d))})("onHide",function(d){return y(l),x(i.onOverlayHide(d))}),p(14,Mn,13,23,"ng-template",null,3,M),h()}if(n&2){let l=N(11);a("pBind",i.ptm("hiddenInputContainer")),T("data-p-hidden-accessible",!0),c(),a("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("pAutoFocus",i.autofocus)("pBind",i.ptm("hiddenInput")),T("aria-disabled",i.$disabled())("id",i.inputId)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible??!1)("aria-controls",i.overlayVisible?i.id+"_list":null)("tabindex",i.$disabled()?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0)("value",i.modelValue())("name",i.name())("required",i.required()?"":void 0)("disabled",i.$disabled()?"":void 0),c(2),g(i.cx("labelContainer")),a("pBind",i.ptm("labelContainer"))("pTooltip",i.tooltip)("tooltipDisabled",i._disableTooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass),c(),g(i.cx("label")),a("pBind",i.ptm("label")),c(),a("ngIf",!i.selectedItemsTemplate&&!i._selectedItemsTemplate),c(),a("ngIf",i.selectedItemsTemplate||i._selectedItemsTemplate),c(),a("ngIf",i.isVisibleClearIcon),c(),g(i.cx("dropdown")),a("pBind",i.ptm("dropdown")),c(),a("ngIf",i.loading)("ngIfElse",l),c(3),a("hostAttrSelector",i.$attrSelector),ke("visible",i.overlayVisible),a("options",i.overlayOptions)("target","@parent")("appendTo",i.$appendTo())("pt",i.ptm("pcOverlay"))}},dependencies:[fe,Ae,De,_e,he,Pe,An,ht,j,lt,ft,ot,ct,dt,ut,pt,rt,mt,_t,gt,xe,ye,ge,be,et,Y],encapsulation:2,changeDetection:0})}return t})(),Il=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=we({type:t});static \u0275inj=Ce({imports:[St,j,j]})}return t})();export{St as a,Il as b};
@@ -0,0 +1 @@
1
+ import{b as Ce}from"./chunk-DXYMG6QK.js";import{c as Se}from"./chunk-5BSPSA4O.js";import"./chunk-FULVA6QB.js";import"./chunk-HPINZVE4.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import{a as ne}from"./chunk-ZSUWHVKX.js";import"./chunk-N5AE5WMQ.js";import{a as me,b as pe,d as de,e as ge}from"./chunk-6KWG6O5L.js";import{i as ce}from"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-AGBJEXIM.js";import{b as re,e as ae}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{b as g,c as oe}from"./chunk-JBEKD57G.js";import{m as fe,n as _e}from"./chunk-EDEZ3JLR.js";import{A as ie,h as ee,m as te}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import{b as se,c as le}from"./chunk-ZETUYNFJ.js";import{v as he,w as ue}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{I as L,i as Z,m as y}from"./chunk-LNJUGHOX.js";import{$b as V,$c as Y,Gb as K,Hb as _,Hc as P,Mb as S,Mc as c,Nc as h,Oc as G,Qc as O,Rc as w,Sc as I,Tc as q,Uc as Q,Vc as X,Z as b,aa as F,bc as W,dc as $,ea as R,ec as j,fc as A,gc as p,hc as r,hd as C,ic as s,id as x,jc as H,kd as D,lb as k,na as u,nb as l,nc as z,oc as J,q as B,qc as E,ra as f,v,vc as N,xa as M,xc as m,ya as T}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var ve=t=>[t];function be(t,i){if(t&1&&(r(0,"span",14),H(1,"img",15),s(),r(2,"span"),c(3),s()),t&2){let a=i.item;l(),p("src",a.Img,k)("alt",a.Name),l(2),G(" ",a.Name," ")}}function Me(t,i){if(t&1){let a=E();z(0),q(1),C(2,"async"),r(3,"a",16),N("click",function(){M(a);let e=X(1),o=m();return T(o.submitLogistics(e))}),c(4,"Submit"),s(),J()}if(t&2){let a=m();l(),Q(x(2,0,a.logisticServices$))}}function Te(t,i){}function Ee(t,i){if(t&1){let a=E();r(0,"ng-select",18),I("ngModelChange",function(e){M(a);let o=m(2).$implicit;return w(o.ProductSKU,e)||(o.ProductSKU=e),T(e)}),s()}if(t&2){let a=m(),n=m().$implicit;O("ngModel",n.ProductSKU),p("items",a)}}function Ne(t,i){if(t&1&&(r(0,"span"),c(1),s()),t&2){let a=m(2).$implicit;l(),h(a.ProductSKU||"-")}}function Pe(t,i){if(t&1&&S(0,Te,0,0,"ng-template",17)(1,Ee,1,2,"ng-template",null,0,D)(3,Ne,2,1,"ng-template",null,1,D),t&2){let a=P(2),n=P(4),e=m(2);p("ngxPermissionsOnly",Y(3,ve,e.logisticEditRole))("ngxPermissionsOnlyThen",a)("ngxPermissionsOnlyElse",n)}}function Oe(t,i){if(t&1&&(r(0,"tr")(1,"td"),c(2),s(),r(3,"td"),c(4),s(),r(5,"td"),c(6),s(),r(7,"td"),V(8,Pe,5,5),C(9,"async"),s()()),t&2){let a,n=i.$implicit,e=m();l(2),h(n.Name),l(2),h(n.Service),l(2),h(n.TypeString),l(2),W((a=x(9,4,e.logisticOptions$))?8:-1,a)}}var ye=(()=>{let i=class i{constructor(){this.http=f(ae),this.toastr=f(re),this.authService=f(ce),this.filter={ChannelID:""},this.logisticEditRole=ne.LogisticUpdate,this.channelOptions=this.authService.getChannels(),this.initUnsupportedChannel(),this.initLoader()}initUnsupportedChannel(){let n=[g.WooCommerce,g.Lazada,g.Shopify,g.Plugo,g.Tokopedia];this.channelOptions=this.channelOptions.map(e=>(n.forEach(o=>{e.TypeID===o&&(e.disabled=!0)}),e))}initLoader(){this.http.post("/api/Logistic/Load",{}).subscribe(n=>{this.filter=n.Filter,this.channelName=this.channelOptions[0].Name,this.initLogisticServiceOptions(),this.getLogisticService()})}initLogisticServiceOptions(){this.logisticOptions$=this.http.get("/api/Logistic/OptionLogisticsService").pipe(b(1))}submitLogistics(n){this.clonedLogisticServices$.pipe(v(e=>n.map(o=>(e.findIndex(d=>d.Name===o.Name&&d.ProductSKU==o.ProductSKU)==-1&&(o.IsChange=!0),o))),F(e=>this.http.post("/api/Logistic/Submit",e))).subscribe(()=>{this.toastr.success("Logistic service updated successfully.","Success"),this.getLogisticService()})}getLogisticService(){this.iniTitle(),this.logisticServices$=this.http.post("/api/Logistic/Get",this.filter).pipe(v(n=>n.map(e=>(e.ProductSKU=oe.IsEmpty(e.ProductSKU)?null:e.ProductSKU,e))),R(n=>{let e=JSON.parse(JSON.stringify(n));this.clonedLogisticServices$=B(e)}),b(1))}iniTitle(){let n=this.channelOptions.find(e=>e.ID==this.filter.ChannelID);this.channelName=n?n.Name:null}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=K({type:i,selectors:[["app-logistic"]],standalone:!1,decls:29,vars:8,consts:[["thenBlock",""],["elseBlock",""],["hideSearchBox","true","searchBoxPlaceHolder","Enter Number...",3,"onSubmit","headerTitle","hideSearchDropdown"],[1,"mb-2","fw-bold"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Select Channel",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[4,"ngxPermissionsOnly"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[1,"me-2"],[2,"width","18px",3,"src","alt"],["role","button","data-toggle","tooltip","data-placement","top","matTooltip","enter Logistic for recorded",1,"btn","btn-success","btn-fill","btn-lg","text-white",3,"click"],[3,"ngxPermissionsOnly","ngxPermissionsOnlyThen","ngxPermissionsOnlyElse"],["placeholder","Logistic Service Code","bindLabel","Name","bindValue","Code",1,"w-75",3,"ngModelChange","ngModel","items"]],template:function(e,o){e&1&&(r(0,"mainpanel",2),N("onSubmit",function(){return o.getLogisticService()}),r(1,"filters")(2,"div")(3,"label",3),c(4,"Select a Channel"),s(),r(5,"ng-select",4),I("ngModelChange",function(d){return w(o.filter.ChannelID,d)||(o.filter.ChannelID=d),d}),S(6,be,4,3,"ng-template",5),s()()(),r(7,"actions"),S(8,Me,5,3,"ng-container",6),s(),r(9,"content")(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"table",11)(15,"thead",12)(16,"tr",13)(17,"th"),c(18,"Logistic"),s(),r(19,"th"),c(20,"Service"),s(),r(21,"th"),c(22,"Type"),s(),r(23,"th"),c(24,"Logistic Service"),s()()(),r(25,"tbody"),j(26,Oe,10,6,"tr",null,$),C(28,"async"),s()()()()()()()()),e&2&&(p("headerTitle","Logistic Courier - "+o.channelName)("hideSearchDropdown",!1),l(5),p("clearable",!1)("items",o.channelOptions),O("ngModel",o.filter.ChannelID),l(3),p("ngxPermissionsOnly",o.logisticEditRole),l(18),A(x(28,6,o.logisticServices$)))},dependencies:[ee,te,fe,de,me,pe,he,se,Z],encapsulation:2});let t=i;return t})();var we=[{path:"",component:ye}],Le=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=_({type:i}),i.\u0275inj=u({imports:[y,L.forChild(we)]});let t=i;return t})();var mt=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=_({type:i}),i.\u0275inj=u({imports:[y,L,Le,ie,_e,ge,Ce,Se,ue,le]});let t=i;return t})();export{mt as LogisticModule};
@@ -0,0 +1,3 @@
1
+ import{D as fe,E as pe,J as ue,K as F,L as W,N as Ft,O as Vt,a as rt,b as he,c as Mt,d as p,e as At,g as at,h as P,i as ce,j as Y,k as lt,l as H,o as ht,p as It,t as de,v as Lt}from"./chunk-XLIPGDSC.js";import{b as ae,c as le}from"./chunk-LNJUGHOX.js";import{Ad as Tt,Ba as _,Bb as L,Bc as Et,Ca as y,Cb as St,Cc as xt,Dc as Pt,Fd as M,G as tt,Gb as X,Hb as E,I as wt,Ib as x,Id as re,Jc as nt,Kb as Rt,Mc as se,Na as bt,Nc as ne,Oa as it,Qa as w,Wa as te,Xb as Ot,a as T,c as $t,ca as O,da as qt,f as u,gc as ee,hc as Dt,ic as ie,ma as b,na as D,nb as Ct,pa as z,q as Kt,qc as oe,ra as l,sb as k,tb as m,ua as et,ub as A,vb as ot,vc as kt,xa as Qt,xb as I,ya as Jt,yb as st}from"./chunk-ZYJ6LAJ3.js";import{a as R,b as Ut}from"./chunk-66YHNWRR.js";var je=20,V=(()=>{class s{_ngZone=l(m);_platform=l(P);_renderer=l(I).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new u;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=je){return this._platform.isBrowser?new $t(e=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(wt(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Kt()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){let o=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(tt(n=>!n||o.indexOf(n)>-1))}getAncestorScrollContainers(t){let e=[];return this.scrollContainers.forEach((o,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_scrollableContainsElement(t,e){let o=he(e),n=t.getElementRef().nativeElement;do if(o==n)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Xe=(()=>{class s{elementRef=l(w);scrollDispatcher=l(V);ngZone=l(m);dir=l(F,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new u;_renderer=l(st);_cleanupScroll;_elementScrolled=new u;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),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(t){let e=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),o&&H()!=Y.NORMAL?(t.left!=null&&(t.right=e.scrollWidth-e.clientWidth-t.left),H()==Y.INVERTED?t.left=t.right:H()==Y.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let e=this.elementRef.nativeElement;lt()?e.scrollTo(t):(t.top!=null&&(e.scrollTop=t.top),t.left!=null&&(e.scrollLeft=t.left))}measureScrollOffset(t){let e="left",o="right",n=this.elementRef.nativeElement;if(t=="top")return n.scrollTop;if(t=="bottom")return n.scrollHeight-n.clientHeight-n.scrollTop;let r=this.dir&&this.dir.value=="rtl";return t=="start"?t=r?o:e:t=="end"&&(t=r?e:o),r&&H()==Y.INVERTED?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:r&&H()==Y.NEGATED?t==e?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:t==e?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}static \u0275fac=function(e){return new(e||s)};static \u0275dir=x({type:s,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return s})(),We=20,j=(()=>{class s{_platform=l(P);_listeners;_viewportSize;_change=new u;_document=l(y);constructor(){let t=l(m),e=l(I).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=n=>this._change.next(n);this._listeners=[e.listen("window","resize",o),e.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:e,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+e,height:o,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,e=this._getWindow(),o=t.documentElement,n=o.getBoundingClientRect(),r=-n.top||t.body.scrollTop||e.scrollY||o.scrollTop||0,a=-n.left||t.body.scrollLeft||e.scrollX||o.scrollLeft||0;return{top:r,left:a}}change(t=We){return t>0?this._change.pipe(wt(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var G=(()=>{class s{static \u0275fac=function(e){return new(e||s)};static \u0275mod=E({type:s});static \u0275inj=D({})}return s})(),Bt=(()=>{class s{static \u0275fac=function(e){return new(e||s)};static \u0275mod=E({type:s});static \u0275inj=D({imports:[W,G,W,G]})}return s})();var Z=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}},U=class extends Z{component;viewContainerRef;injector;projectableNodes;constructor(i,t,e,o){super(),this.component=i,this.viewContainerRef=t,this.injector=e,this.projectableNodes=o}},$=class extends Z{templateRef;viewContainerRef;context;injector;constructor(i,t,e,o){super(),this.templateRef=i,this.viewContainerRef=t,this.context=e,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,t=this.context){return this.context=t,super.attach(i)}detach(){return this.context=void 0,super.detach()}},Nt=class extends Z{element;constructor(i){super(),this.element=i instanceof w?i.nativeElement:i}},dt=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof U)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof $)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof Nt)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)}},ft=class extends dt{outletElement;_appRef;_defaultInjector;constructor(i,t,e){super(),this.outletElement=i,this._appRef=t,this._defaultInjector=e}attachComponentPortal(i){let t;if(i.viewContainerRef){let e=i.injector||i.viewContainerRef.injector,o=e.get(St,null,{optional:!0})||void 0;t=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:e,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{let e=this._appRef,o=i.injector||this._defaultInjector||_.NULL,n=o.get(et,e.injector);t=re(i.component,{elementInjector:o,environmentInjector:n,projectableNodes:i.projectableNodes||void 0}),e.attachView(t.hostView),this.setDisposeFn(()=>{e.viewCount>0&&e.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=i,t}attachTemplatePortal(i){let t=i.viewContainerRef,e=t.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return e.rootNodes.forEach(o=>this.outletElement.appendChild(o)),e.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(e);o!==-1&&t.remove(o)}),this._attachedPortal=i,e}attachDomPortal=i=>{let t=i.element;t.parentNode;let e=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(e,t),this.outletElement.appendChild(t),this._attachedPortal=i,super.setDisposeFn(()=>{e.parentNode&&e.parentNode.replaceChild(t,e)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var Ki=(()=>{class s extends dt{_moduleRef=l(St,{optional:!0});_document=l(y);_viewContainerRef=l(L);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new k;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=e.createComponent(t.component,{index:e.length,injector:t.injector||e.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return e!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}attachDomPortal=t=>{let e=t.element;e.parentNode;let o=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(o,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(e,o)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(e){return new(e||s)};static \u0275dir=x({type:s,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Rt]})}return s})();var _e=(()=>{class s{static \u0275fac=function(e){return new(e||s)};static \u0275mod=E({type:s});static \u0275inj=D({})}return s})();var ge=lt();function Re(s){return new pt(s.get(j),s.get(y))}var pt=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,t){this._viewportRuler=i,this._document=t}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=p(-this._previousScrollPosition.left),i.style.top=p(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,t=this._document.body,e=i.style,o=t.style,n=e.scrollBehavior||"",r=o.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),ge&&(e.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ge&&(e.scrollBehavior=n,o.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}};function Oe(s,i){return new ut(s.get(V),s.get(m),s.get(j),i)}var ut=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,t,e,o){this._scrollDispatcher=i,this._ngZone=t,this._viewportRuler=e,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(tt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-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 K=class{enable(){}disable(){}attach(){}};function zt(s,i){return i.some(t=>{let e=s.bottom<t.top,o=s.top>t.bottom,n=s.right<t.left,r=s.left>t.right;return e||o||n||r})}function me(s,i){return i.some(t=>{let e=s.top<t.top,o=s.bottom>t.bottom,n=s.left<t.left,r=s.right>t.right;return e||o||n||r})}function N(s,i){return new _t(s.get(V),s.get(j),s.get(m),i)}var _t=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,t,e,o){this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=e,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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:o}=this._viewportRuler.getViewportSize();zt(t,[{width:e,height:o,bottom:o,right:e,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}},De=(()=>{class s{_injector=l(_);constructor(){}noop=()=>new K;close=t=>Oe(this._injector,t);block=()=>Re(this._injector);reposition=t=>N(this._injector,t);static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),q=class{positionStrategy;scrollStrategy=new K;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let t=Object.keys(i);for(let e of t)i[e]!==void 0&&(this[e]=i[e])}}};var gt=class{connectionPair;scrollableViewProperties;constructor(i,t){this.connectionPair=i,this.scrollableViewProperties=t}};var ke=(()=>{class s{_attachedOverlays=[];_document=l(y);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Ee=(()=>{class s extends ke{_ngZone=l(m);_renderer=l(I).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),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=t=>{let e=this._attachedOverlays;for(let o=e.length-1;o>-1;o--)if(e[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>e[o]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=it(s)))(o||s)}})();static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),xe=(()=>{class s extends ke{_platform=l(P);_ngZone=l(m);_renderer=l(I).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){let e=this._document.body,o={capture:!0},n=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"pointerdown",this._pointerDownListener,o),n.listen(e,"click",this._clickListener,o),n.listen(e,"auxclick",this._clickListener,o),n.listen(e,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=ht(t)};_clickListener=t=>{let e=ht(t),o=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){let a=n[r];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(ve(a.overlayElement,e)||ve(a.overlayElement,o))break;let c=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=it(s)))(o||s)}})();static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function ve(s,i){let t=typeof ShadowRoot<"u"&&ShadowRoot,e=i;for(;e;){if(e===s)return!0;e=t&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var Pe=(()=>{class s{static \u0275fac=function(e){return new(e||s)};static \u0275cmp=X({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(e,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}
2
+ `],encapsulation:2,changeDetection:0})}return s})(),Te=(()=>{class s{_platform=l(P);_containerElement;_document=l(y);_styleLoader=l(Lt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||It()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let n=0;n<o.length;n++)o[n].remove()}let e=this._document.createElement("div");e.classList.add(t),It()?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}_loadStyles(){this._styleLoader.load(Pe)}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Yt=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,t,e,o){this._renderer=t,this._ngZone=e,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.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()}},mt=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new u;_attachments=new u;_detachments=new u;_positionStrategy;_scrollStrategy;_locationChanges=T.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new u;_outsidePointerEvents=new u;_afterNextRenderRef;constructor(i,t,e,o,n,r,a,c,d,h=!1,f,S){this._portalOutlet=i,this._host=t,this._pane=e,this._config=o,this._ngZone=n,this._keyboardDispatcher=r,this._document=a,this._location=c,this._outsideClickDispatcher=d,this._animationsDisabled=h,this._injector=f,this._renderer=S,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 t=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=A(()=>{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 t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}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=R(R({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Ut(R({},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=p(this._config.width),i.height=p(this._config.height),i.minWidth=p(this._config.minWidth),i.minHeight=p(this._config.minHeight),i.maxWidth=p(this._config.maxWidth),i.maxHeight=p(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Yt(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),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,t,e){let o=Mt(t||[]).filter(n=>!!n);o.length&&(e?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=A(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(t){if(i)throw t;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?.()}},ye="cdk-overlay-connected-position-bounding-box",Ge=/([A-Za-z%]+)$/;function Q(s,i){return new vt(i,s.get(j),s.get(y),s.get(P),s.get(Te))}var vt=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 u;_resizeSubscription=T.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,t,e,o,n){this._viewportRuler=t,this._document=e,this._platform=o,this._overlayContainer=n,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(ye),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,t=this._overlayRect,e=this._viewportRect,o=this._containerRect,n=[],r;for(let a of this._preferredPositions){let c=this._getOriginPoint(i,o,a),d=this._getOverlayPoint(c,t,a),h=this._getOverlayFit(d,t,e,a);if(h.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(h,d,e)){n.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!r||r.overlayFit.visibleArea<h.visibleArea)&&(r={overlayFit:h,overlayPoint:d,originPoint:c,position:a,overlayRect:t})}if(n.length){let a=null,c=-1;for(let d of n){let h=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);h>c&&(c=h,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ye),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 t=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,t)}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,t,e){let o;if(e.originX=="center")o=i.left+i.width/2;else{let r=this._isRtl()?i.right:i.left,a=this._isRtl()?i.left:i.right;o=e.originX=="start"?r:a}t.left<0&&(o-=t.left);let n;return e.originY=="center"?n=i.top+i.height/2:n=e.originY=="top"?i.top:i.bottom,t.top<0&&(n-=t.top),{x:o,y:n}}_getOverlayPoint(i,t,e){let o;e.overlayX=="center"?o=-t.width/2:e.overlayX==="start"?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let n;return e.overlayY=="center"?n=-t.height/2:n=e.overlayY=="top"?0:-t.height,{x:i.x+o,y:i.y+n}}_getOverlayFit(i,t,e,o){let n=be(t),{x:r,y:a}=i,c=this._getOffset(o,"x"),d=this._getOffset(o,"y");c&&(r+=c),d&&(a+=d);let h=0-r,f=r+n.width-e.width,S=0-a,v=a+n.height-e.height,g=this._subtractOverflows(n.width,h,f),C=this._subtractOverflows(n.height,S,v),Zt=g*C;return{visibleArea:Zt,isCompletelyWithinViewport:n.width*n.height===Zt,fitsInViewportVertically:C===n.height,fitsInViewportHorizontally:g==n.width}}_canFitWithFlexibleDimensions(i,t,e){if(this._hasFlexibleDimensions){let o=e.bottom-t.y,n=e.right-t.x,r=we(this._overlayRef.getConfig().minHeight),a=we(this._overlayRef.getConfig().minWidth),c=i.fitsInViewportVertically||r!=null&&r<=o,d=i.fitsInViewportHorizontally||a!=null&&a<=n;return c&&d}return!1}_pushOverlayOnScreen(i,t,e){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=be(t),n=this._viewportRect,r=Math.max(i.x+o.width-n.width,0),a=Math.max(i.y+o.height-n.height,0),c=Math.max(n.top-e.top-i.y,0),d=Math.max(n.left-e.left-i.x,0),h=0,f=0;return o.width<=n.width?h=d||-r:h=i.x<this._viewportMargin?n.left-e.left-i.x:0,o.height<=n.height?f=c||-a:f=i.y<this._viewportMargin?n.top-e.top-i.y:0,this._previousPushAmount={x:h,y:f},{x:i.x+h,y:i.y+f}}_applyPosition(i,t){if(this._setTransformOrigin(i),this._setOverlayElementStyles(t,i),this._setBoundingBoxStyles(t,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let e=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!Ze(this._lastScrollVisibility,e)){let o=new gt(i,e);this._positionChanges.next(o)}this._lastScrollVisibility=e}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,o=i.overlayY;i.overlayX==="center"?e="center":this._isRtl()?e=i.overlayX==="start"?"right":"left":e=i.overlayX==="start"?"left":"right";for(let n=0;n<t.length;n++)t[n].style.transformOrigin=`${e} ${o}`}_calculateBoundingBoxRect(i,t){let e=this._viewportRect,o=this._isRtl(),n,r,a;if(t.overlayY==="top")r=i.y,n=e.height-r+this._viewportMargin;else if(t.overlayY==="bottom")a=e.height-i.y+this._viewportMargin*2,n=e.height-a+this._viewportMargin;else{let v=Math.min(e.bottom-i.y+e.top,i.y),g=this._lastBoundingBoxSize.height;n=v*2,r=i.y-v,n>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=i.y-g/2)}let c=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,d=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,h,f,S;if(d)S=e.width-i.x+this._viewportMargin*2,h=i.x-this._viewportMargin;else if(c)f=i.x,h=e.right-i.x;else{let v=Math.min(e.right-i.x+e.left,i.x),g=this._lastBoundingBoxSize.width;h=v*2,f=i.x-v,h>g&&!this._isInitialRender&&!this._growAfterOpen&&(f=i.x-g/2)}return{top:r,left:f,bottom:a,right:S,width:h,height:n}}_setBoundingBoxStyles(i,t){let e=this._calculateBoundingBoxRect(i,t);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.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 n=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;o.height=p(e.height),o.top=p(e.top),o.bottom=p(e.bottom),o.width=p(e.width),o.left=p(e.left),o.right=p(e.right),t.overlayX==="center"?o.alignItems="center":o.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?o.justifyContent="center":o.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",n&&(o.maxHeight=p(n)),r&&(o.maxWidth=p(r))}this._lastBoundingBoxSize=e,B(this._boundingBox.style,o)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,t){let e={},o=this._hasExactPosition(),n=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(o){let h=this._viewportRuler.getViewportScrollPosition();B(e,this._getExactOverlayY(t,i,h)),B(e,this._getExactOverlayX(t,i,h))}else e.position="static";let a="",c=this._getOffset(t,"x"),d=this._getOffset(t,"y");c&&(a+=`translateX(${c}px) `),d&&(a+=`translateY(${d}px)`),e.transform=a.trim(),r.maxHeight&&(o?e.maxHeight=p(r.maxHeight):n&&(e.maxHeight="")),r.maxWidth&&(o?e.maxWidth=p(r.maxWidth):n&&(e.maxWidth="")),B(this._pane.style,e)}_getExactOverlayY(i,t,e){let o={top:"",bottom:""},n=this._getOverlayPoint(t,this._overlayRect,i);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e)),i.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;o.bottom=`${r-(n.y+this._overlayRect.height)}px`}else o.top=p(n.y);return o}_getExactOverlayX(i,t,e){let o={left:"",right:""},n=this._getOverlayPoint(t,this._overlayRect,i);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e));let r;if(this._isRtl()?r=i.overlayX==="end"?"left":"right":r=i.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(n.x+this._overlayRect.width)}px`}else o.left=p(n.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),t=this._pane.getBoundingClientRect(),e=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:me(i,e),isOriginOutsideView:zt(i,e),isOverlayClipped:me(t,e),isOverlayOutsideView:zt(t,e)}}_subtractOverflows(i,...t){return t.reduce((e,o)=>e-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+i-this._viewportMargin,bottom:e.top+t-this._viewportMargin,width:i-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,t){return t==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&Mt(i).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof w)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let t=i.width||0,e=i.height||0;return{top:i.y,bottom:i.y+e,left:i.x,right:i.x+t,height:e,width:t}}};function B(s,i){for(let t in i)i.hasOwnProperty(t)&&(s[t]=i[t]);return s}function we(s){if(typeof s!="number"&&s!=null){let[i,t]=s.split(Ge);return!t||t==="px"?parseFloat(i):null}return s||null}function be(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}function Ze(s,i){return s===i?!0:s.isOriginClipped===i.isOriginClipped&&s.isOriginOutsideView===i.isOriginOutsideView&&s.isOverlayClipped===i.isOverlayClipped&&s.isOverlayOutsideView===i.isOverlayOutsideView}var Ce="cdk-global-overlay-wrapper";function Me(s){return new yt}var yt=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let t=i.getConfig();this._overlayRef=i,this._width&&!t.width&&i.updateSize({width:this._width}),this._height&&!t.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(Ce),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,t=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:o,height:n,maxWidth:r,maxHeight:a}=e,c=(o==="100%"||o==="100vw")&&(!r||r==="100%"||r==="100vw"),d=(n==="100%"||n==="100vh")&&(!a||a==="100%"||a==="100vh"),h=this._xPosition,f=this._xOffset,S=this._overlayRef.getConfig().direction==="rtl",v="",g="",C="";c?C="flex-start":h==="center"?(C="center",S?g=f:v=f):S?h==="left"||h==="end"?(C="flex-end",v=f):(h==="right"||h==="start")&&(C="flex-start",g=f):h==="left"||h==="start"?(C="flex-start",v=f):(h==="right"||h==="end")&&(C="flex-end",g=f),i.position=this._cssPosition,i.marginLeft=c?"0":v,i.marginTop=d?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=c?"0":g,t.justifyContent=C,t.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,e=t.style;t.classList.remove(Ce),e.justifyContent=e.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},Ae=(()=>{class s{_injector=l(_);constructor(){}global(){return Me()}flexibleConnectedTo(t){return Q(this._injector,t)}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();function J(s,i){s.get(Lt).load(Pe);let t=s.get(Te),e=s.get(y),o=s.get(pe),n=s.get(Ot),r=s.get(F),a=e.createElement("div"),c=e.createElement("div");c.id=o.getId("cdk-overlay-"),c.classList.add("cdk-overlay-pane"),a.appendChild(c),t.getContainerElement().appendChild(a);let d=new ft(c,n,s),h=new q(i),f=s.get(st,null,{optional:!0})||s.get(I).createRenderer(null,null);return h.direction=h.direction||r.value,new mt(d,a,c,h,s.get(m),s.get(Ee),e,s.get(ae),s.get(xe),i?.disableAnimations??s.get(te,null,{optional:!0})==="NoopAnimations",s.get(et),f)}var Ie=(()=>{class s{scrollStrategies=l(De);_positionBuilder=l(Ae);_injector=l(_);constructor(){}create(t){return J(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Ue=[{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"}],Le=new z("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let s=l(_);return()=>N(s)}}),Ht=(()=>{class s{elementRef=l(w);constructor(){}static \u0275fac=function(e){return new(e||s)};static \u0275dir=x({type:s,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return s})(),$e=(()=>{class s{_dir=l(F,{optional:!0});_injector=l(_);_overlayRef;_templatePortal;_backdropSubscription=T.EMPTY;_attachSubscription=T.EMPTY;_detachSubscription=T.EMPTY;_positionSubscription=T.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=l(Le);_disposeOnNavigation=!1;_ngZone=l(m);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,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(t){this._disposeOnNavigation=t}backdropClick=new k;positionChange=new k;attach=new k;detach=new k;overlayKeydown=new k;overlayOutsideClick=new k;constructor(){let t=l(ot),e=l(L);this._templatePortal=new $(t,e),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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ue);let t=this._overlayRef=J(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode===27&&!this.disableClose&&!at(e)&&(e.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{let o=this._getOriginElement(),n=ht(e);(!o||o!==n&&!o.contains(n))&&this.overlayOutsideClick.next(e)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new q({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(e.width=this.width),(this.height||this.height===0)&&(e.height=this.height),(this.minWidth||this.minWidth===0)&&(e.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){let e=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 t.setOrigin(this._getOrigin()).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=Q(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Ht?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ht?this.origin.elementRef.nativeElement:this.origin instanceof w?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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qt(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),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(e){return new(e||s)};static \u0275dir=x({type:s,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",M],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",M],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",M],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",M],push:[2,"cdkConnectedOverlayPush","push",M],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",M]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[bt]})}return s})();function Ke(s){let i=l(_);return()=>N(i)}var qe={provide:Le,useFactory:Ke},jt=(()=>{class s{static \u0275fac=function(e){return new(e||s)};static \u0275mod=E({type:s});static \u0275inj=D({providers:[Ie,qe],imports:[W,_e,Bt,Bt]})}return s})();var Qe=["tooltip"],Xt=20;var Wt=new z("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let s=l(_);return()=>N(s,{scrollThrottle:Xt})}});function Be(s){let i=l(_);return()=>N(i,{scrollThrottle:Xt})}var Gt={provide:Wt,deps:[],useFactory:Be};function Ne(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var ze=new z("mat-tooltip-default-options",{providedIn:"root",factory:Ne});var Fe="tooltip-panel",Ve=ce({passive:!0}),Je=8,ti=8,ei=24,ii=200,oi=(()=>{class s{_elementRef=l(w);_ngZone=l(m);_platform=l(P);_ariaDescriber=l(ue);_focusMonitor=l(de);_dir=l(F);_injector=l(_);_viewContainerRef=l(L);_animationsDisabled=Ft();_defaultOptions=l(ze,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Ye;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=At(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=At(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=rt(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=rt(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new u;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=Je}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(O(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([e,o])=>{t.removeEventListener(e,o,Ve)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(e);this._detach(),this._portal=this._portal||new U(this._tooltipComponent,this._viewContainerRef);let n=this._tooltipInstance=o.attach(this._portal).instance;n._triggerElement=this._elementRef.nativeElement,n._mouseLeaveHideDelay=this._hideDelay,n.afterHidden().pipe(O(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),n.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&r._origin instanceof w)return this._overlayRef;this._detach()}let e=this._injector.get(V).getAncestorScrollContainers(this._elementRef),o=`${this._cssClassPrefix}-${Fe}`,n=Q(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return n.positionChanges.pipe(O(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=J(this._injector,{direction:this._dir,positionStrategy:n,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,o]:o,scrollStrategy:this._injector.get(Wt)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(O(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(O(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(O(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===27&&!at(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(O(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,o=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(R(R({},o.main),n.main)),this._addOffset(R(R({},o.fallback),n.fallback))])}_addOffset(t){let e=ti,o=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=o?-e:e:t.originX==="end"&&(t.offsetX=o?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,o;e=="above"||e=="below"?o={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?o={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(o={originX:"end",originY:"center"});let{x:n,y:r}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:n,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,o;e=="above"?o={overlayX:"center",overlayY:"bottom"}:e=="below"?o={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?o={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(o={overlayX:"start",overlayY:"center"});let{x:n,y:r}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:n,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),A(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:o,originY:n}=t,r;if(e==="center"?this._dir&&this._dir.value==="rtl"?r=o==="end"?"left":"right":r=o==="start"?"left":"right":r=e==="bottom"&&n==="top"?"above":"below",r!==this._currentPosition){let a=this._overlayRef;if(a){let c=`${this._cssClassPrefix}-${Fe}-`;a.removePanelClass(c+this._currentPosition),a.addPanelClass(c+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let e=t.targetTouches?.[0],o=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let n=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions?.touchLongPressShowDelay??n)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",e=>{let o=e.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",e=>this._wheelListener(e)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([e,o])=>{this._elementRef.nativeElement.addEventListener(e,o,Ve)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let e=this._injector.get(y).elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;e!==o&&!o.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,o=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(t==="on"||!e.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._isDestroyed||A({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(e){return new(e||s)};static \u0275dir=x({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,o){e&2&&nt("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return s})(),Ye=(()=>{class s{_changeDetectorRef=l(Tt);_elementRef=l(w);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=Ft();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new u;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>ei&&t.width>=ii}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,o=this._showAnimation,n=this._hideAnimation;if(e.classList.remove(t?n:o),e.classList.add(t?o:n),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(e);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=X({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(e,o){if(e&1&&Et(Qe,7),e&2){let n;xt(n=Pt())&&(o._tooltip=n.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,o){e&1&&kt("mouseleave",function(r){return o._handleMouseLeave(r)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,o){if(e&1){let n=oe();Dt(0,"div",1,0),kt("animationend",function(a){return Qt(n),Jt(o._handleAnimationEnd(a))}),Dt(2,"div",2),se(3),ie()()}e&2&&(nt("mdc-tooltip--multiline",o._isMultiline),ee("ngClass",o.tooltipClass),Ct(3),ne(o.message))},dependencies:[le],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
3
+ `],encapsulation:2,changeDetection:0})}return s})();var si=(()=>{class s{static \u0275fac=function(e){return new(e||s)};static \u0275mod=E({type:s});static \u0275inj=D({providers:[Gt],imports:[fe,jt,Vt,Vt,G]})}return s})();export{V as a,Xe as b,j as c,G as d,U as e,$ as f,dt as g,Ki as h,_e as i,Re as j,N as k,q as l,Te as m,mt as n,Q as o,vt as p,Me as q,J as r,Ht as s,$e as t,jt as u,oi as v,si as w};
@@ -0,0 +1 @@
1
+ import{a as S}from"./chunk-DAUML5UD.js";import{d as T,e as O}from"./chunk-6KWG6O5L.js";import{A as M,h as y,m as f}from"./chunk-L3W6SG2T.js";import{Gb as b,Mc as h,gc as u,hc as a,ic as i,ma as C,nb as d,sd as g,td as s,vc as c}from"./chunk-ZYJ6LAJ3.js";var p=(function(e){return e[e.SkuAndName=0]="SkuAndName",e[e.SKUOnly=1]="SKUOnly",e[e.NameOnly=2]="NameOnly",e})(p||{});var o=(function(e){return e[e.Is=0]="Is",e[e.StartsWith=1]="StartsWith",e[e.EndsWith=2]="EndsWith",e[e.Contains=3]="Contains",e})(o||{});var I=(()=>{let n=class n{generatePlaceholderBySearchType(m,r){let t="Search ...";switch(m){case p.SkuAndName:t="SKU / Name";break;case p.SKUOnly:t="SKU";break;case p.NameOnly:t="Name";break}switch(r){case o.StartsWith:t=`${t} Starts With`;break;case o.EndsWith:t=`${t} Ends With`;break;case o.Contains:t=`${t} Contains`;break;case o.Is:t=`${t} Is`;break}return t}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"});let e=n;return e})();var Q=(()=>{let n=class n{constructor(){this.searchType=s(),this.searchTypeChange=g(),this.searchTypeOptions=s([]),this.numberFilterComparator=s(),this.numberFilterComparatorChange=g(),this.numberFilterComparatorOptions=s([])}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=b({type:n,selectors:[["filter-query-type"]],inputs:{searchType:[1,"searchType"],searchTypeOptions:[1,"searchTypeOptions"],numberFilterComparator:[1,"numberFilterComparator"],numberFilterComparatorOptions:[1,"numberFilterComparatorOptions"]},outputs:{searchTypeChange:"searchTypeChange",numberFilterComparatorChange:"numberFilterComparatorChange"},decls:9,vars:4,consts:[[1,"mb-5"],[1,"fw-bold","mb-2"],["bindLabel","Value","bindValue","Key","placeholder","Number Filter Comparator","name","numberFilterComparator","appendTo","body",3,"ngModelChange","items","ngModel"],[1,"border","border-1","rounded-1","p-4"],[3,"ngModelChange","options","ngModel"]],template:function(r,t){r&1&&(a(0,"div",0)(1,"label",1),h(2,"Number Filter Comparator"),i(),a(3,"ng-select",2),c("ngModelChange",function(l){return t.numberFilterComparatorChange.emit(l)}),i()(),a(4,"div")(5,"label",1),h(6,"Search Type"),i(),a(7,"div",3)(8,"radio-options",4),c("ngModelChange",function(l){return t.searchTypeChange.emit(l)}),i()()()),r&2&&(d(3),u("items",t.numberFilterComparatorOptions())("ngModel",t.numberFilterComparator()),d(5),u("options",t.searchTypeOptions())("ngModel",t.searchType()))},dependencies:[S,O,T,M,y,f],encapsulation:2});let e=n;return e})();export{p as a,o as b,I as c,Q as d};
@@ -0,0 +1 @@
1
+ import{a as c}from"./chunk-3L7Y6LG6.js";import{a as k}from"./chunk-ZSUWHVKX.js";import"./chunk-AGBJEXIM.js";import"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{m as K,n as U}from"./chunk-EDEZ3JLR.js";import"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import{b as z,c as N}from"./chunk-ZETUYNFJ.js";import{v as j,w as H}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{G as B,I as $,i as L,m as I}from"./chunk-LNJUGHOX.js";import{$b as x,$c as O,Gb as S,Mb as h,Mc as p,Nc as T,Tc as R,Uc as b,Vc as D,Z as f,Zc as F,bc as C,cc as _,ec as y,fc as M,gc as s,hc as i,hd as w,ic as o,id as A,jc as g,nb as n,nc as E,oc as P,ra as v,xc as d}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var V=e=>[e];function q(e,t){e&1&&(E(0),i(1,"a",10),g(2,"i",11),p(3," Edit "),o(),P())}function G(e,t){if(e&1&&(i(0,"span",12),p(1),o()),e&2){let l=d().$implicit;n(),T(l.Value)}}function J(e,t){if(e&1&&x(0,G,2,1,"span",12),e&2){let l=t.$implicit;d();let r=D(0);C(l.Key==(r.Form==null?null:r.Form.AuthorizationMode)?0:-1)}}var ce=(()=>{let t=class t{constructor(){this.setupService=v(c),this.setupData$=this.setupService.getConfig().pipe(f(1)),this.userEditRole=k.UserEdit}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=S({type:t,selectors:[["app-setup-info"]],features:[F([c])],decls:19,vars:8,consts:[["headerTitle","Setup",3,"hideSearchBox","hideSearchDropdown"],[4,"ngxPermissionsOnly"],[1,"container-fluid","py-5"],[1,"row","mt-4"],[1,"col-12"],[1,"card"],[1,"card-body","mt-8"],[1,"row"],[1,"col-6"],["matTooltipPosition","above","matTooltip","Select where Authentication and Roles are managed, Legacy (from POS) or Modern (from omni.dealpos.app)",1,"info-label-group"],["role","button","routerLink","/menu/users/setup/form",1,"btn","btn-outline-secondary"],[1,"fa","fa-edit","me-1"],["matTooltipPosition","above"]],template:function(a,u){if(a&1&&(R(0),w(1,"async"),i(2,"mainpanel",0)(3,"actions"),h(4,q,4,0,"ng-container",1),o(),i(5,"content")(6,"div",2)(7,"div",3)(8,"div",4)(9,"div",5)(10,"div",6)(11,"div",7)(12,"div",8)(13,"div",9)(14,"label"),p(15,"Authorization Mode"),o(),i(16,"div"),y(17,J,1,1,null,null,_),o()()()()()()()()()()()),a&2){let m=b(A(1,3,u.setupData$));n(2),s("hideSearchBox",!0)("hideSearchDropdown",!0),n(2),s("ngxPermissionsOnly",O(6,V,u.userEditRole)),n(13),M(m==null||m.Options==null?null:m.Options.AuthorizationMode)}},dependencies:[I,U,K,H,j,$,B,N,z,L],encapsulation:2});let e=t;return e})();export{ce as SetupInfoComponent};