@sync-in/server 1.5.2 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +2 -1
  3. package/environment/environment.dist.min.yaml +1 -0
  4. package/environment/environment.dist.yaml +88 -30
  5. package/migrations/0002_sleepy_korath.sql +1 -0
  6. package/migrations/meta/0002_snapshot.json +2424 -0
  7. package/migrations/meta/_journal.json +7 -0
  8. package/package.json +14 -12
  9. package/server/app.bootstrap.js +1 -1
  10. package/server/app.bootstrap.js.map +1 -1
  11. package/server/applications/files/services/files-manager.service.js +1 -2
  12. package/server/applications/files/services/files-manager.service.js.map +1 -1
  13. package/server/applications/files/services/files-only-office-manager.service.js +5 -6
  14. package/server/applications/files/services/files-only-office-manager.service.js.map +1 -1
  15. package/server/applications/files/utils/files.js +6 -4
  16. package/server/applications/files/utils/files.js.map +1 -1
  17. package/server/applications/links/links.controller.js +2 -2
  18. package/server/applications/links/links.controller.js.map +1 -1
  19. package/server/applications/links/services/links-manager.service.js +2 -1
  20. package/server/applications/links/services/links-manager.service.js.map +1 -1
  21. package/server/applications/links/services/links-manager.service.spec.js +6 -3
  22. package/server/applications/links/services/links-manager.service.spec.js.map +1 -1
  23. package/server/applications/notifications/constants/notifications.js +9 -0
  24. package/server/applications/notifications/constants/notifications.js.map +1 -1
  25. package/server/applications/notifications/i18n/fr.js +10 -1
  26. package/server/applications/notifications/i18n/fr.js.map +1 -1
  27. package/server/applications/notifications/interfaces/notification-properties.interface.js.map +1 -1
  28. package/server/applications/notifications/mails/models.js +41 -3
  29. package/server/applications/notifications/mails/models.js.map +1 -1
  30. package/server/applications/notifications/mails/templates.js +1 -1
  31. package/server/applications/notifications/mails/templates.js.map +1 -1
  32. package/server/applications/notifications/schemas/notifications.schema.js +2 -1
  33. package/server/applications/notifications/schemas/notifications.schema.js.map +1 -1
  34. package/server/applications/notifications/services/notifications-manager.service.js +16 -13
  35. package/server/applications/notifications/services/notifications-manager.service.js.map +1 -1
  36. package/server/applications/notifications/services/notifications-manager.service.spec.js +9 -8
  37. package/server/applications/notifications/services/notifications-manager.service.spec.js.map +1 -1
  38. package/server/applications/notifications/services/notifications-queries.service.js +1 -1
  39. package/server/applications/notifications/services/notifications-queries.service.js.map +1 -1
  40. package/server/applications/shares/services/shares-manager.service.js +3 -2
  41. package/server/applications/shares/services/shares-manager.service.js.map +1 -1
  42. package/server/applications/sync/constants/auth.js +2 -2
  43. package/server/applications/sync/constants/auth.js.map +1 -1
  44. package/server/applications/sync/dtos/sync-client-registration.dto.js +5 -0
  45. package/server/applications/sync/dtos/sync-client-registration.dto.js.map +1 -1
  46. package/server/applications/sync/dtos/sync-operations.dto.js +1 -2
  47. package/server/applications/sync/dtos/sync-operations.dto.js.map +1 -1
  48. package/server/applications/sync/schemas/sync-clients.schema.js +2 -1
  49. package/server/applications/sync/schemas/sync-clients.schema.js.map +1 -1
  50. package/server/applications/sync/schemas/sync-paths.schema.js +2 -1
  51. package/server/applications/sync/schemas/sync-paths.schema.js.map +1 -1
  52. package/server/applications/sync/services/sync-clients-manager.service.js +28 -20
  53. package/server/applications/sync/services/sync-clients-manager.service.js.map +1 -1
  54. package/server/applications/sync/services/sync-clients-manager.service.spec.js +24 -18
  55. package/server/applications/sync/services/sync-clients-manager.service.spec.js.map +1 -1
  56. package/server/applications/sync/services/sync-queries.service.js +5 -5
  57. package/server/applications/sync/services/sync-queries.service.js.map +1 -1
  58. package/server/applications/users/admin-users.controller.js +48 -37
  59. package/server/applications/users/admin-users.controller.js.map +1 -1
  60. package/server/applications/users/admin-users.controller.spec.js +15 -0
  61. package/server/applications/users/admin-users.controller.spec.js.map +1 -1
  62. package/server/applications/users/constants/routes.js +5 -0
  63. package/server/applications/users/constants/routes.js.map +1 -1
  64. package/server/applications/users/constants/user.js +8 -0
  65. package/server/applications/users/constants/user.js.map +1 -1
  66. package/server/applications/users/dto/delete-user.dto.js +5 -23
  67. package/server/applications/users/dto/delete-user.dto.js.map +1 -1
  68. package/server/applications/users/dto/user-properties.dto.js +38 -3
  69. package/server/applications/users/dto/user-properties.dto.js.map +1 -1
  70. package/server/applications/users/interfaces/admin-user.interface.js.map +1 -1
  71. package/server/applications/users/interfaces/user-secrets.interface.js +10 -0
  72. package/server/applications/users/interfaces/user-secrets.interface.js.map +1 -0
  73. package/server/applications/users/models/user.model.js +84 -50
  74. package/server/applications/users/models/user.model.js.map +1 -1
  75. package/server/applications/users/schemas/user.interface.js.map +1 -1
  76. package/server/applications/users/schemas/users.schema.js +2 -0
  77. package/server/applications/users/schemas/users.schema.js.map +1 -1
  78. package/server/applications/users/services/admin-users-manager.service.js +7 -19
  79. package/server/applications/users/services/admin-users-manager.service.js.map +1 -1
  80. package/server/applications/users/services/admin-users-manager.service.spec.js +7 -26
  81. package/server/applications/users/services/admin-users-manager.service.spec.js.map +1 -1
  82. package/server/applications/users/services/admin-users-queries.service.js +1 -0
  83. package/server/applications/users/services/admin-users-queries.service.js.map +1 -1
  84. package/server/applications/users/services/users-manager.service.js +138 -28
  85. package/server/applications/users/services/users-manager.service.js.map +1 -1
  86. package/server/applications/users/services/users-manager.service.spec.js +11 -9
  87. package/server/applications/users/services/users-manager.service.spec.js.map +1 -1
  88. package/server/applications/users/services/users-queries.service.js +63 -57
  89. package/server/applications/users/services/users-queries.service.js.map +1 -1
  90. package/server/applications/users/users.controller.js +48 -1
  91. package/server/applications/users/users.controller.js.map +1 -1
  92. package/server/applications/users/users.controller.spec.js +8 -1
  93. package/server/applications/users/users.controller.spec.js.map +1 -1
  94. package/server/applications/users/users.e2e-spec.js +2 -1
  95. package/server/applications/users/users.e2e-spec.js.map +1 -1
  96. package/server/applications/users/utils/avatar.js +48 -0
  97. package/server/applications/users/utils/avatar.js.map +1 -0
  98. package/server/authentication/auth.config.js +89 -26
  99. package/server/authentication/auth.config.js.map +1 -1
  100. package/server/authentication/auth.controller.js +117 -9
  101. package/server/authentication/auth.controller.js.map +1 -1
  102. package/server/authentication/auth.controller.spec.js +16 -1
  103. package/server/authentication/auth.controller.spec.js.map +1 -1
  104. package/server/authentication/auth.e2e-spec.js +4 -3
  105. package/server/authentication/auth.e2e-spec.js.map +1 -1
  106. package/server/authentication/auth.module.js +4 -1
  107. package/server/authentication/auth.module.js.map +1 -1
  108. package/server/authentication/constants/auth-ldap.js +44 -0
  109. package/server/authentication/constants/auth-ldap.js.map +1 -0
  110. package/server/authentication/constants/auth.js +37 -4
  111. package/server/authentication/constants/auth.js.map +1 -1
  112. package/server/authentication/constants/routes.js +21 -0
  113. package/server/authentication/constants/routes.js.map +1 -1
  114. package/server/authentication/constants/scope.js +20 -0
  115. package/server/authentication/constants/scope.js.map +1 -0
  116. package/server/authentication/dto/login-response.dto.js +27 -4
  117. package/server/authentication/dto/login-response.dto.js.map +1 -1
  118. package/server/authentication/dto/token-response.dto.js +5 -0
  119. package/server/authentication/dto/token-response.dto.js.map +1 -1
  120. package/server/{applications/users/dto/user-password.dto.js → authentication/dto/two-fa-verify.dto.js} +27 -9
  121. package/server/authentication/dto/two-fa-verify.dto.js.map +1 -0
  122. package/server/authentication/guards/auth-basic.strategy.js +6 -5
  123. package/server/authentication/guards/auth-basic.strategy.js.map +1 -1
  124. package/server/authentication/guards/auth-token-access.strategy.js +3 -2
  125. package/server/authentication/guards/auth-token-access.strategy.js.map +1 -1
  126. package/server/authentication/guards/auth-token-refresh.strategy.js +3 -2
  127. package/server/authentication/guards/auth-token-refresh.strategy.js.map +1 -1
  128. package/server/authentication/guards/auth-two-fa-guard.js +81 -0
  129. package/server/authentication/guards/auth-two-fa-guard.js.map +1 -0
  130. package/server/authentication/interfaces/jwt-payload.interface.js +5 -0
  131. package/server/authentication/interfaces/jwt-payload.interface.js.map +1 -1
  132. package/server/authentication/interfaces/token.interface.js +2 -0
  133. package/server/authentication/interfaces/token.interface.js.map +1 -1
  134. package/server/authentication/interfaces/two-fa-setup.interface.js +10 -0
  135. package/server/authentication/interfaces/two-fa-setup.interface.js.map +1 -0
  136. package/server/authentication/models/auth-method.js.map +1 -1
  137. package/server/authentication/services/auth-manager.service.js +72 -49
  138. package/server/authentication/services/auth-manager.service.js.map +1 -1
  139. package/server/authentication/services/auth-methods/auth-method-database.service.js +3 -3
  140. package/server/authentication/services/auth-methods/auth-method-database.service.js.map +1 -1
  141. package/server/authentication/services/auth-methods/auth-method-database.service.spec.js +5 -0
  142. package/server/authentication/services/auth-methods/auth-method-database.service.spec.js.map +1 -1
  143. package/server/authentication/services/auth-methods/auth-method-ldap.service.js +151 -66
  144. package/server/authentication/services/auth-methods/auth-method-ldap.service.js.map +1 -1
  145. package/server/authentication/services/auth-methods/auth-method-ldap.service.spec.js +52 -50
  146. package/server/authentication/services/auth-methods/auth-method-ldap.service.spec.js.map +1 -1
  147. package/server/authentication/services/auth-methods/auth-method-two-fa.service.js +251 -0
  148. package/server/authentication/services/auth-methods/auth-method-two-fa.service.js.map +1 -0
  149. package/server/authentication/services/auth-methods/auth-method-two-fa.service.spec.js +41 -0
  150. package/server/authentication/services/auth-methods/auth-method-two-fa.service.spec.js.map +1 -0
  151. package/server/authentication/utils/crypt-secret.js +68 -0
  152. package/server/authentication/utils/crypt-secret.js.map +1 -0
  153. package/server/common/functions.js +18 -2
  154. package/server/common/functions.js.map +1 -1
  155. package/server/common/qrcode.js +34 -0
  156. package/server/common/qrcode.js.map +1 -0
  157. package/server/common/shared.js +18 -0
  158. package/server/common/shared.js.map +1 -1
  159. package/server/configuration/config.environment.js +23 -6
  160. package/server/configuration/config.environment.js.map +1 -1
  161. package/server/configuration/config.interfaces.js +10 -0
  162. package/server/configuration/config.interfaces.js.map +1 -0
  163. package/server/configuration/config.loader.js.map +1 -1
  164. package/server/configuration/config.validation.js +13 -13
  165. package/server/configuration/config.validation.js.map +1 -1
  166. package/server/infrastructure/cache/adapters/mysql-cache.adapter.js +6 -6
  167. package/server/infrastructure/cache/adapters/mysql-cache.adapter.js.map +1 -1
  168. package/server/infrastructure/cache/schemas/mysql-cache.schema.js +2 -1
  169. package/server/infrastructure/cache/schemas/mysql-cache.schema.js.map +1 -1
  170. package/server/infrastructure/cache/services/cache.service.js.map +1 -1
  171. package/server/infrastructure/database/columns.js +39 -0
  172. package/server/infrastructure/database/columns.js.map +1 -0
  173. package/server/infrastructure/database/database.config.js +0 -1
  174. package/server/infrastructure/database/database.config.js.map +1 -1
  175. package/server/infrastructure/mailer/interfaces/mail.interface.js.map +1 -1
  176. package/server/infrastructure/mailer/mailer.config.js +12 -0
  177. package/server/infrastructure/mailer/mailer.config.js.map +1 -1
  178. package/server/infrastructure/mailer/mailer.service.js +2 -1
  179. package/server/infrastructure/mailer/mailer.service.js.map +1 -1
  180. package/static/assets/mimes/text-x-c.svg +1 -0
  181. package/static/assets/pdfjs/build/pdf.mjs +2522 -914
  182. package/static/assets/pdfjs/build/pdf.mjs.map +1 -1
  183. package/static/assets/pdfjs/build/pdf.sandbox.mjs +2 -2
  184. package/static/assets/pdfjs/build/pdf.worker.mjs +1024 -566
  185. package/static/assets/pdfjs/build/pdf.worker.mjs.map +1 -1
  186. package/static/assets/pdfjs/version +1 -1
  187. package/static/assets/pdfjs/web/debugger.mjs +116 -37
  188. package/static/assets/pdfjs/web/images/comment-popup-editButton.svg +5 -0
  189. package/static/assets/pdfjs/web/locale/ach/viewer.ftl +0 -12
  190. package/static/assets/pdfjs/web/locale/af/viewer.ftl +0 -12
  191. package/static/assets/pdfjs/web/locale/an/viewer.ftl +0 -16
  192. package/static/assets/pdfjs/web/locale/ar/viewer.ftl +0 -32
  193. package/static/assets/pdfjs/web/locale/ast/viewer.ftl +0 -19
  194. package/static/assets/pdfjs/web/locale/az/viewer.ftl +0 -16
  195. package/static/assets/pdfjs/web/locale/be/viewer.ftl +0 -32
  196. package/static/assets/pdfjs/web/locale/bg/viewer.ftl +0 -32
  197. package/static/assets/pdfjs/web/locale/bn/viewer.ftl +0 -16
  198. package/static/assets/pdfjs/web/locale/bo/viewer.ftl +0 -12
  199. package/static/assets/pdfjs/web/locale/br/viewer.ftl +0 -22
  200. package/static/assets/pdfjs/web/locale/brx/viewer.ftl +0 -16
  201. package/static/assets/pdfjs/web/locale/bs/viewer.ftl +0 -32
  202. package/static/assets/pdfjs/web/locale/ca/viewer.ftl +12 -23
  203. package/static/assets/pdfjs/web/locale/cak/viewer.ftl +0 -23
  204. package/static/assets/pdfjs/web/locale/ckb/viewer.ftl +0 -16
  205. package/static/assets/pdfjs/web/locale/cs/viewer.ftl +0 -32
  206. package/static/assets/pdfjs/web/locale/cy/viewer.ftl +0 -32
  207. package/static/assets/pdfjs/web/locale/da/viewer.ftl +3 -35
  208. package/static/assets/pdfjs/web/locale/de/viewer.ftl +0 -32
  209. package/static/assets/pdfjs/web/locale/dsb/viewer.ftl +0 -32
  210. package/static/assets/pdfjs/web/locale/el/viewer.ftl +0 -32
  211. package/static/assets/pdfjs/web/locale/en-CA/viewer.ftl +0 -32
  212. package/static/assets/pdfjs/web/locale/en-GB/viewer.ftl +0 -32
  213. package/static/assets/pdfjs/web/locale/en-US/viewer.ftl +25 -13
  214. package/static/assets/pdfjs/web/locale/eo/viewer.ftl +0 -32
  215. package/static/assets/pdfjs/web/locale/es-AR/viewer.ftl +0 -32
  216. package/static/assets/pdfjs/web/locale/es-CL/viewer.ftl +0 -32
  217. package/static/assets/pdfjs/web/locale/es-ES/viewer.ftl +5 -32
  218. package/static/assets/pdfjs/web/locale/es-MX/viewer.ftl +0 -32
  219. package/static/assets/pdfjs/web/locale/et/viewer.ftl +0 -16
  220. package/static/assets/pdfjs/web/locale/eu/viewer.ftl +38 -32
  221. package/static/assets/pdfjs/web/locale/fa/viewer.ftl +0 -19
  222. package/static/assets/pdfjs/web/locale/ff/viewer.ftl +0 -12
  223. package/static/assets/pdfjs/web/locale/fi/viewer.ftl +0 -32
  224. package/static/assets/pdfjs/web/locale/fr/viewer.ftl +0 -32
  225. package/static/assets/pdfjs/web/locale/fur/viewer.ftl +0 -32
  226. package/static/assets/pdfjs/web/locale/fy-NL/viewer.ftl +0 -32
  227. package/static/assets/pdfjs/web/locale/ga-IE/viewer.ftl +0 -12
  228. package/static/assets/pdfjs/web/locale/gd/viewer.ftl +0 -23
  229. package/static/assets/pdfjs/web/locale/gl/viewer.ftl +0 -32
  230. package/static/assets/pdfjs/web/locale/gn/viewer.ftl +0 -32
  231. package/static/assets/pdfjs/web/locale/gu-IN/viewer.ftl +0 -12
  232. package/static/assets/pdfjs/web/locale/he/viewer.ftl +0 -32
  233. package/static/assets/pdfjs/web/locale/hi-IN/viewer.ftl +0 -16
  234. package/static/assets/pdfjs/web/locale/hr/viewer.ftl +0 -32
  235. package/static/assets/pdfjs/web/locale/hsb/viewer.ftl +0 -32
  236. package/static/assets/pdfjs/web/locale/hu/viewer.ftl +0 -32
  237. package/static/assets/pdfjs/web/locale/hy-AM/viewer.ftl +372 -16
  238. package/static/assets/pdfjs/web/locale/hye/viewer.ftl +0 -16
  239. package/static/assets/pdfjs/web/locale/ia/viewer.ftl +0 -32
  240. package/static/assets/pdfjs/web/locale/id/viewer.ftl +38 -32
  241. package/static/assets/pdfjs/web/locale/is/viewer.ftl +27 -32
  242. package/static/assets/pdfjs/web/locale/it/viewer.ftl +0 -33
  243. package/static/assets/pdfjs/web/locale/ja/viewer.ftl +31 -33
  244. package/static/assets/pdfjs/web/locale/ka/viewer.ftl +0 -32
  245. package/static/assets/pdfjs/web/locale/kab/viewer.ftl +0 -32
  246. package/static/assets/pdfjs/web/locale/kk/viewer.ftl +31 -32
  247. package/static/assets/pdfjs/web/locale/km/viewer.ftl +0 -12
  248. package/static/assets/pdfjs/web/locale/kn/viewer.ftl +0 -12
  249. package/static/assets/pdfjs/web/locale/ko/viewer.ftl +0 -32
  250. package/static/assets/pdfjs/web/locale/lij/viewer.ftl +0 -12
  251. package/static/assets/pdfjs/web/locale/lo/viewer.ftl +0 -23
  252. package/static/assets/pdfjs/web/locale/lt/viewer.ftl +0 -16
  253. package/static/assets/pdfjs/web/locale/ltg/viewer.ftl +0 -12
  254. package/static/assets/pdfjs/web/locale/lv/viewer.ftl +0 -12
  255. package/static/assets/pdfjs/web/locale/meh/viewer.ftl +0 -14
  256. package/static/assets/pdfjs/web/locale/mk/viewer.ftl +0 -19
  257. package/static/assets/pdfjs/web/locale/ml/viewer.ftl +0 -31
  258. package/static/assets/pdfjs/web/locale/mr/viewer.ftl +0 -16
  259. package/static/assets/pdfjs/web/locale/ms/viewer.ftl +0 -12
  260. package/static/assets/pdfjs/web/locale/my/viewer.ftl +0 -12
  261. package/static/assets/pdfjs/web/locale/nb-NO/viewer.ftl +0 -32
  262. package/static/assets/pdfjs/web/locale/ne-NP/viewer.ftl +0 -12
  263. package/static/assets/pdfjs/web/locale/nl/viewer.ftl +0 -32
  264. package/static/assets/pdfjs/web/locale/nn-NO/viewer.ftl +0 -32
  265. package/static/assets/pdfjs/web/locale/oc/viewer.ftl +0 -24
  266. package/static/assets/pdfjs/web/locale/pa-IN/viewer.ftl +0 -32
  267. package/static/assets/pdfjs/web/locale/pl/viewer.ftl +0 -32
  268. package/static/assets/pdfjs/web/locale/pt-BR/viewer.ftl +0 -32
  269. package/static/assets/pdfjs/web/locale/pt-PT/viewer.ftl +0 -32
  270. package/static/assets/pdfjs/web/locale/rm/viewer.ftl +0 -32
  271. package/static/assets/pdfjs/web/locale/ro/viewer.ftl +5 -37
  272. package/static/assets/pdfjs/web/locale/ru/viewer.ftl +0 -32
  273. package/static/assets/pdfjs/web/locale/sat/viewer.ftl +0 -23
  274. package/static/assets/pdfjs/web/locale/sc/viewer.ftl +8 -27
  275. package/static/assets/pdfjs/web/locale/sco/viewer.ftl +0 -16
  276. package/static/assets/pdfjs/web/locale/si/viewer.ftl +0 -22
  277. package/static/assets/pdfjs/web/locale/sk/viewer.ftl +0 -32
  278. package/static/assets/pdfjs/web/locale/skr/viewer.ftl +0 -32
  279. package/static/assets/pdfjs/web/locale/sl/viewer.ftl +30 -32
  280. package/static/assets/pdfjs/web/locale/son/viewer.ftl +0 -12
  281. package/static/assets/pdfjs/web/locale/sq/viewer.ftl +0 -32
  282. package/static/assets/pdfjs/web/locale/sr/viewer.ftl +0 -32
  283. package/static/assets/pdfjs/web/locale/sv-SE/viewer.ftl +0 -32
  284. package/static/assets/pdfjs/web/locale/szl/viewer.ftl +0 -16
  285. package/static/assets/pdfjs/web/locale/ta/viewer.ftl +0 -12
  286. package/static/assets/pdfjs/web/locale/te/viewer.ftl +0 -16
  287. package/static/assets/pdfjs/web/locale/tg/viewer.ftl +0 -32
  288. package/static/assets/pdfjs/web/locale/th/viewer.ftl +38 -32
  289. package/static/assets/pdfjs/web/locale/tl/viewer.ftl +0 -16
  290. package/static/assets/pdfjs/web/locale/tr/viewer.ftl +0 -32
  291. package/static/assets/pdfjs/web/locale/trs/viewer.ftl +0 -12
  292. package/static/assets/pdfjs/web/locale/uk/viewer.ftl +0 -32
  293. package/static/assets/pdfjs/web/locale/ur/viewer.ftl +0 -16
  294. package/static/assets/pdfjs/web/locale/uz/viewer.ftl +0 -12
  295. package/static/assets/pdfjs/web/locale/vi/viewer.ftl +0 -32
  296. package/static/assets/pdfjs/web/locale/xh/viewer.ftl +0 -12
  297. package/static/assets/pdfjs/web/locale/zh-CN/viewer.ftl +0 -32
  298. package/static/assets/pdfjs/web/locale/zh-TW/viewer.ftl +0 -32
  299. package/static/assets/pdfjs/web/viewer.css +586 -437
  300. package/static/assets/pdfjs/web/viewer.html +12 -23
  301. package/static/assets/pdfjs/web/viewer.mjs +955 -514
  302. package/static/assets/pdfjs/web/viewer.mjs.map +1 -1
  303. package/static/assets/pdfjs/web/wasm/openjpeg.wasm +0 -0
  304. package/static/assets/pdfjs/web/wasm/openjpeg_nowasm_fallback.js +10 -22
  305. package/static/{chunk-SPTF6FSM.js → chunk-27YQB3TE.js} +1 -1
  306. package/static/chunk-2I4CUFUA.js +1 -0
  307. package/static/chunk-2MTM6SWN.js +4 -0
  308. package/static/{chunk-7VRUZRJG.js → chunk-34MKICK5.js} +2 -2
  309. package/static/chunk-5O3DIUU3.js +1 -0
  310. package/static/{chunk-VJRTMDEJ.js → chunk-6NMVZIIT.js} +1 -1
  311. package/static/{chunk-L6MU6S2V.js → chunk-7DN7ZAPU.js} +1 -1
  312. package/static/{chunk-MVO4WZLK.js → chunk-7FUM3JGM.js} +1 -1
  313. package/static/{chunk-RSS6GYNE.js → chunk-7ITZXYYJ.js} +1 -1
  314. package/static/chunk-7P27WBGC.js +4 -0
  315. package/static/chunk-ATP3BFHV.js +562 -0
  316. package/static/chunk-AWQ2YTVC.js +1 -0
  317. package/static/chunk-DSOE3FEP.js +1 -0
  318. package/static/{chunk-2R6HHGUR.js → chunk-EFKMBLRE.js} +1 -1
  319. package/static/chunk-FUFKVHPU.js +1 -0
  320. package/static/{chunk-MRSWNAVB.js → chunk-HCDLWTMW.js} +1 -1
  321. package/static/chunk-IPAC4VAF.js +1 -0
  322. package/static/{chunk-ZC5NIT55.js → chunk-IQOALFYU.js} +1 -1
  323. package/static/chunk-JASU3CIH.js +1 -0
  324. package/static/{chunk-6OJZWYRZ.js → chunk-JQ5FTO2M.js} +1 -1
  325. package/static/chunk-JUNZFADM.js +1 -0
  326. package/static/{chunk-LLWSLOSX.js → chunk-LJUKI4SQ.js} +1 -1
  327. package/static/{chunk-WI7FOANP.js → chunk-LUWQFIWR.js} +1 -1
  328. package/static/{chunk-BIUNUYZ5.js → chunk-ORMRCEGT.js} +1 -1
  329. package/static/{chunk-IZL7JPTS.js → chunk-Q7D6RN4N.js} +1 -1
  330. package/static/{chunk-JYXLQRHG.js → chunk-QJX6ITLW.js} +1 -1
  331. package/static/{chunk-YJMN3B4N.js → chunk-QQ6UQQBR.js} +1 -1
  332. package/static/chunk-S2HDY3OL.js +1 -0
  333. package/static/{chunk-NE4NDO45.js → chunk-S75P2FFI.js} +1 -1
  334. package/static/{chunk-CRQNEHTX.js → chunk-T3EYFSVZ.js} +1 -1
  335. package/static/{chunk-MCLQFZ3S.js → chunk-U34OZUZ7.js} +1 -1
  336. package/static/chunk-Y7EH7G5K.js +1 -0
  337. package/static/{chunk-MGGT6MIJ.js → chunk-ZQQPUYLU.js} +1 -1
  338. package/static/index.html +2 -2
  339. package/static/main-7SQDDVMD.js +9 -0
  340. package/static/{styles-FYUSO6OJ.css → styles-A5VYX3CE.css} +1 -1
  341. package/server/applications/users/dto/user-password.dto.js.map +0 -1
  342. package/static/chunk-4U5A2DEP.js +0 -4
  343. package/static/chunk-54EAZ2UD.js +0 -1
  344. package/static/chunk-7ZRXJONB.js +0 -1
  345. package/static/chunk-F2J2IIJE.js +0 -1
  346. package/static/chunk-FNFGUIQH.js +0 -4
  347. package/static/chunk-GGLK52CG.js +0 -1
  348. package/static/chunk-HW2H3ISM.js +0 -559
  349. package/static/chunk-HX6BBYVD.js +0 -1
  350. package/static/chunk-JF7S3UYQ.js +0 -1
  351. package/static/chunk-KSHPKI4G.js +0 -1
  352. package/static/chunk-VPJ2V27B.js +0 -1
  353. package/static/chunk-VUI3KV7V.js +0 -1
  354. package/static/chunk-ZXS4V7J2.js +0 -1
  355. package/static/main-FFIWFD2F.js +0 -7
@@ -1,4 +0,0 @@
1
- import{$ as hl,$a as xi,$b as Gr,$d as Yl,$f as ec,Aa as ml,Ab as Ur,Ac as ot,Ad as Ol,B as ki,Ba as cn,Bb as Sl,Bc as Gn,C as al,Ca as Rs,Cb as S,Cc as Kn,Cf as ql,D as ll,Da as pl,Dc as Tl,E as ye,Ea as fl,Eb as c,Ec as Xn,F as Fr,Fa as Wr,Fb as Li,Gb as ni,Gd as Rl,Hb as Dl,Hc as Ii,Ib as Oi,Ic as hn,Id as Il,J as cl,Ja as dn,Jb as si,Ka as gl,Kb as ri,L as Un,Lb as zr,Ma as d,Mb as $t,N as rn,Na as Ti,Nb as V,Nf as Jl,Oa as Is,Ob as Je,Oe as Bl,Pa as qe,Pb as L,Qa as Fe,Qb as Be,Ra as y,Rb as Ge,S as dl,Sa as Ft,Se as $l,Sf as Ql,Tc as xl,Ua as vl,Ud as Al,V as ul,Wb as Ml,We as Wl,Wf as Zr,Xa as re,Xc as El,Ya as xe,Za as je,Zb as Ee,_ as on,_c as Zn,a as tt,aa as jr,ab as k,ba as ii,bb as H,bd as Xr,c as Ci,ca as T,cb as we,da as Te,db as As,dc as ce,df as Ul,dg as tc,ec as de,ef as zl,f as G,fa as Nt,g as ee,ga as J,h as tl,ha as E,hb as Mt,he as Pl,hf as Gl,i as il,ia as _l,ib as le,ie as Hl,j as Vr,jb as Ys,ka as an,kb as Ps,kc as Hs,l as nl,lc as Kr,m as sl,ma as f,mb as yl,mc as Ri,n as rl,na as g,nb as bl,o as ol,oa as be,ob as wl,p as Es,pa as fe,pb as u,pc as Cl,pe as Nl,qa as Os,qb as _,qc as un,qf as Kl,rb as m,re as Vl,sa as Br,sb as ae,ta as se,tb as Rt,tc as Ns,ub as It,ue as Fl,v as Dt,va as Vt,vb as Ei,vc as kl,ve as jl,vf as Xl,w as Ls,wa as ln,wb as jt,xb as Bt,xc as zn,xf as Zl,ya as te,za as $r,zb as P,zc as Wt,zd as Ll}from"./chunk-HW2H3ISM.js";import{a as K,b as Ve,d as nn,f as sn,g as xs,h as Hr,i as Mi,j as Nr}from"./chunk-RTRJ3KFH.js";var ja=nn((Va,Fa)=>{"use strict";(function(e,t){typeof Va=="object"&&typeof Fa<"u"?Fa.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs=t()})(Va,function(){"use strict";var e=1e3,t=6e4,n=36e5,i="millisecond",s="second",r="minute",o="hour",a="day",l="week",h="month",p="quarter",b="year",x="date",v="Invalid Date",Y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,j=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var C=["th","st","nd","rd"],w=I%100;return"["+I+(C[(w-20)%10]||C[w]||C[0])+"]"}},B=function(I,C,w){var A=String(I);return!A||A.length>=C?I:""+Array(C+1-A.length).join(w)+I},ke={s:B,z:function(I){var C=-I.utcOffset(),w=Math.abs(C),A=Math.floor(w/60),M=w%60;return(C<=0?"+":"-")+B(A,2,"0")+":"+B(M,2,"0")},m:function I(C,w){if(C.date()<w.date())return-I(w,C);var A=12*(w.year()-C.year())+(w.month()-C.month()),M=C.clone().add(A,h),W=w-M<0,U=C.clone().add(A+(W?-1:1),h);return+(-(A+(w-M)/(W?M-U:U-M))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:h,y:b,w:l,d:a,D:x,h:o,m:r,s,ms:i,Q:p}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},De="en",$={};$[De]=z;var O="$isDayjsObject",D=function(I){return I instanceof Ae||!(!I||!I[O])},ie=function I(C,w,A){var M;if(!C)return De;if(typeof C=="string"){var W=C.toLowerCase();$[W]&&(M=W),w&&($[W]=w,M=W);var U=C.split("-");if(!M&&U.length>1)return I(U[0])}else{var oe=C.name;$[oe]=C,M=oe}return!A&&M&&(De=M),M||!A&&De},X=function(I,C){if(D(I))return I.clone();var w=typeof C=="object"?C:{};return w.date=I,w.args=arguments,new Ae(w)},N=ke;N.l=ie,N.i=D,N.w=function(I,C){return X(I,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})};var Ae=(function(){function I(w){this.$L=ie(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[O]=!0}var C=I.prototype;return C.parse=function(w){this.$d=(function(A){var M=A.date,W=A.utc;if(M===null)return new Date(NaN);if(N.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var U=M.match(Y);if(U){var oe=U[2]-1||0,Me=(U[7]||"0").substring(0,3);return W?new Date(Date.UTC(U[1],oe,U[3]||1,U[4]||0,U[5]||0,U[6]||0,Me)):new Date(U[1],oe,U[3]||1,U[4]||0,U[5]||0,U[6]||0,Me)}}return new Date(M)})(w),this.init()},C.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},C.$utils=function(){return N},C.isValid=function(){return this.$d.toString()!==v},C.isSame=function(w,A){var M=X(w);return this.startOf(A)<=M&&M<=this.endOf(A)},C.isAfter=function(w,A){return X(w)<this.startOf(A)},C.isBefore=function(w,A){return this.endOf(A)<X(w)},C.$g=function(w,A,M){return N.u(w)?this[A]:this.set(M,w)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(w,A){var M=this,W=!!N.u(A)||A,U=N.p(w),oe=function(Di,et){var ti=N.w(M.$u?Date.UTC(M.$y,et,Di):new Date(M.$y,et,Di),M);return W?ti:ti.endOf(a)},Me=function(Di,et){return N.w(M.toDate()[Di].apply(M.toDate("s"),(W?[0,0,0,0]:[23,59,59,999]).slice(et)),M)},Ne=this.$W,ze=this.$M,dt=this.$D,tn="set"+(this.$u?"UTC":"");switch(U){case b:return W?oe(1,0):oe(31,11);case h:return W?oe(1,ze):oe(0,ze+1);case l:var Si=this.$locale().weekStart||0,$n=(Ne<Si?Ne+7:Ne)-Si;return oe(W?dt-$n:dt+(6-$n),ze);case a:case x:return Me(tn+"Hours",0);case o:return Me(tn+"Minutes",1);case r:return Me(tn+"Seconds",2);case s:return Me(tn+"Milliseconds",3);default:return this.clone()}},C.endOf=function(w){return this.startOf(w,!1)},C.$set=function(w,A){var M,W=N.p(w),U="set"+(this.$u?"UTC":""),oe=(M={},M[a]=U+"Date",M[x]=U+"Date",M[h]=U+"Month",M[b]=U+"FullYear",M[o]=U+"Hours",M[r]=U+"Minutes",M[s]=U+"Seconds",M[i]=U+"Milliseconds",M)[W],Me=W===a?this.$D+(A-this.$W):A;if(W===h||W===b){var Ne=this.clone().set(x,1);Ne.$d[oe](Me),Ne.init(),this.$d=Ne.set(x,Math.min(this.$D,Ne.daysInMonth())).$d}else oe&&this.$d[oe](Me);return this.init(),this},C.set=function(w,A){return this.clone().$set(w,A)},C.get=function(w){return this[N.p(w)]()},C.add=function(w,A){var M,W=this;w=Number(w);var U=N.p(A),oe=function(ze){var dt=X(W);return N.w(dt.date(dt.date()+Math.round(ze*w)),W)};if(U===h)return this.set(h,this.$M+w);if(U===b)return this.set(b,this.$y+w);if(U===a)return oe(1);if(U===l)return oe(7);var Me=(M={},M[r]=t,M[o]=n,M[s]=e,M)[U]||1,Ne=this.$d.getTime()+w*Me;return N.w(Ne,this)},C.subtract=function(w,A){return this.add(-1*w,A)},C.format=function(w){var A=this,M=this.$locale();if(!this.isValid())return M.invalidDate||v;var W=w||"YYYY-MM-DDTHH:mm:ssZ",U=N.z(this),oe=this.$H,Me=this.$m,Ne=this.$M,ze=M.weekdays,dt=M.months,tn=M.meridiem,Si=function(et,ti,Wn,Ts){return et&&(et[ti]||et(A,W))||Wn[ti].slice(0,Ts)},$n=function(et){return N.s(oe%12||12,et,"0")},Di=tn||function(et,ti,Wn){var Ts=et<12?"AM":"PM";return Wn?Ts.toLowerCase():Ts};return W.replace(j,function(et,ti){return ti||(function(Wn){switch(Wn){case"YY":return String(A.$y).slice(-2);case"YYYY":return N.s(A.$y,4,"0");case"M":return Ne+1;case"MM":return N.s(Ne+1,2,"0");case"MMM":return Si(M.monthsShort,Ne,dt,3);case"MMMM":return Si(dt,Ne);case"D":return A.$D;case"DD":return N.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return Si(M.weekdaysMin,A.$W,ze,2);case"ddd":return Si(M.weekdaysShort,A.$W,ze,3);case"dddd":return ze[A.$W];case"H":return String(oe);case"HH":return N.s(oe,2,"0");case"h":return $n(1);case"hh":return $n(2);case"a":return Di(oe,Me,!0);case"A":return Di(oe,Me,!1);case"m":return String(Me);case"mm":return N.s(Me,2,"0");case"s":return String(A.$s);case"ss":return N.s(A.$s,2,"0");case"SSS":return N.s(A.$ms,3,"0");case"Z":return U}return null})(et)||U.replace(":","")})},C.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},C.diff=function(w,A,M){var W,U=this,oe=N.p(A),Me=X(w),Ne=(Me.utcOffset()-this.utcOffset())*t,ze=this-Me,dt=function(){return N.m(U,Me)};switch(oe){case b:W=dt()/12;break;case h:W=dt();break;case p:W=dt()/3;break;case l:W=(ze-Ne)/6048e5;break;case a:W=(ze-Ne)/864e5;break;case o:W=ze/n;break;case r:W=ze/t;break;case s:W=ze/e;break;default:W=ze}return M?W:N.a(W)},C.daysInMonth=function(){return this.endOf(h).$D},C.$locale=function(){return $[this.$L]},C.locale=function(w,A){if(!w)return this.$L;var M=this.clone(),W=ie(w,A,!0);return W&&(M.$L=W),M},C.clone=function(){return N.w(this.$d,this)},C.toDate=function(){return new Date(this.valueOf())},C.toJSON=function(){return this.isValid()?this.toISOString():null},C.toISOString=function(){return this.$d.toISOString()},C.toString=function(){return this.$d.toUTCString()},I})(),Ue=Ae.prototype;return X.prototype=Ue,[["$ms",i],["$s",s],["$m",r],["$H",o],["$W",a],["$M",h],["$y",b],["$D",x]].forEach(function(I){Ue[I[1]]=function(C){return this.$g(C,I[0],I[1])}}),X.extend=function(I,C){return I.$i||(I(C,Ae,X),I.$i=!0),X},X.locale=ie,X.isDayjs=D,X.unix=function(I){return X(1e3*I)},X.en=$[De],X.Ls=$,X.p={},X})});var sh=nn((Ba,$a)=>{"use strict";(function(e,t){typeof Ba=="object"&&typeof $a<"u"?$a.exports=t(ja()):typeof define=="function"&&define.amd?define(["dayjs"],t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_locale_fr=t(e.dayjs)})(Ba,function(e){"use strict";function t(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var n=t(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(s){return""+s+(s===1?"er":"")}};return n.default.locale(i,null,!0),i})});var uh=nn((Ua,za)=>{"use strict";(function(e,t){typeof Ua=="object"&&typeof za<"u"?za.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_duration=t()})(Ua,function(){"use strict";var e,t,n=1e3,i=6e4,s=36e5,r=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,a=31536e6,l=2628e6,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,p={years:a,months:l,days:r,hours:s,minutes:i,seconds:n,milliseconds:1,weeks:6048e5},b=function($){return $ instanceof ke},x=function($,O,D){return new ke($,D,O.$l)},v=function($){return t.p($)+"s"},Y=function($){return $<0},j=function($){return Y($)?Math.ceil($):Math.floor($)},z=function($){return Math.abs($)},B=function($,O){return $?Y($)?{negative:!0,format:""+z($)+O}:{negative:!1,format:""+$+O}:{negative:!1,format:""}},ke=(function(){function $(D,ie,X){var N=this;if(this.$d={},this.$l=X,D===void 0&&(this.$ms=0,this.parseFromMilliseconds()),ie)return x(D*p[v(ie)],this);if(typeof D=="number")return this.$ms=D,this.parseFromMilliseconds(),this;if(typeof D=="object")return Object.keys(D).forEach(function(I){N.$d[v(I)]=D[I]}),this.calMilliseconds(),this;if(typeof D=="string"){var Ae=D.match(h);if(Ae){var Ue=Ae.slice(2).map(function(I){return I!=null?Number(I):0});return this.$d.years=Ue[0],this.$d.months=Ue[1],this.$d.weeks=Ue[2],this.$d.days=Ue[3],this.$d.hours=Ue[4],this.$d.minutes=Ue[5],this.$d.seconds=Ue[6],this.calMilliseconds(),this}}return this}var O=$.prototype;return O.calMilliseconds=function(){var D=this;this.$ms=Object.keys(this.$d).reduce(function(ie,X){return ie+(D.$d[X]||0)*p[X]},0)},O.parseFromMilliseconds=function(){var D=this.$ms;this.$d.years=j(D/a),D%=a,this.$d.months=j(D/l),D%=l,this.$d.days=j(D/r),D%=r,this.$d.hours=j(D/s),D%=s,this.$d.minutes=j(D/i),D%=i,this.$d.seconds=j(D/n),D%=n,this.$d.milliseconds=D},O.toISOString=function(){var D=B(this.$d.years,"Y"),ie=B(this.$d.months,"M"),X=+this.$d.days||0;this.$d.weeks&&(X+=7*this.$d.weeks);var N=B(X,"D"),Ae=B(this.$d.hours,"H"),Ue=B(this.$d.minutes,"M"),I=this.$d.seconds||0;this.$d.milliseconds&&(I+=this.$d.milliseconds/1e3,I=Math.round(1e3*I)/1e3);var C=B(I,"S"),w=D.negative||ie.negative||N.negative||Ae.negative||Ue.negative||C.negative,A=Ae.format||Ue.format||C.format?"T":"",M=(w?"-":"")+"P"+D.format+ie.format+N.format+A+Ae.format+Ue.format+C.format;return M==="P"||M==="-P"?"P0D":M},O.toJSON=function(){return this.toISOString()},O.format=function(D){var ie=D||"YYYY-MM-DDTHH:mm:ss",X={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return ie.replace(o,function(N,Ae){return Ae||String(X[N])})},O.as=function(D){return this.$ms/p[v(D)]},O.get=function(D){var ie=this.$ms,X=v(D);return X==="milliseconds"?ie%=1e3:ie=X==="weeks"?j(ie/p[X]):this.$d[X],ie||0},O.add=function(D,ie,X){var N;return N=ie?D*p[v(ie)]:b(D)?D.$ms:x(D,this).$ms,x(this.$ms+N*(X?-1:1),this)},O.subtract=function(D,ie){return this.add(D,ie,!0)},O.locale=function(D){var ie=this.clone();return ie.$l=D,ie},O.clone=function(){return x(this.$ms,this)},O.humanize=function(D){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!D)},O.valueOf=function(){return this.asMilliseconds()},O.milliseconds=function(){return this.get("milliseconds")},O.asMilliseconds=function(){return this.as("milliseconds")},O.seconds=function(){return this.get("seconds")},O.asSeconds=function(){return this.as("seconds")},O.minutes=function(){return this.get("minutes")},O.asMinutes=function(){return this.as("minutes")},O.hours=function(){return this.get("hours")},O.asHours=function(){return this.as("hours")},O.days=function(){return this.get("days")},O.asDays=function(){return this.as("days")},O.weeks=function(){return this.get("weeks")},O.asWeeks=function(){return this.as("weeks")},O.months=function(){return this.get("months")},O.asMonths=function(){return this.as("months")},O.years=function(){return this.get("years")},O.asYears=function(){return this.as("years")},$})(),De=function($,O,D){return $.add(O.years()*D,"y").add(O.months()*D,"M").add(O.days()*D,"d").add(O.hours()*D,"h").add(O.minutes()*D,"m").add(O.seconds()*D,"s").add(O.milliseconds()*D,"ms")};return function($,O,D){e=D,t=D().$utils(),D.duration=function(N,Ae){var Ue=D.locale();return x(N,{$l:Ue},Ae)},D.isDuration=b;var ie=O.prototype.add,X=O.prototype.subtract;O.prototype.add=function(N,Ae){return b(N)?De(this,N,1):ie.bind(this)(N,Ae)},O.prototype.subtract=function(N,Ae){return b(N)?De(this,N,-1):X.bind(this)(N,Ae)}}})});var hh=nn((Ga,Ka)=>{"use strict";(function(e,t){typeof Ga=="object"&&typeof Ka<"u"?Ka.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_localizedFormat=t()})(Ga,function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,i){var s=n.prototype,r=s.format;i.en.formats=e,s.format=function(o){o===void 0&&(o="YYYY-MM-DDTHH:mm:ssZ");var a=this.$locale().formats,l=(function(h,p){return h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,x,v){var Y=v&&v.toUpperCase();return x||p[v]||e[v]||p[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(j,z,B){return z||B.slice(1)})})})(o,a===void 0?{}:a);return r.call(this,l)}}})});var _h=nn((Xa,Za)=>{"use strict";(function(e,t){typeof Xa=="object"&&typeof Za<"u"?Za.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_relativeTime=t()})(Xa,function(){"use strict";return function(e,t,n){e=e||{};var i=t.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function r(a,l,h,p){return i.fromToBase(a,l,h,p)}n.en.relativeTime=s,i.fromToBase=function(a,l,h,p,b){for(var x,v,Y,j=h.$locale().relativeTime||s,z=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],B=z.length,ke=0;ke<B;ke+=1){var De=z[ke];De.d&&(x=p?n(a).diff(h,De.d,!0):h.diff(a,De.d,!0));var $=(e.rounding||Math.round)(Math.abs(x));if(Y=x>0,$<=De.r||!De.r){$<=1&&ke>0&&(De=z[ke-1]);var O=j[De.l];b&&($=b(""+$)),v=typeof O=="string"?O.replace("%d",$):O($,l,De.l,Y);break}}if(l)return v;var D=Y?j.future:j.past;return typeof D=="function"?D(v):D.replace("%s",v)},i.to=function(a,l){return r(a,l,this,!0)},i.from=function(a,l){return r(a,l,this)};var o=function(a){return a.$u?n.utc():n()};i.toNow=function(a){return this.to(o(this),a)},i.fromNow=function(a){return this.from(o(this),a)}}})});var mh=nn((qa,Ja)=>{"use strict";(function(e,t){typeof qa=="object"&&typeof Ja<"u"?Ja.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_utc=t()})(qa,function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,s,r){var o=s.prototype;r.utc=function(v){var Y={date:v,utc:!0,args:arguments};return new s(Y)},o.utc=function(v){var Y=r(this.toDate(),{locale:this.$L,utc:!0});return v?Y.add(this.utcOffset(),e):Y},o.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var a=o.parse;o.parse=function(v){v.utc&&(this.$u=!0),this.$utils().u(v.$offset)||(this.$offset=v.$offset),a.call(this,v)};var l=o.init;o.init=function(){if(this.$u){var v=this.$d;this.$y=v.getUTCFullYear(),this.$M=v.getUTCMonth(),this.$D=v.getUTCDate(),this.$W=v.getUTCDay(),this.$H=v.getUTCHours(),this.$m=v.getUTCMinutes(),this.$s=v.getUTCSeconds(),this.$ms=v.getUTCMilliseconds()}else l.call(this)};var h=o.utcOffset;o.utcOffset=function(v,Y){var j=this.$utils().u;if(j(v))return this.$u?0:j(this.$offset)?h.call(this):this.$offset;if(typeof v=="string"&&(v=(function(De){De===void 0&&(De="");var $=De.match(t);if(!$)return null;var O=(""+$[0]).match(n)||["-",0,0],D=O[0],ie=60*+O[1]+ +O[2];return ie===0?0:D==="+"?ie:-ie})(v),v===null))return this;var z=Math.abs(v)<=16?60*v:v;if(z===0)return this.utc(Y);var B=this.clone();if(Y)return B.$offset=z,B.$u=!1,B;var ke=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(B=this.local().add(z+ke,e)).$offset=z,B.$x.$localOffset=ke,B};var p=o.format;o.format=function(v){var Y=v||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,Y)},o.valueOf=function(){var v=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*v},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var b=o.toDate;o.toDate=function(v){return v==="s"&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var x=o.diff;o.diff=function(v,Y,j){if(v&&this.$u===v.$u)return x.call(this,v,Y,j);var z=this.local(),B=r(v).local();return x.call(z,B,Y,j)}}})});var qr=class{constructor(t,n){this.open=t,this.close=n||t}isManual(){return this.open==="manual"||this.close==="manual"}},xh={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function Jr(e,t=xh){let n=(e||"").trim();if(n.length===0)return[];let i=n.split(/\s+/).map(r=>r.split(":")).map(r=>{let o=t[r[0]]||r;return new qr(o[0],o[1])}),s=i.filter(r=>r.isManual());if(s.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(s.length===1&&i.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return i}function nc(e,t){let n=Jr(t.triggers),i=t.target;if(n.length===1&&n[0].isManual())return Function.prototype;let s=[],r=[],o=()=>{r.forEach(a=>s.push(a())),r.length=0};return n.forEach(a=>{let l=a.open===a.close,h=l?t.toggle:t.show;if(!l&&a.close&&t.hide){let p=a.close,b=t.hide,x=()=>e.listen(i,p,b);r.push(x)}h&&s.push(e.listen(i,a.open,()=>h(o)))}),()=>{s.forEach(a=>a())}}function sc(e,t){return t.outsideClick?e.listen("document","click",n=>{t.target&&t.target.contains(n.target)||t.targets&&t.targets.some(i=>i.contains(n.target))||t.hide&&t.hide()}):Function.prototype}function rc(e,t){return t.outsideEsc?e.listen("document","keyup.esc",n=>{t.target&&t.target.contains(n.target)||t.targets&&t.targets.some(i=>i.contains(n.target))||t.hide&&t.hide()}):Function.prototype}var Le=typeof window<"u"&&window||{},Oe=Le.document,$y=Le.location,Wy=Le.gc?()=>Le.gc():()=>null,Uy=Le.performance?Le.performance:null,zy=Le.Event,Gy=Le.MouseEvent,Ky=Le.KeyboardEvent,Xy=Le.EventTarget,Zy=Le.History,qy=Le.Location,Jy=Le.EventListener,oc=(function(e){return e.isBs4="bs4",e.isBs5="bs5",e})(oc||{}),Ut;function ac(){let e=Le.document.createElement("span");e.innerText="testing bs version",e.classList.add("d-none"),e.classList.add("pl-1"),Le.document.head.appendChild(e);let t=Le.getComputedStyle(e).paddingLeft;return t&&parseFloat(t)?(Le.document.head.removeChild(e),"bs4"):(Le.document.head.removeChild(e),"bs5")}function Qy(e){Ut=e}function Eh(){return Ut||(Ut=ac()),Ut==="bs4"}function Lh(){return Ut||(Ut=ac()),Ut==="bs5"}function oi(){return{isBs4:Eh(),isBs5:Lh()}}function Oh(){let e=oi(),t=Object.keys(e).find(n=>e[n]);return oc[t]}function lc(){let e="Change";return function(n,i){let s=` __${i}Value`;Object.defineProperty(n,i,{get(){return this[s]},set(r){let o=this[s];this[s]=r,o!==r&&this[i+e]&&this[i+e].emit(r)}})}}var Vs=class{static reflow(t){t.offsetHeight}static getStyles(t){let n=t.ownerDocument.defaultView;return(!n||!n.opener)&&(n=Le),n.getComputedStyle(t)}static stackOverflowConfig(){let t=Oh();return{crossorigin:"anonymous",integrity:t==="bs5"?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:t==="bs5"?"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"}}},ic={},Rh=typeof console>"u"||!("warn"in console);function it(e){!Cl()||Rh||e in ic||(ic[e]=!0,console.warn(e))}function cc(e){e||(e=E(Os));let t=new Ci(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(on(t))}function dc(e,t){let n=t?.injector??E(be),i=new tl(1),s=Ri(()=>{let r;try{r=e()}catch(o){Hs(()=>i.error(o));return}Hs(()=>i.next(r))},{injector:n,manualCleanup:!0});return n.get(Os).onDestroy(()=>{s.destroy(),i.complete()}),i.asObservable()}var fc=(function(e){return e.top="top",e.bottom="bottom",e.left="left",e.right="right",e.auto="auto",e.end="right",e.start="left",e["top left"]="top left",e["top right"]="top right",e["right top"]="right top",e["right bottom"]="right bottom",e["bottom right"]="bottom right",e["bottom left"]="bottom left",e["left bottom"]="left bottom",e["left top"]="left top",e["top start"]="top left",e["top end"]="top right",e["end top"]="right top",e["end bottom"]="right bottom",e["bottom end"]="bottom right",e["bottom start"]="bottom left",e["start bottom"]="start bottom",e["start top"]="left top",e})(fc||{}),qn=(function(e){return e.top="top",e.bottom="bottom",e.left="start",e.right="end",e.auto="auto",e.end="end",e.start="start",e["top left"]="top start",e["top right"]="top end",e["right top"]="end top",e["right bottom"]="end bottom",e["bottom right"]="bottom end",e["bottom left"]="bottom start",e["left bottom"]="start bottom",e["left top"]="start top",e["top start"]="top start",e["top end"]="top end",e["end top"]="end top",e["end bottom"]="end bottom",e["bottom end"]="bottom end",e["bottom start"]="bottom start",e["start bottom"]="start bottom",e["start top"]="start top",e})(qn||{});function Ai(e,t){if(e.nodeType!==1)return[];let i=e.ownerDocument.defaultView?.getComputedStyle(e,null);return t?i&&i[t]:i}function io(e){if(!e)return document.documentElement;let t=null,n=e?.offsetParent,i;for(;n===t&&e.nextElementSibling&&i!==e.nextElementSibling;)i=e.nextElementSibling,n=i.offsetParent;let s=n&&n.nodeName;return!s||s==="BODY"||s==="HTML"?i?i.ownerDocument.documentElement:document.documentElement:n&&["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&Ai(n,"position")==="static"?io(n):n}function Ih(e){let{nodeName:t}=e;return t==="BODY"?!1:t==="HTML"||io(e.firstElementChild)===e}function Qr(e){return e.parentNode!==null?Qr(e.parentNode):e}function $s(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;let n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,s=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(s,0);let o=r.commonAncestorContainer;if(e!==o&&t!==o||i.contains(s))return Ih(o)?o:io(o);let a=Qr(e);return a.host?$s(a.host,t):$s(e,Qr(t).host)}function gc(e){if(!e||!e.parentElement)return document.documentElement;let t=e.parentElement;for(;t?.parentElement&&Ai(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function uc(e,t){let n=t==="x"?"Left":"Top",i=n==="Left"?"Right":"Bottom";return parseFloat(e[`border${n}Width`])+parseFloat(e[`border${i}Width`])}function hc(e,t,n){let i=t,s=n;return Math.max(i[`offset${e}`],i[`scroll${e}`],s[`client${e}`],s[`offset${e}`],s[`scroll${e}`],0)}function vc(e){let t=e.body,n=e.documentElement;return{height:hc("Height",t,n),width:hc("Width",t,n)}}function Jn(e){return Ve(K({},e),{right:(e.left||0)+e.width,bottom:(e.top||0)+e.height})}function Ah(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(Number(e))}function me(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function _c(e){let t=e.getBoundingClientRect();if(!(t&&me(t.top)&&me(t.left)&&me(t.bottom)&&me(t.right)))return t;let n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i=e.nodeName==="HTML"?vc(e.ownerDocument):void 0,s=i?.width||e.clientWidth||me(t.right)&&me(n.left)&&t.right-n.left||0,r=i?.height||e.clientHeight||me(t.bottom)&&me(n.top)&&t.bottom-n.top||0,o=e.offsetWidth-s,a=e.offsetHeight-r;if(o||a){let l=Ai(e);o-=uc(l,"x"),a-=uc(l,"y"),n.width-=o,n.height-=a}return Jn(n)}function no(e,t,n=!1){let i=t.nodeName==="HTML",s=_c(e),r=_c(t),o=Ai(t),a=parseFloat(o.borderTopWidth),l=parseFloat(o.borderLeftWidth);n&&i&&(r.top=Math.max(r.top??0,0),r.left=Math.max(r.left??0,0));let h=Jn({top:(s.top??0)-(r.top??0)-a,left:(s.left??0)-(r.left??0)-l,width:s.width,height:s.height});if(h.marginTop=0,h.marginLeft=0,i){let p=parseFloat(o.marginTop),b=parseFloat(o.marginLeft);me(h.top)&&(h.top-=a-p),me(h.bottom)&&(h.bottom-=a-p),me(h.left)&&(h.left-=l-b),me(h.right)&&(h.right-=l-b),h.marginTop=p,h.marginLeft=b}return h}function so(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function yc(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body;default:}let{overflow:t,overflowX:n,overflowY:i}=Ai(e);return/(auto|scroll|overlay)/.test(String(t)+String(i)+String(n))?e:yc(so(e))}function mc(e,t="top"){let n=t==="top"?"scrollTop":"scrollLeft",i=e.nodeName;if(i==="BODY"||i==="HTML"){let s=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||s)[n]}return e[n]}function Yh(e,t=!1){let n=e.ownerDocument.documentElement,i=no(e,n),s=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:mc(n),a=t?0:mc(n,"left"),l={top:o-Number(i?.top)+Number(i?.marginTop),left:a-Number(i?.left)+Number(i?.marginLeft),width:s,height:r};return Jn(l)}function bc(e){let t=e.nodeName;return t==="BODY"||t==="HTML"?!1:Ai(e,"position")==="fixed"?!0:bc(so(e))}function ro(e,t,n=0,i,s=!1){let r={top:0,left:0},o=s?gc(e):$s(e,t);if(i==="viewport")r=Yh(o,s);else{let a;i==="scrollParent"?(a=yc(so(t)),a.nodeName==="BODY"&&(a=e.ownerDocument.documentElement)):i==="window"?a=e.ownerDocument.documentElement:a=i;let l=no(a,o,s);if(l&&a.nodeName==="HTML"&&!bc(o)){let{height:h,width:p}=vc(e.ownerDocument);me(r.top)&&me(l.top)&&me(l.marginTop)&&(r.top+=l.top-l.marginTop),me(r.top)&&(r.bottom=Number(h)+Number(l.top)),me(r.left)&&me(l.left)&&me(l.marginLeft)&&(r.left+=l.left-l.marginLeft),me(r.top)&&(r.right=Number(p)+Number(l.left))}else l&&(r=l)}return me(r.left)&&(r.left+=n),me(r.top)&&(r.top+=n),me(r.right)&&(r.right-=n),me(r.bottom)&&(r.bottom-=n),r}function Ph({width:e,height:t}){return e*t}function wc(e,t,n,i,s=["top","bottom","right","left"],r="viewport",o=0){if(e.indexOf("auto")===-1)return e;let a=ro(n,i,o,r),l={top:{width:a?.width??0,height:(t?.top??0)-(a?.top??0)},right:{width:(a?.right??0)-(t?.right??0),height:a?.height??0},bottom:{width:a?.width??0,height:(a?.bottom??0)-(t?.bottom??0)},left:{width:(t.left??0)-(a?.left??0),height:a?.height??0}},h=Object.keys(l).map(v=>Ve(K({position:v},l[v]),{area:Ph(l[v])})).sort((v,Y)=>Y.area-v.area),p=h.filter(({width:v,height:Y})=>v>=n.clientWidth&&Y>=n.clientHeight);p=p.filter(({position:v})=>s.some(Y=>Y===v));let b=p.length>0?p[0].position:h[0].position,x=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${oi().isBs5?qn[b]:b}`),b+(x?`-${x}`:"")}function Hh(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left??0),top:Math.round(e.offsets.target.top??0),bottom:Math.round(e.offsets.target.bottom??0),right:Math.floor(e.offsets.target.right??0)}}function Nh(e){let t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,n=>t[n])}function Vh(e){return e==="right"?"left":e==="left"?"right":e}var Fs=(e,t=0)=>e?parseFloat(e):t;function Sc(e){let n=e.ownerDocument.defaultView?.getComputedStyle(e),i=Fs(n?.marginTop)+Fs(n?.marginBottom),s=Fs(n?.marginLeft)+Fs(n?.marginRight);return{width:Number(e.offsetWidth)+s,height:Number(e.offsetHeight)+i}}function Dc(e,t,n){let i=n?gc(e):$s(e,t);return no(t,i,n)}function eo(e,t,n){let i=n.split(" ")[0],s=Sc(e),r={width:s.width,height:s.height},o=["right","left"].indexOf(i)!==-1,a=o?"top":"left",l=o?"left":"top",h=o?"height":"width",p=o?"width":"height";return r[a]=(t[a]??0)+t[h]/2-s[h]/2,r[l]=i===l?(t[l]??0)-s[p]:t[Nh(l)]??0,r}function Mc(e,t){return!!e.modifiers[t]?.enabled}var Fh={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function js(e,t){return oi().isBs5?Fh[t].includes(e):!1}function jh(e){return oi().isBs5?js(e,"end")?"ms-2":js(e,"start")?"me-2":js(e,"top")?"mb-2":js(e,"bottom")?"mt-2":"":""}function Bh(e,t){let n=e.instance.target,i=n.className,s=oi().isBs5?qn[e.placement]:e.placement;if(e.placementAuto&&(i=i.replace(/bs-popover-auto/g,`bs-popover-${s}`),i=i.replace(/ms-2|me-2|mb-2|mt-2/g,""),i=i.replace(/bs-tooltip-auto/g,`bs-tooltip-${s}`),i=i.replace(/\sauto/g,` ${s}`),i.indexOf("popover")!==-1&&(i=i+" "+jh(s)),i.indexOf("popover")!==-1&&i.indexOf("popover-auto")===-1&&(i+=" popover-auto"),i.indexOf("tooltip")!==-1&&i.indexOf("tooltip-auto")===-1&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom|end|start/g,`${s.split(" ")[0]}`),t){t.setAttribute(n,"class",i);return}n.className=i}function pc(e,t,n){!e||!t||Object.keys(t).forEach(i=>{let s="";if(["width","height","top","right","bottom","left"].indexOf(i)!==-1&&Ah(t[i])&&(s="px"),n){n.setStyle(e,i,`${String(t[i])}${s}`);return}e.style[i]=String(t[i])+s})}function $h(e){let t=e.offsets.target,n=e.instance.target.querySelector(".arrow");if(!n)return e;let i=["left","right"].indexOf(e.placement.split(" ")[0])!==-1,s=i?"height":"width",r=i?"Top":"Left",o=r.toLowerCase(),a=i?"left":"top",l=i?"bottom":"right",h=Sc(n)[s],p=e.placement.split(" ")[1];(e.offsets.host[l]??0)-h<(t[o]??0)&&(t[o]-=(t[o]??0)-((e.offsets.host[l]??0)-h)),Number(e.offsets.host[o])+Number(h)>(t[l]??0)&&(t[o]+=Number(e.offsets.host[o])+Number(h)-Number(t[l])),t=Jn(t);let b=Ai(e.instance.target),x=parseFloat(b[`margin${r}`])||0,v=parseFloat(b[`border${r}Width`])||0,Y;if(!p)Y=Number(e.offsets.host[o])+Number(e.offsets.host[s]/2-h/2);else{let z=parseFloat(b.borderRadius)||0,B=Number(x+v+z);Y=o===p?Number(e.offsets.host[o])+B:Number(e.offsets.host[o])+Number(e.offsets.host[s]-B)}let j=Y-(t[o]??0)-x-v;return j=Math.max(Math.min(t[s]-(h+5),j),0),e.offsets.arrow={[o]:Math.round(j),[a]:""},e.instance.arrow=n,e}function Wh(e){if(e.offsets.target=Jn(e.offsets.target),!Mc(e.options,"flip"))return e.offsets.target=K(K({},e.offsets.target),eo(e.instance.target,e.offsets.host,e.placement)),e;let t=ro(e.instance.target,e.instance.host,0,"viewport",!1),n=e.placement.split(" ")[0],i=e.placement.split(" ")[1]||"",s=e.offsets.host,r=e.instance.target,o=e.instance.host,a=wc("auto",s,r,o,e.options.allowedPositions),l=[n,a];return l.forEach((h,p)=>{if(n!==h||l.length===p+1)return;n=e.placement.split(" ")[0];let b=n==="left"&&Math.floor(e.offsets.target.right??0)>Math.floor(e.offsets.host.left??0)||n==="right"&&Math.floor(e.offsets.target.left??0)<Math.floor(e.offsets.host.right??0)||n==="top"&&Math.floor(e.offsets.target.bottom??0)>Math.floor(e.offsets.host.top??0)||n==="bottom"&&Math.floor(e.offsets.target.top??0)<Math.floor(e.offsets.host.bottom??0),x=Math.floor(e.offsets.target.left??0)<Math.floor(t.left??0),v=Math.floor(e.offsets.target.right??0)>Math.floor(t.right??0),Y=Math.floor(e.offsets.target.top??0)<Math.floor(t.top??0),j=Math.floor(e.offsets.target.bottom??0)>Math.floor(t.bottom??0),z=n==="left"&&x||n==="right"&&v||n==="top"&&Y||n==="bottom"&&j,B=["top","bottom"].indexOf(n)!==-1,ke=B&&i==="left"&&x||B&&i==="right"&&v||!B&&i==="left"&&Y||!B&&i==="right"&&j;(b||z||ke)&&((b||z)&&(n=l[p+1]),ke&&(i=Vh(i)),e.placement=n+(i?` ${i}`:""),e.offsets.target=K(K({},e.offsets.target),eo(e.instance.target,e.offsets.host,e.placement)))}),e}function Uh(e,t,n,i){if(!e||!t)return;let s=Dc(e,t);!n.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!n.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(n="auto");let r=!!n.match(/auto/g),o=n.match(/auto\s(left|right|top|bottom|start|end)/)?n.split(" ")[1]||"auto":n,a=o.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);a&&(o=a[1]+(a[2]?` ${a[2]}`:"")),["left right","right left","top bottom","bottom top"].indexOf(o)!==-1&&(o="auto"),o=wc(o,s,e,t,i?i.allowedPositions:void 0);let l=eo(e,s,o);return{options:i||{modifiers:{}},instance:{target:e,host:t,arrow:void 0},offsets:{target:l,host:s,arrow:void 0},positionFixed:!1,placement:o,placementAuto:r}}function zh(e){if(!Mc(e.options,"preventOverflow"))return e;let t="transform",n=e.instance.target.style,{top:i,left:s,[t]:r}=n;n.top="",n.left="",n[t]="";let o=ro(e.instance.target,e.instance.host,0,e.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);n.top=i,n.left=s,n[t]=r;let a=["left","right","top","bottom"],l={primary(h){let p=e.offsets.target[h];return(e.offsets.target[h]??0)<(o[h]??0)&&(p=Math.max(e.offsets.target[h]??0,o[h]??0)),{[h]:p}},secondary(h){let p=h==="right",b=p?"left":"top",x=p?"width":"height",v=e.offsets.target[b];return(e.offsets.target[h]??0)>(o[h]??0)&&(v=Math.min(e.offsets.target[b]??0,(o[h]??0)-e.offsets.target[x])),{[b]:v}}};return a.forEach(h=>{let p=["left","top","start"].indexOf(h)!==-1?l.primary:l.secondary;e.offsets.target=K(K({},e.offsets.target),p(h))}),e}function Gh(e){let t=e.placement,n=t.split(" ")[0],i=t.split(" ")[1];if(i){let{host:s,target:r}=e.offsets,o=["bottom","top"].indexOf(n)!==-1,a=o?"left":"top",l=o?"width":"height",h={start:{[a]:s[a]},end:{[a]:(s[a]??0)+s[l]-r[l]}};e.offsets.target=Ve(K({},r),{[a]:a===i?h.start[a]:h.end[a]})}return e}var to=class{position(t,n){return this.offset(t,n)}offset(t,n){return Dc(n,t)}positionElements(t,n,i,s,r){let o=[Wh,Gh,zh,$h],a=fc[i],l=Uh(n,t,a,r);if(l)return o.reduce((h,p)=>p(h),l)}},Kh=new to;function Xh(e,t,n,i,s,r){let o=Kh.positionElements(e,t,n,i,s);if(!o)return;let a=Hh(o);pc(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${a.left}px, ${a.top}px, 0px)`},r),o.instance.arrow&&pc(o.instance.arrow,o.offsets.arrow,r),Bh(o,r)}var Qe=(()=>{let t=class t{constructor(i,s,r){this.update$$=new G,this.positionElements=new Map,this.isDisabled=!1,hn(r)&&i.runOutsideAngular(()=>{this.triggerEvent$=ll(ki(window,"scroll",{passive:!0}),ki(window,"resize",{passive:!0}),Es(0,Vr),this.update$$),this.triggerEvent$.pipe(cc()).subscribe(()=>{this.isDisabled||this.positionElements.forEach(o=>{Xh(Bs(o.target),Bs(o.element),o.attachment,o.appendToBody,this.options,s.createRenderer(null,null))})})})}position(i){this.addPositionElement(i)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(i){this.positionElements.set(Bs(i.element),i)}calcPosition(){this.update$$.next(null)}deletePositionElement(i){this.positionElements.delete(Bs(i))}setOptions(i){this.options=i}};t.\u0275fac=function(s){return new(s||t)(J(we),J(qe),J(cn))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bs(e){return typeof e=="string"?document.querySelector(e):e instanceof te?e.nativeElement:e??null}var Yi=class{constructor(t,n,i){this.nodes=t,this.viewRef=n,this.componentRef=i}},ao=class{constructor(t,n,i,s,r,o,a,l,h){this._viewContainerRef=t,this._renderer=n,this._elementRef=i,this._injector=s,this._componentFactoryResolver=r,this._ngZone=o,this._applicationRef=a,this._posService=l,this._document=h,this.onBeforeShow=new H,this.onShown=new H,this.onBeforeHide=new H,this.onHidden=new H,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return this._isHiding?!1:!!this._componentRef}attach(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this}to(t){return this.container=t||this.container,this}position(t){return t?(this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this):this}provide(t){return this._providers.push(t),this}show(t={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);let n=be.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(n,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof te&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),typeof this.container=="string"&&typeof this._document<"u"){let i=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!i)return;i.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(t.id?{id:t.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(t){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);let n=this._componentRef.location.nativeElement;return n.parentNode?.removeChild(n),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(t?{id:t}:null),this}toggle(){if(this.isShown){this.hide();return}this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(t){this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef?.nativeElement;let n=this._listenOpts.hide=()=>t.hide?t.hide():void this.hide(),i=this._listenOpts.show=r=>{t.show?t.show(r):this.show(r),r()},s=r=>{this.isShown?n():i(r)};return this._renderer&&(this._unregisterListenersFn=nc(this._renderer,{target:t.target,triggers:t.triggers,show:i,hide:n,toggle:s})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(t,n){return t&&n&&(this._inlineViewRef=t.createEmbeddedView(n)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let t=Function.prototype,n=Function.prototype;if(this._listenOpts.outsideClick){let i=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(t=sc(this._renderer,{targets:[i,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}if(this._listenOpts.outsideEsc&&this._renderer&&this._elementRef){let i=this._componentRef.location.nativeElement;n=rc(this._renderer,{targets:[i,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})}this._globalListener=()=>{t(),n()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:this.container==="body"})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(t,n,i){if(!t)return new Yi([]);if(t instanceof Ti){if(this._viewContainerRef){let o=this._viewContainerRef.createEmbeddedView(t,n);return o.markForCheck(),new Yi([o.rootNodes],o)}let r=t.createEmbeddedView({});return this._applicationRef.attachView(r),new Yi([r.rootNodes],r)}if(typeof t=="function"){let r=this._componentFactoryResolver.resolveComponentFactory(t),o=be.create({providers:this._providers,parent:this._injector}),a=r.create(o);return Object.assign(a.instance,i),this._applicationRef.attachView(a.hostView),new Yi([[a.location.nativeElement]],a.hostView,a)}let s=this._renderer?[this._renderer.createText(`${t}`)]:[];return new Yi([s])}},ut=(()=>{let t=class t{constructor(i,s,r,o,a,l){this._componentFactoryResolver=i,this._ngZone=s,this._injector=r,this._posService=o,this._applicationRef=a,this._document=l}createLoader(i,s,r){return new ao(s,r,i,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}};t.\u0275fac=function(s){return new(s||t)(J(Is),J(we),J(be),J(Qe),J(Mt),J(fe))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Zh=["*"],co=(()=>{let t=class t{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),qh=(()=>{let t=class t{get _bsVersions(){return oi()}constructor(i){Object.assign(this,i)}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=qn[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}};t.\u0275fac=function(s){return new(s||t)(y(co))},t.\u0275cmp=re({type:t,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(s,r){s&2&&(le("id",r.id),Je("show tooltip in tooltip-"+r.placement+" bs-tooltip-"+r.placement+" "+r.placement+" "+r.containerClass))},ngContentSelectors:Zh,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(s,r){s&1&&(Li(),Ei(0,"div",0),Rt(1,"div",1),ni(2),It())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none;position:absolute}.tooltip[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0});let e=t;return e})(),Jh=0,Cc=(()=>{let t=class t{get isOpen(){return this._tooltip.isShown}set isOpen(i){i?this.show():this.hide()}set htmlContent(i){it("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=i}set _placement(i){it("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=i}set _isOpen(i){it("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=i}get _isOpen(){return it("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(i){it("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!i}get _enable(){return it("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(i){it('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=i?"body":this.container}get _appendToBody(){return it('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container==="body"}set _popupClass(i){it("tooltipClass deprecated")}set _tooltipContext(i){it("tooltipContext deprecated")}set _tooltipPopupDelay(i){it("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=i}get _tooltipTrigger(){return it("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(i){it("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(i||"").toString()}constructor(i,s,r,o,a,l){this._elementRef=o,this._renderer=a,this._positionService=l,this.tooltipId=Jh++,this.adaptivePosition=!0,this.tooltipChange=new H,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new H,this._tooltip=s.createLoader(this._elementRef,i,this._renderer).provide({provide:co,useValue:r}),Object.assign(this,r),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(i=>{i||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;let i=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(qh).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},s=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=al(this.delay).subscribe(()=>{i(),s()}),this.triggers&&Jr(this.triggers).forEach(r=>{r.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,r.close,()=>{this._delaySubscription?.unsubscribe(),s()}))})):i()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}};t.\u0275fac=function(s){return new(s||t)(y(Ft),y(ut),y(co),y(te),y(Fe),y(Qe))},t.\u0275dir=je({type:t,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:[0,"tooltipHtml","htmlContent"],_placement:[0,"tooltipPlacement","_placement"],_isOpen:[0,"tooltipIsOpen","_isOpen"],_enable:[0,"tooltipEnable","_enable"],_appendToBody:[0,"tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:[0,"tooltipClass","_popupClass"],_tooltipContext:[0,"tooltipContext","_tooltipContext"],_tooltipPopupDelay:[0,"tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:[0,"tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"],features:[Ee([ut,Qe])]});let e=t;return nl([lc(),sl("design:type",Object)],e.prototype,"tooltip",void 0),e})(),uo=(()=>{let t=class t{static forRoot(){return{ngModule:t,providers:[]}}};t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=xe({type:t}),t.\u0275inj=Te({imports:[Ii]});let e=t;return e})();var Fb=/^[a-zA-Z0-9\-\\._]{2,255}$/;var e_=(function(e){return e[e.ADMINISTRATOR=0]="ADMINISTRATOR",e[e.USER=1]="USER",e[e.GUEST=2]="GUEST",e[e.LINK=3]="LINK",e})(e_||{}),Ws=(function(e){return e[e.MEMBER=0]="MEMBER",e[e.MANAGER=1]="MANAGER",e})(Ws||{}),jb=",",nt=(function(e){return e.PERSONAL_SPACE="personal_space",e.SPACES="spaces_access",e.SPACES_ADMIN="spaces_admin",e.SHARES="shares_access",e.SHARES_ADMIN="shares_admin",e.GUESTS_ADMIN="guests_admin",e.PERSONAL_GROUPS_ADMIN="personal_groups_admin",e.DESKTOP_APP="desktop_app_access",e.DESKTOP_APP_SYNC="desktop_app_sync",e.WEBDAV="webdav_access",e})(nt||{});var t_=(function(e){return e[e.AVAILABLE=0]="AVAILABLE",e[e.BUSY=1]="BUSY",e[e.ABSENT=2]="ABSENT",e[e.OFFLINE=3]="OFFLINE",e})(t_||{}),Bb=["available","busy","absent","offline"];var $b={APPLICATION:"application",APPLICATION_EMAIL:"application & email"};var ho;try{ho=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ho=!1}var Pi=(()=>{class e{_platformId=E(cn);isBrowser=this._platformId?hn(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||ho)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _o(e){return e.composedPath?e.composedPath()[0]:e.target}function mo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Us=new WeakMap,po=(()=>{class e{_appRef;_injector=E(be);_environmentInjector=E(an);load(n){let i=this._appRef=this._appRef||this._injector.get(Mt),s=Us.get(i);s||(s={loaders:new Set,refs:[]},Us.set(i,s),i.onDestroy(()=>{Us.get(i)?.refs.forEach(r=>r.destroy()),Us.delete(i)})),s.loaders.has(n)||(s.loaders.add(n),s.refs.push(Ns(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ce(e){return e==null?"":typeof e=="string"?e:`${e}px`}function fo(e){return Array.isArray(e)?e:[e]}function kc(e){return e instanceof te?e.nativeElement:e}var i_=new Nt("cdk-dir-doc",{providedIn:"root",factory:n_});function n_(){return E(fe)}var s_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function r_(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?s_.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Tc=(()=>{class e{get value(){return this.valueSignal()}valueSignal=se("ltr");change=new H;constructor(){let n=E(i_,{optional:!0});if(n){let i=n.body?n.body.dir:null,s=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(r_(i||s||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hi;function xc(){if(Hi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Hi=!1,Hi;if("scrollBehavior"in document.documentElement.style)Hi=!0;else{let e=Element.prototype.scrollTo;e?Hi=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Hi=!1}}return Hi}var Qn=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=xe({type:e});static \u0275inj=Te({})}return e})();var a_=20,go=(()=>{class e{_ngZone=E(we);_platform=E(Pi);_renderer=E(qe).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new G;_scrolledCount=0;scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=a_){return this._platform.isBrowser?new Ci(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let s=n>0?this._scrolled.pipe(Fr(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Es()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let s=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(ye(r=>!r||s.indexOf(r)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((s,r)=>{this._scrollableContainsElement(r,n)&&i.push(r)}),i}_scrollableContainsElement(n,i){let s=kc(i),r=n.getElementRef().nativeElement;do if(s==r)return!0;while(s=s.parentElement);return!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var l_=20,es=(()=>{class e{_platform=E(Pi);_listeners;_viewportSize;_change=new G;_document=E(fe);constructor(){let n=E(we),i=E(qe).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let s=r=>this._change.next(r);this._listeners=[i.listen("window","resize",s),i.listen("window","orientationchange",s)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+s,right:n.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),s=n.documentElement,r=s.getBoundingClientRect(),o=-r.top||n.body.scrollTop||i.scrollY||s.scrollTop||0,a=-r.left||n.body.scrollLeft||i.scrollX||s.scrollLeft||0;return{top:o,left:a}}change(n=l_){return n>0?this._change.pipe(Fr(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ec=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=xe({type:e});static \u0275inj=Te({})}return e})(),vo=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=xe({type:e});static \u0275inj=Te({imports:[Qn,Ec,Qn,Ec]})}return e})();var ts=class{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},is=class extends ts{component;viewContainerRef;injector;projectableNodes;constructor(t,n,i,s){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.projectableNodes=s}},zs=class extends ts{templateRef;viewContainerRef;context;injector;constructor(t,n,i,s){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}},yo=class extends ts{element;constructor(t){super(),this.element=t instanceof te?t.nativeElement:t}},bo=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof is)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof zs)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof yo)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Gs=class extends bo{outletElement;_appRef;_defaultInjector;constructor(t,n,i){super(),this.outletElement=t,this._appRef=n,this._defaultInjector=i}attachComponentPortal(t){let n;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,s=i.get(vl,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:s,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else{let i=this._appRef,s=t.injector||this._defaultInjector||be.NULL,r=s.get(an,i.injector);n=Ns(t.component,{elementInjector:s,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),i.attachView(n.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=n.indexOf(i);s!==-1&&n.remove(s)}),this._attachedPortal=t,i}attachDomPortal=t=>{let n=t.element;n.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Lc=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=xe({type:e});static \u0275inj=Te({})}return e})();var wo={},Oc=(()=>{class e{_appId=E(ml);getId(n){return this._appId!=="ng"&&(n+=this._appId),wo.hasOwnProperty(n)||(wo[n]=0),`${n}${wo[n]++}`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rc(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Ic=xc();function Fc(e){return new Ks(e.get(es),e.get(fe))}var Ks=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,n){this._viewportRuler=t,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ce(-this._previousScrollPosition.left),t.style.top=Ce(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,n=this._document.body,i=t.style,s=n.style,r=i.scrollBehavior||"",o=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Ic&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ic&&(i.scrollBehavior=r,s.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.documentElement,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}};function jc(e,t){return new Xs(e.get(go),e.get(we),e.get(es),t)}var Xs=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,n,i,s){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=s}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(ye(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var ns=class{enable(){}disable(){}attach(){}};function So(e,t){return t.some(n=>{let i=e.bottom<n.top,s=e.top>n.bottom,r=e.right<n.left,o=e.left>n.right;return i||s||r||o})}function Ac(e,t){return t.some(n=>{let i=e.top<n.top,s=e.bottom>n.bottom,r=e.left<n.left,o=e.right>n.right;return i||s||r||o})}function ir(e,t){return new Zs(e.get(go),e.get(es),e.get(we),t)}var Zs=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,n,i,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=s}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();So(n,[{width:i,height:s,bottom:s,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},nr=(()=>{class e{_injector=E(be);constructor(){}noop=()=>new ns;close=n=>jc(this._injector,n);block=()=>Fc(this._injector);reposition=n=>ir(this._injector,n);static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qs=class{positionStrategy;scrollStrategy=new ns;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let n=Object.keys(t);for(let i of n)t[i]!==void 0&&(this[i]=t[i])}}};var Js=class{connectionPair;scrollableViewProperties;constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}};var Bc=(()=>{class e{_attachedOverlays=[];_document=E(fe);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$c=(()=>{class e extends Bc{_ngZone=E(we);_renderer=E(qe).createRenderer(null,null);_cleanupKeydown;add(n){super.add(n),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=n=>{let i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[s]._keydownEvents.next(n));break}};static \u0275fac=(()=>{let n;return function(s){return(n||(n=ln(e)))(s||e)}})();static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wc=(()=>{class e extends Bc{_platform=E(Pi);_ngZone=E(we);_renderer=E(qe).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(n){if(super.add(n),!this._isAttached){let i=this._document.body,s={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(i,"pointerdown",this._pointerDownListener,s),r.listen(i,"click",this._clickListener,s),r.listen(i,"auxclick",this._clickListener,s),r.listen(i,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(n=>n()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=n=>{this._pointerDownEventTarget=_o(n)};_clickListener=n=>{let i=_o(n),s=n.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let o=r.length-1;o>-1;o--){let a=r[o];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(Yc(a.overlayElement,i)||Yc(a.overlayElement,s))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(n)):l.next(n)}};static \u0275fac=(()=>{let n;return function(s){return(n||(n=ln(e)))(s||e)}})();static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yc(e,t){let n=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===e)return!0;i=n&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Uc=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=re({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,s){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
2
- `],encapsulation:2,changeDetection:0})}return e})(),_n=(()=>{class e{_platform=E(Pi);_containerElement;_document=E(fe);_styleLoader=E(po);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||mo()){let s=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let r=0;r<s.length;r++)s[r].remove()}let i=this._document.createElement("div");i.classList.add(n),mo()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(Uc)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Do=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,n,i,s){this._renderer=n,this._ngZone=i,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=n.listen(this.element,"click",s)}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Qs=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new G;_attachments=new G;_detachments=new G;_positionStrategy;_scrollStrategy;_locationChanges=tt.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new G;_outsidePointerEvents=new G;_afterNextRenderRef;constructor(t,n,i,s,r,o,a,l,h,p=!1,b,x){this._portalOutlet=t,this._host=n,this._pane=i,this._config=s,this._ngZone=r,this._keyboardDispatcher=o,this._document=a,this._location=l,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._injector=b,this._renderer=x,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=As(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=K(K({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Ve(K({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Ce(this._config.width),t.height=Ce(this._config.height),t.minWidth=Ce(this._config.minWidth),t.minHeight=Ce(this._config.minHeight),t.maxWidth=Ce(this._config.maxWidth),t.maxHeight=Ce(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Do(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t))}):this._backdropRef.element.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(t,n,i){let s=fo(n||[]).filter(r=>!!r);s.length&&(i?t.classList.add(...s):t.classList.remove(...s))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=As(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(n){if(t)throw n;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let t=this._scrollStrategy;t?.disable(),t?.detach?.()}},Pc="cdk-overlay-connected-position-bounding-box",c_=/([A-Za-z%]+)$/;function zc(e,t){return new er(t,e.get(es),e.get(fe),e.get(Pi),e.get(_n))}var er=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new G;_resizeSubscription=tt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,n,i,s,r){this._viewportRuler=n,this._document=i,this._platform=s,this._overlayContainer=r,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Pc),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,n=this._overlayRect,i=this._viewportRect,s=this._containerRect,r=[],o;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,s,a),h=this._getOverlayPoint(l,n,a),p=this._getOverlayFit(h,n,i,a);if(p.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(p,h,i)){r.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!o||o.overlayFit.visibleArea<p.visibleArea)&&(o={overlayFit:p,overlayPoint:h,originPoint:l,position:a,overlayRect:n})}if(r.length){let a=null,l=-1;for(let h of r){let p=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);p>l&&(l=p,a=h)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ni(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Pc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,i){let s;if(i.originX=="center")s=t.left+t.width/2;else{let o=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;s=i.originX=="start"?o:a}n.left<0&&(s-=n.left);let r;return i.originY=="center"?r=t.top+t.height/2:r=i.originY=="top"?t.top:t.bottom,n.top<0&&(r-=n.top),{x:s,y:r}}_getOverlayPoint(t,n,i){let s;i.overlayX=="center"?s=-n.width/2:i.overlayX==="start"?s=this._isRtl()?-n.width:0:s=this._isRtl()?0:-n.width;let r;return i.overlayY=="center"?r=-n.height/2:r=i.overlayY=="top"?0:-n.height,{x:t.x+s,y:t.y+r}}_getOverlayFit(t,n,i,s){let r=Nc(n),{x:o,y:a}=t,l=this._getOffset(s,"x"),h=this._getOffset(s,"y");l&&(o+=l),h&&(a+=h);let p=0-o,b=o+r.width-i.width,x=0-a,v=a+r.height-i.height,Y=this._subtractOverflows(r.width,p,b),j=this._subtractOverflows(r.height,x,v),z=Y*j;return{visibleArea:z,isCompletelyWithinViewport:r.width*r.height===z,fitsInViewportVertically:j===r.height,fitsInViewportHorizontally:Y==r.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){let s=i.bottom-n.y,r=i.right-n.x,o=Hc(this._overlayRef.getConfig().minHeight),a=Hc(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||o!=null&&o<=s,h=t.fitsInViewportHorizontally||a!=null&&a<=r;return l&&h}return!1}_pushOverlayOnScreen(t,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let s=Nc(n),r=this._viewportRect,o=Math.max(t.x+s.width-r.width,0),a=Math.max(t.y+s.height-r.height,0),l=Math.max(r.top-i.top-t.y,0),h=Math.max(r.left-i.left-t.x,0),p=0,b=0;return s.width<=r.width?p=h||-o:p=t.x<this._viewportMargin?r.left-i.left-t.x:0,s.height<=r.height?b=l||-a:b=t.y<this._viewportMargin?r.top-i.top-t.y:0,this._previousPushAmount={x:p,y:b},{x:t.x+p,y:t.y+b}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!d_(this._lastScrollVisibility,i)){let s=new Js(t,i);this._positionChanges.next(s)}this._lastScrollVisibility=i}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,s=t.overlayY;t.overlayX==="center"?i="center":this._isRtl()?i=t.overlayX==="start"?"right":"left":i=t.overlayX==="start"?"left":"right";for(let r=0;r<n.length;r++)n[r].style.transformOrigin=`${i} ${s}`}_calculateBoundingBoxRect(t,n){let i=this._viewportRect,s=this._isRtl(),r,o,a;if(n.overlayY==="top")o=t.y,r=i.height-o+this._viewportMargin;else if(n.overlayY==="bottom")a=i.height-t.y+this._viewportMargin*2,r=i.height-a+this._viewportMargin;else{let v=Math.min(i.bottom-t.y+i.top,t.y),Y=this._lastBoundingBoxSize.height;r=v*2,o=t.y-v,r>Y&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-Y/2)}let l=n.overlayX==="start"&&!s||n.overlayX==="end"&&s,h=n.overlayX==="end"&&!s||n.overlayX==="start"&&s,p,b,x;if(h)x=i.width-t.x+this._viewportMargin*2,p=t.x-this._viewportMargin;else if(l)b=t.x,p=i.right-t.x;else{let v=Math.min(i.right-t.x+i.left,t.x),Y=this._lastBoundingBoxSize.width;p=v*2,b=t.x-v,p>Y&&!this._isInitialRender&&!this._growAfterOpen&&(b=t.x-Y/2)}return{top:o,left:b,bottom:a,right:x,width:p,height:r}}_setBoundingBoxStyles(t,n){let i=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;s.height=Ce(i.height),s.top=Ce(i.top),s.bottom=Ce(i.bottom),s.width=Ce(i.width),s.left=Ce(i.left),s.right=Ce(i.right),n.overlayX==="center"?s.alignItems="center":s.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?s.justifyContent="center":s.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",r&&(s.maxHeight=Ce(r)),o&&(s.maxWidth=Ce(o))}this._lastBoundingBoxSize=i,Ni(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Ni(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ni(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){let i={},s=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(s){let p=this._viewportRuler.getViewportScrollPosition();Ni(i,this._getExactOverlayY(n,t,p)),Ni(i,this._getExactOverlayX(n,t,p))}else i.position="static";let a="",l=this._getOffset(n,"x"),h=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),h&&(a+=`translateY(${h}px)`),i.transform=a.trim(),o.maxHeight&&(s?i.maxHeight=Ce(o.maxHeight):r&&(i.maxHeight="")),o.maxWidth&&(s?i.maxWidth=Ce(o.maxWidth):r&&(i.maxWidth="")),Ni(this._pane.style,i)}_getExactOverlayY(t,n,i){let s={top:"",bottom:""},r=this._getOverlayPoint(n,this._overlayRect,t);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),t.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;s.bottom=`${o-(r.y+this._overlayRect.height)}px`}else s.top=Ce(r.y);return s}_getExactOverlayX(t,n,i){let s={left:"",right:""},r=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));let o;if(this._isRtl()?o=t.overlayX==="end"?"left":"right":o=t.overlayX==="end"?"right":"left",o==="right"){let a=this._document.documentElement.clientWidth;s.right=`${a-(r.x+this._overlayRect.width)}px`}else s.left=Ce(r.x);return s}_getScrollVisibility(){let t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ac(t,i),isOriginOutsideView:So(t,i),isOverlayClipped:Ac(n,i),isOverlayOutsideView:So(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,s)=>i-Math.max(s,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return n==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&fo(t).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof te)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let n=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+n,height:i,width:n}}};function Ni(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Hc(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(c_);return!n||n==="px"?parseFloat(t):null}return e||null}function Nc(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function d_(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Vc="cdk-global-overlay-wrapper";function Gc(e){return new tr}var tr=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){let n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Vc),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:r,maxWidth:o,maxHeight:a}=i,l=(s==="100%"||s==="100vw")&&(!o||o==="100%"||o==="100vw"),h=(r==="100%"||r==="100vh")&&(!a||a==="100%"||a==="100vh"),p=this._xPosition,b=this._xOffset,x=this._overlayRef.getConfig().direction==="rtl",v="",Y="",j="";l?j="flex-start":p==="center"?(j="center",x?Y=b:v=b):x?p==="left"||p==="end"?(j="flex-end",v=b):(p==="right"||p==="start")&&(j="flex-start",Y=b):p==="left"||p==="start"?(j="flex-start",v=b):(p==="right"||p==="end")&&(j="flex-end",Y=b),t.position=this._cssPosition,t.marginLeft=l?"0":v,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":Y,n.justifyContent=j,n.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(Vc),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Kc=(()=>{class e{_injector=E(be);constructor(){}global(){return Gc()}flexibleConnectedTo(n){return zc(this._injector,n)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Xc(e,t){e.get(po).load(Uc);let n=e.get(_n),i=e.get(fe),s=e.get(Oc),r=e.get(Mt),o=e.get(Tc),a=i.createElement("div"),l=i.createElement("div");l.id=s.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),n.getContainerElement().appendChild(a);let h=new Gs(l,r,e),p=new qs(t),b=e.get(Fe,null,{optional:!0})||e.get(qe).createRenderer(null,null);return p.direction=p.direction||o.value,new Qs(h,a,l,p,e.get(we),e.get($c),i,e.get(kl),e.get(Wc),t?.disableAnimations??e.get(Rs,null,{optional:!0})==="NoopAnimations",e.get(an),b)}var sr=(()=>{class e{scrollStrategies=E(nr);_positionBuilder=E(Kc);_injector=E(be);constructor(){}create(n){return Xc(this._injector,n)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var u_=new Nt("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=E(be);return()=>ir(e)}});function h_(e){let t=E(be);return()=>ir(t)}var __={provide:u_,useFactory:h_},Mo=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=xe({type:e});static \u0275inj=Te({providers:[sr,__],imports:[Qn,Lc,vo,vo]})}return e})();var Zc=(()=>{class e extends _n{_renderer=E(qe).createRenderer(null,null);_fullScreenEventName;_cleanupFullScreenListener;constructor(){super()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupFullScreenListener?.()}_createContainer(){let n=this._getEventName();super._createContainer(),this._adjustParentForFullscreenChange(),n&&(this._cleanupFullScreenListener?.(),this._cleanupFullScreenListener=this._renderer.listen("document",n,()=>{this._adjustParentForFullscreenChange()}))}_adjustParentForFullscreenChange(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_getEventName(){if(!this._fullScreenEventName){let n=this._document;n.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":n.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":n.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":n.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){let n=this._document;return n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var p_=200,rr=class{_letterKeyStream=new G;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new G;selectedItem=this._selectedItem;constructor(t,n){let i=typeof n?.debounceInterval=="number"?n.debounceInterval:p_;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let n=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(hl(n=>this._pressedLetters.push(n)),cl(t),ye(()=>this._pressedLetters.length>0),Dt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(n=>{for(let i=1;i<this._items.length+1;i++){let s=(this._selectedItemIndex+i)%this._items.length,r=this._items[s];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(n)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}};var or=class{_items;_activeItemIndex=se(-1);_activeItem=se(null);_wrap=!1;_typeaheadSubscription=tt.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,n){this._items=t,t instanceof $r?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):Br(t)&&(this._effectRef=Ri(()=>this._itemsChanged(t()),{injector:n}))}tabOut=new G;change=new G;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let n=this._getItemsArray();return this._typeahead=new rr(n,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){let n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex())}onKeydown(t){let n=t.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!t[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let r=this._activeItemIndex()+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r<o?r:o-1,-1);break}else return;default:(s||Rc(t,"shiftKey"))&&this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let n=this._getItemsArray(),i=typeof t=="number"?t:n.indexOf(t),s=n[i];this._activeItem.set(s??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let n=this._getItemsArray();for(let i=1;i<=n.length;i++){let s=(this._activeItemIndex()+t*i+n.length)%n.length,r=n[s];if(!this._skipPredicateFn(r)){this.setActiveItem(s);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,n){let i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(t+=n,!i[t])return;this.setActiveItem(t)}}_getItemsArray(){return Br(this._items)?this._items():this._items instanceof $r?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let n=this._activeItem();if(n){let i=t.indexOf(n);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var ss=class extends or{_origin="program";setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var qc=e=>({$implicit:e});function f_(e,t){if(e&1){let n=P();_(0,"hr",4),S("mouseenter",function(){f(n);let s=c(2);return g(s.hideSubMenus())}),m()}if(e&2){let n=c().$implicit;u("contextMenuContentItem",n)}}function g_(e,t){}function v_(e,t){if(e&1){let n=P();_(0,"button",5,0),S("click",function(s){f(n);let r=zr(1),o=c(2);return g(o.onMenuItemSelect(r,s))})("mouseenter",function(s){f(n);let r=zr(1),o=c(2);return o.hideSubMenus(),g(o.openSubMenu(r.contextMenuContentItem==null?null:r.contextMenuContentItem.subMenu,s))}),k(2,g_,0,0,"ng-template",6),m()}if(e&2){let n=c().$implicit,i=c();V("ngx-contextmenu--parent-menu",!!n.subMenu),u("contextMenuContentItem",n),le("aria-haspopup",n.subMenu?"menu":null)("disabled",i.isMenuItemDisabled(n)?"disabled":null),d(2),u("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Gr(7,qc,i.value))}}function y_(e,t){}function b_(e,t){if(e&1){let n=P();_(0,"span",7),S("click",function(s){f(n);let r=c(2);return g(r.stopEvent(s))})("contextmenu",function(s){f(n);let r=c(2);return g(r.stopEvent(s))})("mouseenter",function(){f(n);let s=c().$implicit,r=c();return g(r.isMenuItemDisabled(s)?null:r.hideSubMenus())}),k(1,y_,0,0,"ng-template",6),m()}if(e&2){let n=c().$implicit,i=c();V("disabled",i.isMenuItemDisabled(n)),u("contextMenuContentItem",n),le("aria-disabled",i.isMenuItemDisabled(n)),d(),u("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Gr(6,qc,i.value))}}function w_(e,t){if(e&1&&(Ys(0,f_,1,1,"hr",1),Ys(1,v_,3,9,"button",2),Ys(2,b_,2,8,"span",3)),e&2){let n=t.$implicit;Ps(n.divider?0:-1),d(),Ps(!n.divider&&!n.passive?1:-1),d(),Ps(!n.divider&&n.passive?2:-1)}}var mn=(e,t)=>e instanceof Function?e(t):!!e,S_=(()=>{var t;let n=class n{constructor(s){Hr(this,t);this.template=s,this.divider=!1,this.passive=!1,this.visible=!0,this.execute=new H,Mi(this,t,!1)}set disabled(s){Mi(this,t,s)}get disabled(){return this.passive||this.divider||mn(xs(this,t),this.value)}triggerExecute(s,r){mn(xs(this,t),r)||this.execute.emit({event:s,value:r})}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)(y(Ti,8))},n.\u0275dir=je({type:n,selectors:[["","contextMenuItem",""]],inputs:{subMenu:"subMenu",divider:"divider",disabled:"disabled",passive:"passive",visible:"visible"},outputs:{execute:"execute"},standalone:!1});let e=n;return e})(),Co=(()=>{let t=class t{get nativeElement(){return this.elementRef.nativeElement}constructor(i){this.elementRef=i}focus(i){this.elementRef.nativeElement.focus()}get disabled(){return mn(this.contextMenuContentItem?.disabled,this.contextMenuContentItem?.value)}};t.\u0275fac=function(s){return new(s||t)(y(te))},t.\u0275dir=je({type:t,selectors:[["","contextMenuContentItem",""]],hostAttrs:[1,"ngx-context-menu-item"],inputs:{contextMenuContentItem:"contextMenuContentItem"},exportAs:["contextMenuContentItem"],standalone:!1});let e=t;return e})(),ko=(()=>{let t=class t{constructor(){this.allClosed=new H,this.stack=[]}push(i){this.stack.push(i)}closeAll(){this.stack.forEach(i=>this.dispose(i)),this.stack=[],this.allClosed.emit()}isEmpty(){return this.stack.length===0}dispose(i){i.detach(),i.dispose()}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),D_={FocusKeyManager:ss},M_=(()=>{let t=class t{constructor(i,s,r){this.elementRef=i,this.document=s,this.contextMenuOverlaysService=r,this.menuDirectives=[],this.menuClass="",this.execute=new H,this.close=new H,this.role="menu",this.ariaOrientation="vertical",this.subscription=new tt}ngAfterViewInit(){this.setupDirectives(),this.activeElement=this.document.activeElement,this.elementRef.nativeElement.focus()}ngOnDestroy(){this.activeElement?.focus(),this.subscription.unsubscribe(),this.focusKeyManager?.destroy()}onKeyArrowDownOrUp(i){this.focusKeyManager?.onKeydown(i)}onKeyArrowRight(i){this.openCloseActiveItemSubMenu(this.dir!=="rtl",i)}onKeyArrowLeft(i){this.openCloseActiveItemSubMenu(this.dir==="rtl",i)}onKeyEnterOrSpace(i){this.focusKeyManager?.activeItem&&this.onMenuItemSelect(this.focusKeyManager.activeItem,i)}onClickOrRightClick(i){i.type==="click"&&i.button===2||this.elementRef.nativeElement.contains(i.target)||this.contextMenuOverlaysService.closeAll()}hideSubMenus(){this.menuDirectives.forEach(i=>{i.subMenu?.hide()})}stopEvent(i){i.stopPropagation()}isMenuItemDisabled(i){return mn(i.disabled,this.value)}isMenuItemVisible(i){return mn(i.contextMenuContentItem?.visible,this.value)}openSubMenu(i,s){if(!i||this.focusKeyManager?.activeItemIndex===null)return;let r=this.contextMenuContentItems?.toArray()[this.focusKeyManager?.activeItemIndex??0],o=r&&r.nativeElement;if(o&&s instanceof KeyboardEvent){i.show({anchoredTo:"element",anchorElement:o,value:this.value,parentContextMenu:this});return}if(!i.isOpen){if(s.currentTarget){i.show({anchoredTo:"element",anchorElement:s.currentTarget,value:this.value,parentContextMenu:this});return}i.show({anchoredTo:"position",x:s.clientX,y:s.clientY,value:this.value})}}onMenuItemSelect(i,s){this.cancelEvent(s),this.openSubMenu(i.contextMenuContentItem?.subMenu,s),i.contextMenuContentItem?.subMenu||this.triggerExecute(i,s)}triggerExecute(i,s){i.contextMenuContentItem?.triggerExecute(s,this.value)}setupDirectives(){this.menuDirectives.forEach(i=>{i.value=this.value,this.subscription.add(i.execute.subscribe(s=>{this.execute.emit(Ve(K({},s),{menuDirective:i}))}))}),this.focusKeyManager=new D_.FocusKeyManager(this.contextMenuContentItems).withWrap()}openCloseActiveItemSubMenu(i,s){if(i){this.openActiveItemSubMenu(s);return}this.closeActiveItemSubMenu(s)}openActiveItemSubMenu(i){this.focusKeyManager?.activeItemIndex!==null&&(this.cancelEvent(i),this.focusKeyManager?.activeItem&&this.openSubMenu(this.focusKeyManager.activeItem?.contextMenuContentItem?.subMenu,i))}closeActiveItemSubMenu(i){this.hideSubMenus(),this.focusKeyManager?.activeItemIndex&&(this.close.emit(),this.cancelEvent(i))}cancelEvent(i){if(!i||!i.target)return;let s=i.target;["INPUT","TEXTAREA","SELECT"].includes(s.tagName)||s.isContentEditable||(i.preventDefault(),i.stopPropagation())}};t.\u0275fac=function(s){return new(s||t)(y(te),y(fe),y(ko))},t.\u0275cmp=re({type:t,selectors:[["context-menu-content"]],viewQuery:function(s,r){if(s&1&&Oi(Co,5,Co),s&2){let o;si(o=ri())&&(r.contextMenuContentItems=o)}},hostAttrs:["tabindex","0","role","dialog",1,"ngx-contextmenu"],hostVars:5,hostBindings:function(s,r){s&1&&S("keydown.ArrowDown",function(a){return r.onKeyArrowDownOrUp(a)})("keydown.ArrowUp",function(a){return r.onKeyArrowDownOrUp(a)})("keydown.ArrowRight",function(a){return r.onKeyArrowRight(a)})("keydown.ArrowLeft",function(a){return r.onKeyArrowLeft(a)})("keydown.Enter",function(a){return r.onKeyEnterOrSpace(a)},dn)("keydown.Space",function(a){return r.onKeyEnterOrSpace(a)},dn)("click",function(a){return r.onClickOrRightClick(a)},gl),s&2&&(le("aria-orientation",r.ariaOrientation)("dir",r.dir)("role",r.role),Je(r.menuClass))},inputs:{menuDirectives:"menuDirectives",value:"value",dir:"dir",parentContextMenu:"parentContextMenu",menuClass:"menuClass"},outputs:{execute:"execute",close:"close"},standalone:!1,decls:2,vars:0,consts:[["buttonContextMenuContentItem","contextMenuContentItem"],["role","separator",3,"contextMenuContentItem"],["type","button","role","menuitem",3,"contextMenuContentItem","ngx-contextmenu--parent-menu"],["role","menuitem",1,"ngx-contextmenu-item--passive",3,"contextMenuContentItem","disabled"],["role","separator",3,"mouseenter","contextMenuContentItem"],["type","button","role","menuitem",3,"click","mouseenter","contextMenuContentItem"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","menuitem",1,"ngx-contextmenu-item--passive",3,"click","contextmenu","mouseenter","contextMenuContentItem"]],template:function(s,r){s&1&&bl(0,w_,3,3,null,null,yl),s&2&&wl(r.menuDirectives)},dependencies:[Tl,Co],encapsulation:2,changeDetection:0});let e=t;return e})(),C_=(e="ltr")=>e==="ltr"?[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"end",originY:"center",overlayX:"start",overlayY:"center"},{originX:"start",originY:"center",overlayX:"end",overlayY:"center"}]:[{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"center",overlayX:"end",overlayY:"center"},{originX:"end",originY:"center",overlayX:"start",overlayY:"center"}],k_=(e="ltr")=>e==="ltr"?[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}]:[{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"}],DS=(()=>{var t;let n=class n{constructor(s,r,o){Hr(this,t);this.overlay=s,this.scrollStrategy=r,this.contextMenuOverlaysService=o,this.menuClass="",this.disabled=!1,this.open=new H,this.close=new H,this.visibleMenuItems=[],this.subscriptions=new tt,Mi(this,t,!1)}get isOpen(){return xs(this,t)}ngOnInit(){let s=this.contextMenuOverlaysService.allClosed.subscribe(()=>{Mi(this,t,!1)});this.subscriptions.add(s)}ngOnDestroy(){this.subscriptions.unsubscribe()}show(s){this.disabled||(this.value=s.value,this.setVisibleMenuItems(),this.openContextMenu(Ve(K({},s),{menuItemDirectives:this.visibleMenuItems,menuClass:this.menuClass,dir:this.dir})),this.open.next(s))}hide(){this.contextMenuContentComponent?.menuDirectives.forEach(s=>{s.subMenu?.hide()}),this.overlayRef?.detach(),this.overlayRef?.dispose(),Mi(this,t,!1)}openContextMenu(s){let r;if(s.anchoredTo==="position")r=this.overlay.position().flexibleConnectedTo({x:s.x,y:s.y}).withPositions(C_(s.dir));else{let{anchorElement:o,parentContextMenu:a}=s;r=this.overlay.position().flexibleConnectedTo(new te(o)).withPositions(k_(a.dir))}this.overlayRef=this.overlay.create({positionStrategy:r,panelClass:"ngx-contextmenu-overlay",scrollStrategy:this.scrollStrategy.close()}),this.contextMenuOverlaysService.push(this.overlayRef),this.attachContextMenu(s),Mi(this,t,!0)}attachContextMenu(s){let{value:r,menuItemDirectives:o}=s,a=this.overlayRef?.attach(new is(M_)),l=a?.instance;if(!l)return;this.contextMenuContentComponent=l,l.value=r,l.menuDirectives=o,l.menuClass=this.getMenuClass(s),l.dir=this.getDir(s);let h=l.close.subscribe(()=>{this.overlayRef?.detach(),this.overlayRef?.dispose()}),p=l.execute.subscribe(()=>{this.contextMenuOverlaysService.closeAll()});a.onDestroy(()=>{this.close.emit(),h.unsubscribe(),p.unsubscribe()}),a.changeDetectorRef.detectChanges()}getMenuClass(s){return s.menuClass||s.anchoredTo==="element"&&s?.parentContextMenu?.menuClass||""}getDir(s){return s.dir||s.anchoredTo==="element"&&s?.parentContextMenu?.dir||void 0}isMenuItemVisible(s){return mn(s.visible,this.value)}setVisibleMenuItems(){this.visibleMenuItems=this.menuItems?.filter(s=>this.isMenuItemVisible(s))??[]}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)(y(sr),y(nr),y(ko))},n.\u0275cmp=re({type:n,selectors:[["context-menu"]],contentQueries:function(r,o,a){if(r&1&&Dl(a,S_,4),r&2){let l;si(l=ri())&&(o.menuItems=l)}},inputs:{menuClass:"menuClass",disabled:"disabled",dir:"dir"},outputs:{open:"open",close:"close"},standalone:!1,decls:0,vars:0,template:function(r,o){},encapsulation:2});let e=n;return e})();var MS=(()=>{let t=class t{};t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=xe({type:t}),t.\u0275inj=Te({providers:[{provide:_n,useClass:Zc}],imports:[Ii,Mo]});let e=t;return e})(),Jc=(()=>{let t=class t{constructor(i){this.contextMenuOverlaysService=i}show(i,s={x:0,y:0}){i.show({anchoredTo:"position",value:s.value,x:s.x,y:s.y})}closeAll(){this.contextMenuOverlaysService.closeAll()}hasOpenMenu(){return!this.contextMenuOverlaysService.isEmpty()}};t.\u0275fac=function(s){return new(s||t)(J(ko))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ge={BASE:"user",ACCOUNT:"account",CLIENTS:"clients",GROUPS:"groups",GUESTS:"guests",APPS:"apps"},pn={ACCOUNT:"Account",CLIENTS:"Clients",GROUPS:"Groups",GUESTS:"Guests",APPS:"Applications"},fn={ACCOUNT:zl,CLIENTS:Fl,GROUPS:Nl,GUESTS:$l,APPS:Zl},ES="Change me !",Qc="auto",LS={title:pn.ACCOUNT,link:`${ge.BASE}/${ge.ACCOUNT}`,icon:fn.ACCOUNT,matchLink:new RegExp(`^${ge.BASE}`),level:11,checks:[{negate:!0,prop:"user",value:"isLink"}],submenus:[{title:pn.ACCOUNT,icon:fn.ACCOUNT,link:`${ge.BASE}/${ge.ACCOUNT}`,matchLink:RegExp(`^${ge.BASE}/${ge.ACCOUNT}$`)},{id:nt.DESKTOP_APP,title:pn.CLIENTS,icon:fn.CLIENTS,link:`${ge.BASE}/${ge.CLIENTS}`,matchLink:RegExp(`^${ge.BASE}/${ge.CLIENTS}$`)},{title:pn.GROUPS,icon:fn.GROUPS,link:`${ge.BASE}/${ge.GROUPS}`,matchLink:RegExp(`^${ge.BASE}/${ge.GROUPS}`),checks:[{prop:"user",value:"isUser"}]},{title:pn.GUESTS,icon:fn.GUESTS,link:`${ge.BASE}/${ge.GUESTS}`,matchLink:RegExp(`^${ge.BASE}/${ge.GUESTS}$`),checks:[{prop:"user",value:"isUser"}]},{id:nt.DESKTOP_APP,title:pn.APPS,icon:fn.APPS,link:`${ge.BASE}/${ge.APPS}`,matchLink:RegExp(`^${ge.BASE}/${ge.APPS}$`)}]};var rs="theme-dark",Vi="theme-light",T_=(function(e){return e.FILES="files",e})(T_||{}),x_=(function(e){return e.PROFILE="profile",e.ONLINES="onlines",e.TASKS="tasks",e.WINDOWS="windows",e.SELECTION="selection",e.TREE="tree",e.CLIPBOARD="clipboard",e.COMMENTS="comments",e.NOTIFICATIONS="notifications",e})(x_||{});var E_=/^(?:CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$|[<>:"/\\|?*\x00-\x1f\x80-\x9f]/;var L_=/-\d+$/,IS='\\ / : * ? " < > |';function AS(e){if(E_.test(e))throw new Error("Forbidden characters")}function YS(e,t=!1){return Math.floor((e||new Date).getTime()/(t?1:1e3))}function PS(e){return new Date((e||new Date().toISOString()).split("T")[0])}function HS(e,t=!1){let n=e.toLowerCase().trim().replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"");return t?n.replace(L_,""):n}function NS(e,t){let n=t[e];return delete t[e],n}function ed(e){return e.split("/").map(t=>encodeURIComponent(t)).join("/")}function zt(e,t){let n=t.split("."),i=e;for(let s=0,r=n.length;s<r;s++){let o=n[s];if(o in i)i=i[o];else return null}return i}function VS(e){return e.charAt(0).toUpperCase()+e.slice(1)}var To=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],td=new Map([["#","%23"],["?","%3F"],["%","%25"],[" ","%20"]]);function O_(e){let t;try{t=decodeURIComponent(e)}catch(i){console.warn(i),t=e}let n=[];for(let i of t)n.push(td.get(i)||i);return n.join("")}function $S(e){for(let t of td.keys())if(e.indexOf(t)>-1)return O_(e);return!1}function WS(e,t=0,n=void 0){return e&&e.split("/").slice(t,n).join("/")}function id(e,t){return e?.length?e.indexOf(t)>-1:!1}function US(){return Math.random().toString(36).substring(7)}function zS(e=12){let t="0123456789abcdefghijklmnopqrstuvwxyz!@#$%^&*()ABCDEFGHIJKLMNOPQRSTUVWXYZ",n="";for(let i=0;i<=e;i++){let s=Math.floor(Math.random()*t.length);n+=t.substring(s,s+1)}return n}function GS(e,t,n=0){let i=To.indexOf(t.toUpperCase());return parseInt((e*Math.pow(1024,Math.floor(i))).toFixed(n),10)}function KS(e,t=0,n=!1){if(e===0)return n?"0 KB":"";let i=Math.min(Math.floor(Math.log(e)/Math.log(1024)),To.length-1);return`${(e/Math.pow(1024,Math.floor(i))).toFixed(t)} ${To[i]}`}function xo(e,t=!1){if(!e)return 0;let n=Math.round(+new Date),i=typeof e=="number"?e:typeof e=="string"?new Date(e).getTime():e.getTime(),s=(n-i)/1e3;return s<86400?1:s<259200?2:s<604800?3:t?4:0}function XS(e){e.type==="password"?e.type="text":e.type="password"}function ZS(e,t,n=!1){let i="";if(n)i+=t[t.length-1]?`/${t[t.length-1].path}`:"";else for(let s of t)i+=`/${s.path}`;return ed(`${e}${i}`)}function qS(e){let t="";for(let n of e)t+=`/${n.path}`;return t||(t="/"),t}function JS(e){let t=e.getBoundingClientRect();return t.top>=100&&t.left>=0&&t.bottom<=window.innerHeight&&t.right<=window.innerWidth}function QS(e){let t=e+"=",i=decodeURIComponent(document.cookie).split(";");for(let s of i){for(;s.charAt(0)===" ";)s=s.substring(1);if(s.indexOf(t)===0)return s.substring(t.length,s.length)}return""}function eD(e){return e&&e.toLowerCase().replace(/\b\w/g,t=>t.toUpperCase())}var tD=()=>0;function iD(e,t,n){let i=new RegExp(e,"i");return n?t.filter(s=>i.test(s[n].normalize())):t.filter(s=>i.test(JSON.stringify(Object.values(s))))}function nD(e){let t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t)}function nd(){return window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches?rs:Vi:Vi}function sD(e,t){return e+t||1}function rD(e,t){return e-t||1}function oD(){return/Chrome|Firefox|Edge|Safari/.test(window.navigator.userAgent)}function aD(e,t,n){let i=e.indexOf(".")>-1?e.slice(e.lastIndexOf(".")):"",s=e.replace(new RegExp(`${i}$`),""),r=`${s}${i}`,o=0;for(let a of n)r===a[t]&&(o++,r=`${s}-${o}${i}`);return r}var gn=(function(e){return e.DISABLED="disabled",e.ASYNC="async",e.SEQ="seq",e})(gn||{}),os=(function(e){return e.NOTIFICATIONS="notifications",e.TASKS="tasks",e.SYNCS="syncs",e})(os||{});var sd={BASE:"/api/admin"};var ht={BASE:"/api/users",ME:"me",LANGUAGE:"language",PASSWORD:"password",NOTIFICATION:"notification",AVATAR:"avatar",GROUPS:"groups",USERS:"users",GUESTS:"guests",BROWSE:"browse",GROUPS_LEAVE:"leave"},vn=`${ht.BASE}/${ht.ME}`,hD=`${vn}/${ht.LANGUAGE}`,_D=`${vn}/${ht.PASSWORD}`,mD=`${vn}/${ht.NOTIFICATION}`,pD=`${vn}/${ht.AVATAR}`,rd=`${vn}/${ht.GROUPS}`,fD=`${rd}/${ht.BROWSE}`,gD=`${rd}/${ht.GROUPS_LEAVE}`,vD=`${vn}/${ht.GUESTS}`,od=`${ht.BASE}/${ht.AVATAR}`,$e={BASE:sd.BASE,LIST:"list",USERS:"users",GUESTS:"guests",GROUPS:"groups",PGROUPS:"personal_groups",MEMBERS:"members",IMPERSONATE:"impersonate",LOGOUT:"logout",BROWSE:"browse"},R_=`${$e.BASE}/${$e.USERS}`,yD=`${R_}/${$e.LIST}`,I_=`${$e.BASE}/${$e.GUESTS}`,bD=`${I_}/${$e.LIST}`,A_=`${$e.BASE}/${$e.GROUPS}`,Y_=`${$e.BASE}/${$e.PGROUPS}`,wD=`${A_}/${$e.BROWSE}`,SD=`${Y_}/${$e.BROWSE}`,DD=`${$e.BASE}/${$e.MEMBERS}`,P_=`${$e.BASE}/${$e.IMPERSONATE}`,MD=`${P_}/${$e.LOGOUT}`;function Eo(e){return`${od}/${e}`}function ad(){return`${Eo("me")}?random=${Math.floor(Math.random()*1e3)}`}var ld=(()=>{let t=class t{constructor(){this.user=new ee(null),this.userAvatarUrl=new ee(ad()),this.userImpersonate=se(!1),this.isElectronApp=se(!1),this.breadcrumb=new ee(""),this.repository=se(null),this.filesClipboard=new ee([]),this.filesActiveTasks=new ee([]),this.filesEndedTasks=new ee([]),this.filesRecents=se([]),this.filesOnlyOffice=se({enabled:null}),this.currentSearch=se({content:"",fullText:!1}),this.filesSearch=se([]),this.commentsRecents=se([]),this.onlineUsers=se([]),this.notifications=se([]),this.unreadNotifications=Kr(()=>this.notifications().filter(i=>!i.wasRead)),this.filesSelection=se([]),this.shareSelection=se(null),this.linkSelection=se(null),this.spaceSelection=se(null),this.trashSelection=se(null),this.filesOnEvent=new G,this.clientScheduler=se(gn.DISABLED),this.clientSyncPaths=se([]),this.clientSyncs=new ee([]),this.clientSyncsWithErrors=new ee([]),this.clientSyncIsReporting=new ee(!1),this.clientSyncTask=new ee({syncPathId:0,nbTasks:0}),this.clientSyncTasksCount=new ee(0),this.appStoreManifest=se(null)}clean(){this.user.next(null),this.userImpersonate.set(!1),this.breadcrumb.next(""),this.repository.set(null),this.filesClipboard.next([]),this.filesActiveTasks.next([]),this.filesEndedTasks.next([]),this.filesRecents.set([]),this.filesSearch.set([]),this.commentsRecents.set([]),this.onlineUsers.set([]),this.notifications.set([]),this.filesSelection.set([]),this.shareSelection.set(null),this.linkSelection.set(null),this.spaceSelection.set(null),this.trashSelection.set(null),this.clientScheduler.set(gn.DISABLED),this.clientSyncPaths.set([]),this.clientSyncs.next([]),this.clientSyncsWithErrors.next([]),this.clientSyncIsReporting.next(!1),this.clientSyncTask.next({syncPathId:0,nbTasks:0}),this.clientSyncTasksCount.next(0)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ct=(function(e){return e.ADD="a",e.MODIFY="m",e.DELETE="d",e.SHARE_INSIDE="si",e.SHARE_OUTSIDE="so",e})(Ct||{}),Re=(function(e){return e.FILES="files",e.TRASH="trash",e.SHARES="shares",e})(Re||{}),Fi=(function(e){return e.PERSONAL="personal",e.SPACES="spaces",e.SHARES="shares",e.TRASH="trash",e})(Fi||{}),Lo=(function(e){return e[e.IS_MEMBER=0]="IS_MEMBER",e[e.IS_MANAGER=1]="IS_MANAGER",e})(Lo||{}),AD=Object.values(Ct).sort().join(":"),YD={GET:null,POST:Ct.ADD,PUT:Ct.ADD,MKCOL:Ct.ADD,PATCH:Ct.MODIFY,PROPPATCH:Ct.MODIFY,DELETE:Ct.DELETE,MOVE:Ct.DELETE,COPY:null,LOCK:Ct.MODIFY,UNLOCK:Ct.MODIFY},PD={id:0,alias:Fi.PERSONAL,name:Fi.PERSONAL,permissions:""},HD={id:0,alias:Re.SHARES,name:Re.SHARES,permissions:""};function H_(e,t){return(e%t+t)%t}function zi(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function lt(e){return typeof e=="string"}function vs(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function qt(e){return e&&e.getTime&&!isNaN(e.getTime())}function Ki(e){return e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function In(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ue(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ke(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Zi(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function N_(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;let t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function jd(e){return e===void 0}function Z(e){let t=+e,n=0;return t!==0&&isFinite(t)&&(n=zi(t)),n}var us={},cd={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function Xe(e,t){let n=e.toLowerCase(),i=e;n in cd&&(i=cd[n]),us[n]=us[`${n}s`]=us[t]=i}function Bd(e){return lt(e)?us[e]||us[e.toLowerCase()]:void 0}function V_(e){let t={},n,i;for(i in e)Ke(e,i)&&(n=Bd(i),n&&(t[n]=e[i]));return t}var Tt=0,Xt=1,At=2,Ye=3,xt=4,Zt=5,Xi=6,F_=7,j_=8;function Kt(e,t,n){let i=`${Math.abs(e)}`,s=t-i.length,o=e>=0?n?"+":"":"-",a=Math.pow(10,Math.max(0,s)).toString().substr(1);return o+a+i}var Oo={},Ln={},$d=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function F(e,t,n,i){e&&(Ln[e]=i),t&&(Ln[t[0]]=function(){return Kt(i.apply(null,arguments),t[1],t[2])}),n&&(Ln[n]=function(s,r){return r.locale.ordinal(i.apply(null,arguments),e)})}function B_(e){let t=e.match($d),n=t.length,i=new Array(n);for(let s=0;s<n;s++)i[s]=Ln[t[s]]?Ln[t[s]]:$_(t[s]);return function(s,r,o,a=0){let l="";for(let h=0;h<n;h++)l+=Ki(i[h])?i[h].call(null,s,{format:e,locale:r,isUTC:o,offset:a}):i[h];return l}}function $_(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ia(e,t,n){let i=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(i.getUTCFullYear())&&i.setUTCFullYear(e),i}function yr(e,t=0,n=1,i=0,s=0,r=0,o=0){let a=new Date(e,t,n,i,s,r,o);return e<100&&e>=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function q(e,t=!1){return t?e.getUTCHours():e.getHours()}function Tn(e,t=!1){return t?e.getUTCMinutes():e.getMinutes()}function Go(e,t=!1){return t?e.getUTCSeconds():e.getSeconds()}function Gt(e,t=!1){return t?e.getUTCMilliseconds():e.getMilliseconds()}function W_(e){return e.getTime()}function Et(e,t=!1){return t?e.getUTCDay():e.getDay()}function ps(e,t=!1){return t?e.getUTCDate():e.getDate()}function Q(e,t=!1){return t?e.getUTCMonth():e.getMonth()}function Ie(e,t=!1){return t?e.getUTCFullYear():e.getFullYear()}function U_(e){return Math.floor(e.valueOf()/1e3)}function Wd(e){return yr(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds())}function Ud(e,t){return e.getDay()===Number(t)}function Ji(e,t){return!e||!t?!1:Qi(e,t)&&Q(e)===Q(t)}function Qi(e,t){return!e||!t?!1:Ie(e)===Ie(t)}function Jt(e,t){return!e||!t?!1:Qi(e,t)&&Ji(e,t)&&ps(e)===ps(t)}var zd=/\d/,at=/\d\d/,Gd=/\d{3}/,Ko=/\d{4}/,_r=/[+-]?\d{6}/,_e=/\d\d?/,dd=/\d\d\d\d?/,ud=/\d\d\d\d\d\d?/,cr=/\d{1,3}/,Xo=/\d{1,4}/,mr=/[+-]?\d{1,6}/,z_=/\d+/,pr=/[+-]?\d+/;var Ro=/Z|[+-]\d\d(?::?\d\d)?/gi,G_=/[+-]?\d+(\.\d{1,3})?/,hs=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,fr={};function R(e,t,n){if(Ki(t)){fr[e]=t;return}fr[e]=function(i,s){return i&&n?n:t}}function K_(e,t){return Ke(fr,e)?fr[e](!1,t):new RegExp(X_(e))}function X_(e){return Gi(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(t,n,i,s,r)=>n||i||s||r))}function Gi(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Zo={};function he(e,t){let n=lt(e)?[e]:e,i=t;if(In(t)&&(i=function(s,r,o){return r[t]=Z(s),o}),ue(n)&&Ki(i)){let s;for(s=0;s<n.length;s++)Zo[n[s]]=i}}function fs(e,t){he(e,function(n,i,s,r){return s._w=s._w||{},t(n,s._w,s,r)})}function Z_(e,t,n){return t!=null&&Ke(Zo,e)&&Zo[e](t,n._a,n,e),n}var q_={};function Ze(e,t){q_[e]=t}function J_(){F("D",["DD",2,!1],"Do",function(e,t){return ps(e,t.isUTC).toString(10)}),Xe("date","D"),Ze("date",9),R("D",_e),R("DD",_e,at),R("Do",function(e,t){return t._dayOfMonthOrdinalParse||t._ordinalParse}),he(["D","DD"],At),he("Do",function(e,t,n){return t[At]=Z(e.match(_e)[0]),n})}function Q_(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function ne(e){return e._pf==null&&(e._pf=Q_()),e._pf}function Io(e,t){return t.locale.getFullYear?t.locale.getFullYear(e,t.isUTC).toString():Ie(e,t.isUTC).toString()}function em(){F("Y",null,null,function(e,t){let n=Ie(e,t.isUTC);return n<=9999?n.toString(10):`+${n}`}),F(null,["YY",2,!1],null,function(e,t){return(Ie(e,t.isUTC)%100).toString(10)}),F(null,["YYYY",4,!1],null,Io),F(null,["YYYYY",5,!1],null,Io),F(null,["YYYYYY",6,!0],null,Io),Xe("year","y"),Ze("year",1),R("Y",pr),R("YY",_e,at),R("YYYY",Xo,Ko),R("YYYYY",mr,_r),R("YYYYYY",mr,_r),he(["YYYYY","YYYYYY"],Tt),he("YYYY",function(e,t,n){return t[Tt]=e.length===2?qo(e):Z(e),n}),he("YY",function(e,t,n){return t[Tt]=qo(e),n}),he("Y",function(e,t,n){return t[Tt]=parseInt(e,10),n})}function qo(e){return Z(e)+(Z(e)>68?1900:2e3)}function _s(e){return Kd(e)?366:365}function Kd(e){return e%4===0&&e%100!==0||e%400===0}function na(e,t){if(isNaN(e)||isNaN(t))return NaN;let n=H_(t,12),i=e+(t-n)/12;return n===1?Kd(i)?29:28:31-n%7%2}function tm(){F("M",["MM",2,!1],"Mo",function(e,t){return(Q(e,t.isUTC)+1).toString(10)}),F("MMM",null,null,function(e,t){return t.locale.monthsShort(e,t.format,t.isUTC)}),F("MMMM",null,null,function(e,t){return t.locale.months(e,t.format,t.isUTC)}),Xe("month","M"),Ze("month",8),R("M",_e),R("MM",_e,at),R("MMM",function(e,t){return t.monthsShortRegex(e)}),R("MMMM",function(e,t){return t.monthsRegex(e)}),he(["M","MM"],function(e,t,n){return t[Xt]=Z(e)-1,n}),he(["MMM","MMMM"],function(e,t,n,i){let s=n._locale.monthsParse(e,i,n._strict);return s!=null?t[Xt]=s:ne(n).invalidMonth=!!e,n})}var im={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function He(e,t){let n=Object.assign({},im,t),i=e.getFullYear()+(n.year||0),s=e.getMonth()+(n.month||0),r=e.getDate()+(n.day||0);return n.month&&!n.day&&(r=Math.min(r,na(i,s))),yr(i,s,r,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function Xd(e,t){return yr(yn(e.getFullYear(),t.year),yn(e.getMonth(),t.month),1,yn(e.getHours(),t.hour),yn(e.getMinutes(),t.minute),yn(e.getSeconds(),t.seconds),yn(e.getMilliseconds(),t.milliseconds))}function yn(e,t){return In(t)?t:e}function Jo(e,t,n){let i=Math.min(ps(e),na(Ie(e),t));return n?e.setUTCMonth(t,i):e.setMonth(t,i),e}function nm(e,t,n){return n?e.setUTCHours(t):e.setHours(t),e}function sm(e,t,n){return n?e.setUTCMinutes(t):e.setMinutes(t),e}function rm(e,t,n){return n?e.setUTCSeconds(t):e.setSeconds(t),e}function om(e,t,n){return n?e.setUTCMilliseconds(t):e.setMilliseconds(t),e}function Zd(e,t,n){return n?e.setUTCDate(t):e.setDate(t),e}function am(e,t){return e.setTime(t),e}function qi(e){return new Date(e.getTime())}function Yt(e,t,n){let i=qi(e);switch(t){case"year":Jo(i,0,n);case"quarter":case"month":Zd(i,1,n);case"week":case"isoWeek":case"day":case"date":nm(i,0,n);case"hours":sm(i,0,n);case"minutes":rm(i,0,n);case"seconds":om(i,0,n)}return t==="week"&&Lp(i,0,{isUTC:n}),t==="isoWeek"&&Rp(i,1),t==="quarter"&&Jo(i,Math.floor(Q(i,n)/3)*3,n),i}function ys(e,t,n){let i=t;i==="date"&&(i="day");let s=Yt(e,i,n),r=gs(s,1,i==="isoWeek"?"week":i,n);return kp(r,1,"milliseconds",n)}function lm(){F("DDD",["DDDD",3,!1],"DDDo",function(e){return qd(e).toString(10)}),Xe("dayOfYear","DDD"),Ze("dayOfYear",4),R("DDD",cr),R("DDDD",Gd),he(["DDD","DDDD"],function(e,t,n){return n._dayOfYear=Z(e),n})}function qd(e,t){let n=+Yt(e,"day",t),i=+Yt(e,"year",t),s=n-i,r=1e3*60*60*24;return Math.round(s/r)+1}function gr(e,t,n){let i=t-n+7;return-((ia(e,0,i).getUTCDay()-t+7)%7)+i-1}function cm(e,t,n,i,s){let r=(7+n-i)%7,o=gr(e,i,s),a=1+7*(t-1)+r+o,l,h;return a<=0?(l=e-1,h=_s(l)+a):a>_s(e)?(l=e+1,h=a-_s(e)):(l=e,h=a),{year:l,dayOfYear:h}}function On(e,t,n,i){let s=gr(Ie(e,i),t,n),r=Math.floor((qd(e,i)-s-1)/7)+1,o,a;return r<1?(a=Ie(e,i)-1,o=r+dr(a,t,n)):r>dr(Ie(e,i),t,n)?(o=r-dr(Ie(e,i),t,n),a=Ie(e,i)+1):(a=Ie(e,i),o=r),{week:o,year:a}}function dr(e,t,n){let i=gr(e,t,n),s=gr(e+1,t,n);return(_s(e)-i+s)/7}var hd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,dm="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Jd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),um="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),hm="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eu={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},_m="%d",mm=/\d{1,2}/,pm=hs,fm=hs,Qo=class{constructor(t){t&&this.set(t)}set(t){let n;for(n in t){if(!t.hasOwnProperty(n))continue;let i=t[n],s=Ki(i)?n:`_${n}`;this[s]=i}this._config=t}calendar(t,n,i){let s=this._calendar[t]||this._calendar.sameElse;return Ki(s)?s.call(null,n,i):s}longDateFormat(t){let n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(s){return s.slice(1)}),this._longDateFormat[t])}get invalidDate(){return this._invalidDate}set invalidDate(t){this._invalidDate=t}ordinal(t,n){return this._ordinal.replace("%d",t.toString(10))}preparse(t,n){return t}getFullYear(t,n=!1){return Ie(t,n)}postformat(t){return t}relativeTime(t,n,i,s){let r=this._relativeTime[i];return Ki(r)?r(t,n,i,s):r.replace(/%d/i,t.toString(10))}pastFuture(t,n){let i=this._relativeTime[t>0?"future":"past"];return Ki(i)?i(n):i.replace(/%s/i,n)}months(t,n,i=!1){if(!t)return ue(this._months)?this._months:this._months.standalone;if(ue(this._months))return this._months[Q(t,i)];let s=(this._months.isFormat||hd).test(n)?"format":"standalone";return this._months[s][Q(t,i)]}monthsShort(t,n,i=!1){if(!t)return ue(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(ue(this._monthsShort))return this._monthsShort[Q(t,i)];let s=hd.test(n)?"format":"standalone";return this._monthsShort[s][Q(t,i)]}monthsParse(t,n,i){let s,r;if(this._monthsParseExact)return this.handleMonthStrictParse(t,n,i);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);let o;for(o=0;o<12;o++){if(s=new Date(Date.UTC(2e3,o)),i&&!this._longMonthsParse[o]){let a=this.months(s,"",!0).replace(".",""),l=this.monthsShort(s,"",!0).replace(".","");this._longMonthsParse[o]=new RegExp(`^${a}$`,"i"),this._shortMonthsParse[o]=new RegExp(`^${l}$`,"i")}if(!i&&!this._monthsParse[o]&&(r=`^${this.months(s,"",!0)}|^${this.monthsShort(s,"",!0)}`,this._monthsParse[o]=new RegExp(r.replace(".",""),"i")),i&&n==="MMMM"&&this._longMonthsParse[o].test(t)||i&&n==="MMM"&&this._shortMonthsParse[o].test(t)||!i&&this._monthsParse[o].test(t))return o}}monthsRegex(t){return this._monthsParseExact?(Ke(this,"_monthsRegex")||this.computeMonthsParse(),t?this._monthsStrictRegex:this._monthsRegex):(Ke(this,"_monthsRegex")||(this._monthsRegex=fm),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(t){return this._monthsParseExact?(Ke(this,"_monthsRegex")||this.computeMonthsParse(),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ke(this,"_monthsShortRegex")||(this._monthsShortRegex=pm),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}week(t,n){return On(t,this._week.dow,this._week.doy,n).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(t,n,i){if(!t)return ue(this._weekdays)?this._weekdays:this._weekdays.standalone;if(ue(this._weekdays))return this._weekdays[Et(t,i)];let s=this._weekdays.isFormat.test(n)?"format":"standalone";return this._weekdays[s][Et(t,i)]}weekdaysMin(t,n,i){return t?this._weekdaysMin[Et(t,i)]:this._weekdaysMin}weekdaysShort(t,n,i){return t?this._weekdaysShort[Et(t,i)]:this._weekdaysShort}weekdaysParse(t,n,i){let s,r;if(this._weekdaysParseExact)return this.handleWeekStrictParse(t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){let o=ur(new Date(Date.UTC(2e3,1)),s,null,!0);if(i&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp(`^${this.weekdays(o,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[s]=new RegExp(`^${this.weekdaysShort(o,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[s]=new RegExp(`^${this.weekdaysMin(o,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[s]||(r=`^${this.weekdays(o,"",!0)}|^${this.weekdaysShort(o,"",!0)}|^${this.weekdaysMin(o,"",!0)}`,this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),!ue(this._fullWeekdaysParse)||!ue(this._shortWeekdaysParse)||!ue(this._minWeekdaysParse)||!ue(this._weekdaysParse))return;if(i&&n==="dddd"&&this._fullWeekdaysParse[s].test(t))return s;if(i&&n==="ddd"&&this._shortWeekdaysParse[s].test(t))return s;if(i&&n==="dd"&&this._minWeekdaysParse[s].test(t))return s;if(!i&&this._weekdaysParse[s].test(t))return s}}weekdaysRegex(t){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ke(this,"_weekdaysRegex")||(this._weekdaysRegex=hs),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(t){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ke(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hs),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(t){return this._weekdaysParseExact?(Ke(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ke(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=hs),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(t){return t.toLowerCase().charAt(0)==="p"}meridiem(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"}formatLongDate(t){this._longDateFormat=this._longDateFormat?this._longDateFormat:eu;let n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,s=>s.slice(1)),this._longDateFormat[t])}handleMonthStrictParse(t,n,i){let s=t.toLocaleLowerCase(),r,o,a;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=new Date(2e3,r),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return i?n==="MMM"?(o=this._shortMonthsParse.indexOf(s),o!==-1?o:null):(o=this._longMonthsParse.indexOf(s),o!==-1?o:null):n==="MMM"?(o=this._shortMonthsParse.indexOf(s),o!==-1?o:(o=this._longMonthsParse.indexOf(s),o!==-1?o:null)):(o=this._longMonthsParse.indexOf(s),o!==-1?o:(o=this._shortMonthsParse.indexOf(s),o!==-1?o:null))}handleWeekStrictParse(t,n,i){let s,r=t.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];let o;for(o=0;o<7;++o){let a=ur(new Date(Date.UTC(2e3,1)),o,null,!0);this._minWeekdaysParse[o]=this.weekdaysMin(a).toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a).toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase()}}if(!(!ue(this._weekdaysParse)||!ue(this._shortWeekdaysParse)||!ue(this._minWeekdaysParse)))return i?n==="dddd"?(s=this._weekdaysParse.indexOf(r),s!==-1?s:null):n==="ddd"?(s=this._shortWeekdaysParse.indexOf(r),s!==-1?s:null):(s=this._minWeekdaysParse.indexOf(r),s!==-1?s:null):n==="dddd"?(s=this._weekdaysParse.indexOf(r),s!==-1||(s=this._shortWeekdaysParse.indexOf(r),s!==-1)?s:(s=this._minWeekdaysParse.indexOf(r),s!==-1?s:null)):n==="ddd"?(s=this._shortWeekdaysParse.indexOf(r),s!==-1||(s=this._weekdaysParse.indexOf(r),s!==-1)?s:(s=this._minWeekdaysParse.indexOf(r),s!==-1?s:null)):(s=this._minWeekdaysParse.indexOf(r),s!==-1||(s=this._weekdaysParse.indexOf(r),s!==-1)?s:(s=this._shortWeekdaysParse.indexOf(r),s!==-1?s:null))}computeMonthsParse(){let t=[],n=[],i=[],s,r;for(r=0;r<12;r++)s=new Date(2e3,r),t.push(this.monthsShort(s,"")),n.push(this.months(s,"")),i.push(this.months(s,"")),i.push(this.monthsShort(s,""));for(t.sort(ji),n.sort(ji),i.sort(ji),r=0;r<12;r++)t[r]=Gi(t[r]),n[r]=Gi(n[r]);for(r=0;r<24;r++)i[r]=Gi(i[r]);this._monthsRegex=new RegExp(`^(${i.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${t.join("|")})`,"i")}computeWeekdaysParse(){let t=[],n=[],i=[],s=[],r;for(r=0;r<7;r++){let o=ur(new Date(Date.UTC(2e3,1)),r,null,!0),a=this.weekdaysMin(o),l=this.weekdaysShort(o),h=this.weekdays(o);t.push(a),n.push(l),i.push(h),s.push(a),s.push(l),s.push(h)}for(t.sort(ji),n.sort(ji),i.sort(ji),s.sort(ji),r=0;r<7;r++)n[r]=Gi(n[r]),i[r]=Gi(i[r]),s[r]=Gi(s[r]);this._weekdaysRegex=new RegExp(`^(${s.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${i.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${t.join("|")})`,"i")}};function ji(e,t){return t.length-e.length}var gm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},vm="Invalid date",ym={dow:0,doy:6},bm=/[ap]\.?m?\.?/i,wm={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Sm={calendar:gm,longDateFormat:eu,invalidDate:vm,ordinal:_m,dayOfMonthOrdinalParse:mm,relativeTime:wm,months:dm,monthsShort:Jd,week:ym,weekdays:um,weekdaysMin:hm,weekdaysShort:Qd,meridiemParse:bm};function Dm(e,t,n){let i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),r=0,o;for(o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&Z(e[o])!==Z(t[o]))&&r++;return r+s}function Mm(){F("w",["ww",2,!1],"wo",function(e,t){return cs(e,t.locale).toString(10)}),F("W",["WW",2,!1],"Wo",function(e){return Cm(e).toString(10)}),Xe("week","w"),Xe("isoWeek","W"),Ze("week",5),Ze("isoWeek",5),R("w",_e),R("ww",_e,at),R("W",_e),R("WW",_e,at),fs(["w","ww","W","WW"],function(e,t,n,i){return t[i.substr(0,1)]=Z(e),n})}function cs(e,t=We(),n){return t.week(e,n)}function Cm(e,t){return On(e,1,4,t).week}function km(){F(null,["gg",2,!1],null,function(e,t){return(tu(e,t.locale)%100).toString()}),F(null,["GG",2,!1],null,function(e){return(iu(e)%100).toString()}),ar("gggg",_d),ar("ggggg",_d),ar("GGGG",md),ar("GGGGG",md),Xe("weekYear","gg"),Xe("isoWeekYear","GG"),Ze("weekYear",1),Ze("isoWeekYear",1),R("G",pr),R("g",pr),R("GG",_e,at),R("gg",_e,at),R("GGGG",Xo,Ko),R("gggg",Xo,Ko),R("GGGGG",mr,_r),R("ggggg",mr,_r),fs(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){return t[i.substr(0,2)]=Z(e),n}),fs(["gg","GG"],function(e,t,n,i){return t[i]=qo(e),n})}function ar(e,t){F(null,[e,e.length,!1],null,t)}function _d(e,t){return tu(e,t.locale).toString()}function md(e){return iu(e).toString()}function tu(e,t=We(),n){return On(e,t.firstDayOfWeek(),t.firstDayOfYear(),n).year}function iu(e,t){return On(e,1,4,t).year}function Tm(){F("z",null,null,function(e,t){return t.isUTC?"UTC":""}),F("zz",null,null,function(e,t){return t.isUTC?"Coordinated Universal Time":""})}function xm(){F("X",null,null,function(e){return U_(e).toString(10)}),F("x",null,null,function(e){return e.valueOf().toString(10)}),R("x",pr),R("X",G_),he("X",function(e,t,n){return n._d=new Date(parseFloat(e)*1e3),n}),he("x",function(e,t,n){return n._d=new Date(Z(e)),n})}function Em(){F("s",["ss",2,!1],null,function(e,t){return Go(e,t.isUTC).toString(10)}),Xe("second","s"),Ze("second",15),R("s",_e),R("ss",_e,at),he(["s","ss"],Zt)}function Lm(){F("Q",null,"Qo",function(e,t){return Om(e,t.isUTC).toString(10)}),Xe("quarter","Q"),Ze("quarter",7),R("Q",zd),he("Q",function(e,t,n){return t[Xt]=(Z(e)-1)*3,n})}function Om(e,t=!1){return Math.ceil((Q(e,t)+1)/3)}function pd(e,t){F(e,null,null,function(n,i){let s=Hm(n,{_isUTC:i.isUTC,_offset:i.offset}),r="+";return s<0&&(s=-s,r="-"),r+Kt(~~(s/60),2)+t+Kt(~~s%60,2)})}function Rm(){pd("Z",":"),pd("ZZ",""),R("Z",Ro),R("ZZ",Ro),he(["Z","ZZ"],function(e,t,n){return n._useUTC=!0,n._tzm=Am(Ro,e),n})}var Im=/([\+\-]|\d\d)/gi;function Am(e,t){let n=(t||"").match(e);if(n===null)return null;let s=n[n.length-1].match(Im)||["-","0","0"],r=parseInt(s[1],10)*60+Z(s[2]),o=s[0]==="+"?r:-r;return r===0?0:o}function Ym(e,t,n={}){if(!n._isUTC)return e;let i=qi(t),s=(n._offset||0)*6e4,r=e.valueOf()-i.valueOf()+s;return i.setTime(i.valueOf()+r),i}function Pm(e){return-Math.round(e.getTimezoneOffset()/15)*15}function Hm(e,t={}){let n=t._offset||0;return t._isUTC?n:Pm(e)}function Nm(){F("m",["mm",2,!1],null,function(e,t){return Tn(e,t.isUTC).toString(10)}),Xe("minute","m"),Ze("minute",14),R("m",_e),R("mm",_e,at),he(["m","mm"],xt)}function Vm(){F("S",null,null,function(n,i){return(~~(Gt(n,i.isUTC)/100)).toString(10)}),F(null,["SS",2,!1],null,function(n,i){return(~~(Gt(n,i.isUTC)/10)).toString(10)}),F(null,["SSS",3,!1],null,function(n,i){return Gt(n,i.isUTC).toString(10)}),F(null,["SSSS",4,!1],null,function(n,i){return(Gt(n,i.isUTC)*10).toString(10)}),F(null,["SSSSS",5,!1],null,function(n,i){return(Gt(n,i.isUTC)*100).toString(10)}),F(null,["SSSSSS",6,!1],null,function(n,i){return(Gt(n,i.isUTC)*1e3).toString(10)}),F(null,["SSSSSSS",7,!1],null,function(n,i){return(Gt(n,i.isUTC)*1e4).toString(10)}),F(null,["SSSSSSSS",8,!1],null,function(n,i){return(Gt(n,i.isUTC)*1e5).toString(10)}),F(null,["SSSSSSSSS",9,!1],null,function(n,i){return(Gt(n,i.isUTC)*1e6).toString(10)}),Xe("millisecond","ms"),Ze("millisecond",16),R("S",cr,zd),R("SS",cr,at),R("SSS",cr,Gd);let e;for(e="SSSS";e.length<=9;e+="S")R(e,z_);function t(n,i,s){return i[Xi]=Z(parseFloat(`0.${n}`)*1e3),s}for(e="S";e.length<=9;e+="S")he(e,t)}function Fm(){function e(s,r){return q(s,r)%12||12}function t(s,r){return q(s,r)||24}F("H",["HH",2,!1],null,function(s,r){return q(s,r.isUTC).toString(10)}),F("h",["hh",2,!1],null,function(s,r){return e(s,r.isUTC).toString(10)}),F("k",["kk",2,!1],null,function(s,r){return t(s,r.isUTC).toString(10)}),F("hmm",null,null,function(s,r){let o=e(s,r.isUTC),a=Kt(Tn(s,r.isUTC),2);return`${o}${a}`}),F("hmmss",null,null,function(s,r){let o=e(s,r.isUTC),a=Kt(Tn(s,r.isUTC),2),l=Kt(Go(s,r.isUTC),2);return`${o}${a}${l}`}),F("Hmm",null,null,function(s,r){let o=q(s,r.isUTC),a=Kt(Tn(s,r.isUTC),2);return`${o}${a}`}),F("Hmmss",null,null,function(s,r){let o=q(s,r.isUTC),a=Kt(Tn(s,r.isUTC),2),l=Kt(Go(s,r.isUTC),2);return`${o}${a}${l}`});function n(s,r){F(s,null,null,function(o,a){return a.locale.meridiem(q(o,a.isUTC),Tn(o,a.isUTC),r)})}n("a",!0),n("A",!1),Xe("hour","h"),Ze("hour",13);function i(s,r){return r._meridiemParse}R("a",i),R("A",i),R("H",_e),R("h",_e),R("k",_e),R("HH",_e,at),R("hh",_e,at),R("kk",_e,at),R("hmm",dd),R("hmmss",ud),R("Hmm",dd),R("Hmmss",ud),he(["H","HH"],Ye),he(["k","kk"],function(s,r,o){let a=Z(s);return r[Ye]=a===24?0:a,o}),he(["a","A"],function(s,r,o){return o._isPm=o._locale.isPM(s),o._meridiem=s,o}),he(["h","hh"],function(s,r,o){return r[Ye]=Z(s),ne(o).bigHour=!0,o}),he("hmm",function(s,r,o){let a=s.length-2;return r[Ye]=Z(s.substr(0,a)),r[xt]=Z(s.substr(a)),ne(o).bigHour=!0,o}),he("hmmss",function(s,r,o){let a=s.length-4,l=s.length-2;return r[Ye]=Z(s.substr(0,a)),r[xt]=Z(s.substr(a,2)),r[Zt]=Z(s.substr(l)),ne(o).bigHour=!0,o}),he("Hmm",function(s,r,o){let a=s.length-2;return r[Ye]=Z(s.substr(0,a)),r[xt]=Z(s.substr(a)),o}),he("Hmmss",function(s,r,o){let a=s.length-4,l=s.length-2;return r[Ye]=Z(s.substr(0,a)),r[xt]=Z(s.substr(a,2)),r[Zt]=Z(s.substr(l)),o})}var li={},as={},ms;function fd(e){return e&&e.toLowerCase().replace("_","-")}function jm(e){let t,n,i=0;for(;i<e.length;){let s=fd(e[i]).split("-"),r=s.length;for(t=fd(e[i+1]),t=t?t.split("-"):null;r>0;){if(n=$m(s.slice(0,r).join("-")),n)return n;if(t&&t.length>=r&&Dm(s,t,!0)>=r-1)break;r--}i++}return null}function Bm(e,t){let n=Object.assign({},e);for(let i in t)Ke(t,i)&&(Zi(e[i])&&Zi(t[i])?(n[i]={},Object.assign(n[i],e[i]),Object.assign(n[i],t[i])):t[i]!=null?n[i]=t[i]:delete n[i]);for(let i in e)Ke(e,i)&&!Ke(t,i)&&Zi(e[i])&&(n[i]=Object.assign({},n[i]));return n}function $m(e){return li[e]||console.error(`Khronos locale error: please load locale "${e}" before using it`),li[e]}function nu(e,t){let n;return e&&(jd(t)?n=We(e):lt(e)&&(n=su(e,t)),n&&(ms=n)),ms&&ms._abbr}function su(e,t){if(t===null)return delete li[e],ms=We("en"),null;if(!t)return;let n=Sm;if(t.abbr=e,t.parentLocale!=null)if(li[t.parentLocale]!=null)n=li[t.parentLocale]._config;else return as[t.parentLocale]||(as[t.parentLocale]=[]),as[t.parentLocale].push({name:e,config:t}),null;return li[e]=new Qo(Bm(n,t)),as[e]&&as[e].forEach(function(i){su(i.name,i.config)}),nu(e),li[e]}function We(e){if(Wm(),!e)return ms;let t=ue(e)?e:[e];return jm(t)}function Wm(){li.en||(nu("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(e){let t=e%10,n=Z(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),Mm(),km(),em(),Tm(),xm(),Em(),Lm(),Rm(),tm(),Nm(),Vm(),Fm(),lm(),Tp(),J_())}var ds=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],Um=ds.reduce((e,t)=>(e[t]=!0,e),{});function zm(e){if(Object.keys(e).some(i=>i in Um&&e[i]===null||isNaN(e[i])))return!1;let n=!1;for(let i=0;i<ds.length;++i)if(e[ds[i]]){if(n)return!1;e[ds[i]]!==Z(e[ds[i]])&&(n=!0)}return!0}function gd(e){return e<0?Math.floor(e):Math.ceil(e)}function Gm(e){let t=e._milliseconds,n=e._days,i=e._months,s=e._data;t>=0&&n>=0&&i>=0||t<=0&&n<=0&&i<=0||(t+=gd(ea(i)+n)*864e5,n=0,i=0),s.milliseconds=t%1e3;let r=zi(t/1e3);s.seconds=r%60;let o=zi(r/60);s.minutes=o%60;let a=zi(o/60);s.hours=a%24,n+=zi(a/24);let l=zi(ru(n));i+=l,n-=gd(ea(l));let h=zi(i/12);return i%=12,s.day=n,s.month=i,s.year=h,e}function ru(e){return e*4800/146097}function ea(e){return e*146097/4800}var bn=Math.round,wn={ss:44,s:45,m:45,h:22,d:26,M:11};function Km(e,t,n,i,s){return s.relativeTime(t||1,!!n,e,i)}function Xm(e,t,n){let i=la(e).abs(),s=bn(i.as("s")),r=bn(i.as("m")),o=bn(i.as("h")),a=bn(i.as("d")),l=bn(i.as("M")),h=bn(i.as("y")),p=s<=wn.ss&&["s",s]||s<wn.s&&["ss",s]||r<=1&&["m"]||r<wn.m&&["mm",r]||o<=1&&["h"]||o<wn.h&&["hh",o]||a<=1&&["d"]||a<wn.d&&["dd",a]||l<=1&&["M"]||l<wn.M&&["MM",l]||h<=1&&["y"]||["yy",h],b=[p[0],p[1],t,+e>0,n];return Km.apply(null,b)}var vr=class{constructor(t,n={}){this._data={},this._locale=We(),this._locale=n&&n._locale||We();let i=t,s=i.year||0,r=i.quarter||0,o=i.month||0,a=i.week||0,l=i.day||0,h=i.hours||0,p=i.minutes||0,b=i.seconds||0,x=i.milliseconds||0;return this._isValid=zm(i),this._milliseconds=+x+b*1e3+p*60*1e3+h*1e3*60*60,this._days=+l+a*7,this._months=+o+r*3+s*12,Gm(this)}isValid(){return this._isValid}humanize(t){if(!this.isValid())return this.localeData().invalidDate;let n=this.localeData(),i=Xm(this,!t,n);return t&&(i=n.pastFuture(+this,i)),n.postformat(i)}localeData(){return this._locale}locale(t){return t?(this._locale=We(t)||this._locale,this):this._locale._abbr}abs(){let t=Math.abs,n=this._data;return this._milliseconds=t(this._milliseconds),this._days=t(this._days),this._months=t(this._months),n.milliseconds=t(n.milliseconds),n.seconds=t(n.seconds),n.minutes=t(n.minutes),n.hours=t(n.hours),n.month=t(n.month),n.year=t(n.year),this}as(t){if(!this.isValid())return NaN;let n,i,s=this._milliseconds,r=Bd(t);if(r==="month"||r==="year")return n=this._days+s/864e5,i=this._months+ru(n),r==="month"?i:i/12;switch(n=this._days+Math.round(ea(this._months)),r){case"week":return n/7+s/6048e5;case"day":return n+s/864e5;case"hours":return n*24+s/36e5;case"minutes":return n*1440+s/6e4;case"seconds":return n*86400+s/1e3;case"milliseconds":return Math.floor(n*864e5)+s;default:throw new Error(`Unknown unit ${r}`)}}valueOf(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Z(this._months/12)*31536e6:NaN}};function Zm(e){return e instanceof vr}function sa(e){if(e._isValid==null){let t=ne(e),n=Array.prototype.some.call(t.parsedDateParts,function(s){return s!=null}),i=!isNaN(e._d&&e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=i;else return i}return e._isValid}function br(e,t){return e._d=new Date(NaN),Object.assign(ne(e),t||{userInvalidated:!0}),e}function qm(e){return e._isValid=!1,e}var Jm=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qm=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ep=/Z|[+-]\d\d(?::?\d\d)?/,lr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],Ao=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],tp=/^\/?Date\((\-?\d+)/i,ip={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},np=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function ou(e){if(!lt(e._i))return e;let t=e._i,n=Jm.exec(t)||Qm.exec(t),i,s,r,o;if(!n)return e._isValid=!1,e;let a,l;for(a=0,l=lr.length;a<l;a++)if(lr[a][1].exec(n[1])){s=lr[a][0],i=lr[a][2]!==!1;break}if(s==null)return e._isValid=!1,e;if(n[3]){for(a=0,l=Ao.length;a<l;a++)if(Ao[a][1].exec(n[3])){r=(n[2]||" ")+Ao[a][0];break}if(r==null)return e._isValid=!1,e}if(!i&&r!=null)return e._isValid=!1,e;if(n[4])if(ep.exec(n[4]))o="Z";else return e._isValid=!1,e;return e._f=s+(r||"")+(o||""),oa(e)}function sp(e,t,n,i,s,r){let o=[rp(e),Jd.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(s,10)];return r&&o.push(parseInt(r,10)),o}function rp(e){let t=parseInt(e,10);return t<=49?t+2e3:t}function op(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function ap(e,t,n){if(e){let i=Qd.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(i!==s)return ne(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function lp(e,t,n){if(e)return ip[e];if(t)return 0;{let i=parseInt(n,10),s=i%100;return(i-s)/100*60+s}}function au(e){if(!lt(e._i))return e;let t=np.exec(op(e._i));if(!t)return qm(e);let n=sp(t[4],t[3],t[2],t[5],t[6],t[7]);return ap(t[1],n,e)&&(e._a=n,e._tzm=lp(t[8],t[9],t[10]),e._d=ia.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ne(e).rfc2822=!0),e}function cp(e){if(!lt(e._i))return e;let t=tp.exec(e._i);if(t!==null)return e._d=new Date(+t[1]),e;if(ou(e),e._isValid===!1)delete e._isValid;else return e;if(au(e),e._isValid===!1)delete e._isValid;else return e;return br(e)}function ct(e,t,n,i,s=0){let r=We(n||"en");if(!r)throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);let a=dp(e,t||(i?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),r,i,s);return a&&r.postformat(a)}function dp(e,t,n,i,s=0){if(!qt(e))return n.invalidDate;let r=lu(t,n);return Oo[r]=Oo[r]||B_(r),Oo[r](e,n,i,s)}function lu(e,t){let n=e,i=5,s=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,r=o=>t.formatLongDate(o)||o;for(s.lastIndex=0;i>=0&&s.test(n);)n=n.replace(s,r),s.lastIndex=0,i-=1;return n}function xn(e,t,n){return e??t??n}function up(e){let t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ra(e){let t=[],n,i,s;if(e._d)return e;let r=up(e);for(e._w&&e._a[At]==null&&e._a[Xt]==null&&hp(e),e._dayOfYear!=null&&(s=xn(e._a[Tt],r[Tt]),(e._dayOfYear>_s(s)||e._dayOfYear===0)&&(ne(e)._overflowDayOfYear=!0),i=new Date(Date.UTC(s,0,e._dayOfYear)),e._a[Xt]=i.getUTCMonth(),e._a[At]=i.getUTCDate()),n=0;n<3&&e._a[n]==null;++n)e._a[n]=t[n]=r[n];for(;n<7;n++)e._a[n]=t[n]=e._a[n]==null?n===2?1:0:e._a[n];e._a[Ye]===24&&e._a[xt]===0&&e._a[Zt]===0&&e._a[Xi]===0&&(e._nextDay=!0,e._a[Ye]=0),e._d=(e._useUTC?ia:yr).apply(null,t);let o=e._useUTC?e._d.getUTCDay():e._d.getDay();return e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ye]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(ne(e).weekdayMismatch=!0),e}function hp(e){let t,n,i,s,r,o,a,l=e._w;if(l.GG!=null||l.W!=null||l.E!=null)s=1,r=4,t=xn(l.GG,e._a[Tt],On(new Date,1,4).year),n=xn(l.W,1),i=xn(l.E,1),(i<1||i>7)&&(a=!0);else{s=e._locale._week.dow,r=e._locale._week.doy;let h=On(new Date,s,r);t=xn(l.gg,e._a[Tt],h.year),n=xn(l.w,h.week),l.d!=null?(i=l.d,(i<0||i>6)&&(a=!0)):l.e!=null?(i=l.e+s,(l.e<0||l.e>6)&&(a=!0)):i=s}return n<1||n>dr(t,s,r)?ne(e)._overflowWeeks=!0:a!=null?ne(e)._overflowWeekday=!0:(o=cm(t,n,i,s,r),e._a[Tt]=o.year,e._dayOfYear=o.dayOfYear),e}function cu(e){let t,n=e._a;return n&&ne(e).overflow===-2&&(t=n[Xt]<0||n[Xt]>11?Xt:n[At]<1||n[At]>na(n[Tt],n[Xt])?At:n[Ye]<0||n[Ye]>24||n[Ye]===24&&(n[xt]!==0||n[Zt]!==0||n[Xi]!==0)?Ye:n[xt]<0||n[xt]>59?xt:n[Zt]<0||n[Zt]>59?Zt:n[Xi]<0||n[Xi]>999?Xi:-1,ne(e)._overflowDayOfYear&&(t<Tt||t>At)&&(t=At),ne(e)._overflowWeeks&&t===-1&&(t=F_),ne(e)._overflowWeekday&&t===-1&&(t=j_),ne(e).overflow=t),e}var _p="ISO_8601",mp="RFC_2822";function oa(e){if(e._f===_p)return ou(e);if(e._f===mp)return au(e);if(e._a=[],ne(e).empty=!0,ue(e._f)||!e._i&&e._i!==0)return e;let t=e._i.toString(),n=0,i=t.length,s=lu(e._f,e._locale).match($d)||[],r,o,a,l;for(r=0;r<s.length;r++)o=s[r],a=(t.match(K_(o,e._locale))||[])[0],a&&(l=t.substr(0,t.indexOf(a)),l.length>0&&ne(e).unusedInput.push(l),t=t.slice(t.indexOf(a)+a.length),n+=a.length),Ln[o]?(a?ne(e).empty=!1:ne(e).unusedTokens.push(o),Z_(o,a,e)):e._strict&&!a&&ne(e).unusedTokens.push(o);return ne(e).charsLeftOver=i-n,t.length>0&&ne(e).unusedInput.push(t),e._a[Ye]<=12&&ne(e).bigHour===!0&&e._a[Ye]>0&&(ne(e).bigHour=void 0),ne(e).parsedDateParts=e._a.slice(0),ne(e).meridiem=e._meridiem,e._a[Ye]=pp(e._locale,e._a[Ye],e._meridiem),ra(e),cu(e)}function pp(e,t,n){let i=t;if(n==null)return i;if(e.meridiemHour!=null)return e.meridiemHour(i,n);if(e.isPM==null)return i;let s=e.isPM(n);return s&&i<12&&(i+=12),!s&&i===12&&(i=0),i}function fp(e){let t,n,i,s;if(!e._f||e._f.length===0)return ne(e).invalidFormat=!0,br(e);let r;for(r=0;r<e._f.length;r++)s=0,t=Object.assign({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[r],oa(t),sa(t)&&(s+=ne(t).charsLeftOver,s+=ne(t).unusedTokens.length*10,ne(t).score=s,(i==null||s<i)&&(i=s,n=t));return Object.assign(e,n||t)}function gp(e){if(e._d)return e;let t=e._i;if(Zi(t)){let n=V_(t);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(i=>lt(i)?parseInt(i,10):i)}return ra(e)}function vp(e){let t=cu(yp(e));return t._d=new Date(t._d!=null?t._d.getTime():NaN),sa(Object.assign({},t,{_isValid:null}))||(t._d=new Date(NaN)),t}function yp(e){let t=e._i,n=e._f;return e._locale=e._locale||We(e._l),t===null||n===void 0&&t===""?br(e,{nullInput:!0}):(lt(t)&&(e._i=t=e._locale.preparse(t,n)),vs(t)?(e._d=qi(t),e):(ue(n)?fp(e):n?oa(e):bp(e),sa(e)||(e._d=null),e))}function bp(e){let t=e._i;if(jd(t))e._d=new Date;else if(vs(t))e._d=qi(t);else if(lt(t))cp(e);else if(ue(t)&&t.length){let n=t.slice(0);e._a=n.map(i=>lt(i)?parseInt(i,10):i),ra(e)}else if(Zi(t))gp(e);else if(In(t))e._d=new Date(t);else return br(e);return e}function wp(e,t,n,i,s){let r={},o=e;return(Zi(o)&&N_(o)||ue(o)&&o.length===0)&&(o=void 0),r._useUTC=r._isUTC=s,r._l=n,r._i=o,r._f=t,r._strict=i,vp(r)}function Rn(e,t,n,i,s){return vs(e)?e:wp(e,t,n,i,s)._d}function aa(e){return e instanceof Date?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()):null}function ta(e){return e<0?Math.round(e*-1)*-1:Math.round(e)}function Qt(e,t,n="milliseconds"){return!e||!t?!1:n==="milliseconds"?e.valueOf()>t.valueOf():t.valueOf()<Yt(e,n).valueOf()}function di(e,t,n="milliseconds"){return!e||!t?!1:n==="milliseconds"?e.valueOf()<t.valueOf():ys(e,n).valueOf()<t.valueOf()}function du(e,t){return typeof t>"u"||!t||!t.length?!1:t.some(n=>n===e.getDay())}function bs(e,t,n="milliseconds"){if(!e||!t)return!1;if(n==="milliseconds")return e.valueOf()===t.valueOf();let i=t.valueOf();return Yt(e,n).valueOf()<=i&&i<=ys(e,n).valueOf()}var Sp=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Dp=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function la(e,t,n={}){let i=Mp(e,t);return new vr(i,n)}function Mp(e,t){if(e==null)return{};if(Zm(e))return{milliseconds:e._milliseconds,day:e._days,month:e._months};if(In(e))return t?{[t]:e}:{milliseconds:e};if(lt(e)){let n=Sp.exec(e);if(n){let i=n[1]==="-"?-1:1;return{year:0,day:Z(n[At])*i,hours:Z(n[Ye])*i,minutes:Z(n[xt])*i,seconds:Z(n[Zt])*i,milliseconds:Z(ta(Z(n[Xi])*1e3))*i}}if(n=Dp.exec(e),n){let i=n[1]==="-"?-1:(n[1]==="+",1);return{year:Bi(n[2],i),month:Bi(n[3],i),week:Bi(n[4],i),day:Bi(n[5],i),hours:Bi(n[6],i),minutes:Bi(n[7],i),seconds:Bi(n[8],i)}}}if(Zi(e)&&("from"in e||"to"in e)){let n=Cp(Rn(e.from),Rn(e.to));return{milliseconds:n.milliseconds,month:n.months}}return e}function Bi(e,t){let n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function vd(e,t){let n={milliseconds:0,months:0};n.months=Q(t)-Q(e)+(Ie(t)-Ie(e))*12;let i=gs(qi(e),n.months,"month");return Qt(i,t)&&--n.months,n.milliseconds=+t-+gs(qi(e),n.months,"month"),n}function Cp(e,t){if(!(qt(e)&&qt(t)))return{milliseconds:0,months:0};let n,i=Ym(t,e,{_offset:e.getTimezoneOffset()});return di(e,i)?n=vd(e,i):(n=vd(i,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function gs(e,t,n,i){let s=la(t,n);return uu(e,s,1,i)}function kp(e,t,n,i){let s=la(t,n);return uu(e,s,-1,i)}function uu(e,t,n,i){let s=t._milliseconds,r=ta(t._days),o=ta(t._months);return o&&Jo(e,Q(e,i)+o*n,i),r&&Zd(e,ps(e,i)+r*n,i),s&&am(e,W_(e)+s*n),qi(e)}function Tp(){F("d",null,"do",function(e,t){return Et(e,t.isUTC).toString(10)}),F("dd",null,null,function(e,t){return t.locale.weekdaysMin(e,t.format,t.isUTC)}),F("ddd",null,null,function(e,t){return t.locale.weekdaysShort(e,t.format,t.isUTC)}),F("dddd",null,null,function(e,t){return t.locale.weekdays(e,t.format,t.isUTC)}),F("e",null,null,function(e,t){return hu(e,t.locale,t.isUTC).toString(10)}),F("E",null,null,function(e,t){return Op(e,t.isUTC).toString(10)}),Xe("day","d"),Xe("weekday","e"),Xe("isoWeekday","E"),Ze("day",11),Ze("weekday",11),Ze("isoWeekday",11),R("d",_e),R("e",_e),R("E",_e),R("dd",function(e,t){return t.weekdaysMinRegex(e)}),R("ddd",function(e,t){return t.weekdaysShortRegex(e)}),R("dddd",function(e,t){return t.weekdaysRegex(e)}),fs(["dd","ddd","dddd"],function(e,t,n,i){let s=n._locale.weekdaysParse(e,i,n._strict);return s!=null?t.d=s:ne(n).invalidWeekday=!!e,n}),fs(["d","e","E"],function(e,t,n,i){return t[i]=Z(e),n})}function xp(e,t){if(!lt(e))return e;let n=parseInt(e,10);if(!isNaN(n))return n;let i=t.weekdaysParse(e);return In(i)?i:null}function Ep(e,t=We()){return lt(e)?t.weekdaysParse(e)%7||7:In(e)&&isNaN(e)?null:e}function ur(e,t,n=We(),i){let s=Et(e,i),r=xp(t,n);return gs(e,r-s,"day")}function Pe(e,t){return Et(e,t)}function hu(e,t=We(),n){return(Et(e,n)+7-t.firstDayOfWeek())%7}function Lp(e,t,n={}){let i=hu(e,n.locale,n.isUTC);return gs(e,t-i,"day")}function Op(e,t){return Et(e,t)||7}function Rp(e,t,n={}){let i=Ep(t,n.locale);return ur(e,Pe(e)%7?i:i-7)}var Ip={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},Ap={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},yd=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Yp={s:["\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u0629","\u062B\u0627\u0646\u064A\u0629 \u0648\u0627\u062D\u062F\u0629",["\u062B\u0627\u0646\u064A\u062A\u0627\u0646","\u062B\u0627\u0646\u064A\u062A\u064A\u0646"],"%d \u062B\u0648\u0627\u0646","%d \u062B\u0627\u0646\u064A\u0629","%d \u062B\u0627\u0646\u064A\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u0629","\u062F\u0642\u064A\u0642\u0629 \u0648\u0627\u062D\u062F\u0629",["\u062F\u0642\u064A\u0642\u062A\u0627\u0646","\u062F\u0642\u064A\u0642\u062A\u064A\u0646"],"%d \u062F\u0642\u0627\u0626\u0642","%d \u062F\u0642\u064A\u0642\u0629","%d \u062F\u0642\u064A\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",["\u0633\u0627\u0639\u062A\u0627\u0646","\u0633\u0627\u0639\u062A\u064A\u0646"],"%d \u0633\u0627\u0639\u0627\u062A","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064A\u0648\u0645","\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",["\u064A\u0648\u0645\u0627\u0646","\u064A\u0648\u0645\u064A\u0646"],"%d \u0623\u064A\u0627\u0645","%d \u064A\u0648\u0645\u064B\u0627","%d \u064A\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062D\u062F",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064A\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062D\u062F",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064A\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064B\u0627","%d \u0639\u0627\u0645"]},_t=function(e){return function(t,n){let i=yd(t),s=Yp[e][yd(t)];return i===2&&(s=s[n?0:1]),s.replace(/%d/i,t.toString())}},bd=["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"],VD={abbr:"ar",months:bd,monthsShort:bd,weekdays:"\u0627\u0644\u0623\u062D\u062F_\u0627\u0644\u0625\u062B\u0646\u064A\u0646_\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062E\u0645\u064A\u0633_\u0627\u0644\u062C\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062A".split("_"),weekdaysShort:"\u0623\u062D\u062F_\u0625\u062B\u0646\u064A\u0646_\u062B\u0644\u0627\u062B\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062E\u0645\u064A\u0633_\u062C\u0645\u0639\u0629_\u0633\u0628\u062A".split("_"),weekdaysMin:"\u062D_\u0646_\u062B_\u0631_\u062E_\u062C_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200FM/\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM(e){return e==="\u0645"},meridiem(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064A\u0648\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063A\u062F\u064B\u0627 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062F %s",past:"\u0645\u0646\u0630 %s",s:_t("s"),ss:_t("s"),m:_t("m"),mm:_t("m"),h:_t("h"),hh:_t("h"),d:_t("d"),dd:_t("d"),M:_t("M"),MM:_t("M"),y:_t("y"),yy:_t("y")},preparse(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return Ap[t]}).replace(/،/g,",")},postformat(e){return e.replace(/\d/g,function(t){return Ip[t]}).replace(/,/g,"\u060C")},week:{dow:6,doy:12}};var FD={abbr:"bg",months:"\u044F\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),monthsShort:"\u044F\u043D\u0440_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekdays:"\u043D\u0435\u0434\u0435\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u044F\u0434\u0430_\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A_\u043F\u0435\u0442\u044A\u043A_\u0441\u044A\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u044F_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u044A\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043D\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(e){switch(e){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043C\u0438\u043D\u0430\u043B\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043C\u0438\u043D\u0430\u043B\u0438\u044F] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043B\u0435\u0434 %s",past:"\u043F\u0440\u0435\u0434\u0438 %s",s:"\u043D\u044F\u043A\u043E\u043B\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434\u0438",ss:"%d \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u043D\u0438",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){let t=Number(e),n=t%10,i=t%100;return t===0?t+"-\u0435\u0432":i===0?t+"-\u0435\u043D":i>10&&i<20?t+"-\u0442\u0438":n===1?t+"-\u0432\u0438":n===2?t+"-\u0440\u0438":n===7||n===8?t+"-\u043C\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}};var wd="gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),Pp="ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),Yo=[/^gen/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^oct/i,/^nov/i,/^des/i],Sd=/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre|gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i,jD={abbr:"ca",months:"gener_febrer_mar\xE7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Pp[Q(e,n)]:wd[Q(e,n)]:wd},monthsRegex:Sd,monthsShortRegex:Sd,monthsStrictRegex:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i,monthsShortStrictRegex:/^(gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i,monthsParse:Yo,longMonthsParse:Yo,shortMonthsParse:Yo,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"diu._dil._dim._dix._dij._div._dis.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay(e){return"[avui a "+("la"+(q(e)!==1)?"les":"")+"] LT"},nextDay(e){return"[dema a "+("la"+(q(e)!==1)?"les":"")+"] LT"},nextWeek(e){return"dddd [a "+("la"+(q(e)!==1)?"les":"")+"] LT"},lastDay(e){return"[ahir a "+("la"+(q(e)!==1)?"les":"")+"] LT"},lastWeek(e){return"[el] dddd ["+("passada la "+(q(e)!==1)?"passades les":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(er|on|er|rt|é)/,ordinal(e){let t=Number(e),n=t>4?"\xE9":t===1||t===3?"r":t===2?"n":t===4?"t":"\xE9";return t+n},week:{dow:1,doy:4}};var Po="leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"),Ho="led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_");function Sn(e){return e>1&&e<5&&~~(e/10)!==1}function mt(e,t,n,i){let s=e+" ";switch(n){case"s":return t||i?"p\xE1r sekund":"p\xE1r sekundami";case"ss":return t||i?s+(Sn(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?s+(Sn(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?s+(Sn(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?s+(Sn(e)?"dny":"dn\xED"):s+"dny";case"M":return t||i?"m\u011Bs\xEDc":"m\u011Bs\xEDcem";case"MM":return t||i?s+(Sn(e)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):s+"m\u011Bs\xEDci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?s+(Sn(e)?"roky":"let"):s+"lety"}}var BD={abbr:"cs",months:Po,monthsShort:Ho,monthsParse:(function(e,t){let n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i})(Po,Ho),shortMonthsParse:(function(e){let t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n})(Ho),longMonthsParse:(function(e){let t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n})(Po),weekdays:"ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),weekdaysMin:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xEDtra v] LT",nextWeek(e){switch(Pe(e)){case 0:return"[v ned\u011Bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010Dtvrtek v] LT";case 5:return"[v p\xE1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010Dera v] LT",lastWeek(e){switch(Pe(e)){case 0:return"[minulou ned\u011Bli v] LT";case 1:case 2:return"[minul\xE9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xFD] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:mt,ss:mt,m:mt,mm:mt,h:mt,hh:mt,d:mt,dd:mt,M:mt,MM:mt,y:mt,yy:mt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var $D={abbr:"da",months:"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"S\xF8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xF8rdag".split("_"),weekdaysShort:"S\xF8n_Man_Tir_Ons_Tor_Fre_L\xF8r".split("_"),weekdaysMin:"S\xF8_Ma_Ti_On_To_Fr_L\xF8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xE5 dddd [kl.] LT",lastDay:"[i g\xE5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function ai(e,t,n,i){let s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[n][0]:s[n][1]}var WD={abbr:"de",months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:ai,mm:"%d Minuten",h:ai,hh:"%d Stunden",d:ai,dd:ai,M:ai,MM:ai,y:ai,yy:ai},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var UD={abbr:"en-gb",months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(e){let t=Number(e),n=t%10,i=~~(t%100/10)===1?"th":n===1?"st":n===2?"nd":n===3?"rd":"th";return t+i},week:{dow:1,doy:4}};var Dd="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Hp="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),No=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Md=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,zD={abbr:"es-do",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Hp[Q(e,n)]:Dd[Q(e,n)]:Dd},monthsRegex:Md,monthsShortRegex:Md,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:No,longMonthsParse:No,shortMonthsParse:No,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay(e){return"[hoy a la"+(q(e)!==1?"s":"")+"] LT"},nextDay(e){return"[ma\xF1ana a la"+(q(e)!==1?"s":"")+"] LT"},nextWeek(e){return"dddd [a la"+(q(e)!==1?"s":"")+"] LT"},lastDay(e){return"[ayer a la"+(q(e)!==1?"s":"")+"] LT"},lastWeek(e){return"[el] dddd [pasado a la"+(q(e)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var Cd="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Np="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Vo=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],kd=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,GD={abbr:"es",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Np[Q(e,n)]:Cd[Q(e,n)]:Cd},monthsRegex:kd,monthsShortRegex:kd,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Vo,longMonthsParse:Vo,shortMonthsParse:Vo,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay(e){return"[hoy a la"+(q(e)!==1?"s":"")+"] LT"},nextDay(e){return"[ma\xF1ana a la"+(q(e)!==1?"s":"")+"] LT"},nextWeek(e){return"dddd [a la"+(q(e)!==1?"s":"")+"] LT"},lastDay(e){return"[ayer a la"+(q(e)!==1?"s":"")+"] LT"},lastWeek(e){return"[el] dddd [pasado a la"+(q(e)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var Td="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Vp="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),KD={abbr:"es-pr",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Vp[Q(e,n)]:Td[Q(e,n)]:Td},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay(e){return"[hoy a la"+(q(e)!==1?"s":"")+"] LT"},nextDay(e){return"[ma\xF1ana a la"+(q(e)!==1?"s":"")+"] LT"},nextWeek(e){return"dddd [a la"+(q(e)!==1?"s":"")+"] LT"},lastDay(e){return"[ayer a la"+(q(e)!==1?"s":"")+"] LT"},lastWeek(e){return"[el] dddd [pasado a la"+(q(e)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:0,doy:6}};var xd="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Fp="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),XD={abbr:"es-us",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Fp[Q(e,n)]:xd[Q(e,n)]:xd},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay(e){return"[hoy a la"+(q(e)!==1?"s":"")+"] LT"},nextDay(e){return"[ma\xF1ana a la"+(q(e)!==1?"s":"")+"] LT"},nextWeek(e){return"dddd [a la"+(q(e)!==1?"s":"")+"] LT"},lastDay(e){return"[ayer a la"+(q(e)!==1?"s":"")+"] LT"},lastWeek(e){return"[el] dddd [pasado a la"+(q(e)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:0,doy:6}};var kt=function(e,t,n,i){let s={s:["m\xF5ne sekundi","m\xF5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xFChe minuti","\xFCks minut"],mm:[e+" minuti",e+" minutit"],h:["\xFChe tunni","tund aega","\xFCks tund"],hh:[e+" tunni",e+" tundi"],d:["\xFChe p\xE4eva","\xFCks p\xE4ev"],M:["kuu aja","kuu aega","\xFCks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xFChe aasta","aasta","\xFCks aasta"],yy:[e+" aasta",e+" aastat"]};return t?s[n][2]?s[n][2]:s[n][1]:i?s[n][0]:s[n][1]},ZD={abbr:"et",months:"jaanuar_veebruar_m\xE4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xE4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xFChap\xE4ev_esmasp\xE4ev_teisip\xE4ev_kolmap\xE4ev_neljap\xE4ev_reede_laup\xE4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xE4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xE4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xE4rast",past:"%s tagasi",s:kt,ss:kt,m:kt,mm:kt,h:kt,hh:kt,d:kt,dd:"%d p\xE4eva",M:kt,MM:kt,y:kt,yy:kt},dayOfMonthOrdinalParse:/\d{1,2}./,ordinal:"%d.",week:{dow:1,doy:4}};var hr="nolla yksi kaksi kolme nelj\xE4 viisi kuusi seitsem\xE4n kahdeksan yhdeks\xE4n".split(" "),jp=["nolla","yhden","kahden","kolmen","nelj\xE4n","viiden","kuuden",hr[7],hr[8],hr[9]];function pt(e,t,n,i){var s="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":s=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":s=i?"tunnin":"tuntia";break;case"d":return i?"p\xE4iv\xE4n":"p\xE4iv\xE4";case"dd":s=i?"p\xE4iv\xE4n":"p\xE4iv\xE4\xE4";break;case"M":return i?"kuukauden":"kuukausi";case"MM":s=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":s=i?"vuoden":"vuotta";break}return s=Bp(e,i)+" "+s,s}function Bp(e,t){return e<10?t?jp[e]:hr[e]:e}var qD={abbr:"fi",months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xE4kuu_hein\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xE4_hein\xE4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xE4n\xE4\xE4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xE4\xE4st\xE4",past:"%s sitten",s:pt,ss:pt,m:pt,mm:pt,h:pt,hh:pt,d:pt,dd:pt,M:pt,MM:pt,y:pt,yy:pt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var JD={abbr:"fr",months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xE0] LT",nextDay:"[Demain \xE0] LT",nextWeek:"dddd [\xE0] LT",lastDay:"[Hier \xE0] LT",lastWeek:"dddd [dernier \xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal(e,t){let n=Number(e);switch(t){case"D":return n+(n===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(n===1?"er":"e");case"w":case"W":return n+(n===1?"re":"e")}},week:{dow:1,doy:4}};var QD={abbr:"fr-ca",months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xE0] LT",nextDay:"[Demain \xE0] LT",nextWeek:"dddd [\xE0] LT",lastDay:"[Hier \xE0] LT",lastWeek:"dddd [dernier \xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e|)/,ordinal(e,t){let n=Number(e);switch(t){case"D":return n+(n===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(n===1?"er":"e");case"w":case"W":return n+(n===1?"re":"e")}},week:{dow:1,doy:4}};var Ed="xan._feb._mar._abr._mai._xu\xF1._xul._ago._set._out._nov._dec.".split("_"),$p="xan_feb_mar_abr_mai_xu\xF1_xul_ago_set_out_nov_dec".split("_"),Fo=[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xuñ/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i],Ld=/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro|xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xuñ\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i,eM={abbr:"gl",months:"xaneiro_febreiro_marzo_abril_maio_xu\xF1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?$p[Q(e,n)]:Ed[Q(e,n)]:Ed},monthsRegex:Ld,monthsShortRegex:Ld,monthsStrictRegex:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i,monthsShortStrictRegex:/^(xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xuñ\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i,monthsParse:Fo,longMonthsParse:Fo,shortMonthsParse:Fo,weekdays:"domingo_luns_martes_m\xE9rcores_xoves_venres_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xE9r._xov._ven._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_m\xE9_xo_ve_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay(e){return"[hoxe \xE1"+(q(e)!==1?"s":"")+"] LT"},nextDay(e){return"[ma\xF1an \xE1"+(q(e)!==1?"s":"")+"] LT"},nextWeek(e){return"dddd [\xE1"+(q(e)!==1?"s":"")+"] LT"},lastDay(e){return"[onte \xE1"+(q(e)!==1?"s":"")+"] LT"},lastWeek(e){return"[o] dddd [pasado \xE1"+(q(e)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var tM={abbr:"he",months:"\u05D9\u05E0\u05D5\u05D0\u05E8_\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8_\u05DE\u05E8\u05E5_\u05D0\u05E4\u05E8\u05D9\u05DC_\u05DE\u05D0\u05D9_\u05D9\u05D5\u05E0\u05D9_\u05D9\u05D5\u05DC\u05D9_\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8_\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8_\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8_\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8_\u05D3\u05E6\u05DE\u05D1\u05E8".split("_"),monthsShort:"\u05D9\u05E0\u05D5\u05F3_\u05E4\u05D1\u05E8\u05F3_\u05DE\u05E8\u05E5_\u05D0\u05E4\u05E8\u05F3_\u05DE\u05D0\u05D9_\u05D9\u05D5\u05E0\u05D9_\u05D9\u05D5\u05DC\u05D9_\u05D0\u05D5\u05D2\u05F3_\u05E1\u05E4\u05D8\u05F3_\u05D0\u05D5\u05E7\u05F3_\u05E0\u05D5\u05D1\u05F3_\u05D3\u05E6\u05DE\u05F3".split("_"),weekdays:"\u05E8\u05D0\u05E9\u05D5\u05DF_\u05E9\u05E0\u05D9_\u05E9\u05DC\u05D9\u05E9\u05D9_\u05E8\u05D1\u05D9\u05E2\u05D9_\u05D7\u05DE\u05D9\u05E9\u05D9_\u05E9\u05D9\u05E9\u05D9_\u05E9\u05D1\u05EA".split("_"),weekdaysShort:"\u05D0\u05F3_\u05D1\u05F3_\u05D2\u05F3_\u05D3\u05F3_\u05D4\u05F3_\u05D5\u05F3_\u05E9\u05F3".split("_"),weekdaysMin:"\u05D0_\u05D1_\u05D2_\u05D3_\u05D4_\u05D5_\u05E9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05D1]MMMM YYYY",LLL:"D [\u05D1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05D1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05D4\u05D9\u05D5\u05DD \u05D1\u05BE]LT",nextDay:"[\u05DE\u05D7\u05E8 \u05D1\u05BE]LT",nextWeek:"dddd [\u05D1\u05E9\u05E2\u05D4] LT",lastDay:"[\u05D0\u05EA\u05DE\u05D5\u05DC \u05D1\u05BE]LT",lastWeek:"[\u05D1\u05D9\u05D5\u05DD] dddd [\u05D4\u05D0\u05D7\u05E8\u05D5\u05DF \u05D1\u05E9\u05E2\u05D4] LT",sameElse:"L"},relativeTime:{future:"\u05D1\u05E2\u05D5\u05D3 %s",past:"\u05DC\u05E4\u05E0\u05D9 %s",s:"\u05DE\u05E1\u05E4\u05E8 \u05E9\u05E0\u05D9\u05D5\u05EA",ss:"%d \u05E9\u05E0\u05D9\u05D5\u05EA",m:"\u05D3\u05E7\u05D4",mm:"%d \u05D3\u05E7\u05D5\u05EA",h:"\u05E9\u05E2\u05D4",hh(e){return e===2?"\u05E9\u05E2\u05EA\u05D9\u05D9\u05DD":e+" \u05E9\u05E2\u05D5\u05EA"},d:"\u05D9\u05D5\u05DD",dd(e){return e===2?"\u05D9\u05D5\u05DE\u05D9\u05D9\u05DD":e+" \u05D9\u05DE\u05D9\u05DD"},M:"\u05D7\u05D5\u05D3\u05E9",MM(e){return e===2?"\u05D7\u05D5\u05D3\u05E9\u05D9\u05D9\u05DD":e+" \u05D7\u05D5\u05D3\u05E9\u05D9\u05DD"},y:"\u05E9\u05E0\u05D4",yy(e){return e===2?"\u05E9\u05E0\u05EA\u05D9\u05D9\u05DD":e%10===0&&e!==10?e+" \u05E9\u05E0\u05D4":e+" \u05E9\u05E0\u05D9\u05DD"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem(e,t,n){return e<5?"\u05DC\u05E4\u05E0\u05D5\u05EA \u05D1\u05D5\u05E7\u05E8":e<10?"\u05D1\u05D1\u05D5\u05E7\u05E8":e<12?n?'\u05DC\u05E4\u05E0\u05D4"\u05E6':"\u05DC\u05E4\u05E0\u05D9 \u05D4\u05E6\u05D4\u05E8\u05D9\u05D9\u05DD":e<18?n?'\u05D0\u05D7\u05D4"\u05E6':"\u05D0\u05D7\u05E8\u05D9 \u05D4\u05E6\u05D4\u05E8\u05D9\u05D9\u05DD":"\u05D1\u05E2\u05E8\u05D1"}};var Wp={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096A",5:"\u096B",6:"\u096C",7:"\u096D",8:"\u096E",9:"\u096F",0:"\u0966"},Up={"\u0967":"1","\u0968":"2","\u0969":"3","\u096A":"4","\u096B":"5","\u096C":"6","\u096D":"7","\u096E":"8","\u096F":"9","\u0966":"0"},iM={abbr:"hi",months:"\u091C\u0928\u0935\u0930\u0940_\u092B\u093C\u0930\u0935\u0930\u0940_\u092E\u093E\u0930\u094D\u091A_\u0905\u092A\u094D\u0930\u0948\u0932_\u092E\u0908_\u091C\u0942\u0928_\u091C\u0941\u0932\u093E\u0908_\u0905\u0917\u0938\u094D\u0924_\u0938\u093F\u0924\u092E\u094D\u092C\u0930_\u0905\u0915\u094D\u091F\u0942\u092C\u0930_\u0928\u0935\u092E\u094D\u092C\u0930_\u0926\u093F\u0938\u092E\u094D\u092C\u0930".split("_"),monthsShort:"\u091C\u0928._\u092B\u093C\u0930._\u092E\u093E\u0930\u094D\u091A_\u0905\u092A\u094D\u0930\u0948._\u092E\u0908_\u091C\u0942\u0928_\u091C\u0941\u0932._\u0905\u0917._\u0938\u093F\u0924._\u0905\u0915\u094D\u091F\u0942._\u0928\u0935._\u0926\u093F\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093F\u0935\u093E\u0930_\u0938\u094B\u092E\u0935\u093E\u0930_\u092E\u0902\u0917\u0932\u0935\u093E\u0930_\u092C\u0941\u0927\u0935\u093E\u0930_\u0917\u0941\u0930\u0942\u0935\u093E\u0930_\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930_\u0936\u0928\u093F\u0935\u093E\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093F_\u0938\u094B\u092E_\u092E\u0902\u0917\u0932_\u092C\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094D\u0930_\u0936\u0928\u093F".split("_"),weekdaysMin:"\u0930_\u0938\u094B_\u092E\u0902_\u092C\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092C\u091C\u0947",LTS:"A h:mm:ss \u092C\u091C\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092C\u091C\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092C\u091C\u0947"},calendar:{sameDay:"[\u0906\u091C] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092A\u093F\u091B\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092E\u0947\u0902",past:"%s \u092A\u0939\u0932\u0947",s:"\u0915\u0941\u091B \u0939\u0940 \u0915\u094D\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090F\u0915 \u092E\u093F\u0928\u091F",mm:"%d \u092E\u093F\u0928\u091F",h:"\u090F\u0915 \u0918\u0902\u091F\u093E",hh:"%d \u0918\u0902\u091F\u0947",d:"\u090F\u0915 \u0926\u093F\u0928",dd:"%d \u0926\u093F\u0928",M:"\u090F\u0915 \u092E\u0939\u0940\u0928\u0947",MM:"%d \u092E\u0939\u0940\u0928\u0947",y:"\u090F\u0915 \u0935\u0930\u094D\u0937",yy:"%d \u0935\u0930\u094D\u0937"},preparse(e){return e.replace(/[१२३४५६७८९०]/g,function(t){return Up[t]})},postformat(e){return e.replace(/\d/g,function(t){return Wp[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour(e,t){if(e===12&&(e=0),t==="\u0930\u093E\u0924")return e<4?e:e+12;if(t==="\u0938\u0941\u092C\u0939")return e;if(t==="\u0926\u094B\u092A\u0939\u0930")return e>=10?e:e+12;if(t==="\u0936\u093E\u092E")return e+12},meridiem(e,t,n){return e<4?"\u0930\u093E\u0924":e<10?"\u0938\u0941\u092C\u0939":e<17?"\u0926\u094B\u092A\u0939\u0930":e<20?"\u0936\u093E\u092E":"\u0930\u093E\u0924"},week:{dow:0,doy:6}};var zp="vas\xE1rnap h\xE9tf\u0151n kedden szerd\xE1n cs\xFCt\xF6rt\xF6k\xF6n p\xE9nteken szombaton".split(" ");function ft(e,t,n,i){switch(n){case"s":return i||t?"n\xE9h\xE1ny m\xE1sodperc":"n\xE9h\xE1ny m\xE1sodperce";case"ss":return e+(i||t?" m\xE1sodperc":" m\xE1sodperce");case"m":return"egy"+(i||t?" perc":" perce");case"mm":return e+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xF3ra":" \xF3r\xE1ja");case"hh":return e+(i||t?" \xF3ra":" \xF3r\xE1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return e+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xF3nap":" h\xF3napja");case"MM":return e+(i||t?" h\xF3nap":" h\xF3napja");case"y":return"egy"+(i||t?" \xE9v":" \xE9ve");case"yy":return e+(i||t?" \xE9v":" \xE9ve")}return""}function Od(e,t){return(t?"":"[m\xFAlt] ")+"["+zp[Pe(e)]+"] LT[-kor]"}var nM={abbr:"hu",months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM(e){return e.charAt(1).toLowerCase()==="u"},meridiem(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek(e){return Od(e,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek(e){return Od(e,!1)},sameElse:"L"},relativeTime:{future:"%s m\xFAlva",past:"%s",s:ft,ss:ft,m:ft,mm:ft,h:ft,hh:ft,d:ft,dd:ft,M:ft,MM:ft,y:ft,yy:ft},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var sM={abbr:"hr",months:"Sije\u010Danj_Velja\u010Da_O\u017Eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),monthsShort:"Sij_Velj_O\u017Eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),weekdays:"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010Cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned_Pon_Uto_Sri_\u010Cet_Pet_Sub".split("_"),weekdaysMin:"Ne_Po_Ut_Sr_\u010Ce_Pe_Su".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Danas u] LT",nextDay:"[Sutra u] LT",nextWeek:"dddd [u] LT",lastDay:"[Ju\u010Der u] LT",lastWeek:"[Zadnji] dddd [u] LT",sameElse:"L"},invalidDate:"Neispravan datum",relativeTime:{future:"za %s",past:"%s prije",s:"nekoliko sekundi",ss:"%d sekundi",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godina"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(e){let t=Number(e),n=t%10,i=(~~(t%100/10)===1,".");return t+i},week:{dow:1,doy:4}};var rM={abbr:"id",months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour(e,t){if(e===12&&(e=0),t==="pagi")return e;if(t==="siang")return e>=11?e:e+12;if(t==="sore"||t==="malam")return e+12},meridiem(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}};var oM={abbr:"it",months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek(e){switch(Pe(e)){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future(e){return(/^[0-9].+$/.test(e.toString(10))?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var aM={abbr:"ja",months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM(e){return e==="\u5348\u5F8C"},meridiem(e,t,n){return e<12?"\u5348\u524D":"\u5348\u5F8C"},calendar:{sameDay:"[\u4ECA\u65E5] LT",nextDay:"[\u660E\u65E5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65E5] LT",lastWeek:"[\u524D\u9031]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65E5";default:return e.toString(10)}},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",ss:"%d\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};var lM={abbr:"ka",months:{format:"\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10E1_\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10E1_\u10DB\u10D0\u10E0\u10E2\u10E1_\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8\u10E1_\u10DB\u10D0\u10D8\u10E1\u10E1_\u10D8\u10D5\u10DC\u10D8\u10E1\u10E1_\u10D8\u10D5\u10DA\u10D8\u10E1\u10E1_\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10E1_\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10E1_\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10E1_\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10E1_\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10E1".split("_"),standalone:"\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8_\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8_\u10DB\u10D0\u10E0\u10E2\u10D8_\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8_\u10DB\u10D0\u10D8\u10E1\u10D8_\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8_\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8_\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD_\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8_\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8_\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8_\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8".split("_")},monthsShort:"\u10D8\u10D0\u10DC_\u10D7\u10D4\u10D1_\u10DB\u10D0\u10E0_\u10D0\u10DE\u10E0_\u10DB\u10D0\u10D8_\u10D8\u10D5\u10DC_\u10D8\u10D5\u10DA_\u10D0\u10D2\u10D5_\u10E1\u10D4\u10E5_\u10DD\u10E5\u10E2_\u10DC\u10DD\u10D4_\u10D3\u10D4\u10D9".split("_"),weekdays:{standalone:"\u10D9\u10D5\u10D8\u10E0\u10D0_\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8_\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8".split("_"),format:"\u10D9\u10D5\u10D8\u10E0\u10D0\u10E1_\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10E1_\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"\u10D9\u10D5\u10D8_\u10DD\u10E0\u10E8_\u10E1\u10D0\u10DB_\u10DD\u10D7\u10EE_\u10EE\u10E3\u10D7_\u10DE\u10D0\u10E0_\u10E8\u10D0\u10D1".split("_"),weekdaysMin:"\u10D9\u10D5_\u10DD\u10E0_\u10E1\u10D0_\u10DD\u10D7_\u10EE\u10E3_\u10DE\u10D0_\u10E8\u10D0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10D3\u10E6\u10D4\u10E1] LT[-\u10D6\u10D4]",nextDay:"[\u10EE\u10D5\u10D0\u10DA] LT[-\u10D6\u10D4]",lastDay:"[\u10D2\u10E3\u10E8\u10D8\u10DC] LT[-\u10D6\u10D4]",nextWeek:"[\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2] dddd LT[-\u10D6\u10D4]",lastWeek:"[\u10EC\u10D8\u10DC\u10D0] dddd LT-\u10D6\u10D4",sameElse:"L"},relativeTime:{future(e){var t=e.toString();return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"\u10E8\u10D8"):t+"\u10E8\u10D8"},past(e){var t=e.toString();if(/(წამი|წუთი|საათი|დღე|თვე)/.test(t))return t.replace(/(ი|ე)$/,"\u10D8\u10E1 \u10EC\u10D8\u10DC");if(/წელი/.test(t))return t.replace(/წელი$/,"\u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC")},s:"\u10E0\u10D0\u10DB\u10D3\u10D4\u10DC\u10D8\u10DB\u10D4 \u10EC\u10D0\u10DB\u10D8",ss:"%d \u10EC\u10D0\u10DB\u10D8",m:"\u10EC\u10E3\u10D7\u10D8",mm:"%d \u10EC\u10E3\u10D7\u10D8",h:"\u10E1\u10D0\u10D0\u10D7\u10D8",hh:"%d \u10E1\u10D0\u10D0\u10D7\u10D8",d:"\u10D3\u10E6\u10D4",dd:"%d \u10D3\u10E6\u10D4",M:"\u10D7\u10D5\u10D4",MM:"%d \u10D7\u10D5\u10D4",y:"\u10EC\u10D4\u10DA\u10D8",yy:"%d \u10EC\u10D4\u10DA\u10D8"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal(e,t){let n=Number(e);return n===0?n.toString():n===1?n+"-\u10DA\u10D8":n<20||n<=100&&n%20===0||n%100===0?"\u10DB\u10D4-"+n:n+"-\u10D4"},week:{dow:1,doy:4}},jo={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044B",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044B",10:"-\u0448\u044B",20:"-\u0448\u044B",30:"-\u0448\u044B",40:"-\u0448\u044B",50:"-\u0448\u0456",60:"-\u0448\u044B",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044B",100:"-\u0448\u0456"},cM={abbr:"kk",months:"\u049B\u0430\u04A3\u0442\u0430\u0440_\u0430\u049B\u043F\u0430\u043D_\u043D\u0430\u0443\u0440\u044B\u0437_\u0441\u04D9\u0443\u0456\u0440_\u043C\u0430\u043C\u044B\u0440_\u043C\u0430\u0443\u0441\u044B\u043C_\u0448\u0456\u043B\u0434\u0435_\u0442\u0430\u043C\u044B\u0437_\u049B\u044B\u0440\u043A\u04AF\u0439\u0435\u043A_\u049B\u0430\u0437\u0430\u043D_\u049B\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043B\u0442\u043E\u049B\u0441\u0430\u043D".split("_"),monthsShort:"\u049B\u0430\u04A3_\u0430\u049B\u043F_\u043D\u0430\u0443_\u0441\u04D9\u0443_\u043C\u0430\u043C_\u043C\u0430\u0443_\u0448\u0456\u043B_\u0442\u0430\u043C_\u049B\u044B\u0440_\u049B\u0430\u0437_\u049B\u0430\u0440_\u0436\u0435\u043B".split("_"),weekdays:"\u0436\u0435\u043A\u0441\u0435\u043D\u0431\u0456_\u0434\u04AF\u0439\u0441\u0435\u043D\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043D\u0431\u0456_\u0441\u04D9\u0440\u0441\u0435\u043D\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043D\u0431\u0456_\u0436\u04B1\u043C\u0430_\u0441\u0435\u043D\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043A_\u0434\u04AF\u0439_\u0441\u0435\u0439_\u0441\u04D9\u0440_\u0431\u0435\u0439_\u0436\u04B1\u043C_\u0441\u0435\u043D".split("_"),weekdaysMin:"\u0436\u043A_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043C_\u0441\u043D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04AF\u0433\u0456\u043D \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04A3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041A\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04E8\u0442\u043A\u0435\u043D \u0430\u043F\u0442\u0430\u043D\u044B\u04A3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043D\u0434\u0435",past:"%s \u0431\u04B1\u0440\u044B\u043D",s:"\u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434",ss:"%d \u0441\u0435\u043A\u0443\u043D\u0434",m:"\u0431\u0456\u0440 \u043C\u0438\u043D\u0443\u0442",mm:"%d \u043C\u0438\u043D\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043A\u04AF\u043D",dd:"%d \u043A\u04AF\u043D",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044B\u043B",yy:"%d \u0436\u044B\u043B"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal(e){let t=e%10,n=e>=100?100:null;return e+(jo[e]||jo[t]||jo[n])},week:{dow:1,doy:7}};var dM={abbr:"ko",months:"1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"),monthsShort:"1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"),weekdays:"\uC77C\uC694\uC77C_\uC6D4\uC694\uC77C_\uD654\uC694\uC77C_\uC218\uC694\uC77C_\uBAA9\uC694\uC77C_\uAE08\uC694\uC77C_\uD1A0\uC694\uC77C".split("_"),weekdaysShort:"\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"),weekdaysMin:"\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY\uB144 MMMM D\uC77C",LLL:"YYYY\uB144 MMMM D\uC77C A h:mm",LLLL:"YYYY\uB144 MMMM D\uC77C dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY\uB144 MMMM D\uC77C",lll:"YYYY\uB144 MMMM D\uC77C A h:mm",llll:"YYYY\uB144 MMMM D\uC77C dddd A h:mm"},calendar:{sameDay:"\uC624\uB298 LT",nextDay:"\uB0B4\uC77C LT",nextWeek:"dddd LT",lastDay:"\uC5B4\uC81C LT",lastWeek:"\uC9C0\uB09C\uC8FC dddd LT",sameElse:"L"},relativeTime:{future:"%s \uD6C4",past:"%s \uC804",s:"\uBA87 \uCD08",ss:"%d\uCD08",m:"1\uBD84",mm:"%d\uBD84",h:"\uD55C \uC2DC\uAC04",hh:"%d\uC2DC\uAC04",d:"\uD558\uB8E8",dd:"%d\uC77C",M:"\uD55C \uB2EC",MM:"%d\uB2EC",y:"\uC77C \uB144",yy:"%d\uB144"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uC77C";case"M":return e+"\uC6D4";case"w":case"W":return e+"\uC8FC";default:return e.toString(10)}},meridiemParse:/오전|오후/,isPM:function(e){return e==="\uC624\uD6C4"},meridiem:function(e,t,n){return e<12?"\uC624\uC804":"\uC624\uD6C4"}};var Gp={ss:"sekund\u0117_sekund\u017Ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010Di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012F",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function Kp(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017Ei\u0173":"kelias sekundes"}function En(e,t,n,i){return t?ci(n)[0]:i?ci(n)[1]:ci(n)[2]}function Rd(e){return e%10===0||e>10&&e<20}function ci(e){return Gp[e].split("_")}function Dn(e,t,n,i){let s=e+" ";return e===1?s+En(e,t,n[0],i):t?s+(Rd(e)?ci(n)[1]:ci(n)[0]):i?s+ci(n)[1]:s+(Rd(e)?ci(n)[1]:ci(n)[2])}var uM={abbr:"lt",months:{format:"sausio_vasario_kovo_baland\u017Eio_gegu\u017E\u0117s_bir\u017Eelio_liepos_rugpj\u016B\u010Dio_rugs\u0117jo_spalio_lapkri\u010Dio_gruod\u017Eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017E\u0117_bir\u017Eelis_liepa_rugpj\u016Btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012F_pirmadien\u012F_antradien\u012F_tre\u010Diadien\u012F_ketvirtadien\u012F_penktadien\u012F_\u0161e\u0161tadien\u012F".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010Diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012F] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:Kp,ss:Dn,m:En,mm:Dn,h:En,hh:Dn,d:En,dd:Dn,M:En,MM:Dn,y:En,yy:Dn},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal(e){return e+"-oji"},week:{dow:1,doy:4}};var hM={abbr:"lv",months:"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012Blis_Maijs_J\u016Bnijs_J\u016Blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mai_J\u016Bn_J\u016Bl_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),weekdaysShort:"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),weekdaysMin:"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:"da\u017E\u0101m sekund\u0113m",ss:"%d sekund\u0113m",m:"min\u016Btes",mm:"%d min\u016Bt\u0113m",h:"stundas",hh:"%d stund\u0101m",d:"dienas",dd:"%d dien\u0101m",M:"m\u0113ne\u0161a",MM:"%d m\u0113ne\u0161iem",y:"gada",yy:"%d gadiem"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal(e){return e+"."},week:{dow:1,doy:4}};function gt(e,t,n,i){switch(n){case"s":return t?"\u0445\u044D\u0434\u0445\u044D\u043D \u0441\u0435\u043A\u0443\u043D\u0434":"\u0445\u044D\u0434\u0445\u044D\u043D \u0441\u0435\u043A\u0443\u043D\u0434\u044B\u043D";case"ss":return e+(t?" \u0441\u0435\u043A\u0443\u043D\u0434":" \u0441\u0435\u043A\u0443\u043D\u0434\u044B\u043D");case"m":case"mm":return e+(t?" \u043C\u0438\u043D\u0443\u0442":" \u043C\u0438\u043D\u0443\u0442\u044B\u043D");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043D");case"d":case"dd":return e+(t?" \u04E9\u0434\u04E9\u0440":" \u04E9\u0434\u0440\u0438\u0439\u043D");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044B\u043D");case"y":case"yy":return e+(t?" \u0436\u0438\u043B":" \u0436\u0438\u043B\u0438\u0439\u043D");default:return e.toString(10)}}var _M={abbr:"mn",months:"\u041D\u044D\u0433\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0425\u043E\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04E9\u0440\u04E9\u0432\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043E\u043B\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041D\u0430\u0439\u043C\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043D \u043D\u044D\u0433\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043D \u0445\u043E\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041D\u044F\u043C_\u0414\u0430\u0432\u0430\u0430_\u041C\u044F\u0433\u043C\u0430\u0440_\u041B\u0445\u0430\u0433\u0432\u0430_\u041F\u04AF\u0440\u044D\u0432_\u0411\u0430\u0430\u0441\u0430\u043D_\u0411\u044F\u043C\u0431\u0430".split("_"),weekdaysShort:"\u041D\u044F\u043C_\u0414\u0430\u0432_\u041C\u044F\u0433_\u041B\u0445\u0430_\u041F\u04AF\u0440_\u0411\u0430\u0430_\u0411\u044F\u043C".split("_"),weekdaysMin:"\u041D\u044F_\u0414\u0430_\u041C\u044F_\u041B\u0445_\u041F\u04AF_\u0411\u0430_\u0411\u044F".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043E\u043D\u044B MMMM\u044B\u043D D",LLL:"YYYY \u043E\u043D\u044B MMMM\u044B\u043D D HH:mm",LLLL:"dddd, YYYY \u043E\u043D\u044B MMMM\u044B\u043D D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return e==="\u04AE\u0425"},meridiem:function(e,t,n){return e<12?"\u04AE\u04E8":"\u04AE\u0425"},calendar:{sameDay:"[\u04E8\u043D\u04E9\u04E9\u0434\u04E9\u0440] LT",nextDay:"[\u041C\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044D\u0445] dddd LT",lastDay:"[\u04E8\u0447\u0438\u0433\u0434\u04E9\u0440] LT",lastWeek:"[\u04E8\u043D\u0433\u04E9\u0440\u0441\u04E9\u043D] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04E9\u043C\u043D\u04E9",s:gt,ss:gt,m:gt,mm:gt,h:gt,hh:gt,d:gt,dd:gt,M:gt,MM:gt,y:gt,yy:gt},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04E9\u0434\u04E9\u0440";default:return e.toString(10)}}};var mM={abbr:"nb",months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),weekdaysMin:"s\xF8_ma_ti_on_to_fr_l\xF8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xE5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"ett \xE5r",yy:"%d \xE5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var Id="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Xp="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Bo=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ad=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,pM={abbr:"nl-be",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Xp[Q(e,n)]:Id[Q(e,n)]:Id},monthsRegex:Ad,monthsShortRegex:Ad,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Bo,longMonthsParse:Bo,shortMonthsParse:Bo,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xE9\xE9n minuut",mm:"%d minuten",h:"\xE9\xE9n uur",hh:"%d uur",d:"\xE9\xE9n dag",dd:"%d dagen",M:"\xE9\xE9n maand",MM:"%d maanden",y:"\xE9\xE9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(e){let t=Number(e);return t+(t===1||t===8||t>=20?"ste":"de")},week:{dow:1,doy:4}};var Yd="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Zp="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),$o=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Pd=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,fM={abbr:"nl",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort(e,t,n){return e?/-MMM-/.test(t)?Zp[Q(e,n)]:Yd[Q(e,n)]:Yd},monthsRegex:Pd,monthsShortRegex:Pd,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:$o,longMonthsParse:$o,shortMonthsParse:$o,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xE9\xE9n minuut",mm:"%d minuten",h:"\xE9\xE9n uur",hh:"%d uur",d:"\xE9\xE9n dag",dd:"%d dagen",M:"\xE9\xE9n maand",MM:"%d maanden",y:"\xE9\xE9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(e){let t=Number(e);return t+(t===1||t===8||t>=20?"ste":"de")},week:{dow:1,doy:4}};var Wo="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"),Hd="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_");function ls(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function $i(e,t,n){let i=e+" ";switch(n){case"ss":return i+(ls(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return i+(ls(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return i+(ls(e)?"godziny":"godzin");case"MM":return i+(ls(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(ls(e)?"lata":"lat")}}var gM={abbr:"pl",months(e,t,n){return e?t===""?"("+Hd[Q(e,n)]+"|"+Wo[Q(e,n)]+")":/D MMMM/.test(t)?Hd[Q(e,n)]:Wo[Q(e,n)]:Wo},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015Br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015B o] LT",nextDay:"[Jutro o] LT",nextWeek(e){switch(Pe(e)){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015Brod\u0119 o] LT";case 5:return"[W pi\u0105tek o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek(e){switch(Pe(e)){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015Brod\u0119 o] LT";case 4:return"[W zesz\u0142\u0105 czwartek o] LT";case 5:return"[W zesz\u0142\u0105 pi\u0105tek o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:$i,m:$i,mm:$i,h:$i,hh:$i,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:$i,y:"rok",yy:$i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var vM={abbr:"pt-br",months:"Janeiro_Fevereiro_Mar\xE7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xE7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xE1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xE1b".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_S\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},calendar:{sameDay:"[Hoje \xE0s] LT",nextDay:"[Amanh\xE3 \xE0s] LT",nextWeek:"dddd [\xE0s] LT",lastDay:"[Ontem \xE0s] LT",lastWeek(e){return Pe(e)===0||Pe(e)===6?"[\xDAltimo] dddd [\xE0s] LT":"[\xDAltima] dddd [\xE0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xE1s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA"};function Mn(e,t,n){let i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},s=" ";return(e%100>=20||e>=100&&e%100===0)&&(s=" de "),e+s+i[n]}var yM={abbr:"ro",months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021Bi_miercuri_joi_vineri_s\xE2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xE2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xE2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xE2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xEEn urm\u0103",s:"c\xE2teva secunde",ss:Mn,m:"un minut",mm:Mn,h:"o or\u0103",hh:Mn,d:"o zi",dd:Mn,M:"o lun\u0103",MM:Mn,y:"un an",yy:Mn},week:{dow:1,doy:7}};function qp(e,t){let n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function Wi(e,t,n){let i={ss:t?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434",mm:t?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"};return n==="m"?t?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":e+" "+qp(i[n],+e)}var Uo=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],bM={abbr:"ru",months:{format:"\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),standalone:"\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_")},monthsShort:{format:"\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),standalone:"\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_")},weekdays:{standalone:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),format:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),monthsParse:Uo,longMonthsParse:Uo,shortMonthsParse:Uo,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek(e,t){if(cs(t)!==cs(e))switch(Pe(e)){case 0:return"[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd [\u0432] LT"}else return Pe(e)===2?"[\u0412\u043E] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT"},lastWeek(e,t){if(cs(t)!==cs(e))switch(Pe(e)){case 0:return"[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd [\u0432] LT"}else return Pe(e)===2?"[\u0412\u043E] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT"},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",ss:Wi,m:Wi,mm:Wi,h:"\u0447\u0430\u0441",hh:Wi,d:"\u0434\u0435\u043D\u044C",dd:Wi,M:"\u043C\u0435\u0441\u044F\u0446",MM:Wi,y:"\u0433\u043E\u0434",yy:Wi},meridiemParse:/ночи|утра|дня|вечера/i,isPM(e){return/^(дня|вечера)$/.test(e)},meridiem(e,t,n){return e<4?"\u043D\u043E\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal(e,t){let n=Number(e);switch(t){case"M":case"d":case"DDD":return n+"-\u0439";case"D":return n+"-\u0433\u043E";case"w":case"W":return n+"-\u044F";default:return n.toString(10)}},week:{dow:1,doy:4}};var Jp="janu\xE1r_febru\xE1r_marec_apr\xEDl_m\xE1j_j\xFAn_j\xFAl_august_september_okt\xF3ber_november_december".split("_"),Qp="jan_feb_mar_apr_m\xE1j_j\xFAn_j\xFAl_aug_sep_okt_nov_dec".split("_");function Cn(e){return e>1&&e<5&&~~(e/10)!==1}function vt(e,t,n,i){let s=e+" ";switch(n){case"s":return t||i?"p\xE1r sek\xFAnd":"p\xE1r sekundami";case"ss":return t||i?s+(Cn(e)?"sekundy":"sek\xFAnd"):s+"sekundami";case"m":return t?"min\xFAta":i?"min\xFAtu":"min\xFAtou";case"mm":return t||i?s+(Cn(e)?"min\xFAty":"min\xFAt"):s+"min\xFAtami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?s+(Cn(e)?"hodiny":"hod\xEDn"):s+"hodinami";case"d":return t||i?"de\u0148":"d\u0148om";case"dd":return t||i?s+(Cn(e)?"dni":"dn\xED"):s+"d\u0148ami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?s+(Cn(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?s+(Cn(e)?"roky":"rokov"):s+"rokmi"}}var wM={abbr:"sk",months:Jp,monthsShort:Qp,weekdays:"nede\u013Ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek(e){switch(Pe(e)){case 0:return"[v nede\u013Eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010Dera o] LT",lastWeek(e){switch(Pe(e)){case 0:return"[minul\xFA nede\u013Eu o] LT";case 1:case 2:return"[minul\xFD] dddd [o] LT";case 3:return"[minul\xFA stredu o] LT";case 4:case 5:return"[minul\xFD] dddd [o] LT";case 6:return"[minul\xFA sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"o %s",past:"pred %s",s:vt,ss:vt,m:vt,mm:vt,h:vt,hh:vt,d:vt,dd:vt,M:vt,MM:vt,y:vt,yy:vt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function yt(e,t,n,i){var s=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return e===1?s+=t?"sekundo":"sekundi":e===2?s+=t||i?"sekundi":"sekundah":e<5?s+=t||i?"sekunde":"sekundah":s+="sekund",s;case"m":return t?"ena minuta":"eno minuto";case"mm":return e===1?s+=t?"minuta":"minuto":e===2?s+=t||i?"minuti":"minutama":e<5?s+=t||i?"minute":"minutami":s+=t||i?"minut":"minutami",s;case"h":return t?"ena ura":"eno uro";case"hh":return e===1?s+=t?"ura":"uro":e===2?s+=t||i?"uri":"urama":e<5?s+=t||i?"ure":"urami":s+=t||i?"ur":"urami",s;case"d":return t||i?"en dan":"enim dnem";case"dd":return e===1?s+=t||i?"dan":"dnem":e===2?s+=t||i?"dni":"dnevoma":s+=t||i?"dni":"dnevi",s;case"M":return t||i?"en mesec":"enim mesecem";case"MM":return e===1?s+=t||i?"mesec":"mesecem":e===2?s+=t||i?"meseca":"mesecema":e<5?s+=t||i?"mesece":"meseci":s+=t||i?"mesecev":"meseci",s;case"y":return t||i?"eno leto":"enim letom";case"yy":return e===1?s+=t||i?"leto":"letom":e===2?s+=t||i?"leti":"letoma":e<5?s+=t||i?"leta":"leti":s+=t||i?"let":"leti",s}}var SM={abbr:"sl",months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010Detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010Det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010De_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek(e){switch(Pe(e)){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010Deraj ob] LT",lastWeek(e){switch(Pe(e)){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010Dez %s",past:"pred %s",s:yt,ss:yt,m:yt,mm:yt,h:yt,hh:yt,d:yt,dd:yt,M:yt,MM:yt,y:yt,yy:yt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}};var DM={abbr:"sq",months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xEBntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xEBn_Dhj".split("_"),weekdays:"E Diel\xEB_E H\xEBn\xEB_E Mart\xEB_E M\xEBrkur\xEB_E Enjte_E Premte_E Shtun\xEB".split("_"),weekdaysShort:"Die_H\xEBn_Mar_M\xEBr_Enj_Pre_Sht".split("_"),weekdaysMin:"Di_He_Ma_Me_En_Pr_Sh".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xEB] LT",nextDay:"[Nes\xEBr n\xEB] LT",nextWeek:"dddd [n\xEB] LT",lastDay:"[Dje n\xEB] LT",lastWeek:"dddd [e kaluar n\xEB] LT",sameElse:"L"},relativeTime:{future:"n\xEB %s",past:"para %sve",s:"disa sekonda",ss:"%d sekonda",m:"nj\xEB minut",mm:"%d minuta",h:"nj\xEB or\xEB",hh:"%d or\xEB",d:"nj\xEB dit\xEB",dd:"%d dit\xEB",M:"nj\xEB muaj",MM:"%d muaj",y:"nj\xEB vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var MM={abbr:"sv",months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"),weekdaysShort:"s\xF6n_m\xE5n_tis_ons_tor_fre_l\xF6r".split("_"),weekdaysMin:"s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xE5r] LT",nextWeek:"[P\xE5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xF6r %s sedan",s:"n\xE5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xE5nad",MM:"%d m\xE5nader",y:"ett \xE5r",yy:"%d \xE5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal(e){let t=Number(e),n=t%10,i=~~(t%100/10)===1?"e":n===1||n===2?"a":"e";return t+i},week:{dow:1,doy:4}},CM={abbr:"th",months:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21_\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C_\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21_\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19_\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21_\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19_\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21_\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21_\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19_\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21_\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19_\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21".split("_"),monthsShort:"\u0E21.\u0E04._\u0E01.\u0E1E._\u0E21\u0E35.\u0E04._\u0E40\u0E21.\u0E22._\u0E1E.\u0E04._\u0E21\u0E34.\u0E22._\u0E01.\u0E04._\u0E2A.\u0E04._\u0E01.\u0E22._\u0E15.\u0E04._\u0E1E.\u0E22._\u0E18.\u0E04.".split("_"),monthsParseExact:!0,weekdays:"\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C_\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C_\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23_\u0E1E\u0E38\u0E18_\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35_\u0E28\u0E38\u0E01\u0E23\u0E4C_\u0E40\u0E2A\u0E32\u0E23\u0E4C".split("_"),weekdaysShort:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysMin:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm",LLLL:"\u0E27\u0E31\u0E19dddd\u0E17\u0E35\u0E48 D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM(e){return e==="\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},meridiem(e,t,n){return e<12?"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},calendar:{sameDay:"[\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextDay:"[\u0E1E\u0E23\u0E38\u0E48\u0E07\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextWeek:"dddd[\u0E2B\u0E19\u0E49\u0E32 \u0E40\u0E27\u0E25\u0E32] LT",lastDay:"[\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E27\u0E32\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",lastWeek:"[\u0E27\u0E31\u0E19]dddd[\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E40\u0E27\u0E25\u0E32] LT",sameElse:"L"},relativeTime:{future:"\u0E2D\u0E35\u0E01 %s",past:"%s\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27",s:"\u0E44\u0E21\u0E48\u0E01\u0E35\u0E48\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",ss:"%d \u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",m:"1 \u0E19\u0E32\u0E17\u0E35",mm:"%d \u0E19\u0E32\u0E17\u0E35",h:"1 \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",hh:"%d \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",d:"1 \u0E27\u0E31\u0E19",dd:"%d \u0E27\u0E31\u0E19",M:"1 \u0E40\u0E14\u0E37\u0E2D\u0E19",MM:"%d \u0E40\u0E14\u0E37\u0E2D\u0E19",y:"1 \u0E1B\u0E35",yy:"%d \u0E1B\u0E35"}},Nd={abbr:"th-be",months:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21_\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C_\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21_\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19_\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21_\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19_\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21_\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21_\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19_\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21_\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19_\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21".split("_"),monthsShort:"\u0E21.\u0E04._\u0E01.\u0E1E._\u0E21\u0E35.\u0E04._\u0E40\u0E21.\u0E22._\u0E1E.\u0E04._\u0E21\u0E34.\u0E22._\u0E01.\u0E04._\u0E2A.\u0E04._\u0E01.\u0E22._\u0E15.\u0E04._\u0E1E.\u0E22._\u0E18.\u0E04.".split("_"),monthsParseExact:!0,weekdays:"\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C_\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C_\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23_\u0E1E\u0E38\u0E18_\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35_\u0E28\u0E38\u0E01\u0E23\u0E4C_\u0E40\u0E2A\u0E32\u0E23\u0E4C".split("_"),weekdaysShort:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysMin:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm",LLLL:"\u0E27\u0E31\u0E19dddd\u0E17\u0E35\u0E48 D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM(e){return e==="\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},meridiem(e,t,n){return e<12?"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},calendar:{sameDay:"[\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextDay:"[\u0E1E\u0E23\u0E38\u0E48\u0E07\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextWeek:"dddd[\u0E2B\u0E19\u0E49\u0E32 \u0E40\u0E27\u0E25\u0E32] LT",lastDay:"[\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E27\u0E32\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",lastWeek:"[\u0E27\u0E31\u0E19]dddd[\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E40\u0E27\u0E25\u0E32] LT",sameElse:"L"},relativeTime:{future:"\u0E2D\u0E35\u0E01 %s",past:"%s\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27",s:"\u0E44\u0E21\u0E48\u0E01\u0E35\u0E48\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",ss:"%d \u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",m:"1 \u0E19\u0E32\u0E17\u0E35",mm:"%d \u0E19\u0E32\u0E17\u0E35",h:"1 \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",hh:"%d \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",d:"1 \u0E27\u0E31\u0E19",dd:"%d \u0E27\u0E31\u0E19",M:"1 \u0E40\u0E14\u0E37\u0E2D\u0E19",MM:"%d \u0E40\u0E14\u0E37\u0E2D\u0E19",y:"1 \u0E1B\u0E35",yy:"%d \u0E1B\u0E35"},preparse(e,t){let n=Nd.longDateFormat[t]?Nd.longDateFormat[t]:t;if(n.indexOf("YYYY",n.length-4)!==-1){let i=e.substr(0,e.length-4),s=parseInt(e.substr(e.length-4),10)-543;return i+s}return e},getFullYear(e,t=!1){return 543+(t?e.getUTCFullYear():e.getFullYear())}};var zo={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xFCnc\xFC",4:"'\xFCnc\xFC",100:"'\xFCnc\xFC",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"},kM={abbr:"tr",months:"Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xC7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xFCn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xFCn] LT",lastWeek:"[ge\xE7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xF6nce",s:"birka\xE7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xFCn",dd:"%d g\xFCn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal(e){let t=Number(e);if(t===0)return t+"'\u0131nc\u0131";let n=t%10,i=t%100-n,s=t>=100?100:null;return t+(zo[n]||zo[i]||zo[s])},week:{dow:1,doy:7}};function ef(e,t){let n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function Ui(e,t,n){let i={ss:t?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u0438_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u0438_\u0441\u0435\u043A\u0443\u043D\u0434",mm:t?"\u0445\u0432\u0438\u043B\u0438\u043D\u0430_\u0445\u0432\u0438\u043B\u0438\u043D\u0438_\u0445\u0432\u0438\u043B\u0438\u043D":"\u0445\u0432\u0438\u043B\u0438\u043D\u0443_\u0445\u0432\u0438\u043B\u0438\u043D\u0438_\u0445\u0432\u0438\u043B\u0438\u043D",hh:t?"\u0433\u043E\u0434\u0438\u043D\u0430_\u0433\u043E\u0434\u0438\u043D\u0438_\u0433\u043E\u0434\u0438\u043D":"\u0433\u043E\u0434\u0438\u043D\u0443_\u0433\u043E\u0434\u0438\u043D\u0438_\u0433\u043E\u0434\u0438\u043D",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u0456_\u0434\u043D\u0456\u0432",MM:"\u043C\u0456\u0441\u044F\u0446\u044C_\u043C\u0456\u0441\u044F\u0446\u0456_\u043C\u0456\u0441\u044F\u0446\u0456\u0432",yy:"\u0440\u0456\u043A_\u0440\u043E\u043A\u0438_\u0440\u043E\u043A\u0456\u0432"};return n==="m"?t?"\u0445\u0432\u0438\u043B\u0438\u043D\u0430":"\u0445\u0432\u0438\u043B\u0438\u043D\u0443":n==="h"?t?"\u0433\u043E\u0434\u0438\u043D\u0430":"\u0433\u043E\u0434\u0438\u043D\u0443":e+" "+ef(i[n],+e)}function tf(e,t,n){let i={nominative:"\u043D\u0435\u0434\u0456\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F_\u0441\u0443\u0431\u043E\u0442\u0430".split("_"),accusative:"\u043D\u0435\u0434\u0456\u043B\u044E_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044E_\u0441\u0443\u0431\u043E\u0442\u0443".split("_"),genitive:"\u043D\u0435\u0434\u0456\u043B\u0456_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043A\u0430_\u0432\u0456\u0432\u0442\u043E\u0440\u043A\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u0456_\u0441\u0443\u0431\u043E\u0442\u0438".split("_")};if(!e)return i.nominative;let s=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return i[s][Pe(e,n)]}function kn(e){return function(t){return e+"\u043E"+(q(t)===11?"\u0431":"")+"] LT"}}var TM={abbr:"uk",months:{format:"\u0441\u0456\u0447\u043D\u044F_\u043B\u044E\u0442\u043E\u0433\u043E_\u0431\u0435\u0440\u0435\u0437\u043D\u044F_\u043A\u0432\u0456\u0442\u043D\u044F_\u0442\u0440\u0430\u0432\u043D\u044F_\u0447\u0435\u0440\u0432\u043D\u044F_\u043B\u0438\u043F\u043D\u044F_\u0441\u0435\u0440\u043F\u043D\u044F_\u0432\u0435\u0440\u0435\u0441\u043D\u044F_\u0436\u043E\u0432\u0442\u043D\u044F_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043D\u044F".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043D\u044C_\u043B\u044E\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C_\u043A\u0432\u0456\u0442\u0435\u043D\u044C_\u0442\u0440\u0430\u0432\u0435\u043D\u044C_\u0447\u0435\u0440\u0432\u0435\u043D\u044C_\u043B\u0438\u043F\u0435\u043D\u044C_\u0441\u0435\u0440\u043F\u0435\u043D\u044C_\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C_\u0436\u043E\u0432\u0442\u0435\u043D\u044C_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043D\u044C".split("_")},monthsShort:"\u0441\u0456\u0447_\u043B\u044E\u0442_\u0431\u0435\u0440_\u043A\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043B\u0438\u043F_\u0441\u0435\u0440\u043F_\u0432\u0435\u0440_\u0436\u043E\u0432\u0442_\u043B\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:tf,weekdaysShort:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:kn("[\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456 "),nextDay:kn("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:kn("[\u0412\u0447\u043E\u0440\u0430 "),nextWeek:kn("[\u0423] dddd ["),lastWeek(e){switch(Pe(e)){case 0:case 3:case 5:case 6:return kn("[\u041C\u0438\u043D\u0443\u043B\u043E\u0457] dddd [")(e);case 1:case 2:case 4:return kn("[\u041C\u0438\u043D\u0443\u043B\u043E\u0433\u043E] dddd [")(e)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043E\u043C\u0443",s:"\u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430 \u0441\u0435\u043A\u0443\u043D\u0434",ss:Ui,m:Ui,mm:Ui,h:"\u0433\u043E\u0434\u0438\u043D\u0443",hh:Ui,d:"\u0434\u0435\u043D\u044C",dd:Ui,M:"\u043C\u0456\u0441\u044F\u0446\u044C",MM:Ui,y:"\u0440\u0456\u043A",yy:Ui},meridiemParse:/ночі|ранку|дня|вечора/,isPM(e){return/^(дня|вечора)$/.test(e)},meridiem(e,t,n){return e<4?"\u043D\u043E\u0447\u0456":e<12?"\u0440\u0430\u043D\u043A\u0443":e<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u043E\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal(e,t){let n=Number(e);switch(t){case"M":case"d":case"DDD":case"w":case"W":return n+"-\u0439";case"D":return n+"-\u0433\u043E";default:return n.toString()}},week:{dow:1,doy:7}};var xM={abbr:"vi",months:"th\xE1ng 1_th\xE1ng 2_th\xE1ng 3_th\xE1ng 4_th\xE1ng 5_th\xE1ng 6_th\xE1ng 7_th\xE1ng 8_th\xE1ng 9_th\xE1ng 10_th\xE1ng 11_th\xE1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1EE7 nh\u1EADt_th\u1EE9 hai_th\u1EE9 ba_th\u1EE9 t\u01B0_th\u1EE9 n\u0103m_th\u1EE9 s\xE1u_th\u1EE9 b\u1EA3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM(e){return/^ch$/i.test(e)},meridiem(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xF4m nay l\xFAc] LT",nextDay:"[Ng\xE0y mai l\xFAc] LT",nextWeek:"dddd [tu\u1EA7n t\u1EDBi l\xFAc] LT",lastDay:"[H\xF4m qua l\xFAc] LT",lastWeek:"dddd [tu\u1EA7n tr\u01B0\u1EDBc l\xFAc] LT",sameElse:"L"},relativeTime:{future:"%s t\u1EDBi",past:"%s tr\u01B0\u1EDBc",s:"v\xE0i gi\xE2y",ss:"%d gi\xE2y",m:"m\u1ED9t ph\xFAt",mm:"%d ph\xFAt",h:"m\u1ED9t gi\u1EDD",hh:"%d gi\u1EDD",d:"m\u1ED9t ng\xE0y",dd:"%d ng\xE0y",M:"m\u1ED9t th\xE1ng",MM:"%d th\xE1ng",y:"m\u1ED9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal(e){return""+e},week:{dow:1,doy:4}};var EM={abbr:"zh-cn",months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour(e,t){return e===12&&(e=0),t==="\u51CC\u6668"||t==="\u65E9\u4E0A"||t==="\u4E0A\u5348"?e:t==="\u4E0B\u5348"||t==="\u665A\u4E0A"?e+12:e>=11?e:e+12},meridiem(e,t,n){let i=e*100+t;return i<600?"\u51CC\u6668":i<900?"\u65E9\u4E0A":i<1130?"\u4E0A\u5348":i<1230?"\u4E2D\u5348":i<1800?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:"[\u4E0B]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4E0A]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal(e,t){let n=Number(e);switch(t){case"d":case"D":case"DDD":return n+"\u65E5";case"M":return n+"\u6708";case"w":case"W":return n+"\u5468";default:return n.toString()}},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}};var nf={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},sf={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},Vd=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},rf={s:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062B\u0627\u0646\u06CC\u0647","\u06CC\u06A9 \u062B\u0627\u0646\u06CC\u0647",["\u062F\u0648 \u062B\u0627\u0646\u06CC\u0647","\u062F\u0648 \u062B\u0627\u0646\u06CC\u0647"],"%d \u062B\u0627\u0646\u06CC\u0647","%d \u062B\u0627\u0646\u06CC\u0647","%d \u062B\u0627\u0646\u06CC\u0647"],m:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062F\u0642\u06CC\u0642\u0647","\u06CC\u06A9 \u062F\u0642\u06CC\u0642\u0647",["\u062F\u0648 \u062F\u0642\u06CC\u0642\u0647","\u062F\u0648 \u062F\u0642\u06CC\u0642\u0647"],"%d \u062F\u0642\u06CC\u0642\u0647","%d \u062F\u0642\u06CC\u0642\u0647","%d \u062F\u0642\u06CC\u0642\u0647"],h:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0633\u0627\u0639\u062A","\u06CC\u06A9 \u0633\u0627\u0639\u062A",["\u062F\u0648 \u0633\u0627\u0639\u062A","\u062F\u0648 \u0633\u0627\u0639\u062A"],"%d \u0633\u0627\u0639\u062A","%d \u0633\u0627\u0639\u062A","%d \u0633\u0627\u0639\u062A"],d:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0631\u0648\u0632","\u06CC\u06A9 \u0631\u0648\u0632",["\u062F\u0648 \u0631\u0648\u0632","\u062F\u0648 \u0631\u0648\u0632"],"%d \u0631\u0648\u0632","%d \u0631\u0648\u0632","%d \u0631\u0648\u0632"],M:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0645\u0627\u0647","\u06CC\u06A9 \u0645\u0627\u0647",["\u062F\u0648 \u0645\u0627\u0647","\u062F\u0648 \u0645\u0627\u0647"],"%d \u0645\u0627\u0647","%d \u0645\u0627\u0647","%d \u0645\u0627\u0647"],y:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0633\u0627\u0644","\u06CC\u06A9 \u0633\u0627\u0644",["\u062F\u0648 \u0633\u0627\u0644","\u062F\u0648 \u0633\u0627\u0644"],"%d \u0633\u0627\u0644","%d \u0633\u0627\u0644","%d \u0633\u0627\u0644"]},bt=function(e){return function(t,n){let i=Vd(t),s=rf[e][Vd(t)];return i===2&&(s=s[n?0:1]),s.replace(/%d/i,t.toString())}},Fd=["\u0698\u0627\u0646\u0648\u06CC\u0647","\u0641\u0648\u0631\u06CC\u0647","\u0645\u0627\u0631\u0633","\u0622\u0648\u0631\u06CC\u0644","\u0645\u06CC","\u0698\u0648\u0626\u0646","\u062C\u0648\u0644\u0627\u06CC","\u0622\u06AF\u0648\u0633\u062A","\u0633\u067E\u062A\u0627\u0645\u0628\u0631","\u0627\u06A9\u062A\u0628\u0631","\u0646\u0648\u0627\u0645\u0628\u0631","\u062F\u0633\u0627\u0645\u0628\u0631"],LM={abbr:"fa",months:Fd,monthsShort:Fd,weekdays:"\u06CC\u06A9\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647 \u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C \u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06CC\u06A9\u0634\u0646\u0628\u0647_\u062F\u0648\u200C\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u200C\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06CC_\u062F_\u0633_\u0686_\u067E_\u062C_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200FM/\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM(e){return e==="\u0645"},meridiem(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u062F\u0631 \u0633\u0627\u0639\u062A] LT",nextDay:"[\u0641\u0631\u062F\u0627 \u062F\u0631 \u0633\u0627\u0639\u062A] LT",nextWeek:"dddd [\u062F\u0631 \u0633\u0627\u0639\u062A] LT",lastDay:"[\u062F\u06CC\u0631\u0648\u0632 \u062F\u0631 \u0633\u0627\u0639\u062A] LT",lastWeek:"dddd [\u062F\u0631 \u0633\u0627\u0639\u062A] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062F %s",past:"\u067E\u06CC\u0634 %s",s:bt("s"),ss:bt("s"),m:bt("m"),mm:bt("m"),h:bt("h"),hh:bt("h"),d:bt("d"),dd:bt("d"),M:bt("M"),MM:bt("M"),y:bt("y"),yy:bt("y")},preparse(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return sf[t]}).replace(/،/g,",")},postformat(e){return e.replace(/\d/g,function(t){return nf[t]}).replace(/,/g,"\u060C")},week:{dow:6,doy:80}};var An=class extends ee{constructor(t,n,i){super(t),n.pipe(rl(il)).pipe(ul((o,a)=>a?i(o,a):o,t)).subscribe(o=>this.next(o))}},Yn=class e extends Ci{constructor(t,n,i){super(),this._dispatcher=t,this._reducer=n,this.source=i}select(t){return(this.source?.pipe(Dt(t))||new Ci().pipe(Dt(t))).pipe(rn())}lift(t){let n=new e(this._dispatcher,this._reducer,this);return n.operator=t,n}dispatch(t){this._dispatcher.next(t)}next(t){this._dispatcher.next(t)}error(t){this._dispatcher.error(t)}complete(){}};function of(e,t){e&1&&(_(0,"td"),L(1,"\xA0\xA0\xA0"),m())}function af(e,t){if(e&1){let n=P();_(0,"td")(1,"a",1),S("click",function(){f(n);let s=c();return g(s.changeMinutes(s.minuteStep))}),ae(2,"span",2),m()()}if(e&2){let n=c();d(),V("disabled",!n.canIncrementMinutes||!n.isEditable)}}function lf(e,t){e&1&&(_(0,"td"),L(1,"\xA0"),m())}function cf(e,t){if(e&1){let n=P();_(0,"td")(1,"a",1),S("click",function(){f(n);let s=c();return g(s.changeSeconds(s.secondsStep))}),ae(2,"span",2),m()()}if(e&2){let n=c();d(),V("disabled",!n.canIncrementSeconds||!n.isEditable)}}function df(e,t){e&1&&(_(0,"td"),L(1,"\xA0\xA0\xA0"),m())}function uf(e,t){e&1&&ae(0,"td")}function hf(e,t){e&1&&(_(0,"td"),L(1,"\xA0:\xA0"),m())}function _f(e,t){if(e&1){let n=P();_(0,"td",4)(1,"input",5),S("wheel",function(s){f(n);let r=c();return r.prevDef(s),g(r.changeMinutes(r.minuteStep*r.wheelSign(s),"wheel"))})("keydown.ArrowUp",function(){f(n);let s=c();return g(s.changeMinutes(s.minuteStep,"key"))})("keydown.ArrowDown",function(){f(n);let s=c();return g(s.changeMinutes(-s.minuteStep,"key"))})("change",function(s){f(n);let r=c();return g(r.updateMinutes(s.target))}),m()()}if(e&2){let n=c();V("has-error",n.invalidMinutes),d(),V("is-invalid",n.invalidMinutes),u("placeholder",n.minutesPlaceholder)("readonly",n.readonlyInput)("disabled",n.disabled)("value",n.minutes),le("aria-label",n.labelMinutes)}}function mf(e,t){e&1&&(_(0,"td"),L(1,"\xA0:\xA0"),m())}function pf(e,t){if(e&1){let n=P();_(0,"td",4)(1,"input",5),S("wheel",function(s){f(n);let r=c();return r.prevDef(s),g(r.changeSeconds(r.secondsStep*r.wheelSign(s),"wheel"))})("keydown.ArrowUp",function(){f(n);let s=c();return g(s.changeSeconds(s.secondsStep,"key"))})("keydown.ArrowDown",function(){f(n);let s=c();return g(s.changeSeconds(-s.secondsStep,"key"))})("change",function(s){f(n);let r=c();return g(r.updateSeconds(s.target))}),m()()}if(e&2){let n=c();V("has-error",n.invalidSeconds),d(),V("is-invalid",n.invalidSeconds),u("placeholder",n.secondsPlaceholder)("readonly",n.readonlyInput)("disabled",n.disabled)("value",n.seconds),le("aria-label",n.labelSeconds)}}function ff(e,t){e&1&&(_(0,"td"),L(1,"\xA0\xA0\xA0"),m())}function gf(e,t){if(e&1){let n=P();_(0,"td")(1,"button",8),S("click",function(){f(n);let s=c();return g(s.toggleMeridian())}),L(2),m()()}if(e&2){let n=c();d(),V("disabled",!n.isEditable||!n.canToggleMeridian),u("disabled",!n.isEditable||!n.canToggleMeridian),d(),Ge("",n.meridian," ")}}function vf(e,t){e&1&&(_(0,"td"),L(1,"\xA0\xA0\xA0"),m())}function yf(e,t){if(e&1){let n=P();_(0,"td")(1,"a",1),S("click",function(){f(n);let s=c();return g(s.changeMinutes(-s.minuteStep))}),ae(2,"span",7),m()()}if(e&2){let n=c();d(),V("disabled",!n.canDecrementMinutes||!n.isEditable)}}function bf(e,t){e&1&&(_(0,"td"),L(1,"\xA0"),m())}function wf(e,t){if(e&1){let n=P();_(0,"td")(1,"a",1),S("click",function(){f(n);let s=c();return g(s.changeSeconds(-s.secondsStep))}),ae(2,"span",7),m()()}if(e&2){let n=c();d(),V("disabled",!n.canDecrementSeconds||!n.isEditable)}}function Sf(e,t){e&1&&(_(0,"td"),L(1,"\xA0\xA0\xA0"),m())}function Df(e,t){e&1&&ae(0,"td")}var ui=(()=>{let t=class t{writeValue(i){return{type:t.WRITE_VALUE,payload:i}}changeHours(i){return{type:t.CHANGE_HOURS,payload:i}}changeMinutes(i){return{type:t.CHANGE_MINUTES,payload:i}}changeSeconds(i){return{type:t.CHANGE_SECONDS,payload:i}}setTime(i){return{type:t.SET_TIME_UNIT,payload:i}}updateControls(i){return{type:t.UPDATE_CONTROLS,payload:i}}};t.WRITE_VALUE="[timepicker] write value from ng model",t.CHANGE_HOURS="[timepicker] change hours",t.CHANGE_MINUTES="[timepicker] change minutes",t.CHANGE_SECONDS="[timepicker] change seconds",t.SET_TIME_UNIT="[timepicker] set time unit",t.UPDATE_CONTROLS="[timepicker] update controls",t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Mf=10,Cf=24,vu=12,kf=60,Tf=60;function ua(e){return!e||e instanceof Date&&isNaN(e.getHours())?!1:typeof e=="string"?ua(new Date(e)):!0}function ca(e,t){return!(e.min&&t<e.min||e.max&&t>e.max)}function Pn(e){return typeof e>"u"?NaN:typeof e=="number"?e:parseInt(e,Mf)}function yu(e,t=!1){let n=Pn(e);return isNaN(n)||n<0||n>(t?vu:Cf)?NaN:n}function bu(e){let t=Pn(e);return isNaN(t)||t<0||t>kf?NaN:t}function wu(e){let t=Pn(e);return isNaN(t)||t<0||t>Tf?NaN:t}function _u(e){return typeof e=="string"?new Date(e):e}function wt(e,t){if(!e)return wt(Sr(new Date,0,0,0),t);if(!t)return e;let n=e.getHours(),i=e.getMinutes(),s=e.getSeconds();return t.hour&&(n=n+Pn(t.hour)),t.minute&&(i=i+Pn(t.minute)),t.seconds&&(s=s+Pn(t.seconds)),Sr(e,n,i,s)}function Su(e,t){let n=yu(t.hour),i=bu(t.minute),s=wu(t.seconds)||0;return t.isPM&&n!==12&&(n+=vu),e?isNaN(n)||isNaN(i)?e:Sr(e,n,i,s):!isNaN(n)&&!isNaN(i)?Sr(new Date,n,i,s):e}function Sr(e,t,n,i){let s=new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,n,i,e.getMilliseconds());return s.setFullYear(e.getFullYear()),s.setMonth(e.getMonth()),s.setDate(e.getDate()),s}function da(e){let t=e.toString();return t.length>1?t:`0${t}`}function Du(e,t){return!isNaN(yu(e,t))}function Mu(e){return!isNaN(bu(e))}function Cu(e){return!isNaN(wu(e))}function xf(e,t,n){let i=Su(new Date,e);return!(!i||t&&i>t||n&&i<n)}function Ef(e,t,n){return e.length===0||t.length===0||n.length===0}function mu(e,t="0",n="0",i){return Du(e,i)&&Mu(t)&&Cu(n)}function wr(e,t){return!(e.readonlyInput||e.disabled||t&&(t.source==="wheel"&&!e.mousewheel||t.source==="key"&&!e.arrowkeys))}function Lf(e,t){return!(!e.step||e.step>0&&!t.canIncrementHours||e.step<0&&!t.canDecrementHours)}function Of(e,t){return!(!e.step||e.step>0&&!t.canIncrementMinutes||e.step<0&&!t.canDecrementMinutes)}function Rf(e,t){return!(!e.step||e.step>0&&!t.canIncrementSeconds||e.step<0&&!t.canDecrementSeconds)}function pu(e){let{hourStep:t,minuteStep:n,secondsStep:i,readonlyInput:s,disabled:r,mousewheel:o,arrowkeys:a,showSpinners:l,showMeridian:h,showSeconds:p,meridians:b,min:x,max:v}=e;return{hourStep:t,minuteStep:n,secondsStep:i,readonlyInput:s,disabled:r,mousewheel:o,arrowkeys:a,showSpinners:l,showMeridian:h,showSeconds:p,meridians:b,min:x,max:v}}function If(e,t){let{min:s,max:r,hourStep:o,minuteStep:a,secondsStep:l,showSeconds:h}=t,p={canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0};if(!e)return p;if(r){let b=wt(e,{hour:o});if(p.canIncrementHours=r>b&&e.getHours()+o<24,!p.canIncrementHours){let x=wt(e,{minute:a});p.canIncrementMinutes=h?r>x:r>=x}if(!p.canIncrementMinutes){let x=wt(e,{seconds:l});p.canIncrementSeconds=r>=x}e.getHours()<12&&(p.canToggleMeridian=wt(e,{hour:12})<r)}if(s){let b=wt(e,{hour:-o});if(p.canDecrementHours=s<b,!p.canDecrementHours){let x=wt(e,{minute:-a});p.canDecrementMinutes=h?s<x:s<=x}if(!p.canDecrementMinutes){let x=wt(e,{seconds:-l});p.canDecrementSeconds=s<=x}e.getHours()>=12&&(p.canToggleMeridian=wt(e,{hour:-12})>s)}return p}var ku=(()=>{let t=class t{constructor(){this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.showMeridian=!0,this.meridians=["AM","PM"],this.readonlyInput=!1,this.disabled=!1,this.allowEmptyTime=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showSeconds=!1,this.showMinutes=!0,this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.ariaLabelHours="hours",this.ariaLabelMinutes="minutes",this.ariaLabelSeconds="seconds"}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Tu={value:void 0,config:new ku,controls:{canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0}};function fu(e=Tu,t){switch(t.type){case ui.WRITE_VALUE:return Object.assign({},e,{value:t.payload});case ui.CHANGE_HOURS:{if(!wr(e.config,t.payload)||!Lf(t.payload,e.controls))return e;let n=wt(e.value,{hour:t.payload.step});return(e.config.max||e.config.min)&&!ca(e.config,n)?e:Object.assign({},e,{value:n})}case ui.CHANGE_MINUTES:{if(!wr(e.config,t.payload)||!Of(t.payload,e.controls))return e;let n=wt(e.value,{minute:t.payload.step});return(e.config.max||e.config.min)&&!ca(e.config,n)?e:Object.assign({},e,{value:n})}case ui.CHANGE_SECONDS:{if(!wr(e.config,t.payload)||!Rf(t.payload,e.controls))return e;let n=wt(e.value,{seconds:t.payload.step});return(e.config.max||e.config.min)&&!ca(e.config,n)?e:Object.assign({},e,{value:n})}case ui.SET_TIME_UNIT:{if(!wr(e.config))return e;let n=Su(e.value,t.payload);return Object.assign({},e,{value:n})}case ui.UPDATE_CONTROLS:{let n=If(e.value,t.payload),i={value:e.value,config:t.payload,controls:n};return e.config.showMeridian!==i.config.showMeridian&&e.value&&(i.value=new Date(e.value)),Object.assign({},e,i)}default:return e}}var gu=(()=>{let t=class t extends Yn{constructor(){let i=new ee({type:"[mini-ngrx] dispatcher init"}),s=new An(Tu,i,fu);super(i,fu,s)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Af={provide:Zn,useExisting:ii(()=>Hn),multi:!0},Hn=(()=>{let t=class t{constructor(i,s,r,o){this._cd=s,this._store=r,this._timepickerActions=o,this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.readonlyInput=!1,this.disabled=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showMeridian=!0,this.showMinutes=!0,this.showSeconds=!1,this.meridians=["AM","PM"],this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.isValid=new H,this.meridianChange=new H,this.hours="",this.minutes="",this.seconds="",this.meridian="",this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1,this.labelHours="hours",this.labelMinutes="minutes",this.labelSeconds="seconds",this.canIncrementHours=!0,this.canIncrementMinutes=!0,this.canIncrementSeconds=!0,this.canDecrementHours=!0,this.canDecrementMinutes=!0,this.canDecrementSeconds=!0,this.canToggleMeridian=!0,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.config=i,Object.assign(this,this.config),this.timepickerSub=r.select(a=>a.value).subscribe(a=>{this._renderTime(a),this.onChange(a),this._store.dispatch(this._timepickerActions.updateControls(pu(this)))}),r.select(a=>a.controls).subscribe(a=>{let l=mu(this.hours,this.minutes,this.seconds,this.isPM()),h=this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||l;this.isValid.emit(h),Object.assign(this,a),s.markForCheck()})}get isSpinnersVisible(){return this.showSpinners&&!this.readonlyInput}get isEditable(){return!(this.readonlyInput||this.disabled)}resetValidation(){this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1}isPM(){return this.showMeridian&&this.meridian===this.meridians[1]}prevDef(i){i.preventDefault()}wheelSign(i){return Math.sign(i.deltaY||0)*-1}ngOnChanges(){this._store.dispatch(this._timepickerActions.updateControls(pu(this)))}changeHours(i,s=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeHours({step:i,source:s}))}changeMinutes(i,s=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeMinutes({step:i,source:s}))}changeSeconds(i,s=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeSeconds({step:i,source:s}))}updateHours(i){this.resetValidation(),this.hours=i.value;let s=Du(this.hours,this.isPM())&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||s)){this.invalidHours=!0,this.isValid.emit(!1),this.onChange(null);return}this._updateTime()}updateMinutes(i){this.resetValidation(),this.minutes=i.value;let s=Mu(this.minutes)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||s)){this.invalidMinutes=!0,this.isValid.emit(!1),this.onChange(null);return}this._updateTime()}updateSeconds(i){this.resetValidation(),this.seconds=i.value;let s=Cu(this.seconds)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||s)){this.invalidSeconds=!0,this.isValid.emit(!1),this.onChange(null);return}this._updateTime()}isValidLimit(){return xf({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()},this.max,this.min)}isOneOfDatesIsEmpty(){return Ef(this.hours,this.minutes,this.seconds)}_updateTime(){let i=this.showSeconds?this.seconds:void 0,s=this.showMinutes?this.minutes:void 0,r=mu(this.hours,s,i,this.isPM());if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||r)){this.isValid.emit(!1),this.onChange(null);return}this._store.dispatch(this._timepickerActions.setTime({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()}))}toggleMeridian(){if(!this.showMeridian||!this.isEditable)return;this._store.dispatch(this._timepickerActions.changeHours({step:12,source:""}))}writeValue(i){ua(i)?(this.resetValidation(),this._store.dispatch(this._timepickerActions.writeValue(_u(i)))):i==null&&this._store.dispatch(this._timepickerActions.writeValue())}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.disabled=i,this._cd.markForCheck()}ngOnDestroy(){this.timepickerSub?.unsubscribe()}_renderTime(i){if(!i||!ua(i)){this.hours="",this.minutes="",this.seconds="",this.meridian=this.meridians[0],this.meridianChange.emit(this.meridian);return}let s=_u(i);if(!s)return;let r=12,o=s.getHours();this.showMeridian&&(this.meridian=this.meridians[o>=r?1:0],this.meridianChange.emit(this.meridian),o=o%r,o===0&&(o=r)),this.hours=da(o),this.minutes=da(s.getMinutes()),this.seconds=da(s.getUTCSeconds())}};t.\u0275fac=function(s){return new(s||t)(y(ku),y(un),y(gu),y(ui))},t.\u0275cmp=re({type:t,selectors:[["timepicker"]],inputs:{hourStep:"hourStep",minuteStep:"minuteStep",secondsStep:"secondsStep",readonlyInput:"readonlyInput",disabled:"disabled",mousewheel:"mousewheel",arrowkeys:"arrowkeys",showSpinners:"showSpinners",showMeridian:"showMeridian",showMinutes:"showMinutes",showSeconds:"showSeconds",meridians:"meridians",min:"min",max:"max",hoursPlaceholder:"hoursPlaceholder",minutesPlaceholder:"minutesPlaceholder",secondsPlaceholder:"secondsPlaceholder"},outputs:{isValid:"isValid",meridianChange:"meridianChange"},features:[Ee([Af,gu,ui]),Vt],decls:31,vars:33,consts:[[1,"text-center",3,"hidden"],["href","javascript:void(0);",1,"btn","btn-link",3,"click"],[1,"bs-chevron","bs-chevron-up"],[4,"ngIf"],[1,"form-group","mb-3"],["type","text","maxlength","2",1,"form-control","text-center","bs-timepicker-field",3,"wheel","keydown.ArrowUp","keydown.ArrowDown","change","placeholder","readonly","disabled","value"],["class","form-group mb-3",3,"has-error",4,"ngIf"],[1,"bs-chevron","bs-chevron-down"],["type","button",1,"btn","btn-default","text-center",3,"click","disabled"]],template:function(s,r){s&1&&(_(0,"table")(1,"tbody")(2,"tr",0)(3,"td")(4,"a",1),S("click",function(){return r.changeHours(r.hourStep)}),ae(5,"span",2),m()(),k(6,of,2,0,"td",3)(7,af,3,2,"td",3)(8,lf,2,0,"td",3)(9,cf,3,2,"td",3)(10,df,2,0,"td",3)(11,uf,1,0,"td",3),m(),_(12,"tr")(13,"td",4)(14,"input",5),S("wheel",function(a){return r.prevDef(a),r.changeHours(r.hourStep*r.wheelSign(a),"wheel")})("keydown.ArrowUp",function(){return r.changeHours(r.hourStep,"key")})("keydown.ArrowDown",function(){return r.changeHours(-r.hourStep,"key")})("change",function(a){return r.updateHours(a.target)}),m()(),k(15,hf,2,0,"td",3)(16,_f,2,9,"td",6)(17,mf,2,0,"td",3)(18,pf,2,9,"td",6)(19,ff,2,0,"td",3)(20,gf,3,4,"td",3),m(),_(21,"tr",0)(22,"td")(23,"a",1),S("click",function(){return r.changeHours(-r.hourStep)}),ae(24,"span",7),m()(),k(25,vf,2,0,"td",3)(26,yf,3,2,"td",3)(27,bf,2,0,"td",3)(28,wf,3,2,"td",3)(29,Sf,2,0,"td",3)(30,Df,1,0,"td",3),m()()()),s&2&&(d(2),u("hidden",!r.showSpinners),d(2),V("disabled",!r.canIncrementHours||!r.isEditable),d(2),u("ngIf",r.showMinutes),d(),u("ngIf",r.showMinutes),d(),u("ngIf",r.showSeconds),d(),u("ngIf",r.showSeconds),d(),u("ngIf",r.showMeridian),d(),u("ngIf",r.showMeridian),d(2),V("has-error",r.invalidHours),d(),V("is-invalid",r.invalidHours),u("placeholder",r.hoursPlaceholder)("readonly",r.readonlyInput)("disabled",r.disabled)("value",r.hours),le("aria-label",r.labelHours),d(),u("ngIf",r.showMinutes),d(),u("ngIf",r.showMinutes),d(),u("ngIf",r.showSeconds),d(),u("ngIf",r.showSeconds),d(),u("ngIf",r.showMeridian),d(),u("ngIf",r.showMeridian),d(),u("hidden",!r.showSpinners),d(2),V("disabled",!r.canDecrementHours||!r.isEditable),d(2),u("ngIf",r.showMinutes),d(),u("ngIf",r.showMinutes),d(),u("ngIf",r.showSeconds),d(),u("ngIf",r.showSeconds),d(),u("ngIf",r.showMeridian),d(),u("ngIf",r.showMeridian))},dependencies:[ot],styles:[`.bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:2px}.bs-chevron-down{-webkit-transform:rotate(-135deg);transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem}
3
- `],encapsulation:2,changeDetection:0});let e=t;return e})(),Nn=(()=>{let t=class t{static forRoot(){return{ngModule:t,providers:[]}}};t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=xe({type:t}),t.\u0275inj=Te({});let e=t;return e})();var hi=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(hi||{}),Pf="*";function ws(e,t){return{type:hi.Trigger,name:e,definitions:t,options:{}}}function _i(e,t=null){return{type:hi.Animate,styles:t,timings:e}}function xu(e,t=null){return{type:hi.Sequence,steps:e,options:t}}function Pt(e){return{type:hi.Style,styles:e,offset:null}}function mi(e,t,n){return{type:hi.State,name:e,styles:t,options:n}}function pi(e,t,n=null){return{type:hi.Transition,expr:e,animation:t,options:n}}var ha=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},_a=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,i=0,s=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++n==r&&this._onFinish()}),o.onDestroy(()=>{++i==r&&this._onDestroy()}),o.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(i=>{let s=i.totalTime?Math.min(1,n/i.totalTime):1;i.setPosition(s)})}getPosition(){let t=this.players.reduce((n,i)=>n===null||i.totalTime>n.totalTime?i:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},Hf="!";var Nf=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:()=>E(Vf),providedIn:"root"})}return e})(),ma=class{},Vf=(()=>{class e extends Nf{animationModuleType=E(Rs,{optional:!0});_nextAnimationId=0;_renderer;constructor(n,i){super();let s={id:"0",encapsulation:pl.None,styles:[],data:{animation:[]}};if(this._renderer=n.createRenderer(i.body,s),this.animationModuleType===null&&!jf(this._renderer))throw new jr(3600,!1)}build(n){let i=this._nextAnimationId;this._nextAnimationId++;let s=Array.isArray(n)?xu(n):n;return Eu(this._renderer,null,i,"register",[s]),new pa(i,this._renderer)}static \u0275fac=function(i){return new(i||e)(J(qe),J(fe))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pa=class extends ma{_id;_renderer;constructor(t,n){super(),this._id=t,this._renderer=n}create(t,n){return new fa(this._id,t,n||{},this._renderer)}},fa=class{id;element;_renderer;parentPlayer=null;_started=!1;constructor(t,n,i,s){this.id=t,this.element=n,this._renderer=s,this._command("create",i)}_listen(t,n){return this._renderer.listen(this.element,`@@${this.id}:${t}`,n)}_command(t,...n){Eu(this._renderer,this.element,this.id,t,n)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return Ff(this._renderer)?.engine?.players[this.id]?.getPosition()??0}totalTime=0};function Eu(e,t,n,i,s){e.setProperty(t,`@@${n}:${i}`,s)}function Ff(e){let t=e.\u0275type;return t===0?e:t===1?e.animationRenderer:null}function jf(e){let t=e.\u0275type;return t===0||t===1}function Bf(e,t){if(e&1){let n=P();_(0,"button",2),S("click",function(){let s=f(n).$implicit,r=c();return g(r.selectFromRanges(s))}),L(1),m()}if(e&2){let n=t.$implicit,i=c();V("selected",i.compareRanges(n)),d(),Ge(" ",n.label," ")}}function $f(e,t){if(e&1){let n=P();jt(0),L(1," \u200B "),_(2,"button",2),S("click",function(){f(n);let s=c();return g(s.view("month"))}),_(3,"span"),L(4),m()(),Bt()}if(e&2){let n=c();d(2),u("disabled",n.isDisabled),d(2),Be(n.calendar.monthTitle)}}var Wf=[[["bs-datepicker-navigation-view"]],"*"],Uf=["bs-datepicker-navigation-view","*"];function zf(e,t){e&1&&ae(0,"bs-current-date",4)}function Gf(e,t){e&1&&ae(0,"bs-timepicker")}function Kf(e,t){if(e&1){let n=P();_(0,"td",4),S("click",function(){let s=f(n).$implicit,r=c(2);return g(r.viewYear(s))})("mouseenter",function(){let s=f(n).$implicit,r=c(2);return g(r.hoverYear(s,!0))})("mouseleave",function(){let s=f(n).$implicit,r=c(2);return g(r.hoverYear(s,!1))}),_(1,"span"),L(2),m()()}if(e&2){let n=t.$implicit;V("disabled",n.isDisabled)("is-highlighted",n.isHovered),d(),V("selected",n.isSelected),d(),Be(n.label)}}function Xf(e,t){if(e&1&&(_(0,"tr"),k(1,Kf,3,7,"td",3),m()),e&2){let n=t.$implicit;d(),u("ngForOf",n)}}function Zf(e,t){if(e&1){let n=P();_(0,"td",4),S("click",function(){let s=f(n).$implicit,r=c(2);return g(r.viewMonth(s))})("mouseenter",function(){let s=f(n).$implicit,r=c(2);return g(r.hoverMonth(s,!0))})("mouseleave",function(){let s=f(n).$implicit,r=c(2);return g(r.hoverMonth(s,!1))}),_(1,"span"),L(2),m()()}if(e&2){let n=t.$implicit;V("disabled",n.isDisabled)("is-highlighted",n.isHovered),d(),V("selected",n.isSelected),d(),Be(n.label)}}function qf(e,t){if(e&1&&(_(0,"tr"),k(1,Zf,3,7,"td",3),m()),e&2){let n=t.$implicit;d(),u("ngForOf",n)}}var Jf=["bsDatepickerDayDecorator",""];function Qf(e,t){e&1&&ae(0,"th")}function eg(e,t){if(e&1&&(_(0,"th",5),L(1),m()),e&2){let n=t.index,i=c();d(),Ge("",i.calendar.weekdays[n]," ")}}function tg(e,t){if(e&1){let n=P();_(0,"span",11),S("click",function(){f(n);let s=c(2).$implicit,r=c();return g(r.selectWeek(s))}),L(1),m()}if(e&2){let n=c(2).index,i=c();d(),Be(i.calendar.weekNumbers[n])}}function ig(e,t){if(e&1){let n=P();_(0,"span",12),S("click",function(){f(n);let s=c(2).$implicit,r=c();return g(r.selectWeek(s))})("mouseenter",function(){f(n);let s=c(2).$implicit,r=c();return g(r.weekHoverHandler(s,!0))})("mouseleave",function(){f(n);let s=c(2).$implicit,r=c();return g(r.weekHoverHandler(s,!1))}),L(1),m()}if(e&2){let n=c(2).index,i=c();d(),Be(i.calendar.weekNumbers[n])}}function ng(e,t){if(e&1&&(_(0,"td",8),k(1,tg,2,1,"span",9)(2,ig,2,1,"span",10),m()),e&2){let n=c(2);V("active-week",n.isWeekHovered),d(),u("ngIf",n.isiOS),d(),u("ngIf",!n.isiOS)}}function sg(e,t){if(e&1){let n=P();_(0,"span",17),S("click",function(){f(n);let s=c().$implicit,r=c(2);return g(r.selectDay(s))})("mouseenter",function(){f(n);let s=c().$implicit,r=c(2);return g(r.hoverDay(s,!0))})("mouseleave",function(){f(n);let s=c().$implicit,r=c(2);return g(r.hoverDay(s,!1))}),L(1),m()}if(e&2){let n=c().$implicit;u("tooltip",Ml(n.tooltipText))("day",n),d(),Ge("",n.label," 3")}}function rg(e,t){if(e&1){let n=P();_(0,"span",18),S("click",function(){f(n);let s=c().$implicit,r=c(2);return g(r.selectDay(s))})("mouseenter",function(){f(n);let s=c().$implicit,r=c(2);return g(r.hoverDay(s,!0))})("mouseleave",function(){f(n);let s=c().$implicit,r=c(2);return g(r.hoverDay(s,!1))}),L(1),m()}if(e&2){let n=c().$implicit;u("day",n),d(),Ge("",n.label," 2")}}function og(e,t){if(e&1){let n=P();_(0,"span",19),S("click",function(){f(n);let s=c().$implicit,r=c(2);return g(r.selectDay(s))}),L(1),m()}if(e&2){let n=c().$implicit;u("day",n),d(),Ge("",n.label," 1")}}function ag(e,t){if(e&1&&(_(0,"td",13),k(1,sg,2,4,"span",14)(2,rg,2,2,"span",15)(3,og,2,2,"span",16),m()),e&2){let n=c(2);d(),u("ngIf",!n.isiOS&&n.isShowTooltip),d(),u("ngIf",!n.isiOS&&!n.isShowTooltip),d(),u("ngIf",n.isiOS)}}function lg(e,t){if(e&1&&(_(0,"tr"),k(1,ng,3,4,"td",6)(2,ag,4,3,"td",7),m()),e&2){let n=t.$implicit,i=c();d(),u("ngIf",i.options&&i.options.showWeekNumbers),d(),u("ngForOf",n.days)}}var Yu=["startTP"];function cg(e,t){if(e&1){let n=P();_(0,"bs-days-calendar-view",13),ce(1,"async"),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.dayHoverHandler(s))})("onHoverWeek",function(s){f(n);let r=c(3);return g(r.weekHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.daySelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)("isDisabled",i.isDatePickerDisabled)("options",de(1,5,i.options$))}}function dg(e,t){if(e&1&&ae(0,"timepicker",15,1),e&2){let n=c(4);u("disabled",n.isDatePickerDisabled)}}function ug(e,t){if(e&1&&(_(0,"div",14),ae(1,"timepicker",15,0),k(3,dg,2,1,"timepicker",16),m()),e&2){let n=c(3);d(),u("disabled",n.isDatePickerDisabled),d(2),u("ngIf",n.isRangePicker)}}function hg(e,t){if(e&1&&(jt(0),_(1,"div",10),k(2,cg,2,7,"bs-days-calendar-view",11),ce(3,"async"),m(),k(4,ug,4,2,"div",12),Bt()),e&2){let n=c(2);d(2),u("ngForOf",de(3,2,n.daysCalendar$)),d(2),u("ngIf",n.withTimepicker)}}function _g(e,t){if(e&1){let n=P();_(0,"bs-month-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.monthHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.monthSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function mg(e,t){if(e&1&&(_(0,"div",10),k(1,_g,1,3,"bs-month-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.monthsCalendar))}}function pg(e,t){if(e&1){let n=P();_(0,"bs-years-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.yearHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.yearSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function fg(e,t){if(e&1&&(_(0,"div",10),k(1,pg,1,3,"bs-years-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.yearsCalendar))}}function gg(e,t){e&1&&(_(0,"div",19)(1,"button",20),L(2,"Apply"),m(),_(3,"button",21),L(4,"Cancel"),m()())}function vg(e,t){if(e&1){let n=P();_(0,"div",24)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.setToday())}),L(2),m()()}if(e&2){let n=c(3);V("today-left",n.todayPos==="left")("today-right",n.todayPos==="right")("today-center",n.todayPos==="center"),d(2),Be(n.todayBtnLbl)}}function yg(e,t){if(e&1){let n=P();_(0,"div",26)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.clearDate())}),L(2),m()()}if(e&2){let n=c(3);V("clear-left",n.clearPos==="left")("clear-right",n.clearPos==="right")("clear-center",n.clearPos==="center"),d(2),Be(n.clearBtnLbl)}}function bg(e,t){if(e&1&&(_(0,"div",19),k(1,vg,3,7,"div",22)(2,yg,3,7,"div",23),m()),e&2){let n=c(2);d(),u("ngIf",n.showTodayBtn),d(),u("ngIf",n.showClearBtn)}}function wg(e,t){if(e&1){let n=P();_(0,"div",27)(1,"bs-custom-date-view",28),S("onSelect",function(s){f(n);let r=c(2);return g(r.setRangeOnCalendar(s))}),m()()}if(e&2){let n=c(2);d(),u("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Sg(e,t){if(e&1){let n=P();_(0,"div",3)(1,"div",4),S("@datepickerAnimation.done",function(){f(n);let s=c();return g(s.positionServiceEnable())}),_(2,"div",5),ce(3,"async"),k(4,hg,5,4,"ng-container",6)(5,mg,3,3,"div",7)(6,fg,3,3,"div",7),m(),k(7,gg,5,0,"div",8)(8,bg,3,2,"div",8),m(),k(9,wg,2,3,"div",9),m()}if(e&2){let n=c();u("ngClass",n.containerClass),d(),u("@datepickerAnimation",n.animationState),d(),u("ngSwitch",de(3,9,n.viewMode)),d(2),u("ngSwitchCase","day"),d(),u("ngSwitchCase","month"),d(),u("ngSwitchCase","year"),d(),u("ngIf",!1),d(),u("ngIf",n.showTodayBtn||n.showClearBtn),d(),u("ngIf",n.customRanges&&n.customRanges.length>0)}}function Dg(e,t){if(e&1){let n=P();_(0,"bs-days-calendar-view",13),ce(1,"async"),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.dayHoverHandler(s))})("onHoverWeek",function(s){f(n);let r=c(3);return g(r.weekHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.daySelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)("isDisabled",i.isDatePickerDisabled)("options",de(1,5,i.options$))}}function Mg(e,t){if(e&1&&ae(0,"timepicker",15,1),e&2){let n=c(4);u("disabled",n.isDatePickerDisabled)}}function Cg(e,t){if(e&1&&(_(0,"div",14),ae(1,"timepicker",15,0),k(3,Mg,2,1,"timepicker",16),m()),e&2){let n=c(3);d(),u("disabled",n.isDatePickerDisabled),d(2),u("ngIf",n.isRangePicker)}}function kg(e,t){if(e&1&&(jt(0),_(1,"div",10),k(2,Dg,2,7,"bs-days-calendar-view",11),ce(3,"async"),m(),k(4,Cg,4,2,"div",12),Bt()),e&2){let n=c(2);d(2),u("ngForOf",de(3,2,n.daysCalendar$)),d(2),u("ngIf",n.withTimepicker)}}function Tg(e,t){if(e&1){let n=P();_(0,"bs-month-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.monthHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.monthSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function xg(e,t){if(e&1&&(_(0,"div",10),k(1,Tg,1,3,"bs-month-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.monthsCalendar))}}function Eg(e,t){if(e&1){let n=P();_(0,"bs-years-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.yearHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.yearSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function Lg(e,t){if(e&1&&(_(0,"div",10),k(1,Eg,1,3,"bs-years-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.yearsCalendar))}}function Og(e,t){e&1&&(_(0,"div",19)(1,"button",20),L(2,"Apply"),m(),_(3,"button",21),L(4,"Cancel"),m()())}function Rg(e,t){if(e&1){let n=P();_(0,"div",24)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.setToday())}),L(2),m()()}if(e&2){let n=c(3);V("today-left",n.todayPos==="left")("today-right",n.todayPos==="right")("today-center",n.todayPos==="center"),d(2),Be(n.todayBtnLbl)}}function Ig(e,t){if(e&1){let n=P();_(0,"div",26)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.clearDate())}),L(2),m()()}if(e&2){let n=c(3);V("clear-left",n.clearPos==="left")("clear-right",n.clearPos==="right")("clear-center",n.clearPos==="center"),d(2),Be(n.clearBtnLbl)}}function Ag(e,t){if(e&1&&(_(0,"div",19),k(1,Rg,3,7,"div",22)(2,Ig,3,7,"div",23),m()),e&2){let n=c(2);d(),u("ngIf",n.showTodayBtn),d(),u("ngIf",n.showClearBtn)}}function Yg(e,t){if(e&1){let n=P();_(0,"div",27)(1,"bs-custom-date-view",28),S("onSelect",function(s){f(n);let r=c(2);return g(r.setRangeOnCalendar(s))}),m()()}if(e&2){let n=c(2);d(),u("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Pg(e,t){if(e&1){let n=P();_(0,"div",3)(1,"div",4),S("@datepickerAnimation.done",function(){f(n);let s=c();return g(s.positionServiceEnable())}),_(2,"div",5),ce(3,"async"),k(4,kg,5,4,"ng-container",6)(5,xg,3,3,"div",7)(6,Lg,3,3,"div",7),m(),k(7,Og,5,0,"div",8)(8,Ag,3,2,"div",8),m(),k(9,Yg,2,3,"div",9),m()}if(e&2){let n=c();u("ngClass",n.containerClass),d(),u("@datepickerAnimation",n.animationState),d(),u("ngSwitch",de(3,9,n.viewMode)),d(2),u("ngSwitchCase","day"),d(),u("ngSwitchCase","month"),d(),u("ngSwitchCase","year"),d(),u("ngIf",!1),d(),u("ngIf",n.showTodayBtn||n.showClearBtn),d(),u("ngIf",n.customRanges&&n.customRanges.length>0)}}var Hg=["endTP"];function Ng(e,t){if(e&1){let n=P();_(0,"bs-days-calendar-view",13),ce(1,"async"),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.dayHoverHandler(s))})("onHoverWeek",function(s){f(n);let r=c(3);return g(r.weekHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.daySelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)("isDisabled",i.isDatePickerDisabled)("options",de(1,5,i.options$))}}function Vg(e,t){if(e&1&&ae(0,"timepicker",15,1),e&2){let n=c(4);u("disabled",n.isDatePickerDisabled)}}function Fg(e,t){if(e&1&&(_(0,"div",14),ae(1,"timepicker",15,0),k(3,Vg,2,1,"timepicker",16),m()),e&2){let n=c(3);d(),u("disabled",n.isDatePickerDisabled),d(2),u("ngIf",n.isRangePicker)}}function jg(e,t){if(e&1&&(jt(0),_(1,"div",10),k(2,Ng,2,7,"bs-days-calendar-view",11),ce(3,"async"),m(),k(4,Fg,4,2,"div",12),Bt()),e&2){let n=c(2);d(2),u("ngForOf",de(3,2,n.daysCalendar$)),d(2),u("ngIf",n.withTimepicker)}}function Bg(e,t){if(e&1){let n=P();_(0,"bs-month-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.monthHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.monthSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function $g(e,t){if(e&1&&(_(0,"div",10),k(1,Bg,1,3,"bs-month-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.monthsCalendar))}}function Wg(e,t){if(e&1){let n=P();_(0,"bs-years-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.yearHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.yearSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function Ug(e,t){if(e&1&&(_(0,"div",10),k(1,Wg,1,3,"bs-years-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.yearsCalendar))}}function zg(e,t){e&1&&(_(0,"div",19)(1,"button",20),L(2,"Apply"),m(),_(3,"button",21),L(4,"Cancel"),m()())}function Gg(e,t){if(e&1){let n=P();_(0,"div",24)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.setToday())}),L(2),m()()}if(e&2){let n=c(3);V("today-left",n.todayPos==="left")("today-right",n.todayPos==="right")("today-center",n.todayPos==="center"),d(2),Be(n.todayBtnLbl)}}function Kg(e,t){if(e&1){let n=P();_(0,"div",26)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.clearDate())}),L(2),m()()}if(e&2){let n=c(3);V("clear-left",n.clearPos==="left")("clear-right",n.clearPos==="right")("clear-center",n.clearPos==="center"),d(2),Be(n.clearBtnLbl)}}function Xg(e,t){if(e&1&&(_(0,"div",19),k(1,Gg,3,7,"div",22)(2,Kg,3,7,"div",23),m()),e&2){let n=c(2);d(),u("ngIf",n.showTodayBtn),d(),u("ngIf",n.showClearBtn)}}function Zg(e,t){if(e&1){let n=P();_(0,"div",27)(1,"bs-custom-date-view",28),S("onSelect",function(s){f(n);let r=c(2);return g(r.setRangeOnCalendar(s))}),m()()}if(e&2){let n=c(2);d(),u("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function qg(e,t){if(e&1){let n=P();_(0,"div",3)(1,"div",4),S("@datepickerAnimation.done",function(){f(n);let s=c();return g(s.positionServiceEnable())}),_(2,"div",5),ce(3,"async"),k(4,jg,5,4,"ng-container",6)(5,$g,3,3,"div",7)(6,Ug,3,3,"div",7),m(),k(7,zg,5,0,"div",8)(8,Xg,3,2,"div",8),m(),k(9,Zg,2,3,"div",9),m()}if(e&2){let n=c();u("ngClass",n.containerClass),d(),u("@datepickerAnimation",n.animationState),d(),u("ngSwitch",de(3,9,n.viewMode)),d(2),u("ngSwitchCase","day"),d(),u("ngSwitchCase","month"),d(),u("ngSwitchCase","year"),d(),u("ngIf",!1),d(),u("ngIf",n.showTodayBtn||n.showClearBtn),d(),u("ngIf",n.customRanges&&n.customRanges.length>0)}}function Jg(e,t){if(e&1){let n=P();_(0,"bs-days-calendar-view",13),ce(1,"async"),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.dayHoverHandler(s))})("onHoverWeek",function(s){f(n);let r=c(3);return g(r.weekHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.daySelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)("isDisabled",i.isDatePickerDisabled)("options",de(1,5,i.options$))}}function Qg(e,t){if(e&1&&ae(0,"timepicker",15,1),e&2){let n=c(4);u("disabled",n.isDatePickerDisabled)}}function ev(e,t){if(e&1&&(_(0,"div",14),ae(1,"timepicker",15,0),k(3,Qg,2,1,"timepicker",16),m()),e&2){let n=c(3);d(),u("disabled",n.isDatePickerDisabled),d(2),u("ngIf",n.isRangePicker)}}function tv(e,t){if(e&1&&(jt(0),_(1,"div",10),k(2,Jg,2,7,"bs-days-calendar-view",11),ce(3,"async"),m(),k(4,ev,4,2,"div",12),Bt()),e&2){let n=c(2);d(2),u("ngForOf",de(3,2,n.daysCalendar$)),d(2),u("ngIf",n.withTimepicker)}}function iv(e,t){if(e&1){let n=P();_(0,"bs-month-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.monthHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.monthSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function nv(e,t){if(e&1&&(_(0,"div",10),k(1,iv,1,3,"bs-month-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.monthsCalendar))}}function sv(e,t){if(e&1){let n=P();_(0,"bs-years-calendar-view",18),S("onNavigate",function(s){f(n);let r=c(3);return g(r.navigateTo(s))})("onViewMode",function(s){f(n);let r=c(3);return g(r.setViewMode(s))})("onHover",function(s){f(n);let r=c(3);return g(r.yearHoverHandler(s))})("onSelect",function(s){f(n);let r=c(3);return g(r.yearSelectHandler(s))}),m()}if(e&2){let n=t.$implicit,i=c(3);V("bs-datepicker-multiple",i.multipleCalendars),u("calendar",n)}}function rv(e,t){if(e&1&&(_(0,"div",10),k(1,sv,1,3,"bs-years-calendar-view",17),ce(2,"async"),m()),e&2){let n=c(2);d(),u("ngForOf",de(2,1,n.yearsCalendar))}}function ov(e,t){e&1&&(_(0,"div",19)(1,"button",20),L(2,"Apply"),m(),_(3,"button",21),L(4,"Cancel"),m()())}function av(e,t){if(e&1){let n=P();_(0,"div",24)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.setToday())}),L(2),m()()}if(e&2){let n=c(3);V("today-left",n.todayPos==="left")("today-right",n.todayPos==="right")("today-center",n.todayPos==="center"),d(2),Be(n.todayBtnLbl)}}function lv(e,t){if(e&1){let n=P();_(0,"div",26)(1,"button",25),S("click",function(){f(n);let s=c(3);return g(s.clearDate())}),L(2),m()()}if(e&2){let n=c(3);V("clear-left",n.clearPos==="left")("clear-right",n.clearPos==="right")("clear-center",n.clearPos==="center"),d(2),Be(n.clearBtnLbl)}}function cv(e,t){if(e&1&&(_(0,"div",19),k(1,av,3,7,"div",22)(2,lv,3,7,"div",23),m()),e&2){let n=c(2);d(),u("ngIf",n.showTodayBtn),d(),u("ngIf",n.showClearBtn)}}function dv(e,t){if(e&1){let n=P();_(0,"div",27)(1,"bs-custom-date-view",28),S("onSelect",function(s){f(n);let r=c(2);return g(r.setRangeOnCalendar(s))}),m()()}if(e&2){let n=c(2);d(),u("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function uv(e,t){if(e&1){let n=P();_(0,"div",3)(1,"div",4),S("@datepickerAnimation.done",function(){f(n);let s=c();return g(s.positionServiceEnable())}),_(2,"div",5),ce(3,"async"),k(4,tv,5,4,"ng-container",6)(5,nv,3,3,"div",7)(6,rv,3,3,"div",7),m(),k(7,ov,5,0,"div",8)(8,cv,3,2,"div",8),m(),k(9,dv,2,3,"div",9),m()}if(e&2){let n=c();u("ngClass",n.containerClass),d(),u("@datepickerAnimation",n.animationState),d(),u("ngSwitch",de(3,9,n.viewMode)),d(2),u("ngSwitchCase","day"),d(),u("ngSwitchCase","month"),d(),u("ngSwitchCase","year"),d(),u("ngIf",!1),d(),u("ngIf",n.showTodayBtn||n.showClearBtn),d(),u("ngIf",n.customRanges&&n.customRanges.length>0)}}var Lt=(()=>{let t=class t{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Lu="220ms cubic-bezier(0, 0, 0.2, 1)",Mr=ws("datepickerAnimation",[mi("animated-down",Pt({height:"*",overflow:"hidden"})),pi("* => animated-down",[Pt({height:0,overflow:"hidden"}),_i(Lu)]),mi("animated-up",Pt({height:"*",overflow:"hidden"})),pi("* => animated-up",[Pt({height:"*",overflow:"hidden"}),_i(Lu)]),pi("* => unanimated",_i("0s"))]),Dr=class{constructor(){this.containerClass="",this.customRanges=[],this.chosenRange=[],this._daysCalendarSub=new tt,this.selectedTimeSub=new tt}set minDate(t){this._effects?.setMinDate(t)}set maxDate(t){this._effects?.setMaxDate(t)}set daysDisabled(t){this._effects?.setDaysDisabled(t)}set datesDisabled(t){this._effects?.setDatesDisabled(t)}set datesEnabled(t){this._effects?.setDatesEnabled(t)}set isDisabled(t){this._effects?.setDisabled(t)}set dateCustomClasses(t){this._effects?.setDateCustomClasses(t)}set dateTooltipTexts(t){this._effects?.setDateTooltipTexts(t)}set daysCalendar$(t){this._daysCalendar$=t,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(n=>{this.multipleCalendars=!!n&&n.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(t){}navigateTo(t){}dayHoverHandler(t){}weekHoverHandler(t){}monthHoverHandler(t){}yearHoverHandler(t){}timeSelectHandler(t,n){}daySelectHandler(t){}monthSelectHandler(t){}yearSelectHandler(t){}setRangeOnCalendar(t){}setToday(){}clearDate(){}_stopPropagation(t){t.stopPropagation()}},pe=(()=>{let t=class t{calculate(){return{type:t.CALCULATE}}format(){return{type:t.FORMAT}}flag(){return{type:t.FLAG}}select(i){return{type:t.SELECT,payload:i}}selectTime(i,s){return{type:t.SELECT_TIME,payload:{date:i,index:s}}}changeViewMode(i){return{type:t.CHANGE_VIEWMODE,payload:i}}navigateTo(i){return{type:t.NAVIGATE_TO,payload:i}}navigateStep(i){return{type:t.NAVIGATE_OFFSET,payload:i}}setOptions(i){return{type:t.SET_OPTIONS,payload:i}}selectRange(i){return{type:t.SELECT_RANGE,payload:i}}hoverDay(i){return{type:t.HOVER,payload:i.isHovered?i.cell.date:null}}minDate(i){return{type:t.SET_MIN_DATE,payload:i}}maxDate(i){return{type:t.SET_MAX_DATE,payload:i}}daysDisabled(i){return{type:t.SET_DAYSDISABLED,payload:i}}datesDisabled(i){return{type:t.SET_DATESDISABLED,payload:i}}datesEnabled(i){return{type:t.SET_DATESENABLED,payload:i}}isDisabled(i){return{type:t.SET_IS_DISABLED,payload:i}}setDateCustomClasses(i){return{type:t.SET_DATE_CUSTOM_CLASSES,payload:i}}setDateTooltipTexts(i){return{type:t.SET_DATE_TOOLTIP_TEXTS,payload:i}}setLocale(i){return{type:t.SET_LOCALE,payload:i}}};t.CALCULATE="[datepicker] calculate dates matrix",t.FORMAT="[datepicker] format datepicker values",t.FLAG="[datepicker] set flags",t.SELECT="[datepicker] select date",t.NAVIGATE_OFFSET="[datepicker] shift view date",t.NAVIGATE_TO="[datepicker] change view date",t.SET_OPTIONS="[datepicker] update render options",t.HOVER="[datepicker] hover date",t.CHANGE_VIEWMODE="[datepicker] switch view mode",t.SET_MIN_DATE="[datepicker] set min date",t.SET_MAX_DATE="[datepicker] set max date",t.SET_DAYSDISABLED="[datepicker] set days disabled",t.SET_DATESDISABLED="[datepicker] set dates disabled",t.SET_DATESENABLED="[datepicker] set dates enabled",t.SET_IS_DISABLED="[datepicker] set is disabled",t.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",t.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts",t.SET_LOCALE="[datepicker] set datepicker locale",t.SELECT_TIME="[datepicker] select time",t.SELECT_RANGE="[daterangepicker] select dates range",t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Ms=(()=>{let t=class t{constructor(){this._defaultLocale="en",this._locale=new ee(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(i){i!==this.currentLocale&&this._locale.next(i)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),gi=(()=>{let t=class t{constructor(i,s){this._actions=i,this._localeService=s,this._subs=[]}init(i){return this._store=i,this}setValue(i){this._store?.dispatch(this._actions.select(i))}setRangeValue(i){this._store?.dispatch(this._actions.selectRange(i))}setMinDate(i){return this._store?.dispatch(this._actions.minDate(i)),this}setMaxDate(i){return this._store?.dispatch(this._actions.maxDate(i)),this}setDaysDisabled(i){return this._store?.dispatch(this._actions.daysDisabled(i)),this}setDatesDisabled(i){return this._store?.dispatch(this._actions.datesDisabled(i)),this}setDatesEnabled(i){return this._store?.dispatch(this._actions.datesEnabled(i)),this}setDisabled(i){return this._store?.dispatch(this._actions.isDisabled(i)),this}setDateCustomClasses(i){return this._store?.dispatch(this._actions.setDateCustomClasses(i)),this}setDateTooltipTexts(i){return this._store?.dispatch(this._actions.setDateTooltipTexts(i)),this}setOptions(i){let s=Object.assign({locale:this._localeService.currentLocale},i);return this._store?.dispatch(this._actions.setOptions(s)),this}setBindings(i){return this._store?(i.selectedTime=this._store.select(s=>s.selectedTime).pipe(ye(s=>!!s)),i.daysCalendar$=this._store.select(s=>s.flaggedMonths).pipe(ye(s=>!!s)),i.monthsCalendar=this._store.select(s=>s.flaggedMonthsCalendar).pipe(ye(s=>!!s)),i.yearsCalendar=this._store.select(s=>s.yearsCalendarFlagged).pipe(ye(s=>!!s)),i.viewMode=this._store.select(s=>s.view?.mode),i.options$=Ls([this._store.select(s=>s.showWeekNumbers),this._store.select(s=>s.displayMonths)]).pipe(Dt(s=>({showWeekNumbers:s[0],displayMonths:s[1]}))),this):this}setEventHandlers(i){return i.setViewMode=s=>{this._store?.dispatch(this._actions.changeViewMode(s))},i.navigateTo=s=>{this._store?.dispatch(this._actions.navigateStep(s.step))},i.dayHoverHandler=s=>{let r=s.cell;r.isOtherMonth||r.isDisabled||(this._store?.dispatch(this._actions.hoverDay(s)),r.isHovered=s.isHovered)},i.monthHoverHandler=s=>{s.cell.isHovered=s.isHovered},i.yearHoverHandler=s=>{s.cell.isHovered=s.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(i=>i.view).subscribe(()=>{this._store?.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(i=>i.monthsModel).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.format()))),this._subs.push(this._store.select(i=>i.formattedMonths).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.selectedDate).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.selectedRange).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.monthsCalendar).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.yearsCalendarModel).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.hoveredDate).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.dateCustomClasses).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(i=>i.dateTooltipTexts).pipe(ye(i=>!!i)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(i=>this._store?.dispatch(this._actions.setLocale(i)))),this):this}destroy(){for(let i of this._subs)i.unsubscribe()}};t.\u0275fac=function(s){return new(s||t)(J(pe),J(Ms))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),hv={width:7,height:6},_v=1440*60*1e3;var mv={date:new Date,mode:"day"},Pu=Object.assign(new Lt,{locale:"en",view:mv,selectedRange:[],selectedTime:[],monthViewOptions:hv});function pv(e,t){if(Ud(e,t.firstDayOfWeek))return e;let n=Et(e),i=fv(n,t.firstDayOfWeek);return He(e,{day:-i})}function fv(e,t){let n=Number(t);if(isNaN(n))return 0;if(n===0)return e;let i=e-n%7;return i<0?i+7:i}function ya(e,t,n){let i=t&&di(ys(e,"month"),t,"day"),s=n&&Qt(Yt(e,"month"),n,"day");return i||s||!1}function Ss(e,t,n){let i=t&&di(ys(e,"year"),t,"day"),s=n&&Qt(Yt(e,"year"),n,"day");return i||s||!1}function wa(e,t,n){return!t||!ue(t)||!t.length?!1:n&&n==="year"&&!t[0].getDate()?t.some(i=>bs(e,i,"year")):t.some(i=>bs(e,i,"date"))}function Sa(e,t,n){return!t||!ue(t)||!t.length?!1:!t.some(i=>bs(e,i,n||"date"))}function Hu(e,t=0){let n=e&&e.yearsCalendarModel&&e.yearsCalendarModel[t];return n?.years[0]&&n.years[0][0]&&n.years[0][0].date}function gv(e,t){return!e||!t||!e.length&&!e[0].value||e.forEach(n=>(!n||!n.value||n.value instanceof Date||!(n.value instanceof Array&&n.value.length)||(n.value=Vu(n.value,t)),e)),e}function Nu(e,t){return!e||!t||e instanceof Array&&!e.length||e instanceof Date?e:Vu(e,t)}function Vu(e,t){return e instanceof Array?e.map(i=>i&&(Qt(i,t,"date")&&(i=t),i)):e}function Ou(e){return e&&Fu(e)}function Ru(e){return e?.length&&e.map(t=>t&&Fu(t)),e}function Fu(e){let t=new Date;return e.setMilliseconds(t.getMilliseconds()),e.setSeconds(t.getSeconds()),e.setMinutes(t.getMinutes()),e.setHours(t.getHours()),e}function Da(e,t){let n=e.initialDate,i=new Array(e.height);for(let s=0;s<e.height;s++){i[s]=new Array(e.width);for(let r=0;r<e.width;r++)i[s][r]=t(n),n=He(n,e.shift)}return i}function ga(e,t){let n=Wd(e),i=pv(n,t),s={width:t.width||0,height:t.height||0,initialDate:i,shift:{day:1}};return{daysMatrix:Da(s,o=>o),month:n}}function vv(e,t,n){return{month:e.month,monthTitle:ct(e.month,t.monthTitle,t.locale),yearTitle:ct(e.month,t.yearTitle,t.locale),weekNumbers:yv(e.daysMatrix,t.weekNumbers,t.locale),weekdays:bv(t.locale),weeks:e.daysMatrix.map((i,s)=>({days:i.map((r,o)=>({date:r,label:ct(r,t.dayLabel,t.locale),monthIndex:n,weekIndex:s,dayIndex:o}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function yv(e,t,n){return e.map(i=>i[0]?ct(i[0],t,n):"")}function bv(e){let t=We(e),n=t.weekdaysShort(),i=t.firstDayOfWeek();return[...n.slice(i),...n.slice(0,i)]}function wv(e,t){return e.weeks.forEach(n=>{n.days.forEach((i,s)=>{let r=!Ji(i.date,e.month),o=!r&&Jt(i.date,t.hoveredDate),a=!r&&t.selectedRange&&Jt(i.date,t.selectedRange[0]),l=!r&&t.selectedRange&&Jt(i.date,t.selectedRange[1]),h=!r&&Jt(i.date,t.selectedDate)||a||l,p=!r&&t.selectedRange&&Sv(i.date,t.selectedRange,t.hoveredDate),b=t.isDisabled||di(i.date,t.minDate,"day")||Qt(i.date,t.maxDate,"day")||du(i.date,t.daysDisabled)||wa(i.date,t.datesDisabled)||Sa(i.date,t.datesEnabled),x=new Date,v=!r&&Jt(i.date,x),Y=t.dateCustomClasses&&t.dateCustomClasses.map(B=>Jt(i.date,B.date)?B.classes:[]).reduce((B,ke)=>B.concat(ke),[]).join(" ")||"",j=t.dateTooltipTexts&&t.dateTooltipTexts.map(B=>Jt(i.date,B.date)?B.tooltipText:"").reduce((B,ke)=>(B.push(ke),B),[]).join(" ")||"",z=Object.assign({},i,{isOtherMonth:r,isHovered:o,isSelected:h,isSelectionStart:a,isSelectionEnd:l,isInRange:p,isDisabled:b,isToday:v,customClasses:Y,tooltipText:j});(i.isOtherMonth!==z.isOtherMonth||i.isHovered!==z.isHovered||i.isSelected!==z.isSelected||i.isSelectionStart!==z.isSelectionStart||i.isSelectionEnd!==z.isSelectionEnd||i.isDisabled!==z.isDisabled||i.isInRange!==z.isInRange||i.customClasses!==z.customClasses||i.tooltipText!==z.tooltipText)&&(n.days[s]=z)})}),e.hideLeftArrow=t.isDisabled||!!t.monthIndex&&t.monthIndex>0&&t.monthIndex!==t.displayMonths,e.hideRightArrow=t.isDisabled||(!!t.monthIndex||t.monthIndex===0)&&!!t.displayMonths&&t.monthIndex<t.displayMonths&&t.monthIndex+1!==t.displayMonths,e.disableLeftArrow=ya(He(e.month,{month:-1}),t.minDate,t.maxDate),e.disableRightArrow=ya(He(e.month,{month:1}),t.minDate,t.maxDate),e}function Sv(e,t,n){return!e||!t||!t[0]?!1:t[1]?e>t[0]&&e<=t[1]:n?e>t[0]&&e<=n:!1}function Iu(e,t){return t?e>=t:!0}var Dv=4,Mv=3,Cv={month:1};function ju(e,t){let n=Yt(e,"year");return{months:Da({width:Mv,height:Dv,initialDate:n,shift:Cv},r=>({date:r,label:ct(r,t.monthLabel,t.locale)})),monthTitle:"",yearTitle:ct(e,t.yearTitle,t.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}function kv(e,t){return e.months.forEach((n,i)=>{n.forEach((s,r)=>{let o,a=Ji(s.date,t.hoveredMonth),l=t.isDisabled||wa(s.date,t.datesDisabled)||Sa(s.date,t.datesEnabled,"month")||ya(s.date,t.minDate,t.maxDate);!t.selectedDate&&t.selectedRange?(o=Ji(s.date,t.selectedRange[0]),o||(o=Ji(s.date,t.selectedRange[1]))):o=Ji(s.date,t.selectedDate);let h=Object.assign(s,{isHovered:a,isDisabled:l,isSelected:o});(s.isHovered!==h.isHovered||s.isDisabled!==h.isDisabled||s.isSelected!==h.isSelected)&&(e.months[i][r]=h)})}),e.hideLeftArrow=!!t.monthIndex&&t.monthIndex>0&&t.monthIndex!==t.displayMonths,e.hideRightArrow=(!!t.monthIndex||t.monthIndex===0)&&(!!t.displayMonths||t.displayMonths===0)&&t.monthIndex<t.displayMonths&&t.monthIndex+1!==t.displayMonths,e.disableLeftArrow=Ss(He(e.months[0][0].date,{year:-1}),t.minDate,t.maxDate),e.disableRightArrow=Ss(He(e.months[0][0].date,{year:1}),t.minDate,t.maxDate),e}var Ma=4,Ca=4,Cr=Ma*Ca,Bu=(Math.floor(Cr/2)-1)*-1,Tv={year:1};function $u(e,t,n){let i=xv(e,n),r=Da({width:Ca,height:Ma,initialDate:i,shift:Tv},a=>({date:a,label:ct(a,t.yearLabel,t.locale)})),o=Ev(r,t);return{years:r,monthTitle:"",yearTitle:o,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function xv(e,t){return t&&e.getFullYear()>=t.getFullYear()&&e.getFullYear()<t.getFullYear()+Cr?t:He(e,{year:Bu})}function Ev(e,t){let n=ct(e[0][0].date,t.yearTitle,t.locale),i=ct(e[Ma-1][Ca-1].date,t.yearTitle,t.locale);return`${n} - ${i}`}function Lv(e,t){e.years.forEach((s,r)=>{s.forEach((o,a)=>{let l,h=Qi(o.date,t.hoveredYear),p=t.isDisabled||wa(o.date,t.datesDisabled,"year")||Sa(o.date,t.datesEnabled,"year")||Ss(o.date,t.minDate,t.maxDate);!t.selectedDate&&t.selectedRange?(l=Qi(o.date,t.selectedRange[0]),l||(l=Qi(o.date,t.selectedRange[1]))):l=Qi(o.date,t.selectedDate);let b=Object.assign(o,{isHovered:h,isDisabled:p,isSelected:l});(o.isHovered!==b.isHovered||o.isDisabled!==b.isDisabled||o.isSelected!==b.isSelected)&&(e.years[r][a]=b)})}),e.hideLeftArrow=!!t.yearIndex&&t.yearIndex>0&&t.yearIndex!==t.displayMonths,e.hideRightArrow=!!t.yearIndex&&!!t.displayMonths&&t.yearIndex<t.displayMonths&&t.yearIndex+1!==t.displayMonths,e.disableLeftArrow=Ss(He(e.years[0][0].date,{year:-1}),t.minDate,t.maxDate);let n=e.years.length-1,i=e.years[n].length-1;return e.disableRightArrow=Ss(He(e.years[n][i].date,{year:1}),t.minDate,t.maxDate),e}function ba(e,t){!e||!isNaN(e.getTime())||(e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds()),e.setMilliseconds(t.getMilliseconds()))}function Au(e=Pu,t){switch(t.type){case pe.CALCULATE:return Ov(e);case pe.FORMAT:return Rv(e);case pe.FLAG:return Iv(e);case pe.NAVIGATE_OFFSET:return Av(e,t);case pe.NAVIGATE_TO:{let n=t.payload;if(!e.view||!n.unit)return e;let i=Xd(e.view.date,n.unit),s,r;return Iu(n.viewMode,e.minMode)?(r=n.viewMode,s={view:{date:i,mode:r}}):(r=e.view.mode,s={selectedDate:i,view:{date:i,mode:r}}),Object.assign({},e,s)}case pe.CHANGE_VIEWMODE:{if(!Iu(t.payload,e.minMode)||!e.view)return e;let n=e.view.date,i=t.payload;return Object.assign({},e,{view:{date:n,mode:i}})}case pe.HOVER:return Object.assign({},e,{hoveredDate:t.payload});case pe.SELECT:{if(!e.view)return e;let n={selectedDate:t.payload,view:e.view};if(Array.isArray(e.selectedTime)){let o=e.selectedTime[0];n.selectedDate&&o&&ba(n.selectedDate,o)}let i=e.view.mode,s=t.payload||e.view.date,r=va(s,e.minDate,e.maxDate);return n.view={mode:i,date:r},Object.assign({},e,n)}case pe.SELECT_TIME:{let{date:n,index:i}=t.payload,s=e.selectedTime?[...e.selectedTime]:[];return s[i]=n,Object.assign({},e,{selectedTime:s})}case pe.SET_OPTIONS:{if(!e.view)return e;let n=t.payload,i=n.minMode?n.minMode:e.view.mode,s=qt(n.value)&&n.value||ue(n.value)&&qt(n.value[0])&&n.value[0]||e.view.date,r=va(s,n.minDate,n.maxDate);return n.view={mode:i,date:r},n.value&&(ue(n.value)&&(n.selectedRange=n.value,n.selectedTime=n.value.map(o=>o)),n.value instanceof Date&&(n.selectedDate=n.value,n.selectedTime=[n.value])),Object.assign({},e,n)}case pe.SELECT_RANGE:{if(!e.view)return e;let n={selectedRange:t.payload,view:e.view};n.selectedRange?.forEach((o,a)=>{if(Array.isArray(e.selectedTime)){let l=e.selectedTime[a];l&&ba(o,l)}});let i=e.view.mode,s=t.payload&&t.payload[0]||e.view.date,r=va(s,e.minDate,e.maxDate);return n.view={mode:i,date:r},Object.assign({},e,n)}case pe.SET_MIN_DATE:return Object.assign({},e,{minDate:t.payload});case pe.SET_MAX_DATE:return Object.assign({},e,{maxDate:t.payload});case pe.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:t.payload});case pe.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:t.payload});case pe.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},e,{dateTooltipTexts:t.payload});default:return e}}function Ov(e){if(!e.view)return e;let t;e.displayOneMonthRange&&Wu(e.view.date,e.minDate,e.maxDate)?t=1:t=e.displayMonths||1;let n=e.view.date;if(e.view.mode==="day"&&e.monthViewOptions){e.showPreviousMonth&&e.selectedRange&&e.selectedRange.length===0&&(n=He(n,{month:-1})),e.monthViewOptions.firstDayOfWeek=We(e.locale).firstDayOfWeek();let i=new Array(t);for(let s=0;s<t;s++)i[s]=ga(n,e.monthViewOptions),n=He(n,{month:1});if(e.preventChangeToNextMonth&&e.flaggedMonths&&e.hoveredDate){let s=ga(e.view.date,e.monthViewOptions);e.flaggedMonths.length&&e.flaggedMonths[1].month.getMonth()===s.month.getMonth()&&(i=e.flaggedMonths.map(r=>e.monthViewOptions?ga(r.month,e.monthViewOptions):null).filter(r=>r!==null))}return Object.assign({},e,{monthsModel:i})}if(e.view.mode==="month"){let i=new Array(t);for(let s=0;s<t;s++)i[s]=ju(n,Ds(e)),n=He(n,{year:1});return Object.assign({},e,{monthsCalendar:i})}if(e.view.mode==="year"){let i=new Array(t);for(let s=0;s<t;s++)i[s]=$u(n,Ds(e),e.minMode==="year"?Hu(e,s):void 0),n=He(n,{year:Cr});return Object.assign({},e,{yearsCalendarModel:i})}return e}function Rv(e){if(!e.view)return e;if(e.view.mode==="day"&&e.monthsModel){let i=e.monthsModel.map((s,r)=>vv(s,Ds(e),r));return Object.assign({},e,{formattedMonths:i})}let t=e.displayMonths||1,n=e.view.date;if(e.view.mode==="month"){let i=new Array(t);for(let s=0;s<t;s++)i[s]=ju(n,Ds(e)),n=He(n,{year:1});return Object.assign({},e,{monthsCalendar:i})}if(e.view.mode==="year"){let i=new Array(t);for(let s=0;s<t;s++)i[s]=$u(n,Ds(e)),n=He(n,{year:16});return Object.assign({},e,{yearsCalendarModel:i})}return e}function Iv(e){if(!e.view)return e;let t=Wu(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths;if(e.formattedMonths&&e.view.mode==="day"){let n=e.formattedMonths.map((i,s)=>wv(i,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,daysDisabled:e.daysDisabled,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,hoveredDate:e.hoveredDate,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:t,dateCustomClasses:e.dateCustomClasses,dateTooltipTexts:e.dateTooltipTexts,monthIndex:s}));return Object.assign({},e,{flaggedMonths:n})}if(e.view.mode==="month"&&e.monthsCalendar){let n=e.monthsCalendar.map((i,s)=>kv(i,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredMonth:e.hoveredMonth,selectedDate:e.selectedDate,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,selectedRange:e.selectedRange,displayMonths:t,monthIndex:s}));return Object.assign({},e,{flaggedMonthsCalendar:n})}if(e.view.mode==="year"&&e.yearsCalendarModel){let n=e.yearsCalendarModel.map((i,s)=>Lv(i,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredYear:e.hoveredYear,selectedDate:e.selectedDate,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,selectedRange:e.selectedRange,displayMonths:t,yearIndex:s}));return Object.assign({},e,{yearsCalendarFlagged:n})}return e}function Av(e,t){if(!e.view)return e;let n=Yv(e,t);if(!n)return e;let i={view:{mode:e.view.mode,date:n}};return Object.assign({},e,i)}function Yv(e,t){if(e.view){if(e.view.mode==="year"&&e.minMode==="year"){let n=Hu(e,0);if(n){let i=He(n,{year:-Bu});return He(i,t.payload)}}return He(Yt(e.view.date,"month"),t.payload)}}function Ds(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function va(e,t,n){let i=Array.isArray(e)?e[0]:e;return t&&Qt(t,i,"day")?t:n&&di(n,i,"day")?n:i}function Wu(e,t,n){return n&&bs(n,e,"day")?!0:t&&n&&t.getMonth()===n.getMonth()}var vi=(()=>{let t=class t extends Yn{constructor(){let i=new ee({type:"[datepicker] dispatcher init"}),s=new An(Pu,i,Au);super(i,Au,s)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),kr=(()=>{let t=class t{constructor(){this.onSelect=new H}selectFromRanges(i){this.onSelect.emit(i)}compareRanges(i){return JSON.stringify(i?.value)===JSON.stringify(this.selectedRange)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(s,r){s&1&&(_(0,"div",0),k(1,Bf,2,3,"button",1),m()),s&2&&(d(),u("ngForOf",r.ranges))},dependencies:[Wt],encapsulation:2,changeDetection:0});let e=t;return e})(),Fn=(function(e){return e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e})(Fn||{}),ka=(()=>{let t=class t{constructor(){this.isDisabled=!1,this.onNavigate=new H,this.onViewMode=new H}navTo(i){this.onNavigate.emit(i?Fn.DOWN:Fn.UP)}view(i){this.isDisabled||this.onViewMode.emit(i)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:9,consts:[["type","button",1,"previous",3,"click","disabled"],[4,"ngIf"],["type","button",1,"current",3,"click","disabled"],["type","button",1,"next",3,"click","disabled"]],template:function(s,r){s&1&&(_(0,"button",0),S("click",function(){return r.navTo(!0)}),_(1,"span"),L(2,"\u2039"),m()(),k(3,$f,5,2,"ng-container",1),L(4," \u200B "),_(5,"button",2),S("click",function(){return r.view("year")}),_(6,"span"),L(7),m()(),L(8," \u200B "),_(9,"button",3),S("click",function(){return r.navTo(!1)}),_(10,"span"),L(11,"\u203A"),m()()),s&2&&($t("visibility",r.calendar.hideLeftArrow?"hidden":"visible"),u("disabled",r.calendar.disableLeftArrow),d(3),u("ngIf",r.calendar&&r.calendar.monthTitle),d(2),u("disabled",r.isDisabled),d(2),Be(r.calendar.yearTitle),d(2),$t("visibility",r.calendar.hideRightArrow?"hidden":"visible"),u("disabled",r.calendar.disableRightArrow))},dependencies:[ot],encapsulation:2,changeDetection:0});let e=t;return e})(),Pv=(()=>{let t=class t{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(s,r){s&1&&(Rt(0,"div",0)(1,"div",1)(2,"button",2),L(3,"-"),It(),Ei(4,"input",3),Rt(5,"button",4),L(6,"+"),It()(),Rt(7,"div",1)(8,"button",2),L(9,"-"),It(),Ei(10,"input",3),Rt(11,"button",4),L(12,"+"),It()(),Rt(13,"button",5),L(14),Ei(15,"img",6),It()()),s&2&&(d(4),Ur("value",r.hours),d(6),Ur("value",r.minutes),d(4),Ge("",r.ampm," "))},encapsulation:2});let e=t;return e})(),Hv=(()=>{let t=class t{};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(s,r){s&1&&(Rt(0,"div",0)(1,"span"),L(2),It()()),s&2&&(d(2),Be(r.title))},encapsulation:2});let e=t;return e})(),Ta=(()=>{let t=class t{};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-calendar-layout"]],ngContentSelectors:Uf,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(s,r){s&1&&(Li(Wf),k(0,zf,1,0,"bs-current-date",0),_(1,"div",1),ni(2),m(),_(3,"div",2),ni(4,1),m(),k(5,Gf,1,0,"bs-timepicker",3)),s&2&&(u("ngIf",!1),d(5),u("ngIf",!1))},dependencies:[ot,Hv,Pv],encapsulation:2});let e=t;return e})(),Tr=(()=>{let t=class t{constructor(){this.onNavigate=new H,this.onViewMode=new H,this.onSelect=new H,this.onHover=new H}navigateTo(i){let s=Fn.DOWN===i?-1:1;this.onNavigate.emit({step:{year:s*Cr}})}viewYear(i){this.onSelect.emit(i)}hoverYear(i,s){this.onHover.emit({cell:i,isHovered:s})}changeViewMode(i){this.onViewMode.emit(i)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(s,r){s&1&&(_(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),S("onNavigate",function(a){return r.navigateTo(a)})("onViewMode",function(a){return r.changeViewMode(a)}),m(),_(2,"table",1)(3,"tbody"),k(4,Xf,2,1,"tr",2),m()()()),s&2&&(d(),u("calendar",r.calendar),d(3),u("ngForOf",r.calendar==null?null:r.calendar.years))},dependencies:[Ta,ka,Wt],encapsulation:2});let e=t;return e})(),xr=(()=>{let t=class t{constructor(){this.onNavigate=new H,this.onViewMode=new H,this.onSelect=new H,this.onHover=new H}navigateTo(i){let s=Fn.DOWN===i?-1:1;this.onNavigate.emit({step:{year:s}})}viewMonth(i){this.onSelect.emit(i)}hoverMonth(i,s){this.onHover.emit({cell:i,isHovered:s})}changeViewMode(i){this.onViewMode.emit(i)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=re({type:t,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(s,r){s&1&&(_(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),S("onNavigate",function(a){return r.navigateTo(a)})("onViewMode",function(a){return r.changeViewMode(a)}),m(),_(2,"table",1)(3,"tbody"),k(4,qf,2,1,"tr",2),m()()()),s&2&&(d(),u("calendar",r.calendar),d(3),u("ngForOf",r.calendar==null?null:r.calendar.months))},dependencies:[Ta,ka,Wt],encapsulation:2});let e=t;return e})(),Nv=(()=>{let t=class t{constructor(i,s,r){this._config=i,this._elRef=s,this._renderer=r,this.day={date:new Date,label:""}}ngOnInit(){this.day?.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),typeof this.day?.customClasses=="string"&&this.day?.customClasses.split(" ").filter(i=>i).forEach(i=>{this._renderer.addClass(this._elRef.nativeElement,i)})}};t.\u0275fac=function(s){return new(s||t)(y(Lt),y(te),y(Fe))},t.\u0275cmp=re({type:t,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(s,r){s&2&&V("disabled",r.day.isDisabled)("is-highlighted",r.day.isHovered)("is-other-month",r.day.isOtherMonth)("is-active-other-month",r.day.isOtherMonthHovered)("in-range",r.day.isInRange)("select-start",r.day.isSelectionStart)("select-end",r.day.isSelectionEnd)("selected",r.day.isSelected)},inputs:{day:"day"},attrs:Jf,decls:1,vars:1,template:function(s,r){s&1&&L(0),s&2&&Be(r.day&&r.day.label||"")},encapsulation:2,changeDetection:0});let e=t;return e})(),Cs=(()=>{let t=class t{constructor(i){this._config=i,this.onNavigate=new H,this.onViewMode=new H,this.onSelect=new H,this.onHover=new H,this.onHoverWeek=new H,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(i){let s=Fn.DOWN===i?-1:1;this.onNavigate.emit({step:{month:s}})}changeViewMode(i){this.onViewMode.emit(i)}selectDay(i){this.onSelect.emit(i)}selectWeek(i){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||i.days.length===0)return;if(this._config.selectWeek&&i.days[0]&&!i.days[0].isDisabled&&this._config.selectFromOtherMonth){this.onSelect.emit(i.days[0]);return}let s=i.days.find(r=>(this._config.selectFromOtherMonth||!r.isOtherMonth)&&!r.isDisabled);if(this.onSelect.emit(s),this._config.selectWeekDateRange){let o=i.days.slice(0).reverse().find(a=>(this._config.selectFromOtherMonth||!a.isOtherMonth)&&!a.isDisabled);this.onSelect.emit(o)}}weekHoverHandler(i,s){if(!this._config.selectWeek&&!this._config.selectWeekDateRange)return;i.days.find(o=>(this._config.selectFromOtherMonth||!o.isOtherMonth)&&!o.isDisabled)&&(i.isHovered=s,this.isWeekHovered=s,this.onHoverWeek.emit(i))}hoverDay(i,s){this._config.selectFromOtherMonth&&i.isOtherMonth&&(i.isOtherMonthHovered=s),this._config.dateTooltipTexts&&(i.tooltipText="",this._config.dateTooltipTexts.forEach(r=>{if(Jt(r.date,i.date)){i.tooltipText=r.tooltipText;return}})),this.onHover.emit({cell:i,isHovered:s})}};t.\u0275fac=function(s){return new(s||t)(y(Lt))},t.\u0275cmp=re({type:t,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:5,consts:[[3,"onNavigate","onViewMode","calendar","isDisabled"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day","tooltip"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day"],["bsDatepickerDayDecorator","",3,"click","day"]],template:function(s,r){s&1&&(_(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),S("onNavigate",function(a){return r.navigateTo(a)})("onViewMode",function(a){return r.changeViewMode(a)}),m(),_(2,"table",1)(3,"thead")(4,"tr"),k(5,Qf,1,0,"th",2)(6,eg,2,1,"th",3),m()(),_(7,"tbody"),k(8,lg,3,2,"tr",4),m()()()),s&2&&(d(),u("calendar",r.calendar)("isDisabled",!!r.isDisabled),d(4),u("ngIf",r.options&&r.options.showWeekNumbers),d(),u("ngForOf",r.calendar.weekdays),d(2),u("ngForOf",r.calendar.weeks))},dependencies:[Ta,ka,ot,Wt,Nv,uo,Cc],encapsulation:2});let e=t;return e})(),xa=(()=>{let t=class t extends Dr{set value(i){this._effects?.setValue(i)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(i,s,r,o,a,l,h){super(),this._config=s,this._store=r,this._element=o,this._actions=a,this._positionService=h,this.valueChange=new H,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=l,i.setStyle(o.nativeElement,"display","block"),i.setStyle(o.nativeElement,"position","absolute")}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe(Un(1)).subscribe(()=>{if(this._positionService.disable(),this._config.isAnimated){this.animationState=this.isTopPosition?"animated-up":"animated-down";return}this.animationState="unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects();let i;this._subs.push(this._store.select(s=>s.selectedDate).subscribe(s=>{i=s,this.valueChange.emit(s)})),this._subs.push(this._store.select(s=>s.selectedTime).subscribe(s=>{!s||!s[0]||!(s[0]instanceof Date)||s[0]===i||this.valueChange.emit(s[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(i=>{Array.isArray(i)&&i.length>=1&&this.startTimepicker?.writeValue(i[0])})),this.startTimepicker?.registerOnChange(i=>{this.timeSelectHandler(i,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(i,s){this._store.dispatch(this._actions.selectTime(i,s))}daySelectHandler(i){!i||(this.isOtherMonthsActive?i.isDisabled:i.isOtherMonth||i.isDisabled)||this._store.dispatch(this._actions.select(i.date))}monthSelectHandler(i){!i||i.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:Q(i.date),year:Ie(i.date)},viewMode:"day"}))}yearSelectHandler(i){!i||i.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:Ie(i.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(let i of this._subs)i.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}};t.\u0275fac=function(s){return new(s||t)(y(Fe),y(Lt),y(vi),y(te),y(pe),y(gi),y(Qe))},t.\u0275cmp=re({type:t,selectors:[["bs-datepicker-container"]],viewQuery:function(s,r){if(s&1&&Oi(Yu,5),s&2){let o;si(o=ri())&&(r.startTimepicker=o.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(s,r){s&1&&S("click",function(a){return r._stopPropagation(a)}),s&2&&le("disabled",r.isDatepickerDisabled)("readonly",r.isDatepickerReadonly)},features:[Ee([vi,gi,pe]),xi],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(s,r){s&1&&(k(0,Sg,10,11,"div",2),ce(1,"async")),s&2&&u("ngIf",de(1,1,r.viewMode))},dependencies:[ot,zn,Gn,Kn,Wt,Cs,Nn,Hn,xr,Tr,kr,Xn],encapsulation:2,data:{animation:[Mr]}});let e=t;return e})(),Vn,Vv=(()=>{let t=class t{get readonlyValue(){return this.isDisabled?"":null}constructor(i,s,r,o,a){this._config=i,this._elementRef=s,this._renderer=r,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new G,this.isDisabled=!1,this.bsValueChange=new H,this._subs=[],this._dateInputFormat$=new G,Object.assign(this,this._config),this._datepicker=a.createLoader(s,o,r),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new ee(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(i){this.isOpen$.next(i)}set bsValue(i){this._bsValue&&i&&this._bsValue.getTime()===i.getTime()||(!this._bsValue&&i&&!this._config.withTimepicker&&ba(i,new Date),i&&this.bsConfig?.initCurrentTime&&(i=Ou(i)),this.initPreviousValue(),this._bsValue=i,this.bsValueChange.emit(i))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){Vn=this._bsValue}ngOnChanges(i){i.bsConfig&&(i.bsConfig.currentValue?.initCurrentTime&&i.bsConfig.currentValue?.initCurrentTime!==i.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=Ou(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),!(!this._datepickerRef||!this._datepickerRef.instance)&&(i.minDate&&(this._datepickerRef.instance.minDate=this.minDate),i.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),i.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),i.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),i.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),i.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),i.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),i.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(i=>{this._datepickerRef&&(this._datepickerRef.instance.value=i)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(i=>{this.initPreviousValue(),this.bsValue=i,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){return!Vn||!this.bsConfig?.keepDatepickerOpened||!this._config.withTimepicker?!1:this.isDateSame()}isDateSame(){return Vn instanceof Date&&this._bsValue?.getDate()===Vn?.getDate()&&this._bsValue?.getMonth()===Vn?.getMonth()&&this._bsValue?.getFullYear()===Vn?.getFullYear()}ngAfterViewInit(){this.isOpen$.pipe(ye(i=>i!==this.isOpen),on(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Lt,useValue:this._config}).attach(xa).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();for(let i of this._subs)i.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:Nu(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(i=>i.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}};t.\u0275fac=function(s){return new(s||t)(y(Lt),y(te),y(Fe),y(Ft),y(ut))},t.\u0275dir=je({type:t,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(s,r){s&2&&le("readonly",r.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",ignoreMinMaxErrors:"ignoreMinMaxErrors",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],features:[Ee([ut]),Vt]});let e=t;return e})();var Fv=(()=>{let t=class t extends xa{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(i,s,r,o,a,l,h){super(i,s,r,o,a,l,h),i.setStyle(o.nativeElement,"display","inline-block"),i.setStyle(o.nativeElement,"position","static")}};t.\u0275fac=function(s){return new(s||t)(y(Fe),y(Lt),y(vi),y(te),y(pe),y(gi),y(Qe))},t.\u0275cmp=re({type:t,selectors:[["bs-datepicker-inline-container"]],hostVars:2,hostBindings:function(s,r){s&1&&S("click",function(a){return r._stopPropagation(a)}),s&2&&le("disabled",r.disabledValue)("readonly",r.readonlyValue)},features:[Ee([vi,gi,Qe]),xi],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(s,r){s&1&&(k(0,Pg,10,11,"div",2),ce(1,"async")),s&2&&u("ngIf",de(1,1,r.viewMode))},dependencies:[ot,zn,Gn,Kn,Wt,Cs,Nn,Hn,xr,Tr,kr,Xn],encapsulation:2,data:{animation:[Mr]}});let e=t;return e})();var Ea=(()=>{let t=class t extends Dr{set value(i){this._effects?.setRangeValue(i)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(i,s,r,o,a,l,h){super(),this._config=s,this._store=r,this._element=o,this._actions=a,this._positionService=h,this.valueChange=new H,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this.isRangePicker=!0,this._effects=l,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,i.setStyle(o.nativeElement,"display","block"),i.setStyle(o.nativeElement,"position","absolute")}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe(Un(1)).subscribe(()=>{if(this._positionService.disable(),this._config.isAnimated){this.animationState=this.isTopPosition?"animated-up":"animated-down";return}this.animationState="unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects();let i;this._subs.push(this._store.select(s=>s.selectedRange).subscribe(s=>{i=s,this.valueChange.emit(s),this.chosenRange=s||[]})),this._subs.push(this._store.select(s=>s.selectedTime).subscribe(s=>{!s||!s[0]||!s[1]||!(s[0]instanceof Date)||!(s[1]instanceof Date)||i&&s[0]===i[0]&&s[1]===i[1]||(this.valueChange.emit(s),this.chosenRange=s||[])}))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(i=>{Array.isArray(i)&&i.length>=2&&(this.startTimepicker?.writeValue(i[0]),this.endTimepicker?.writeValue(i[1]))})),this.startTimepicker?.registerOnChange(i=>{this.timeSelectHandler(i,0)}),this.endTimepicker?.registerOnChange(i=>{this.timeSelectHandler(i,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(i,s){this._store.dispatch(this._actions.selectTime(i,s))}daySelectHandler(i){!i||(this.isOtherMonthsActive?i.isDisabled:i.isOtherMonth||i.isDisabled)||this.rangesProcessing(i)}monthSelectHandler(i){if(!(!i||i.isDisabled)){if(i.isSelected=!0,this._config.minMode!=="month"){if(i.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{month:Q(i.date),year:Ie(i.date)},viewMode:"day"}));return}this.rangesProcessing(i)}}yearSelectHandler(i){if(!(!i||i.isDisabled)){if(i.isSelected=!0,this._config.minMode!=="year"){if(i.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{year:Ie(i.date)},viewMode:"month"}));return}this.rangesProcessing(i)}}rangesProcessing(i){this._rangeStack.length===1&&(this._rangeStack=i.date>=this._rangeStack[0]?[this._rangeStack[0],i.date]:[i.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(i.date),this._rangeStack.length===0&&(this._rangeStack=[i.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(i.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),this._rangeStack.length===2&&(this._rangeStack=[])}ngOnDestroy(){for(let i of this._subs)i.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}setRangeOnCalendar(i){i&&(this._rangeStack=i.value instanceof Date?[i.value]:i.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(i){let s=new Date(i);if(this._config.maxDate){let r=this._config.maxDate.getTime(),o=i.getTime()+(this._config.maxDateRange||0)*_v;s=o>r?new Date(this._config.maxDate):new Date(o)}else s.setDate(i.getDate()+(this._config.maxDateRange||0));this._effects?.setMaxDate(s)}};t.\u0275fac=function(s){return new(s||t)(y(Fe),y(Lt),y(vi),y(te),y(pe),y(gi),y(Qe))},t.\u0275cmp=re({type:t,selectors:[["bs-daterangepicker-container"]],viewQuery:function(s,r){if(s&1&&(Oi(Yu,5),Oi(Hg,5)),s&2){let o;si(o=ri())&&(r.startTimepicker=o.first),si(o=ri())&&(r.endTimepicker=o.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(s,r){s&1&&S("click",function(a){return r._stopPropagation(a)}),s&2&&le("disabled",r.isDatepickerDisabled)("readonly",r.isDatepickerReadonly)},features:[Ee([vi,gi,pe,Qe]),xi],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(s,r){s&1&&(k(0,qg,10,11,"div",2),ce(1,"async")),s&2&&u("ngIf",de(1,1,r.viewMode))},dependencies:[ot,zn,Gn,Kn,Wt,Cs,Nn,Hn,xr,Tr,kr,Xn],encapsulation:2,data:{animation:[Mr]}});let e=t;return e})(),jv=(()=>{let t=class t extends Ea{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(i,s,r,o,a,l,h){super(i,s,r,o,a,l,h),i.setStyle(o.nativeElement,"display","inline-block"),i.setStyle(o.nativeElement,"position","static")}};t.\u0275fac=function(s){return new(s||t)(y(Fe),y(Lt),y(vi),y(te),y(pe),y(gi),y(Qe))},t.\u0275cmp=re({type:t,selectors:[["bs-daterangepicker-inline-container"]],hostVars:2,hostBindings:function(s,r){s&1&&S("click",function(a){return r._stopPropagation(a)}),s&2&&le("disabled",r.disabledValue)("readonly",r.readonlyValue)},features:[Ee([vi,gi,pe,Qe]),xi],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(s,r){s&1&&(k(0,uv,10,11,"div",2),ce(1,"async")),s&2&&u("ngIf",de(1,1,r.viewMode))},dependencies:[ot,zn,Gn,Kn,Wt,Cs,Nn,Hn,xr,Tr,kr,Xn],encapsulation:2,data:{animation:[Mr]}});let e=t;return e})();var Bv={provide:Zn,useExisting:ii(()=>Uu),multi:!0},$v={provide:Xr,useExisting:ii(()=>Uu),multi:!0},Uu=(()=>{let t=class t{constructor(i,s,r,o,a){this._picker=i,this._localeService=s,this._renderer=r,this._elRef=o,this.changeDetection=a,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new tt}onChange(i){this.writeValue(i.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}ngOnInit(){let i=s=>{this._setInputValue(s),this._value!==s&&(this._value=s,this._onChange(s),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&i(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(i)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe(rn()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(i){let s=i?ct(i,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",s)}validate(i){let s=i.value;if(s==null||s==="")return null;if(vs(s)){if(!qt(s))return{bsDate:{invalid:s}};if(this._picker&&this._picker.minDate&&di(s,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),this._picker.ignoreMinMaxErrors?null:{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Qt(s,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),this._picker.ignoreMinMaxErrors?null:{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(i){this._validatorChange=i}writeValue(i){if(!i)this._value=void 0;else{let s=this._localeService.currentLocale;if(!We(s))throw new Error(`Locale "${s}" is not defined, please add it with "defineLocale(...)"`);if(this._value=Rn(i,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc){let o=aa(this._value);this._value=o===null?void 0:o}}this._picker.bsValue=this._value}setDisabledState(i){if(this._picker.isDisabled=i,i){this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled");return}this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}};t.\u0275fac=function(s){return new(s||t)(y(Vv,1),y(Ms),y(Fe),y(te),y(un))},t.\u0275dir=je({type:t,selectors:[["input","bsDatepicker",""]],hostBindings:function(s,r){s&1&&S("change",function(a){return r.onChange(a)})("blur",function(){return r.onBlur()})("keyup.esc",function(){return r.hide()})("keydown.enter",function(){return r.hide()})},features:[Ee([Bv,$v])]});let e=t;return e})(),Wv=(()=>{let t=class t extends Lt{constructor(){super(...arguments),this.displayMonths=2}};t.\u0275fac=(()=>{let i;return function(r){return(i||(i=ln(t)))(r||t)}})(),t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),fi,Uv=(()=>{let t=class t{get isOpen(){return this._datepicker.isShown}set isOpen(i){this.isOpen$.next(i)}set bsValue(i){this._bsValue!==i&&(i&&this.bsConfig?.initCurrentTime&&(i=Ru(i)),this.initPreviousValue(),this._bsValue=i,this.bsValueChange.emit(i))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(i,s,r,o,a){this._config=i,this._elementRef=s,this._renderer=r,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new G,this.isDisabled=!1,this.bsValueChange=new H,this._subs=[],this._rangeInputFormat$=new G,this._datepicker=a.createLoader(s,o,r),Object.assign(this,i),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new ee(this.isOpen)}ngOnInit(){this.isDestroy$=new G,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(i){i.bsConfig&&(i.bsConfig.currentValue?.initCurrentTime&&i.bsConfig.currentValue?.initCurrentTime!==i.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=Ru(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(i.bsConfig.currentValue&&i.bsConfig.currentValue.rangeInputFormat)),!(!this._datepickerRef||!this._datepickerRef.instance)&&(i.minDate&&(this._datepickerRef.instance.minDate=this.minDate),i.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),i.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),i.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),i.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),i.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),i.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe(ye(i=>i!==this.isOpen),on(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Lt,useValue:this._config}).attach(Ea).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(i=>{this._datepickerRef&&(this._datepickerRef.instance.value=i)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe(ye(i=>i&&i[0]&&!!i[1])).subscribe(i=>{this.initPreviousValue(),this.bsValue=i,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){fi=this._bsValue}keepDatepickerModalOpened(){return!fi||!this.bsConfig?.keepDatepickerOpened||!this._config.withTimepicker?!1:this.isDateSame()}isDateSame(){return this._bsValue?.[0]?.getDate()===fi?.[0]?.getDate()&&this._bsValue?.[0]?.getMonth()===fi?.[0]?.getMonth()&&this._bsValue?.[0]?.getFullYear()===fi?.[0]?.getFullYear()&&this._bsValue?.[1]?.getDate()===fi?.[1]?.getDate()&&this._bsValue?.[1]?.getMonth()===fi?.[1]?.getMonth()&&this._bsValue?.[1]?.getFullYear()===fi?.[1]?.getFullYear()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this.bsConfig?.keepDatesOutOfRules?this._bsValue:Nu(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:gv(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();for(let i of this._subs)i.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(i=>i.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}};t.\u0275fac=function(s){return new(s||t)(y(Wv),y(te),y(Fe),y(Ft),y(ut))},t.\u0275dir=je({type:t,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(s,r){s&2&&le("readonly",r.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],features:[Ee([ut]),Vt]});let e=t;return e})(),zv={provide:Zn,useExisting:ii(()=>zu),multi:!0},Gv={provide:Xr,useExisting:ii(()=>zu),multi:!0},zu=(()=>{let t=class t{constructor(i,s,r,o,a){this._picker=i,this._localeService=s,this._renderer=r,this._elRef=o,this.changeDetection=a,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new tt}ngOnInit(){let i=s=>{this._setInputValue(s),this._value!==s&&(this._value=s,this._onChange(s),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&i(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(s=>{this._setInputValue(s),this._value!==s&&(this._value=s,this._onChange(s),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe(rn()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(i){(i.keyCode===13||i.code==="Enter")&&this.hide()}_setInputValue(i){let s="";if(i){let r=i[0]?ct(i[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",o=i[1]?ct(i[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";s=r&&o?r+this._picker._config.rangeSeparator+o:""}this._renderer.setProperty(this._elRef.nativeElement,"value",s)}onChange(i){this.writeValue(i.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(i){let s=i.value,r=[];if(s==null||!ue(s))return null;s=s.slice().sort((l,h)=>l.getTime()-h.getTime());let o=qt(s[0]),a=qt(s[1]);return o?a?(this._picker&&this._picker.minDate&&di(s[0],this._picker.minDate,"date")&&(s[0]=this._picker.minDate,r.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&Qt(s[1],this._picker.maxDate,"date")&&(s[1]=this._picker.maxDate,r.push({bsDate:{maxDate:this._picker.maxDate}})),r.length>0?(this.writeValue(s),r):null):{bsDate:{invalid:s[1]}}:{bsDate:{invalid:s[0]}}}registerOnValidatorChange(i){this._validatorChange=i}writeValue(i){if(!i)this._value=void 0;else{let s=this._localeService.currentLocale;if(!We(s))throw new Error(`Locale "${s}" is not defined, please add it with "defineLocale(...)"`);let o=[];if(typeof i=="string"){let a=this._picker._config.rangeSeparator.trim();i.replace(/[^-]/g,"").length>1?o=i.split(this._picker._config.rangeSeparator):o=i.split(a.length>0?a:this._picker._config.rangeSeparator).map(l=>l.trim())}Array.isArray(i)&&(o=i),this._value=o.map(a=>this._picker._config.useUtc?aa(Rn(a,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):Rn(a,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(a=>isNaN(a.valueOf())?void 0:a)}this._picker.bsValue=this._value}setDisabledState(i){if(this._picker.isDisabled=i,i){this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled");return}this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}};t.\u0275fac=function(s){return new(s||t)(y(Uv,1),y(Ms),y(Fe),y(te),y(un))},t.\u0275dir=je({type:t,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(s,r){s&1&&S("change",function(a){return r.onChange(a)})("keyup.esc",function(){return r.hide()})("keydown",function(a){return r.onKeydownEvent(a)})("blur",function(){return r.onBlur()})},features:[Ee([zv,Gv])]});let e=t;return e})(),LC=(()=>{let t=class t{static forRoot(){return{ngModule:t,providers:[]}}};t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=xe({type:t}),t.\u0275inj=Te({imports:[Ii,uo,Nn,Cs,xa,Fv,Ea,jv]});let e=t;return e})();function Gu(e){return e!=null&&`${e}`!="false"}var La;try{La=typeof Intl<"u"&&Intl.v8BreakIterator}catch{La=!1}var Xu=(()=>{let t=class t{constructor(i){this._platformId=i,this.isBrowser=this._platformId?hn(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||La)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.\u0275fac=function(s){return new(s||t)(J(cn))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Zu=(()=>{let t=class t{constructor(i){this._platform=i}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return Xv(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let s=Kv(ny(i));if(s&&(Ku(s)===-1||!this.isVisible(s)))return!1;let r=i.nodeName.toLowerCase(),o=Ku(i);return i.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!ty(i)?!1:r==="audio"?i.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,s){return iy(i)&&!this.isDisabled(i)&&(s?.ignoreVisibility||this.isVisible(i))}};t.\u0275fac=function(s){return new(s||t)(J(Xu))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Kv(e){try{return e.frameElement}catch{return null}}function Xv(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function Zv(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function qv(e){return Qv(e)&&e.type=="hidden"}function Jv(e){return ey(e)&&e.hasAttribute("href")}function Qv(e){return e.nodeName.toLowerCase()=="input"}function ey(e){return e.nodeName.toLowerCase()=="a"}function qu(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return t=="-32768"?!1:!!(t&&!isNaN(parseInt(t,10)))}function Ku(e){if(!qu(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function ty(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function iy(e){return qv(e)?!1:Zv(e)||Jv(e)||e.hasAttribute("contenteditable")||qu(e)}function ny(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var sy=(()=>{let t=class t{constructor(){this._focusTrapStack=[]}register(i){this._focusTrapStack=this._focusTrapStack.filter(r=>r!==i);let s=this._focusTrapStack;s.length&&s[s.length-1]._disable(),s.push(i),i._enable()}deregister(i){i._disable();let s=this._focusTrapStack,r=s.indexOf(i);r!==-1&&(s.splice(r,1),s.length&&s[s.length-1]._enable())}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Oa=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,n,i,s,r=!1){this._element=t,this._checker=n,this._ngZone=i,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){let t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),n&&(n.removeEventListener("focus",this.endAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let n=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i<n.length;i++)n[i].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,n[i]):n[i].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,n[i]);return t=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){let n=this._getFirstTabbableElement(t);return n?.focus(),!!n}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){let t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){let t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children||t.childNodes;for(let i=0;i<n.length;i++){let s=n[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[i]):null;if(s)return s}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children||t.childNodes;for(let i=n.length-1;i>=0;i--){let s=n[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[i]):null;if(s)return s}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Un(1)).subscribe(t)}},ry=(()=>{let t=class t{constructor(i,s,r){this._checker=i,this._ngZone=s,this._document=r}create(i,s=!1){return new Oa(i,this._checker,this._ngZone,this._document,s)}};t.\u0275fac=function(s){return new(s||t)(J(Zu),J(we),J(fe))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ju=(()=>{let t=class t{get enabled(){return this.focusTrap.enabled}set enabled(i){this.focusTrap.enabled=Gu(i)}get autoCapture(){return this._autoCapture}set autoCapture(i){this._autoCapture=Gu(i)}constructor(i,s,r){this._elementRef=i,this._focusTrapFactory=s,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=r,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(i){let s=i.autoCapture;s&&!s.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}};t.\u0275fac=function(s){return new(s||t)(y(te),y(ry),y(fe))},t.\u0275dir=je({type:t,selectors:[["","focusTrap",""]],inputs:{enabled:[0,"cdkTrapFocus","enabled"],autoCapture:[0,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[Ee([sy,Xu,Zu]),Vt]});let e=t;return e})();var oy=["*"],Qu=(()=>{let t=class t{constructor(){this.hide=()=>{},this.setClass=()=>{}}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var eh=(()=>{let t=class t{};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Er={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},ay=new Nt("override-default-config"),Ht={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",IN:"in",SHOW:"show"};var Lr={MODAL:300,BACKDROP:150},Ra={BACKRDOP:"backdrop-click",ESC:"esc",BACK:"browser-back-navigation-clicked"},ly=(()=>{let t=class t{get isAnimated(){return this._isAnimated}set isAnimated(i){this._isAnimated=i}get isShown(){return this._isShown}set isShown(i){this._isShown=i,i?this.renderer.addClass(this.element.nativeElement,`${Ht.SHOW}`):this.renderer.removeClass(this.element.nativeElement,`${Ht.SHOW}`)}constructor(i,s){this._isAnimated=!1,this._isShown=!1,this.element=i,this.renderer=s}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,`${Ht.FADE}`),Vs.reflow(this.element.nativeElement)),this.isShown=!0}};t.\u0275fac=function(s){return new(s||t)(y(te),y(Fe))},t.\u0275cmp=re({type:t,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(s,r){},encapsulation:2});let e=t;return e})(),cy=1,Ia=(()=>{let t=class t{constructor(i,s,r){this.clf=s,this.modalDefaultOption=r,this.onShow=new H,this.onShown=new H,this.onHide=new H,this.onHidden=new H,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastHiddenId=null,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=i.createRenderer(null,null),this.config=r?Object.assign({},Er,r):Er}show(i,s){this._focusEl=Oe.activeElement,this.modalsCount++,this.lastHiddenId=null,this._createLoaders();let r=s?.id||cy++;return this.config=this.modalDefaultOption?Object.assign({},Er,this.modalDefaultOption,s):Object.assign({},Er,s),this.config.id=r,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(i)}hide(i){this.lastHiddenId!==i&&(this.lastHiddenId=i,(this.modalsCount===1||i==null)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&i!=null?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(i),this.removeLoaders(i)},this.config.animated?Lr.BACKDROP:0),this._focusEl&&this._focusEl.focus())}_showBackdrop(){let i=this.config.backdrop===!0||this.config.backdrop==="static",s=!this.backdropRef||!this.backdropRef.instance.isShown;this.modalsCount===1&&(this.removeBackdrop(),i&&s&&(this._backdropLoader.attach(ly).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){if(!this.backdropRef)return;this.backdropRef.instance.isShown=!1;let i=this.config.animated?Lr.BACKDROP:0;setTimeout(()=>this.removeBackdrop(),i)}_showModal(i){let s=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(let a of this.config.providers)s.provide(a);let r=new Qu,o=s.provide({provide:eh,useValue:this.config}).provide({provide:Qu,useValue:r}).attach(dy).to("body");return r.hide=()=>o.instance?.hide(),r.setClass=a=>{o.instance&&(o.instance.config.class=a)},r.onHidden=new H,r.onHide=new H,this.copyEvent(s.onBeforeHide,r.onHide),this.copyEvent(s.onHidden,r.onHidden),o.show({content:i,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),o.instance&&(o.instance.level=this.getModalsCount(),r.content=s.getInnerComponent(),r.id=o.instance.config?.id),r}_hideModal(i){if(i!=null){let s=this.loaders.findIndex(o=>o.instance?.config.id===i),r=this.loaders[s];r&&r.hide(i)}else this.loaders.forEach(s=>{s.instance&&s.hide(s.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(i){this.lastDismissReason=i}removeBackdrop(){this._renderer.removeClass(Oe.body,Ht.OPEN),this._renderer.setStyle(Oe.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=Oe.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){Oe&&(this.originalBodyPadding=parseInt(window.getComputedStyle(Oe.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(Oe.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){Oe.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){let i=this._renderer.createElement("div");this._renderer.addClass(i,Ht.SCROLLBAR_MEASURER),this._renderer.appendChild(Oe.body,i);let s=i.offsetWidth-i.clientWidth;return this._renderer.removeChild(Oe.body,i),s}_createLoaders(){let i=this.clf.createLoader();this.copyEvent(i.onBeforeShow,this.onShow),this.copyEvent(i.onShown,this.onShown),this.copyEvent(i.onBeforeHide,this.onHide),this.copyEvent(i.onHidden,this.onHidden),this.loaders.push(i)}removeLoaders(i){if(i!=null){let s=this.loaders.findIndex(r=>r.instance?.config.id===i);s>=0&&(this.loaders.splice(s,1),this.loaders.forEach((r,o)=>{r.instance&&(r.instance.level=o+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(i,s){i.subscribe(r=>{s.emit(this.lastDismissReason||r)})}};t.\u0275fac=function(s){return new(s||t)(J(qe),J(ut),J(ay,8))},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),dy=(()=>{let t=class t{constructor(i,s,r){this._element=s,this._renderer=r,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},i)}ngOnInit(){this._focusEl=Oe.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,Ht.FADE),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,Ht.SHOW)},this.isAnimated?Lr.BACKDROP:0),Oe&&Oe.body&&(this.bsModalService&&this.bsModalService.getModalsCount()===1&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(Oe.body,Ht.OPEN),this._renderer.setStyle(Oe.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(i){this.clickStartedInContent=i.target!==this._element.nativeElement}onClickStop(i){let s=i.target===this._element.nativeElement&&!this.clickStartedInContent;if(this.config.ignoreBackdropClick||this.config.backdrop==="static"||!s){this.clickStartedInContent=!1;return}this.bsModalService?.setDismissReason(Ra.BACKRDOP),this.hide()}onPopState(){this.bsModalService?.setDismissReason(Ra.BACK),this.hide()}onEsc(i){this.isShown&&((i.keyCode===27||i.key==="Escape")&&i.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason(Ra.ESC),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor){this.config.closeInterceptor().then(()=>this._hide(),()=>{});return}this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Ht.SHOW),setTimeout(()=>{this.isShown=!1,this.bsModalService?.hide(this.config.id),Oe&&Oe.body&&this.bsModalService?.getModalsCount()===0&&(this._renderer.removeClass(Oe.body,Ht.OPEN),this._renderer.setStyle(Oe.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?Lr.MODAL:0)}};t.\u0275fac=function(s){return new(s||t)(y(eh),y(te),y(Fe))},t.\u0275cmp=re({type:t,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(s,r){s&1&&S("mousedown",function(a){return r.onClickStarted(a)})("click",function(a){return r.onClickStop(a)})("popstate",function(){return r.onPopState()},dn)("keydown.esc",function(a){return r.onEsc(a)},dn),s&2&&le("aria-modal",!0)("aria-labelledby",r.config.ariaLabelledBy)("aria-describedby",r.config.ariaDescribedby)},features:[Ee([Ia])],ngContentSelectors:oy,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(s,r){s&1&&(Li(),_(0,"div",0)(1,"div",1),ni(2),m()()),s&2&&Je("modal-dialog"+(r.config.class?" "+r.config.class:""))},dependencies:[Ju],encapsulation:2});let e=t;return e})();var th=["toast-component",""];function uy(e,t){if(e&1){let n=P();_(0,"button",5),S("click",function(){f(n);let s=c();return g(s.remove())}),_(1,"span",6),L(2,"\xD7"),m()()}}function hy(e,t){if(e&1&&(jt(0),L(1),Bt()),e&2){let n=c(2);d(),Ge("[",n.duplicatesCount+1,"]")}}function _y(e,t){if(e&1&&(_(0,"div"),L(1),k(2,hy,2,1,"ng-container",4),m()),e&2){let n=c();Je(n.options.titleClass),le("aria-label",n.title),d(),Ge(" ",n.title," "),d(),u("ngIf",n.duplicatesCount)}}function my(e,t){if(e&1&&ae(0,"div",7),e&2){let n=c();Je(n.options.messageClass),u("innerHTML",n.message,Wr)}}function py(e,t){if(e&1&&(_(0,"div",8),L(1),m()),e&2){let n=c();Je(n.options.messageClass),le("aria-label",n.message),d(),Ge(" ",n.message," ")}}function fy(e,t){if(e&1&&(_(0,"div"),ae(1,"div",9),m()),e&2){let n=c();d(),$t("width",n.width()+"%")}}function gy(e,t){if(e&1){let n=P();_(0,"button",5),S("click",function(){f(n);let s=c();return g(s.remove())}),_(1,"span",6),L(2,"\xD7"),m()()}}function vy(e,t){if(e&1&&(jt(0),L(1),Bt()),e&2){let n=c(2);d(),Ge("[",n.duplicatesCount+1,"]")}}function yy(e,t){if(e&1&&(_(0,"div"),L(1),k(2,vy,2,1,"ng-container",4),m()),e&2){let n=c();Je(n.options.titleClass),le("aria-label",n.title),d(),Ge(" ",n.title," "),d(),u("ngIf",n.duplicatesCount)}}function by(e,t){if(e&1&&ae(0,"div",7),e&2){let n=c();Je(n.options.messageClass),u("innerHTML",n.message,Wr)}}function wy(e,t){if(e&1&&(_(0,"div",8),L(1),m()),e&2){let n=c();Je(n.options.messageClass),le("aria-label",n.message),d(),Ge(" ",n.message," ")}}function Sy(e,t){if(e&1&&(_(0,"div"),ae(1,"div",9),m()),e&2){let n=c();d(),$t("width",n.width()+"%")}}var Aa=class{_attachedHost;component;viewContainerRef;injector;constructor(t,n){this.component=t,this.injector=n}attach(t,n){return this._attachedHost=t,t.attach(this,n)}detach(){let t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Ya=class{_attachedPortal;_disposeFn;attach(t,n){return this._attachedPortal=t,this.attachComponentPortal(t,n)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}},Pa=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new G;_activate=new G;_manualClose=new G;_resetTimeout=new G;_countDuplicate=new G;constructor(t){this._overlayRef=t}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,n){t&&this._resetTimeout.next(),n&&this._countDuplicate.next(++this.duplicatesCount)}},jn=class{toastId;config;message;title;toastType;toastRef;_onTap=new G;_onAction=new G;constructor(t,n,i,s,r,o){this.toastId=t,this.config=n,this.message=i,this.title=s,this.toastType=r,this.toastRef=o,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}},ih={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},nh=new Nt("ToastConfig"),Ha=class extends Ya{_hostDomElement;_componentFactoryResolver;_appRef;constructor(t,n,i){super(),this._hostDomElement=t,this._componentFactoryResolver=n,this._appRef=i}attachComponentPortal(t,n){let i=this._componentFactoryResolver.resolveComponentFactory(t.component),s;return s=i.create(t.injector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),n?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Dy=(()=>{class e{_document=E(fe);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n=this._document.createElement("div");n.classList.add("overlay-container"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),this._containerElement=n}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Na=class{_portalHost;constructor(t){this._portalHost=t}attach(t,n=!0){return this._portalHost.attach(t,n)}detach(){return this._portalHost.detach()}},My=(()=>{class e{_overlayContainer=E(Dy);_componentFactoryResolver=E(Is);_appRef=E(Mt);_document=E(fe);_paneElements=new Map;create(n,i){return this._createOverlayRef(this.getPaneElement(n,i))}getPaneElement(n="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[n]||(this._paneElements.get(i)[n]=this._createPaneElement(n,i)),this._paneElements.get(i)[n]}_createPaneElement(n,i){let s=this._document.createElement("div");return s.id="toast-container",s.classList.add(n),s.classList.add("toast-container"),i?i.getContainerElement().appendChild(s):this._overlayContainer.getContainerElement().appendChild(s),s}_createPortalHost(n){return new Ha(n,this._componentFactoryResolver,this._appRef)}_createOverlayRef(n){return new Na(this._createPortalHost(n))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Or=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(n,i,s,r,o){this.overlay=i,this._injector=s,this.sanitizer=r,this.ngZone=o,this.toastrConfig=K(K({},n.default),n.config),n.config.iconClasses&&(this.toastrConfig.iconClasses=K(K({},n.default.iconClasses),n.config.iconClasses))}show(n,i,s={},r=""){return this._preBuildNotification(r,n,i,this.applyConfig(s))}success(n,i,s={}){let r=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(r,n,i,this.applyConfig(s))}error(n,i,s={}){let r=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(r,n,i,this.applyConfig(s))}info(n,i,s={}){let r=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(r,n,i,this.applyConfig(s))}warning(n,i,s={}){let r=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(r,n,i,this.applyConfig(s))}clear(n){for(let i of this.toasts)if(n!==void 0){if(i.toastId===n){i.toastRef.manualClose();return}}else i.toastRef.manualClose()}remove(n){let i=this._findToast(n);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let s=this.toasts[this.currentlyActive].toastRef;s.isInactive()||(this.currentlyActive=this.currentlyActive+1,s.activate())}return!0}findDuplicate(n="",i="",s,r){let{includeTitleDuplicates:o}=this.toastrConfig;for(let a of this.toasts){let l=o&&a.title===n;if((!o||l)&&a.message===i)return a.toastRef.onDuplicate(s,r),a}return null}applyConfig(n={}){return K(K({},this.toastrConfig),n)}_findToast(n){for(let i=0;i<this.toasts.length;i++)if(this.toasts[i].toastId===n)return{index:i,activeToast:this.toasts[i]};return null}_preBuildNotification(n,i,s,r){return r.onActivateTick?this.ngZone.run(()=>this._buildNotification(n,i,s,r)):this._buildNotification(n,i,s,r)}_buildNotification(n,i,s,r){if(!r.toastComponent)throw new Error("toastComponent required");let o=this.findDuplicate(s,i,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&s||i)&&this.toastrConfig.preventDuplicates&&o!==null)return o;this.previousToastMessage=i;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let h=i;i&&r.enableHtml&&(h=this.sanitizer.sanitize(fl.HTML,i));let p=new Pa(l),b=new jn(this.index,r,h,s,n,p),x=[{provide:jn,useValue:b}],v=be.create({providers:x,parent:this._injector}),Y=new Aa(r.toastComponent,v),j=l.attach(Y,r.newestOnTop);p.componentInstance=j.instance;let z={toastId:this.index,title:s||"",message:i||"",toastRef:p,onShown:p.afterActivate(),onHidden:p.afterClosed(),onTap:b.onTap(),onAction:b.onAction(),portal:j};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{z.toastRef.activate()})),this.toasts.push(z),z}static \u0275fac=function(i){return new(i||e)(J(nh),J(My),J(be),J(El),J(we))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Cy=(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=se(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(n,i,s){this.toastrService=n,this.toastPackage=i,this.ngZone=s,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r}),this.state=se({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(n=>Ve(K({},n),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let n=new Date().getTime(),i=this.hideTime-n;this.width.set(i/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(s=>100-s),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(n=>Ve(K({},n),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(n=>Ve(K({},n),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(n,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(n),i)):this.timeout=setTimeout(()=>n(),i)}outsideInterval(n,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(n),i)):this.intervalId=setInterval(()=>n(),i)}runInsideAngular(n){this.ngZone?this.ngZone.run(()=>n()):n()}static \u0275fac=function(i){return new(i||e)(y(Or),y(jn),y(we))};static \u0275cmp=re({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(i,s){i&1&&S("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),i&2&&(Sl("@flyInOut",s._state),Je(s.toastClasses),$t("display",s.displayStyle))},attrs:th,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,s){i&1&&k(0,uy,3,0,"button",0)(1,_y,3,5,"div",1)(2,my,1,3,"div",2)(3,py,2,4,"div",3)(4,fy,2,2,"div",4),i&2&&(u("ngIf",s.options.closeButton),d(),u("ngIf",s.title),d(),u("ngIf",s.message&&s.options.enableHtml),d(),u("ngIf",s.message&&!s.options.enableHtml),d(),u("ngIf",s.options.progressBar))},dependencies:[ot],encapsulation:2,data:{animation:[ws("flyInOut",[mi("inactive",Pt({opacity:0})),mi("active",Pt({opacity:1})),mi("removed",Pt({opacity:0})),pi("inactive => active",_i("{{ easeTime }}ms {{ easing }}")),pi("active => removed",_i("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})(),ky=Ve(K({},ih),{toastComponent:Cy}),mk=(e={})=>_l([{provide:nh,useValue:{default:ky,config:e}}]);var Ty=(()=>{class e{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=se(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=se("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(n,i,s){this.toastrService=n,this.toastPackage=i,this.appRef=s,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let n=new Date().getTime(),i=this.hideTime-n;this.width.set(i/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(s=>100-s),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(i){return new(i||e)(y(Or),y(jn),y(Mt))};static \u0275cmp=re({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(i,s){i&1&&S("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),i&2&&(Je(s.toastClasses),$t("display",s.displayStyle))},attrs:th,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,s){i&1&&k(0,gy,3,0,"button",0)(1,yy,3,5,"div",1)(2,by,1,3,"div",2)(3,wy,2,4,"div",3)(4,Sy,2,2,"div",4),i&2&&(u("ngIf",s.options.closeButton),d(),u("ngIf",s.title),d(),u("ngIf",s.message&&s.options.enableHtml),d(),u("ngIf",s.message&&!s.options.enableHtml),d(),u("ngIf",s.options.progressBar))},dependencies:[ot],encapsulation:2,changeDetection:0})}return e})(),pk=Ve(K({},ih),{toastComponent:Ty});var bk=sn(sh());var rh={no_task:"no task",one_task:"{{ nb }} task completed",nb_tasks:"{{ nb }} tasks completed",one_active_task:"{{ nba }} task in progress on {{ nb }}",nb_active_tasks:"{{ nba }} tasks in progress on {{ nb }}",one_message:"{{ nb }} new message",nb_messages:"{{ nb }} new messages",one_notification:"{{ nb }} unread notification",nb_notifications:"{{ nb }} unread notifications",no_selection:"no item selected",one_selection:"{{ nb }} item selected",nb_selections:"{{ nb }} items selected",available_space_is_low:"Available space is low ( {{ nb }}% )",trash_one_file:"Would you like to move <b>{{arg}}</b> to trash ?",trash_multiple_files:"Would you like to move <b>{{arg}} files</b> to trash ?",nb_elements:"{{nb}} elements(s)",nb_actions:"{{nb}} action(s)",personal_space:"Access to personal space",spaces_access:"Access to spaces",spaces_admin:"Administration of spaces",shares_access:"Access to shares",shares_admin:"Administration of shares",guests_admin:"Administration of guests",personal_groups_admin:"Administration of personal groups",desktop_app_access:"Access from the desktop application",desktop_app_sync:"Sync from the desktop application",webdav_access:"WebDAV Access"};var oh={"Sign-in to your account":"Connectez-vous \xE0 votre compte","Wrong login or password":"Identifiant ou mot de passe incorrect","Authentication service error":"Erreur du service d\u2019authentification","Account locked":"Compte verrouill\xE9","Account is not allowed":"Compte non autoris\xE9","Account matching error":"Erreur de correspondance de compte",Authentication:"Authentification","Sign in":"Se connecter",Login:"Identifiant",Password:"Mot de passe","Login or Email":"Identifiant ou Email","Login already used":"Identifiant d\xE9j\xE0 utilis\xE9","You are already logged in":"Vous \xEAtes d\xE9j\xE0 connect\xE9","Name already used":"Nom d\xE9j\xE0 utilis\xE9","Label already used":"Label d\xE9j\xE0 utilis\xE9","Location already used":"Emplacement d\xE9j\xE0 utilis\xE9","Token has expired":"Le token a expir\xE9",Confirm:"Confirmer",Cancel:"Annuler",Close:"Fermer",navigation:"navigation",Navigation:"Navigation","Server connection error":"Erreur de connexion au serveur",Filter:"Filtrer",Filters:"Filtres",search:"rechercher",Search:"Rechercher","Search for content":"Rechercher du contenu","Search for files":"Rechercher des fichiers","Type to search for users or groups to add":"Tapez pour rechercher des utilisateurs ou des groupes \xE0 ajouter","Type to search for groups to add":"Tapez pour rechercher des groupes \xE0 ajouter","Type to search for users to add":"Tapez pour rechercher des utilisateurs \xE0 ajouter","Type to search for managers to add":"Tapez pour rechercher des manageurs \xE0 ajouter","Search for groups":"Rechercher des groupes","Search for users":"Rechercher des utilisateurs","Search for shares":"Rechercher des partages","Search for wallets":"Rechercher des portefeuilles","Search for guests or wallets":"Rechercher des invit\xE9s ou des portefeuilles","Escape key to exit":"Echap pour sortir","No items found":"Aucun \xE9l\xE9ment trouv\xE9","Member since":"Membre depuis",Management:"Gestion","Windows Manager":"Gestionnaire de fen\xEAtres","View all":"Tout voir","Mark as read":"Marquer comme lu",See:"Voir",no_task:"Aucune t\xE2che",one_task:"{{ nb }} t\xE2che termin\xE9e",nb_tasks:"{{ nb }} t\xE2ches termin\xE9es",one_active_task:"{{ nba }} t\xE2che en cours sur {{ nb }}",nb_active_tasks:"{{ nba }} t\xE2ches en cours sur {{ nb }}",nb_elements:"{{nb}} \xE9l\xE9ment(s)",nb_actions:"{{nb}} action(s)","No message":"Aucun message",one_message:"{{ nb }} nouveau message",nb_messages:"{{ nb }} nouveaux messages",one_notification:"{{ nb }} notification non lue",nb_notifications:"{{ nb }} notifications non lues",Application:"Application","Application and Email":"Application et Email",Notification:"Notification",Notifications:"Notifications",Event:"\xC9v\xE8nement",Folders:"Dossiers",File:"Fichier",Files:"Fichiers","Members files":"Fichiers des membres","Personal files":"Fichiers personnels",Personal:"Personnels",External:"Externe","Share files":"Fichiers des partages","Share space":"Espace de partage","Share status":"\xC9tat du partage","Share description":"Description du partage","No recent files":"Aucun fichier r\xE9cent",Groups:"Groupes",Group:"Groupe",group:"groupe","New personal group":"Nouveau groupe personnel","Edit personal group":"Modifier le groupe personnel","personal group":"groupe personnel","Personal group":"Groupe personnel","Personal groups":"Groupes personnels",groups:"groupes","Parent group":"Groupe parent","Group updated":"Groupe mis \xE0 jour","Group added":"Groupe ajout\xE9","Group not found":"Groupe non trouv\xE9","Group error":"Groupe erreur","Set as group manager":"D\xE9finir comme manageur de groupe","As a manager, the user will be able to manage the group and its members.":"En tant que manageur, l'utilisateur pourra g\xE9rer le groupe et ses membres.","As a manager, the user will be able to manage group members but not group properties.":`En tant que manageur, l'utilisateur pourra g\xE9rer les membres du groupe mais pas les propri\xE9t\xE9s du groupe.
4
- `,Visible:"Visible",Private:"Priv\xE9",Isolated:"Isol\xE9","Select the parent group":"S\xE9lectionner le groupe parent","from the group":"du groupe","New group":"Nouveau groupe","Edit group":"Modifier le groupe","Leave group":"Quitter le groupe","Delete group":"Supprimer le groupe","Remove from group":"Supprimer du groupe","Group must have at least one manager":"Le groupe doit avoir au moins un manager","The group was left":"Le groupe a \xE9t\xE9 quitt\xE9","The group was not left":"Le groupe n'a pas \xE9t\xE9 quitt\xE9","will be left, you will no longer be a member of this group":"sera quitt\xE9, vous ne serez plus membre de ce groupe","All users can see this group.":"Tous les utilisateurs peuvent voir ce groupe.","Users who are not members of this group cannot see it.":"Les utilisateurs qui ne sont pas membres de ce groupe ne peuvent pas le voir.","The group is not visible, its members cannot see it and cannot see each other.":"Le groupe n'est pas visible, ses membres ne peuvent pas le voir et ne peuvent pas se voir entre eux.",Add:"Ajouter","Add members":"Ajouter des membres","See members":"Voir les membres",Administrator:"Administrateur",Administration:"Administration",User:"Utilisateur",user:"utilisateur",Users:"Utilisateurs",users:"utilisateurs","New user":"Nouvel utilisateur",Author:"Auteur",account:"compte",Account:"Compte","Account status":"Status du compte",Message:"Message",Messages:"Messages",Email:"Email","Email already used":"Email d\xE9j\xE0 utilis\xE9","First name":"Pr\xE9nom","Last name":"Nom","Full name":"Pr\xE9nom & Nom",Status:"Status",Role:"R\xF4le",IP:"IP","IP Addresses":"Adresses IP",Seen:"Vu",Connection:"Connexion",Connections:"Connexions","Confirm deletion":"Confirmer la suppression","Confirm permanent deletion of data":"Confirmer la suppression d\xE9finitive des donn\xE9es","Space and data will be deleted in":"L'espace et les donn\xE9es seront supprim\xE9s dans","Space is disabled":"L'espace est d\xE9sactiv\xE9","Storage Space":"Espace de stockage","Storage Quota":"Quota de stockage","Storage Usage":"Utilisation du stockage","Space status":"\xC9tat de l'espace","Space quota is exceeded":"Le quota de l'espace d\xE9pass\xE9","Quota will be exceeded":"Le quota sera d\xE9pass\xE9","No more space available":"Plus d'espace disponible",available_space_is_low:"Espace disponible faible ( {{ nb }}% )",online:"en ligne","Online users":"Utilisateurs en ligne",Unlimited:"Illimit\xE9",member:"membre",members:"membres",Member:"Membre",Members:"Membres",Manager:"Manageur",manager:"manageur",Managers:"Manageurs","At least one manager is required":"Au moins un manager est requis",Generate:"G\xE9n\xE9rer",Import:"Importer",Configuration:"Configuration",Applications:"Applications",applications:"applications","Authorized applications":"Applications autoris\xE9es","Permissions inherited from groups":"Permissions h\xE9rit\xE9es des groupes","Only the group will be deleted, the members will no longer be part of it.":"Seul le groupe sera supprim\xE9, les membres n'en feront plus partie.","Wallets and guests will not be deleted":"Les portefeuilles et les invit\xE9s ne seront pas supprim\xE9s",Avatar:"Avatar",Update:"Mettre \xE0 jour","current password":"mot de passe actuel","new password":"nouveau mot de passe","Change me !":"Changez moi !","Current password missing !":"Mot de passe actuel manquant !","New password missing !":"Nouveau mot de passe manquant !","New password must have 8 characters minimum":"Nouveau mot de passe doit contenir 8 caract\xE8res","Current password does not match":"Mot de passe actuel ne correspond pas","Password has been updated":"Mot de passe mis \xE0 jour","Bad password":"Mauvais mot de passe","too many login attempts":"trop de tentatives de connexion",Language:"Langue","Language updated":"Langue mise \xE0 jour","Unable to update language":"Impossible de mettre \xE0 jour la langue","Notification preference updated":"Pr\xE9f\xE9rence de notification mise \xE0 jour","Unable to update notification preference":"Impossible de mettre \xE0 jour la pr\xE9f\xE9rence de notification","Unable to open document, missing configuration":"Impossible d'ouvrir le document, configuration manquante","Unable to open document":"Impossible d'ouvrir le document",Home:"Accueil",Content:"Contenu",Recents:"R\xE9cents",recents:"recents",Trash:"Corbeille","trash bins":"corbeilles",Shares:"Partages",Share:"Partager",shares:"partages",shared:"partag\xE9",personal_space:"Acc\xE8s \xE0 l'espace personnel",spaces_access:"Acc\xE8s aux espaces",spaces_admin:"Administration des espaces",shares_access:"Acc\xE8s aux partages",shares_admin:"Administration des partages",guests_admin:"Administration des invit\xE9s",personal_groups_admin:"Administration des groupes personnels",desktop_app_access:"Acc\xE8s depuis l'application de bureau",desktop_app_sync:"Synchronisation depuis l'application de bureau",webdav_access:"Acc\xE8s WebDAV","Create share":"Cr\xE9er le partage","Update share":"Modifier le partage","Delete share":"Supprimer le partage","Child shares":"Partages enfants","Share is disabled":"Le partage est d\xE9sactiv\xE9",Space:"Espace",Spaces:"Espaces",spaces:"espaces","Space name":"Nom de l'espace","New space":"Nouvel espace","Create a new space":"Cr\xE9er un nouvel espace","Create space":"Cr\xE9er l'espace","Edit space":"Modifier l'espace","Delete space":"Supprimer l'espace","Create a new share":"Cr\xE9er un nouveau partage","Edit share":"Modifier le partage","Type to search for space to select":"Tapez pour rechercher l'espace \xE0 s\xE9lectionner","Anchor to a space":"Ancrer \xE0 un espace","Anchor files to a space":"Ancrer les fichiers dans un espace","You have been invited to join this space":"Vous avez \xE9t\xE9 invit\xE9 \xE0 rejoindre cet espace","You have been invited to join this share":"Vous avez \xE9t\xE9 invit\xE9 \xE0 rejoindre ce partage","Shared with others":"Partag\xE9 avec d'autres","With others":"Avec d'autres","Shared with me":"Partag\xE9 avec moi","With me":"Avec moi","Shared via links":"Partag\xE9 via liens","Via links":"Via liens","Shared from":"Partag\xE9 depuis","share with you this":"partage avec vous ce","shared with you":"a partag\xE9 avec vous","no longer share with you":"ne partage plus avec vous","You now have access to the space":"Vous avez d\xE9sormais acc\xE8s \xE0 l'espace","You no longer have access to the space":"Vous n'avez plus acc\xE8s \xE0 l'espace","This space has been permanently deleted":"Cet espace a \xE9t\xE9 d\xE9finitivement supprim\xE9","You now have access to the share":"Vous avez d\xE9sormais acc\xE8s au partage","You no longer have access to the share":"Vous n'avez plus acc\xE8s au partage","You are no longer a member of the parent share, your child share has been deleted":"Vous n'\xEAtes plus membre du partage parent, votre partage enfant a \xE9t\xE9 supprim\xE9",anchored:"a ancr\xE9",unanchored:"a d\xE9sancr\xE9","Share removed":"Partage supprim\xE9","Share not found":"Partage non trouv\xE9","Root share not found":"Racine du Partage non trouv\xE9","You must add at least one file to the share":"Vous devez ajouter au moins un fichier au partage","Share updated":"Partage mis \xE0 jour","Share added":"Partage ajout\xE9","Go to":"Aller",Location:"Emplacement",Label:"Label","Name and location are required":"Nom et emplacement sont requis","Parent location already exists in files":"L'emplacement parent existe d\xE9j\xE0 dans les fichiers","Check the location":"V\xE9rifier l'emplacement","Location not found":"Emplacement non trouv\xE9","Forbidden resource":"Emplacement non autoris\xE9","Resource already exists":"L'\xE9l\xE9ment existe d\xE9j\xE0","The location does not exist":"L'emplacement n'existe pas","The location is not readable":"L'emplacement n'est pas accessible en lecture","The location is not writeable":"L'emplacement n'est pas accessible en \xE9criture","The location is a directory":"L'emplacement est un r\xE9pertoire","The file is locked":"Le fichier est verrouill\xE9","This share is protected by a password":"Ce partage est prot\xE9g\xE9 par un mot de passe","you do not have write permission on this share":"vous n'avez pas la permission d'\xE9crire sur ce partage","you do not have write permission on this destination":"vous n'avez pas la permission d'\xE9crire sur cette destination","you do not have move permission on this share":"vous n'avez pas la permission de d\xE9placer sur ce partage","you do not have delete permission on this share":"vous n'avez pas la permission de supprimer sur ce partage","you do not have access permission on this share":"vous n'avez pas la permission d'acc\xE9der \xE0 ce partage","You do not have share permission":"Vous n'avez pas la permission de partager","you do not have permissions":"vous n'avez pas les permissions","You can not share a space":"Vous ne pouvez pas partager un espace","You can not remove an anchored file":"vous ne pouvez pas supprimer un fichier ancr\xE9","You are not allowed to write here":"Vous n'\xEAtes pas autoris\xE9 \xE0 \xE9crire ici","You are not allowed to do this action":"Vous n'\xEAtes pas autoris\xE9 \xE0 effectuer cette action","You can not move an anchored file":"Vous ne pouvez pas d\xE9placer un fichier ancr\xE9","You can not move a locked file":"Vous ne pouvez pas d\xE9placer un fichier verrouill\xE9","destination of the copy/move not found":"la destination du copier/d\xE9placer n'a pas \xE9t\xE9 trouv\xE9e","an error occurred while moving the archive":"une erreur s'est produite durant le d\xE9placement de l'archive","anchored by me":"ancr\xE9 par moi",Anchored:"Ancr\xE9","Anchored by":"Ancr\xE9 par","Manage my anchored files":"G\xE9rer mes fichiers ancr\xE9s","You have no files anchored on this space":"Vous n'avez pas de fichiers ancr\xE9s sur cet espace","An anchored file already has this name":"Un fichier ancr\xE9 porte d\xE9j\xE0 ce nom",Settings:"Param\xE8tres",Options:"Options",Name:"Nom",Download:"T\xE9l\xE9charger","Download done":"T\xE9l\xE9chargement effectu\xE9","Download failed":"T\xE9l\xE9chargement \xE9chou\xE9","Upload done":"Envoi termin\xE9","Upload failed":"Envoi \xE9chou\xE9","Copy/Move":"Copier/D\xE9placer",Move:"D\xE9placer","Move done":"D\xE9placement effectu\xE9","Move failed":"D\xE9placement \xE9chou\xE9","Deletion done":"Suppression effectu\xE9e","Deletion failed":"Suppression \xE9chou\xE9e","Creation failed":"Cr\xE9ation \xE9chou\xE9e",Copy:"Copier","Copy done":"Copie effectu\xE9e","Copy failed":"Copie \xE9chou\xE9e","Copy-Paste":"Copier-Coller","Cut-Paste":"Couper-Coller",Rename:"Renommer",Edit:"Modifier","Share inside":"Partager \xE0 l'int\xE9rieur","Share outside":"Partager \xE0 l'ext\xE9rieur",Remove:"Supprimer",Clipboard:"Presse-papiers","Send to Clipboard":"Envoyer au Presse-papiers","will be removed":"sera supprim\xE9","will be permanently removed":"sera supprim\xE9 d\xE9finitivement",Refresh:"Rafra\xEEchir",Empty:"Vider",List:"Liste",Display:"Affichage","Sort by":"Trier par",trash_one_file:"Souhaitez-vous d\xE9placer <b>{{arg}}</b> dans la corbeille ?",delete_one_file:"Souhaitez-vous supprimer <b>{{arg}}</b> d\xE9finitivement ?",trash_multiple_files:"Souhaitez-vous d\xE9placer ces <b>{{arg}} fichiers</b> dans la corbeille ?",delete_multiple_files:"Souhaitez-vous supprimer ces <b>{{arg}} fichiers</b> d\xE9finitivement ?","Moving to trash":"D\xE9placement en cours dans la corbeille","Permanent deletion":"Suppression d\xE9finitive","Would you like to empty the trash ?":"Souhaitez-vous vider la corbeille ?","All items will be permanently deleted":"Tous les \xE9l\xE9ments seront supprim\xE9s d\xE9finitivement","Actions will be performed in the current folder":"Les actions seront r\xE9alis\xE9es dans le dossier actuel","The client will no longer have permission to access your account and will no longer be able to synchronize.":"Le client n'aura plus l'autorisation d'acc\xE9der \xE0 votre compte et ne pourra plus synchroniser.","The access expires":"L'acc\xE8s expire","The access has expired":"L'acc\xE8s a expir\xE9",synchronization:"synchronisation",Synchronization:"Synchronisation",Synchronizations:"Synchronisations",Synchronize:"Synchroniser",Sync:"Sync","Stop synchronization":"Arr\xEAter la synchronisation","Synchronize all":"Synchroniser tout","Stop synchronizations":"Arr\xEAter les synchronisations",Synced:"Synchronis\xE9","Sync already exists":"La synchronisation existe d\xE9j\xE0","Sync was reset":"Synchronisation r\xE9initialis\xE9e","Sync deleted":"Synchronisation supprim\xE9e","This client":"Ce client","You are no longer synchronizing":"Vous ne synchronisez plus",Compress:"Compresser",Decompress:"D\xE9compresser","Compress and Download":"Compresser et T\xE9l\xE9charger","Compress and Save":"Compresser et Enregistrer","Enable compression":"Activer compression","Compression done":"Compression effectu\xE9e","Compression failed":"Compression \xE9chou\xE9e","Decompression done":"D\xE9compression effectu\xE9e","Decompression failed":"D\xE9compression \xE9chou\xE9e","(this may take longer)":"(cela peut prendre plus de temps)","Save in the current directory":"Enregistrer dans le r\xE9pertoire actuel","This name is already used":"Ce nom est d\xE9j\xE0 utilis\xE9",Information:"Information",Informations:"Informations",Infos:"Infos",Size:"Taille",Modified:"Modifi\xE9",modified:"modifi\xE9",Tasks:"T\xE2ches","Task completed":"T\xE2che termin\xE9e","Download from URL":"T\xE9l\xE9charger depuis une URL","Upload completed":"Envoi termin\xE9","Upload files":"Envoyer des fichiers","Upload folders":"Envoyer des dossiers","Folder name":"Nom du dossier","New folder":"Nouveau dossier","Document name":"Nom du document","New document":"Nouveau document","File name":"Nom du fichier","File permissions":"Permissions du fichier",Text:"Texte","Rich Text Format":"Texte Enrichi","Select a document type":"S\xE9lectionnez un type de document","Forbidden characters":"Caract\xE8res interdits","Element not found":"\xC9l\xE9ment non trouv\xE9",Elements:"\xC9l\xE9ments","file(s) to add":"fichier(s) \xE0 ajouter","Malformed URL":"URL mal form\xE9e",New:"Nouveau",Folder:"Dossier",folder:"dossier",file:"fichier",files:"fichiers",directory:"r\xE9pertoire",directories:"r\xE9pertoires",Total:"Total",no_selection:"aucun \xE9l\xE9ment s\xE9lectionn\xE9",one_selection:"{{ nb }} \xE9l\xE9ment s\xE9lectionn\xE9",nb_selections:"{{ nb }} \xE9l\xE9ments s\xE9lectionn\xE9s","Archive name":"Nom de l'archive","Drag and drop your files here":"Glisser d\xE9poser vos fichiers ici","The destination already exists":"La destination existe d\xE9j\xE0","This item is already selected":"Ce fichier est d\xE9j\xE0 s\xE9lectionn\xE9","Parent item is already selected":"L'\xE9l\xE9ment parent est d\xE9j\xE0 s\xE9lectionn\xE9","This file contains binary data that can not be read":'Ce fichier contient des donn\xE9es binaires qu"il n"est pas possible de lire',"Navigation Tree":"Arborescence de navigation",item:"\xE9l\xE9ment",items:"\xE9l\xE9ments",create:"cr\xE9er",write:"\xE9crire",move:"d\xE9placer",delete:"supprimer",modify:"modifier","Delete user":"Supprimer l'utilisateur","Delete all user files":"Supprimer tous les fichiers de l'utilisateur",share:"partage","share(s)":"partage(s)","Share name":"Nom du partage","New share":"Nouveau partage","New share link":"Nouveau lien de partage","New link":"Nouveau lien","Edit children shares":"Modifier les partages enfants","Remove share":"Supprimer le partage","Edit anchors":"Modifier les ancres","The share name is required":"Le nom du partage est requis","No longer share":"Ne plus partager",Link:"Lien",link:"lien",Links:"Liens",links:"liens","Link name":"Nom du lien","Link copied":"Lien copi\xE9","Link created":"Lien cr\xE9\xE9","Link deleted":"Lien supprim\xE9","Link updated":"Lien mis \xE0 jour","Link error":"Erreur lien","Copy link":"Copier le lien","Edit link":"Modifier le lien",Details:"D\xE9tails","Hide details":"Cacher les d\xE9tails","Show details":"Montrer les d\xE9tails","Guest Link":"Lien Invit\xE9","Guest name":"Nom de l'invit\xE9","Guest email":"Email de l'invit\xE9","Guest language":"Langue de l'invit\xE9",Guest:"Invit\xE9",Guests:"Invit\xE9s","Shared guests":"Invit\xE9s partag\xE9s","My guests":"Mes invit\xE9s",guest:"invit\xE9",guests:"invit\xE9s","New guest":"Nouvel invit\xE9","Edit guest":"Modifier l'invit\xE9","Delete guest":"Supprimer l'invit\xE9","Guest created":"Invit\xE9 cr\xE9\xE9","Guest deleted":"Invit\xE9 supprim\xE9","Guest updated":"Invit\xE9 mis \xE0 jour","Guest error":"Invit\xE9 erreur",Wallet:"Portefeuille",wallet:"portefeuille",wallets:"portefeuilles",Wallets:"Portefeuilles","Wallet from owner":"Portefeuille du propri\xE9taire","Parent wallet":"Portefeuille parent","Select the wallet":"S\xE9lectionner le portefeuille","Select the parent wallet":"S\xE9lectionner le portefeuille parent","Select the owner":"S\xE9lectionner le propri\xE9taire","Delete wallet":"Supprimer le portefeuille","New wallet":"Nouveau portefeuille","Wallet added":"Portefeuille ajout\xE9e","Wallet deleted":"Portefeuille supprim\xE9","Wallet updated":"Portefeuille mis \xE0 jour","Add a guest link":"Ajouter un lien invit\xE9","Add an external location":"Ajouter un emplacement externe","External location":"Emplacement externe","Select a file":"S\xE9lectionner un fichier","The link is expired":"Le lien est expir\xE9","The link is disabled":"Le lien est d\xE9sactiv\xE9","The link was not found":"Le lien n'a pas \xE9t\xE9 trouv\xE9",Expired:"Expir\xE9",expired:"expir\xE9",none:"aucun","The maximum number of access allowed to the link is exceeded":"Le nombre maximum d'acc\xE8s autoris\xE9 au lien est d\xE9pass\xE9","Set a password":"D\xE9finir un mot de passe","Enter your password to confirm":"Entrez votre mot de passe pour confirmer",Permissions:"Permissions","No permissions":"Pas de permissions",Owner:"Propri\xE9taire",Me:"Moi",Shared:"Partag\xE9",Sharer:"Partageur",Created:"Cr\xE9\xE9","Created & Modified":"Cr\xE9\xE9 & Modifi\xE9","Creation date":"Date de cr\xE9ation","Modification date":"Date de modification","Deactivation date":"Date de d\xE9sactivation",Date:"Date",Path:"Chemin",active:"actif",Active:"Actif",suspended:"suspendu","Unable to rename user space":"Impossible de renommer l'espace utilisateur","Unable to delete user space":"Impossible de supprimer l'espace utilisateur","Unable to update user":"Impossible de mettre \xE0 jour l'utilisateur","Unable to update user groups":"Impossible de mettre \xE0 jour les groupes de l'utilisateur","User created":"Utilisateur cr\xE9\xE9","User updated":"Utilisateur mis \xE0 jour","User deleted":"Utilisateur supprim\xE9","User not found":"Utilisateur non trouv\xE9","User error":"Utilisateur erreur","Edit user":"Modifier l'utilisateur","Impersonate identity":"Emprunter l'identiti\xE9","Users added":"Utilisateurs ajout\xE9s","Member removed":"Membre supprim\xE9",Type:"Type",Description:"Description",Visibility:"Visibilit\xE9","If the owner is defined, all deleted files are moved to owner trash else all files are deleted permanently":"Si le propri\xE9taire est d\xE9fini, tous les fichiers supprim\xE9s sont d\xE9plac\xE9s dans la corbeille du propri\xE9taire, sinon tous les fichiers sont supprim\xE9s d\xE9finitivement","Unknown error !":"Erreur inconnue !",Unknown:"Inconnu",Expiration:"Expiration","Limit access":"Limiter les acc\xE8s","Current access count":"Nombre d'acc\xE8s actuel",Access:"Acc\xE8s",Accessed:"Acc\xE9d\xE9","Last access":"Dernier acc\xE8s","Last accesses":"Derniers acc\xE8s",Comment:"Commenter",Comments:"Commentaires",comments:"commentaires",commented:"a comment\xE9","No recent comments":"Pas de commentaire r\xE9cent","Write a comment ...":"Ecrire un commentaire ...","Write a message ...":"Ecrire un message ...",wrote:"a \xE9crit",yes:"oui",no:"non",Client:"Client",Clients:"Clients","is online":"est en ligne","is offline":"est hors ligne",Available:"Disponible",Busy:"Occup\xE9",Absent:"Absent",Offline:"Hors ligne",View:"Voir",Viewer:"Visionneuse","Session has expired":"La session a expir\xE9","Connection interrupted with the server":"Connexion interrompue avec le serveur","If the problem persists, please contact an administrator":"Si le probl\xE8me persiste, veuillez contacter un administrateur","Please sign in":"Veuillez vous reconnecter","desktop application":"application de bureau","Desktop Applications":"Applications de bureau","command line interface":"interface en ligne de commande",days:"jours",day:"jour",chats:"chats","Start a conversation":"D\xE9marrer une conversation","Topic name":"Nom du sujet","Open Topic":"Ouvrir le sujet","Invite users":"Inviter des utilisateurs",Leave:"Quitter",Delete:"Supprimer","has left the chat":"a quitt\xE9 le chat","has deleted the chat":"a supprim\xE9 le chat","has been invited to this chat":"a \xE9t\xE9 invit\xE9 dans ce chat","has been removed from the chat":"a \xE9t\xE9 supprim\xE9 de ce chat","is now a chat administrator":"est maintenant un administrateur du chat","is no longer a chat administrator":"n'est plus un administrateur du chat","The members can invite others users to join this chat":"Les membres peuvent inviter d'autres utilisateurs \xE0 rejoindre ce chat","You are the administrator of this conversation":"Vous \xEAtes l'administrateur de cette conversation","The chat is public, you can invite others users to join":"Le chat est publique, vous pouvez inviter d'autres utilisateurs \xE0 rejoindre","The chat is private, only administrators can invite the users to join":"Le caht est priv\xE9, seuls les administrateurs peuvent inviter des utilisateurs \xE0 rejoindre",Scheduler:"Planificateur","Scheduler: disabled":"Planificateur: d\xE9sactiv\xE9","Scheduler: async":"Planificateur: parall\xE8le","Scheduler: seq":"Planificateur: s\xE9quentiel",Transfers:"Transferts",Simulate:"Simuler",Reset:"R\xE9initialiser",Browse:"Parcourir",Action:"Action",Added:"Ajout\xE9",Removed:"Supprim\xE9",Changed:"Modifi\xE9",Copied:"Copi\xE9",Moved:"D\xE9plac\xE9",Filtered:"Filtr\xE9",Error:"Erreur",Server:"Serveur",Direction:"Direction",Side:"C\xF4t\xE9",Conflict:"Conflit","Show filtered files":"Afficher les fichiers filtr\xE9s",recent:"r\xE9cent",Source:"Source",Destination:"Destination",Mode:"Mode",Sequentially:"S\xE9quentiellement",Asynchronously:"Parall\xE8lement",fast:"rapide",secure:"s\xE9curis\xE9",enabled:"activ\xE9",disabled:"d\xE9sactiv\xE9",Disable:"D\xE9sactiver",hours:"heures",minutes:"minutes","You must have permission to modify the server folder to choose a different sync mode":"Vous devez avoir la permission de modifier le dossier du serveur pour choisir une autre mode de synchronisation","upload only":"envoyer seulement","download only":"t\xE9l\xE9charger seulement",both:"les deux",never:"jamais","More infos":"Plus d'infos","Clear events":"Effacer les \xE9v\xE8nements","Events from":"Les \xE9v\xE8nements de","All syncs":"Toutes les synchronisations","All events":"Tous les \xE9v\xE8nements","will be cleared":"seront effac\xE9s","No differences":"Pas de diff\xE9rences","Select a folder":"S\xE9lectionner un dossier","The files containing":"Les fichiers contenant","The files starting":"Les fichiers commen\xE7ant","The files ending":"Les fichiers terminant","Expert (Regexp)":"Expert (Regexp)","click on the browse button":"cliquez sur le bouton parcourir","with a name or pattern":"par un nom ou un motif","with the extension ('.mp3', '.avi', '.mov' ...)":"par l'extension ('.mp3', '.avi', '.mov' ...)",Wizard:"Assistant",Next:"Suivant",Previous:"Pr\xE9c\xE9dent",Done:"Termin\xE9","This wizard will help you synchronize a directory on your computer with a Sync-in directory.":"Cet assistant vous aidera \xE0 synchroniser un r\xE9pertoire de votre ordinateur avec un r\xE9pertoire Sync-in.","To begin, select a folder on your computer.":"Pour commencer, s\xE9lectionnez un dossier sur votre ordinateur.",'You can drag the folder into the area below or click on the "Select" button.':'Vous pouvez faire glisser le dossier dans la zone ci-dessous ou cliquer sur le bouton "S\xE9l\xE9ctionner".',"Drop folder here":"D\xE9poser le dossier ici","This directory is already synced":"Ce r\xE9pertoire est d\xE9j\xE0 synchronis\xE9","The parent directory is already synced":"Le dossier parent est d\xE9j\xE0 synchronis\xE9","This folder already exists":"Ce dossier existe d\xE9j\xE0","This file already exists":"Ce fichier existe d\xE9j\xE0","You do not have permission to access this share":"Vous n'avez pas le droit d'acc\xE9der \xE0 ce partage","You can not create a folder in the root of shares":"Vous ne pouvez pas cr\xE9er de dossier \xE0 la racine des partages","This directory is not accessible":"Ce r\xE9pertoire n'est pas accessible","This directory is read-only, you will not be able to modify it":"Ce r\xE9pertoire est en lecture seule, vous ne pourrez pas le modifier","Please select the server directory to sync, if it doesn't exist you can create it.":"Veuillez s\xE9lectionner le r\xE9pertoire du serveur \xE0 synchroniser, s'il n'existe pas, vous pourrez le cr\xE9er.","Double click to browse directories":"Double cliquez pour parcourir les r\xE9pertoires","The data will be synchronized from":"Les donn\xE9es seront synchronis\xE9es depuis","the client folder":"le dossier client","the server folder":"le dossier serveur","(One-Way)":"(unidirectionnel)","(Two-Way)":"(bidirectionnel)",to:"vers","and from":"et depuis","All files created or modified in":"Tous les fichiers cr\xE9\xE9s ou modifi\xE9s dans","will be ignored and deleted":"seront ignor\xE9s et supprim\xE9s","In case of conflict,":"En cas de conflit,","the most recent files will be kept":"les fichiers les plus r\xE9cents seront conserv\xE9s","the client\u2019s files take precedence":"les fichiers du client ont la priorit\xE9","the server\u2019s files take precedence":"les fichiers du serveur ont la priorit\xE9","the files in":"les fichiers de","will be preferred":"seront pr\xE9f\xE9r\xE9s","The remote folder is empty, the contents of the local folder will be deleted, add file in local folder to confirm and sync changes":"Le dossier distant est vide, le contenu du dossier local sera supprim\xE9, ajoutez un fichier dans le dossier local pour confirmer et synchroniser les modifications","The local folder is empty, the contents of the remote folder will be deleted, add file in remote folder to confirm and sync changes":"Le dossier local est vide, le contenu du dossier distant sera supprim\xE9, ajoutez un fichier dans le dossier distant pour confirmer et synchroniser les modifications","Loading...":"Chargement...","No results":"Pas de r\xE9sultats","Download ARM64 version":"T\xE9l\xE9charger la version ARM64","Download Apple Silicon ARM64 version":"T\xE9l\xE9charger la version Apple Silicon ARM64","Download tar.gz version":"T\xE9l\xE9charger la version tar.gz",Repository:"D\xE9p\xF4t",local:"local",remote:"distant","System requirements":"Configuration requise","Feature not enabled":"Fonctionnalit\xE9 non activ\xE9e","Check the settings":"V\xE9rifiez les param\xE8tres"};var Wa={en:rh,fr:oh},Dk={format:"language",providers:[{name:"app",asset:Wa}],fallback:!1,cache:!0,keySeparator:"|",defaultLocale:{language:"en"},schema:[{locale:{language:"en"},dir:"ltr",text:"United States"},{locale:{language:"fr"},dir:"ltr",text:"France"}]},Mk=(()=>{let t=class t{constructor(){this.hasStorage=typeof Storage<"u"}read(){return Nr(this,null,function*(){if(this.hasStorage){let i=sessionStorage.getItem("locale");return Promise.resolve(i&&JSON.parse(i))}return Promise.resolve(null)})}write(i){return Nr(this,null,function*(){this.hasStorage&&sessionStorage.setItem("locale",JSON.stringify(i))})}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var lh="Sync-in";var ch="1.5.2";var dh=lh,Lk=ch,Ok={BASE:""},Rk={title:"NAVIGATION",icon:Pl,link:"",level:0,submenus:[]};var en=sn(ja()),ph=sn(uh()),fh=sn(hh()),gh=sn(_h()),vh=sn(mh());en.default.extend(gh.default);en.default.extend(fh.default);en.default.extend(vh.default);en.default.extend(ph.default);var st={SERVER:{AUTHENTICATION:"server-authentication",AUTHENTICATION_FAILED:"server-authentication-failed",AUTHENTICATION_TOKEN_UPDATE:"server-authentication-token-update",AUTHENTICATION_TOKEN_EXPIRED:"server-authentication-token-expired"},SYNC:{PATH_OPERATION:"sync-path-operation",TASKS_COUNT:"sync-tasks-count",STATUS:"core-sync-status",ERRORS:"sync-errors",TRANSFER:"sync-transfer",REPORT_TRANSFER:"sync-report-transfer",TRANSFER_LOGS:"sync-transfer-logs",SCHEDULER_STATE:"sync-scheduler-state"},APPLICATIONS:{MSG:"applications-msg",COUNTER:"applications-counter"},MISC:{DIALOG_OPEN:"dialog-open",FILE_OPEN:"file-open",SWITCH_THEME:"switch-theme",NETWORK_IS_ONLINE:"network-is-online"}};var Ir="/api/app",Ly={PROPFIND:"PROPFIND",PROPPATCH:"PROPPATCH",MKCOL:"MKCOL",COPY:"COPY",MOVE:"MOVE",LOCK:"LOCK",UNLOCK:"UNLOCK"},Oy={SEARCH:"SEARCH"},Ry={HEAD:"HEAD",OPTIONS:"OPTIONS",GET:"GET",POST:"POST",PATCH:"PATCH",PUT:"PUT",DELETE:"DELETE"},Rr=K(K(K({},Ry),Ly),Oy),Pk=new Set([Rr.GET,Rr.HEAD,Rr.OPTIONS,Rr.SEARCH]);var Qa="sync",Bn={BASE:`${Ir}/${Qa}`,HANDSHAKE:"handshake",REGISTER:"register",UNREGISTER:"unregister",APP_STORE:"app-store",AUTH:"auth",CLIENTS:"clients",PATHS:"paths",OPERATION:"operation",DIFF:"diff",MAKE:"make"},Fk=`${Bn.BASE}/${Bn.AUTH}/cookie`,jk=`${Bn.BASE}/${Bn.CLIENTS}`;var Ar={SYNC:"Sync",SYNCS:"Synchronizations",TRANSFERS:"Transfers",WIZARD:"Wizard",WIZARD_CLIENT:"Client",WIZARD_SERVER:"Server",WIZARD_SETTINGS:"Settings"},Yr={SYNC:Rl,TRANSFERS:Gl,WIZARD:Kl,SERVER:Ul,CLIENT:Ql},rt={BASE:Qa,PATHS:Bn.PATHS,TRANSFERS:"transfers",WIZARD:"wizard",WIZARD_CLIENT:"client",WIZARD_SERVER:"server",WIZARD_SETTINGS:"settings"},St={id:nt.DESKTOP_APP_SYNC,title:Ar.SYNC,link:rt.BASE,icon:Yr.SYNC,iconAnimated:!1,checks:[{prop:"user",value:"clientId"}],count:{value:new ee(0),level:"warning"},matchLink:new RegExp(`^${rt.BASE}`),level:3,submenus:[{title:Ar.SYNCS,icon:Yr.SYNC,link:`${rt.BASE}/${rt.PATHS}`,matchLink:new RegExp(`^${rt.BASE}/${rt.PATHS}`)},{title:Ar.TRANSFERS,icon:Yr.TRANSFERS,link:`${rt.BASE}/${rt.TRANSFERS}`,matchLink:new RegExp(`^${rt.BASE}/${rt.TRANSFERS}`)},{title:Ar.WIZARD,icon:Yr.WIZARD,link:`${rt.BASE}/${rt.WIZARD}`,matchLink:new RegExp(`^${rt.BASE}/${rt.WIZARD}`)}]};var yh="sync-in";var ks=(function(e){return e.PERSONAL="personal",e.SPACES="spaces",e.SHARES="shares",e})(ks||{}),Xk={[ks.PERSONAL]:[Re.FILES,ks.PERSONAL],[ks.SPACES]:[Re.FILES],[ks.SHARES]:[Re.SHARES]};var Iy=(function(e){return e.DOWNLOAD="download",e.UPLOAD="upload",e.BOTH="both",e})(Iy||{}),Ay=(function(e){return e.FAST="fast",e.SECURE="secure",e})(Ay||{}),Yy=(function(e){return e.RECENT="recent",e.LOCAL="local",e.REMOTE="remote",e})(Yy||{}),Py=(function(e){return e.DISABLED="disabled",e.MINUTE="minute",e.HOUR="hour",e.DAY="day",e})(Py||{});var Hy=new RegExp(`${yh}`,"i");function bh(){return!!Hy.test(window.navigator.userAgent)}var wh=(()=>{let t=class t{constructor(){this.enabled=bh(),this.ipcRenderer=this.enabled?window.ipcRenderer:null,this.ngZone=E(we),this.store=E(ld),this.syncTasksCount={},this.store.isElectronApp.set(this.enabled),this.enabled&&(Ri(()=>{let i=this.store.notifications().filter(s=>!s.wasRead).length;this.send(st.APPLICATIONS.COUNTER,os.NOTIFICATIONS,i)}),this.store.filesActiveTasks.subscribe(i=>this.send(st.APPLICATIONS.COUNTER,os.TASKS,i.length)),this.ipcRenderer.on(st.SYNC.SCHEDULER_STATE,(i,s)=>this.store.clientScheduler.set(s)),this.ipcRenderer.on(st.SYNC.STATUS,(i,s)=>this.ngZone.run(()=>this.setSync(s))),this.ipcRenderer.on(st.SYNC.TASKS_COUNT,(i,s)=>this.ngZone.run(()=>this.setSyncTasksCount(s))),this.updateSyncMenuIcon(),this.getSyncsWithErrors(),this.getClientSchedulerSettings())}send(i,...s){this.enabled&&this.ipcRenderer.send(i,...s)}sendMessage(i,s){this.send(st.APPLICATIONS.MSG,{title:i,body:s})}invoke(i,...s){if(this.enabled)return this.ipcRenderer.invoke(i,...s)}authenticate(){return ol(this.invoke(st.SERVER.AUTHENTICATION))}openPath(i){this.send(st.MISC.FILE_OPEN,i)}setSync(i){if(i.reportOnly){this.store.clientSyncIsReporting.next(i.state);return}i.state?this.store.clientSyncs.next([...this.store.clientSyncs.getValue(),i]):(this.store.clientSyncs.next(this.store.clientSyncs.getValue().filter(s=>s.syncPathId!==i.syncPathId)),this.store.clientSyncTask.next({syncPathId:i.syncPathId,nbTasks:0}),i.lastErrors.length||i.mainError?this.store.clientSyncsWithErrors.next([...this.store.clientSyncsWithErrors.getValue().filter(s=>s.syncPathId!==i.syncPathId),i]):this.store.clientSyncsWithErrors.next(this.store.clientSyncsWithErrors.getValue().filter(s=>s.syncPathId!==i.syncPathId))),this.send(st.APPLICATIONS.COUNTER,os.SYNCS,this.store.clientSyncs.getValue().length)}setSyncTasksCount(i){this.store.clientSyncs.getValue().find(s=>s.syncPathId===i.syncPathId)||(i.nbTasks=0),this.store.clientSyncTask.next(i),i.nbTasks===0?delete this.syncTasksCount[i.syncPathId]:this.syncTasksCount[i.syncPathId]=i.nbTasks,this.store.clientSyncTasksCount.next(Object.values(this.syncTasksCount).reduce((s,r)=>s+r,0))}getClientSchedulerSettings(){this.send(st.SYNC.SCHEDULER_STATE)}getSyncsWithErrors(){this.invoke(st.SYNC.ERRORS).then(i=>this.store.clientSyncsWithErrors.next(i)).catch(console.error)}updateSyncMenuIcon(){Ls([this.store.clientSyncs,this.store.clientSyncsWithErrors,dc(this.store.clientScheduler)]).subscribe(([i,s,r])=>{i.length?(St.iconAnimated=!0,St.count.level="purple",St.count.value.next(i.length)):s.find(o=>o.lastErrors.length||!!o.mainError)?(St.count.level="danger",St.count.value.next("!"),St.iconAnimated=!1):r===gn.DISABLED?(St.count.level="secondary-alt",St.count.value.next("off"),St.iconAnimated=!1):(St.count.value.next(0),St.iconAnimated=!1)})}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var TT=(()=>{let t=class t{constructor(){this.currentRightSideBarTab=null,this.resizeEvent=new ee(null),this.switchTheme=new ee(sessionStorage.getItem("themeMode")||nd()),this.toggleLeftSideBar=new ee(this.isSmallerMediumScreen()?2:1),this.saveLeftSideBarIsOpen=new ee(!0),this.leftSideBarIsOpen=new ee(!0),this.toggleRightSideBar=new G,this.rightSideBarIsOpen=new ee(!1),this.rightSideBarOpenAndShowTab=new G,this.rightSideBarSetTabs=new G,this.rightSideBarSelectTab=new G,this.breadcrumbNav=new ee({url:""}),this.breadcrumbIcon=new ee(null),this.minimizedWindows=new ee([]),this.title=E(xl),this.ngZone=E(we),this.translation=E(Ol),this.bsLocale=E(Ms),this.bsModal=E(Ia),this.toastr=E(Or),this.contextMenu=E(Jc),this.electron=E(wh),this.screenMediumSize=767,this.screenSmallSize=576,this._networkIsOnline=new ee(navigator.onLine),this.networkIsOnline=this._networkIsOnline.asObservable().pipe(dl(ki(window,"online").pipe(Dt(()=>!0)),ki(window,"offline").pipe(Dt(()=>!1)))),this.preferTheme=ki(window.matchMedia("(prefers-color-scheme: dark)"),"change").pipe(Dt(i=>i.matches?rs:Vi)),this.modalIDS=[],this.dialogConfig={animated:!0,keyboard:!0,backdrop:!0,ignoreBackdropClick:!0},this.title.setTitle(dh),this.preferTheme.subscribe(i=>this.setTheme(i))}showRSideBarTab(i=null,s=!1){s&&this.rightSideBarIsOpen.getValue()?this.rightSideBarSelectTab.next(i):this.rightSideBarOpenAndShowTab.next(i)}hideRSideBarTab(i){this.currentRightSideBarTab===i&&this.toggleRSideBar(!1)}toggleRSideBar(i){this.rightSideBarIsOpen.next(i),this.toggleRightSideBar.next(i)}setTabsRSideBar(i,s){this.rightSideBarSetTabs.next({name:i,tabs:s})}toggleLSideBar(){this.toggleLeftSideBar.next(3)}isSmallerMediumScreen(){return window.innerWidth!==0&&window.innerWidth<this.screenMediumSize}isSmallerScreen(){return window.innerWidth!==0&&window.innerWidth<this.screenSmallSize}toggleTheme(){this.setTheme(this.switchTheme.getValue()===Vi?rs:Vi)}openDialog(i,s="md",r={}){let o=`modal-${s} modal-primary`;if(r.id&&this.minimizedWindows.getValue().find(l=>l.id===r.id))return this.restoreDialog(r.id);let a=this.bsModal.show(i,Object.assign(r,this.dialogConfig,{class:o}));return a.id&&this.modalIDS.indexOf(a.id)===-1&&this.modalIDS.push(a.id),a}minimizeDialog(i,s){let r=this.getModal(i);return r&&(this.bsModal._renderer.setAttribute(r.instance._element.nativeElement,"aria-hidden","true"),this.bsModal._renderer.removeClass(r.instance._element.nativeElement,"show"),setTimeout(()=>this.bsModal._renderer.setStyle(r.instance._element.nativeElement,"display","none"),100),this.minimizedWindows.getValue().find(o=>o.id===i)||this.minimizedWindows.next([...this.minimizedWindows.getValue(),{id:i,element:s}])),r}restoreDialog(i){let s=this.getModal(i);return s&&(this.bsModal._renderer.setAttribute(s.instance._element.nativeElement,"aria-hidden","false"),this.bsModal._renderer.setStyle(s.instance._element.nativeElement,"display","block"),setTimeout(()=>{this.bsModal._renderer.addClass(s.instance._element.nativeElement,"show")},100)),s}closeDialog(i=null,s=null,r=!1){r?(this.bsModal.hide(),this.modalIDS=[]):(s?this.modalIDS=this.modalIDS.filter(o=>o!==s):s=this.modalIDS.pop(),i?setTimeout(()=>this.bsModal.hide(s),i):this.bsModal.hide(s),this.minimizedWindows.next(this.minimizedWindows.getValue().filter(o=>o.id!==s)))}getModal(i){return this.bsModal.loaders.find(s=>s.instance?.config.id===i)}openContextMenu(i,s){this.contextMenu.hasOpenMenu()&&this.contextMenu.closeAll(),setTimeout(()=>this.contextMenu.show(s,i.type==="contextmenu"?i:i.srcEvent),5)}sendNotification(i,s,r,o,a={}){if(i==="error"&&o){console.error(o);let l=o.error?Array.isArray(o.error.message)?o.error.message.map(h=>this.translateString(h)).join(" & "):this.translateString(o.error.message):o.message||"Unknown error !";if(this.electron.enabled)this.electron.sendMessage(this.translateString(s),`${this.translateString(r)} - ${l}`);else return this.toastr[i](`${this.translateString(r)}<br>${l}`,this.translateString(s),Ve(K({},a),{enableHtml:!0}))}if(this.electron.enabled)this.electron.sendMessage(this.translateString(s),this.translateString(r));else return this.toastr[i](this.translateString(r),this.translateString(s),a)}setLanguage(i){i||(i=Ll("language")||"",i=i.split("-")[0]),i&&i!==this.translation.getLocale().language&&this.translation.setLocale({language:i}).then(()=>{en.default.locale(i),this.bsLocale.use(i)})}getCurrentLanguage(){return this.translation.getLocale().language}getLanguages(i=!1){let s=Object.keys(Wa);return i&&s.unshift(Qc),s}setBreadcrumbIcon(i){this.breadcrumbIcon.next(i)}setBreadcrumbNav(i){this.breadcrumbNav.next(i)}translateString(i,s){return i&&this.translation.translate(i,s)}clean(){this.toggleRSideBar(!1),this.closeDialog(null,null,!0)}setTheme(i){this.electron.send(st.MISC.SWITCH_THEME,i),this.ngZone.run(()=>this.switchTheme.next(i)),sessionStorage.setItem("themeMode",i)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var yi="spaces",Ot={BASE:`${Ir}/${yi}`,BROWSE:"browse",TREE:"tree",LIST:"list",ROOTS:"roots",ROOT_CHECK:"root/check",LINKS:"links",TRASH:Re.TRASH,SHARES:Re.SHARES},RT=`${Ot.BASE}/${Ot.BROWSE}`,IT=`${Ot.BASE}/${Ot.TREE}`,AT=`${Ot.BASE}/${Ot.LIST}`,YT=`${Ot.BASE}/${Ot.TRASH}/${Ot.LIST}`,PT=`${Ot.BASE}/${Ot.ROOT_CHECK}`;var Sh={BASE:"recents"},Dh="Recents",Mh=Hl;var bi={RECENTS:"Recents",FILES:"Files",PERSONAL_FILES:"Personal files",SHORT_PERSONAL_FILES:"Personal",TRASH:"Trash",SPACES:"Spaces",SHARES:"Shares",SHARED:"Shared",SHARED_WITH_ME:"Shared with me",SHARED_WITH_OTHER:"Shared with others",SHARED_WITH_ME_SHORT:"With me",SHARED_WITH_OTHER_SHORT:"With others",SHARED_BY_LINKS:"Shared via links",SHARED_BY_LINKS_SHORT:"Via links"},ei={PERSONAL:Zr,SPACES:ec,SHARES:Al,SHARED_WITH_ME:Yl,SHARED_WITH_OTHERS:Vl,ANCHORED:Xl,LINKS:Bl,TRASH:Wl,EXTERNAL:jl},ve={SPACES:yi,FILES:Re.FILES,SHARES:Re.SHARES,SHARED:"shared",LINKS:tc.LINKS,TRASHES:"trashes",TRASH:Re.TRASH,PERSONAL:Fi.PERSONAL,SPACES_FILES:`${yi}/${Re.FILES}`,SPACES_TRASH:`${yi}/${Re.TRASH}`,SPACES_SHARES:`${yi}/${Re.SHARES}`,PERSONAL_FILES:`${yi}/${Re.FILES}/${Fi.PERSONAL}`,PERSONAL_TRASH:`${yi}/${Re.FILES}/${Fi.PERSONAL}/${Re.TRASH}`},Ch={a:{text:"Add",icon:Il},m:{text:"Edit",icon:ql},d:{text:"Delete",icon:Jl},si:{text:"Share inside",icon:ei.ANCHORED},so:{text:"Share outside",icon:ei.SHARES}},kh={a:!1,d:!1,m:!1,si:!1,so:!1},zT={title:bi.FILES,icon:Zr,link:ve.PERSONAL_FILES,matchLink:new RegExp(`^${ve.SPACES}|^${ve.TRASH}|^${ve.SHARES}|^${ve.SHARED}|^${ve.LINKS}`),level:1,submenus:[{title:Dh,icon:Mh,link:Sh.BASE},{id:nt.PERSONAL_SPACE,title:bi.SHORT_PERSONAL_FILES,icon:ei.PERSONAL,link:ve.PERSONAL_FILES,matchLink:new RegExp(`^${ve.PERSONAL_FILES}[/|?]`)},{id:nt.SPACES,title:bi.SPACES,icon:ei.SPACES,link:ve.SPACES,matchLink:new RegExp(`^${ve.SPACES}(\\?|$)|^${ve.SPACES}/${ve.FILES}/(?!${ve.PERSONAL}(/|\\?|$))`)},{id:nt.SHARES,title:bi.SHARED,icon:ei.SHARES,link:ve.SPACES_SHARES,matchLink:new RegExp(`^${ve.SPACES_SHARES}|^${ve.SHARED}|^${ve.LINKS}`),submenus:[{id:nt.SHARES_ADMIN,title:bi.SHARED_WITH_ME_SHORT,icon:ei.SHARED_WITH_ME,link:ve.SPACES_SHARES},{id:nt.SHARES_ADMIN,title:bi.SHARED_WITH_OTHER_SHORT,icon:ei.SHARED_WITH_OTHERS,link:ve.SHARED},{id:nt.SHARES_ADMIN,title:bi.SHARED_BY_LINKS_SHORT,icon:ei.LINKS,link:ve.LINKS}]},{id:nt.PERSONAL_SPACE,title:bi.TRASH,icon:ei.TRASH,link:ve.TRASH,matchLink:new RegExp(`^${ve.SPACES}/${ve.TRASH}/`)}]};var wi=(function(e){return e.USER="user",e.GUEST="guest",e.LINK="link",e.GROUP="group",e.PGROUP="personal group",e})(wi||{});function Th(e,t=[]){let n=K({},Object.fromEntries(Object.entries(kh).filter(([i,s])=>t.indexOf(i)===-1)));if(!e)return n;for(let i of e.split(":"))i in n&&(n[i]=!0);return n}function qT(e,t,n=[]){let i={};if(!e)return i;for(let s of e.split(":"))n.indexOf(s)===-1&&(i[s]=t.indexOf(s)>-1);return i}function JT(e,t=[]){let n={};if(!e)return n;for(let i of e.split(":"))t.indexOf(i)===-1&&(n[i]=Ch[i]);return n}function QT(e){return Object.entries(e).filter(([t,n])=>n).map(([t,n])=>t).join(":")}var el=class{constructor(t,n=[]){this.newly=0,this.linkSettings=null,Object.assign(this,t),this.mid=`${t.type[0]}${t.id}`,this.hPerms=Th(t.permissions,n),t.login&&(this.avatarUrl=Eo(t.login)),this.isLink=!!this.linkId,this.isGuest=this.type===wi.GUEST,this.isUser=this.isGuest||this.type===wi.USER&&!this.isLink,this.isGroup=this.type===wi.GROUP||this.type===wi.PGROUP,this.isPersonalGroup=this.type===wi.PGROUP,this.setGroupRole(),this.modifiedAt?this.newly=xo(this.modifiedAt):this.createdAt&&(this.newly=xo(this.createdAt))}setGroupRole(t){typeof t<"u"&&(this.groupRole=t),this.isGroupManager=this.groupRole===Ws.MANAGER}};function lx(e,t,n){return new el({id:e.id,login:e.login,name:e.fullName,description:e.email,type:wi.USER,spaceRole:t||Lo.IS_MEMBER,groupRole:n||Ws.MEMBER,permissions:""})}function hx(e,t,n,i){let s=id(n,".");switch(e){case"number":jy(t,n,i,s);break;case"string":Vy(t,n,i,s);break;case"length":Fy(t,n,i,s);break;case"date":Ny(t,n,i,s);break;default:console.warn(`Sort function not handles: ${e}.`)}}function Ny(e,t,n,i=!1){e.sort((s,r)=>{let o=new Date(i?zt(s,t):s[t]).getTime(),a=new Date(i?zt(r,t):r[t]).getTime();return isNaN(o)?1:isNaN(a)?-1:o===a?0:n?o>a?1:-1:a>o?1:-1})}function Vy(e,t,n,i=!1){e.sort((s,r)=>{let o=i?(zt(s,t)||"z").toLowerCase():s[t].toLowerCase(),a=i?(zt(r,t)||"z").toLowerCase():r[t].toLowerCase();return n?o<a?1:o>a?-1:0:o<a?-1:o>a?1:0})}function Fy(e,t,n,i=!1){e.sort((s,r)=>{let o=i?zt(s,t).length:s[t].length,a=i?zt(r,t).length:r[t].length;return n?o-a:a-o})}function jy(e,t,n,i=!1){e.sort((s,r)=>{let o=i?zt(s,t):s[t],a=i?zt(r,t):r[t];return n?o-a:a-o})}export{su as a,UD as b,JD as c,Qy as d,Vs as e,dc as f,Qe as g,hi as h,Pf as i,ws as j,_i as k,xu as l,Pt as m,mi as n,pi as o,ha as p,_a as q,Hf as r,Nf as s,ut as t,co as u,Cc as v,uo as w,Ms as x,Vv as y,Uu as z,LC as A,en as B,Ia as C,mk as D,Dk as E,Mk as F,dh as G,Lk as H,Ok as I,Rk as J,Fb as K,e_ as L,Ws as M,jb as N,nt as O,t_ as P,Bb as Q,$b as R,Ir as S,Bn as T,Fk as U,jk as V,ht as W,vn as X,hD as Y,_D as Z,mD as _,pD as $,rd as aa,fD as ba,gD as ca,vD as da,$e as ea,R_ as fa,yD as ga,I_ as ha,bD as ia,A_ as ja,wD as ka,SD as la,DD as ma,P_ as na,MD as oa,S_ as pa,DS as qa,MS as ra,ge as sa,pn as ta,fn as ua,ES as va,Qc as wa,LS as xa,L_ as ya,IS as za,AS as Aa,YS as Ba,PS as Ca,HS as Da,NS as Ea,VS as Fa,rs as Ga,Vi as Ha,T_ as Ia,x_ as Ja,$S as Ka,WS as La,US as Ma,zS as Na,GS as Oa,KS as Pa,xo as Qa,XS as Ra,ZS as Sa,qS as Ta,JS as Ua,QS as Va,eD as Wa,tD as Xa,iD as Ya,nD as Za,sD as _a,rD as $a,oD as ab,aD as bb,st as cb,gn as db,Ar as eb,Yr as fb,rt as gb,St as hb,Eo as ib,ad as jb,ld as kb,Ct as lb,Re as mb,Fi as nb,Lo as ob,AD as pb,Xk as qb,Iy as rb,Ay as sb,Yy as tb,Py as ub,wh as vb,TT as wb,Ot as xb,RT as yb,IT as zb,AT as Ab,YT as Bb,PT as Cb,Sh as Db,Dh as Eb,Mh as Fb,bi as Gb,ei as Hb,ve as Ib,Ch as Jb,zT as Kb,wi as Lb,Th as Mb,qT as Nb,JT as Ob,QT as Pb,el as Qb,lx as Rb,hx as Sb,Ny as Tb,jy as Ub};