dealpos 25.50.1 → 25.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/browser/{chunk-HGSF7LOB.js → chunk-27OXTS7Y.js} +1 -1
  2. package/browser/{chunk-2EP6XDTW.js → chunk-2EHLYOAD.js} +1 -1
  3. package/browser/{chunk-7HOW5QOQ.js → chunk-2GIDUMXS.js} +1 -1
  4. package/browser/{chunk-BRNU2JXC.js → chunk-2MAOKHWO.js} +1 -1
  5. package/browser/{chunk-KVMBRL53.js → chunk-2WSP3Y6V.js} +1 -1
  6. package/browser/{chunk-HWPSC7RE.js → chunk-3DL5OLEL.js} +1 -1
  7. package/browser/{chunk-CFWHBIM3.js → chunk-3DUSH3ND.js} +1 -1
  8. package/browser/{chunk-NOYC5PIT.js → chunk-3FS7DBBR.js} +1 -1
  9. package/browser/{chunk-5Y24QJWR.js → chunk-3HDEMBWS.js} +1 -1
  10. package/browser/chunk-3M5FKEPW.js +1 -0
  11. package/browser/{chunk-O2VVATBW.js → chunk-3MAZIRSX.js} +1 -1
  12. package/browser/{chunk-CI4ULOBO.js → chunk-3PKJLXTC.js} +1 -1
  13. package/browser/{chunk-PHH2AA3W.js → chunk-3Q5WV3VF.js} +1 -1
  14. package/browser/{chunk-CMKONRKZ.js → chunk-3XDE3GJ3.js} +1 -1
  15. package/browser/{chunk-ZMJLTU5O.js → chunk-3XH2STFE.js} +1 -1
  16. package/browser/{chunk-26YFRPR2.js → chunk-3ZH3XK5V.js} +1 -1
  17. package/browser/{chunk-42EJHS3A.js → chunk-43G72GH2.js} +1 -1
  18. package/browser/{chunk-MLBTUOHX.js → chunk-4467AQLM.js} +1 -1
  19. package/browser/chunk-4CYACZL5.js +149 -0
  20. package/browser/{chunk-2MPRVJXH.js → chunk-4HJHXVYF.js} +1 -1
  21. package/browser/{chunk-S7FOJJP2.js → chunk-4HLKKTIV.js} +1 -1
  22. package/browser/{chunk-MNJSQKLX.js → chunk-4L4MSVOU.js} +1 -1
  23. package/browser/{chunk-XLKF6N3S.js → chunk-4MWVPOV6.js} +1 -1
  24. package/browser/{chunk-FIHBOJV4.js → chunk-4OTZNFYS.js} +1 -1
  25. package/browser/{chunk-W26SBQKL.js → chunk-57WKDIDF.js} +1 -1
  26. package/browser/{chunk-OQI4P5JW.js → chunk-5HIJCKLY.js} +1 -1
  27. package/browser/{chunk-TXJJUZ26.js → chunk-5PDQ5UNO.js} +1 -1
  28. package/browser/{chunk-FW4OCSXV.js → chunk-5RFSSCAR.js} +1 -1
  29. package/browser/{chunk-36GWLMZX.js → chunk-5RYL4EJ2.js} +1 -1
  30. package/browser/{chunk-B36P4U32.js → chunk-5VYU6SHE.js} +1 -1
  31. package/browser/chunk-5YBSS4EL.js +21 -0
  32. package/browser/{chunk-HGD6HRSU.js → chunk-5ZPO7V26.js} +1 -1
  33. package/browser/{chunk-I3SVXKZW.js → chunk-67UFIJ2O.js} +1 -1
  34. package/browser/{chunk-NEP77MPC.js → chunk-6AHKVKAZ.js} +2 -2
  35. package/browser/chunk-6F45DEGR.js +136 -0
  36. package/browser/{chunk-DC3TCY6D.js → chunk-6G7LPAEQ.js} +1 -1
  37. package/browser/{chunk-NZLZ6H6Q.js → chunk-6GCAXVFO.js} +1 -1
  38. package/browser/{chunk-7F4QLFQQ.js → chunk-6I2YT4SH.js} +1 -1
  39. package/browser/{chunk-KAPQ56CY.js → chunk-6LZENMYE.js} +1 -1
  40. package/browser/{chunk-JIE2RXLX.js → chunk-6O6OE4KQ.js} +14 -14
  41. package/browser/{chunk-XAT2P7QI.js → chunk-6UY42XOC.js} +1 -1
  42. package/browser/{chunk-OXWQ7ZZS.js → chunk-6WMEGLEF.js} +1 -1
  43. package/browser/{chunk-D7DUI5NF.js → chunk-6XNP4ZXB.js} +1 -1
  44. package/browser/chunk-735YXRQB.js +1 -0
  45. package/browser/{chunk-OYGBAHVX.js → chunk-73ADHCC2.js} +1 -1
  46. package/browser/{chunk-QZZ2NRA3.js → chunk-75FYOZH7.js} +1 -1
  47. package/browser/{chunk-CCD6EYWH.js → chunk-76CUXDTU.js} +1 -1
  48. package/browser/{chunk-C4M7VQFI.js → chunk-7JBFR3T4.js} +1 -1
  49. package/browser/{chunk-DWZ5JTI2.js → chunk-7MRUPBXU.js} +1 -1
  50. package/browser/{chunk-KZFNI67M.js → chunk-7YYWBCWJ.js} +1 -1
  51. package/browser/{chunk-E4L4PN2C.js → chunk-A2EDYIYP.js} +1 -1
  52. package/browser/{chunk-PFIN2VSA.js → chunk-A5LIALQE.js} +1 -1
  53. package/browser/{chunk-QI7I46MV.js → chunk-A7C35XPM.js} +1 -1
  54. package/browser/{chunk-AQW4VS3Y.js → chunk-ACXQ2FOW.js} +1 -1
  55. package/browser/{chunk-WMZLH4YK.js → chunk-AHTR7XKG.js} +1 -1
  56. package/browser/{chunk-XTCEZONP.js → chunk-AJAUI7BA.js} +1 -1
  57. package/browser/{chunk-6C2HPRJZ.js → chunk-AQKJ3LSN.js} +1 -1
  58. package/browser/{chunk-RESN2GAB.js → chunk-ARAUAPQU.js} +1 -1
  59. package/browser/{chunk-3HZIDGPN.js → chunk-AXCTEREY.js} +1 -1
  60. package/browser/{chunk-SIQZO2WM.js → chunk-B4TZQBTN.js} +1 -1
  61. package/browser/{chunk-BFTWW3SB.js → chunk-B6TCVVAN.js} +1 -1
  62. package/browser/{chunk-BT7NN7PT.js → chunk-BAXZ74LK.js} +1 -1
  63. package/browser/{chunk-KB4247J2.js → chunk-BHQZXJKQ.js} +1 -1
  64. package/browser/{chunk-TY24TZEK.js → chunk-BVOUQJCA.js} +1 -1
  65. package/browser/{chunk-RSNEHVIM.js → chunk-C22G4JGX.js} +1 -1
  66. package/browser/{chunk-4BXCIT62.js → chunk-CCIHCGP5.js} +1 -1
  67. package/browser/{chunk-FQZELIHB.js → chunk-CERE2LBX.js} +1 -1
  68. package/browser/{chunk-VOTRMLKO.js → chunk-CRKJEU3Z.js} +1 -1
  69. package/browser/{chunk-FAED643P.js → chunk-CVN6ZXXJ.js} +1 -1
  70. package/browser/{chunk-BYTV42NJ.js → chunk-D6HBPIFD.js} +1 -1
  71. package/browser/{chunk-NYZIEOHQ.js → chunk-D7YMUC3H.js} +1 -1
  72. package/browser/{chunk-RTYMNLFW.js → chunk-DCONKX6G.js} +1 -1
  73. package/browser/{chunk-TYE7PH3R.js → chunk-DIWYKKLA.js} +1 -1
  74. package/browser/{chunk-UU4IU25V.js → chunk-DJUOMCAV.js} +1 -1
  75. package/browser/{chunk-GWKBJZYT.js → chunk-DODZXMH2.js} +1 -1
  76. package/browser/{chunk-GTPQNPNO.js → chunk-DSXOFWO7.js} +1 -1
  77. package/browser/{chunk-XSNUFD7O.js → chunk-DX56EYRS.js} +1 -1
  78. package/browser/{chunk-VVYRPW2Y.js → chunk-E4AXPU4U.js} +1 -1
  79. package/browser/{chunk-R2GUMKAU.js → chunk-E634BI4W.js} +1 -1
  80. package/browser/chunk-ECW7GAZQ.js +1 -0
  81. package/browser/{chunk-C2NCV7VC.js → chunk-EMH25BNO.js} +1 -1
  82. package/browser/{chunk-TCUCRGQD.js → chunk-EXFA6B6P.js} +1 -1
  83. package/browser/{chunk-B5IABJO5.js → chunk-EZNBK62W.js} +3 -3
  84. package/browser/chunk-F3HDP5CA.js +1 -0
  85. package/browser/{chunk-IFIH2CE2.js → chunk-F6LSMAF4.js} +1 -1
  86. package/browser/{chunk-ESDXMFGP.js → chunk-FINTUPRM.js} +1 -1
  87. package/browser/{chunk-D4FCXEV4.js → chunk-FM7BHGBW.js} +1 -1
  88. package/browser/{chunk-VZUPDSBH.js → chunk-FMEMQRBJ.js} +1 -1
  89. package/browser/{chunk-A565EUMD.js → chunk-FVNQ7SQY.js} +1 -1
  90. package/browser/{chunk-X44CHNHS.js → chunk-FZQE7J2C.js} +1 -1
  91. package/browser/{chunk-HSIXOQO7.js → chunk-G7L6AVIG.js} +1 -1
  92. package/browser/{chunk-DTVCBHPA.js → chunk-GFSJZHCB.js} +1 -1
  93. package/browser/{chunk-QPAUI5EG.js → chunk-GXAF3JUO.js} +1 -1
  94. package/browser/{chunk-WC6DBADN.js → chunk-H2RXYP7A.js} +1 -1
  95. package/browser/{chunk-4XJWQAS6.js → chunk-HAXEFEKW.js} +1 -1
  96. package/browser/{chunk-DMWJZNTI.js → chunk-HHCNN3XR.js} +2 -2
  97. package/browser/{chunk-RRIGLMUN.js → chunk-HHM4L75O.js} +1 -1
  98. package/browser/{chunk-JVNUQR5F.js → chunk-HIA4J5DB.js} +1 -1
  99. package/browser/{chunk-RSDLXHSH.js → chunk-HQGZC4Y3.js} +1 -1
  100. package/browser/{chunk-467KNI4M.js → chunk-HSLDD424.js} +1 -1
  101. package/browser/{chunk-SLTQIIWW.js → chunk-HVFYCXLX.js} +1 -1
  102. package/browser/{chunk-FPRM3L6U.js → chunk-HYCKETL4.js} +1 -1
  103. package/browser/{chunk-PASO7BB6.js → chunk-HZP6OUOI.js} +1 -1
  104. package/browser/{chunk-CCWIK546.js → chunk-I7AQHKKG.js} +7 -7
  105. package/browser/{chunk-4OEDK7YE.js → chunk-IDJEXQ5I.js} +1 -1
  106. package/browser/{chunk-XMZLK7EB.js → chunk-IDOUPEKS.js} +1 -1
  107. package/browser/{chunk-H74MLHRV.js → chunk-IET73YWA.js} +1 -1
  108. package/browser/{chunk-VKWSK452.js → chunk-IEX7S7T7.js} +1 -1
  109. package/browser/chunk-IHIJW73V.js +1 -0
  110. package/browser/chunk-IKSROKD5.css +1 -0
  111. package/browser/{chunk-L5UAK2LQ.js → chunk-IM3B5EF2.js} +1 -1
  112. package/browser/{chunk-WM2DGNWH.js → chunk-ITTFNOLB.js} +1 -1
  113. package/browser/{chunk-JXXYVM7W.js → chunk-IZF7S2RF.js} +1 -1
  114. package/browser/{chunk-C3STDN73.js → chunk-JEZMYDZR.js} +1 -1
  115. package/browser/{chunk-T4MU3R7Y.js → chunk-JIRDK6TJ.js} +1 -1
  116. package/browser/chunk-JOLAOKHD.js +21 -0
  117. package/browser/{chunk-6WATOQG3.js → chunk-JQDS4BXR.js} +1 -1
  118. package/browser/{chunk-J6M7UWVR.js → chunk-JT4M6AIA.js} +1 -1
  119. package/browser/{chunk-USD2ALDX.js → chunk-K355XAWO.js} +1 -1
  120. package/browser/{chunk-WFQIMZGL.js → chunk-KBLVOO4J.js} +1 -1
  121. package/browser/{chunk-DU2VBWSN.js → chunk-KEILLJ6G.js} +1 -1
  122. package/browser/{chunk-FHB5KLDR.js → chunk-KFOEUAQT.js} +1 -1
  123. package/browser/chunk-KOZYTEZI.js +1 -0
  124. package/browser/{chunk-KUG5VVV4.js → chunk-KRBFME4B.js} +1 -1
  125. package/browser/chunk-L3U6V3BF.js +5 -0
  126. package/browser/{chunk-45E6XCHN.js → chunk-LB5UXGDG.js} +1 -1
  127. package/browser/{chunk-NM3IQUNN.js → chunk-LGD5WUG2.js} +1 -1
  128. package/browser/{chunk-M4EQZHIE.js → chunk-LKVUZZ5J.js} +1 -1
  129. package/browser/{chunk-4ZITX27A.js → chunk-LMUFX64W.js} +1 -1
  130. package/browser/{chunk-53VS5DA7.js → chunk-MM4IJDHI.js} +1 -1
  131. package/browser/chunk-MTUBVUM5.js +1 -0
  132. package/browser/{chunk-TRCRCGLM.js → chunk-MUWJSYXR.js} +1 -1
  133. package/browser/{chunk-LNDHYAFW.js → chunk-MWGICBEB.js} +1 -1
  134. package/browser/{chunk-ZTD4APMR.js → chunk-N5RDRDT7.js} +1 -1
  135. package/browser/{chunk-7WB7XD5V.js → chunk-N6EBK52R.js} +3 -3
  136. package/browser/{chunk-7P3L3ODB.js → chunk-N7OS7SFI.js} +1 -1
  137. package/browser/{chunk-RACYAEOL.js → chunk-NFWYR26Q.js} +1 -1
  138. package/browser/{chunk-S27D5MBU.js → chunk-NJ4KEQKH.js} +1 -1
  139. package/browser/{chunk-A72QOXN4.js → chunk-NQQB5U5S.js} +1 -1
  140. package/browser/{chunk-ULNAGOA3.js → chunk-NRTKHF45.js} +1 -1
  141. package/browser/{chunk-72RZBOHX.js → chunk-NS6IC2PT.js} +1 -1
  142. package/browser/{chunk-BNNKSBQ6.js → chunk-O22HDFH6.js} +1 -1
  143. package/browser/{chunk-WK7YCGTV.js → chunk-OAVGNXY4.js} +1 -1
  144. package/browser/{chunk-7YUPYNWQ.js → chunk-OB6KFXD6.js} +2 -2
  145. package/browser/{chunk-5ZD6KTDH.js → chunk-ODYEJFNJ.js} +1 -1
  146. package/browser/{chunk-EHXF34TI.js → chunk-OEOAWKXA.js} +1 -1
  147. package/browser/{chunk-JL4CFBF2.js → chunk-OR4H5IKL.js} +1 -1
  148. package/browser/chunk-OTLU2WY3.js +3 -0
  149. package/browser/{chunk-TSH564VU.js → chunk-OUJXEQKL.js} +1 -1
  150. package/browser/{chunk-VIZOMY6L.js → chunk-OURNAI65.js} +2 -2
  151. package/browser/chunk-OZ2R2K2V.js +1 -0
  152. package/browser/{chunk-PRVQ3NAP.js → chunk-P3TFDLWR.js} +2 -2
  153. package/browser/{chunk-R7KECBQD.js → chunk-P5XKSQ34.js} +1 -1
  154. package/browser/{chunk-COA4UL2V.js → chunk-P7KMHPVN.js} +1 -1
  155. package/browser/{chunk-7JULWG2B.js → chunk-PCRUTQ3T.js} +1 -1
  156. package/browser/{chunk-T7XU5W5A.js → chunk-PNFJVQUF.js} +1 -1
  157. package/browser/{chunk-ZT57H2NK.js → chunk-PQSGJR4P.js} +1 -1
  158. package/browser/{chunk-WKM2QOAU.js → chunk-PSFQWURP.js} +1 -1
  159. package/browser/{chunk-4I3C6CNY.js → chunk-PV27CMZ2.js} +1 -1
  160. package/browser/{chunk-S3IZOS7R.js → chunk-QERITLZK.js} +2 -2
  161. package/browser/{chunk-2CL5FM3P.js → chunk-QJ3CWKQT.js} +1 -1
  162. package/browser/{chunk-PS7477UG.js → chunk-QLSGGWTW.js} +1 -1
  163. package/browser/{chunk-J36LAI7P.js → chunk-QS2AUXB7.js} +1 -1
  164. package/browser/{chunk-TEGIL5RZ.js → chunk-QWLNF7VL.js} +1 -1
  165. package/browser/chunk-R3HIQ5AX.js +1 -0
  166. package/browser/{chunk-VXTQ5VEM.js → chunk-RF5FWMSR.js} +1 -1
  167. package/browser/{chunk-JZTKA4ST.js → chunk-RHDU4PR2.js} +1 -1
  168. package/browser/{chunk-FU2ZGMX4.js → chunk-RIZ4YVMH.js} +1 -1
  169. package/browser/chunk-RJYFOAYX.js +1 -0
  170. package/browser/{chunk-TNHTSFQM.js → chunk-RU3GD3GY.js} +1 -1
  171. package/browser/{chunk-IZLEZJ6U.js → chunk-SCAKRK4B.js} +1 -1
  172. package/browser/{chunk-THT6CY5E.js → chunk-SCGKVOSE.js} +1 -1
  173. package/browser/{chunk-HNTY7S25.js → chunk-SCHTN7VQ.js} +1 -1
  174. package/browser/chunk-SMEVWRVE.js +1 -0
  175. package/browser/{chunk-TWS5PR4T.js → chunk-SUCJCOST.js} +1 -1
  176. package/browser/{chunk-B534JAF4.js → chunk-SVUFU2AS.js} +1 -1
  177. package/browser/{chunk-IKKPP4JS.js → chunk-SWF6XISV.js} +1 -1
  178. package/browser/{chunk-VVWAYTKN.js → chunk-SWVQK6HM.js} +1 -1
  179. package/browser/{chunk-7DAPNQYU.js → chunk-SXRKKO75.js} +1 -1
  180. package/browser/{chunk-OZTSXG5Y.js → chunk-T5IJP474.js} +1 -1
  181. package/browser/{chunk-PYSTCFF2.js → chunk-T6GXIGYG.js} +1 -1
  182. package/browser/{chunk-LGOSIAUC.js → chunk-TANYEHMZ.js} +1 -1
  183. package/browser/chunk-TCW7SVU5.js +22 -0
  184. package/browser/{chunk-PQ6W7KXC.js → chunk-TDHDQRJN.js} +1 -1
  185. package/browser/{chunk-EUSVY4UJ.js → chunk-TOJPS7BJ.js} +1 -1
  186. package/browser/{chunk-6P2ASCNY.js → chunk-TP6ZUC53.js} +1 -1
  187. package/browser/{chunk-ZKOARDC2.js → chunk-TPJWIEYA.js} +1 -1
  188. package/browser/{chunk-L6PKNRWO.js → chunk-TRK4LJDS.js} +1 -1
  189. package/browser/{chunk-32QBWLTN.js → chunk-U4MC22BG.js} +1 -1
  190. package/browser/{chunk-QJUU75N6.js → chunk-U56LRRCE.js} +1 -1
  191. package/browser/{chunk-B7AC4RMR.js → chunk-UIVJ2JQT.js} +1 -1
  192. package/browser/chunk-UMFN4AJF.js +1 -0
  193. package/browser/{chunk-ZTU3TIGR.js → chunk-UPZZHMG6.js} +1 -1
  194. package/browser/{chunk-MZITJQAC.js → chunk-UX4QS4XQ.js} +1 -1
  195. package/browser/{chunk-DIFPP2ZV.js → chunk-V36Z6WRV.js} +1 -1
  196. package/browser/{chunk-PPVORSJQ.js → chunk-V4LDEQZZ.js} +1 -1
  197. package/browser/chunk-V4V55JMO.js +1 -0
  198. package/browser/{chunk-JBS5UYZC.js → chunk-V6D6TV7B.js} +1 -1
  199. package/browser/{chunk-IGDDA2RG.js → chunk-V6NXOOJA.js} +1 -1
  200. package/browser/{chunk-REZUKRTR.js → chunk-VA6MHJ5E.js} +1 -1
  201. package/browser/{chunk-KYXB2UQI.js → chunk-VEQJR5VL.js} +1 -1
  202. package/browser/{chunk-5USF4MRW.js → chunk-VGHEGWAM.js} +1 -1
  203. package/browser/{chunk-7BQKGIZM.js → chunk-VL7THV5U.js} +1 -1
  204. package/browser/{chunk-BEXFUC6A.js → chunk-VOY3BJZP.js} +9 -9
  205. package/browser/{chunk-OEUCWGFD.js → chunk-VQKO557Q.js} +1 -1
  206. package/browser/chunk-VRKJC53Z.js +10 -0
  207. package/browser/{chunk-BKZYMEVP.js → chunk-WFTIOB7Q.js} +1 -1
  208. package/browser/{chunk-4CPRMZL6.js → chunk-WFVMID6Q.js} +1 -1
  209. package/browser/{chunk-Z6X5UYRZ.js → chunk-WFWUOLEG.js} +1 -1
  210. package/browser/{chunk-ARYZHNFV.js → chunk-WGOUSPMF.js} +1 -1
  211. package/browser/{chunk-3CSCTT6I.js → chunk-WOAKN4QZ.js} +1 -1
  212. package/browser/chunk-WQMYMJLR.js +4 -0
  213. package/browser/chunk-WR54IKY6.js +1 -0
  214. package/browser/{chunk-GDNVMJOU.js → chunk-WSFSSHIX.js} +1 -1
  215. package/browser/{chunk-ZZBF7AOW.js → chunk-WSWTWRKJ.js} +1 -1
  216. package/browser/{chunk-COGKLKKE.js → chunk-XEPEGKS2.js} +1 -1
  217. package/browser/{chunk-7NFGGAUY.js → chunk-XPN6EISF.js} +1 -1
  218. package/browser/{chunk-XPR2GPHE.js → chunk-XVTXHAKW.js} +1 -1
  219. package/browser/{chunk-7IKZACPQ.js → chunk-XWV7AI2C.js} +16 -16
  220. package/browser/{chunk-4W3WYXI2.js → chunk-XWYCNPUZ.js} +1 -1
  221. package/browser/{chunk-PJ3DTEH2.js → chunk-Y4MERAVA.js} +1 -1
  222. package/browser/{chunk-363IDTE3.js → chunk-Y7ZKGM5U.js} +1 -1
  223. package/browser/{chunk-34U6PVY5.js → chunk-YC2LQSY3.js} +1 -1
  224. package/browser/{chunk-SIDUUVNA.js → chunk-YDL2MTWE.js} +1 -1
  225. package/browser/{chunk-JTZHHVPI.js → chunk-YMKZUNJH.js} +1 -1
  226. package/browser/{chunk-VXPORXGI.js → chunk-YQ5PAXUW.js} +1 -1
  227. package/browser/{chunk-BOQBXDOK.js → chunk-YXRJV3RQ.js} +1 -1
  228. package/browser/{chunk-C5N3GKEC.js → chunk-Z4WEJMVU.js} +1 -1
  229. package/browser/{chunk-IISHJIET.js → chunk-Z5BFBI3D.js} +1 -1
  230. package/browser/{chunk-SLX34TWD.js → chunk-Z76C52NM.js} +1 -1
  231. package/browser/{chunk-A2EVMYAR.js → chunk-ZBHPM2JC.js} +1 -1
  232. package/browser/{chunk-WOLF2DPX.js → chunk-ZNJ4JTTS.js} +1 -1
  233. package/browser/chunk-ZNPC63ZV.js +380 -0
  234. package/browser/{chunk-BNX6XXDZ.js → chunk-ZO3XZXWW.js} +2 -2
  235. package/browser/{chunk-LGINK7BD.js → chunk-ZOYWCF3Q.js} +1 -1
  236. package/browser/{chunk-VZBXT2TV.js → chunk-ZRC22L45.js} +1 -1
  237. package/browser/{chunk-BQUL7SGN.js → chunk-ZV4K4PP6.js} +3 -3
  238. package/browser/chunk-ZVWC6CBP.js +1 -0
  239. package/browser/index.html +2 -2
  240. package/browser/main-4BFS7RVV.css +1 -0
  241. package/browser/main-PHIUFC5R.js +3 -0
  242. package/browser/{styles-URIEURGQ.css → styles-LFDMQGKE.css} +1 -1
  243. package/package.json +1 -1
  244. package/browser/chunk-2VE2WNSA.js +0 -21
  245. package/browser/chunk-33OKCUGA.js +0 -1
  246. package/browser/chunk-3FAXTVQI.js +0 -3
  247. package/browser/chunk-4HEJOI53.js +0 -1
  248. package/browser/chunk-4SRWAPD4.js +0 -1
  249. package/browser/chunk-6ACGUR3D.js +0 -1
  250. package/browser/chunk-6DMG2LMI.js +0 -149
  251. package/browser/chunk-7MCT2FSH.js +0 -4
  252. package/browser/chunk-CQLZHUT4.js +0 -9
  253. package/browser/chunk-CUDCXMJN.js +0 -1
  254. package/browser/chunk-DOCQN2VL.js +0 -1
  255. package/browser/chunk-DTX2BFBV.js +0 -1
  256. package/browser/chunk-E2NGOMCD.js +0 -1
  257. package/browser/chunk-HRM7HE6Z.js +0 -380
  258. package/browser/chunk-IEVGW2RT.js +0 -5
  259. package/browser/chunk-JAUNAK7P.js +0 -22
  260. package/browser/chunk-JB7Y2263.js +0 -1
  261. package/browser/chunk-M3DKYPGC.js +0 -1
  262. package/browser/chunk-NBMH5YL2.css +0 -1
  263. package/browser/chunk-OWS3IW26.js +0 -1
  264. package/browser/chunk-Q7YUJXQP.js +0 -1
  265. package/browser/chunk-R4NTCBWJ.js +0 -137
  266. package/browser/chunk-V432I4ZE.js +0 -21
  267. package/browser/chunk-VM4K4MNV.js +0 -1
  268. package/browser/chunk-XY3FCZN2.js +0 -1
  269. package/browser/chunk-ZCQDZKFQ.js +0 -1
  270. package/browser/main-EWD2LJE4.js +0 -3
  271. package/browser/main-WPNH2WGQ.css +0 -1
@@ -1,4 +1,4 @@
1
- import{$ as V,U as de,V as N,X as ce,aa as W,ba as T,c as re,ca as he,da as ue,e as le,f as ae,ta as S,ua as j,va as E,wa as P,xa as H,ya as fe}from"./chunk-SLX34TWD.js";import{$c as M,Ca as w,Ha as Q,Ia as _,Ja as F,Ma as ee,Oc as b,Pc as x,Tc as p,Zc as oe,db as A,eb as R,fc as ie,gc as se,jb as te,kb as $,la as X,ma as Y,mb as I,na as K,pa as y,wc as ne,xa as Z,xd as k,ya as J}from"./chunk-IEVGW2RT.js";import{a as h,b as L,e as U}from"./chunk-SNAKHGZS.js";var B={};function pe(o="pui_id_"){return Object.hasOwn(B,o)||(B[o]=0),B[o]++,`${o}${B[o]}`}function O(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[O(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}var Ee=Object.defineProperty,ge=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,me=(o,a,e)=>a in o?Ee(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e,ye=(o,a)=>{for(var e in a||(a={}))_e.call(a,e)&&me(o,e,a[e]);if(ge)for(var e of ge(a))Te.call(a,e)&&me(o,e,a[e]);return o};function be(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[be(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}function Pe(o){return typeof o=="function"&&"call"in o&&"apply"in o}function q(...o){return o?.reduce((a,e={})=>{for(let t in e){let i=e[t];if(t==="style")a.style=ye(ye({},a.style),e.style);else if(t==="class"||t==="className")a[t]=be(a[t],e[t]);else if(Pe(i)){let s=a[t];a[t]=s?(...n)=>{s(...n),i(...n)}:i}else a[t]=i}return a},{})}var Se=(()=>{class o extends H{name="common";static \u0275fac=(()=>{let e;return function(i){return(e||(e=_(o)))(i||o)}})();static \u0275prov=X({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Oe=new K("PARENT_INSTANCE"),ve=(()=>{class o{document=y(J);platformId=y(ee);el=y(F);injector=y(Z);cd=y(oe);renderer=y(A);config=y(fe);$parentInstance=y(Oe,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=y(Se);baseStyle=y(H);scopedStyleEl;parent=this.$params.parent;cn=O;_themeScopedListener;dt=p();unstyled=p();pt=p();ptOptions=p();$attrSelector=pe("pc");get $name(){return this.componentName||this.constructor?.name?.replace(/^_/,"")||"UnknownComponent"}get $hostName(){return this.hostName}$unstyled=b(()=>this.unstyled()!==void 0?this.unstyled():this.config?.unstyled()||!1);$pt=b(()=>V(this.pt()||this.directivePT(),this.$params));directivePT=w(void 0);get $globalPT(){return this._getPT(this.config?.pt(),void 0,e=>V(e,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,e=>this._getOptionValue(e,this.$hostName||this.$name,this.$params)||V(e,this.$params))}get $style(){return h(h({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let e=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:e}}}onInit(){}onChanges(e){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._themeScopedListener),this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()),e(()=>{S.off("theme:change",this._themeScopedListener)})}),x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._loadCoreStyles),this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))),e(()=>{S.off("theme:change",this._loadCoreStyles)})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(e){this.onChanges(e),this._hook("onChanges",e)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.el?.nativeElement?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(e,...t){return de(e)?e(...t):q(...t)}_getHostInstance(e){return e?this.$hostName?this.$name===this.$hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0}_getPropValue(e){return this[e]||this._getHostInstance(this)?.[e]}_getOptionValue(e,t="",i={}){return he(e,t,i)}_hook(e,...t){if(!this.$hostName){let i=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${e}`),s=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);i?.(...t),s?.(...t)}}_load(){P.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),P.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener(()=>this._load())}_loadGlobalStyles(){let e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);N(e)&&this.baseStyle.load(e,h({name:"global"},this.$styleOptions))}_loadCoreStyles(){!P.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),P.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!E.isStyleNameLoaded("common")){let{primitive:e,semantic:t,global:i,style:s}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,h({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(t?.css,h({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(i?.css,h({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(h({name:"global-style"},this.$styleOptions),s),E.setLoadedStyleName("common")}if(!E.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:e,style:t}=this.$style?.getComponentTheme?.()||{};this.$style?.load(e,h({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(h({name:`${this.$style?.name}-style`},this.$styleOptions),t),E.setLoadedStyleName(this.$style?.name)}if(!E.isStyleNameLoaded("layer-order")){let e=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,h({name:"layer-order",first:!0},this.$styleOptions)),E.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(e){let{css:t}=this.$style?.getPresetTheme?.(e,`[${this.$attrSelector}]`)||{},i=this.$style?.load(t,h({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=i?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e=()=>{}){P.clearLoadedStyleNames(),S.on("theme:change",e.bind(this))}_removeThemeListeners(){S.off("theme:change",this._loadCoreStyles),S.off("theme:change",this._load),S.off("theme:change",this._themeScopedListener)}_getPTValue(e={},t="",i={},s=!0){let n=/./g.test(t)&&!!i[t.split(".")[0]],{mergeSections:r=!0,mergeProps:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=s?n?this._useGlobalPT(this._getPTClassValue,t,i):this._useDefaultPT(this._getPTClassValue,t,i):void 0,d=n?void 0:this._usePT(this._getPT(e,this.$hostName||this.$name),this._getPTClassValue,t,L(h({},i),{global:c||{}})),u=this._getPTDatasets(t);return r||!r&&d?l?this._mergeProps(l,c,d,u):h(h(h({},c),d),u):h(h({},d),u)}_getPTDatasets(e=""){let t="data-pc-",i=e==="root"&&N(this.$pt()?.["data-pc-section"]);return e!=="transition"&&L(h({},e==="root"&&L(h({[`${t}name`]:T(i?this.$pt()?.["data-pc-section"]:this.$name)},i&&{[`${t}extend`]:T(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${t}section`]:T(e.includes(".")?e.split(".").at(-1)??"":e)})}_getPTClassValue(e,t,i){let s=this._getOptionValue(e,t,i);return W(s)||ue(s)?{class:s}:s}_getPT(e,t="",i){let s=(n,r=!1)=>{let l=i?i(n):n,c=T(t),d=T(this.$hostName||this.$name);return(r?c!==d?l?.[c]:void 0:l?.[c])??l};return e?.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:s(e.originalValue),value:s(e.value)}:s(e,!0)}_usePT(e,t,i,s){let n=r=>t?.call(this,r,i,s);if(e?.hasOwnProperty("_usept")){let{mergeSections:r=!0,mergeProps:l=!1}=e._usept||this.config?.ptOptions()||{},c=n(e.originalValue),d=n(e.value);return c===void 0&&d===void 0?void 0:W(d)?d:W(c)?c:r||!r&&d?l?this._mergeProps(l,c,d):h(h({},c),d):d}return n(e)}_useGlobalPT(e,t,i){return this._usePT(this.$globalPT,e,t,i)}_useDefaultPT(e,t,i){return this._usePT(this.$defaultPT,e,t,i)}ptm(e="",t={}){return this._getPTValue(this.$pt(),e,h(h({},this.$params),t))}ptms(e,t={}){return e.reduce((i,s)=>(i=q(i,this.ptm(s,t))||{},i),{})}ptmo(e={},t="",i={}){return this._getPTValue(e,t,h({instance:this},i),!1)}cx(e,t={}){return this.$unstyled()?void 0:O(this._getOptionValue(this.$style.classes,e,h(h({},this.$params),t)))}sx(e="",t=!0,i={}){if(t){let s=this._getOptionValue(this.$style.inlineStyles,e,h(h({},this.$params),i)),n=this._getOptionValue(this.baseComponentStyle.inlineStyles,e,h(h({},this.$params),i));return h(h({},n),s)}}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[ne([Se,H]),Q]})}return o})();var xe=(()=>{class o{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,t){e&&t&&(e.classList?e.classList.add(t):e.className+=" "+t)}static addMultipleClasses(e,t){if(e&&t)if(e.classList){let i=t.trim().split(" ");for(let s=0;s<i.length;s++)e.classList.add(i[s])}else{let i=t.split(" ");for(let s=0;s<i.length;s++)e.className+=" "+i[s]}}static removeClass(e,t){e&&t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(e,t){e&&t&&[t].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(s=>this.removeClass(e,s)))}static hasClass(e,t){return e&&t?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(t){return t!==e})}static find(e,t){return Array.from(e.querySelectorAll(t))}static findSingle(e,t){return this.isElement(e)?e.querySelector(t):null}static index(e){let t=e.parentNode.childNodes,i=0;for(var s=0;s<t.length;s++){if(t[s]==e)return i;t[s].nodeType==1&&i++}return-1}static indexWithinGroup(e,t){let i=e.parentNode?e.parentNode.childNodes:[],s=0;for(var n=0;n<i.length;n++){if(i[n]==e)return s;i[n].attributes&&i[n].attributes[t]&&i[n].nodeType==1&&s++}return-1}static appendOverlay(e,t,i="self"){i!=="self"&&e&&t&&this.appendChild(e,t)}static alignOverlay(e,t,i="self",s=!0){e&&t&&(s&&(e.style.minWidth=`${o.getOuterWidth(t)}px`),i==="self"?this.relativePosition(e,t):this.absolutePosition(e,t))}static relativePosition(e,t,i=!0){let s=C=>{if(C)return getComputedStyle(C).getPropertyValue("position")==="relative"?C:s(C.parentElement)},n=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),r=t.offsetHeight,l=t.getBoundingClientRect(),c=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),u=this.getViewport(),f=s(e)?.getBoundingClientRect()||{top:-1*c,left:-1*d},m,v,D="top";l.top+r+n.height>u.height?(m=l.top-f.top-n.height,D="bottom",l.top+m<0&&(m=-1*l.top)):(m=r+l.top-f.top,D="top");let G=l.left+n.width-u.width,Ce=l.left-f.left;if(n.width>u.width?v=(l.left-f.left)*-1:G>0?v=Ce-G:v=l.left-f.left,e.style.top=m+"px",e.style.left=v+"px",e.style.transformOrigin=D,i){let C=ae(/-anchor-gutter$/)?.value;e.style.marginTop=D==="bottom"?`calc(${C??"2px"} * -1)`:C??""}}static absolutePosition(e,t,i=!0){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),n=s.height,r=s.width,l=t.offsetHeight,c=t.offsetWidth,d=t.getBoundingClientRect(),u=this.getWindowScrollTop(),g=this.getWindowScrollLeft(),f=this.getViewport(),m,v;d.top+l+n>f.height?(m=d.top+u-n,e.style.transformOrigin="bottom",m<0&&(m=u)):(m=l+d.top+u,e.style.transformOrigin="top"),d.left+r>f.width?v=Math.max(0,d.left+g+c-r):v=d.left+g,e.style.top=m+"px",e.style.left=v+"px",i&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,t=[]){return e.parentNode===null?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}static getScrollableParents(e){let t=[];if(e){let i=this.getParents(e),s=/(auto|scroll)/,n=r=>{let l=window.getComputedStyle(r,null);return s.test(l.getPropertyValue("overflow"))||s.test(l.getPropertyValue("overflowX"))||s.test(l.getPropertyValue("overflowY"))};for(let r of i){let l=r.nodeType===1&&r.dataset.scrollselectors;if(l){let c=l.split(",");for(let d of c){let u=this.findSingle(r,d);u&&n(u)&&t.push(u)}}r.nodeType!==9&&n(r)&&t.push(r)}}return t}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementDimensions(e){let t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}static scrollInView(e,t){let i=getComputedStyle(e).getPropertyValue("borderTopWidth"),s=i?parseFloat(i):0,n=getComputedStyle(e).getPropertyValue("paddingTop"),r=n?parseFloat(n):0,l=e.getBoundingClientRect(),d=t.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-s-r,u=e.scrollTop,g=e.clientHeight,f=this.getOuterHeight(t);d<0?e.scrollTop=u+d:d+f>g&&(e.scrollTop=u+d-g+f)}static fadeIn(e,t){e.style.opacity=0;let i=+new Date,s=0,n=function(){s=+e.style.opacity.replace(",",".")+(new Date().getTime()-i)/t,e.style.opacity=s,i=+new Date,+s<1&&(window.requestAnimationFrame?window.requestAnimationFrame(n):setTimeout(n,16))};n()}static fadeOut(e,t){var i=1,s=50,n=t,r=s/n;let l=setInterval(()=>{i=i-r,i<=0&&(i=0,clearInterval(l)),e.style.opacity=i},s)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,t){var i=Element.prototype,s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(n){return[].indexOf.call(document.querySelectorAll(n),this)!==-1};return s.call(e,t)}static getOuterWidth(e,t){let i=e.offsetWidth;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return i}static getHorizontalPadding(e){let t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}static getHorizontalMargin(e){let t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}static innerWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static width(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static getInnerHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t+=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom),t}static getOuterHeight(e,t){let i=e.offsetHeight;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return i}static getHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}static getWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}static getViewport(){let e=window,t=document,i=t.documentElement,s=t.getElementsByTagName("body")[0],n=e.innerWidth||i.clientWidth||s.clientWidth,r=e.innerHeight||i.clientHeight||s.clientHeight;return{width:n,height:r}}static getOffset(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,t){let i=e.parentNode;if(!i)throw"Can't replace element";return i.replaceChild(t,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return!0;var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return!0}var n=e.indexOf("Edge/");return n>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,t){if(this.isElement(t))t.appendChild(e);else if(t&&t.el&&t.el.nativeElement)t.el.nativeElement.appendChild(e);else throw"Cannot append "+t+" to "+e}static removeChild(e,t){if(this.isElement(t))t.removeChild(e);else if(t.el&&t.el.nativeElement)t.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+t}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode?.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let i=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=i,i}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}static invokeElementMethod(e,t,i){e[t].apply(e,i)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,t){e&&document.activeElement!==e&&e.focus(t)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
1
+ import{$ as V,U as de,V as N,X as ce,aa as W,ba as T,c as re,ca as he,da as ue,e as le,f as ae,ta as S,ua as j,va as E,wa as P,xa as H,ya as fe}from"./chunk-Z76C52NM.js";import{$c as oe,Ca as w,Ha as Q,Ia as _,Ja as F,Ma as ee,Qc as b,Rc as x,Vc as p,bd as M,db as A,eb as R,hc as ie,ic as se,jb as te,kb as $,la as X,ma as Y,mb as I,na as K,pa as y,xa as Z,ya as J,yc as ne,zd as k}from"./chunk-L3U6V3BF.js";import{a as h,b as L,e as U}from"./chunk-SNAKHGZS.js";var B={};function pe(o="pui_id_"){return Object.hasOwn(B,o)||(B[o]=0),B[o]++,`${o}${B[o]}`}function O(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[O(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}var Ee=Object.defineProperty,ge=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,me=(o,a,e)=>a in o?Ee(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e,ye=(o,a)=>{for(var e in a||(a={}))_e.call(a,e)&&me(o,e,a[e]);if(ge)for(var e of ge(a))Te.call(a,e)&&me(o,e,a[e]);return o};function be(...o){if(o){let a=[];for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let i=typeof t;if(i==="string"||i==="number")a.push(t);else if(i==="object"){let s=Array.isArray(t)?[be(...t)]:Object.entries(t).map(([n,r])=>r?n:void 0);a=s.length?a.concat(s.filter(n=>!!n)):a}}return a.join(" ").trim()}}function Pe(o){return typeof o=="function"&&"call"in o&&"apply"in o}function q(...o){return o?.reduce((a,e={})=>{for(let t in e){let i=e[t];if(t==="style")a.style=ye(ye({},a.style),e.style);else if(t==="class"||t==="className")a[t]=be(a[t],e[t]);else if(Pe(i)){let s=a[t];a[t]=s?(...n)=>{s(...n),i(...n)}:i}else a[t]=i}return a},{})}var Se=(()=>{class o extends H{name="common";static \u0275fac=(()=>{let e;return function(i){return(e||(e=_(o)))(i||o)}})();static \u0275prov=X({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Oe=new K("PARENT_INSTANCE"),ve=(()=>{class o{document=y(J);platformId=y(ee);el=y(F);injector=y(Z);cd=y(oe);renderer=y(A);config=y(fe);$parentInstance=y(Oe,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=y(Se);baseStyle=y(H);scopedStyleEl;parent=this.$params.parent;cn=O;_themeScopedListener;dt=p();unstyled=p();pt=p();ptOptions=p();$attrSelector=pe("pc");get $name(){return this.componentName||this.constructor?.name?.replace(/^_/,"")||"UnknownComponent"}get $hostName(){return this.hostName}$unstyled=b(()=>this.unstyled()!==void 0?this.unstyled():this.config?.unstyled()||!1);$pt=b(()=>V(this.pt()||this.directivePT(),this.$params));directivePT=w(void 0);get $globalPT(){return this._getPT(this.config?.pt(),void 0,e=>V(e,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,e=>this._getOptionValue(e,this.$hostName||this.$name,this.$params)||V(e,this.$params))}get $style(){return h(h({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let e=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:e}}}onInit(){}onChanges(e){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._themeScopedListener),this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()),e(()=>{S.off("theme:change",this._themeScopedListener)})}),x(e=>{this.document&&!k(this.platformId)&&(S.off("theme:change",this._loadCoreStyles),this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))),e(()=>{S.off("theme:change",this._loadCoreStyles)})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(e){this.onChanges(e),this._hook("onChanges",e)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.el?.nativeElement?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(e,...t){return de(e)?e(...t):q(...t)}_getHostInstance(e){return e?this.$hostName?this.$name===this.$hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0}_getPropValue(e){return this[e]||this._getHostInstance(this)?.[e]}_getOptionValue(e,t="",i={}){return he(e,t,i)}_hook(e,...t){if(!this.$hostName){let i=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${e}`),s=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);i?.(...t),s?.(...t)}}_load(){P.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),P.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener(()=>this._load())}_loadGlobalStyles(){let e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);N(e)&&this.baseStyle.load(e,h({name:"global"},this.$styleOptions))}_loadCoreStyles(){!P.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),P.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!E.isStyleNameLoaded("common")){let{primitive:e,semantic:t,global:i,style:s}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,h({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(t?.css,h({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(i?.css,h({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(h({name:"global-style"},this.$styleOptions),s),E.setLoadedStyleName("common")}if(!E.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:e,style:t}=this.$style?.getComponentTheme?.()||{};this.$style?.load(e,h({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(h({name:`${this.$style?.name}-style`},this.$styleOptions),t),E.setLoadedStyleName(this.$style?.name)}if(!E.isStyleNameLoaded("layer-order")){let e=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,h({name:"layer-order",first:!0},this.$styleOptions)),E.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(e){let{css:t}=this.$style?.getPresetTheme?.(e,`[${this.$attrSelector}]`)||{},i=this.$style?.load(t,h({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=i?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e=()=>{}){P.clearLoadedStyleNames(),S.on("theme:change",e.bind(this))}_removeThemeListeners(){S.off("theme:change",this._loadCoreStyles),S.off("theme:change",this._load),S.off("theme:change",this._themeScopedListener)}_getPTValue(e={},t="",i={},s=!0){let n=/./g.test(t)&&!!i[t.split(".")[0]],{mergeSections:r=!0,mergeProps:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=s?n?this._useGlobalPT(this._getPTClassValue,t,i):this._useDefaultPT(this._getPTClassValue,t,i):void 0,d=n?void 0:this._usePT(this._getPT(e,this.$hostName||this.$name),this._getPTClassValue,t,L(h({},i),{global:c||{}})),u=this._getPTDatasets(t);return r||!r&&d?l?this._mergeProps(l,c,d,u):h(h(h({},c),d),u):h(h({},d),u)}_getPTDatasets(e=""){let t="data-pc-",i=e==="root"&&N(this.$pt()?.["data-pc-section"]);return e!=="transition"&&L(h({},e==="root"&&L(h({[`${t}name`]:T(i?this.$pt()?.["data-pc-section"]:this.$name)},i&&{[`${t}extend`]:T(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${t}section`]:T(e.includes(".")?e.split(".").at(-1)??"":e)})}_getPTClassValue(e,t,i){let s=this._getOptionValue(e,t,i);return W(s)||ue(s)?{class:s}:s}_getPT(e,t="",i){let s=(n,r=!1)=>{let l=i?i(n):n,c=T(t),d=T(this.$hostName||this.$name);return(r?c!==d?l?.[c]:void 0:l?.[c])??l};return e?.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:s(e.originalValue),value:s(e.value)}:s(e,!0)}_usePT(e,t,i,s){let n=r=>t?.call(this,r,i,s);if(e?.hasOwnProperty("_usept")){let{mergeSections:r=!0,mergeProps:l=!1}=e._usept||this.config?.ptOptions()||{},c=n(e.originalValue),d=n(e.value);return c===void 0&&d===void 0?void 0:W(d)?d:W(c)?c:r||!r&&d?l?this._mergeProps(l,c,d):h(h({},c),d):d}return n(e)}_useGlobalPT(e,t,i){return this._usePT(this.$globalPT,e,t,i)}_useDefaultPT(e,t,i){return this._usePT(this.$defaultPT,e,t,i)}ptm(e="",t={}){return this._getPTValue(this.$pt(),e,h(h({},this.$params),t))}ptms(e,t={}){return e.reduce((i,s)=>(i=q(i,this.ptm(s,t))||{},i),{})}ptmo(e={},t="",i={}){return this._getPTValue(e,t,h({instance:this},i),!1)}cx(e,t={}){return this.$unstyled()?void 0:O(this._getOptionValue(this.$style.classes,e,h(h({},this.$params),t)))}sx(e="",t=!0,i={}){if(t){let s=this._getOptionValue(this.$style.inlineStyles,e,h(h({},this.$params),i)),n=this._getOptionValue(this.baseComponentStyle.inlineStyles,e,h(h({},this.$params),i));return h(h({},n),s)}}static \u0275fac=function(t){return new(t||o)};static \u0275dir=$({type:o,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[ne([Se,H]),Q]})}return o})();var xe=(()=>{class o{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,t){e&&t&&(e.classList?e.classList.add(t):e.className+=" "+t)}static addMultipleClasses(e,t){if(e&&t)if(e.classList){let i=t.trim().split(" ");for(let s=0;s<i.length;s++)e.classList.add(i[s])}else{let i=t.split(" ");for(let s=0;s<i.length;s++)e.className+=" "+i[s]}}static removeClass(e,t){e&&t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(e,t){e&&t&&[t].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(s=>this.removeClass(e,s)))}static hasClass(e,t){return e&&t?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(t){return t!==e})}static find(e,t){return Array.from(e.querySelectorAll(t))}static findSingle(e,t){return this.isElement(e)?e.querySelector(t):null}static index(e){let t=e.parentNode.childNodes,i=0;for(var s=0;s<t.length;s++){if(t[s]==e)return i;t[s].nodeType==1&&i++}return-1}static indexWithinGroup(e,t){let i=e.parentNode?e.parentNode.childNodes:[],s=0;for(var n=0;n<i.length;n++){if(i[n]==e)return s;i[n].attributes&&i[n].attributes[t]&&i[n].nodeType==1&&s++}return-1}static appendOverlay(e,t,i="self"){i!=="self"&&e&&t&&this.appendChild(e,t)}static alignOverlay(e,t,i="self",s=!0){e&&t&&(s&&(e.style.minWidth=`${o.getOuterWidth(t)}px`),i==="self"?this.relativePosition(e,t):this.absolutePosition(e,t))}static relativePosition(e,t,i=!0){let s=C=>{if(C)return getComputedStyle(C).getPropertyValue("position")==="relative"?C:s(C.parentElement)},n=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),r=t.offsetHeight,l=t.getBoundingClientRect(),c=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),u=this.getViewport(),f=s(e)?.getBoundingClientRect()||{top:-1*c,left:-1*d},m,v,D="top";l.top+r+n.height>u.height?(m=l.top-f.top-n.height,D="bottom",l.top+m<0&&(m=-1*l.top)):(m=r+l.top-f.top,D="top");let G=l.left+n.width-u.width,Ce=l.left-f.left;if(n.width>u.width?v=(l.left-f.left)*-1:G>0?v=Ce-G:v=l.left-f.left,e.style.top=m+"px",e.style.left=v+"px",e.style.transformOrigin=D,i){let C=ae(/-anchor-gutter$/)?.value;e.style.marginTop=D==="bottom"?`calc(${C??"2px"} * -1)`:C??""}}static absolutePosition(e,t,i=!0){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),n=s.height,r=s.width,l=t.offsetHeight,c=t.offsetWidth,d=t.getBoundingClientRect(),u=this.getWindowScrollTop(),g=this.getWindowScrollLeft(),f=this.getViewport(),m,v;d.top+l+n>f.height?(m=d.top+u-n,e.style.transformOrigin="bottom",m<0&&(m=u)):(m=l+d.top+u,e.style.transformOrigin="top"),d.left+r>f.width?v=Math.max(0,d.left+g+c-r):v=d.left+g,e.style.top=m+"px",e.style.left=v+"px",i&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,t=[]){return e.parentNode===null?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}static getScrollableParents(e){let t=[];if(e){let i=this.getParents(e),s=/(auto|scroll)/,n=r=>{let l=window.getComputedStyle(r,null);return s.test(l.getPropertyValue("overflow"))||s.test(l.getPropertyValue("overflowX"))||s.test(l.getPropertyValue("overflowY"))};for(let r of i){let l=r.nodeType===1&&r.dataset.scrollselectors;if(l){let c=l.split(",");for(let d of c){let u=this.findSingle(r,d);u&&n(u)&&t.push(u)}}r.nodeType!==9&&n(r)&&t.push(r)}}return t}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementDimensions(e){let t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}static scrollInView(e,t){let i=getComputedStyle(e).getPropertyValue("borderTopWidth"),s=i?parseFloat(i):0,n=getComputedStyle(e).getPropertyValue("paddingTop"),r=n?parseFloat(n):0,l=e.getBoundingClientRect(),d=t.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-s-r,u=e.scrollTop,g=e.clientHeight,f=this.getOuterHeight(t);d<0?e.scrollTop=u+d:d+f>g&&(e.scrollTop=u+d-g+f)}static fadeIn(e,t){e.style.opacity=0;let i=+new Date,s=0,n=function(){s=+e.style.opacity.replace(",",".")+(new Date().getTime()-i)/t,e.style.opacity=s,i=+new Date,+s<1&&(window.requestAnimationFrame?window.requestAnimationFrame(n):setTimeout(n,16))};n()}static fadeOut(e,t){var i=1,s=50,n=t,r=s/n;let l=setInterval(()=>{i=i-r,i<=0&&(i=0,clearInterval(l)),e.style.opacity=i},s)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,t){var i=Element.prototype,s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(n){return[].indexOf.call(document.querySelectorAll(n),this)!==-1};return s.call(e,t)}static getOuterWidth(e,t){let i=e.offsetWidth;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return i}static getHorizontalPadding(e){let t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}static getHorizontalMargin(e){let t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}static innerWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static width(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static getInnerHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t+=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom),t}static getOuterHeight(e,t){let i=e.offsetHeight;if(t){let s=getComputedStyle(e);i+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return i}static getHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}static getWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}static getViewport(){let e=window,t=document,i=t.documentElement,s=t.getElementsByTagName("body")[0],n=e.innerWidth||i.clientWidth||s.clientWidth,r=e.innerHeight||i.clientHeight||s.clientHeight;return{width:n,height:r}}static getOffset(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,t){let i=e.parentNode;if(!i)throw"Can't replace element";return i.replaceChild(t,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return!0;var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return!0}var n=e.indexOf("Edge/");return n>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,t){if(this.isElement(t))t.appendChild(e);else if(t&&t.el&&t.el.nativeElement)t.el.nativeElement.appendChild(e);else throw"Cannot append "+t+" to "+e}static removeChild(e,t){if(this.isElement(t))t.removeChild(e);else if(t.el&&t.el.nativeElement)t.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+t}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode?.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let i=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=i,i}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}static invokeElementMethod(e,t,i){e[t].apply(e,i)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,t){e&&document.activeElement!==e&&e.focus(t)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
2
2
  [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
3
3
  input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
4
4
  select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
@@ -0,0 +1 @@
1
+ import{w as r}from"./chunk-3ZH3XK5V.js";import{N as a}from"./chunk-QWLNF7VL.js";import{F as c}from"./chunk-7MRUPBXU.js";import{jb as o,ma as t,xd as e}from"./chunk-L3U6V3BF.js";var i=class n{static \u0275fac=function(g){return new(g||n)};static \u0275mod=o({type:n});static \u0275inj=t({imports:[e,r,c,a]})};export{i as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-CUDCXMJN.js";import{K as a}from"./chunk-IEVGW2RT.js";var s=class extends r{constructor(t,e,o,n){super(t);this.httpService=e;let p=this.getInfoID(n);this.menuData$.pipe(a(()=>this.getBindDataObservable(o,p))).subscribe({next:i=>{this.bindData(i),this.postBindData(i)}})}data;getInfoID(t){return t.snapshot.queryParams.ID}getBindDataObservable(t,e){return this.httpService.post(`/API/${t}`,{ID:e})}bindData(t){this.data=t}postBindData(t){}};export{s as a};
1
+ import{a as r}from"./chunk-ECW7GAZQ.js";import{K as a}from"./chunk-L3U6V3BF.js";var s=class extends r{constructor(t,e,o,n){super(t);this.httpService=e;let p=this.getInfoID(n);this.menuData$.pipe(a(()=>this.getBindDataObservable(o,p))).subscribe({next:i=>{this.bindData(i),this.postBindData(i)}})}data;getInfoID(t){return t.snapshot.queryParams.ID}getBindDataObservable(t,e){return this.httpService.post(`/API/${t}`,{ID:e})}bindData(t){this.data=t}postBindData(t){}};export{s as a};
@@ -1 +1 @@
1
- import{la as s}from"./chunk-IEVGW2RT.js";var l=class o{Round(r,e,t){let n=r,u=this.ChooiceDecimalPlaceValue(e);return e==4||(t==0?n=this.RoundToDecimalPlaceValue(r,u):t==2?n=this.CeilingWithDecimalPlaceValue(r,u):n=this.FloorWithDecimalPlaceValue(r,u)),n}CeilingWithDecimalPlaceValue(r,e){if(e<0){let t=e*-1;return Math.ceil(r*t)/t}else{let t=Math.ceil(r)/e;return Math.ceil(t)*e}}FloorWithDecimalPlaceValue(r,e){if(e<0){let t=e*-1;return Math.floor(r*t)/t}else{let t=Math.floor(r)/e;return Math.floor(t)*e}}RoundToDecimalPlaceValue(r,e){if(e<0){let t=e*-1;return Math.round(r*t)/t}else{let t=Math.round(r)/e;return Math.round(t)*e}}ChooiceDecimalPlaceValue(r){let e=0;return r==0?e=1e3:r==1?e=100:r==2?e=10:r==3?e=1:r==4?e=0:r==5?e=-10:r==6&&(e=-100),e}static \u0275fac=function(e){return new(e||o)};static \u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"})};export{l as a};
1
+ import{la as s}from"./chunk-L3U6V3BF.js";var l=class o{Round(r,e,t){let n=r,u=this.ChooiceDecimalPlaceValue(e);return e==4||(t==0?n=this.RoundToDecimalPlaceValue(r,u):t==2?n=this.CeilingWithDecimalPlaceValue(r,u):n=this.FloorWithDecimalPlaceValue(r,u)),n}CeilingWithDecimalPlaceValue(r,e){if(e<0){let t=e*-1;return Math.ceil(r*t)/t}else{let t=Math.ceil(r)/e;return Math.ceil(t)*e}}FloorWithDecimalPlaceValue(r,e){if(e<0){let t=e*-1;return Math.floor(r*t)/t}else{let t=Math.floor(r)/e;return Math.floor(t)*e}}RoundToDecimalPlaceValue(r,e){if(e<0){let t=e*-1;return Math.round(r*t)/t}else{let t=Math.round(r)/e;return Math.round(t)*e}}ChooiceDecimalPlaceValue(r){let e=0;return r==0?e=1e3:r==1?e=100:r==2?e=10:r==3?e=1:r==4?e=0:r==5?e=-10:r==6&&(e=-100),e}static \u0275fac=function(e){return new(e||o)};static \u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"})};export{l as a};
@@ -1,2 +1,2 @@
1
- import{a as J}from"./chunk-ZTD4APMR.js";import{a as qe}from"./chunk-DWZ5JTI2.js";import{$a as Ve,$b as A,$c as f,A as te,Ab as w,Ac as Ge,Bc as Ke,Ca as Y,Db as he,E as xe,Eb as pe,Fb as C,G as ye,Gb as m,Ha as de,Hb as _,Ib as W,Ja as y,Lc as P,M as Ie,Mb as He,Nb as ze,Ob as se,Oc as R,Pb as H,Pc as _e,Qc as be,Sb as B,Sc as v,Tc as a,Ub as d,Uc as U,Vb as me,Vc as D,Wb as ge,Wc as Ye,Xa as c,Xc as K,Za as Be,Zc as Ze,ab as u,ac as z,ad as q,bc as oe,cc as I,d as we,db as Pe,ec as V,fa as Oe,g as Ae,gc as Ue,hc as k,ib as ie,ic as Q,j as De,jb as Re,jc as fe,ka as re,kb as T,la as ne,ma as ke,na as Me,nd as Ee,ob as O,pa as p,sc as je,t as Fe,ta as b,ua as E,wb as Z,wc as We,xa as Le,xb as ce,ya as Ne,yb as S,yc as G,za as ue,zc as Qe}from"./chunk-IEVGW2RT.js";import{a as Se}from"./chunk-SNAKHGZS.js";var bt=["content"],Et=["scroll"],Ct=["padding"],ht=["*"],X=s=>({searchTerm:s});function vt(s,t){if(s&1&&(m(0,"div",3),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.headerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}function Tt(s,t){if(s&1&&(m(0,"div",5),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.footerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}var St=["searchInput"],wt=["clearButton"],At=(s,t,i)=>({item:s,clear:t,label:i}),Dt=(s,t)=>({items:s,clear:t}),Ft=(s,t,i,e)=>({item:s,item$:t,index:i,searchTerm:e});function xt(s,t){if(s&1&&(m(0,"div",20),k(1),_()),s&2){let i=d(2);c(),Q(i.placeholder()??i.config.placeholder)}}function yt(s,t){}function It(s,t){if(s&1&&O(0,xt,2,1,"ng-template",null,1,P)(2,yt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.placeholderTemplate()||i)}}function Ot(s,t){if(s&1){let i=H();m(0,"span",23),B("click",function(){b(i);let n=d().$implicit,o=d(2);return E(o.unselect(n))}),k(1,"\xD7"),_(),W(2,"span",24)}if(s&2){let i=d().$implicit,e=d(2);c(2),C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function kt(s,t){}function Mt(s,t){if(s&1&&(m(0,"div",22),O(1,Ot,3,2,"ng-template",null,2,P)(3,kt,0,0,"ng-template",12),_()),s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-value-disabled",i.disabled),c(3),C("ngTemplateOutlet",n.labelTemplate()||e)("ngTemplateOutletContext",Ge(4,At,i.value,n.clearItem,i.label))}}function Lt(s,t){if(s&1&&he(0,Mt,4,8,"div",21,ce().trackByOption,!0),s&2){let i=d();pe(i.selectedItems)}}function Nt(s,t){}function Bt(s,t){if(s&1&&O(0,Nt,0,0,"ng-template",12),s&2){let i=d();C("ngTemplateOutlet",i.multiLabelTemplate())("ngTemplateOutletContext",Qe(2,Dt,i.selectedValues,i.clearItem))}}function Vt(s,t){s&1&&W(0,"div",25)}function Pt(s,t){}function Rt(s,t){if(s&1&&O(0,Vt,1,0,"ng-template",null,3,P)(2,Pt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.loadingSpinnerTemplate()||i)}}function Ht(s,t){if(s&1&&se(0,19),s&2){let i=d(2);C("ngTemplateOutlet",i.clearButtonTemplate())}}function zt(s,t){if(s&1){let i=H();m(0,"span",27,4),B("click",function(n){b(i);let o=d(2);return E(o.handleClearClick(n))}),m(2,"span",28),k(3,"\xD7"),_()()}if(s&2){let i=d(2);C("title",je(i.clearAllText()||i.config.clearAllText)),Z("tabindex",i.tabFocusOnClear()?0:-1)}}function Ut(s,t){if(s&1&&S(0,Ht,1,1,"ng-container",19)(1,zt,4,3,"span",26),s&2){let i=d();w(i.clearButtonTemplate()?0:1)}}function jt(s,t){if(s&1&&W(0,"span",33),s&2){let i=d().$implicit,e=d(2);C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function Wt(s,t){}function Qt(s,t){if(s&1){let i=H();m(0,"div",32),B("click",function(){let n=b(i).$implicit,o=d(2);return E(o.toggleItem(n))})("mouseover",function(){let n=b(i).$implicit,o=d(2);return E(o.onItemHover(n))}),O(1,jt,1,2,"ng-template",null,5,P)(3,Wt,0,0,"ng-template",12),_()}if(s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===n.itemsList.markedItem),Z("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId)("aria-setsize",n.itemsList.filteredItems.length)("aria-posinset",i.index+1),c(3),C("ngTemplateOutlet",i.children?n.optgroupTemplate()||e:n.optionTemplate()||e)("ngTemplateOutletContext",Ke(19,Ft,i.value,i,i.index,n.searchTerm))}}function Gt(s,t){if(s&1&&(m(0,"span")(1,"span",35),k(2),_(),k(3),_()),s&2){let i=d(3);c(2),Q(i.addTagText()||i.config.addTagText),c(),fe('"',i.searchTerm,'"')}}function Kt(s,t){}function Yt(s,t){if(s&1){let i=H();m(0,"div",34),B("mouseover",function(){b(i);let n=d(2);return E(n.itemsList.unmarkItem())})("click",function(){b(i);let n=d(2);return E(n.selectTag())}),O(1,Gt,4,2,"ng-template",null,6,P)(3,Kt,0,0,"ng-template",12),_()}if(s&2){let i=I(2),e=d(2);V("ng-option-marked",!e.itemsList.markedItem),c(3),C("ngTemplateOutlet",e.tagTemplate()||i)("ngTemplateOutletContext",G(4,X,e.searchTerm))}}function Zt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.notFoundText()??i.config.notFoundText)}}function qt(s,t){}function Jt(s,t){if(s&1&&O(0,Zt,2,1,"ng-template",null,7,P)(2,qt,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.notFoundTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function Xt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.typeToSearchText()||i.config.typeToSearchText)}}function $t(s,t){}function en(s,t){if(s&1&&O(0,Xt,2,1,"ng-template",null,8,P)(2,$t,0,0,"ng-template",19),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.typeToSearchTemplate()||i)}}function tn(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.loadingText()||i.config.loadingText)}}function nn(s,t){}function sn(s,t){if(s&1&&O(0,tn,2,1,"ng-template",null,9,P)(2,nn,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.loadingTextTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function on(s,t){if(s&1){let i=H();m(0,"ng-dropdown-panel",29),B("update",function(n){b(i);let o=d();return E(o.viewPortItems=n)})("scroll",function(n){b(i);let o=d();return E(o.scroll.emit(n))})("scrollToEnd",function(n){b(i);let o=d();return E(o.scrollToEnd.emit(n))})("outsideClick",function(){b(i);let n=d();return E(n.close())}),He(1),he(2,Qt,4,24,"div",30,ce().trackByOption,!0),S(4,Yt,4,6,"div",31),ze(),S(5,Jt,3,4),S(6,en,3,1),S(7,sn,3,4),_()}if(s&2){let i=d(),e=i.appendTo()||i.config.appendTo;Ue(e?i.ngClass()?i.ngClass():i.classes:null),V("ng-select-multiple",i.multiple()),C("virtualScroll",i.virtualScroll()??!i.config.disableVirtualScroll??!1)("bufferAmount",i.bufferAmount())("appendTo",e)("position",i.dropdownPosition())("outsideClickEvent",i.outsideClickEvent())("headerTemplate",i.headerTemplate())("footerTemplate",i.footerTemplate())("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("showAddTag",i.showAddTag)("markedItem",i.itemsList.markedItem)("id",i.dropdownId)("ariaLabelDropdown",i.ariaLabelDropdown()),c(2),pe(i.viewPortItems),c(2),w(i.showAddTag?4:-1),c(),w(i.showNoItemsFound()?5:-1),c(),w(i.showTypeToSearch()?6:-1),c(),w(i.loading()&&i.itemsList.filteredItems.length===0?7:-1)}}function ln(s,t){if(s&1&&k(0),s&2){let i=d();fe(" ",i.notFoundText()??i.config.notFoundText," ")}}var pt=/[&<>"']/g,an=RegExp(pt.source),rn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function un(s){return s&&an.test(s)?s.replace(pt,t=>rn[t]):s}function g(s){return s!=null}function j(s){return typeof s=="object"&&g(s)}function dn(s){return s instanceof Promise}function ae(s){return s instanceof Function}var cn=(()=>{let t=class t{constructor(){this.element=p(y),this.ngItemLabel=a(),this.escape=a(!0),_e(()=>{this.element.nativeElement.innerHTML=this.escape()?un(this.ngItemLabel()):this.ngItemLabel()})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}});let s=t;return s})(),Je=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-option-tmp",""]]});let s=t;return s})(),Xe=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-optgroup-tmp",""]]});let s=t;return s})(),$e=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-label-tmp",""]]});let s=t;return s})(),et=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-multi-label-tmp",""]]});let s=t;return s})(),tt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-header-tmp",""]]});let s=t;return s})(),nt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-footer-tmp",""]]});let s=t;return s})(),it=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-notfound-tmp",""]]});let s=t;return s})(),st=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-placeholder-tmp",""]]});let s=t;return s})(),ot=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-typetosearch-tmp",""]]});let s=t;return s})(),lt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingtext-tmp",""]]});let s=t;return s})(),at=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-tag-tmp",""]]});let s=t;return s})(),rt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingspinner-tmp",""]]});let s=t;return s})(),ut=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-clearbutton-tmp",""]]});let s=t;return s})(),hn=(()=>{let t=class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),pn=(()=>{let t=class t{warn(e){console.warn(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();function mt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var mn={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function le(s){let t=i=>mn[i]||i;return s.replace(/[^\u0000-\u007E]/g,t)}var ve=class{constructor(t,i){this._ngSelect=t,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let t=this.selectedItems.length-1;for(;t>=0;t--){let i=this.selectedItems[t];if(!i.disabled)return i}return null}setItems(t){this._items=t.map((e,n)=>this.mapItem(e,n));let i=this._ngSelect.groupBy();i?(this._groups=this._groupBy(this._items,i),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(t){if(t.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple();i||this.clearSelected(),this._selectionModel.select(t,i,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(t)}unselect(t){if(!t.selected)return;let i=this._ngSelect.multiple();this._selectionModel.unselect(t,i),this._ngSelect.hideSelected()&&g(t.index)&&i&&this._showSelected(t)}findItem(t){let i;return this._ngSelect.compareWith()?i=e=>this._ngSelect.compareWith()(e.value,t):this._ngSelect.bindValue()?i=e=>!e.children&&this.resolveNested(e.value,this._ngSelect.bindValue())===t:i=e=>e.value===t||!e.children&&e.label&&e.label===this.resolveNested(t,this._ngSelect.bindLabel()),this._items.find(e=>i(e))}addItem(t){let i=this.mapItem(t,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(t=!1){this._selectionModel.clear(t),this._items.forEach(i=>{i.selected=t&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(t){return t=le(t).toLocaleLowerCase(),this.filteredItems.find(i=>le(i.label).toLocaleLowerCase().substr(0,t.length)===t)}filter(t){if(!t){this.resetFilteredItems();return}this._filteredItems=[],t=this._ngSelect.searchFn()?t:le(t).toLocaleLowerCase();let i=this._ngSelect.searchFn()||this._defaultSearchFn,e=this._ngSelect.hideSelected();for(let n of Array.from(this._groups.keys())){let o=[];for(let l of this._groups.get(n)){if(e&&(l.parent&&l.parent.selected||l.selected))continue;let r=this._ngSelect.searchFn()?l.value:l;i(t,r)&&o.push(l)}if(o.length>0){let[l]=o.slice(-1);if(l.parent){let r=this._items.find(h=>h===l.parent);this._filteredItems.push(r)}this._filteredItems.push(...o)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._filteredItems=this._items.filter(t=>!t.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(t){this._markedIndex=this._filteredItems.indexOf(t)}markSelectedOrDefault(t){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=t?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(t,i){if(!j(t))return t;if(i.indexOf(".")===-1)return t[i];{let e=i.split("."),n=t;for(let o=0,l=e.length;o<l;++o){if(n==null)return null;n=n[e[o]]}return n}}mapItem(t,i){let e=j(t)&&"$ngOptionLabel"in t,n=j(t)&&"$ngOptionValue"in t,o=e?t.$ngOptionLabel:this.resolveNested(t,this._ngSelect.bindLabel()),l=n?t.$ngOptionValue:t;return{index:i,label:g(o)?o.toString():"",value:l,disabled:t&&t.disabled?t.disabled:!1,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let t=this._ngSelect.multiple();for(let i of this.selectedItems){let e=this._ngSelect.bindValue(),n=null;if(this._ngSelect.compareWith())n=this._items.find(o=>this._ngSelect.compareWith()(o.value,i.value));else{let o=e?this.resolveNested(i.value,e):i.value;n=g(o)?this.findItem(o):null}this._selectionModel.unselect(i,t),this._selectionModel.select(n||i,t,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(t){if(this._filteredItems.push(t),t.parent){let i=t.parent;this._filteredItems.find(n=>n===i)||this._filteredItems.push(i)}else if(t.children)for(let i of t.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,e)=>i.index-e.index)]}_hideSelected(t){this._filteredItems=this._filteredItems.filter(i=>i!==t),t.parent?t.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(e=>e!==t.parent)):t.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==t))}_defaultSearchFn(t,i){return le(i.label).toLocaleLowerCase().indexOf(t)>-1}_getNextItemIndex(t){return t>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(t){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&this.markedItem===void 0)return-1;let t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)}_groupBy(t,i){let e=new Map;if(t.length===0)return e;if(Array.isArray(t[0].value[i])){for(let l of t){let r=(l.value[i]||[]).map((h,x)=>this.mapItem(h,x));e.set(l,r)}return e}let n=ae(this._ngSelect.groupBy()),o=l=>{let r=n?i(l.value):l.value[i];return g(r)?r:void 0};for(let l of t){let r=o(l),h=e.get(r);h?h.push(l):e.set(r,[l])}return e}_flatten(t){let i=ae(this._ngSelect.groupBy()),e=[];for(let n of Array.from(t.keys())){let o=e.length;if(n===void 0){let L=t.get(void 0)||[];e.push(...L.map($=>($.index=o++,$)));continue}let l=j(n),r={label:l?"":String(n),children:void 0,parent:null,index:o++,disabled:!this._ngSelect.selectableGroup(),htmlId:mt()},h=i?this._ngSelect.bindLabel():this._ngSelect.groupBy(),x=this._ngSelect.groupValue()||(()=>l?n.value:{[h]:n}),F=t.get(n).map(L=>(L.parent=r,L.children=void 0,L.index=o++,L));r.children=F,r.value=x(n,F.map(L=>L.value)),e.push(r),e.push(...F)}return e}},gt=(()=>{let t=class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,n,o){let l=this._dimensions,r=l.itemHeight*n,x=Math.max(0,e)/r*n,F=Math.min(n,Math.ceil(x)+(l.itemsPerViewport+1)),$=Math.max(0,F-l.itemsPerViewport),N=Math.min($,Math.floor(x)),ee=l.itemHeight*Math.ceil(N)-l.itemHeight*Math.min(N,o);return ee=isNaN(ee)?0:ee,N=isNaN(N)?-1:N,F=isNaN(F)?-1:F,N-=o,N=Math.max(0,N),F+=o,F=Math.min(n,F),{topPadding:ee,scrollHeight:r,start:N,end:F}}setDimensions(e,n){let o=Math.max(1,Math.floor(n/e));this._dimensions={itemHeight:e,panelHeight:n,itemsPerViewport:o}}getScrollTo(e,n,o){let{panelHeight:l}=this.dimensions,r=e+n,h=o,x=h+l;return l>=r&&o===e?null:r>x?h+r-x:e<=h?e:null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac});let s=t;return s})(),dt=["top","right","bottom","left"],gn=typeof requestAnimationFrame<"u"?De:Ae,Ce=(()=>{let t=class t{get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){let{itemHeight:e,panelHeight:n}=this._panelService.dimensions,o=this.markedItem().index*e;return n>o?0:o}return 0}constructor(){this._renderer=p(Pe),this._zone=p(Be),this._panelService=p(gt),this._document=p(Ne,{optional:!0}),this._destroyRef=p(ue),this._dropdown=p(y).nativeElement,this.items=a([]),this.showAddTag=a(!1,{transform:f}),this.markedItem=a(void 0),this.position=a("auto"),this.appendTo=a(void 0),this.bufferAmount=a(void 0),this.virtualScroll=a(!1,{transform:f}),this.headerTemplate=a(void 0),this.footerTemplate=a(void 0),this.filterValue=a(null),this.ariaLabelDropdown=a(null),this.outsideClickEvent=a("click"),this.update=v(),this.scroll=v(),this.scrollToEnd=v(),this.outsideClick=v(),this.contentElementRef=U("content",{read:y}),this.scrollElementRef=U("scroll",{read:y}),this.paddingElementRef=U("padding",{read:y}),this._virtualPadding=R(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=R(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=R(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let n=e.items;this._onItemsOrShowAddTagChange(n.currentValue,this.showAddTag(),n.firstChange)}if(e.showAddTag){let n=e.showAddTag;this._onItemsOrShowAddTagChange(this.items(),n.currentValue,n.firstChange)}}scrollTo(e,n=!1){if(!e)return;let o=this.items().indexOf(e);if(o<0||o>=this.itemsLength)return;let l;if(this.virtualScroll()){let r=this._panelService.dimensions.itemHeight;l=this._panelService.getScrollTo(o*r,r,this._lastScrollPosition)}else{let r=this._dropdown.querySelector(`#${e.htmlId}`),h=n?r.offsetTop:this._lastScrollPosition;l=this._panelService.getScrollTo(r.offsetTop,r.clientHeight,h)}g(l)&&(this._scrollablePanel().scrollTop=l)}scrollToTag(){let e=this._scrollablePanel();e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),dt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo()&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){dt.forEach(o=>{let l=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,l),this._renderer.removeClass(this._select,l)});let n=`ng-select-${e}`;this._renderer.addClass(this._dropdown,n),this._renderer.addClass(this._select,n)}_handleScroll(){this._zone.runOutsideAngular(()=>{this._scrollablePanel()&&te(this._scrollablePanel(),"scroll").pipe(J(this._destroyRef),ye(0,gn)).subscribe(e=>{let n=e.target;n&&"scrollTop"in n&&this._onContentScrolled(n.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{te(this._document,this.outsideClickEvent(),{capture:!0}).pipe(J(this._destroyRef)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(e=[],n,o){this._scrollToEndFired=!1,this.itemsLength=e.length,n&&e.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(e){this.update.emit(this.items()),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let n=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,n),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll()&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding().style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel().scrollTop;let n=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(n.scrollHeight),this._contentPanel().style.transform=`translateY(${n.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items().slice(n.start,n.end)),this.scroll.emit({start:n.start,end:n.end})}),g(e)&&this._lastScrollPosition===0&&(this._scrollablePanel().scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items();return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding().style.height=`${o*this.itemsLength}px`;let l=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(o,l),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let n=this.virtualScroll()?this._virtualPadding():this._contentPanel();e+this._dropdown.clientHeight>=n.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){let n=this.position();if(n!=="auto")return n;let o=this._select.getBoundingClientRect(),l=document.documentElement.scrollTop||document.body.scrollTop,r=o.top+window.pageYOffset,h=o.height,x=e.getBoundingClientRect().height;return r+h+x>l+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=document.documentElement.dir==="rtl",l=e.left-n.left;if(o){let r=n.right-e.right;this._dropdown.style.right=r+"px",this._dropdown.style.left="auto"}else this._dropdown.style.left=l+"px",this._dropdown.style.right="auto";this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let l=n.bottom-e.bottom;this._dropdown.style.bottom=l+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let l=e.top-n.top;this._dropdown.style.top=l+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{te(this._dropdown,"mousedown").pipe(J(this._destroyRef)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(n,o){n&1&&(z(o.contentElementRef,bt,5,y),z(o.scrollElementRef,Et,5,y),z(o.paddingElementRef,Ct,5,y)),n&2&&oe(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[de],ngContentSelectors:ht,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(me(),S(0,vt,2,4,"div",3),m(1,"div",4,0),W(3,"div",null,1),m(5,"div",null,2),ge(7),_()(),S(8,Tt,2,4,"div",5)),n&2&&(w(o.headerTemplate()?0:-1),c(),Z("aria-label",o.ariaLabelDropdown()),c(2),V("total-padding",o.virtualScroll()),c(2),V("scrollable-content",o.virtualScroll()&&o.items().length),c(3),w(o.footerTemplate()?8:-1))},dependencies:[Ee],encapsulation:2,changeDetection:0});let s=t;return s})(),ct=(()=>{let t=class t{constructor(){this.value=a(),this.disabled=a(!1,{transform:f}),this.elementRef=p(y),this.label=Y(""),Ve(()=>{let e=(this.elementRef.nativeElement.innerHTML||"").trim();e!==this.label()&&this.label.set(e)})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:ht,decls:1,vars:0,template:function(n,o){n&1&&(me(),ge(0))},encapsulation:2,changeDetection:0});let s=t;return s})(),M=(function(s){return s.Tab="Tab",s.Enter="Enter",s.Esc="Escape",s.Space=" ",s.ArrowUp="ArrowUp",s.ArrowDown="ArrowDown",s.Backspace="Backspace",s})(M||{});function ft(){return new Te}var Te=class{constructor(){this._selected=[]}get value(){return this._selected}select(t,i,e){if(t.selected=!0,(!t.children||!i&&e)&&this._selected.push(t),i)if(t.parent){let n=t.parent.children.length,o=t.parent.children.filter(l=>l.selected).length;t.parent.selected=n===o}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),e&&this._activeChildren(t)?this._selected=[...this._selected.filter(n=>n.parent!==t),t]:this._selected=[...this._selected,...t.children.filter(n=>!n.disabled)])}unselect(t,i){if(this._selected=this._selected.filter(e=>e!==t),t.selected=!1,i)if(t.parent&&t.parent.selected){let e=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),this._selected.push(...e.filter(n=>n!==t&&!n.disabled)),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))}clear(t){this._selected=t?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(t,i){for(let e of t)e.disabled||(e.selected=i)}_removeChildren(t){this._selected=[...this._selected.filter(i=>i.parent!==t),...t.children.filter(i=>i.parent===t&&i.disabled&&i.selected)]}_removeParent(t){this._selected=this._selected.filter(i=>i!==t)}_activeChildren(t){return t.children.every(i=>!i.disabled||i.selected)}},_t=new Me("ng-select-selection-model"),On=(()=>{let t=class t{constructor(){this.classes=p(new be("class"),{optional:!0}),this.config=p(hn),this._cd=p(Ze),this._console=p(pn),this._destroyRef=p(ue),this._disabled=Y(!1),this.ariaLabelDropdown=a("Options List"),this.ariaLabel=a(void 0),this.markFirst=a(!0,{transform:f}),this.placeholder=a(this.config.placeholder),this.fixedPlaceholder=a(!0),this.notFoundText=a(void 0),this.typeToSearchText=a(void 0),this.preventToggleOnRightClick=a(!1),this.addTagText=a(void 0),this.loadingText=a(void 0),this.clearAllText=a(void 0),this.dropdownPosition=a("auto"),this.appendTo=a(void 0),this.outsideClickEvent=a(this.config.outsideClickEvent),this.loading=a(!1,{transform:f}),this.closeOnSelect=a(!0,{transform:f}),this.hideSelected=a(!1,{transform:f}),this.selectOnTab=a(!1,{transform:f}),this.openOnEnter=a(void 0,{transform:f}),this.maxSelectedItems=a(void 0,{transform:q}),this.groupBy=a(void 0),this.groupValue=a(void 0),this.bufferAmount=a(4,{transform:q}),this.virtualScroll=a(void 0,{transform:f}),this.selectableGroup=a(!1,{transform:f}),this.tabFocusOnClearButton=a(),this.selectableGroupAsModel=a(!0,{transform:f}),this.searchFn=a(null),this.trackByFn=a(null),this.clearOnBackspace=a(!0,{transform:f}),this.labelForId=a(null),this.inputAttrs=a({}),this.tabIndex=a(void 0,{transform:q}),this.readonly=a(!1,{transform:f}),this.searchWhileComposing=a(!0,{transform:f}),this.minTermLength=a(0,{transform:q}),this.editableSearchTerm=a(!1,{transform:f}),this.ngClass=a(null),this.typeahead=a(void 0),this.multiple=a(!1,{transform:f}),this.addTag=a(!1),this.searchable=a(!0,{transform:f}),this.clearable=a(!0,{transform:f}),this.deselectOnClick=a(),this.clearSearchOnAdd=a(void 0),this.compareWith=a(void 0,{transform:l=>{if(l!=null&&!ae(l))throw Error("`compareWith` must be a function.");return l}}),this.keyDownFn=a(l=>!0),this.bindLabel=K(void 0),this.bindValue=K(void 0),this.appearance=K(void 0),this.isOpen=K(!1),this.items=K([]),this.blurEvent=v({alias:"blur"}),this.focusEvent=v({alias:"focus"}),this.changeEvent=v({alias:"change"}),this.openEvent=v({alias:"open"}),this.closeEvent=v({alias:"close"}),this.searchEvent=v({alias:"search"}),this.clearEvent=v({alias:"clear"}),this.addEvent=v({alias:"add"}),this.removeEvent=v({alias:"remove"}),this.scroll=v({alias:"scroll"}),this.scrollToEnd=v({alias:"scrollToEnd"}),this.disabled=R(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=R(()=>g(this.clearSearchOnAdd())?this.clearSearchOnAdd():g(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=R(()=>g(this.deselectOnClick())?this.deselectOnClick():g(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=D(Je,{read:u}),this.optgroupTemplate=D(Xe,{read:u}),this.labelTemplate=D($e,{read:u}),this.multiLabelTemplate=D(et,{read:u}),this.headerTemplate=D(tt,{read:u}),this.footerTemplate=D(nt,{read:u}),this.notFoundTemplate=D(it,{read:u}),this.placeholderTemplate=D(st,{read:u}),this.typeToSearchTemplate=D(ot,{read:u}),this.loadingTextTemplate=D(lt,{read:u}),this.tagTemplate=D(at,{read:u}),this.loadingSpinnerTemplate=D(rt,{read:u}),this.clearButtonTemplate=D(ut,{read:u}),this.ngOptions=Ye(ct,{descendants:!0}),this.dropdownPanel=U(re(()=>Ce)),this.searchInput=U("searchInput"),this.clearButton=U("clearButton"),this.dropdownId=mt(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=Y(!0),this.autoFocus=p(new be("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTerm=R(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=p(Le),this._isComposing=!1,this._keyPress$=new we,this._pressedKeys=[],this._searchTerm=Y(null),this._validTerm=R(()=>{let l=this._searchTerm()?.trim();return l&&l.length>=this.minTermLength()}),this.clearItem=l=>{let r=this.selectedItems.find(h=>h.value===l);this.unselect(r)},this.trackByOption=(l,r)=>this.trackByFn()?this.trackByFn()(r.value):r,this._onChange=l=>{},this._onTouched=()=>{};let e=this.config,n=p(_t,{optional:!0}),o=p(y);this._mergeGlobalConfig(e),this.itemsList=new ve(this,n?n():ft()),this.element=o.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(n=>n.label.toLowerCase()===e)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(n=>n.label.toLowerCase()===e))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&(this._itemsAreUsed=!0,this._setItems(e.items.currentValue||[])),e.isOpen&&(this._manualOpen=g(e.isOpen.currentValue)),e.groupBy&&(e.items||this._setItems([...this.items()])),e.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),g(this.autoFocus)&&this.focus()}handleKeyDown(e){let n=e.key;if(Object.values(M).includes(n)){if(this.keyDownFn()(e)===!1)return;this.handleKeyCode(e)}else n&&n.length===1&&this._keyPress$.next(n.toLocaleLowerCase())}handleKeyCode(e){let n=e.target;this.clearButton()&&this.clearButton().nativeElement===n?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.key){case M.ArrowDown:this._handleArrowDown(e);break;case M.ArrowUp:this._handleArrowUp(e);break;case M.Space:this._handleSpace(e);break;case M.Enter:this._handleEnter(e);break;case M.Tab:this._handleTab(e);break;case M.Esc:this.close(),e.preventDefault();break;case M.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.key){case M.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.disabled())return;if(this.preventToggleOnRightClick()&&e.button===2)return!1;let n=e.target;if(n.tagName!=="INPUT"&&e.preventDefault(),!n.classList.contains("ng-clear-wrapper")){if(n.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}n.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(e){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled.set(e),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTerm()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled()||(this.deselectOnClickValue()&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm()&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAddValue()&&!this._editableSearchTerm()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(e.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ae(this.addTag())?e=this.addTag()(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};let n=o=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);dn(e)?e.then(o=>this.select(n(o))).catch(()=>{}):e&&this.select(n(e))}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this.typeahead()?.observed&&!this.loading()||e&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(e),this.typeahead()?.observed&&(this._validTerm()||this.minTermLength()===0)&&this.typeahead().next(e),this.typeahead()?.observed||(this.itemsList.filter(e),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(n=>n.value)}),this.open())}onInputFocus(e){this._focused||(this._editableSearchTerm()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this._focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems?.[0];this._searchTerm.set(e?.label??null)}_setItems(e){let n=e[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=g(n)?!j(n):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&&g(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){_e(()=>{let e=this.ngOptions();this.bindLabel.set(this._defaultLabel);let n=e.map(o=>({$ngOptionValue:o.value(),$ngOptionLabel:o.elementRef.nativeElement.innerHTML,disabled:o.disabled()}))??[];this.items.set(n),this.itemsList.setItems(n),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),e.map(o=>({option:o,item:this.itemsList.findItem(o.value())})).filter(({item:o})=>g(o)).forEach(({option:o,item:l})=>{l.disabled=o.disabled(),l.label=o.label()||l.label})},{injector:this._injector})}_isValidWriteValue(e){if(!g(e)||this.multiple()&&e===""||Array.isArray(e)&&e.length===0)return!1;let n=o=>!g(this.compareWith())&&j(o)&&this.bindValue()?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple()?Array.isArray(e)?e.every(o=>n(o)):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let n=o=>{let l=this.itemsList.findItem(o);if(l)this.itemsList.select(l);else{let r=j(o),h=!r&&!this.bindValue();r||h?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue()&&(l={[this.bindLabel()]:null,[this.bindValue()]:o},this.itemsList.select(this.itemsList.mapItem(l,null)))}};this.multiple()?e.forEach(o=>n(o)):n(e)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe(J(this._destroyRef),Oe(e=>this._pressedKeys.push(e)),Ie(200),xe(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(e=>{let n=this.itemsList.findByLabel(e);n&&(this.isOpen()?(this.itemsList.markItem(n),this._scrollToMarked(),this._cd.markForCheck()):this.select(n)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput().nativeElement,n=Se({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs());for(let o of Object.keys(n))e.setAttribute(o,n[o])}_setTabFocusOnClear(){this.tabFocusOnClear.set(g(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue()){let l=null;if(o.children){let r=this.groupValue()?this.bindValue():this.groupBy();l=o.value[r||this.groupBy()]}else l=this.itemsList.resolveNested(o.value,this.bindValue());e.push(l)}else e.push(o.value);let n=this.selectedItems.map(o=>o.value);this.multiple()?(this._onChange(e),this.changeEvent.emit(n)):(this._onChange(g(e[0])?e[0]:null),this.changeEvent.emit(n[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this._searchTerm.set(e),this.typeahead()?.observed&&this.typeahead().next(e)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){let e=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&e&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(e){if(this.isOpen()===!1){if(this.showClear()&&!e.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),e.preventDefault();else if(!this.addTag())return}this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){let n=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(n)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen()||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let n=this.itemsList.markedIndex+e;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(n<0||n===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.bindValue.set(this.bindValue()||e.bindValue),this.bindLabel.set(this.bindLabel()||e.bindLabel),this.appearance.set(this.appearance()||e.appearance),this._setTabFocusOnClear()}getVirtualScroll(e){return g(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(e)}isVirtualScrollDisabled(e){return g(e.disableVirtualScroll)?!e.disableVirtualScroll:!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-select"]],contentQueries:function(n,o,l){n&1&&(A(l,o.optionTemplate,Je,5,u),A(l,o.optgroupTemplate,Xe,5,u),A(l,o.labelTemplate,$e,5,u),A(l,o.multiLabelTemplate,et,5,u),A(l,o.headerTemplate,tt,5,u),A(l,o.footerTemplate,nt,5,u),A(l,o.notFoundTemplate,it,5,u),A(l,o.placeholderTemplate,st,5,u),A(l,o.typeToSearchTemplate,ot,5,u),A(l,o.loadingTextTemplate,lt,5,u),A(l,o.tagTemplate,at,5,u),A(l,o.loadingSpinnerTemplate,rt,5,u),A(l,o.clearButtonTemplate,ut,5,u),A(l,o.ngOptions,ct,5)),n&2&&oe(14)},viewQuery:function(n,o){n&1&&(z(o.dropdownPanel,Ce,5),z(o.searchInput,St,5),z(o.clearButton,wt,5)),n&2&&oe(3)},hostVars:20,hostBindings:function(n,o){n&1&&B("keydown",function(r){return o.handleKeyDown(r)}),n&2&&V("ng-select",!0)("ng-select-single",!o.multiple())("ng-select-typeahead",o.typeahead())("ng-select-multiple",o.multiple())("ng-select-taggable",o.addTag())("ng-select-searchable",o.searchable())("ng-select-clearable",o.clearable())("ng-select-opened",o.isOpen())("ng-select-filtered",o.filtered)("ng-select-disabled",o.disabled())},inputs:{ariaLabelDropdown:[1,"ariaLabelDropdown"],ariaLabel:[1,"ariaLabel"],markFirst:[1,"markFirst"],placeholder:[1,"placeholder"],fixedPlaceholder:[1,"fixedPlaceholder"],notFoundText:[1,"notFoundText"],typeToSearchText:[1,"typeToSearchText"],preventToggleOnRightClick:[1,"preventToggleOnRightClick"],addTagText:[1,"addTagText"],loadingText:[1,"loadingText"],clearAllText:[1,"clearAllText"],dropdownPosition:[1,"dropdownPosition"],appendTo:[1,"appendTo"],outsideClickEvent:[1,"outsideClickEvent"],loading:[1,"loading"],closeOnSelect:[1,"closeOnSelect"],hideSelected:[1,"hideSelected"],selectOnTab:[1,"selectOnTab"],openOnEnter:[1,"openOnEnter"],maxSelectedItems:[1,"maxSelectedItems"],groupBy:[1,"groupBy"],groupValue:[1,"groupValue"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],selectableGroup:[1,"selectableGroup"],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],selectableGroupAsModel:[1,"selectableGroupAsModel"],searchFn:[1,"searchFn"],trackByFn:[1,"trackByFn"],clearOnBackspace:[1,"clearOnBackspace"],labelForId:[1,"labelForId"],inputAttrs:[1,"inputAttrs"],tabIndex:[1,"tabIndex"],readonly:[1,"readonly"],searchWhileComposing:[1,"searchWhileComposing"],minTermLength:[1,"minTermLength"],editableSearchTerm:[1,"editableSearchTerm"],ngClass:[1,"ngClass"],typeahead:[1,"typeahead"],multiple:[1,"multiple"],addTag:[1,"addTag"],searchable:[1,"searchable"],clearable:[1,"clearable"],deselectOnClick:[1,"deselectOnClick"],clearSearchOnAdd:[1,"clearSearchOnAdd"],compareWith:[1,"compareWith"],keyDownFn:[1,"keyDownFn"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[We([{provide:qe,useExisting:re(()=>t),multi:!0},gt]),de],decls:15,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(n,o){if(n&1){let l=H();m(0,"div",10),B("mousedown",function(h){return b(l),E(o.handleMousedown(h))}),m(1,"div",11),S(2,It,3,1),S(3,Lt,2,0),S(4,Bt,1,5,null,12),m(5,"div",13)(6,"input",14,0),B("blur",function(h){return b(l),E(o.onInputBlur(h))})("change",function(h){return b(l),E(h.stopPropagation())})("compositionend",function(){b(l);let h=I(7);return E(o.onCompositionEnd(h.value))})("compositionstart",function(){return b(l),E(o.onCompositionStart())})("focus",function(h){return b(l),E(o.onInputFocus(h))})("input",function(){b(l);let h=I(7);return E(o.filter(h.value))}),_()()(),S(8,Rt,3,1),S(9,Ut,2,1),m(10,"span",15),W(11,"span",16),_()(),S(12,on,8,21,"ng-dropdown-panel",17),m(13,"div",18),S(14,ln,1,1),_()}n&2&&(V("ng-appearance-outline",o.appearance()==="outline")("ng-has-value",o.hasValue),c(2),w(o.selectedItems.length===0&&!o.searchTerm||(o.fixedPlaceholder()??o.config.fixedPlaceholder)?2:-1),c(),w((!o.multiLabelTemplate()||!o.multiple())&&o.selectedItems.length>0?3:-1),c(),w(o.multiple()&&o.multiLabelTemplate()&&o.selectedValues.length>0?4:-1),c(2),C("disabled",o.disabled())("readOnly",!o.searchable()||o.itemsList.maxItemsSelected)("value",o.searchTerm??""),Z("aria-activedescendant",o.isOpen()?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen()?o.dropdownId:null)("aria-expanded",o.isOpen())("aria-label",o.ariaLabel())("id",o.labelForId())("tabindex",o.tabIndex()),c(2),w(o.loading()?8:-1),c(),w(o.showClear()?9:-1),c(3),w(o.isOpen()?12:-1),c(2),w(o.isOpen()&&o.showNoItemsFound()?14:-1))},dependencies:[Ee,cn,Ce],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
1
+ import{a as J}from"./chunk-N5RDRDT7.js";import{a as qe}from"./chunk-7MRUPBXU.js";import{$a as Ve,$c as Ze,A as te,Ab as S,Ac as G,Bc as Qe,Ca as Y,Cb as w,Cc as Ge,Dc as Ke,E as xe,Fb as he,G as ye,Gb as pe,Ha as de,Hb as C,Ib as m,Ja as y,Jb as _,Kb as W,M as Ie,Nc as P,Ob as He,Pb as ze,Qb as se,Qc as R,Rb as H,Rc as _e,Sc as be,Ub as B,Uc as v,Vc as a,Wb as d,Wc as U,Xa as c,Xb as me,Xc as D,Yb as ge,Yc as Ye,Za as Be,Zc as K,ab as u,bc as A,bd as f,cc as z,cd as q,d as we,db as Pe,dc as oe,ec as I,fa as Oe,g as Ae,gc as V,ib as ie,ic as Ue,j as De,jb as Re,jc as k,ka as re,kb as T,kc as Q,la as ne,lc as fe,ma as ke,na as Me,ob as O,pa as p,pd as Ee,t as Fe,ta as b,ua as E,uc as je,wb as Z,xa as Le,ya as Ne,yc as We,za as ue,zb as ce}from"./chunk-L3U6V3BF.js";import{a as Se}from"./chunk-SNAKHGZS.js";var bt=["content"],Et=["scroll"],Ct=["padding"],ht=["*"],X=s=>({searchTerm:s});function vt(s,t){if(s&1&&(m(0,"div",3),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.headerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}function Tt(s,t){if(s&1&&(m(0,"div",5),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.footerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}var St=["searchInput"],wt=["clearButton"],At=(s,t,i)=>({item:s,clear:t,label:i}),Dt=(s,t)=>({items:s,clear:t}),Ft=(s,t,i,e)=>({item:s,item$:t,index:i,searchTerm:e});function xt(s,t){if(s&1&&(m(0,"div",20),k(1),_()),s&2){let i=d(2);c(),Q(i.placeholder()??i.config.placeholder)}}function yt(s,t){}function It(s,t){if(s&1&&O(0,xt,2,1,"ng-template",null,1,P)(2,yt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.placeholderTemplate()||i)}}function Ot(s,t){if(s&1){let i=H();m(0,"span",23),B("click",function(){b(i);let n=d().$implicit,o=d(2);return E(o.unselect(n))}),k(1,"\xD7"),_(),W(2,"span",24)}if(s&2){let i=d().$implicit,e=d(2);c(2),C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function kt(s,t){}function Mt(s,t){if(s&1&&(m(0,"div",22),O(1,Ot,3,2,"ng-template",null,2,P)(3,kt,0,0,"ng-template",12),_()),s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-value-disabled",i.disabled),c(3),C("ngTemplateOutlet",n.labelTemplate()||e)("ngTemplateOutletContext",Ge(4,At,i.value,n.clearItem,i.label))}}function Lt(s,t){if(s&1&&he(0,Mt,4,8,"div",21,ce().trackByOption,!0),s&2){let i=d();pe(i.selectedItems)}}function Nt(s,t){}function Bt(s,t){if(s&1&&O(0,Nt,0,0,"ng-template",12),s&2){let i=d();C("ngTemplateOutlet",i.multiLabelTemplate())("ngTemplateOutletContext",Qe(2,Dt,i.selectedValues,i.clearItem))}}function Vt(s,t){s&1&&W(0,"div",25)}function Pt(s,t){}function Rt(s,t){if(s&1&&O(0,Vt,1,0,"ng-template",null,3,P)(2,Pt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.loadingSpinnerTemplate()||i)}}function Ht(s,t){if(s&1&&se(0,19),s&2){let i=d(2);C("ngTemplateOutlet",i.clearButtonTemplate())}}function zt(s,t){if(s&1){let i=H();m(0,"span",27,4),B("click",function(n){b(i);let o=d(2);return E(o.handleClearClick(n))}),m(2,"span",28),k(3,"\xD7"),_()()}if(s&2){let i=d(2);C("title",je(i.clearAllText()||i.config.clearAllText)),Z("tabindex",i.tabFocusOnClear()?0:-1)}}function Ut(s,t){if(s&1&&S(0,Ht,1,1,"ng-container",19)(1,zt,4,3,"span",26),s&2){let i=d();w(i.clearButtonTemplate()?0:1)}}function jt(s,t){if(s&1&&W(0,"span",33),s&2){let i=d().$implicit,e=d(2);C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function Wt(s,t){}function Qt(s,t){if(s&1){let i=H();m(0,"div",32),B("click",function(){let n=b(i).$implicit,o=d(2);return E(o.toggleItem(n))})("mouseover",function(){let n=b(i).$implicit,o=d(2);return E(o.onItemHover(n))}),O(1,jt,1,2,"ng-template",null,5,P)(3,Wt,0,0,"ng-template",12),_()}if(s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===n.itemsList.markedItem),Z("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId)("aria-setsize",n.itemsList.filteredItems.length)("aria-posinset",i.index+1),c(3),C("ngTemplateOutlet",i.children?n.optgroupTemplate()||e:n.optionTemplate()||e)("ngTemplateOutletContext",Ke(19,Ft,i.value,i,i.index,n.searchTerm))}}function Gt(s,t){if(s&1&&(m(0,"span")(1,"span",35),k(2),_(),k(3),_()),s&2){let i=d(3);c(2),Q(i.addTagText()||i.config.addTagText),c(),fe('"',i.searchTerm,'"')}}function Kt(s,t){}function Yt(s,t){if(s&1){let i=H();m(0,"div",34),B("mouseover",function(){b(i);let n=d(2);return E(n.itemsList.unmarkItem())})("click",function(){b(i);let n=d(2);return E(n.selectTag())}),O(1,Gt,4,2,"ng-template",null,6,P)(3,Kt,0,0,"ng-template",12),_()}if(s&2){let i=I(2),e=d(2);V("ng-option-marked",!e.itemsList.markedItem),c(3),C("ngTemplateOutlet",e.tagTemplate()||i)("ngTemplateOutletContext",G(4,X,e.searchTerm))}}function Zt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.notFoundText()??i.config.notFoundText)}}function qt(s,t){}function Jt(s,t){if(s&1&&O(0,Zt,2,1,"ng-template",null,7,P)(2,qt,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.notFoundTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function Xt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.typeToSearchText()||i.config.typeToSearchText)}}function $t(s,t){}function en(s,t){if(s&1&&O(0,Xt,2,1,"ng-template",null,8,P)(2,$t,0,0,"ng-template",19),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.typeToSearchTemplate()||i)}}function tn(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.loadingText()||i.config.loadingText)}}function nn(s,t){}function sn(s,t){if(s&1&&O(0,tn,2,1,"ng-template",null,9,P)(2,nn,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.loadingTextTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function on(s,t){if(s&1){let i=H();m(0,"ng-dropdown-panel",29),B("update",function(n){b(i);let o=d();return E(o.viewPortItems=n)})("scroll",function(n){b(i);let o=d();return E(o.scroll.emit(n))})("scrollToEnd",function(n){b(i);let o=d();return E(o.scrollToEnd.emit(n))})("outsideClick",function(){b(i);let n=d();return E(n.close())}),He(1),he(2,Qt,4,24,"div",30,ce().trackByOption,!0),S(4,Yt,4,6,"div",31),ze(),S(5,Jt,3,4),S(6,en,3,1),S(7,sn,3,4),_()}if(s&2){let i=d(),e=i.appendTo()||i.config.appendTo;Ue(e?i.ngClass()?i.ngClass():i.classes:null),V("ng-select-multiple",i.multiple()),C("virtualScroll",i.virtualScroll()??!i.config.disableVirtualScroll??!1)("bufferAmount",i.bufferAmount())("appendTo",e)("position",i.dropdownPosition())("outsideClickEvent",i.outsideClickEvent())("headerTemplate",i.headerTemplate())("footerTemplate",i.footerTemplate())("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("showAddTag",i.showAddTag)("markedItem",i.itemsList.markedItem)("id",i.dropdownId)("ariaLabelDropdown",i.ariaLabelDropdown()),c(2),pe(i.viewPortItems),c(2),w(i.showAddTag?4:-1),c(),w(i.showNoItemsFound()?5:-1),c(),w(i.showTypeToSearch()?6:-1),c(),w(i.loading()&&i.itemsList.filteredItems.length===0?7:-1)}}function ln(s,t){if(s&1&&k(0),s&2){let i=d();fe(" ",i.notFoundText()??i.config.notFoundText," ")}}var pt=/[&<>"']/g,an=RegExp(pt.source),rn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function un(s){return s&&an.test(s)?s.replace(pt,t=>rn[t]):s}function g(s){return s!=null}function j(s){return typeof s=="object"&&g(s)}function dn(s){return s instanceof Promise}function ae(s){return s instanceof Function}var cn=(()=>{let t=class t{constructor(){this.element=p(y),this.ngItemLabel=a(),this.escape=a(!0),_e(()=>{this.element.nativeElement.innerHTML=this.escape()?un(this.ngItemLabel()):this.ngItemLabel()})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}});let s=t;return s})(),Je=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-option-tmp",""]]});let s=t;return s})(),Xe=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-optgroup-tmp",""]]});let s=t;return s})(),$e=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-label-tmp",""]]});let s=t;return s})(),et=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-multi-label-tmp",""]]});let s=t;return s})(),tt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-header-tmp",""]]});let s=t;return s})(),nt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-footer-tmp",""]]});let s=t;return s})(),it=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-notfound-tmp",""]]});let s=t;return s})(),st=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-placeholder-tmp",""]]});let s=t;return s})(),ot=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-typetosearch-tmp",""]]});let s=t;return s})(),lt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingtext-tmp",""]]});let s=t;return s})(),at=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-tag-tmp",""]]});let s=t;return s})(),rt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingspinner-tmp",""]]});let s=t;return s})(),ut=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-clearbutton-tmp",""]]});let s=t;return s})(),hn=(()=>{let t=class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),pn=(()=>{let t=class t{warn(e){console.warn(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();function mt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var mn={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function le(s){let t=i=>mn[i]||i;return s.replace(/[^\u0000-\u007E]/g,t)}var ve=class{constructor(t,i){this._ngSelect=t,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let t=this.selectedItems.length-1;for(;t>=0;t--){let i=this.selectedItems[t];if(!i.disabled)return i}return null}setItems(t){this._items=t.map((e,n)=>this.mapItem(e,n));let i=this._ngSelect.groupBy();i?(this._groups=this._groupBy(this._items,i),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(t){if(t.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple();i||this.clearSelected(),this._selectionModel.select(t,i,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(t)}unselect(t){if(!t.selected)return;let i=this._ngSelect.multiple();this._selectionModel.unselect(t,i),this._ngSelect.hideSelected()&&g(t.index)&&i&&this._showSelected(t)}findItem(t){let i;return this._ngSelect.compareWith()?i=e=>this._ngSelect.compareWith()(e.value,t):this._ngSelect.bindValue()?i=e=>!e.children&&this.resolveNested(e.value,this._ngSelect.bindValue())===t:i=e=>e.value===t||!e.children&&e.label&&e.label===this.resolveNested(t,this._ngSelect.bindLabel()),this._items.find(e=>i(e))}addItem(t){let i=this.mapItem(t,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(t=!1){this._selectionModel.clear(t),this._items.forEach(i=>{i.selected=t&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(t){return t=le(t).toLocaleLowerCase(),this.filteredItems.find(i=>le(i.label).toLocaleLowerCase().substr(0,t.length)===t)}filter(t){if(!t){this.resetFilteredItems();return}this._filteredItems=[],t=this._ngSelect.searchFn()?t:le(t).toLocaleLowerCase();let i=this._ngSelect.searchFn()||this._defaultSearchFn,e=this._ngSelect.hideSelected();for(let n of Array.from(this._groups.keys())){let o=[];for(let l of this._groups.get(n)){if(e&&(l.parent&&l.parent.selected||l.selected))continue;let r=this._ngSelect.searchFn()?l.value:l;i(t,r)&&o.push(l)}if(o.length>0){let[l]=o.slice(-1);if(l.parent){let r=this._items.find(h=>h===l.parent);this._filteredItems.push(r)}this._filteredItems.push(...o)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._filteredItems=this._items.filter(t=>!t.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(t){this._markedIndex=this._filteredItems.indexOf(t)}markSelectedOrDefault(t){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=t?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(t,i){if(!j(t))return t;if(i.indexOf(".")===-1)return t[i];{let e=i.split("."),n=t;for(let o=0,l=e.length;o<l;++o){if(n==null)return null;n=n[e[o]]}return n}}mapItem(t,i){let e=j(t)&&"$ngOptionLabel"in t,n=j(t)&&"$ngOptionValue"in t,o=e?t.$ngOptionLabel:this.resolveNested(t,this._ngSelect.bindLabel()),l=n?t.$ngOptionValue:t;return{index:i,label:g(o)?o.toString():"",value:l,disabled:t&&t.disabled?t.disabled:!1,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let t=this._ngSelect.multiple();for(let i of this.selectedItems){let e=this._ngSelect.bindValue(),n=null;if(this._ngSelect.compareWith())n=this._items.find(o=>this._ngSelect.compareWith()(o.value,i.value));else{let o=e?this.resolveNested(i.value,e):i.value;n=g(o)?this.findItem(o):null}this._selectionModel.unselect(i,t),this._selectionModel.select(n||i,t,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(t){if(this._filteredItems.push(t),t.parent){let i=t.parent;this._filteredItems.find(n=>n===i)||this._filteredItems.push(i)}else if(t.children)for(let i of t.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,e)=>i.index-e.index)]}_hideSelected(t){this._filteredItems=this._filteredItems.filter(i=>i!==t),t.parent?t.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(e=>e!==t.parent)):t.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==t))}_defaultSearchFn(t,i){return le(i.label).toLocaleLowerCase().indexOf(t)>-1}_getNextItemIndex(t){return t>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(t){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&this.markedItem===void 0)return-1;let t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)}_groupBy(t,i){let e=new Map;if(t.length===0)return e;if(Array.isArray(t[0].value[i])){for(let l of t){let r=(l.value[i]||[]).map((h,x)=>this.mapItem(h,x));e.set(l,r)}return e}let n=ae(this._ngSelect.groupBy()),o=l=>{let r=n?i(l.value):l.value[i];return g(r)?r:void 0};for(let l of t){let r=o(l),h=e.get(r);h?h.push(l):e.set(r,[l])}return e}_flatten(t){let i=ae(this._ngSelect.groupBy()),e=[];for(let n of Array.from(t.keys())){let o=e.length;if(n===void 0){let L=t.get(void 0)||[];e.push(...L.map($=>($.index=o++,$)));continue}let l=j(n),r={label:l?"":String(n),children:void 0,parent:null,index:o++,disabled:!this._ngSelect.selectableGroup(),htmlId:mt()},h=i?this._ngSelect.bindLabel():this._ngSelect.groupBy(),x=this._ngSelect.groupValue()||(()=>l?n.value:{[h]:n}),F=t.get(n).map(L=>(L.parent=r,L.children=void 0,L.index=o++,L));r.children=F,r.value=x(n,F.map(L=>L.value)),e.push(r),e.push(...F)}return e}},gt=(()=>{let t=class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,n,o){let l=this._dimensions,r=l.itemHeight*n,x=Math.max(0,e)/r*n,F=Math.min(n,Math.ceil(x)+(l.itemsPerViewport+1)),$=Math.max(0,F-l.itemsPerViewport),N=Math.min($,Math.floor(x)),ee=l.itemHeight*Math.ceil(N)-l.itemHeight*Math.min(N,o);return ee=isNaN(ee)?0:ee,N=isNaN(N)?-1:N,F=isNaN(F)?-1:F,N-=o,N=Math.max(0,N),F+=o,F=Math.min(n,F),{topPadding:ee,scrollHeight:r,start:N,end:F}}setDimensions(e,n){let o=Math.max(1,Math.floor(n/e));this._dimensions={itemHeight:e,panelHeight:n,itemsPerViewport:o}}getScrollTo(e,n,o){let{panelHeight:l}=this.dimensions,r=e+n,h=o,x=h+l;return l>=r&&o===e?null:r>x?h+r-x:e<=h?e:null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac});let s=t;return s})(),dt=["top","right","bottom","left"],gn=typeof requestAnimationFrame<"u"?De:Ae,Ce=(()=>{let t=class t{get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){let{itemHeight:e,panelHeight:n}=this._panelService.dimensions,o=this.markedItem().index*e;return n>o?0:o}return 0}constructor(){this._renderer=p(Pe),this._zone=p(Be),this._panelService=p(gt),this._document=p(Ne,{optional:!0}),this._destroyRef=p(ue),this._dropdown=p(y).nativeElement,this.items=a([]),this.showAddTag=a(!1,{transform:f}),this.markedItem=a(void 0),this.position=a("auto"),this.appendTo=a(void 0),this.bufferAmount=a(void 0),this.virtualScroll=a(!1,{transform:f}),this.headerTemplate=a(void 0),this.footerTemplate=a(void 0),this.filterValue=a(null),this.ariaLabelDropdown=a(null),this.outsideClickEvent=a("click"),this.update=v(),this.scroll=v(),this.scrollToEnd=v(),this.outsideClick=v(),this.contentElementRef=U("content",{read:y}),this.scrollElementRef=U("scroll",{read:y}),this.paddingElementRef=U("padding",{read:y}),this._virtualPadding=R(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=R(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=R(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let n=e.items;this._onItemsOrShowAddTagChange(n.currentValue,this.showAddTag(),n.firstChange)}if(e.showAddTag){let n=e.showAddTag;this._onItemsOrShowAddTagChange(this.items(),n.currentValue,n.firstChange)}}scrollTo(e,n=!1){if(!e)return;let o=this.items().indexOf(e);if(o<0||o>=this.itemsLength)return;let l;if(this.virtualScroll()){let r=this._panelService.dimensions.itemHeight;l=this._panelService.getScrollTo(o*r,r,this._lastScrollPosition)}else{let r=this._dropdown.querySelector(`#${e.htmlId}`),h=n?r.offsetTop:this._lastScrollPosition;l=this._panelService.getScrollTo(r.offsetTop,r.clientHeight,h)}g(l)&&(this._scrollablePanel().scrollTop=l)}scrollToTag(){let e=this._scrollablePanel();e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),dt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo()&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){dt.forEach(o=>{let l=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,l),this._renderer.removeClass(this._select,l)});let n=`ng-select-${e}`;this._renderer.addClass(this._dropdown,n),this._renderer.addClass(this._select,n)}_handleScroll(){this._zone.runOutsideAngular(()=>{this._scrollablePanel()&&te(this._scrollablePanel(),"scroll").pipe(J(this._destroyRef),ye(0,gn)).subscribe(e=>{let n=e.target;n&&"scrollTop"in n&&this._onContentScrolled(n.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{te(this._document,this.outsideClickEvent(),{capture:!0}).pipe(J(this._destroyRef)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(e=[],n,o){this._scrollToEndFired=!1,this.itemsLength=e.length,n&&e.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(e){this.update.emit(this.items()),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let n=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,n),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll()&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding().style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel().scrollTop;let n=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(n.scrollHeight),this._contentPanel().style.transform=`translateY(${n.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items().slice(n.start,n.end)),this.scroll.emit({start:n.start,end:n.end})}),g(e)&&this._lastScrollPosition===0&&(this._scrollablePanel().scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items();return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding().style.height=`${o*this.itemsLength}px`;let l=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(o,l),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let n=this.virtualScroll()?this._virtualPadding():this._contentPanel();e+this._dropdown.clientHeight>=n.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){let n=this.position();if(n!=="auto")return n;let o=this._select.getBoundingClientRect(),l=document.documentElement.scrollTop||document.body.scrollTop,r=o.top+window.pageYOffset,h=o.height,x=e.getBoundingClientRect().height;return r+h+x>l+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=document.documentElement.dir==="rtl",l=e.left-n.left;if(o){let r=n.right-e.right;this._dropdown.style.right=r+"px",this._dropdown.style.left="auto"}else this._dropdown.style.left=l+"px",this._dropdown.style.right="auto";this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let l=n.bottom-e.bottom;this._dropdown.style.bottom=l+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let l=e.top-n.top;this._dropdown.style.top=l+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{te(this._dropdown,"mousedown").pipe(J(this._destroyRef)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(n,o){n&1&&(z(o.contentElementRef,bt,5,y),z(o.scrollElementRef,Et,5,y),z(o.paddingElementRef,Ct,5,y)),n&2&&oe(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[de],ngContentSelectors:ht,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(me(),S(0,vt,2,4,"div",3),m(1,"div",4,0),W(3,"div",null,1),m(5,"div",null,2),ge(7),_()(),S(8,Tt,2,4,"div",5)),n&2&&(w(o.headerTemplate()?0:-1),c(),Z("aria-label",o.ariaLabelDropdown()),c(2),V("total-padding",o.virtualScroll()),c(2),V("scrollable-content",o.virtualScroll()&&o.items().length),c(3),w(o.footerTemplate()?8:-1))},dependencies:[Ee],encapsulation:2,changeDetection:0});let s=t;return s})(),ct=(()=>{let t=class t{constructor(){this.value=a(),this.disabled=a(!1,{transform:f}),this.elementRef=p(y),this.label=Y(""),Ve(()=>{let e=(this.elementRef.nativeElement.innerHTML||"").trim();e!==this.label()&&this.label.set(e)})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:ht,decls:1,vars:0,template:function(n,o){n&1&&(me(),ge(0))},encapsulation:2,changeDetection:0});let s=t;return s})(),M=(function(s){return s.Tab="Tab",s.Enter="Enter",s.Esc="Escape",s.Space=" ",s.ArrowUp="ArrowUp",s.ArrowDown="ArrowDown",s.Backspace="Backspace",s})(M||{});function ft(){return new Te}var Te=class{constructor(){this._selected=[]}get value(){return this._selected}select(t,i,e){if(t.selected=!0,(!t.children||!i&&e)&&this._selected.push(t),i)if(t.parent){let n=t.parent.children.length,o=t.parent.children.filter(l=>l.selected).length;t.parent.selected=n===o}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),e&&this._activeChildren(t)?this._selected=[...this._selected.filter(n=>n.parent!==t),t]:this._selected=[...this._selected,...t.children.filter(n=>!n.disabled)])}unselect(t,i){if(this._selected=this._selected.filter(e=>e!==t),t.selected=!1,i)if(t.parent&&t.parent.selected){let e=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),this._selected.push(...e.filter(n=>n!==t&&!n.disabled)),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))}clear(t){this._selected=t?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(t,i){for(let e of t)e.disabled||(e.selected=i)}_removeChildren(t){this._selected=[...this._selected.filter(i=>i.parent!==t),...t.children.filter(i=>i.parent===t&&i.disabled&&i.selected)]}_removeParent(t){this._selected=this._selected.filter(i=>i!==t)}_activeChildren(t){return t.children.every(i=>!i.disabled||i.selected)}},_t=new Me("ng-select-selection-model"),On=(()=>{let t=class t{constructor(){this.classes=p(new be("class"),{optional:!0}),this.config=p(hn),this._cd=p(Ze),this._console=p(pn),this._destroyRef=p(ue),this._disabled=Y(!1),this.ariaLabelDropdown=a("Options List"),this.ariaLabel=a(void 0),this.markFirst=a(!0,{transform:f}),this.placeholder=a(this.config.placeholder),this.fixedPlaceholder=a(!0),this.notFoundText=a(void 0),this.typeToSearchText=a(void 0),this.preventToggleOnRightClick=a(!1),this.addTagText=a(void 0),this.loadingText=a(void 0),this.clearAllText=a(void 0),this.dropdownPosition=a("auto"),this.appendTo=a(void 0),this.outsideClickEvent=a(this.config.outsideClickEvent),this.loading=a(!1,{transform:f}),this.closeOnSelect=a(!0,{transform:f}),this.hideSelected=a(!1,{transform:f}),this.selectOnTab=a(!1,{transform:f}),this.openOnEnter=a(void 0,{transform:f}),this.maxSelectedItems=a(void 0,{transform:q}),this.groupBy=a(void 0),this.groupValue=a(void 0),this.bufferAmount=a(4,{transform:q}),this.virtualScroll=a(void 0,{transform:f}),this.selectableGroup=a(!1,{transform:f}),this.tabFocusOnClearButton=a(),this.selectableGroupAsModel=a(!0,{transform:f}),this.searchFn=a(null),this.trackByFn=a(null),this.clearOnBackspace=a(!0,{transform:f}),this.labelForId=a(null),this.inputAttrs=a({}),this.tabIndex=a(void 0,{transform:q}),this.readonly=a(!1,{transform:f}),this.searchWhileComposing=a(!0,{transform:f}),this.minTermLength=a(0,{transform:q}),this.editableSearchTerm=a(!1,{transform:f}),this.ngClass=a(null),this.typeahead=a(void 0),this.multiple=a(!1,{transform:f}),this.addTag=a(!1),this.searchable=a(!0,{transform:f}),this.clearable=a(!0,{transform:f}),this.deselectOnClick=a(),this.clearSearchOnAdd=a(void 0),this.compareWith=a(void 0,{transform:l=>{if(l!=null&&!ae(l))throw Error("`compareWith` must be a function.");return l}}),this.keyDownFn=a(l=>!0),this.bindLabel=K(void 0),this.bindValue=K(void 0),this.appearance=K(void 0),this.isOpen=K(!1),this.items=K([]),this.blurEvent=v({alias:"blur"}),this.focusEvent=v({alias:"focus"}),this.changeEvent=v({alias:"change"}),this.openEvent=v({alias:"open"}),this.closeEvent=v({alias:"close"}),this.searchEvent=v({alias:"search"}),this.clearEvent=v({alias:"clear"}),this.addEvent=v({alias:"add"}),this.removeEvent=v({alias:"remove"}),this.scroll=v({alias:"scroll"}),this.scrollToEnd=v({alias:"scrollToEnd"}),this.disabled=R(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=R(()=>g(this.clearSearchOnAdd())?this.clearSearchOnAdd():g(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=R(()=>g(this.deselectOnClick())?this.deselectOnClick():g(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=D(Je,{read:u}),this.optgroupTemplate=D(Xe,{read:u}),this.labelTemplate=D($e,{read:u}),this.multiLabelTemplate=D(et,{read:u}),this.headerTemplate=D(tt,{read:u}),this.footerTemplate=D(nt,{read:u}),this.notFoundTemplate=D(it,{read:u}),this.placeholderTemplate=D(st,{read:u}),this.typeToSearchTemplate=D(ot,{read:u}),this.loadingTextTemplate=D(lt,{read:u}),this.tagTemplate=D(at,{read:u}),this.loadingSpinnerTemplate=D(rt,{read:u}),this.clearButtonTemplate=D(ut,{read:u}),this.ngOptions=Ye(ct,{descendants:!0}),this.dropdownPanel=U(re(()=>Ce)),this.searchInput=U("searchInput"),this.clearButton=U("clearButton"),this.dropdownId=mt(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=Y(!0),this.autoFocus=p(new be("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTerm=R(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=p(Le),this._isComposing=!1,this._keyPress$=new we,this._pressedKeys=[],this._searchTerm=Y(null),this._validTerm=R(()=>{let l=this._searchTerm()?.trim();return l&&l.length>=this.minTermLength()}),this.clearItem=l=>{let r=this.selectedItems.find(h=>h.value===l);this.unselect(r)},this.trackByOption=(l,r)=>this.trackByFn()?this.trackByFn()(r.value):r,this._onChange=l=>{},this._onTouched=()=>{};let e=this.config,n=p(_t,{optional:!0}),o=p(y);this._mergeGlobalConfig(e),this.itemsList=new ve(this,n?n():ft()),this.element=o.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(n=>n.label.toLowerCase()===e)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(n=>n.label.toLowerCase()===e))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&(this._itemsAreUsed=!0,this._setItems(e.items.currentValue||[])),e.isOpen&&(this._manualOpen=g(e.isOpen.currentValue)),e.groupBy&&(e.items||this._setItems([...this.items()])),e.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),g(this.autoFocus)&&this.focus()}handleKeyDown(e){let n=e.key;if(Object.values(M).includes(n)){if(this.keyDownFn()(e)===!1)return;this.handleKeyCode(e)}else n&&n.length===1&&this._keyPress$.next(n.toLocaleLowerCase())}handleKeyCode(e){let n=e.target;this.clearButton()&&this.clearButton().nativeElement===n?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.key){case M.ArrowDown:this._handleArrowDown(e);break;case M.ArrowUp:this._handleArrowUp(e);break;case M.Space:this._handleSpace(e);break;case M.Enter:this._handleEnter(e);break;case M.Tab:this._handleTab(e);break;case M.Esc:this.close(),e.preventDefault();break;case M.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.key){case M.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.disabled())return;if(this.preventToggleOnRightClick()&&e.button===2)return!1;let n=e.target;if(n.tagName!=="INPUT"&&e.preventDefault(),!n.classList.contains("ng-clear-wrapper")){if(n.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}n.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(e){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled.set(e),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTerm()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled()||(this.deselectOnClickValue()&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm()&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAddValue()&&!this._editableSearchTerm()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(e.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ae(this.addTag())?e=this.addTag()(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};let n=o=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);dn(e)?e.then(o=>this.select(n(o))).catch(()=>{}):e&&this.select(n(e))}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this.typeahead()?.observed&&!this.loading()||e&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(e),this.typeahead()?.observed&&(this._validTerm()||this.minTermLength()===0)&&this.typeahead().next(e),this.typeahead()?.observed||(this.itemsList.filter(e),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(n=>n.value)}),this.open())}onInputFocus(e){this._focused||(this._editableSearchTerm()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this._focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems?.[0];this._searchTerm.set(e?.label??null)}_setItems(e){let n=e[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=g(n)?!j(n):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&&g(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){_e(()=>{let e=this.ngOptions();this.bindLabel.set(this._defaultLabel);let n=e.map(o=>({$ngOptionValue:o.value(),$ngOptionLabel:o.elementRef.nativeElement.innerHTML,disabled:o.disabled()}))??[];this.items.set(n),this.itemsList.setItems(n),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),e.map(o=>({option:o,item:this.itemsList.findItem(o.value())})).filter(({item:o})=>g(o)).forEach(({option:o,item:l})=>{l.disabled=o.disabled(),l.label=o.label()||l.label})},{injector:this._injector})}_isValidWriteValue(e){if(!g(e)||this.multiple()&&e===""||Array.isArray(e)&&e.length===0)return!1;let n=o=>!g(this.compareWith())&&j(o)&&this.bindValue()?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple()?Array.isArray(e)?e.every(o=>n(o)):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let n=o=>{let l=this.itemsList.findItem(o);if(l)this.itemsList.select(l);else{let r=j(o),h=!r&&!this.bindValue();r||h?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue()&&(l={[this.bindLabel()]:null,[this.bindValue()]:o},this.itemsList.select(this.itemsList.mapItem(l,null)))}};this.multiple()?e.forEach(o=>n(o)):n(e)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe(J(this._destroyRef),Oe(e=>this._pressedKeys.push(e)),Ie(200),xe(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(e=>{let n=this.itemsList.findByLabel(e);n&&(this.isOpen()?(this.itemsList.markItem(n),this._scrollToMarked(),this._cd.markForCheck()):this.select(n)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput().nativeElement,n=Se({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs());for(let o of Object.keys(n))e.setAttribute(o,n[o])}_setTabFocusOnClear(){this.tabFocusOnClear.set(g(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue()){let l=null;if(o.children){let r=this.groupValue()?this.bindValue():this.groupBy();l=o.value[r||this.groupBy()]}else l=this.itemsList.resolveNested(o.value,this.bindValue());e.push(l)}else e.push(o.value);let n=this.selectedItems.map(o=>o.value);this.multiple()?(this._onChange(e),this.changeEvent.emit(n)):(this._onChange(g(e[0])?e[0]:null),this.changeEvent.emit(n[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this._searchTerm.set(e),this.typeahead()?.observed&&this.typeahead().next(e)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){let e=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&e&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(e){if(this.isOpen()===!1){if(this.showClear()&&!e.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),e.preventDefault();else if(!this.addTag())return}this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){let n=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(n)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen()||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let n=this.itemsList.markedIndex+e;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(n<0||n===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.bindValue.set(this.bindValue()||e.bindValue),this.bindLabel.set(this.bindLabel()||e.bindLabel),this.appearance.set(this.appearance()||e.appearance),this._setTabFocusOnClear()}getVirtualScroll(e){return g(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(e)}isVirtualScrollDisabled(e){return g(e.disableVirtualScroll)?!e.disableVirtualScroll:!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-select"]],contentQueries:function(n,o,l){n&1&&(A(l,o.optionTemplate,Je,5,u),A(l,o.optgroupTemplate,Xe,5,u),A(l,o.labelTemplate,$e,5,u),A(l,o.multiLabelTemplate,et,5,u),A(l,o.headerTemplate,tt,5,u),A(l,o.footerTemplate,nt,5,u),A(l,o.notFoundTemplate,it,5,u),A(l,o.placeholderTemplate,st,5,u),A(l,o.typeToSearchTemplate,ot,5,u),A(l,o.loadingTextTemplate,lt,5,u),A(l,o.tagTemplate,at,5,u),A(l,o.loadingSpinnerTemplate,rt,5,u),A(l,o.clearButtonTemplate,ut,5,u),A(l,o.ngOptions,ct,5)),n&2&&oe(14)},viewQuery:function(n,o){n&1&&(z(o.dropdownPanel,Ce,5),z(o.searchInput,St,5),z(o.clearButton,wt,5)),n&2&&oe(3)},hostVars:20,hostBindings:function(n,o){n&1&&B("keydown",function(r){return o.handleKeyDown(r)}),n&2&&V("ng-select",!0)("ng-select-single",!o.multiple())("ng-select-typeahead",o.typeahead())("ng-select-multiple",o.multiple())("ng-select-taggable",o.addTag())("ng-select-searchable",o.searchable())("ng-select-clearable",o.clearable())("ng-select-opened",o.isOpen())("ng-select-filtered",o.filtered)("ng-select-disabled",o.disabled())},inputs:{ariaLabelDropdown:[1,"ariaLabelDropdown"],ariaLabel:[1,"ariaLabel"],markFirst:[1,"markFirst"],placeholder:[1,"placeholder"],fixedPlaceholder:[1,"fixedPlaceholder"],notFoundText:[1,"notFoundText"],typeToSearchText:[1,"typeToSearchText"],preventToggleOnRightClick:[1,"preventToggleOnRightClick"],addTagText:[1,"addTagText"],loadingText:[1,"loadingText"],clearAllText:[1,"clearAllText"],dropdownPosition:[1,"dropdownPosition"],appendTo:[1,"appendTo"],outsideClickEvent:[1,"outsideClickEvent"],loading:[1,"loading"],closeOnSelect:[1,"closeOnSelect"],hideSelected:[1,"hideSelected"],selectOnTab:[1,"selectOnTab"],openOnEnter:[1,"openOnEnter"],maxSelectedItems:[1,"maxSelectedItems"],groupBy:[1,"groupBy"],groupValue:[1,"groupValue"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],selectableGroup:[1,"selectableGroup"],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],selectableGroupAsModel:[1,"selectableGroupAsModel"],searchFn:[1,"searchFn"],trackByFn:[1,"trackByFn"],clearOnBackspace:[1,"clearOnBackspace"],labelForId:[1,"labelForId"],inputAttrs:[1,"inputAttrs"],tabIndex:[1,"tabIndex"],readonly:[1,"readonly"],searchWhileComposing:[1,"searchWhileComposing"],minTermLength:[1,"minTermLength"],editableSearchTerm:[1,"editableSearchTerm"],ngClass:[1,"ngClass"],typeahead:[1,"typeahead"],multiple:[1,"multiple"],addTag:[1,"addTag"],searchable:[1,"searchable"],clearable:[1,"clearable"],deselectOnClick:[1,"deselectOnClick"],clearSearchOnAdd:[1,"clearSearchOnAdd"],compareWith:[1,"compareWith"],keyDownFn:[1,"keyDownFn"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[We([{provide:qe,useExisting:re(()=>t),multi:!0},gt]),de],decls:15,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(n,o){if(n&1){let l=H();m(0,"div",10),B("mousedown",function(h){return b(l),E(o.handleMousedown(h))}),m(1,"div",11),S(2,It,3,1),S(3,Lt,2,0),S(4,Bt,1,5,null,12),m(5,"div",13)(6,"input",14,0),B("blur",function(h){return b(l),E(o.onInputBlur(h))})("change",function(h){return b(l),E(h.stopPropagation())})("compositionend",function(){b(l);let h=I(7);return E(o.onCompositionEnd(h.value))})("compositionstart",function(){return b(l),E(o.onCompositionStart())})("focus",function(h){return b(l),E(o.onInputFocus(h))})("input",function(){b(l);let h=I(7);return E(o.filter(h.value))}),_()()(),S(8,Rt,3,1),S(9,Ut,2,1),m(10,"span",15),W(11,"span",16),_()(),S(12,on,8,21,"ng-dropdown-panel",17),m(13,"div",18),S(14,ln,1,1),_()}n&2&&(V("ng-appearance-outline",o.appearance()==="outline")("ng-has-value",o.hasValue),c(2),w(o.selectedItems.length===0&&!o.searchTerm||(o.fixedPlaceholder()??o.config.fixedPlaceholder)?2:-1),c(),w((!o.multiLabelTemplate()||!o.multiple())&&o.selectedItems.length>0?3:-1),c(),w(o.multiple()&&o.multiLabelTemplate()&&o.selectedValues.length>0?4:-1),c(2),C("disabled",o.disabled())("readOnly",!o.searchable()||o.itemsList.maxItemsSelected)("value",o.searchTerm??""),Z("aria-activedescendant",o.isOpen()?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen()?o.dropdownId:null)("aria-expanded",o.isOpen())("aria-label",o.ariaLabel())("id",o.labelForId())("tabindex",o.tabIndex()),c(2),w(o.loading()?8:-1),c(),w(o.showClear()?9:-1),c(3),w(o.isOpen()?12:-1),c(2),w(o.isOpen()&&o.showNoItemsFound()?14:-1))},dependencies:[Ee,cn,Ce],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
2
2
  `],encapsulation:2,changeDetection:0});let s=t;return s})(),kn=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Re({type:t}),t.\u0275inj=ke({providers:fn()});let s=t;return s})();function fn(){return[{provide:_t,useValue:ft}]}export{Je as a,$e as b,tt as c,On as d,kn as e};