@tilde-nlp/ngx-common 7.0.1 → 8.0.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 (324) hide show
  1. package/fesm2022/tilde-nlp-ngx-common.mjs +81 -94
  2. package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
  3. package/index.d.ts +2468 -3
  4. package/package.json +6 -6
  5. package/web-components/index.html +1 -1
  6. package/web-components/main.js +26 -32
  7. package/web-components/styles.css +1 -1
  8. package/lib/close-button/close-button.component.d.ts +0 -13
  9. package/lib/close-button/close-button.module.d.ts +0 -11
  10. package/lib/close-button/index.d.ts +0 -2
  11. package/lib/company-product/company-product.component.d.ts +0 -7
  12. package/lib/company-product/company-product.module.d.ts +0 -8
  13. package/lib/company-product/index.d.ts +0 -2
  14. package/lib/confirmation-modal/confirmation-modal.component.d.ts +0 -12
  15. package/lib/confirmation-modal/confirmation-modal.module.d.ts +0 -11
  16. package/lib/confirmation-modal/index.d.ts +0 -5
  17. package/lib/confirmation-modal/models/confirmation-body.model.d.ts +0 -8
  18. package/lib/confirmation-modal/models/confirmation.enum.d.ts +0 -4
  19. package/lib/confirmation-modal/services/confirmation.service.d.ts +0 -12
  20. package/lib/confirmation-modal/services/index.d.ts +0 -1
  21. package/lib/constants/error-codes.const.d.ts +0 -3
  22. package/lib/constants/index.d.ts +0 -3
  23. package/lib/constants/last-used-system-local-storage-key.const.d.ts +0 -5
  24. package/lib/constants/screen-size.const.d.ts +0 -10
  25. package/lib/core/auth/addon.model.d.ts +0 -4
  26. package/lib/core/auth/auth-subscription.model.d.ts +0 -12
  27. package/lib/core/auth/index.d.ts +0 -4
  28. package/lib/core/auth/jwt-token.model.d.ts +0 -30
  29. package/lib/core/auth/subscription-plan.enum.d.ts +0 -16
  30. package/lib/core/index.d.ts +0 -3
  31. package/lib/core/localization/index.d.ts +0 -2
  32. package/lib/core/localization/missing-translation-handler.service.d.ts +0 -8
  33. package/lib/core/localization/select-language-dialog-component/index.d.ts +0 -1
  34. package/lib/core/localization/select-language-dialog-component/select-language-dialog.component.d.ts +0 -15
  35. package/lib/core/title-strategy/custom-title-strategy.provider.d.ts +0 -2
  36. package/lib/core/title-strategy/custom-title-strategy.service.d.ts +0 -14
  37. package/lib/core/title-strategy/index.d.ts +0 -2
  38. package/lib/directives/click-outside/click-outside.directive.d.ts +0 -10
  39. package/lib/directives/click-outside/click-outside.module.d.ts +0 -8
  40. package/lib/directives/click-outside/index.d.ts +0 -2
  41. package/lib/directives/drag-and-drop/drag-and-drop.directive.d.ts +0 -14
  42. package/lib/directives/drag-and-drop/drag-and-drop.module.d.ts +0 -8
  43. package/lib/directives/drag-and-drop/index.d.ts +0 -2
  44. package/lib/directives/index.d.ts +0 -3
  45. package/lib/directives/mat-button-loading/index.d.ts +0 -2
  46. package/lib/directives/mat-button-loading/mat-button-loading.directive.d.ts +0 -18
  47. package/lib/directives/mat-button-loading/mat-button-loading.module.d.ts +0 -8
  48. package/lib/extension-dialog/components/index.d.ts +0 -1
  49. package/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.d.ts +0 -10
  50. package/lib/extension-dialog/extension-dialog.component.d.ts +0 -21
  51. package/lib/extension-dialog/extension-dialog.module.d.ts +0 -15
  52. package/lib/extension-dialog/icons/file-types/excel.icon.d.ts +0 -1
  53. package/lib/extension-dialog/icons/file-types/index.d.ts +0 -9
  54. package/lib/extension-dialog/icons/file-types/interchange.icon.d.ts +0 -1
  55. package/lib/extension-dialog/icons/file-types/office-other.icon.d.ts +0 -1
  56. package/lib/extension-dialog/icons/file-types/other.icon.d.ts +0 -1
  57. package/lib/extension-dialog/icons/file-types/pdf.icon.d.ts +0 -1
  58. package/lib/extension-dialog/icons/file-types/powerpoint.icon.d.ts +0 -1
  59. package/lib/extension-dialog/icons/file-types/scanned.icon.d.ts +0 -1
  60. package/lib/extension-dialog/icons/file-types/web.icon.d.ts +0 -1
  61. package/lib/extension-dialog/icons/file-types/word.icon.d.ts +0 -1
  62. package/lib/extension-dialog/icons/index.d.ts +0 -1
  63. package/lib/extension-dialog/index.d.ts +0 -5
  64. package/lib/extension-dialog/models/enums/file-categories.enum.d.ts +0 -7
  65. package/lib/extension-dialog/models/enums/file-extensions.enum.d.ts +0 -34
  66. package/lib/extension-dialog/models/enums/file-type-icons.enum.d.ts +0 -11
  67. package/lib/extension-dialog/models/enums/file-types.enum.d.ts +0 -11
  68. package/lib/extension-dialog/models/enums/index.d.ts +0 -4
  69. package/lib/extension-dialog/models/index.d.ts +0 -2
  70. package/lib/extension-dialog/models/interfaces/config.d.ts +0 -18
  71. package/lib/extension-dialog/models/interfaces/dialog-data.model.d.ts +0 -3
  72. package/lib/extension-dialog/models/interfaces/index.d.ts +0 -2
  73. package/lib/extension-dialog/services/extension-dialog.service.d.ts +0 -9
  74. package/lib/extension-dialog/services/index.d.ts +0 -1
  75. package/lib/file-upload/file-upload.component.d.ts +0 -39
  76. package/lib/file-upload/file-upload.module.d.ts +0 -15
  77. package/lib/file-upload/index.d.ts +0 -3
  78. package/lib/file-upload/models/file-upload-error-type.enum.d.ts +0 -6
  79. package/lib/file-upload/models/file-upload-error.model.d.ts +0 -7
  80. package/lib/file-upload/models/file-upload.icon.d.ts +0 -1
  81. package/lib/file-upload/models/index.d.ts +0 -2
  82. package/lib/filter-bar/filter-bar.component.d.ts +0 -54
  83. package/lib/filter-bar/filter-bar.module.d.ts +0 -19
  84. package/lib/filter-bar/index.d.ts +0 -3
  85. package/lib/filter-bar/models/filter-bar-change-event.model.d.ts +0 -6
  86. package/lib/filter-bar/models/filter-bar-filter-item.model.d.ts +0 -11
  87. package/lib/filter-bar/models/filter-bar-filter-search.model.d.ts +0 -10
  88. package/lib/filter-bar/models/filter-bar-filter-single-selection.model.d.ts +0 -13
  89. package/lib/filter-bar/models/filter-bar-filter.model.d.ts +0 -24
  90. package/lib/filter-bar/models/filter-bar-settings.model.d.ts +0 -20
  91. package/lib/filter-bar/models/index.d.ts +0 -4
  92. package/lib/footer/footer.component.d.ts +0 -15
  93. package/lib/footer/footer.module.d.ts +0 -11
  94. package/lib/footer/index.d.ts +0 -2
  95. package/lib/global-message/global-message.component.d.ts +0 -10
  96. package/lib/global-message/index.d.ts +0 -1
  97. package/lib/helpers/auth-headers.helper.d.ts +0 -4
  98. package/lib/helpers/conversion.helper.d.ts +0 -4
  99. package/lib/helpers/custom-paginator-internatioinalization.helper.d.ts +0 -9
  100. package/lib/helpers/file-extension.helper.d.ts +0 -3
  101. package/lib/helpers/file-size-label.helper.d.ts +0 -2
  102. package/lib/helpers/hash.helper.d.ts +0 -3
  103. package/lib/helpers/html-element-parse.helper.d.ts +0 -3
  104. package/lib/helpers/html.helper.d.ts +0 -18
  105. package/lib/helpers/index.d.ts +0 -12
  106. package/lib/helpers/missing-translation.helper.d.ts +0 -4
  107. package/lib/helpers/resolution.helper.d.ts +0 -3
  108. package/lib/helpers/save-file.helper.d.ts +0 -4
  109. package/lib/helpers/sort.helper.d.ts +0 -32
  110. package/lib/inline-message/index.d.ts +0 -3
  111. package/lib/inline-message/inline-message.component.d.ts +0 -10
  112. package/lib/inline-message/inline-message.module.d.ts +0 -10
  113. package/lib/inline-message/models/index.d.ts +0 -3
  114. package/lib/inline-message/models/inline-message-icon-position.enum.d.ts +0 -4
  115. package/lib/inline-message/models/inline-message-type.enum.d.ts +0 -5
  116. package/lib/inline-message/models/inline-message.model.d.ts +0 -10
  117. package/lib/llm/components/llm-rephrase/llm-rephrase.component.d.ts +0 -11
  118. package/lib/llm/components/llm-summary/llm-summary.component.d.ts +0 -11
  119. package/lib/llm/components/llm-textarea-with-actions/llm-textarea-with-actions.component.d.ts +0 -61
  120. package/lib/llm/icons/index.d.ts +0 -1
  121. package/lib/llm/icons/llm-menu.icon.d.ts +0 -2
  122. package/lib/llm/index.d.ts +0 -3
  123. package/lib/llm/llm.component.d.ts +0 -30
  124. package/lib/llm/llm.module.d.ts +0 -24
  125. package/lib/llm/models/index.d.ts +0 -3
  126. package/lib/llm/models/llm-actions.enum.d.ts +0 -4
  127. package/lib/llm/models/llm-configuration.model.d.ts +0 -6
  128. package/lib/llm/models/llm-configuration.token.d.ts +0 -3
  129. package/lib/llm/models/llm-data.model.d.ts +0 -12
  130. package/lib/llm/models/llm-writing-style.enum.d.ts +0 -5
  131. package/lib/llm/services/llm-helper.service.d.ts +0 -23
  132. package/lib/llm/shared/llm-textarea/llm-textarea.component.d.ts +0 -25
  133. package/lib/multi-functional-table/constants/disable-export-attribute-name.const.d.ts +0 -1
  134. package/lib/multi-functional-table/constants/index.d.ts +0 -1
  135. package/lib/multi-functional-table/index.d.ts +0 -4
  136. package/lib/multi-functional-table/models/batch-config.model.d.ts +0 -4
  137. package/lib/multi-functional-table/models/column-config.model.d.ts +0 -18
  138. package/lib/multi-functional-table/models/column-select-config.model.d.ts +0 -14
  139. package/lib/multi-functional-table/models/export-config.model.d.ts +0 -9
  140. package/lib/multi-functional-table/models/export-format.enum.d.ts +0 -3
  141. package/lib/multi-functional-table/models/filter-config.model.d.ts +0 -7
  142. package/lib/multi-functional-table/models/index.d.ts +0 -7
  143. package/lib/multi-functional-table/models/multi-functional-table-config.model.d.ts +0 -53
  144. package/lib/multi-functional-table/models/paginator-config.model.d.ts +0 -8
  145. package/lib/multi-functional-table/models/selected-column-local-storage-config.model.d.ts +0 -20
  146. package/lib/multi-functional-table/multi-functional-table.component.d.ts +0 -116
  147. package/lib/multi-functional-table/multi-functional-table.module.d.ts +0 -22
  148. package/lib/new-feature-dialog/index.d.ts +0 -2
  149. package/lib/new-feature-dialog/models/index.d.ts +0 -1
  150. package/lib/new-feature-dialog/models/mobile-screen-custom-position.model.d.ts +0 -5
  151. package/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog-wrapper.component.d.ts +0 -26
  152. package/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog.service.d.ts +0 -10
  153. package/lib/new-feature-dialog/new-feature-dialog.component.d.ts +0 -6
  154. package/lib/notification-message/enums/index.d.ts +0 -1
  155. package/lib/notification-message/enums/notification-message-type.enum.d.ts +0 -7
  156. package/lib/notification-message/index.d.ts +0 -4
  157. package/lib/notification-message/interfaces/index.d.ts +0 -1
  158. package/lib/notification-message/interfaces/notification-message.model.d.ts +0 -28
  159. package/lib/notification-message/notification-message.component.d.ts +0 -22
  160. package/lib/notification-message/notification-message.module.d.ts +0 -14
  161. package/lib/open-close-button/index.d.ts +0 -4
  162. package/lib/open-close-button/injection-tokens/index.d.ts +0 -1
  163. package/lib/open-close-button/injection-tokens/open-close-btn-icons.token.d.ts +0 -1
  164. package/lib/open-close-button/models/index.d.ts +0 -1
  165. package/lib/open-close-button/models/open-close-btn-icons.model.d.ts +0 -4
  166. package/lib/open-close-button/open-close-button.component.d.ts +0 -22
  167. package/lib/open-close-button/open-close-button.module.d.ts +0 -11
  168. package/lib/pipes/date-ago/date-ago.module.d.ts +0 -9
  169. package/lib/pipes/date-ago/date-ago.pipe.d.ts +0 -20
  170. package/lib/pipes/date-ago/index.d.ts +0 -2
  171. package/lib/pipes/date-ago/models/date-ago-interval.model.d.ts +0 -5
  172. package/lib/pipes/date-ago/models/date-ago-settings.model.d.ts +0 -26
  173. package/lib/pipes/date-ago/models/date-ago-settings.token.d.ts +0 -1
  174. package/lib/pipes/date-ago/models/date-ago.model.d.ts +0 -4
  175. package/lib/pipes/date-ago/models/index.d.ts +0 -4
  176. package/lib/pipes/domain-translate/domain-translate.pipe.d.ts +0 -10
  177. package/lib/pipes/domain-translate/index.d.ts +0 -1
  178. package/lib/pipes/file-size-label/enums/file-size-unit.enum.d.ts +0 -6
  179. package/lib/pipes/file-size-label/enums/index.d.ts +0 -1
  180. package/lib/pipes/file-size-label/file-size-label.pipe.d.ts +0 -8
  181. package/lib/pipes/file-size-label/index.d.ts +0 -2
  182. package/lib/pipes/filter-with-highlight/filter-with-highlight.module.d.ts +0 -8
  183. package/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.d.ts +0 -7
  184. package/lib/pipes/filter-with-highlight/index.d.ts +0 -2
  185. package/lib/pipes/index.d.ts +0 -12
  186. package/lib/pipes/language-translate/index.d.ts +0 -2
  187. package/lib/pipes/language-translate/language-translate.module.d.ts +0 -8
  188. package/lib/pipes/language-translate/language-translate.pipe.d.ts +0 -21
  189. package/lib/pipes/object-length/index.d.ts +0 -2
  190. package/lib/pipes/object-length/object-length.module.d.ts +0 -8
  191. package/lib/pipes/object-length/object-length.pipe.d.ts +0 -7
  192. package/lib/pipes/sort-alphabetically/index.d.ts +0 -2
  193. package/lib/pipes/sort-alphabetically/sort-alphabetically.module.d.ts +0 -8
  194. package/lib/pipes/sort-alphabetically/sort-alphabetically.pipe.d.ts +0 -7
  195. package/lib/pipes/sort-by-number/index.d.ts +0 -1
  196. package/lib/pipes/sort-by-number/sort-by-number.pipe.d.ts +0 -7
  197. package/lib/pipes/sort-domains/index.d.ts +0 -1
  198. package/lib/pipes/sort-domains/sort-domains.pipe.d.ts +0 -15
  199. package/lib/pipes/sort-language-list/index.d.ts +0 -2
  200. package/lib/pipes/sort-language-list/models/index.d.ts +0 -1
  201. package/lib/pipes/sort-language-list/models/translated-language.model.d.ts +0 -4
  202. package/lib/pipes/sort-language-list/sort-language-list.pipe.d.ts +0 -10
  203. package/lib/pipes/sort-translations/index.d.ts +0 -2
  204. package/lib/pipes/sort-translations/sort-translations.module.d.ts +0 -8
  205. package/lib/pipes/sort-translations/sort-translations.pipe.d.ts +0 -20
  206. package/lib/pipes/sort-translations-by-property/index.d.ts +0 -2
  207. package/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.d.ts +0 -8
  208. package/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.d.ts +0 -16
  209. package/lib/plausible/index.d.ts +0 -4
  210. package/lib/plausible/models/index.d.ts +0 -1
  211. package/lib/plausible/models/plausible-event.model.d.ts +0 -7
  212. package/lib/plausible/plausible-event.directive.d.ts +0 -11
  213. package/lib/plausible/plausible.helper.d.ts +0 -15
  214. package/lib/plausible/plausible.module.d.ts +0 -8
  215. package/lib/services/alert/alert.service.d.ts +0 -37
  216. package/lib/services/alert/index.d.ts +0 -3
  217. package/lib/services/alert/injection-tokens/alert-configuration.token.d.ts +0 -1
  218. package/lib/services/alert/injection-tokens/index.d.ts +0 -1
  219. package/lib/services/alert/models/alert-configuration.model.d.ts +0 -7
  220. package/lib/services/alert/models/index.d.ts +0 -1
  221. package/lib/services/dom/dom.service.d.ts +0 -7
  222. package/lib/services/dom/index.d.ts +0 -1
  223. package/lib/services/icon/icon.service.d.ts +0 -14
  224. package/lib/services/icon/index.d.ts +0 -1
  225. package/lib/services/index.d.ts +0 -6
  226. package/lib/services/language-translate/index.d.ts +0 -1
  227. package/lib/services/language-translate/language-translate.service.d.ts +0 -10
  228. package/lib/services/notification/index.d.ts +0 -2
  229. package/lib/services/notification/models/index.d.ts +0 -2
  230. package/lib/services/notification/models/notification.model.d.ts +0 -6
  231. package/lib/services/notification/models/operations.enum.d.ts +0 -4
  232. package/lib/services/notification/notification.service.d.ts +0 -15
  233. package/lib/services/system/index.d.ts +0 -1
  234. package/lib/services/system/system.service.d.ts +0 -11
  235. package/lib/sidebar/index.d.ts +0 -2
  236. package/lib/sidebar/services/index.d.ts +0 -1
  237. package/lib/sidebar/services/sidebar.service.d.ts +0 -10
  238. package/lib/sidebar/sidebar.component.d.ts +0 -8
  239. package/lib/status-display/index.d.ts +0 -3
  240. package/lib/status-display/models/index.d.ts +0 -1
  241. package/lib/status-display/models/status-display-config.model.d.ts +0 -15
  242. package/lib/status-display/status-display.component.d.ts +0 -7
  243. package/lib/status-display/status-display.module.d.ts +0 -11
  244. package/lib/subscription/chargebee-mount.service.d.ts +0 -6
  245. package/lib/subscription/index.d.ts +0 -2
  246. package/lib/subscription/models/chargebee-settings.model.d.ts +0 -4
  247. package/lib/subscription/models/index.d.ts +0 -1
  248. package/lib/subscription/models/subscription-quota-display.model.d.ts +0 -9
  249. package/lib/subscription/models/subscription-state.enum.d.ts +0 -6
  250. package/lib/subscription/subscription.component.d.ts +0 -30
  251. package/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.d.ts +0 -28
  252. package/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.d.ts +0 -30
  253. package/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.d.ts +0 -32
  254. package/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.d.ts +0 -20
  255. package/lib/terminology/components/terminology-panel/terminology-panel.component.d.ts +0 -37
  256. package/lib/terminology/config/models/index.d.ts +0 -1
  257. package/lib/terminology/config/models/terminology-config.model.d.ts +0 -45
  258. package/lib/terminology/config/services/index.d.ts +0 -1
  259. package/lib/terminology/config/services/terminology-config/terminology-config.service.d.ts +0 -10
  260. package/lib/terminology/enums/combined-collection-tooltip-key.enum.d.ts +0 -4
  261. package/lib/terminology/enums/engine-term-collection-scope.enum.d.ts +0 -4
  262. package/lib/terminology/enums/engine-term-collection-source.enum.d.ts +0 -4
  263. package/lib/terminology/enums/engine-term-collection-status.enum.d.ts +0 -6
  264. package/lib/terminology/enums/engine-term-collection-sub-status.enum.d.ts +0 -12
  265. package/lib/terminology/enums/index.d.ts +0 -6
  266. package/lib/terminology/enums/mt-collection-status.enum.d.ts +0 -8
  267. package/lib/terminology/icons/collections-menu.icon.d.ts +0 -1
  268. package/lib/terminology/icons/index.d.ts +0 -1
  269. package/lib/terminology/index.d.ts +0 -9
  270. package/lib/terminology/models/active-data.model.d.ts +0 -23
  271. package/lib/terminology/models/add-engine-terms-request-params.model.d.ts +0 -7
  272. package/lib/terminology/models/combined-collection.model.d.ts +0 -91
  273. package/lib/terminology/models/default-term-collection-order-update.model.d.ts +0 -5
  274. package/lib/terminology/models/domain.model.d.ts +0 -9
  275. package/lib/terminology/models/engine-term-collection-access-scope-update.model.d.ts +0 -3
  276. package/lib/terminology/models/engine-term-collection-access-scope.model.d.ts +0 -4
  277. package/lib/terminology/models/engine-term-collection-access-update.model.d.ts +0 -5
  278. package/lib/terminology/models/engine-term-collection-access.model.d.ts +0 -6
  279. package/lib/terminology/models/engine-term-collection-list.model.d.ts +0 -4
  280. package/lib/terminology/models/engine-term-collection.model.d.ts +0 -24
  281. package/lib/terminology/models/index.d.ts +0 -18
  282. package/lib/terminology/models/lang-list-item.model.d.ts +0 -6
  283. package/lib/terminology/models/mt-collection.model.d.ts +0 -17
  284. package/lib/terminology/models/system.model.d.ts +0 -12
  285. package/lib/terminology/models/terminology-engine.model.d.ts +0 -15
  286. package/lib/terminology/models/tld-term-collection-languages.model.d.ts +0 -11
  287. package/lib/terminology/models/tld-term-collection.model.d.ts +0 -46
  288. package/lib/terminology/models/update-engine-terms-request-params.model.d.ts +0 -4
  289. package/lib/terminology/models/vendor.model.d.ts +0 -5
  290. package/lib/terminology/services/engine-term-api/engine-term-api.service.d.ts +0 -19
  291. package/lib/terminology/services/engine-term-api/index.d.ts +0 -1
  292. package/lib/terminology/services/index.d.ts +0 -4
  293. package/lib/terminology/services/system-api-v2/models/engine-deployment.model.d.ts +0 -9
  294. package/lib/terminology/services/system-api-v2/models/engine-domain-list.model.d.ts +0 -4
  295. package/lib/terminology/services/system-api-v2/models/engine-domain.model.d.ts +0 -5
  296. package/lib/terminology/services/system-api-v2/models/engine-list.model.d.ts +0 -4
  297. package/lib/terminology/services/system-api-v2/models/engine-status.enum.d.ts +0 -9
  298. package/lib/terminology/services/system-api-v2/models/engine-sub-status.enum.d.ts +0 -16
  299. package/lib/terminology/services/system-api-v2/models/engine.model.d.ts +0 -24
  300. package/lib/terminology/services/system-api-v2/models/index.d.ts +0 -8
  301. package/lib/terminology/services/system-api-v2/models/revision.model.d.ts +0 -9
  302. package/lib/terminology/services/system-api-v2/models/tilde-vendor.const.d.ts +0 -1
  303. package/lib/terminology/services/system-api-v2/models/worker-status.model.d.ts +0 -12
  304. package/lib/terminology/services/system-api-v2/system-api.service.d.ts +0 -17
  305. package/lib/terminology/services/terminology/terminology.service.d.ts +0 -62
  306. package/lib/terminology/services/terminology-api/terminology-api.service.d.ts +0 -18
  307. package/lib/terminology/services/terminology-collection/index.d.ts +0 -1
  308. package/lib/terminology/services/terminology-collection/terminology-collection.service.d.ts +0 -17
  309. package/lib/terminology/terminology.component.d.ts +0 -42
  310. package/lib/terminology/terminology.module.d.ts +0 -28
  311. package/lib/text-to-speech/index.d.ts +0 -2
  312. package/lib/text-to-speech/models/index.d.ts +0 -1
  313. package/lib/text-to-speech/models/voice.model.d.ts +0 -4
  314. package/lib/text-to-speech/services/tts-api.service.d.ts +0 -9
  315. package/lib/text-to-speech/text-to-speech.component.d.ts +0 -21
  316. package/lib/tld-loader/index.d.ts +0 -2
  317. package/lib/tld-loader/tld-loader.component.d.ts +0 -5
  318. package/lib/tld-loader/tld-loader.module.d.ts +0 -7
  319. package/lib/toast/index.d.ts +0 -2
  320. package/lib/toast/models/toast.model.d.ts +0 -5
  321. package/lib/toast/toast-service/index.d.ts +0 -1
  322. package/lib/toast/toast-service/toast-service.service.d.ts +0 -12
  323. package/lib/toast/toast.component.d.ts +0 -11
  324. package/public-api.d.ts +0 -28
@@ -1,47 +1,41 @@
1
- var Ux=Object.defineProperty,PF=Object.defineProperties;var jF=Object.getOwnPropertyDescriptors;var vd=Object.getOwnPropertySymbols;var Hx=Object.prototype.hasOwnProperty,zx=Object.prototype.propertyIsEnumerable;var Bx=(t,n,e)=>n in t?Ux(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,_=(t,n)=>{for(var e in n||={})Hx.call(n,e)&&Bx(t,e,n[e]);if(vd)for(var e of vd(n))zx.call(n,e)&&Bx(t,e,n[e]);return t},ie=(t,n)=>PF(t,jF(n));var Jp=(t,n)=>{var e={};for(var i in t)Hx.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&vd)for(var i of vd(t))n.indexOf(i)<0&&zx.call(t,i)&&(e[i]=t[i]);return e};var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var VF=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),BF=(t,n)=>{for(var e in n)Ux(t,e,{get:n[e],enumerable:!0})};var $a=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});function im(t,n){return Object.is(t,n)}function fe(t){let n=lt;return lt=t,n}function om(){return lt}function Wa(t){if(bd)throw new Error("");if(lt===null)return;lt.consumerOnSignalRead(t);let n=lt.nextProducerIndex++;if(Ed(lt),n<lt.producerNode.length&&lt.producerNode[n]!==t&&Ga(lt)){let e=lt.producerNode[n];wd(e,lt.producerIndexOfThis[n])}lt.producerNode[n]!==t&&(lt.producerNode[n]=t,lt.producerIndexOfThis[n]=Ga(lt)?Gx(t,lt,n):0),lt.producerLastReadVersion[n]=t.version}function $x(){rm++}function sm(t){if(!(Ga(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===rm)){if(!t.producerMustRecompute(t)&&!xd(t)){nm(t);return}t.producerRecomputeValue(t),nm(t)}}function am(t){if(t.liveConsumerNode===void 0)return;let n=bd;bd=!0;try{for(let e of t.liveConsumerNode)e.dirty||UF(e)}finally{bd=n}}function lm(){return lt?.consumerAllowSignalWrites!==!1}function UF(t){t.dirty=!0,am(t),t.consumerMarkedDirty?.(t)}function nm(t){t.dirty=!1,t.lastCleanEpoch=rm}function qa(t){return t&&(t.nextProducerIndex=0),fe(t)}function Cd(t,n){if(fe(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ga(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)wd(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function xd(t){Ed(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(sm(e),i!==e.version))return!0}return!1}function Ka(t){if(Ed(t),Ga(t))for(let n=0;n<t.producerNode.length;n++)wd(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Gx(t,n,e){if(Wx(t),t.liveConsumerNode.length===0&&qx(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=Gx(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function wd(t,n){if(Wx(t),t.liveConsumerNode.length===1&&qx(t))for(let i=0;i<t.producerNode.length;i++)wd(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];Ed(r),r.producerIndexOfThis[i]=n}}function Ga(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Ed(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Wx(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function qx(t){return t.producerNode!==void 0}function Dd(t,n){let e=Object.create(HF);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(sm(e),Wa(e),e.value===_d)throw e.error;return e.value};return i[Ut]=e,i}function zF(){throw new Error}function Yx(t){Kx(t)}function cm(t){Kx=t}function dm(t,n){let e=Object.create(Sd);e.value=t,n!==void 0&&(e.equal=n);let i=()=>(Wa(e),e.value);return i[Ut]=e,i}function Ya(t,n){lm()||Yx(t),t.equal(t.value,n)||(t.value=n,GF(t))}function um(t,n){lm()||Yx(t),Ya(t,n(t.value))}function GF(t){t.version++,$x(),am(t),$F?.()}function fm(t){let n=fe(null);try{return t()}finally{fe(n)}}var lt,bd,rm,Ut,Zo,em,tm,_d,HF,Kx,$F,Sd,hm=f(()=>{"use strict";lt=null,bd=!1,rm=1,Ut=Symbol("SIGNAL");Zo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};em=Symbol("UNSET"),tm=Symbol("COMPUTING"),_d=Symbol("ERRORED"),HF=ie(_({},Zo),{value:em,dirty:!0,error:null,equal:im,kind:"computed",producerMustRecompute(t){return t.value===em||t.value===tm},producerRecomputeValue(t){if(t.value===tm)throw new Error("Detected cycle in computations.");let n=t.value;t.value=tm;let e=qa(t),i,r=!1;try{i=t.computation(),fe(null),r=n!==em&&n!==_d&&i!==_d&&t.equal(n,i)}catch(o){i=_d,t.error=o}finally{Cd(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});Kx=zF;$F=null;Sd=ie(_({},Zo),{equal:im,value:void 0,kind:"signal"})});function Qa(){return pm}function ui(t){let n=pm;return pm=t,n}var pm,Id,mm=f(()=>{"use strict";Id=Symbol("NotFound")});var Qx=f(()=>{"use strict";hm();});function W(t){return typeof t=="function"}var ot=f(()=>{"use strict"});function Xo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Md=f(()=>{"use strict"});var Td,Zx=f(()=>{"use strict";Md();Td=Xo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
1
+ var $w=Object.defineProperty,KP=Object.defineProperties;var YP=Object.getOwnPropertyDescriptors;var Eu=Object.getOwnPropertySymbols;var Gw=Object.prototype.hasOwnProperty,Ww=Object.prototype.propertyIsEnumerable;var qw=n=>{throw TypeError(n)};var zw=(n,t,e)=>t in n?$w(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,b=(n,t)=>{for(var e in t||={})Gw.call(t,e)&&zw(n,e,t[e]);if(Eu)for(var e of Eu(t))Ww.call(t,e)&&zw(n,e,t[e]);return n},X=(n,t)=>KP(n,YP(t));var fg=(n,t)=>{var e={};for(var i in n)Gw.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&Eu)for(var i of Eu(n))t.indexOf(i)<0&&Ww.call(n,i)&&(e[i]=n[i]);return e};var f=(n,t)=>()=>(n&&(t=n(n=0)),t);var QP=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),ZP=(n,t)=>{for(var e in t)$w(n,e,{get:t[e],enumerable:!0})};var hg=(n,t,e)=>t.has(n)||qw("Cannot "+e);var ye=(n,t,e)=>(hg(n,t,"read from private field"),e?e.call(n):t.get(n)),tt=(n,t,e)=>t.has(n)?qw("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),Ot=(n,t,e,i)=>(hg(n,t,"write to private field"),i?i.call(n,e):t.set(n,e),e),Ft=(n,t,e)=>(hg(n,t,"access private method"),e);var Er=(n,t,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(n,t)).next())});function wu(){return pg}function ci(n){let t=pg;return pg=n,t}function Ws(n){return n===Kw||n?.name==="\u0275NotFound"}var pg,Kw,mg=f(()=>{"use strict";Kw=Symbol("NotFound")});function Tu(n,t){return Object.is(n,t)}function ie(n){let t=kt;return kt=n,t}function Mu(){return kt}function So(n){if(Du)throw new Error("");if(kt===null)return;kt.consumerOnSignalRead(n);let t=kt.producersTail;if(t!==void 0&&t.producer===n)return;let e,i=kt.recomputing;if(i&&(e=t!==void 0?t.nextProducer:kt.producers,e!==void 0&&e.producer===n)){kt.producersTail=e,e.lastReadVersion=n.version;return}let r=n.consumersTail;if(r!==void 0&&r.consumer===kt&&(!i||e1(r,kt)))return;let o=qs(kt),s={producer:n,consumer:kt,nextProducer:e,prevConsumer:r,lastReadVersion:n.version,nextConsumer:void 0};kt.producersTail=s,t!==void 0?t.nextProducer=s:kt.producers=s,o&&Qw(n,s)}function Yw(){gg++}function Ru(n){if(!(qs(n)&&!n.dirty)&&!(!n.dirty&&n.lastCleanEpoch===gg)){if(!n.producerMustRecompute(n)&&!Io(n)){Au(n);return}n.producerRecomputeValue(n),Au(n)}}function yg(n){if(n.consumers===void 0)return;let t=Du;Du=!0;try{for(let e=n.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||JP(i)}}finally{Du=t}}function vg(){return kt?.consumerAllowSignalWrites!==!1}function JP(n){n.dirty=!0,yg(n),n.consumerMarkedDirty?.(n)}function Au(n){n.dirty=!1,n.lastCleanEpoch=gg}function Li(n){return n&&(n.producersTail=void 0,n.recomputing=!0),ie(n)}function Dr(n,t){if(ie(t),!n)return;n.recomputing=!1;let e=n.producersTail,i=e!==void 0?e.nextProducer:n.producers;if(i!==void 0){if(qs(n))do i=_g(i);while(i!==void 0);e!==void 0?e.nextProducer=void 0:n.producers=void 0}}function Io(n){for(let t=n.producers;t!==void 0;t=t.nextProducer){let e=t.producer,i=t.lastReadVersion;if(i!==e.version||(Ru(e),i!==e.version))return!0}return!1}function Sr(n){if(qs(n)){let t=n.producers;for(;t!==void 0;)t=_g(t)}n.producers=void 0,n.producersTail=void 0,n.consumers=void 0,n.consumersTail=void 0}function Qw(n,t){let e=n.consumersTail,i=qs(n);if(e!==void 0?(t.nextConsumer=e.nextConsumer,e.nextConsumer=t):(t.nextConsumer=void 0,n.consumers=t),t.prevConsumer=e,n.consumersTail=t,!i)for(let r=n.producers;r!==void 0;r=r.nextProducer)Qw(r.producer,r)}function _g(n){let t=n.producer,e=n.nextProducer,i=n.nextConsumer,r=n.prevConsumer;if(n.nextConsumer=void 0,n.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:t.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(t.consumers=i,!qs(t)){let o=t.producers;for(;o!==void 0;)o=_g(o)}return e}function qs(n){return n.consumerIsAlwaysLive||n.consumers!==void 0}function Ou(n){XP?.(n)}function e1(n,t){let e=t.producersTail;if(e!==void 0){let i=t.producers;do{if(i===n)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function Nl(n,t){let e=Object.create(t1);e.computation=n,t!==void 0&&(e.equal=t);let i=()=>{if(Ru(e),So(e),e.value===kl)throw e.error;return e.value};return i[pt]=e,Ou(e),i}function n1(){throw new Error}function Xw(n){Zw(n)}function bg(n){Zw=n}function xg(n,t){let e=Object.create(Ll);e.value=n,t!==void 0&&(e.equal=t);let i=()=>Jw(e);return i[pt]=e,Ou(e),[i,s=>Ks(e,s),s=>Cg(e,s)]}function Jw(n){return So(n),n.value}function Ks(n,t){vg()||Xw(n),n.equal(n.value,t)||(n.value=t,r1(n))}function Cg(n,t){vg()||Xw(n),Ks(n,t(n.value))}function r1(n){n.version++,Yw(),yg(n),i1?.(n)}var kt,Du,gg,XP,pt,wr,Su,Iu,kl,t1,Zw,i1,Ll,Ao=f(()=>{"use strict";kt=null,Du=!1,gg=1,XP=null,pt=Symbol("SIGNAL");wr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};Su=Symbol("UNSET"),Iu=Symbol("COMPUTING"),kl=Symbol("ERRORED"),t1=X(b({},wr),{value:Su,dirty:!0,error:null,equal:Tu,kind:"computed",producerMustRecompute(n){return n.value===Su||n.value===Iu},producerRecomputeValue(n){if(n.value===Iu)throw new Error("");let t=n.value;n.value=Iu;let e=Li(n),i,r=!1;try{i=n.computation(),ie(null),r=t!==Su&&t!==kl&&i!==kl&&n.equal(t,i)}catch(o){i=kl,n.error=o}finally{Dr(n,e)}if(r){n.value=t;return}n.value=i,n.version++}});Zw=n1;i1=null;Ll=X(b({},wr),{equal:Tu,value:void 0,kind:"signal"})});function Q(n){return typeof n=="function"}var dt=f(()=>{"use strict"});function Ys(n){let e=n(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Fu=f(()=>{"use strict"});var ku,e0=f(()=>{"use strict";Fu();ku=Ys(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
2
  ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function zr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Ad=f(()=>{"use strict"});function Rd(t){return t instanceof _e||t&&"closed"in t&&W(t.remove)&&W(t.add)&&W(t.unsubscribe)}function Xx(t){W(t)?t():t.unsubscribe()}var _e,gm,$r=f(()=>{"use strict";ot();Zx();Ad();_e=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(W(i))try{i()}catch(o){n=o instanceof Td?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Xx(o)}catch(s){n=n??[],s instanceof Td?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Td(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Xx(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&zr(e,n)}remove(n){let{_finalizers:e}=this;e&&zr(e,n),n instanceof t&&n._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();gm=_e.EMPTY});var In,Za=f(()=>{"use strict";In={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Jo,ym=f(()=>{"use strict";Jo={setTimeout(t,n,...e){let{delegate:i}=Jo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Jo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Od(t){Jo.setTimeout(()=>{let{onUnhandledError:n}=In;if(n)n(t);else throw t})}var vm=f(()=>{"use strict";Za();ym()});function Xa(){}var bm=f(()=>{"use strict"});function e0(t){return _m("E",void 0,t)}function t0(t){return _m("N",t,void 0)}function _m(t,n,e){return{kind:t,value:n,error:e}}var Jx,n0=f(()=>{"use strict";Jx=_m("C",void 0,void 0)});function es(t){if(In.useDeprecatedSynchronousErrorHandling){let n=!Gr;if(n&&(Gr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Gr;if(Gr=null,e)throw i}}else t()}function i0(t){In.useDeprecatedSynchronousErrorHandling&&Gr&&(Gr.errorThrown=!0,Gr.error=t)}var Gr,kd=f(()=>{"use strict";Za();Gr=null});function Cm(t,n){return YF.call(t,n)}function Nd(t){In.useDeprecatedSynchronousErrorHandling?i0(t):Od(t)}function QF(t){throw t}function xm(t,n){let{onStoppedNotification:e}=In;e&&Jo.setTimeout(()=>e(t,n))}var Wr,YF,wm,fi,ZF,Fd=f(()=>{"use strict";ot();$r();Za();vm();bm();n0();ym();kd();Wr=class extends _e{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Rd(n)&&n.add(this)):this.destination=ZF}static create(n,e,i){return new fi(n,e,i)}next(n){this.isStopped?xm(t0(n),this):this._next(n)}error(n){this.isStopped?xm(e0(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?xm(Jx,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},YF=Function.prototype.bind;wm=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Nd(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Nd(i)}else Nd(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Nd(e)}}},fi=class extends Wr{constructor(n,e,i){super();let r;if(W(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&In.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Cm(n.next,o),error:n.error&&Cm(n.error,o),complete:n.complete&&Cm(n.complete,o)}):r=n}this.destination=new wm(r)}};ZF={closed:!0,next:Xa,error:QF,complete:Xa}});var ts,Ld=f(()=>{"use strict";ts=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Ot(t){return t}var rr=f(()=>{"use strict"});function Em(...t){return Dm(t)}function Dm(t){return t.length===0?Ot:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Sm=f(()=>{"use strict";rr()});function r0(t){var n;return(n=t??In.Promise)!==null&&n!==void 0?n:Promise}function XF(t){return t&&W(t.next)&&W(t.error)&&W(t.complete)}function JF(t){return t&&t instanceof Wr||XF(t)&&Rd(t)}var Z,xt=f(()=>{"use strict";Fd();$r();Ld();Sm();Za();ot();kd();Z=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=JF(e)?e:new fi(e,i,r);return es(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=r0(i),new i((r,o)=>{let s=new fi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ts](){return this}pipe(...e){return Dm(e)(this)}toPromise(e){return e=r0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})()});function Im(t){return W(t?.lift)}function te(t){return n=>{if(Im(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var Ge=f(()=>{"use strict";ot()});function X(t,n,e,i,r){return new Mm(t,n,e,i,r)}var Mm,Ye=f(()=>{"use strict";Fd();Mm=class extends Wr{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}}});function ns(){return te((t,n)=>{let e=null;t._refCount++;let i=X(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Tm=f(()=>{"use strict";Ge();Ye()});var is,o0=f(()=>{"use strict";xt();$r();Tm();Ye();Ge();is=class extends Z{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Im(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new _e;let e=this.getSubject();n.add(this.source.subscribe(X(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=_e.EMPTY)}return n}refCount(){return ns()(this)}}});var s0,a0=f(()=>{"use strict";Md();s0=Xo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var T,Pd,Ja=f(()=>{"use strict";xt();$r();a0();Ad();kd();T=(()=>{class t extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Pd(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new s0}next(e){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?gm:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,zr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Z;return e.source=this,e}}return t.create=(n,e)=>new Pd(n,e),t})(),Pd=class extends T{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:gm}}});var nt,l0=f(()=>{"use strict";Ja();nt=class extends T{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}});var el,Am=f(()=>{"use strict";el={now(){return(el.delegate||Date).now()},delegate:void 0}});var qr,Rm=f(()=>{"use strict";Ja();Am();qr=class extends T{constructor(n=1/0,e=1/0,i=el){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}});var jd,c0=f(()=>{"use strict";$r();jd=class extends _e{constructor(n,e){super()}schedule(n,e=0){return this}}});var tl,d0=f(()=>{"use strict";tl={setInterval(t,n,...e){let{delegate:i}=tl;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=tl;return(n?.clearInterval||clearInterval)(t)},delegate:void 0}});var Vd,u0=f(()=>{"use strict";c0();d0();Ad();Vd=class extends jd{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return tl.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&tl.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,zr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}});var rs,f0=f(()=>{"use strict";Am();rs=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};rs.now=el.now});var Bd,h0=f(()=>{"use strict";f0();Bd=class extends rs{constructor(n,e=rs.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}});var nl,p0,Ud=f(()=>{"use strict";u0();h0();nl=new Bd(Vd),p0=nl});var wt,il=f(()=>{"use strict";xt();wt=new Z(t=>t.complete())});function Hd(t){return t&&W(t.schedule)}var Om=f(()=>{"use strict";ot()});function km(t){return t[t.length-1]}function zd(t){return W(km(t))?t.pop():void 0}function Gn(t){return Hd(km(t))?t.pop():void 0}function m0(t,n){return typeof km(t)=="number"?t.pop():n}var Kr=f(()=>{"use strict";ot();Om()});function y0(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(h){s(h)}}function l(d){try{c(i.throw(d))}catch(h){s(h)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function g0(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yr(t){return this instanceof Yr?(this.v=t,this):new Yr(t)}function v0(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(p){return function(g){return Promise.resolve(g).then(p,h)}}function a(p,g){i[p]&&(r[p]=function(y){return new Promise(function(I,R){o.push([p,y,I,R])>1||l(p,y)})},g&&(r[p]=g(r[p])))}function l(p,g){try{c(i[p](g))}catch(y){m(o[0][3],y)}}function c(p){p.value instanceof Yr?Promise.resolve(p.value.v).then(d,h):m(o[0][2],p)}function d(p){l("next",p)}function h(p){l("throw",p)}function m(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function b0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof g0=="function"?g0(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Nm=f(()=>{"use strict"});var os,$d=f(()=>{"use strict";os=t=>t&&typeof t.length=="number"&&typeof t!="function"});function Gd(t){return W(t?.then)}var Fm=f(()=>{"use strict";ot()});function Wd(t){return W(t[ts])}var Lm=f(()=>{"use strict";Ld();ot()});function qd(t){return Symbol.asyncIterator&&W(t?.[Symbol.asyncIterator])}var Pm=f(()=>{"use strict";ot()});function Kd(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var jm=f(()=>{"use strict"});function eL(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yd,Vm=f(()=>{"use strict";Yd=eL()});function Qd(t){return W(t?.[Yd])}var Bm=f(()=>{"use strict";Vm();ot()});function Zd(t){return v0(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Yr(e.read());if(r)return yield Yr(void 0);yield yield Yr(i)}}finally{e.releaseLock()}})}function Xd(t){return W(t?.getReader)}var Jd=f(()=>{"use strict";Nm();ot()});function Oe(t){if(t instanceof Z)return t;if(t!=null){if(Wd(t))return tL(t);if(os(t))return nL(t);if(Gd(t))return iL(t);if(qd(t))return _0(t);if(Qd(t))return rL(t);if(Xd(t))return oL(t)}throw Kd(t)}function tL(t){return new Z(n=>{let e=t[ts]();if(W(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nL(t){return new Z(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function iL(t){return new Z(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Od)})}function rL(t){return new Z(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function _0(t){return new Z(n=>{sL(t,n).catch(e=>n.error(e))})}function oL(t){return _0(Zd(t))}function sL(t,n){var e,i,r,o;return y0(this,void 0,void 0,function*(){try{for(e=b0(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}var kt=f(()=>{"use strict";Nm();$d();Fm();xt();Lm();Pm();jm();Bm();Jd();ot();vm();Ld()});function Ht(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}var ss=f(()=>{"use strict"});function eu(t,n=0){return te((e,i)=>{e.subscribe(X(i,r=>Ht(i,t,()=>i.next(r),n),()=>Ht(i,t,()=>i.complete(),n),r=>Ht(i,t,()=>i.error(r),n)))})}var Um=f(()=>{"use strict";ss();Ge();Ye()});function tu(t,n=0){return te((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}var Hm=f(()=>{"use strict";Ge()});function C0(t,n){return Oe(t).pipe(tu(n),eu(n))}var x0=f(()=>{"use strict";kt();Um();Hm()});function w0(t,n){return Oe(t).pipe(tu(n),eu(n))}var E0=f(()=>{"use strict";kt();Um();Hm()});function D0(t,n){return new Z(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}var S0=f(()=>{"use strict";xt()});function I0(t,n){return new Z(e=>{let i;return Ht(e,n,()=>{i=t[Yd](),Ht(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>W(i?.return)&&i.return()})}var M0=f(()=>{"use strict";xt();Vm();ot();ss()});function nu(t,n){if(!t)throw new Error("Iterable cannot be null");return new Z(e=>{Ht(e,n,()=>{let i=t[Symbol.asyncIterator]();Ht(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var zm=f(()=>{"use strict";xt();ss()});function T0(t,n){return nu(Zd(t),n)}var A0=f(()=>{"use strict";zm();Jd()});function R0(t,n){if(t!=null){if(Wd(t))return C0(t,n);if(os(t))return D0(t,n);if(Gd(t))return w0(t,n);if(qd(t))return nu(t,n);if(Qd(t))return I0(t,n);if(Xd(t))return T0(t,n)}throw Kd(t)}var O0=f(()=>{"use strict";x0();E0();S0();M0();zm();Lm();Fm();$d();Bm();Pm();jm();Jd();A0()});function Te(t,n){return n?R0(t,n):Oe(t)}var as=f(()=>{"use strict";O0();kt()});function k(...t){let n=Gn(t);return Te(t,n)}var k0=f(()=>{"use strict";Kr();as()});function or(t,n){let e=W(t)?t:()=>t,i=r=>r.error(e());return new Z(n?r=>n.schedule(i,0,r):i)}var N0=f(()=>{"use strict";xt();ot()});function Mn(t){return!!t&&(t instanceof Z||W(t.lift)&&W(t.subscribe))}var F0=f(()=>{"use strict";xt();ot()});var hi,rl=f(()=>{"use strict";Md();hi=Xo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function L0(t){return t instanceof Date&&!isNaN(t)}var P0=f(()=>{"use strict"});function j(t,n){return te((e,i)=>{let r=0;e.subscribe(X(i,o=>{i.next(t.call(n,o,r++))}))})}var ol=f(()=>{"use strict";Ge();Ye()});function lL(t,n){return aL(n)?t(...n):t(n)}function ls(t){return j(n=>lL(t,n))}var aL,iu=f(()=>{"use strict";ol();({isArray:aL}=Array)});function ru(t){if(t.length===1){let n=t[0];if(cL(n))return{args:n,keys:null};if(hL(n)){let e=fL(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function hL(t){return t&&typeof t=="object"&&dL(t)===uL}var cL,dL,uL,fL,$m=f(()=>{"use strict";({isArray:cL}=Array),{getPrototypeOf:dL,prototype:uL,keys:fL}=Object});function ou(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}var Gm=f(()=>{"use strict"});function Qr(...t){let n=Gn(t),e=zd(t),{args:i,keys:r}=ru(t);if(i.length===0)return Te([],n);let o=new Z(pL(i,n,r?s=>ou(r,s):Ot));return e?o.pipe(ls(e)):o}function pL(t,n,e=Ot){return i=>{j0(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)j0(n,()=>{let c=Te(t[l],n),d=!1;c.subscribe(X(i,h=>{o[l]=h,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function j0(t,n,e){t?Ht(e,t,n):n()}var V0=f(()=>{"use strict";xt();$m();as();rr();iu();Kr();Gm();Ye();ss()});function B0(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,h=!1,m=()=>{h&&!l.length&&!c&&n.complete()},p=y=>c<i?g(y):l.push(y),g=y=>{o&&n.next(y),c++;let I=!1;Oe(e(y,d++)).subscribe(X(n,R=>{r?.(R),o?p(R):n.next(R)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&c<i;){let R=l.shift();s?Ht(n,s,()=>g(R)):g(R)}m()}catch(R){n.error(R)}}))};return t.subscribe(X(n,p,()=>{h=!0,m()})),()=>{a?.()}}var U0=f(()=>{"use strict";kt();ss();Ye()});function He(t,n,e=1/0){return W(n)?He((i,r)=>j((o,s)=>n(i,o,r,s))(Oe(t(i,r))),e):(typeof n=="number"&&(e=n),te((i,r)=>B0(i,r,t,e)))}var cs=f(()=>{"use strict";ol();kt();Ge();U0();ot()});function sr(t=1/0){return He(Ot,t)}var su=f(()=>{"use strict";cs();rr()});function H0(){return sr(1)}var z0=f(()=>{"use strict";su()});function Tn(...t){return H0()(Te(t,Gn(t)))}var Wm=f(()=>{"use strict";z0();Kr();as()});function on(t){return new Z(n=>{Oe(t()).subscribe(n)})}var $0=f(()=>{"use strict";xt();kt()});function Zr(...t){let n=zd(t),{args:e,keys:i}=ru(t),r=new Z(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let h=!1;Oe(e[d]).subscribe(X(o,m=>{h||(h=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!h)&&(c||o.next(i?ou(i,a):a),o.complete())}))}});return n?r.pipe(ls(n)):r}var G0=f(()=>{"use strict";xt();$m();kt();Kr();Ye();iu();Gm()});function ds(t,n,e,i){if(W(e)&&(i=e,e=void 0),i)return ds(t,n,e).pipe(ls(i));let[r,o]=_L(t)?gL.map(s=>a=>t[s](n,a,e)):vL(t)?mL.map(W0(t,n)):bL(t)?yL.map(W0(t,n)):[];if(!r&&os(t))return He(s=>ds(s,n,e))(Oe(t));if(!r)throw new TypeError("Invalid event target");return new Z(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function W0(t,n){return e=>i=>t[e](n,i)}function vL(t){return W(t.addListener)&&W(t.removeListener)}function bL(t){return W(t.on)&&W(t.off)}function _L(t){return W(t.addEventListener)&&W(t.removeEventListener)}var mL,gL,yL,q0=f(()=>{"use strict";kt();xt();cs();$d();ot();iu();mL=["addListener","removeListener"],gL=["addEventListener","removeEventListener"],yL=["on","off"]});function K0(t=0,n,e=p0){let i=-1;return n!=null&&(Hd(n)?e=n:i=n),new Z(r=>{let o=L0(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}var Y0=f(()=>{"use strict";xt();Ud();Om();P0()});function Et(...t){let n=Gn(t),e=m0(t,1/0),i=t;return i.length?i.length===1?Oe(i[0]):sr(e)(Te(i,n)):wt}var Q0=f(()=>{"use strict";su();kt();il();Kr();as()});function me(t,n){return te((e,i)=>{let r=0;e.subscribe(X(i,o=>t.call(n,o,r++)&&i.next(o)))})}var sl=f(()=>{"use strict";Ge();Ye()});var Z0=f(()=>{"use strict"});function X0(t){return te((n,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(X(e,c=>{i=!0,r=c,o||Oe(t(c)).subscribe(o=X(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var J0=f(()=>{"use strict";Ge();kt();Ye()});function au(t,n=nl){return X0(()=>K0(t,n))}var ew=f(()=>{"use strict";Ud();J0();Y0()});function zt(t){return te((n,e)=>{let i=null,r=!1,o;i=n.subscribe(X(e,void 0,void 0,s=>{o=Oe(t(s,zt(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var qm=f(()=>{"use strict";kt();Ye();Ge()});function tw(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(X(s,d=>{let h=c++;l=a?t(l,d,h):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var nw=f(()=>{"use strict";Ye()});function yn(t,n){return W(n)?He(t,n,1):He(t,1)}var iw=f(()=>{"use strict";cs();ot()});function pi(t,n=nl){return te((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(X(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var Km=f(()=>{"use strict";Ud();Ge();Ye()});function ar(t){return te((n,e)=>{let i=!1;n.subscribe(X(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}var lu=f(()=>{"use strict";Ge();Ye()});function Pe(t){return t<=0?()=>wt:te((n,e)=>{let i=0;n.subscribe(X(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}var Ym=f(()=>{"use strict";il();Ge();Ye()});function al(t,n=Ot){return t=t??CL,te((e,i)=>{let r,o=!0;e.subscribe(X(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function CL(t,n){return t===n}var rw=f(()=>{"use strict";rr();Ge();Ye()});function cu(t=xL){return te((n,e)=>{let i=!1;n.subscribe(X(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function xL(){return new hi}var Qm=f(()=>{"use strict";rl();Ge();Ye()});function $t(t){return te((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}var Zm=f(()=>{"use strict";Ge()});function mi(t,n){let e=arguments.length>=2;return i=>i.pipe(t?me((r,o)=>t(r,o,i)):Ot,Pe(1),e?ar(n):cu(()=>new hi))}var ow=f(()=>{"use strict";rl();sl();Ym();lu();Qm();rr()});function us(t){return t<=0?()=>wt:te((n,e)=>{let i=[];n.subscribe(X(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var Xm=f(()=>{"use strict";il();Ge();Ye()});function Jm(t,n){let e=arguments.length>=2;return i=>i.pipe(t?me((r,o)=>t(r,o,i)):Ot,us(1),e?ar(n):cu(()=>new hi))}var sw=f(()=>{"use strict";rl();sl();Xm();Qm();lu();rr()});function du(){return te((t,n)=>{let e,i=!1;t.subscribe(X(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}var aw=f(()=>{"use strict";Ge();Ye()});function eg(t,n){return te(tw(t,n,arguments.length>=2,!0))}var lw=f(()=>{"use strict";Ge();nw()});function ll(t={}){let{connector:n=()=>new T,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,h=!1,m=()=>{a?.unsubscribe(),a=void 0},p=()=>{m(),s=l=void 0,d=h=!1},g=()=>{let y=s;p(),y?.unsubscribe()};return te((y,I)=>{c++,!h&&!d&&m();let R=l=l??n();I.add(()=>{c--,c===0&&!h&&!d&&(a=tg(g,r))}),R.subscribe(I),!s&&c>0&&(s=new fi({next:ne=>R.next(ne),error:ne=>{h=!0,m(),a=tg(p,e,ne),R.error(ne)},complete:()=>{d=!0,m(),a=tg(p,i),R.complete()}}),Oe(y).subscribe(s))})(o)}}function tg(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new fi({next:()=>{i.unsubscribe(),t()}});return Oe(n(...e)).subscribe(i)}var ng=f(()=>{"use strict";kt();Ja();Fd();Ge()});function Xr(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,ll({connector:()=>new qr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var cw=f(()=>{"use strict";Rm();ng()});function cl(t){return me((n,e)=>t<=e)}var dw=f(()=>{"use strict";sl()});function Nt(...t){let n=Gn(t);return te((e,i)=>{(n?Tn(t,e,n):Tn(t,e)).subscribe(i)})}var uw=f(()=>{"use strict";Wm();Kr();Ge()});function We(t,n){return te((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(X(i,l=>{r?.unsubscribe();let c=0,d=o++;Oe(t(l,d)).subscribe(r=X(i,h=>i.next(n?n(l,h,d,c++):h),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var fw=f(()=>{"use strict";kt();Ge();Ye()});function ve(t){return te((n,e)=>{Oe(t).subscribe(X(e,()=>e.complete(),Xa)),!e.closed&&n.subscribe(e)})}var ig=f(()=>{"use strict";Ge();Ye();kt();bm()});function rg(t,n=!1){return te((e,i)=>{let r=0;e.subscribe(X(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}var hw=f(()=>{"use strict";Ge();Ye()});function Ne(t,n,e){let i=W(t)||n||e?{next:t,error:n,complete:e}:t;return i?te((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(X(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Ot}var og=f(()=>{"use strict";ot();Ge();Ye();rr()});var Se=f(()=>{"use strict";xt();o0();Ja();l0();Rm();$r();Sm();F0();rl();V0();Wm();$0();G0();as();q0();Q0();k0();N0();il();Z0();qm();Km();Zm();ol();cs();ig();og()});var Qe=f(()=>{"use strict";ew();qm();iw();Km();lu();rw();sl();Zm();ow();sw();ol();su();cs();aw();Tm();lw();ng();cw();dw();uw();fw();Ym();Xm();ig();hw();og()});function wL(t){return`NG0${Math.abs(t)}`}function Ty(t,n){return`${wL(t)}${n?": "+n:""}`}function aE(t,n){let e=Object.create(EL);e.value=t,e.transformFn=n?.transform;function i(){if(Wa(e),e.value===sE){let r=null;throw new w(-950,r)}return e.value}return i[Ut]=e,i}function Cl(t){return{toString:t}.toString()}function DL(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function lE(t,n,e){return Cl(()=>{let i=DL(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let h=l.hasOwnProperty(uu)?l[uu]:Object.defineProperty(l,uu,{value:[]})[uu];for(;h.length<=d;)h.push(null);return(h[d]=h[d]||[]).push(s),l}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function je(t){for(let n in t)if(t[n]===je)return n;throw Error("Could not find renamed property on target object.")}function SL(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Wt(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Wt).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
- `);return i>=0?e.slice(0,i):e}function _g(t,n){return t?n?`${t} ${n}`:t:n||""}function wi(t){return t.__forward_ref__=wi,t.toString=function(){return Wt(this())},t}function vt(t){return cE(t)?t():t}function cE(t){return typeof t=="function"&&t.hasOwnProperty(IL)&&t.__forward_ref__===wi}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ku(t){return pw(t,uE)||pw(t,fE)}function dE(t){return Ku(t)!==null}function pw(t,n){return t.hasOwnProperty(n)?t[n]:null}function ML(t){let n=t&&(t[uE]||t[fE]);return n||null}function mw(t){return t&&(t.hasOwnProperty(gw)||t.hasOwnProperty(TL))?t[gw]:null}function hE(t){return t&&!!t.\u0275providers}function to(t){return typeof t=="string"?t:t==null?"":String(t)}function NL(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():to(t)}function pE(t,n){throw new w(-200,t)}function Ay(t,n){throw new w(-201,!1)}function mE(){return Cg}function Gt(t){let n=Cg;return Cg=t,n}function gE(t,n,e){let i=Ku(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&ce.Optional)return null;if(n!==void 0)return n;Ay(t,"Injector")}function VL(t,n=ce.Default){if(Qa()===void 0)throw new w(-203,!1);if(Qa()===null)return gE(t,void 0,n);{let e=Qa(),i;return e instanceof wu?i=e.injector:i=e,i.get(t,n&ce.Optional?null:void 0,n)}}function D(t,n=ce.Default){return(mE()||VL)(vt(t),n)}function u(t,n=ce.Default){return D(t,Yu(n))}function Yu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function wg(t){let n=[];for(let e=0;e<t.length;e++){let i=vt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new w(900,!1);let r,o=ce.Default;for(let s=0;s<i.length;s++){let a=i[s],l=BL(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(D(r,o))}else n.push(D(i))}return n}function yE(t,n){return t[xg]=n,t.prototype[xg]=n,t}function BL(t){return t[xg]}function UL(t,n,e,i){let r=t[Eu];throw n[vw]&&r.unshift(n[vw]),t.message=HL(`
5
- `+t.message,r,e,i),t[LL]=r,t[Eu]=null,t}function HL(t,n,e,i=null){t=t&&t.charAt(0)===`
6
- `&&t.charAt(1)==jL?t.slice(2):t;let r=Wt(n);if(Array.isArray(n))r=n.map(Wt).join(" -> ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Wt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(PL,`
7
- `)}`}function no(t,n){let e=t.hasOwnProperty(xu);return e?t[xu]:null}function zL(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function $L(t){return t.flat(Number.POSITIVE_INFINITY)}function Ry(t,n){t.forEach(e=>Array.isArray(e)?Ry(e,n):n(e))}function bE(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Du(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function GL(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function WL(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function Zu(t,n,e){let i=xl(t,n);return i>=0?t[i|1]=e:(i=~i,WL(t,i,n,e)),i}function sg(t,n){let e=xl(t,n);if(e>=0)return t[e|1]}function xl(t,n){return qL(t,n,1)}function qL(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}function xE(t,n){let e=t[kL]||null;if(!e&&n===!0)throw new Error(`Type ${Wt(t)} does not have '\u0275mod' property.`);return e}function dr(t){return t[AL]||null}function wE(t){return t[RL]||null}function KL(t){return t[OL]||null}function wl(t){return{\u0275providers:t}}function Oy(...t){return{\u0275providers:EE(!0,t),\u0275fromNgModule:!0}}function EE(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Ry(n,s=>{let a=s;Eg(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&DE(r,o),e}function DE(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];ky(r,o=>{n(o,i)})}}function Eg(t,n,e,i){if(t=vt(t),!t)return!1;let r=null,o=mw(t),s=!o&&dr(t);if(!o&&!s){let l=t.ngModule;if(o=mw(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Eg(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Ry(o.imports,d=>{Eg(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&DE(c,n)}if(!a){let c=no(r)||(()=>new r);n({provide:r,useFactory:c,deps:Ft},r),n({provide:CE,useValue:r,multi:!0},r),n({provide:bs,useValue:()=>D(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;ky(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function ky(t,n){for(let e of t)hE(e)&&(e=e.\u0275providers),Array.isArray(e)?ky(e,n):n(e)}function SE(t){return t!==null&&typeof t=="object"&&YL in t}function QL(t){return!!(t&&t.useExisting)}function ZL(t){return!!(t&&t.useFactory)}function _s(t){return typeof t=="function"}function XL(t){return!!t.useClass}function Ju(){return ag===void 0&&(ag=new Su),ag}function Dg(t){let n=Ku(t),e=n!==null?n.factory:no(t);if(e!==null)return e;if(t instanceof C)throw new w(204,!1);if(t instanceof Function)return JL(t);throw new w(204,!1)}function JL(t){if(t.length>0)throw new w(204,!1);let e=ML(t);return e!==null?()=>e.factory(t):()=>new t}function eP(t){if(SE(t))return fs(void 0,t.useValue);{let n=IE(t);return fs(n,gu)}}function IE(t,n,e){let i;if(_s(t)){let r=vt(t);return no(r)||Dg(r)}else if(SE(t))i=()=>vt(t.useValue);else if(ZL(t))i=()=>t.useFactory(...wg(t.deps||[]));else if(QL(t))i=(r,o)=>D(vt(t.useExisting),o!==void 0&&o&ce.Optional?ce.Optional:void 0);else{let r=vt(t&&(t.useClass||t.provide));if(tP(t))i=()=>new r(...wg(t.deps));else return no(r)||Dg(r)}return i}function ul(t){if(t.destroyed)throw new w(205,!1)}function fs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function tP(t){return!!t.deps}function nP(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function iP(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function Sg(t,n){for(let e of t)Array.isArray(e)?Sg(e,n):e&&hE(e)?Sg(e.\u0275providers,n):n(e)}function Kt(t,n){let e;t instanceof pl?(ul(t),e=t):e=new wu(t);let i,r=ui(e),o=Gt(void 0);try{return n()}finally{ui(r),Gt(o)}}function ME(){return mE()!==void 0||Qa()!=null}function Ny(t){if(!ME())throw new w(-203,!1)}function rP(t){return typeof t=="function"}function cr(t){return Array.isArray(t)&&typeof t[AE]=="object"}function Di(t){return Array.isArray(t)&&t[AE]===!0}function Fy(t){return(t.flags&4)!==0}function Rs(t){return t.componentOffset>-1}function tf(t){return(t.flags&1)===1}function Kn(t){return!!t.template}function Tu(t){return(t[J]&512)!==0}function Os(t){return(t[J]&256)===256}function RE(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function OE(t){return t.type.prototype.ngOnChanges&&(t.setInput=sP),oP}function oP(){let t=NE(this),n=t?.current;if(n){let e=t.previous;if(e===qn)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function sP(t,n,e,i,r){let o=this.declaredInputs[i],s=NE(t)||aP(t,{previous:qn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ig(c&&c.currentValue,e,l===qn),RE(t,n,r,e)}function NE(t){return t[kE]||null}function aP(t,n){return t[kE]=n}function Yn(t){for(;Array.isArray(t);)t=t[Ei];return t}function LE(t,n){return Yn(n[t])}function Xn(t,n){return Yn(n[t.index])}function Ly(t,n){return t.data[n]}function Py(t,n){return t[n]}function PE(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Qn(t,n){let e=n[t];return cr(e)?e:e[Ei]}function cP(t){return(t[J]&4)===4}function jy(t){return(t[J]&128)===128}function dP(t){return Di(t[St])}function ur(t,n){return n==null?null:t[n]}function jE(t){t[hs]=0}function Vy(t){t[J]&1024||(t[J]|=1024,jy(t)&&ks(t))}function uP(t,n){for(;t>0;)n=n[As],t--;return n}function El(t){return!!(t[J]&9216||t[vn]?.dirty)}function Mg(t){t[gi].changeDetectionScheduler?.notify(8),t[J]&64&&(t[J]|=1024),El(t)&&ks(t)}function ks(t){t[gi].changeDetectionScheduler?.notify(0);let n=so(t);for(;n!==null&&!(n[J]&8192||(n[J]|=8192,!jy(n)));)n=so(n)}function VE(t,n){if(Os(t))throw new w(911,!1);t[lr]===null&&(t[lr]=[]),t[lr].push(n)}function fP(t,n){if(t[lr]===null)return;let e=t[lr].indexOf(n);e!==-1&&t[lr].splice(e,1)}function so(t){let n=t[St];return Di(n)?n[St]:n}function By(t){return t[Iu]??=[]}function Uy(t){return t.cleanup??=[]}function hP(t,n,e,i){let r=By(n);r.push(e),t.firstCreatePass&&Uy(t).push(i,r.length-1)}function pP(){return ae.lFrame.elementDepthCount}function mP(){ae.lFrame.elementDepthCount++}function gP(){ae.lFrame.elementDepthCount--}function Hy(){return ae.bindingsEnabled}function BE(){return ae.skipHydrationRootTNode!==null}function yP(t){return ae.skipHydrationRootTNode===t}function vP(){ae.skipHydrationRootTNode=null}function Y(){return ae.lFrame.lView}function qe(){return ae.lFrame.tView}function Ce(t){return ae.lFrame.contextLView=t,t[ct]}function xe(t){return ae.lFrame.contextLView=null,t}function It(){let t=UE();for(;t!==null&&t.type===64;)t=t.parent;return t}function UE(){return ae.lFrame.currentTNode}function bP(){let t=ae.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function fr(t,n){let e=ae.lFrame;e.currentTNode=t,e.isParent=n}function zy(){return ae.lFrame.isParent}function $y(){ae.lFrame.isParent=!1}function _P(){return ae.lFrame.contextLView}function HE(){return Tg}function Au(t){let n=Tg;return Tg=t,n}function Ns(){let t=ae.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function CP(){return ae.lFrame.bindingIndex}function xP(t){return ae.lFrame.bindingIndex=t}function fo(){return ae.lFrame.bindingIndex++}function Gy(t){let n=ae.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function wP(){return ae.lFrame.inI18n}function EP(t,n){let e=ae.lFrame;e.bindingIndex=e.bindingRootIndex=t,Ag(n)}function DP(){return ae.lFrame.currentDirectiveIndex}function Ag(t){ae.lFrame.currentDirectiveIndex=t}function SP(t){let n=ae.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Wy(){return ae.lFrame.currentQueryIndex}function nf(t){ae.lFrame.currentQueryIndex=t}function IP(t){let n=t[oe];return n.type===2?n.declTNode:n.type===1?t[Yt]:null}function zE(t,n,e){if(e&ce.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&ce.Host);)if(r=IP(o),r===null||(o=o[As],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=ae.lFrame=$E();return i.currentTNode=n,i.lView=t,!0}function qy(t){let n=$E(),e=t[oe];ae.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function $E(){let t=ae.lFrame,n=t===null?null:t.child;return n===null?GE(t):n}function GE(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function WE(){let t=ae.lFrame;return ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Ky(){let t=WE();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function MP(t){return(ae.lFrame.contextLView=uP(t,ae.lFrame.contextLView))[ct]}function Si(){return ae.lFrame.selectedIndex}function ao(t){ae.lFrame.selectedIndex=t}function rf(){let t=ae.lFrame;return Ly(t.tView,t.selectedIndex)}function Dl(){ae.lFrame.currentNamespace=FE}function KE(){TP()}function TP(){ae.lFrame.currentNamespace=null}function AP(){return ae.lFrame.currentNamespace}function of(){return YE}function sf(t){YE=t}function RP(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=OE(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Yy(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function yu(t,n,e){QE(t,n,3,e)}function vu(t,n,e,i){(t[J]&3)===e&&QE(t,n,e,i)}function cg(t,n){let e=t[J];(e&3)===n&&(e&=16383,e+=1,t[J]=e)}function QE(t,n,e,i){let r=i!==void 0?t[hs]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[hs]+=65536),(a<o||o==-1)&&(OP(t,e,n,l),t[hs]=(t[hs]&4294901760)+l+2),l++}function xw(t,n){Fe(4,t,n);let e=fe(null);try{n.call(t)}finally{fe(e),Fe(5,t,n)}}function OP(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[J]>>14<t[hs]>>16&&(t[J]&3)===n&&(t[J]+=16384,xw(a,o)):xw(a,o)}function kP(t){return(t.flags&8)!==0}function NP(t){return(t.flags&16)!==0}function FP(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];LP(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function ZE(t){return t===3||t===4||t===6}function LP(t){return t.charCodeAt(0)===64}function Es(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?ww(t,e,r,null,n[++i]):ww(t,e,r,null,null))}}return t}function ww(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function XE(t){return t!==ys}function Ru(t){return t&32767}function PP(t){return t>>16}function Ou(t,n){let e=PP(t),i=n;for(;e>0;)i=i[As],e--;return i}function ku(t){let n=Rg;return Rg=t,n}function BP(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(hl)&&(i=e[hl]),i==null&&(i=e[hl]=VP++);let r=i&JE,o=1<<r;n.data[t+(r>>eD)]|=o}function Nu(t,n){let e=tD(t,n);if(e!==-1)return e;let i=n[oe];i.firstCreatePass&&(t.injectorIndex=n.length,dg(i.data,t),dg(n,null),dg(i.blueprint,null));let r=Qy(t,n),o=t.injectorIndex;if(XE(r)){let s=Ru(r),a=Ou(r,n),l=a[oe].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function dg(t,n){t.push(0,0,0,0,0,0,0,0,n)}function tD(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Qy(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=sD(r),i===null)return ys;if(e++,r=r[As],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ys}function Og(t,n,e){BP(t,n,e)}function UP(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(ZE(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function nD(t,n,e){if(e&ce.Optional||t!==void 0)return t;Ay(n,"NodeInjector")}function iD(t,n,e,i){if(e&ce.Optional&&i===void 0&&(i=null),(e&(ce.Self|ce.Host))===0){let r=t[xs],o=Gt(void 0);try{return r?r.get(n,i,e&ce.Optional):gE(n,i,e&ce.Optional)}finally{Gt(o)}}return nD(i,n,e)}function rD(t,n,e,i=ce.Default,r){if(t!==null){if(n[J]&2048&&!(i&ce.Self)){let s=GP(t,n,e,i,Wn);if(s!==Wn)return s}let o=oD(t,n,e,i,Wn);if(o!==Wn)return o}return iD(n,e,i,r)}function oD(t,n,e,i,r){let o=zP(e);if(typeof o=="function"){if(!zE(n,t,i))return i&ce.Host?nD(r,e,i):iD(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&ce.Optional))Ay(e);else return s}finally{qE()}}else if(typeof o=="number"){let s=null,a=tD(t,n),l=ys,c=i&ce.Host?n[sn][Yt]:null;for((a===-1||i&ce.SkipSelf)&&(l=a===-1?Qy(t,n):n[a+8],l===ys||!Dw(i,!1)?a=-1:(s=n[oe],a=Ru(l),n=Ou(l,n)));a!==-1;){let d=n[oe];if(Ew(o,a,d.data)){let h=HP(a,n,e,s,i,c);if(h!==Wn)return h}l=n[a+8],l!==ys&&Dw(i,n[oe].data[a+8]===c)&&Ew(o,a,n)?(s=d,a=Ru(l),n=Ou(l,n)):a=-1}}return r}function HP(t,n,e,i,r,o){let s=n[oe],a=s.data[t+8],l=i==null?Rs(a)&&Rg:i!=s&&(a.type&3)!==0,c=r&ce.Host&&o===a,d=bu(a,s,e,l,c);return d!==null?gl(n,s,d,a,r):Wn}function bu(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,h=i?a:a+d,m=r?a+d:c;for(let p=h;p<m;p++){let g=s[p];if(p<l&&e===g||p>=l&&g.type===e)return p}if(r){let p=s[l];if(p&&Kn(p)&&p.type===e)return l}return null}function gl(t,n,e,i,r){let o=t[e],s=n.data;if(o instanceof lo){let a=o;a.resolving&&pE(NL(s[e]));let l=ku(a.canSeeViewProviders);a.resolving=!0;let c,d=a.injectImpl?Gt(a.injectImpl):null,h=zE(t,i,ce.Default);try{o=t[e]=a.factory(void 0,r,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&RP(e,s[e],n)}finally{d!==null&&Gt(d),ku(l),a.resolving=!1,qE()}}return o}function zP(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(hl)?t[hl]:void 0;return typeof n=="number"?n>=0?n&JE:$P:n}function Ew(t,n,e){let i=1<<t;return!!(e[n+(t>>eD)]&i)}function Dw(t,n){return!(t&ce.Self)&&!(t&ce.Host&&n)}function $P(){return new eo(It(),Y())}function Ae(t){return Cl(()=>{let n=t.prototype.constructor,e=n[xu]||kg(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[xu]||kg(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function kg(t){return cE(t)?()=>{let n=kg(vt(t));return n&&n()}:no(t)}function GP(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[J]&2048&&!Tu(s);){let a=oD(o,s,e,i|ce.Self,Wn);if(a!==Wn)return a;let l=o.parent;if(!l){let c=s[TE];if(c){let d=c.get(e,Wn,i);if(d!==Wn)return d}l=sD(s),s=s[As]}o=l}return r}function sD(t){let n=t[oe],e=n.type;return e===2?n.declTNode:e===1?t[Yt]:null}function af(t){return UP(It(),t)}function Sw(t,n=null,e=null,i){let r=aD(t,n,e,i);return r.resolveInjectorInitializers(),r}function aD(t,n=null,e=null,i,r=new Set){let o=[e||Ft,Oy(t)];return i=i||(typeof t=="object"?void 0:Wt(t)),new pl(o,n||Ju(),i||null,r)}function qP(){return new Fu(Y())}function yl(...t){}function uD(t){let n,e;function i(){t=yl;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Iw(t){return queueMicrotask(()=>t()),()=>{t=yl}}function Jy(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function QP(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){uD(()=>{t.callbackScheduled=!1,Fg(t),t.isCheckStableRunning=!0,Jy(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Fg(t)}function ZP(t){let n=()=>{QP(t)},e=KP++;t._inner=t._inner.fork({name:"angular",properties:{[Xy]:!0,[Lu]:e,[Lu+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(XP(l))return i.invokeTask(o,s,a,l);try{return Mw(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Tw(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return Mw(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!JP(l)&&n(),Tw(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Fg(t),Jy(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Fg(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Mw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tw(t){t._nesting--,Jy(t)}function XP(t){return fD(t,"__ignore_ng_zone__")}function JP(t){return fD(t,"__scheduler_tick__")}function fD(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function Aw(t,n){return aE(t,n)}function t1(t){return aE(sE,t)}function n1(){return Fs(It(),Y())}function Fs(t,n){return new B(Xn(t,n))}function pD(t){return t instanceof B?t.nativeElement:t}function Ls(t){return typeof t=="function"&&t[Ut]!==void 0}function cn(t,n){let e=dm(t,n?.equal),i=e[Ut];return e.set=r=>Ya(i,r),e.update=r=>um(i,r),e.asReadonly=i1.bind(e),e}function i1(){let t=this[Ut];if(t.readonlyFn===void 0){let n=()=>this();n[Ut]=t,t.readonlyFn=n}return t.readonlyFn}function mD(t){return Ls(t)&&typeof t.set=="function"}function r1(){return this._results[Symbol.iterator]()}function gD(t){return(t.flags&128)===128}function s1(){return o1++}function a1(t){vD.set(t[ef],t)}function Pg(t){vD.delete(t[ef])}function Ps(t,n){cr(n)?(t[Rw]=n[ef],a1(n)):t[Rw]=n}function bD(t){return CD(t[ml])}function _D(t){return CD(t[On])}function CD(t){for(;t!==null&&!Di(t);)t=t[On];return t}function xD(t){jg=t}function wD(){if(jg!==void 0)return jg;if(typeof document<"u")return document;throw new w(210,!1)}function Jn(t){Ow.has(t)||(Ow.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function f1(){return new nv(Y(),It())}function Sl(t,n){!n?.injector&&Ny(Sl);let e=n?.injector??u(he);return Jn("NgAfterRender"),SD(t,e,n,!1)}function dn(t,n){!n?.injector&&Ny(dn);let e=n?.injector??u(he);return Jn("NgAfterNextRender"),SD(t,e,n,!0)}function m1(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function SD(t,n,e,i){let r=n.get(DD);r.impl??=n.get(p1);let o=n.get(js,null,{optional:!0}),s=e?.phase??ps.MixedReadWrite,a=e?.manualCleanup!==!0?n.get(ho):null,l=n.get(nv,null,{optional:!0}),c=new Vg(r.impl,m1(t,s),l?.view,i,a,o?.snapshot(null));return r.impl.register(c),c}function y1(t,n,e,i){g1(t,n,e,i)}function ID(t,n,e=!1){return v1(t,n,e)}function MD(t,n){let e=t.contentQueries;if(e!==null){let i=fe(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];nf(o),a.contentQueries(2,n[s],s)}}}finally{fe(i)}}}function Bg(t,n,e){nf(0);let i=fe(null);try{n(t,e)}finally{fe(i)}}function iv(t,n,e){if(Fy(n)){let i=fe(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{fe(i)}}}function b1(){if(fu===void 0&&(fu=null,vs.trustedTypes))try{fu=vs.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fu}function lf(t){return b1()?.createHTML(t)||t}function TD(){if(hu===void 0&&(hu=null,vs.trustedTypes))try{hu=vs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hu}function kw(t){return TD()?.createHTML(t)||t}function Nw(t){return TD()?.createScriptURL(t)||t}function bn(t){return t instanceof bi?t.changingThisBreaksApplicationSecurity:t}function Ii(t,n){let e=_1(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${oE})`)}return e===n}function _1(t){return t instanceof bi&&t.getTypeName()||null}function AD(t){return new Ug(t)}function RD(t){return new Hg(t)}function OD(t){return new zg(t)}function kD(t){return new $g(t)}function ND(t){return new Gg(t)}function C1(t){let n=new qg(t);return x1()?new Wg(n):n}function x1(){try{return!!new window.DOMParser().parseFromString(lf(""),"text/html")}catch{return!1}}function cf(t){return t=String(t),t.match(w1)?t:"unsafe:"+t}function Mi(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Il(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}function R1(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function O1(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw VD(n);return n}function k1(t){let n=t.firstChild;if(n&&R1(t,n))throw VD(n);return n}function Lw(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function VD(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function Pw(t){return t.replace(/&/g,"&amp;").replace(N1,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(F1,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function rv(t,n){let e=null;try{pu=pu||C1(t);let i=n?String(n):"";e=pu.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=pu.getInertBodyElement(i)}while(i!==o);let a=new Kg().sanitizeChildren(jw(e)||e);return lf(a)}finally{if(e){let i=jw(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function jw(t){return"content"in t&&L1(t)?t.content:null}function L1(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function Ti(t){let n=sv();return n?kw(n.sanitize(bt.HTML,t)||""):Ii(t,"HTML")?kw(bn(t)):rv(wD(),to(t))}function ov(t){let n=sv();return n?n.sanitize(bt.URL,t)||"":Ii(t,"URL")?bn(t):cf(to(t))}function P1(t){let n=sv();if(n)return Nw(n.sanitize(bt.RESOURCE_URL,t)||"");if(Ii(t,"ResourceURL"))return Nw(bn(t));throw new w(904,!1)}function j1(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?P1:ov}function BD(t,n,e){return j1(n,e)(t)}function sv(){let t=Y();return t&&t[gi].sanitizer}function H1(t){return t.replace(V1,n=>n.replace(B1,U1))}function UD(t){return t instanceof Function?t():t}function z1(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function $1(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&z1(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(av(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function av(t){return t.type===4&&t.value!==HD}function G1(t,n,e){let i=t.type===4&&!e?HD:t.value;return n===i}function W1(t,n,e){let i=4,r=t.attrs,o=r!==null?Y1(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!An(i)&&!An(l))return!1;if(s&&An(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!G1(t,l,e)||l===""&&n.length===1){if(An(i))return!1;s=!0}}else if(i&8){if(r===null||!$1(t,r,l,e)){if(An(i))return!1;s=!0}}else{let c=n[++a],d=q1(l,r,av(t),e);if(d===-1){if(An(i))return!1;s=!0;continue}if(c!==""){let h;if(d>o?h="":h=r[d+1].toLowerCase(),i&2&&c!==h){if(An(i))return!1;s=!0}}}}return An(i)||s}function An(t){return(t&1)===0}function q1(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Q1(n,t)}function zD(t,n,e=!1){for(let i=0;i<n.length;i++)if(W1(t,n[i],e))return!0;return!1}function K1(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function Y1(t){for(let n=0;n<t.length;n++){let e=t[n];if(ZE(e))return n}return t.length}function Q1(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function Z1(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function Vw(t,n){return t?":not("+n.trim()+")":n}function X1(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!An(s)&&(n+=Vw(o,r),r=""),i=s,o=o||!An(i);e++}return r!==""&&(n+=Vw(o,r)),n}function J1(t){return t.map(X1).join(",")}function ej(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!An(r))break;r=o}i++}return e.length&&n.push(1,...e),n}function tj(t,n){return t.createText(n)}function nj(t,n,e){t.setValue(n,e)}function ij(t,n){return t.createComment(H1(n))}function $D(t,n,e){return t.createElement(n,e)}function Pu(t,n,e,i,r){t.insertBefore(n,e,i,r)}function GD(t,n,e){t.appendChild(n,e)}function Bw(t,n,e,i,r){i!==null?Pu(t,n,e,i,r):GD(t,n,e)}function rj(t,n,e){t.removeChild(null,n,e)}function oj(t,n,e){t.setAttribute(n,"style",e)}function sj(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function WD(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&FP(t,n,i),r!==null&&sj(t,n,r),o!==null&&oj(t,n,o)}function lv(t,n,e,i,r,o,s,a,l,c,d){let h=st+i,m=h+r,p=aj(h,m),g=typeof c=="function"?c():c;return p[oe]={type:t,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:d}}function aj(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:un);return e}function lj(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=lv(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function cv(t,n,e,i,r,o,s,a,l,c,d){let h=n.blueprint.slice();return h[Ei]=r,h[J]=i|4|128|8|64|1024,(c!==null||t&&t[J]&2048)&&(h[J]|=2048),jE(h),h[St]=h[As]=t,h[ct]=e,h[gi]=s||t&&t[gi],h[Ze]=a||t&&t[Ze],h[xs]=l||t&&t[xs]||null,h[Yt]=o,h[ef]=s1(),h[Cs]=d,h[TE]=c,h[sn]=n.type==2?t[sn]:h,h}function cj(t,n,e){let i=Xn(n,t),r=lj(e),o=t[gi].rendererFactory,s=dv(t,cv(t,r,null,qD(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=s}function qD(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function KD(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function dv(t,n){return t[ml]?t[_w][On]=n:t[ml]=n,t[_w]=n,n}function x(t=1){YD(qe(),Y(),Si()+t,!1)}function YD(t,n,e,i){if(!i)if((n[J]&3)===3){let o=t.preOrderCheckHooks;o!==null&&yu(n,o,e)}else{let o=t.preOrderHooks;o!==null&&vu(n,o,0,e)}ao(e)}function Yg(t,n,e,i){let r=fe(null);try{let[o,s,a]=t.inputs[e],l=null;(s&df.SignalBased)!==0&&(l=n[o][Ut]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,o):RE(n,l,o,i)}finally{fe(r)}}function QD(t,n,e,i,r){let o=Si(),s=i&2;try{ao(-1),s&&n.length>st&&YD(t,n,st,!1),Fe(s?2:0,r),e(i,r)}finally{ao(o),Fe(s?3:1,r)}}function uf(t,n,e){mj(t,n,e),(e.flags&64)===64&&gj(t,n,e)}function uv(t,n,e=Xn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function dj(t,n,e,i){let o=i.get(u1,ED)||e===Zn.ShadowDom,s=t.selectRootElement(n,o);return uj(s),s}function uj(t){fj(t)}function hj(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function fv(t,n,e,i,r,o,s,a){if(!a&&pv(n,t,e,i,r)){Rs(n)&&pj(e,n.index);return}if(n.type&3){let l=Xn(n,e);i=hj(i),r=s!=null?s(r,n.value||"",i):r,o.setProperty(l,i,r)}else n.type&12}function pj(t,n){let e=Qn(n,t);e[J]&16||(e[J]|=64)}function mj(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Rs(e)&&cj(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||Nu(e,n);let o=e.initialInputs;for(let s=i;s<r;s++){let a=t.data[s],l=gl(n,t,s,e);if(Ps(l,n),o!==null&&_j(n,s-i,l,a,e,o),Kn(a)){let c=Qn(e.index,n);c[ct]=gl(n,t,s,e)}}}function gj(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=DP();try{ao(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Ag(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&yj(l,c)}}finally{ao(-1),Ag(s)}}function yj(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function hv(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];zD(n,o.selectors,!1)&&(i??=[],Kn(o)?i.unshift(o):i.push(o))}return i}function vj(t,n,e,i,r,o){let s=Xn(t,n);bj(n[Ze],s,o,t.value,e,i,r)}function bj(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?to(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function _j(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Yg(i,e,l,c)}}function Cj(t,n){let e=t[xs],i=e?e.get(Lt,null):null;i&&i.handleError(n)}function pv(t,n,e,i,r){let o=t.inputs?.[i],s=t.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],h=n.data[c];Yg(h,e[c],d,r),a=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];Yg(d,c,i,r),a=!0}return a}function xj(t,n){let e=Qn(n,t),i=e[oe];wj(i,e);let r=e[Ei];r!==null&&e[Cs]===null&&(e[Cs]=ID(r,e[xs])),Fe(18),mv(i,e,e[ct]),Fe(19,e[ct])}function wj(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function mv(t,n,e){qy(n);try{let i=t.viewQuery;i!==null&&Bg(1,i,e);let r=t.template;r!==null&&QD(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[yi]?.finishViewCreation(t),t.staticContentQueries&&MD(t,n),t.staticViewQueries&&Bg(2,t.viewQuery,e);let o=t.components;o!==null&&Ej(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[J]&=-5,Ky()}}function Ej(t,n){for(let e=0;e<n.length;e++)xj(t,n[e])}function Ml(t,n,e,i){let r=fe(null);try{let o=n.tView,a=t[J]&4096?4096:16,l=cv(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[io]=c;let d=t[yi];return d!==null&&(l[yi]=d.createEmbeddedView(o)),mv(o,l,e),l}finally{fe(r)}}function Is(t,n){return!n||n.firstChild===null||gD(t)}function gv(t,n){return Dj(t,n)}function yv(t){return(t.flags&32)===32}function ms(t,n,e,i,r){if(i!=null){let o,s=!1;Di(i)?o=i:cr(i)&&(s=!0,i=i[Ei]);let a=Yn(i);t===0&&e!==null?r==null?GD(n,e,a):Pu(n,e,a,r||null,!0):t===1&&e!==null?Pu(n,e,a,r||null,!0):t===2?rj(n,a,s):t===3&&n.destroyNode(a),o!=null&&Fj(n,t,o,e,r)}}function Sj(t,n){ZD(t,n),n[Ei]=null,n[Yt]=null}function Ij(t,n,e,i,r,o){i[Ei]=r,i[Yt]=n,pf(t,i,e,1,r,o)}function ZD(t,n){n[gi].changeDetectionScheduler?.notify(9),pf(t,n,n[Ze],2,null,null)}function Mj(t){let n=t[ml];if(!n)return ug(t[oe],t);for(;n;){let e=null;if(cr(n))e=n[ml];else{let i=n[Dt];i&&(e=i)}if(!e){for(;n&&!n[On]&&n!==t;)cr(n)&&ug(n[oe],n),n=n[St];n===null&&(n=t),cr(n)&&ug(n[oe],n),e=n&&n[On]}n=e}}function vv(t,n){let e=t[ws],i=e.indexOf(n);e.splice(i,1)}function ff(t,n){if(Os(n))return;let e=n[Ze];e.destroyNode&&pf(t,n,e,3,null,null),Mj(n)}function ug(t,n){if(Os(n))return;let e=fe(null);try{n[J]&=-129,n[J]|=256,n[vn]&&Ka(n[vn]),Aj(t,n),Tj(t,n),n[oe].type===1&&n[Ze].destroy();let i=n[io];if(i!==null&&Di(n[St])){i!==n[St]&&vv(i,n);let r=n[yi];r!==null&&r.detachView(t)}Pg(n)}finally{fe(e)}}function Tj(t,n){let e=t.cleanup,i=n[Iu];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(n[Iu]=null);let r=n[lr];if(r!==null){n[lr]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=n[ro];if(o!==null){n[ro]=null;for(let s of o)s.destroy()}}function Aj(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof lo)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];Fe(4,a,l);try{l.call(a)}finally{Fe(5,a,l)}}else{Fe(4,r,o);try{o.call(r)}finally{Fe(5,r,o)}}}}}function XD(t,n,e){return Rj(t,n.parent,e)}function Rj(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[Ei];if(Rs(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===Zn.None||r===Zn.Emulated)return null}return Xn(i,e)}function JD(t,n,e){return kj(t,n,e)}function Oj(t,n,e){return t.type&40?Xn(t,e):null}function hf(t,n,e,i){let r=XD(t,i,n),o=n[Ze],s=i.parent||n[Yt],a=JD(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Bw(o,r,e[l],a,!1);else Bw(o,r,e,a,!1);Uw!==void 0&&Uw(o,i,n,e,r)}function fl(t,n){if(n!==null){let e=n.type;if(e&3)return Xn(n,t);if(e&4)return Qg(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return fl(t,i);{let r=t[n.index];return Di(r)?Qg(-1,r):Yn(r)}}else{if(e&128)return fl(t,n.next);if(e&32)return gv(n,t)()||Yn(t[n.index]);{let i=eS(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=so(t[sn]);return fl(r,i)}else return fl(t,n.next)}}}return null}function eS(t,n){if(n!==null){let i=t[sn][Yt],r=n.projection;return i.projection[r]}return null}function Qg(t,n){let e=Dt+t+1;if(e<n.length){let i=n[e],r=i[oe].firstChild;if(r!==null)return fl(i,r)}return n[oo]}function bv(t,n,e,i,r,o,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&Ps(Yn(a),i),e.flags|=2),!yv(e))if(l&8)bv(t,n,e.child,i,r,o,!1),ms(n,t,r,a,o);else if(l&32){let c=gv(e,i),d;for(;d=c();)ms(n,t,r,d,o);ms(n,t,r,a,o)}else l&16?tS(t,n,i,e,r,o):ms(n,t,r,a,o);e=s?e.projectionNext:e.next}}function pf(t,n,e,i,r,o){bv(e,i,t.firstChild,n,r,o,!1)}function Nj(t,n,e){let i=n[Ze],r=XD(t,e,n),o=e.parent||n[Yt],s=JD(o,e,n);tS(i,0,n,e,r,s)}function tS(t,n,e,i,r,o){let s=e[sn],l=s[Yt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];ms(n,t,r,d,o)}else{let c=l,d=s[St];gD(i)&&(c.flags|=128),bv(t,n,c,d,r,o,!0)}}function Fj(t,n,e,i,r){let o=e[oo],s=Yn(e);o!==s&&ms(n,t,i,o,r);for(let a=Dt;a<e.length;a++){let l=e[a];pf(l[oe],l,t,n,i,o)}}function Lj(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:_i.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_i.Important),t.setStyle(e,i,r,o))}}function ju(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Yn(o)),Di(o)&&Pj(o,i);let s=e.type;if(s&8)ju(t,n,e.child,i);else if(s&32){let a=gv(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=eS(n,e);if(Array.isArray(a))i.push(...a);else{let l=so(n[sn]);ju(l[oe],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function Pj(t,n){for(let e=Dt;e<t.length;e++){let i=t[e],r=i[oe].firstChild;r!==null&&ju(i[oe],i,r,n)}t[oo]!==t[Ei]&&n.push(t[oo])}function nS(t){if(t[gs]!==null){for(let n of t[gs])n.impl.addSequence(n);t[gs].length=0}}function jj(t){return t[vn]??Vj(t)}function Vj(t){let n=iS.pop()??Object.create(Uj);return n.lView=t,n}function Bj(t){t.lView[vn]!==t&&(t.lView=null,iS.push(t))}function Hj(t){let n=t[vn]??Object.create(zj);return n.lView=t,n}function rS(t){return t.type!==2}function oS(t){if(t[ro]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[ro])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[J]&8192)}}function sS(t,n=!0,e=0){let r=t[gi].rendererFactory,o=!1;o||r.begin?.();try{Gj(t,e)}catch(s){throw n&&Cj(t,s),s}finally{o||r.end?.()}}function Gj(t,n){let e=HE();try{Au(!0),Zg(t,n);let i=0;for(;El(t);){if(i===$j)throw new w(103,!1);i++,Zg(t,1)}}finally{Au(e)}}function Wj(t,n,e,i){if(Os(n))return;let r=n[J],o=!1,s=!1;qy(n);let a=!0,l=null,c=null;o||(rS(t)?(c=jj(n),l=qa(c)):om()===null?(a=!1,c=Hj(n),l=qa(c)):n[vn]&&(Ka(n[vn]),n[vn]=null));try{jE(n),xP(t.bindingStartIndex),e!==null&&QD(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let p=t.preOrderCheckHooks;p!==null&&yu(n,p,null)}else{let p=t.preOrderHooks;p!==null&&vu(n,p,0,null),cg(n,0)}if(s||qj(n),oS(n),aS(n,0),t.contentQueries!==null&&MD(t,n),!o)if(d){let p=t.contentCheckHooks;p!==null&&yu(n,p)}else{let p=t.contentHooks;p!==null&&vu(n,p,1),cg(n,1)}Yj(t,n);let h=t.components;h!==null&&cS(n,h,0);let m=t.viewQuery;if(m!==null&&Bg(2,m,i),!o)if(d){let p=t.viewCheckHooks;p!==null&&yu(n,p)}else{let p=t.viewHooks;p!==null&&vu(n,p,2),cg(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[lg]){for(let p of n[lg])p();n[lg]=null}o||(nS(n),n[J]&=-73)}catch(d){throw o||ks(n),d}finally{c!==null&&(Cd(c,l),a&&Bj(c)),Ky()}}function aS(t,n){for(let e=bD(t);e!==null;e=_D(e))for(let i=Dt;i<e.length;i++){let r=e[i];lS(r,n)}}function qj(t){for(let n=bD(t);n!==null;n=_D(n)){if(!(n[J]&2))continue;let e=n[ws];for(let i=0;i<e.length;i++){let r=e[i];Vy(r)}}}function Kj(t,n,e){Fe(18);let i=Qn(n,t);lS(i,e),Fe(19,i[ct])}function lS(t,n){jy(t)&&Zg(t,n)}function Zg(t,n){let i=t[oe],r=t[J],o=t[vn],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&xd(o)),s||=!1,o&&(o.dirty=!1),t[J]&=-9217,s)Wj(i,t,i.template,t[ct]);else if(r&8192){oS(t),aS(t,1);let a=i.components;a!==null&&cS(t,a,1),nS(t)}}function cS(t,n,e){for(let i=0;i<n.length;i++)Kj(t,n[i],e)}function Yj(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)ao(~r);else{let o=r,s=e[++i],a=e[++i];EP(s,o);let l=n[o];Fe(24,l),a(2,l),Fe(25,l)}}}finally{ao(-1)}}function _v(t,n){let e=HE()?64:1088;for(t[gi].changeDetectionScheduler?.notify(n);t;){t[J]|=e;let i=so(t);if(Tu(t)&&!i)return t;t=i}return null}function dS(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function uS(t,n){let e=Dt+n;if(e<t.length)return t[e]}function Tl(t,n,e,i=!0){let r=n[oe];if(Qj(r,n,t,e),i){let s=Qg(e,t),a=n[Ze],l=a.parentNode(t[oo]);l!==null&&Ij(r,t[Yt],a,n,l,s)}let o=n[Cs];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function fS(t,n){let e=vl(t,n);return e!==void 0&&ff(e[oe],e),e}function vl(t,n){if(t.length<=Dt)return;let e=Dt+n,i=t[e];if(i){let r=i[io];r!==null&&r!==t&&vv(r,i),n>0&&(t[e-1][On]=i[On]);let o=Du(t,Dt+n);Sj(i[oe],i);let s=o[yi];s!==null&&s.detachView(o[oe]),i[St]=null,i[On]=null,i[J]&=-129}return i}function Qj(t,n,e,i){let r=Dt+i,o=e.length;i>0&&(e[r-1][On]=n),i<o-Dt?(n[On]=e[r],bE(e,Dt+i,n)):(e.push(n),n[On]=null),n[St]=e;let s=n[io];s!==null&&e!==s&&hS(s,n);let a=n[yi];a!==null&&a.insertView(t),Mg(n),n[J]|=128}function hS(t,n){let e=t[ws],i=n[St];if(cr(i))t[J]|=2;else{let r=i[St][sn];n[sn]!==r&&(t[J]|=2)}e===null?t[ws]=[n]:e.push(n)}function pS(t){return El(t._lView)||!!(t._lView[J]&64)}function mS(t){Vy(t._cdRefInjectingView||t._lView)}function Jj(){return mf(It(),Y())}function mf(t,n){return t.type&4?new Xj(n,t,Fs(t,n)):null}function Vs(t,n,e,i,r){let o=t.data[n];if(o===null)o=eV(t,n,e,i,r),wP()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=bP();o.injectorIndex=s===null?-1:s.injectorIndex}return fr(o,!0),o}function eV(t,n,e,i,r){let o=UE(),s=zy(),a=s?o:o&&o.parent,l=t.data[n]=nV(t,a,e,n,i,r);return tV(t,l,o,s),l}function tV(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function nV(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return BE()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ms(t,n){return iV(t,n)}function oV(){let t=Y(),n=It(),e=Qn(n.index,t);return(cr(e)?e:t)[Ze]}function ey(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=_g(r,a);else if(o==2){let l=a,c=n[++s];i=_g(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function A(t,n=ce.Default){let e=Y();if(e===null)return D(t,n);let i=It();return rD(i,e,vt(t),n)}function gf(){let t="invalid";throw new Error(t)}function Cv(t,n,e,i,r){let o=i===null?null:{"":-1},s=r(t,e);if(s!==null){let a,l=null,c=null,d=lV(s);d===null?a=s:[a,l,c]=d,uV(t,n,e,a,o,l,c)}o!==null&&i!==null&&aV(e,i,o)}function aV(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new w(-301,!1);i.push(n[r],o)}}function lV(t){let n=null,e=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Kn(a)&&(n=a),a.findHostDirectiveDefs!==null){e=!0;break}}if(!e)return null;let i=null,r=null,o=null;for(let s of t)s.findHostDirectiveDefs!==null&&(i??=[],r??=new Map,o??=new Map,cV(s,i,o,r)),s===n&&(i??=[],i.push(s));return i!==null?(i.push(...n===null?t:t.slice(1)),[i,r,o]):null}function cV(t,n,e,i){let r=n.length;t.findHostDirectiveDefs(t,n,i),e.set(t,[r,n.length-1])}function dV(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function uV(t,n,e,i,r,o,s){let a=i.length,l=!1;for(let m=0;m<a;m++){let p=i[m];!l&&Kn(p)&&(l=!0,dV(t,e,m)),Og(Nu(e,n),t,p.type)}yV(e,t.data.length,a);for(let m=0;m<a;m++){let p=i[m];p.providersResolver&&p.providersResolver(p)}let c=!1,d=!1,h=KD(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let m=0;m<a;m++){let p=i[m];if(e.mergedAttrs=Es(e.mergedAttrs,p.hostAttrs),hV(t,e,n,h,p),gV(h,p,r),s!==null&&s.has(p)){let[y,I]=s.get(p);e.directiveToIndex.set(p.type,[h,y+e.directiveStart,I+e.directiveStart])}else(o===null||!o.has(p))&&e.directiveToIndex.set(p.type,h);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let g=p.type.prototype;!c&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!d&&(g.ngOnChanges||g.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),h++}fV(t,e,o)}function fV(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))Hw(0,n,r,i),Hw(1,n,r,i),$w(n,i,!1);else{let o=e.get(r);zw(0,n,o,i),zw(1,n,o,i),$w(n,i,!0)}}}function Hw(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(i),yS(n,o)}}function zw(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),yS(n,s)}}function yS(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function $w(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||av(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===n){s??=[],s.push(l,i[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function hV(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=no(r.type,!0)),s=new lo(o,Kn(r),A);t.blueprint[i]=s,e[i]=s,pV(t,n,i,KD(t,e,r.hostVars,un),r)}function pV(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;mV(s)!=a&&s.push(a),s.push(e,i,o)}}function mV(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function gV(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Kn(n)&&(e[""]=t)}}function yV(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function vS(t,n,e,i,r,o,s,a){let l=n.consts,c=ur(l,s),d=Vs(n,t,2,i,c);return o&&Cv(n,e,d,ur(l,a),r),d.mergedAttrs=Es(d.mergedAttrs,d.attrs),d.attrs!==null&&ey(d,d.attrs,!1),d.mergedAttrs!==null&&ey(d,d.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,d),d}function bS(t,n){Yy(t,n),Fy(n)&&t.queries.elementEnd(n)}function vV(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&df.SignalBased)!==0};return r&&(o.transform=r),o})}function bV(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function _V(t,n,e){let i=n instanceof et?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Jg(e,i):e}function CV(t){let n=t.get(dt,null);if(n===null)throw new w(407,!1);let e=t.get(sV,null),i=t.get(vi,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i}}function xV(t,n){let e=(t.selectors[0][0]||"div").toLowerCase();return $D(n,e,e==="svg"?FE:e==="math"?lP:null)}function wV(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}function EV(){let t=It();return CS(t,Y())}function Gw(t){return t[Mu]}function hg(t){return t[Mu]||(t[Mu]=[])}function CS(t,n){let e,i=n[t.index];return Di(i)?e=i:(e=dS(i,n,null,t),n[t.index]=e,dv(n,e)),IV(e,n,t,i),new _S(e,t,n)}function SV(t,n){let e=t[Ze],i=e.createComment(""),r=Xn(n,t),o=e.parentNode(r);return Pu(e,o,i,e.nextSibling(r),!1),i}function TV(t,n,e){return MV(t,n,e)}function AV(t,n,e,i){if(t[oo])return;let r;e.type&8?r=Yn(i):r=SV(n,e),t[oo]=r}function RV(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function OV(t,n){return t.type&11?Fs(t,n):t.type&4?mf(t,n):null}function kV(t,n,e,i){return e===-1?OV(n,t):e===-2?NV(t,n,i):gl(t,t[oe],e,n)}function NV(t,n,e){if(e===B)return Fs(n,t);if(e===an)return mf(n,t);if(e===Mt)return CS(n,t)}function xS(t,n,e,i){let r=n[yi].queries[i];if(r.matches===null){let o=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(kV(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function sy(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=xS(t,n,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let h=Dt;h<d.length;h++){let m=d[h];m[io]===m[St]&&sy(m[oe],m,c,i)}if(d[ws]!==null){let h=d[ws];for(let m=0;m<h.length;m++){let p=h[m];sy(p[oe],p,c,i)}}}}}return i}function xv(t,n){return t[yi].queries[n].queryList}function wS(t,n,e){let i=new Ss((e&4)===4);return hP(t,n,i,i.destroy),(n[yi]??=new iy).queries.push(new ny(i))-1}function FV(t,n,e){let i=qe();return i.firstCreatePass&&(DS(i,new Bu(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),wS(i,Y(),n)}function ES(t,n,e,i){let r=qe();if(r.firstCreatePass){let o=It();DS(r,new Bu(n,e,i),o.index),PV(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return wS(r,Y(),e)}function LV(t){return t.split(",").map(n=>n.trim())}function DS(t,n,e){t.queries===null&&(t.queries=new ry),t.queries.track(new oy(n,e))}function PV(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function wv(t,n){return t.queries.getByIndex(n)}function SS(t,n){let e=t[oe],i=wv(e,n);return i.crossesNgTemplate?sy(e,t,n,[]):xS(e,t,i,n)}function IS(t,n,e){let i,r=Dd(()=>{i._dirtyCounter();let o=UV(i,t);if(n&&o===void 0)throw new w(-951,!1);return o});return i=r[Ut],i._dirtyCounter=cn(0),i._flatValue=void 0,r}function jV(t){return IS(!0,!1,t)}function VV(t){return IS(!0,!0,t)}function BV(t,n){let e=t[Ut];e._lView=Y(),e._queryIndex=n,e._queryList=xv(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function UV(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[J]&4)return n?void 0:Ft;let r=xv(e,i),o=SS(e,i);return r.reset(o,pD),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function Ww(t,n){return jV(n)}function HV(t,n){return VV(n)}function Al(t,n,e=null){return new Uu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function U(t){return Cl(()=>{let n=TS(t),e=ie(_({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yD.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(zV).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Zn.Emulated,styles:t.styles||Ft,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Jn("NgStandalone"),AS(e);let i=t.dependencies;return e.directiveDefs=qw(i,!1),e.pipeDefs=qw(i,!0),e.id=KV(e),e})}function $V(t){return dr(t)||wE(t)}function GV(t){return t!==null}function F(t){return Cl(()=>({type:t.type,bootstrap:t.bootstrap||Ft,declarations:t.declarations||Ft,imports:t.imports||Ft,exports:t.exports||Ft,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function WV(t,n){if(t==null)return qn;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=df.None,l=null),e[o]=[i,a,l],n[o]=s}return e}function qV(t){if(t==null)return qn;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function P(t){return Cl(()=>{let n=TS(t);return AS(n),n})}function Bs(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function TS(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||qn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ft,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:WV(t.inputs,n),outputs:qV(t.outputs),debugInfo:null}}function AS(t){t.features?.forEach(n=>n(t))}function qw(t,n){if(!t)return null;let e=n?KL:$V;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(GV)}function KV(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function YV(t){return Object.getPrototypeOf(t.prototype).constructor}function ge(t){let n=YV(t.type),e=!0,i=[t];for(;n;){let r;if(Kn(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=pg(t.inputs),s.declaredInputs=pg(t.declaredInputs),s.outputs=pg(t.outputs);let a=r.hostBindings;a&&eB(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&XV(t,l),c&&JV(t,c),QV(t,r),SL(t.outputs,r.outputs),Kn(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===ge&&(e=!1)}}n=Object.getPrototypeOf(n)}ZV(i)}function QV(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function ZV(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Es(r.hostAttrs,e=Es(e,r.hostAttrs))}}function pg(t){return t===qn?{}:t===Ft?[]:t}function XV(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function JV(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function eB(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function RS(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=OS,e.hostDirectives=i?t.map(cy):[t]):i?e.hostDirectives.unshift(...t.map(cy)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function OS(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)Kw(cy(o),n,e)}else Kw(i,n,e)}function Kw(t,n,e){let i=wE(t.directive);tB(i.declaredInputs,t.inputs),OS(i,n,e),e.set(i,t),n.push(i)}function cy(t){return typeof t=="function"?{directive:vt(t),inputs:qn,outputs:qn}:{directive:vt(t.directive),inputs:Yw(t.inputs),outputs:Yw(t.outputs)}}function Yw(t){if(t===void 0||t.length===0)return qn;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function tB(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function kS(t){return iB(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function nB(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function iB(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function yf(t,n,e){return t[n]=e}function rB(t,n){return t[n]}function ln(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Dv(t,n,e,i){let r=ln(t,n,e);return ln(t,n+1,i)||r}function oB(t,n,e,i,r){let o=Dv(t,n,e,i);return ln(t,n+2,r)||o}function sB(t,n,e,i,r,o,s,a,l){let c=n.consts,d=Vs(n,t,4,s||null,a||null);Hy()&&Cv(n,e,d,ur(c,l),hv),d.mergedAttrs=Es(d.mergedAttrs,d.attrs),Yy(n,d);let h=d.tView=lv(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,d),h.queries=n.queries.embeddedTView(d)),d}function Hu(t,n,e,i,r,o,s,a,l,c){let d=e+st,h=n.firstCreatePass?sB(d,n,t,i,r,o,s,a,l):n.data[d];fr(h,!1);let m=aB(n,t,h,e);of()&&hf(n,t,m,h),Ps(m,t);let p=dS(m,t,m,h);return t[d]=p,dv(t,p),TV(p,h,t),tf(h)&&uf(n,t,h),l!=null&&uv(t,h,c),h}function re(t,n,e,i,r,o,s,a){let l=Y(),c=qe(),d=ur(c.consts,o);return Hu(l,c,t,n,e,i,r,d,s,a),re}function lB(t,n,e,i){return sf(!0),n[Ze].createComment("")}function yo(t){return!!t&&typeof t.then=="function"}function LS(t){return!!t&&typeof t.subscribe=="function"}function Iv(t){return wl([{provide:PS,multi:!0,useValue:t}])}function cB(){cm(()=>{throw new w(600,!1)})}function dB(t){return t.isBoundToModule}function _u(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function fB(t,n,e,i){if(!e&&!El(t))return;sS(t,n,e&&!i?0:1)}function we(t,n,e,i){let r=Y(),o=fo();if(ln(r,o,n)){let s=qe(),a=rf();vj(a,r,t,n,e,i)}return we}function VS(t,n,e,i){return ln(t,fo(),e)?n+to(e)+i:un}function hB(t,n,e,i,r,o){let s=CP(),a=Dv(t,s,e,r);return Gy(2),a?n+to(e)+i+to(r)+o:un}function mu(t,n){return t<<17|n<<2}function uo(t){return t>>17&32767}function pB(t){return(t&2)==2}function mB(t,n){return t&131071|n<<17}function uy(t){return t|2}function Ts(t){return(t&131068)>>2}function mg(t,n){return t&-131069|n<<2}function gB(t){return(t&1)===1}function fy(t){return t|1}function yB(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=uo(s),l=Ts(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let h=e;d=h[1],(d===null||xl(h,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=uo(t[a+1]);t[i+1]=mu(m,a),m!==0&&(t[m+1]=mg(t[m+1],i)),t[a+1]=mB(t[a+1],i)}else t[i+1]=mu(a,0),a!==0&&(t[a+1]=mg(t[a+1],i)),a=i;else t[i+1]=mu(l,0),a===0?a=i:t[l+1]=mg(t[l+1],i),l=i;c&&(t[i+1]=uy(t[i+1])),Qw(t,d,i,!0),Qw(t,d,i,!1),vB(n,d,t,i,o),s=mu(a,l),o?n.classBindings=s:n.styleBindings=s}function vB(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&xl(o,n)>=0&&(e[i+1]=fy(e[i+1]))}function Qw(t,n,e,i){let r=t[e+1],o=n===null,s=i?uo(r):Ts(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];bB(l,n)&&(a=!0,t[s+1]=i?fy(c):uy(c)),s=i?uo(c):Ts(c)}a&&(t[e+1]=i?uy(r):fy(r))}function bB(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?xl(t,n)>=0:!1}function _B(t){return t.substring(Rn.key,Rn.keyEnd)}function CB(t){return xB(t),BS(t,US(t,0,Rn.textEnd))}function BS(t,n){let e=Rn.textEnd;return e===n?-1:(n=Rn.keyEnd=wB(t,Rn.key=n,e),US(t,n,e))}function xB(t){Rn.key=0,Rn.keyEnd=0,Rn.value=0,Rn.valueEnd=0,Rn.textEnd=t.length}function US(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function wB(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function S(t,n,e){let i=Y(),r=fo();if(ln(i,r,n)){let o=qe(),s=rf();fv(o,s,i,t,n,i[Ze],e,!1)}return S}function hy(t,n,e,i,r){pv(n,t,e,r?"class":"style",i)}function Us(t,n,e){return zS(t,n,e,!1),Us}function Q(t,n){return zS(t,n,null,!0),Q}function pr(t){$S(TB,HS,t,!0)}function HS(t,n){for(let e=CB(n);e>=0;e=BS(n,e))Zu(t,_B(n),!0)}function zS(t,n,e,i){let r=Y(),o=qe(),s=Gy(2);if(o.firstUpdatePass&&WS(o,t,s,i),n!==un&&ln(r,s,n)){let a=o.data[Si()];qS(o,a,r,r[Ze],t,r[s+1]=RB(n,e),i,s)}}function $S(t,n,e,i){let r=qe(),o=Gy(2);r.firstUpdatePass&&WS(r,null,o,i);let s=Y();if(e!==un&&ln(s,o,e)){let a=r.data[Si()];if(KS(a,i)&&!GS(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=_g(l,e||"")),hy(r,a,s,e,i)}else AB(r,a,s,s[Ze],s[o+1],s[o+1]=MB(t,n,e),i,o)}}function GS(t,n){return n>=t.expandoStartIndex}function WS(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Si()],s=GS(t,e);KS(o,i)&&n===null&&!s&&(n=!1),n=EB(r,o,n,i),yB(r,o,n,e,s,i)}}function EB(t,n,e,i){let r=SP(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=gg(null,t,n,e,i),e=_l(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=gg(r,t,n,e,i),o===null){let l=DB(t,n,i);l!==void 0&&Array.isArray(l)&&(l=gg(null,t,n,l[1],i),l=_l(l,n.attrs,i),SB(t,n,i,l))}else o=IB(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function DB(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ts(i)!==0)return t[uo(i)]}function SB(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[uo(r)]=i}function IB(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=_l(i,s,e)}return _l(i,n.attrs,e)}function gg(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=_l(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function _l(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Zu(t,s,e?!0:n[++o]))}return t===void 0?null:t}function MB(t,n,e){if(e==null||e==="")return Ft;let i=[],r=bn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function TB(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Zu(t,i,e)}function AB(t,n,e,i,r,o,s,a){r===un&&(r=Ft);let l=0,c=0,d=0<r.length?r[0]:null,h=0<o.length?o[0]:null;for(;d!==null||h!==null;){let m=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0,g=null,y;d===h?(l+=2,c+=2,m!==p&&(g=h,y=p)):h===null||d!==null&&d<h?(l+=2,g=d):(c+=2,g=h,y=p),g!==null&&qS(t,n,e,i,g,y,s,a),d=l<r.length?r[l]:null,h=c<o.length?o[c]:null}}function qS(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=gB(c)?Zw(l,n,e,r,Ts(c),s):void 0;if(!zu(d)){zu(o)||pB(c)&&(o=Zw(l,null,e,r,a,s));let h=LE(Si(),e);Lj(i,s,h,r,o)}}function Zw(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,h=d===null,m=e[r+1];m===un&&(m=h?Ft:void 0);let p=h?sg(m,i):d===i?m:void 0;if(c&&!zu(p)&&(p=sg(l,i)),zu(p)&&(a=p,s))return a;let g=t[r+1];r=s?uo(g):Ts(g)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=sg(l,i))}return a}function zu(t){return t!==void 0}function RB(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Wt(bn(t)))),t}function KS(t,n){return(t.flags&(n?8:16))!==0}function vf(t,n,e){let i=Y(),r=VS(i,t,n,e);$S(Zu,HS,r,!0)}function yg(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function OB(t,n,e){let i,r,o=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=t.at(o),d=n[o],h=yg(o,c,o,d,e);if(h!==0){h<0&&t.updateValue(o,d),o++;continue}let m=t.at(s),p=n[l],g=yg(s,m,l,p,e);if(g!==0){g<0&&t.updateValue(s,p),s--,l--;continue}let y=e(o,c),I=e(s,m),R=e(o,d);if(Object.is(R,I)){let ne=e(l,p);Object.is(ne,y)?(t.swap(o,s),t.updateValue(s,p),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(i??=new $u,r??=Jw(t,o,s,e),my(t,i,o,R))t.updateValue(o,d),o++,s++;else if(r.has(R))i.set(y,t.detach(o)),s--;else{let ne=t.create(o,n[o]);t.attach(o,ne),o++,s++}}for(;o<=l;)Xw(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=t.at(o),h=c.value,m=yg(o,d,o,h,e);if(m!==0)m<0&&t.updateValue(o,h),o++,c=l.next();else{i??=new $u,r??=Jw(t,o,s,e);let p=e(o,h);if(my(t,i,o,p))t.updateValue(o,h),o++,s++,c=l.next();else if(!r.has(p))t.attach(o,t.create(o,h)),o++,s++,c=l.next();else{let g=e(o,d);i.set(g,t.detach(o)),s--}}}for(;!c.done;)Xw(t,i,e,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function my(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Xw(t,n,e,i,r){if(my(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function Jw(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}function it(t,n){Jn("NgControlFlow");let e=Y(),i=fo(),r=e[i]!==un?e[i]:-1,o=r!==-1?Gu(e,st+r):void 0,s=0;if(ln(e,i,t)){let a=fe(null);try{if(o!==void 0&&fS(o,s),t!==-1){let l=st+t,c=Gu(e,l),d=by(e[oe],l),h=Ms(c,d.tView.ssrId),m=Ml(e,d,n,{dehydratedView:h});Tl(c,m,s,Is(d,h))}}finally{fe(a)}}else if(o!==void 0){let a=uS(o,s);a!==void 0&&(a[ct]=n)}}function YS(t){return t}function QS(t,n,e,i,r,o,s,a,l,c,d,h,m){Jn("NgControlFlow");let p=Y(),g=qe(),y=l!==void 0,I=Y(),R=a?s.bind(I[sn][ct]):s,ne=new yy(y,R);I[st+t]=ne,Hu(p,g,t+1,n,e,i,r,ur(g.consts,o)),y&&Hu(p,g,t+2,l,c,d,h,ur(g.consts,m))}function ZS(t){let n=fe(null),e=Si();try{let i=Y(),r=i[oe],o=i[e],s=e+1,a=Gu(i,s);if(o.liveCollection===void 0){let c=by(r,s);o.liveCollection=new vy(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(OB(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=fo(),d=l.length===0;if(ln(i,c,d)){let h=e+2,m=Gu(i,h);if(d){let p=by(r,h),g=Ms(m,p.tView.ssrId),y=Ml(i,p,void 0,{dehydratedView:g});Tl(m,y,0,Is(p,g))}else fS(m,0)}}}finally{fe(n)}}function Gu(t,n){return t[n]}function kB(t,n){return vl(t,n)}function NB(t,n){return uS(t,n)}function by(t,n){return Ly(t,n)}function E(t,n,e,i){let r=Y(),o=qe(),s=st+t,a=r[Ze],l=o.firstCreatePass?vS(s,o,r,n,hv,Hy(),e,i):o.data[s],c=FB(o,r,l,a,n,t);r[s]=c;let d=tf(l);return fr(l,!0),WD(a,c,l),!yv(l)&&of()&&hf(o,r,c,l),(pP()===0||d)&&Ps(c,r),mP(),d&&(uf(o,r,l),iv(o,l,r)),i!==null&&uv(r,l),E}function M(){let t=It();zy()?$y():(t=t.parent,fr(t,!1));let n=t;yP(n)&&vP(),gP();let e=qe();return e.firstCreatePass&&bS(e,n),n.classesWithoutHost!=null&&kP(n)&&hy(e,n,Y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&NP(n)&&hy(e,n,Y(),n.stylesWithoutHost,!1),M}function q(t,n,e,i){return E(t,n,e,i),M(),q}function LB(t,n,e,i,r){let o=n.consts,s=ur(o,i),a=Vs(n,t,8,"ng-container",s);s!==null&&ey(a,s,!0);let l=ur(o,r);return Hy()&&Cv(n,e,a,l,hv),a.mergedAttrs=Es(a.mergedAttrs,a.attrs),n.queries!==null&&n.queries.elementStart(n,a),a}function XS(t,n,e){let i=Y(),r=qe(),o=t+st,s=r.firstCreatePass?LB(o,r,i,n,e):r.data[o];fr(s,!0);let a=PB(r,i,s,t);return i[o]=a,of()&&hf(r,i,a,s),Ps(a,i),tf(s)&&(uf(r,i,s),iv(r,s,i)),e!=null&&uv(i,s),XS}function JS(){let t=It(),n=qe();return zy()?$y():(t=t.parent,fr(t,!1)),n.firstCreatePass&&(Yy(n,t),Fy(t)&&n.queries.elementEnd(t)),JS}function Ol(t,n,e){return XS(t,n,e),JS(),Ol}function ke(){return Y()}function mr(t,n,e){let i=Y(),r=fo();if(ln(i,r,n)){let o=qe(),s=rf();fv(o,s,i,t,n,i[Ze],e,!0)}return mr}function VB(t){typeof t=="string"&&(jB=t.toLowerCase().replace(/_/g,"-"))}function eE(t,n,e){return function i(r){if(r===Function)return e;let o=Rs(t)?Qn(t.index,n):n;_v(o,5);let s=n[ct],a=tE(n,s,e,r),l=i.__ngNextListenerFn__;for(;l;)a=tE(n,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function tE(t,n,e,i){let r=fe(null);try{return Fe(6,n,e),e(i)!==!1}catch(o){return BB(t,o),!1}finally{Fe(7,n,e),fe(r)}}function BB(t,n){let e=t[xs],i=e?e.get(Lt,null):null;i&&i.handleError(n)}function nE(t,n,e,i,r,o){let s=n[e],a=n[oe],c=a.data[e].outputs[i],d=s[c],h=a.firstCreatePass?Uy(a):null,m=By(n),p=d.subscribe(o),g=m.length;m.push(o,p),h&&h.push(r,t.index,g,-(g+1))}function ee(t,n,e,i){let r=Y(),o=qe(),s=It();return eI(o,r,r[Ze],s,t,n,i),ee}function UB(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=n[Iu],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function eI(t,n,e,i,r,o,s){let a=tf(i),c=t.firstCreatePass?Uy(t):null,d=By(n),h=!0;if(i.type&3||s){let m=Xn(i,n),p=s?s(m):m,g=d.length,y=s?R=>s(Yn(R[i.index])):i.index,I=null;if(!s&&a&&(I=UB(t,n,r,i.index)),I!==null){let R=I.__ngLastListenerFn__||I;R.__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1}else{o=eE(i,n,o),y1(n,p,r,o);let R=e.listen(p,r,o);d.push(o,R),c&&c.push(r,y,g,g+1)}}else o=eE(i,n,o);if(h){let m=i.outputs?.[r],p=i.hostDirectiveOutputs?.[r];if(p&&p.length)for(let g=0;g<p.length;g+=2){let y=p[g],I=p[g+1];nE(i,n,y,I,r,o)}if(m&&m.length)for(let g of m)nE(i,n,g,r,r,o)}}function G(t=1){return MP(t)}function HB(t,n){let e=null,i=K1(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?zD(t,o,!0):Z1(i,o))return r}return e}function Zt(t){let n=Y()[sn][Yt];if(!n.projection){let e=t?t.length:1,i=n.projection=GL(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?HB(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function ze(t,n=0,e,i,r,o){let s=Y(),a=qe(),l=i?t+1:null;l!==null&&Hu(s,a,l,i,r,o,null,e);let c=Vs(a,st+t,16,null,e||null);c.projection===null&&(c.projection=n),$y();let h=!s[Cs]||BE();s[sn][Yt].projection[c.projection]===null&&l!==null?zB(s,a,l):h&&!yv(c)&&Nj(a,s,c)}function zB(t,n,e){let i=st+e,r=n.data[i],o=t[i],s=Ms(o,r.tView.ssrId),a=Ml(t,r,void 0,{dehydratedView:s});Tl(o,a,0,Is(r,s))}function kn(t,n,e,i){ES(t,n,e,i)}function Be(t,n,e){FV(t,n,e)}function Ee(t){let n=Y(),e=qe(),i=Wy();nf(i+1);let r=wv(e,i);if(t.dirty&&cP(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=SS(n,i);t.reset(o,pD),t.notifyOnChanges()}return!0}return!1}function De(){return xv(Y(),Wy())}function tI(t,n,e,i,r){BV(n,ES(t,e,i,r))}function nI(t=1){nf(Wy()+t)}function Xt(t){let n=_P();return Py(n,st+t)}function se(t,n=""){let e=Y(),i=qe(),r=t+st,o=i.firstCreatePass?Vs(i,r,1,n,null):i.data[r],s=$B(i,e,o,n,t);e[r]=s,of()&&hf(i,e,s,o),fr(o,!1)}function ft(t){return Je("",t,""),ft}function Je(t,n,e){let i=Y(),r=VS(i,t,n,e);return r!==un&&iI(i,Si(),r),Je}function Mv(t,n,e,i,r){let o=Y(),s=hB(o,t,n,e,i,r);return s!==un&&iI(o,Si(),s),Mv}function iI(t,n,e){let i=LE(n,t);nj(t[Ze],i,e)}function Hs(t,n,e){mD(n)&&(n=n());let i=Y(),r=fo();if(ln(i,r,n)){let o=qe(),s=rf();fv(o,s,i,t,n,i[Ze],e,!1)}return Hs}function kl(t,n){let e=mD(t);return e&&t.set(n),e}function zs(t,n){let e=Y(),i=qe(),r=It();return eI(i,e,e[Ze],r,t,n),zs}function Tv(t){let n=qe(),e=Y(),i=t+st,r=Vs(n,i,128,null,null);return fr(r,!1),PE(n,e,i,GB),Tv}function WB(t,n,e){let i=qe();if(i.firstCreatePass){let r=Kn(t);_y(e,i.data,i.blueprint,r,!0),_y(n,i.data,i.blueprint,r,!1)}}function _y(t,n,e,i,r){if(t=vt(t),Array.isArray(t))for(let o=0;o<t.length;o++)_y(t[o],n,e,i,r);else{let o=qe(),s=Y(),a=It(),l=_s(t)?t:vt(t.provide),c=IE(t),d=a.providerIndexes&1048575,h=a.directiveStart,m=a.providerIndexes>>20;if(_s(t)||!t.multi){let p=new lo(c,r,A),g=bg(l,n,r?d:d+m,h);g===-1?(Og(Nu(a,s),o,l),vg(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[g]=p,s[g]=p)}else{let p=bg(l,n,d+m,h),g=bg(l,n,d,d+m),y=p>=0&&e[p],I=g>=0&&e[g];if(r&&!I||!r&&!y){Og(Nu(a,s),o,l);let R=YB(r?KB:qB,e.length,r,i,c);!r&&I&&(e[g].providerFactory=R),vg(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(R),s.push(R)}else{let R=rI(e[r?g:p],c,!r&&i);vg(o,t,p>-1?p:g,R)}!r&&i&&I&&e[g].componentProviders++}}}function vg(t,n,e,i){let r=_s(n),o=XL(n);if(r||o){let l=(o?vt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function rI(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function bg(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function qB(t,n,e,i,r){return Cy(this.multi,[])}function KB(t,n,e,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=gl(i,i[oe],this.providerFactory.index,r);s=l.slice(0,a),Cy(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Cy(o,s);return s}function Cy(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function YB(t,n,e,i,r){let o=new lo(t,e,A);return o.multi=[],o.index=n,o.componentProviders=0,rI(o,r,i&&!e),o}function Tt(t,n=[]){return e=>{e.providersResolver=(i,r)=>WB(i,r?r(t):t,n)}}function bf(t,n,e){let i=Ns()+t,r=Y();return r[i]===un?yf(r,i,e?n.call(e):n()):rB(r,i)}function oI(t,n,e,i){return lI(Y(),Ns(),t,n,e,i)}function sI(t,n,e,i,r){return cI(Y(),Ns(),t,n,e,i,r)}function aI(t,n,e,i,r,o){return QB(Y(),Ns(),t,n,e,i,r,o)}function Av(t,n){let e=t[n];return e===un?void 0:e}function lI(t,n,e,i,r,o){let s=n+e;return ln(t,s,r)?yf(t,s+1,o?i.call(o,r):i(r)):Av(t,s+1)}function cI(t,n,e,i,r,o,s){let a=n+e;return Dv(t,a,r,o)?yf(t,a+2,s?i.call(s,r,o):i(r,o)):Av(t,a+2)}function QB(t,n,e,i,r,o,s,a){let l=n+e;return oB(t,l,r,o,s)?yf(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Av(t,l+3)}function le(t,n){let e=qe(),i,r=t+st;e.firstCreatePass?(i=ZB(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=no(i.type,!0)),s,a=Gt(A);try{let l=ku(!1),c=o();return ku(l),PE(e,Y(),r,c),c}finally{Gt(a)}}function ZB(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function be(t,n,e){let i=t+st,r=Y(),o=Py(r,i);return dI(r,i)?lI(r,Ns(),n,o.transform,e,o):o.transform(e)}function $s(t,n,e,i){let r=t+st,o=Y(),s=Py(o,r);return dI(o,r)?cI(o,Ns(),n,s.transform,e,i,s):s.transform(e,i)}function dI(t,n){return t[oe].data[n].pure}function vo(t,n){return mf(t,n)}function JB({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new L(ie(_({},e2()),{scheduleInRootZone:e})),[{provide:L,useFactory:t},{provide:bs,multi:!0,useFactory:()=>{let i=u(XB,{optional:!0});return()=>i.initialize()}},{provide:bs,multi:!0,useFactory:()=>{let i=u(t2);return()=>{i.initialize()}}},n===!0?{provide:cD,useValue:!0}:[],{provide:dD,useValue:e??lD}]}function e2(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function i2(){return typeof $localize<"u"&&$localize.locale||Wu}function dl(t){return!t.moduleRef}function o2(t){let n=dl(t)?t.r3Injector:t.moduleRef.injector,e=n.get(L);return e.run(()=>{dl(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Lt,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),dl(t)){let o=()=>n.destroy(),s=t.platformInjector.get(wy);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(wy);s.add(o),t.moduleRef.onDestroy(()=>{_u(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return a2(i,e,()=>{let o=n.get(jS);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(Ov,Wu);if(VB(s||Wu),!n.get(r2,!0))return dl(t)?n.get(qt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(dl(t)){let l=n.get(qt);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return s2(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function s2(t,n){let e=t.injector.get(qt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new w(-403,!1);n.push(t)}function a2(t,n,e){try{let i=e();return yo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function l2(t=[],n){return he.create({name:n,providers:[{provide:Xu,useValue:"platform"},{provide:wy,useValue:new Set([()=>Cu=null])},...t]})}function c2(t=[]){if(Cu)return Cu;let n=l2(t);return Cu=n,cB(),d2(n),n}function d2(t){let n=t.get(ev,null);Kt(t,()=>{n?.forEach(e=>e())})}function u2(t){return f2(It(),Y(),(t&16)===16)}function f2(t,n,e){if(Rs(t)&&!e){let i=Qn(t.index,n);return new bl(i,i)}else if(t.type&175){let i=n[sn];return new bl(i,n)}return null}function iE(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function rE(){return new _f([new Ey])}function kv(t){Fe(8);try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=c2(i),o=[JB({}),{provide:vi,useExisting:n2},...e||[]],s=new Uu({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return o2({r3Injector:s.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}finally{Fe(9)}}function Me(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ai(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function _n(t){return fm(t)}function Ri(t,n){return Dd(t,n?.equal)}function Nv(t,n){!n?.injector&&Ny(Nv);let e=n?.injector??u(he),i=n?.manualCleanup!==!0?e.get(ho):null,r,o=e.get(nv,null,{optional:!0}),s=e.get(vi);return o!==null&&!n?.forceRoot?(r=g2(o.view,s,t),i instanceof Fu&&i._lView===o.view&&(i=null)):r=y2(t,e.get(FS),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new My(r)}function g2(t,n,e){let i=Object.create(m2);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=e,t[ro]??=new Set,t[ro].add(i),i.consumerMarkedDirty(i),i}function y2(t,n,e){let i=Object.create(p2);return i.fn=t,i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}function Cf(t,n){let e=dr(t),i=n.elementInjector||Ju();return new co(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function hI(t){let n=dr(t);if(!n)return null;let e=new co(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var oE,w,sE,EL,uu,vs,IL,uE,gw,fE,TL,C,AL,RL,OL,kL,xu,hl,yw,ce,Cg,FL,Jr,xg,wu,Eu,LL,PL,jL,vw,Qu,vE,qn,Ft,bs,_E,CE,Su,YL,Xu,gu,bw,ag,et,pl,Ei,oe,J,St,On,Yt,Cs,Iu,ct,xs,gi,Ze,ml,_w,As,sn,io,hs,yi,ef,TE,lr,lg,ro,vn,gs,st,AE,oo,Mu,ws,Dt,Ig,Ve,kE,Cw,Fe,FE,lP,ae,Tg,qE,YE,ys,lo,Rg,jP,JE,eD,VP,Wn,eo,he,Ds,WP,lD,ho,Fu,vi,Zy,cD,dD,hr,Ng,z,Xy,Lu,KP,L,YP,Lg,Lt,e1,hD,B,Ss,yD,vD,o1,Rw,jg,po,l1,ev,Qt,Xe,mo,c1,d1,ED,u1,tv,js,Ow,nv,ps,DD,h1,p1,Vg,g1,v1,Zn,fu,hu,bi,Ug,Hg,zg,$g,Gg,Wg,qg,w1,FD,LD,PD,E1,D1,S1,Fw,jD,I1,M1,T1,A1,Kg,N1,F1,pu,bt,V1,B1,U1,HD,un,df,fj,Dj,_i,kj,Uw,iS,Uj,zj,$j,bl,an,Zj,Xj,F7,iV,rV,gS,Xg,go,dt,ut,sV,fg,Jg,Vu,co,ty,Mt,DV,_S,IV,MV,ny,iy,Bu,ry,oy,MS,Ci,Ev,ay,ly,Uu,zV,aB,Sv,NS,FS,dy,PS,jS,Rl,uB,qt,Rn,py,$u,gy,yy,vy,FB,PB,Wu,jB,$B,GB,xi,Rv,xy,uI,XB,t2,n2,Ov,wy,r2,Cu,at,Ey,h2,Dy,Sy,Iy,qu,_f,My,fI,p2,m2,b=f(()=>{"use strict";hm();mm();Qx();mm();Se();Qe();oE="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(n,e){super(Ty(n,e)),this.code=n}};sE=Symbol("InputSignalNode#UNSET"),EL=ie(_({},Sd),{transformFn:void 0,applyValueToInputSignal(t,n){Ya(t,n)}});uu="__parameters__";vs=globalThis;IL=je({__forward_ref__:je});uE=je({\u0275prov:je}),gw=je({\u0275inj:je}),fE=je({ngInjectableDef:je}),TL=je({ngInjectorDef:je}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};AL=je({\u0275cmp:je}),RL=je({\u0275dir:je}),OL=je({\u0275pipe:je}),kL=je({\u0275mod:je}),xu=je({\u0275fac:je}),hl=je({__NG_ELEMENT_ID__:je}),yw=je({__NG_ENV_ID__:je});ce=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ce||{});FL={},Jr=FL,xg="__NG_DI_FLAG__",wu=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=e;return this.injector.get(n,i.optional?Id:Jr,i)}},Eu="ngTempTokenPath",LL="ngTokenPath",PL=/\n/gm,jL="\u0275",vw="__source";Qu=yE(lE("Optional"),8),vE=yE(lE("SkipSelf"),4);qn={},Ft=[],bs=new C(""),_E=new C("",-1),CE=new C(""),Su=class{get(n,e=Jr){if(e===Jr){let i=new Error(`NullInjectorError: No provider for ${Wt(n)}!`);throw i.name="NullInjectorError",i}return e}};YL=je({provide:String,useValue:je});Xu=new C(""),gu={},bw={};et=class{},pl=class extends et{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Sg(n,s=>this.processProvider(s)),this.records.set(_E,fs(void 0,this)),r.has("environment")&&this.records.set(et,fs(void 0,this));let o=this.records.get(Xu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(CE,Ft,ce.Self))}retrieve(n,e){let i=e;return this.get(n,i.optional?Id:Jr,i)}destroy(){ul(this),this._destroyed=!0;let n=fe(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),fe(n)}}onDestroy(n){return ul(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ul(this);let e=ui(this),i=Gt(void 0),r;try{return n()}finally{ui(e),Gt(i)}}get(n,e=Jr,i=ce.Default){if(ul(this),n.hasOwnProperty(yw))return n[yw](this);i=Yu(i);let r,o=ui(this),s=Gt(void 0);try{if(!(i&ce.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=iP(n)&&Ku(n);c&&this.injectableDefInScope(c)?l=fs(Dg(n),gu):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,i)}let a=i&ce.Self?Ju():this.parent;return e=i&ce.Optional&&e===Jr?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[Eu]=a[Eu]||[]).unshift(Wt(n)),o)throw a;return UL(a,n,"R3InjectorError",this.source)}else throw a}finally{Gt(s),ui(o)}}resolveInjectorInitializers(){let n=fe(null),e=ui(this),i=Gt(void 0),r;try{let o=this.get(bs,Ft,ce.Self);for(let s of o)s()}finally{ui(e),Gt(i),fe(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Wt(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=vt(n);let e=_s(n)?n:vt(n&&n.provide),i=eP(n);if(!_s(n)&&n.multi===!0){let r=this.records.get(e);r||(r=fs(void 0,gu,!0),r.factory=()=>wg(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=fe(null);try{return e.value===bw?pE(Wt(n)):e.value===gu&&(e.value=bw,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&nP(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{fe(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=vt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};Ei=0,oe=1,J=2,St=3,On=4,Yt=5,Cs=6,Iu=7,ct=8,xs=9,gi=10,Ze=11,ml=12,_w=13,As=14,sn=15,io=16,hs=17,yi=18,ef=19,TE=20,lr=21,lg=22,ro=23,vn=24,gs=25,st=26,AE=1,oo=7,Mu=8,ws=9,Dt=10;Ig=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};Ve=(()=>{let t=()=>OE;return t.ngInherit=!0,t})();kE="__ngSimpleChanges__";Cw=null,Fe=function(t,n=null,e){Cw?.(t,n,e)},FE="svg",lP="math";ae={lFrame:GE(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Tg=!1;qE=WE;YE=!0;ys=-1,lo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i}};Rg=!0;jP=256,JE=jP-1,eD=5,VP=0,Wn={};eo=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return rD(this._tNode,this._lView,n,Yu(i),e)}};he=class t{static THROW_IF_NOT_FOUND=Jr;static NULL=new Su;static create(n,e){if(Array.isArray(n))return Sw({name:""},e,n,"");{let i=n.name??"";return Sw({name:i},n.parent,n.providers,i)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>D(_E)});static __NG_ELEMENT_ID__=-1};Ds=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>af(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},WP=new C("");WP.__NG_ELEMENT_ID__=t=>{let n=It();if(n===null)throw new w(204,!1);if(n.type&2)return n.value;if(t&ce.Optional)return null;throw new w(204,!1)};lD=!1,ho=(()=>{class t{static __NG_ELEMENT_ID__=qP;static __NG_ENV_ID__=e=>e}return t})(),Fu=class extends ho{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let e=this._lView;return Os(e)?(n(),()=>{}):(VE(e,n),()=>fP(e,n))}};vi=class{},Zy=new C("",{providedIn:"root",factory:()=>!1}),cD=new C(""),dD=new C(""),hr=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new nt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ng=class extends T{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ME()&&(this.destroyRef=u(ho,{optional:!0})??void 0,this.pendingTasks=u(hr,{optional:!0})??void 0)}emit(n){let e=fe(null);try{super.next(n)}finally{fe(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof _e&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},z=Ng;Xy="isAngularZone",Lu=Xy+"_ID",KP=0,L=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new z(!1);onMicrotaskEmpty=new z(!1);onStable=new z(!1);onError=new z(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=lD}=n;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,ZP(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xy)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,YP,yl,yl);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},YP={};Lg=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new z;onMicrotaskEmpty=new z;onStable=new z;onError=new z;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};Lt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},e1=new C("",{providedIn:"root",factory:()=>{let t=u(L),n=u(Lt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});hD=(Aw.required=t1,Aw);B=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=n1}return t})();Ss=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new T}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=$L(n);(this._changesDetected=!zL(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=r1};yD=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(yD||{}),vD=new Map,o1=0;Rw="__ngContext__";po=new C("",{providedIn:"root",factory:()=>l1}),l1="ng",ev=new C(""),Qt=new C("",{providedIn:"platform",factory:()=>"unknown"}),Xe=new C(""),mo=new C("",{providedIn:"root",factory:()=>wD().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),c1="h",d1="b",ED=!1,u1=new C("",{providedIn:"root",factory:()=>ED}),tv=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(tv||{}),js=new C(""),Ow=new Set;nv=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=f1}return t})();ps=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ps||{}),DD=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),h1=[ps.EarlyRead,ps.Write,ps.MixedReadWrite,ps.Read],p1=(()=>{class t{ngZone=u(L);scheduler=u(vi);errorHandler=u(Lt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(js,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Fe(16),this.executing=!0;for(let i of h1)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Fe(17)}register(e){let{view:i}=e;i!==void 0?((i[gs]??=[]).push(e),ks(i),i[J]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(tv.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Vg=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,s=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[gs];n&&(this.view[gs]=n.filter(e=>e!==this))}};g1=(t,n,e,i)=>{};v1=()=>null;Zn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Zn||{});bi=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oE})`}},Ug=class extends bi{getTypeName(){return"HTML"}},Hg=class extends bi{getTypeName(){return"Style"}},zg=class extends bi{getTypeName(){return"Script"}},$g=class extends bi{getTypeName(){return"URL"}},Gg=class extends bi{getTypeName(){return"ResourceURL"}};Wg=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(lf(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},qg=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=lf(n),e}};w1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;FD=Mi("area,br,col,hr,img,wbr"),LD=Mi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),PD=Mi("rp,rt"),E1=Il(PD,LD),D1=Il(LD,Mi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),S1=Il(PD,Mi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Fw=Il(FD,D1,S1,E1),jD=Mi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I1=Mi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),M1=Mi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),T1=Il(jD,I1,M1),A1=Mi("script,style,template"),Kg=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=k1(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=O1(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=Lw(n).toLowerCase();if(!Fw.hasOwnProperty(e))return this.sanitizedSomething=!0,!A1.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!T1.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;jD[a]&&(l=cf(l)),this.buf.push(" ",s,'="',Pw(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=Lw(n).toLowerCase();Fw.hasOwnProperty(e)&&!FD.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Pw(n))}};N1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,F1=/([^\#-~ |!])/g;bt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(bt||{});V1=/^>|^->|<!--|-->|--!>|<!-$/g,B1=/(<|>)/g,U1="\u200B$1\u200B";HD="ng-template";un={};df=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(df||{});fj=()=>null;_i=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(_i||{});kj=Oj;iS=[];Uj=ie(_({},Zo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{ks(t.lView)},consumerOnSignalRead(){this.lView[vn]=this}});zj=ie(_({},Zo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=so(t.lView);for(;n&&!rS(n[oe]);)n=so(n);n&&Vy(n)},consumerOnSignalRead(){this.lView[vn]=this}});$j=100;bl=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,e=n[oe];return ju(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i}get context(){return this._lView[ct]}set context(n){this._lView[ct]=n}get destroyed(){return Os(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[St];if(Di(n)){let e=n[Mu],i=e?e.indexOf(this):-1;i>-1&&(vl(n,i),Du(e,i))}this._attachedToViewContainer=!1}ff(this._lView[oe],this._lView)}onDestroy(n){VE(this._lView,n)}markForCheck(){_v(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[J]&=-129}reattach(){Mg(this._lView),this._lView[J]|=128}detectChanges(){this._lView[J]|=1024,sS(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Tu(this._lView),e=this._lView[io];e!==null&&!n&&vv(e,this._lView),ZD(this._lView[oe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n;let e=Tu(this._lView),i=this._lView[io];i!==null&&!e&&hS(i,this._lView),Mg(this._lView)}};an=(()=>{class t{static __NG_ELEMENT_ID__=Jj}return t})(),Zj=an,Xj=class extends Zj{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=Ml(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new bl(r)}};F7=new RegExp(`^(\\d+)*(${d1}|${c1})*(.*)`),iV=()=>null;rV=class{},gS=class{},Xg=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Wt(n)}.`)}},go=class{static NULL=new Xg},dt=class{},ut=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>oV()}return t})();sV=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})(),fg={},Jg=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Yu(i);let r=this.injector.get(n,fg,i);return r!==fg||e===fg?r:this.parentInjector.get(n,e,i)}};Vu=class extends go{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=dr(n);return new co(e,this.ngModule)}};co=class extends gS{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=vV(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=bV(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=J1(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r){Fe(22);let o=fe(null);try{let s=this.componentDef,a=i?["ng-version","19.2.14"]:ej(this.componentDef.selectors[0]),l=lv(0,null,null,1,0,null,null,null,null,[a],null),c=_V(s,r||this.ngModule,n),d=CV(c),h=d.rendererFactory.createRenderer(null,s),m=i?dj(h,i,s.encapsulation,c):xV(s,h),p=cv(null,l,null,512|qD(s),null,null,d,h,c,null,ID(m,c,!0));p[st]=m,qy(p);let g=null;try{let y=vS(st,l,p,"#host",()=>[this.componentDef],!0,0);m&&(WD(h,m,y),Ps(m,p)),uf(l,p,y),iv(l,y,p),bS(l,y),e!==void 0&&wV(y,this.ngContentSelectors,e),g=Qn(y.index,p),p[ct]=g[ct],mv(l,p,null)}catch(y){throw g!==null&&Pg(g),Pg(p),y}finally{Fe(23),Ky()}return new ty(this.componentType,p)}finally{fe(o)}}},ty=class extends rV{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e){super(),this._rootLView=e,this._tNode=Ly(e[oe],st),this.location=Fs(this._tNode,e),this.instance=Qn(this._tNode.index,e)[ct],this.hostView=this.changeDetectorRef=new bl(e,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=pv(i,r[oe],r,n,e);this.previousInputValues.set(n,e);let s=Qn(i.index,r);_v(s,1)}get injector(){return new eo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};Mt=(()=>{class t{static __NG_ELEMENT_ID__=EV}return t})();DV=Mt,_S=class extends DV{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Fs(this._hostTNode,this._hostLView)}get injector(){return new eo(this._hostTNode,this._hostLView)}get parentInjector(){let n=Qy(this._hostTNode,this._hostLView);if(XE(n)){let e=Ou(n,this._hostLView),i=Ru(n),r=e[oe].data[i+8];return new eo(r,e)}else return new eo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Gw(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Dt}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Ms(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Is(this._hostTNode,s)),a}createComponent(n,e,i,r,o){let s=n&&!rP(n),a;if(s)a=e;else{let g=e||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let l=s?n:new co(dr(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(et,null);y&&(o=y)}let d=dr(l.componentType??{}),h=Ms(this._lContainer,d?.id??null),m=h?.firstChild??null,p=l.create(c,r,m,o);return this.insertImpl(p.hostView,a,Is(this._hostTNode,h)),p}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(dP(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[St],c=new _S(l,l[Yt],l[St]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return Tl(s,r,o,i),n.attachToViewContainerRef(),bE(hg(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Gw(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=vl(this._lContainer,e);i&&(Du(hg(this._lContainer),e),ff(i[oe],i))}detach(n){let e=this._adjustIndex(n,-1),i=vl(this._lContainer,e);return i&&Du(hg(this._lContainer),e)!=null?new bl(i):null}_adjustIndex(n,e=0){return n??this.length+e}};IV=AV,MV=()=>!1;ny=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},iy=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)wv(n,e).matches!==null&&this.queries[e].setDirty()}},Bu=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=LV(n):this.predicate=n}},ry=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},oy=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,RV(e,o)),this.matchTNodeWithReadOption(n,e,bu(e,n,o,!1,!1))}else i===an?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,bu(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===B||r===Mt||r===an&&e.type&4)this.addMatch(e.index,-2);else{let o=bu(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};MS=(Ww.required=HV,Ww),Ci=class{},Ev=class{},ay=class extends Ci{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vu(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=xE(n);this._bootstrapComponents=UD(o.bootstrap),this._r3Injector=aD(n,e,[{provide:Ci,useValue:this},{provide:go,useValue:this.componentFactoryResolver},...i],Wt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},ly=class extends Ev{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ay(this.moduleType,n,[])}},Uu=class extends Ci{injector;componentFactoryResolver=new Vu(this);instance=null;constructor(n){super();let e=new pl([...n.providers,{provide:Ci,useValue:this},{provide:go,useValue:this.componentFactoryResolver}],n.parent||Ju(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};zV=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=EE(!1,e.type),r=i.length>0?Al([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:t,providedIn:"environment",factory:()=>new t(D(et))})}return t})();aB=lB;Sv=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();NS=new C(""),FS=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new dy})}return t})(),dy=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),this.queuedEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}};PS=new C("");jS=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(PS,{optional:!0})??[];injector=u(he);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Kt(this.injector,r);if(yo(o))e.push(o);else if(LS(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rl=new C("");uB=10,qt=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(e1);afterRenderManager=u(DD);zonelessEnabled=u(Zy);rootEffectScheduler=u(FS);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new T;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(hr).hasPendingTasks.pipe(j(e=>!e));constructor(){u(js,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(et);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=he.NULL){Fe(10);let o=e instanceof gS;if(!this._injector.get(jS).done){let p="";throw new w(405,p)}let a;o?a=e:a=this._injector.get(go).resolveComponentFactory(e),this.componentTypes.push(a.componentType);let l=dB(a)?void 0:this._injector.get(Ci),c=i||a.selector,d=a.create(r,[],c,l),h=d.location.nativeElement,m=d.injector.get(NS,null);return m?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),_u(this.components,d),m?.unregisterApplication(h)}),this._loadComponent(d),Fe(11,d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Fe(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(tv.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);let e=fe(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,fe(e),this.afterTick.next(),Fe(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(dt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<uB;)Fe(14),this.synchronizeOnce(),Fe(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let e=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)fB(i,r,e,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>El(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;_u(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Rl,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>_u(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Rn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};py=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};$u=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};gy=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Dt}};yy=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};vy=class extends py{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Dt}at(n){return this.getLView(n)[ct].$implicit}attach(n,e){let i=e[Cs];this.needsIndexUpdate||=n!==this.length,Tl(this.lContainer,e,n,Is(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,kB(this.lContainer,n)}create(n,e){let i=Ms(this.lContainer,this.templateTNode.tView.ssrId),r=Ml(this.hostLView,this.templateTNode,new gy(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){ff(n[oe],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ct].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ct].$index=n}getLView(n){return NB(this.lContainer,n)}};FB=(t,n,e,i,r,o)=>(sf(!0),$D(i,r,AP()));PB=(t,n,e,i)=>(sf(!0),ij(n[Ze],""));Wu="en-US",jB=Wu;$B=(t,n,e,i,r)=>(sf(!0),tj(n[Ze],i));GB={};xi=class{full;major;minor;patch;constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Rv=new xi("19.2.14"),xy=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},uI=(()=>{class t{compileModuleSync(e){return new ly(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=xE(e),o=UD(r.declarations).reduce((s,a)=>{let l=dr(a);return l&&s.push(new co(l)),s},[]);return new xy(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XB=(()=>{class t{zone=u(L);changeDetectionScheduler=u(vi);applicationRef=u(qt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();t2=(()=>{class t{subscription=new _e;initialized=!1;zone=u(L);pendingTasks=u(hr);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),n2=(()=>{class t{appRef=u(qt);taskService=u(hr);ngZone=u(L);zonelessEnabled=u(Zy);tracing=u(js,{optional:!0});disableScheduling=u(cD,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Lu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(dD,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Lg||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?Iw:uD;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Lu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Iw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Ov=new C("",{providedIn:"root",factory:()=>u(Ov,ce.Optional|ce.SkipSelf)||i2()}),wy=new C(""),r2=new C("");Cu=null;at=(()=>{class t{static __NG_ELEMENT_ID__=u2}return t})();Ey=class{constructor(){}supports(n){return kS(n)}create(n){return new Dy(n)}},h2=(t,n)=>n,Dy=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||h2}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<iE(i,r,o)?e:i,a=iE(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let m=0;m<c;m++){let p=m<o.length?o[m]:o[m]=0,g=p+m;d<=g&&g<c&&(o[m]=p+1)}let h=s.previousIndex;o[h]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!kS(n))throw new w(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,nB(n,a=>{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Sy(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new qu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new qu),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Sy=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Iy=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},qu=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Iy,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};_f=(()=>{class t{factories;static \u0275prov=v({token:t,providedIn:"root",factory:rE});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||rE()),deps:[[t,new vE,new Qu]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new w(901,!1)}}return t})();My=class{[Ut];constructor(n){this[Ut]=n}destroy(){this[Ut].destroy()}};fI=ie(_({},Zo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:yl,run(){if(this.dirty=!1,this.hasRun&&!xd(this))return;this.hasRun=!0;let t=i=>(this.cleanupFns??=[]).push(i),n=qa(this),e=Au(!1);try{this.maybeCleanup(),this.fn(t)}finally{Au(e),Cd(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),p2=ie(_({},fI),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ka(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),m2=ie(_({},fI),{consumerMarkedDirty(){this.view[J]|=8192,ks(this.view),this.notifier.notify(13)},destroy(){Ka(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ro]?.delete(this)}});});function b2(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function _2(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function C2(t,n){if(!Fv){let e=Element.prototype;Fv=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Fv.call(t,n):!1}function x2(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[b2(i)]=[e,r]}),n}function w2(t,n){return n.get(go).resolveComponentFactory(t).inputs}function E2(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=D2(a,n,r);l!==-1&&i[l].push(a)}return i}function D2(t,n,e){let i=e;return _2(t)&&n.some((r,o)=>r!=="*"&&C2(t,r)?(i=o,!0):!1),i}function Vv(t,n){let e=w2(t,n.injector),i=n.strategyFactory||new Lv(t,n.injector),r=x2(e);class o extends jv{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[h,m]=r[a];this.ngElementStrategy.setInputValue(h,c,m)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var v2,Fv,S2,Lv,Pv,jv,pI=f(()=>{"use strict";b();Se();Qe();v2={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};S2=10,Lv=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(go).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new Pv(this.componentFactory,n,this.inputMap)}},Pv=class{componentFactory;injector;inputMap;eventEmitters=new qr(1);events=this.eventEmitters.pipe(We(n=>Et(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,e,i){this.componentFactory=n,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get(L),this.appRef=this.injector.get(qt),this.cdScheduler=e.get(vi),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=v2.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},S2))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e){if(this.componentRef===null){this.initialInputValues.set(n,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,e),pS(this.componentRef.hostView)&&(mS(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=he.create({providers:[],parent:this.injector}),i=E2(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,e]of this.initialInputValues)this.setInputValue(n,e);this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=n.instance[i];return new Z(s=>{let a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(e)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},jv=class extends HTMLElement{ngElementEventsSubscription=null}});var H,xf=f(()=>{"use strict";b();H=new C("")});function Cn(){return yI}function Bv(t){yI??=t}function wf(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function mI(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Nn(t){return t&&t[0]!=="?"?`?${t}`:t}function I2(){return new ei(D(Fn))}function M2(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function gI(t){return t.replace(/\/index.html$/,"")}function T2(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var yI,Nl,Fl,Uv,vI,Fn,Ef,Df,ei,Hv=f(()=>{"use strict";b();b();Se();xf();yI=null;Nl=class{},Fl=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(vI),providedIn:"platform"})}return t})(),Uv=new C(""),vI=(()=>{class t extends Fl{_location;_history;_doc=u(H);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Cn().getBaseHref(this._doc)}onPopState(e){let i=Cn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Cn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})();Fn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(Df),providedIn:"root"})}return t})(),Ef=new C(""),Df=(()=>{class t extends Fn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(H).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return wf(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Nn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(D(Fl),D(Ef,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ei=(()=>{class t{_subject=new T;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=T2(mI(gI(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Nn(i))}normalize(e){return t.stripTrailingSlash(M2(this._basePath,gI(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Nn(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Nn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Nn;static joinWithSlash=wf;static stripTrailingSlash=mI;static \u0275fac=function(i){return new(i||t)(D(Fn))};static \u0275prov=v({token:t,factory:()=>I2(),providedIn:"root"})}return t})()});function _I(t,n){t.context.$implicit=n.item}function CI(t,n){if(t&&!t.createEmbeddedView)throw new w(2020,!1)}function R2(t,n){return new w(2100,!1)}var $v,zv,bI,Oi,Sf,Gs,ki,If,Ll,Gv,Jt,xI=f(()=>{"use strict";b();b();Hv();$v=(()=>{class t extends Fn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=wf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(D(Fl),D(Ef,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),zv=/\s+/,bI=[],Oi=(()=>{class t{_ngEl;_renderer;initialClasses=bI;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(zv):bI}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(zv):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(zv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(A(B),A(ut))};static \u0275dir=P({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),Sf=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Gs=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Sf(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),_I(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);_I(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(A(Mt),A(an),A(_f))};static \u0275dir=P({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();ki=(()=>{class t{_viewContainer;_context=new If;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){CI(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){CI(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(A(Mt),A(an))};static \u0275dir=P({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),If=class{$implicit=null;ngIf=null};Ll=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(A(Mt))};static \u0275dir=P({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ve]})}return t})();Gv=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw R2(t,e);return e.toUpperCase()}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Bs({name:"uppercase",type:t,pure:!0})}return t})(),Jt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});function Pl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}function ti(t){return t===Mf}function Ni(t){return t===wI}var Mf,wI,bo,Tf=f(()=>{"use strict";Mf="browser",wI="server";bo=class{}});function O2(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var DI,Wv,pe=f(()=>{"use strict";xI();b();Tf();Tf();xf();Hv();DI=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Wv(u(H),window)})}return t})(),Wv=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=O2(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}}});function SI(t){for(let n of t)n.remove()}function II(t,n){let e=n.createElement("style");return e.textContent=t,e}function k2(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Af}="${n}"],link[${Af}="${n}"]`);if(r)for(let o of r)o.removeAttribute(Af),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Kv(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}function j2(t){return F2.replace(Xv,t)}function V2(t){return N2.replace(Xv,t)}function AI(t,n){return n.map(e=>e.replace(Xv,t))}function MI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Of,Qv,jl,Af,Zv,qv,Xv,TI,N2,F2,L2,P2,Ul,Vl,Yv,Bl,Rf,Jv=f(()=>{"use strict";pe();b();b();Of=new C(""),Qv=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(D(Of),D(L))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),jl=class{_doc;constructor(n){this._doc=n}manager},Af="ng-app-id";Zv=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.isServer=Ni(o),k2(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,II);i?.forEach(r=>this.addUsage(r,this.external,Kv))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(SI(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])SI(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,II(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Kv(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Af,this.appId),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(D(H),D(po),D(mo,8),D(Qt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),qv={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Xv=/%COMP%/g,TI="%COMP%",N2=`_nghost-${TI}`,F2=`_ngcontent-${TI}`,L2=!0,P2=new C("",{providedIn:"root",factory:()=>L2});Ul=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l,c=null,d=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=d,this.platformIsServer=Ni(a),this.defaultRenderer=new Vl(e,s,l,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Zn.ShadowDom&&(i=ie(_({},i),{encapsulation:Zn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof Rf?r.applyToHost(e):r instanceof Bl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,m=this.tracingService;switch(i.encapsulation){case Zn.Emulated:o=new Rf(l,c,i,this.appId,d,s,a,h,m);break;case Zn.ShadowDom:return new Yv(l,c,e,i,s,a,this.nonce,h,m);default:o=new Bl(l,c,i,d,s,a,h,m);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(D(Qv),D(Zv),D(po),D(P2),D(H),D(Qt),D(L),D(mo),D(js,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Vl=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(qv[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(MI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(MI(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new w(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=qv[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=qv[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(_i.DashCase|_i.Important)?n.style.setProperty(e,i,r&_i.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&_i.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Cn().getGlobalEventTarget(this.doc,n),!n))throw new w(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};Yv=class extends Vl{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=AI(r.id,d);for(let m of d){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=m,this.shadowRoot.appendChild(p)}let h=r.getExternalStyles?.();if(h)for(let m of h){let p=Kv(m,o);a&&p.setAttribute("nonce",a),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Bl=class extends Vl{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles;this.styles=c?AI(c,d):d,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Rf=class extends Bl{contentAttr;hostAttr;constructor(n,e,i,r,o,s,a,l,c){let d=r+"-"+i.id;super(n,e,i,o,s,a,l,c,d),this.contentAttr=j2(d),this.hostAttr=V2(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}});function B2(){return Hl=Hl||document.head.querySelector("base"),Hl?Hl.getAttribute("href"):null}function U2(t){return new URL(t,document.baseURI).pathname}function eb(t,n){return kv(_({rootComponent:t},NI(n)))}function tb(t){return kv(NI(t))}function NI(t){return{appProviders:[...Y2,...t?.providers??[]],platformProviders:K2}}function G2(){kf.makeCurrent()}function W2(){return new Lt}function q2(){return xD(document),document}var kf,Hl,H2,OI,RI,z2,$2,kI,K2,Y2,FI=f(()=>{"use strict";pe();b();b();Jv();kf=class t extends Nl{supportsDOMEvents=!0;static makeCurrent(){Bv(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=B2();return e==null?null:U2(e)}resetBaseElement(){Hl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Pl(document.cookie,n)}},Hl=null;H2=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),OI=(()=>{class t extends jl{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),RI=["alt","control","meta","shift"],z2={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$2={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kI=(()=>{class t extends jl{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=t.parseEventName(i),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cn().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),RI.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=z2[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),RI.forEach(s=>{if(s!==r){let a=$2[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();K2=[{provide:Qt,useValue:Mf},{provide:ev,useValue:G2,multi:!0},{provide:H,useFactory:q2}],Y2=[{provide:Xu,useValue:"root"},{provide:Lt,useFactory:W2},{provide:Of,useClass:OI,multi:!0,deps:[H]},{provide:Of,useClass:kI,multi:!0,deps:[H]},Ul,Zv,Qv,{provide:dt,useExisting:Ul},{provide:bo,useClass:H2},[]]});function Q2(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function LI(t){return encodeURIComponent(t).replace(Z2,(n,e)=>X2[e]??n)}function Nf(t){return`${t}`}function J2(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function PI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function jI(t){return typeof Blob<"u"&&t instanceof Blob}function VI(t){return typeof FormData<"u"&&t instanceof FormData}function eU(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function nb(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function oU(t,n){return n(t)}function sU(t,n,e){return(i,r)=>Kt(e,()=>n(i,o=>t(o,r)))}function cU(t){return"responseURL"in t&&t.responseURL?t.responseURL:lU.test(t.getAllResponseHeaders())?t.getResponseHeader(HI):null}function mU(t,n){let e=t.url.toLowerCase();if(!u(qI)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=u(Wl).getToken(),r=u(hU);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}function gU(t,n){return{\u0275kind:t,\u0275providers:n}}function sb(...t){let n=[Pi,ib,jf,{provide:Ks,useExisting:jf},{provide:zl,useFactory:()=>u(rU,{optional:!0})??u(ib)},{provide:rb,useValue:mU,multi:!0},{provide:qI,useValue:!0},{provide:Wl,useClass:pU}];for(let e of t)n.push(...e.\u0275providers);return wl(n)}function ab(t){return gU(ob.Interceptors,t.map(n=>({provide:rb,useValue:n,multi:!0})))}var Ks,zl,Li,Ff,Z2,X2,Fi,Lf,BI,UI,HI,zI,$I,tU,qs,_o,Ys,Pf,$l,Gl,nU,iU,Pi,rU,rb,GI,WI,jf,aU,lU,ib,qI,dU,uU,fU,hU,Wl,pU,ob,lb=f(()=>{"use strict";b();b();Qe();Se();Tf();xf();Ks=class{},zl=class{},Li=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
- `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}},Ff=class{encodeKey(n){return LI(n)}encodeValue(n){return LI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};Z2=/%(\d[a-f0-9])/gi,X2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Fi=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Ff,n.fromString){if(n.fromObject)throw new w(2805,!1);this.map=Q2(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Nf):[Nf(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Nf(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Nf(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}},Lf=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};BI="Content-Type",UI="Accept",HI="X-Request-URL",zI="text/plain",$I="application/json",tU=`${$I}, ${zI}, */*`,qs=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(J2(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Li,this.context??=new Lf,!this.params)this.params=new Fi,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||PI(this.body)||jI(this.body)||VI(this.body)||eU(this.body)?this.body:this.body instanceof Fi?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||VI(this.body)?null:jI(this.body)?this.body.type||null:PI(this.body)?null:typeof this.body=="string"?zI:this.body instanceof Fi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$I:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,d=n.params||this.params,h=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((m,p)=>m.set(p,n.setHeaders[p]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,p)=>m.set(p,n.setParams[p]),d)),new t(e,i,s,{params:d,headers:c,context:h,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},_o=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(_o||{}),Ys=class{headers;status;statusText;url;ok;type;constructor(n,e=200,i="OK"){this.headers=n.headers||new Li,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Pf=class t extends Ys{constructor(n={}){super(n)}type=_o.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},$l=class t extends Ys{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=_o.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Gl=class extends Ys{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},nU=200,iU=204;Pi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof qs)o=e;else{let l;r.headers instanceof Li?l=r.headers:l=new Li(r.headers);let c;r.params&&(r.params instanceof Fi?c=r.params:c=new Fi({fromObject:r.params})),o=new qs(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=k(o).pipe(yn(l=>this.handler.handle(l)));if(e instanceof qs||r.observe==="events")return s;let a=s.pipe(me(l=>l instanceof $l));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(j(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new w(2806,!1);return l.body}));case"blob":return a.pipe(j(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new w(2807,!1);return l.body}));case"text":return a.pipe(j(l=>{if(l.body!==null&&typeof l.body!="string")throw new w(2808,!1);return l.body}));case"json":default:return a.pipe(j(l=>l.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Fi().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,nb(r,i))}post(e,i,r={}){return this.request("POST",e,nb(r,i))}put(e,i,r={}){return this.request("PUT",e,nb(r,i))}static \u0275fac=function(i){return new(i||t)(D(Ks))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),rU=new C("");rb=new C(""),GI=new C(""),WI=new C("",{providedIn:"root",factory:()=>!0}),jf=(()=>{class t extends Ks{backend;injector;chain=null;pendingTasks=u(hr);contributeToStability=u(WI);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(rb),...this.injector.get(GI,[])]));this.chain=i.reduceRight((r,o)=>sU(r,o,this.injector),oU)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe($t(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(D(zl),D(et))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),aU=/^\)\]\}',?\n/,lU=RegExp(`^${HI}:`,"m");ib=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Te(i.\u0275loadImpl()):k(null)).pipe(We(()=>new Z(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,I)=>s.setRequestHeader(y,I.join(","))),e.headers.has(UI)||s.setRequestHeader(UI,tU),!e.headers.has(BI)){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader(BI,y)}if(e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",I=new Li(s.getAllResponseHeaders()),R=cU(s)||e.url;return l=new Pf({headers:I,status:s.status,statusText:y,url:R}),l},d=()=>{let{headers:y,status:I,statusText:R,url:ne}=c(),ue=null;I!==iU&&(ue=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=ue?nU:0);let tt=I>=200&&I<300;if(e.responseType==="json"&&typeof ue=="string"){let nr=ue;ue=ue.replace(aU,"");try{ue=ue!==""?JSON.parse(ue):null}catch(mn){ue=nr,tt&&(tt=!1,ue={error:mn,text:ue})}}tt?(o.next(new $l({body:ue,headers:y,status:I,statusText:R,url:ne||void 0})),o.complete()):o.error(new Gl({error:ue,headers:y,status:I,statusText:R,url:ne||void 0}))},h=y=>{let{url:I}=c(),R=new Gl({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});o.error(R)},m=!1,p=y=>{m||(o.next(c()),m=!0);let I={type:_o.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(I.total=y.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),o.next(I)},g=y=>{let I={type:_o.UploadProgress,loaded:y.loaded};y.lengthComputable&&(I.total=y.total),o.next(I)};return s.addEventListener("load",d),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),o.next({type:_o.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",d),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||t)(D(bo))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),qI=new C(""),dU="XSRF-TOKEN",uU=new C("",{providedIn:"root",factory:()=>dU}),fU="X-XSRF-TOKEN",hU=new C("",{providedIn:"root",factory:()=>fU}),Wl=class{},pU=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Pl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(D(H),D(uU))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();ob=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(ob||{})});var ql=f(()=>{"use strict";lb();lb();});var KI,Kl,vU,Yl=f(()=>{"use strict";FI();pe();b();b();KI=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=D(vU),r},providedIn:"root"})}return t})(),vU=(()=>{class t extends Kl{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case bt.NONE:return i;case bt.HTML:return Ii(i,"HTML")?bn(i):rv(this._doc,String(i)).toString();case bt.STYLE:return Ii(i,"Style")?bn(i):i;case bt.SCRIPT:if(Ii(i,"Script"))return bn(i);throw new w(5200,!1);case bt.URL:return Ii(i,"URL")?bn(i):cf(String(i));case bt.RESOURCE_URL:if(Ii(i,"ResourceURL"))return bn(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return AD(e)}bypassSecurityTrustStyle(e){return RD(e)}bypassSecurityTrustScript(e){return OD(e)}bypassSecurityTrustUrl(e){return kD(e)}bypassSecurityTrustResourceUrl(e){return ND(e)}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Vf(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,r;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(let o=0;o<r;o++)if(!Vf(t[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(ji(t)&&ji(n)){let o=Object.create(null);for(let s in t){if(!Vf(t[s],n[s]))return!1;o[s]=!0}for(let s in n)if(!(s in o)&&typeof n[s]<"u")return!1;return!0}}return!1}function gr(t){return typeof t<"u"&&t!==null}function YI(t){return t!==void 0}function ji(t){return Zl(t)&&!Co(t)&&t!==null}function Zl(t){return typeof t=="object"&&t!==null}function Co(t){return Array.isArray(t)}function Bf(t){return typeof t=="string"}function xU(t){return typeof t=="function"}function Uf(t){if(Co(t))return t.map(n=>Uf(n));if(ji(t)){let n={};return Object.keys(t).forEach(e=>{n[e]=Uf(t[e])}),n}else return t}function fb(t,n){if(!Zl(t))return Uf(n);let e=Uf(t);return Zl(e)&&Zl(n)&&Object.keys(n).forEach(i=>{ji(n[i])?i in t?e[i]=fb(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}function ZI(t,n){let e=n.split(".");n="";do{n+=e.shift();let i=!e.length;if(gr(t)){if(ji(t)&&YI(t[n])&&(ji(t[n])||Co(t[n])||i)){t=t[n],n="";continue}if(Co(t)){let r=parseInt(n,10);if(YI(t[r])&&(ji(t[r])||Co(t[r])||i)){t=t[r],n="";continue}}}if(i){t=void 0;continue}n+="."}while(e.length);return t}function wU(t,n,e){return fb(t,EU(n,e))}function EU(t,n){return t.split(".").reduceRight((e,i)=>({[i]:e}),n)}function SU(t){return{provide:Zs,useClass:t}}function IU(t){return{provide:Qs,useClass:t}}function MU(t){return{provide:Xs,useClass:t}}function TU(t){return{provide:Xl,useClass:t}}function QI(t={},n){let e=[];t.loader&&e.push(t.loader),t.compiler&&e.push(t.compiler),t.parser&&e.push(t.parser),t.missingTranslationHandler&&e.push(t.missingTranslationHandler),n&&e.push(db),(t.useDefaultLang||t.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),t.useDefaultLang===!0&&t.defaultLanguage&&(t.fallbackLang=t.defaultLanguage));let i={fallbackLang:t.fallbackLang??null,lang:t.lang,extend:t.extend??!1};return e.push({provide:ub,useValue:i}),e.push({provide:Vi,useClass:Vi,deps:[db,Zs,Qs,Xs,Xl,ub]}),e}var Xl,bU,Qs,_U,Zs,CU,Xs,DU,db,ub,Ql,Vi,pt,ni,mt=f(()=>{"use strict";b();b();Se();Qe();Xl=class{},bU=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Qs=class{},_U=(()=>{class t extends Qs{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Zs=class{},CU=(()=>{class t extends Zs{getTranslation(e){return k({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();Xs=class{},DU=(()=>{class t extends Xs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(Bf(e))return this.interpolateString(e,i);if(xU(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getInterpolationReplacement(i,o);return s!==void 0?s:r}):e}getInterpolationReplacement(e,i){return this.formatValue(ZI(e,i))}formatValue(e){if(Bf(e))return e;if(typeof e=="number"||typeof e=="boolean")return e.toString();if(e===null)return"null";if(Co(e))return e.join(", ");if(Zl(e))return typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():JSON.stringify(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),db=(()=>{class t{_onTranslationChange=new T;_onLangChange=new T;_onFallbackLangChange=new T;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(e){return this.translations[e]}setTranslations(e,i,r){this.translations[e]=r&&this.hasTranslationFor(e)?fb(this.translations[e],i):i,this.addLanguages([e]),this._onTranslationChange.next({lang:e,translations:this.getTranslations(e)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(e,i=!0){this.fallbackLang=e,i&&this._onFallbackLangChange.next({lang:e,translations:this.translations[e]})}setCurrentLang(e,i=!0){this.currentLang=e,i&&this._onLangChange.next({lang:e,translations:this.translations[e]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(e){this.languages=Array.from(new Set([...this.languages,...e]))}hasTranslationFor(e){return typeof this.translations[e]<"u"}deleteTranslations(e){delete this.translations[e]}getTranslation(e){let i=this.getValue(this.currentLang,e);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,e)),i}getValue(e,i){return ZI(this.getTranslations(e),i)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ub=new C("TRANSLATE_CONFIG"),Ql=t=>Mn(t)?t:k(t),Vi=(()=>{class t{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=u(Zs);compiler=u(Qs);parser=u(Xs);missingTranslationHandler=u(Xl);store=u(db);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let e=_({extend:!1,fallbackLang:null},u(ub,{optional:!0}));e.lang&&this.use(e.lang),e.fallbackLang&&this.setFallbackLang(e.fallbackLang),e.extend&&(this.extend=!0)}setFallbackLang(e){this.getFallbackLang()||this.store.setFallbackLang(e,!1);let i=this.loadOrExtendLanguage(e);return Mn(i)?(i.pipe(Pe(1)).subscribe({next:()=>{this.store.setFallbackLang(e)},error:()=>{}}),i):(this.store.setFallbackLang(e),k(this.store.getTranslations(e)))}use(e){this.lastUseLanguage=e,this.getCurrentLang()||this.store.setCurrentLang(e,!1);let i=this.loadOrExtendLanguage(e);return Mn(i)?(i.pipe(Pe(1)).subscribe({next:()=>{this.changeLang(e)},error:()=>{}}),i):(this.changeLang(e),k(this.store.getTranslations(e)))}loadOrExtendLanguage(e){if(!this.store.hasTranslationFor(e)||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}changeLang(e){e===this.lastUseLanguage&&this.store.setCurrentLang(e)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Xr(1),Pe(1));return this.loadingTranslations=i.pipe(j(r=>this.compiler.compileTranslations(r,e)),Xr(1),Pe(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(e,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);this.store.setTranslations(e,o,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(e){this.store.addLanguages(e)}getParsedResultForKey(e,i){let r=this.getTextToInterpolate(e);if(gr(r))return this.runInterpolation(r,i);let o=this.missingTranslationHandler.handle(_({key:e,translateService:this},i!==void 0&&{interpolateParams:i}));return o!==void 0?o:e}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(e){return this.store.getTranslation(e)}runInterpolation(e,i){if(gr(e))return Co(e)?this.runInterpolationOnArray(e,i):ji(e)?this.runInterpolationOnDict(e,i):this.parser.interpolate(e,i)}runInterpolationOnArray(e,i){return e.map(r=>this.runInterpolation(r,i))}runInterpolationOnDict(e,i){let r={};for(let o in e){let s=this.runInterpolation(e[o],i);s!==void 0&&(r[o]=s)}return r}getParsedResult(e,i){return e instanceof Array?this.getParsedResultForArray(e,i):this.getParsedResultForKey(e,i)}getParsedResultForArray(e,i){let r={},o=!1;for(let a of e)r[a]=this.getParsedResultForKey(a,i),o=o||Mn(r[a]);if(!o)return r;let s=e.map(a=>Ql(r[a]));return Zr(s).pipe(j(a=>{let l={};return a.forEach((c,d)=>{l[e[d]]=c}),l}))}get(e,i){if(!gr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(yn(()=>Ql(this.getParsedResult(e,i)))):Ql(this.getParsedResult(e,i))}getStreamOnTranslationChange(e,i){if(!gr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Tn(on(()=>this.get(e,i)),this.onTranslationChange.pipe(We(()=>{let r=this.getParsedResult(e,i);return Ql(r)})))}stream(e,i){if(!gr(e)||!e.length)throw new Error('Parameter "key" required');return Tn(on(()=>this.get(e,i)),this.onLangChange.pipe(We(()=>{let r=this.getParsedResult(e,i);return Ql(r)})))}instant(e,i){if(!gr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(e,i);return Mn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.getCurrentLang()){this.store.setTranslations(r,wU(this.store.getTranslations(r),e,Bf(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),!1)}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],this.store.deleteTranslations(e)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return t.getBrowserLang()}getBrowserCultureLang(){return t.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(e){return this.setFallbackLang(e)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),pt=(()=>{class t{translate=u(Vi);_ref=u(at);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(e,i);Mn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(Vf(e,this.lastKey)&&Vf(i,this.lastParams))return this.value;let r;if(gr(i[0])&&i.length)if(Bf(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ji(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{(this.lastKey&&o.lang===this.translate.getCurrentLang()||o.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Bs({name:"translate",type:t,pure:!1});static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();ni=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[...QI(_({compiler:IU(_U),parser:MU(DU),loader:SU(CU),missingTranslationHandler:TU(bU)},e),!0)]}}static forChild(e={}){return{ngModule:t,providers:[...QI(e,e.isolate??!1)]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});var Js,Hf=f(()=>{"use strict";b();Js=new C("web-component-auth")});var zf,hb=f(()=>{"use strict";b();mt();Hf();b();zf=(()=>{class t{#e;#t;#n;#r;#i;get uiLanguage(){return this.#i}set uiLanguage(e){e!==this.#i&&(this.#i=e,this.#i=e,this.#c())}constructor(e){this.#e="lang",this.#t=u(Vi),this.#n=u(Js),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",this.#r=e}ngOnInit(){this.#s(),this.#l(this.#r),this.#o()}ngOnChanges(){this.#s(),this.#o()}ensureTypeBool(e){return e===!0||e==="true"}#l(e){for(let i in e)e[i]&&this.#t.setTranslation(i,e[i],!0)}#o(){this.#t.setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&this.#d(),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),this.#t.use(this.uiLanguage)}#s(){this.xApiKey&&(this.#n.xApiKey=this.xApiKey),this.skipAuthUrls&&(this.#n.skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)}#c(){this.#t.use(this.uiLanguage)}#d(){let e=this.#a();!this.uiLanguage&&e!==this.defaultLanguage&&(this.uiLanguage=e);let i=a=>{for(let l of a)if(l.type==="attributes"&&l.attributeName===this.#e){let c=this.#a();this.uiLanguage=c}},r=new MutationObserver(i),o=document.querySelector("html"),s={attributes:!0,attributeFilter:[this.#e]};r.observe(o,s)}#a(){return document.querySelector("html").getAttribute(this.#e).split("-")[0]}static{this.\u0275fac=function(i){gf()}}static{this.\u0275dir=P({type:t,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[Ve]})}}return t})()});function OU(){let t=Cn()?Cn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function yb(t){return t==null||vb(t)===0}function vb(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}function FU(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function LU(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function PU(t){return yb(t.value)?{required:!0}:null}function jU(t){return t.value===!0?null:{required:!0}}function VU(t){return yb(t.value)||NU.test(t.value)?null:{email:!0}}function BU(t){return n=>{let e=n.value?.length??vb(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function UU(t){return n=>{let e=n.value?.length??vb(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function HU(t){if(!t)return oM;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(yb(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function oM(t){return null}function sM(t){return t!=null}function aM(t){return yo(t)?Te(t):t}function lM(t){let n={};return t.forEach(e=>{n=e!=null?_(_({},n),e):n}),Object.keys(n).length===0?null:n}function cM(t,n){return n.map(e=>e(t))}function zU(t){return!t.validate}function dM(t){return t.map(n=>zU(n)?n:e=>n.validate(e))}function uM(t){if(!t)return null;let n=t.filter(sM);return n.length==0?null:function(e){return lM(cM(e,n))}}function bb(t){return t!=null?uM(dM(t)):null}function fM(t){if(!t)return null;let n=t.filter(sM);return n.length==0?null:function(e){let i=cM(e,n).map(aM);return Zr(i).pipe(j(lM))}}function _b(t){return t!=null?fM(dM(t)):null}function XI(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function hM(t){return t._rawValidators}function pM(t){return t._rawAsyncValidators}function pb(t){return t?Array.isArray(t)?t:[t]:[]}function Wf(t,n){return Array.isArray(t)?t.includes(n):t===n}function JI(t,n){let e=pb(n);return pb(t).forEach(r=>{Wf(e,r)||e.push(r)}),e}function eM(t,n){return pb(n).filter(e=>!Wf(t,e))}function mM(t){return(rh(t)?t.validators:t)||null}function GU(t){return Array.isArray(t)?bb(t):t||null}function gM(t,n){return(rh(n)?n.asyncValidators:t)||null}function WU(t){return Array.isArray(t)?_b(t):t||null}function rh(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function qU(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new w(1e3,"");if(!i[e])throw new w(1001,"")}function KU(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new w(1002,"")})}function YU(t,n){return[...n.path,t]}function rc(t,n,e=oh){Cb(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),ZU(t,n),JU(t,n),XU(t,n),QU(t,n)}function Jf(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),th(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function eh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function QU(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Cb(t,n){let e=hM(t);n.validator!==null?t.setValidators(XI(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=pM(t);n.asyncValidator!==null?t.setAsyncValidators(XI(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();eh(n._rawValidators,r),eh(n._rawAsyncValidators,r)}function th(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=hM(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=pM(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return eh(n._rawValidators,i),eh(n._rawAsyncValidators,i),e}function ZU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&yM(t,n)})}function XU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&yM(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function yM(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function JU(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function vM(t,n){t==null,Cb(t,n)}function eH(t,n){return th(t,n)}function bM(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function tH(t){return Object.getPrototypeOf(t.constructor)===AU}function _M(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function CM(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===na?e=o:tH(o)?i=o:r=o}),r||i||e||null}function nH(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function tM(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function nM(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var rM,AU,gb,RU,kU,na,nh,ih,NU,Gf,qf,xo,Bi,mb,$U,OJ,ia,Jl,$f,ea,ec,yr,Kf,nc,ic,ta,Yf,Qf,Zf,Xf,ra,oh,iH,tc,xb,oc,rH,oH,iM,sc,xM,sH,wb,aH,Eb,wM,sh,EM,vr=f(()=>{"use strict";b();b();pe();Se();Qe();rM=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(A(ut),A(B))};static \u0275dir=P({type:t})}return t})(),AU=(()=>{class t extends rM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275dir=P({type:t,features:[ge]})}return t})(),gb=new C(""),RU={provide:gb,useExisting:wi(()=>na),multi:!0};kU=new C(""),na=(()=>{class t extends rM{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!OU())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(A(ut),A(B),A(kU,8))};static \u0275dir=P({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&ee("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Tt([RU]),ge]})}return t})();nh=new C(""),ih=new C(""),NU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Gf=class{static min(n){return FU(n)}static max(n){return LU(n)}static required(n){return PU(n)}static requiredTrue(n){return jU(n)}static email(n){return VU(n)}static minLength(n){return BU(n)}static maxLength(n){return UU(n)}static pattern(n){return HU(n)}static nullValidator(n){return oM()}static compose(n){return uM(n)}static composeAsync(n){return fM(n)}};qf=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=bb(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=_b(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},xo=class extends qf{name;get formDirective(){return null}get path(){return null}},Bi=class extends qf{_parent=null;name=null;valueAccessor=null},mb=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},$U={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},OJ=ie(_({},$U),{"[class.ng-submitted]":"isSubmitted"}),ia=(()=>{class t extends mb{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(A(Bi,2))};static \u0275dir=P({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Q("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[ge]})}return t})(),Jl="VALID",$f="INVALID",ea="PENDING",ec="DISABLED",yr=class{},Kf=class extends yr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},nc=class extends yr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ic=class extends yr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},ta=class extends yr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Yf=class extends yr{source;constructor(n){super(),this.source=n}},Qf=class extends yr{source;constructor(n){super(),this.source=n}};Zf=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return _n(this.statusReactive)}set status(n){_n(()=>this.statusReactive.set(n))}_status=Ri(()=>this.statusReactive());statusReactive=cn(void 0);get valid(){return this.status===Jl}get invalid(){return this.status===$f}get pending(){return this.status==ea}get disabled(){return this.status===ec}get enabled(){return this.status!==ec}errors;get pristine(){return _n(this.pristineReactive)}set pristine(n){_n(()=>this.pristineReactive.set(n))}_pristine=Ri(()=>this.pristineReactive());pristineReactive=cn(!0);get dirty(){return!this.pristine}get touched(){return _n(this.touchedReactive)}set touched(n){_n(()=>this.touchedReactive.set(n))}_touched=Ri(()=>this.touchedReactive());touchedReactive=cn(!1);get untouched(){return!this.touched}_events=new T;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(JI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(JI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(eM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(eM(n,this._rawAsyncValidators))}hasValidator(n){return Wf(this._rawValidators,n)}hasAsyncValidator(n){return Wf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ie(_({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new ic(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new ic(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ie(_({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new nc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new nc(!0,i))}markAsPending(n={}){this.status=ea;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ta(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ie(_({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ec,this.errors=null,this._forEachChild(r=>{r.disable(ie(_({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Kf(this.value,i)),this._events.next(new ta(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Jl,this._forEachChild(i=>{i.enable(ie(_({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ie(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Jl||this.status===ea)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Kf(this.value,e)),this._events.next(new ta(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ie(_({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ec:Jl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=ea,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=aM(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new ta(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?ec:this.errors?$f:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ea)?ea:this._anyControlsHaveStatus($f)?$f:Jl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new nc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ic(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){rh(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=GU(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=WU(this._rawAsyncValidators)}},Xf=class extends Zf{constructor(n,e,i){super(mM(e),gM(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){KU(this,!0,n),Object.keys(n).forEach(i=>{qU(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},ra=new C("",{providedIn:"root",factory:()=>oh}),oh="always";iH={provide:xo,useExisting:wi(()=>xb)},tc=Promise.resolve(),xb=(()=>{class t extends xo{callSetDisabledState;get submitted(){return _n(this.submittedReactive)}_submitted=Ri(()=>this.submittedReactive());submittedReactive=cn(!1);_directives=new Set;form;ngSubmit=new z;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Xf({},bb(e),_b(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){tc.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),rc(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){tc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){tc.then(()=>{let i=this._findContainer(e.path),r=new Xf({});vM(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){tc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){tc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),_M(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Yf(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new Qf(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(A(nh,10),A(ih,10),A(ra,8))};static \u0275dir=P({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Tt([iH]),ge]})}return t})();oc=class extends Zf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(mM(e),gM(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rh(e)&&(e.nonNullable||e.initialValueIsDefault)&&(nM(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){tM(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){tM(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){nM(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},rH=t=>t instanceof oc,oH={provide:Bi,useExisting:wi(()=>sc)},iM=Promise.resolve(),sc=(()=>{class t extends Bi{_changeDetectorRef;callSetDisabledState;control=new oc;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new z;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CM(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),bM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){rc(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){iM.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Me(i);iM.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?YU(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(A(xo,9),A(nh,10),A(ih,10),A(gb,10),A(at,8),A(ra,8))};static \u0275dir=P({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Tt([oH]),ge,Ve]})}return t})(),xM=new C(""),sH={provide:Bi,useExisting:wi(()=>wb)},wb=(()=>{class t extends Bi{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new z;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=CM(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Jf(i,this,!1),rc(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bM(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Jf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||t)(A(nh,10),A(ih,10),A(gb,10),A(xM,8),A(ra,8))};static \u0275dir=P({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Tt([sH]),ge,Ve]})}return t})(),aH={provide:xo,useExisting:wi(()=>Eb)},Eb=(()=>{class t extends xo{callSetDisabledState;get submitted(){return _n(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ri(()=>this._submittedReactive());_submittedReactive=cn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new z;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(th(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return rc(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Jf(e.control||null,e,!1),nH(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),_M(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Yf(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Qf(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(Jf(i||null,e),rH(r)&&(rc(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);vM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&eH(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cb(this.form,this),this._oldForm&&th(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(A(nh,10),A(ih,10),A(ra,8))};static \u0275dir=P({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Tt([aH]),ge,Ve]})}return t})(),wM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})(),sh=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ra,useValue:e.callSetDisabledState??oh}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[wM]})}return t})(),EM=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:xM,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ra,useValue:e.callSetDisabledState??oh}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[wM]})}return t})()});function ac(t){return t.buttons===0||t.detail===0}function lc(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Sb=f(()=>{"use strict"});function DM(){if(Ib==null){let t=typeof document<"u"?document.head:null;Ib=!!(t&&(t.createShadowRoot||t.attachShadow))}return Ib}function Mb(t){if(DM()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function cc(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Pt(t){return t.composedPath?t.composedPath()[0]:t.target}var Ib,dc=f(()=>{"use strict"});function xn(t,n,e,i,r){let o=parseInt(Rv.major),s=parseInt(Rv.minor);return o>19||o===19&&s>0||o===0&&s===0?t.listen(n,e,i,r):(n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)})}var ah=f(()=>{"use strict";b()});var Tb,Le,Ui=f(()=>{"use strict";b();b();pe();try{Tb=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Tb=!1}Le=(()=>{class t{_platformId=u(Qt);isBrowser=this._platformId?ti(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||Tb)&&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||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function SM(){if(uc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>uc=!0}))}finally{uc=uc||!1}return uc}function br(t){return SM()?t:!!t.capture}var uc,Ab=f(()=>{"use strict"});function _r(t,n=0){return IM(t)?Number(t):arguments.length===2?n:0}function IM(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ri(t){return t instanceof B?t.nativeElement:t}var lh=f(()=>{"use strict";b()});var MM,TM,AM,Rb,RM,fc,OM,ch,wo,Ob=f(()=>{"use strict";b();b();Se();Qe();pe();Sb();dc();ah();Ui();Ab();lh();MM=new C("cdk-input-modality-detector-options"),TM={ignoreKeys:[18,17,224,91,16]},AM=650,Rb={passive:!0,capture:!0},RM=(()=>{class t{_platform=u(Le);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new nt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Pt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<AM||(this._modality.next(ac(e)?"keyboard":"mouse"),this._mostRecentTarget=Pt(e))};_onTouchstart=e=>{if(lc(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Pt(e)};constructor(){let e=u(L),i=u(H),r=u(MM,{optional:!0});if(this._options=_(_({},TM),r),this.modalityDetected=this._modality.pipe(cl(1)),this.modalityChanged=this.modalityDetected.pipe(al()),this._platform.isBrowser){let o=u(dt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[xn(o,i,"keydown",this._onKeydown,Rb),xn(o,i,"mousedown",this._onMousedown,Rb),xn(o,i,"touchstart",this._onTouchstart,Rb)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fc=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(fc||{}),OM=new C("cdk-focus-monitor-default-options"),ch=br({passive:!0,capture:!0}),wo=(()=>{class t{_ngZone=u(L);_platform=u(Le);_inputModalityDetector=u(RM);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(H,{optional:!0});_stopInputModalityDetector=new T;constructor(){let e=u(OM,{optional:!0});this._detectionMode=e?.detectionMode||fc.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Pt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=ri(e);if(!this._platform.isBrowser||r.nodeType!==1)return k();let o=Mb(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new T,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=ri(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=ri(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===fc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===fc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?AM:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Pt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ch),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ch)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ch),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ch),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var dh,en,hc=f(()=>{"use strict";b();b();dh=new WeakMap,en=(()=>{class t{_appRef;_injector=u(he);_environmentInjector=u(et);load(e){let i=this._appRef=this._appRef||this._injector.get(qt),r=dh.get(i);r||(r={loaders:new Set,refs:[]},dh.set(i,r),i.onDestroy(()=>{dh.get(i)?.refs.forEach(o=>o.destroy()),dh.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Cf(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var oa,sa=f(()=>{"use strict";hc();b();oa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
9
- `],encapsulation:2,changeDetection:0})}return t})()});function aa(t){return Array.isArray(t)?t:[t]}var kb=f(()=>{"use strict"});function cH(t,n){if(!kM.has(t))try{Eo||(Eo=document.createElement("style"),n&&Eo.setAttribute("nonce",n),Eo.setAttribute("type","text/css"),document.head.appendChild(Eo)),Eo.sheet&&(Eo.sheet.insertRule(`@media ${t} {body{ }}`,0),kM.add(t))}catch(e){console.error(e)}}function dH(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function NM(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var kM,Eo,lH,FM,LM=f(()=>{"use strict";b();b();Se();Qe();Ui();kb();kM=new Set,lH=(()=>{class t{_platform=u(Le);_nonce=u(mo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dH}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&cH(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();FM=(()=>{class t{_mediaMatcher=u(lH);_zone=u(L);_queries=new Map;_destroySubject=new T;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return NM(aa(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=NM(aa(e)).map(s=>this._registerQuery(s).observable),o=Qr(r);return o=Tn(o.pipe(Pe(1)),o.pipe(cl(1),pi(0))),o.pipe(j(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new Z(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Nt(i),j(({matches:s})=>({query:e,matches:s})),ve(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var uH,uh,Nb=f(()=>{"use strict";b();uH=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[uH]})}return t})()});function fH(t){try{return t.frameElement}catch{return null}}function hH(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function pH(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function mH(t){return yH(t)&&t.type=="hidden"}function gH(t){return vH(t)&&t.hasAttribute("href")}function yH(t){return t.nodeName.toLowerCase()=="input"}function vH(t){return t.nodeName.toLowerCase()=="a"}function BM(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function PM(t){if(!BM(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function bH(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function _H(t){return mH(t)?!1:pH(t)||gH(t)||t.hasAttribute("contenteditable")||BM(t)}function CH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function HM(){return null}var Pb,Lb,jb,UM,zM,xH,Vb,Cr,jM,VM,Fb,fh,pc,Bb=f(()=>{"use strict";b();b();pe();Ui();hc();sa();LM();Nb();Pb=(()=>{class t{_platform=u(Le);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return hH(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=fH(CH(e));if(i&&(PM(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=PM(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!bH(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return _H(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Lb=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?dn(n,{injector:this._injector}):setTimeout(n)}},jb=(()=>{class t{_checker=u(Pb);_ngZone=u(L);_document=u(H);_injector=u(he);constructor(){u(en).load(oa)}create(e,i=!1){return new Lb(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),UM=new C("liveAnnouncerElement",{providedIn:"root",factory:HM});zM=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),xH=0,Vb=(()=>{class t{_ngZone=u(L);_defaultOptions=u(zM,{optional:!0});_liveElement;_document=u(H);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(UM,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${xH++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cr=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Cr||{}),jM="cdk-high-contrast-black-on-white",VM="cdk-high-contrast-white-on-black",Fb="cdk-high-contrast-active",fh=(()=>{class t{_platform=u(Le);_hasCheckedHighContrastMode;_document=u(H);_breakpointSubscription;constructor(){this._breakpointSubscription=u(FM).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Cr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Cr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Cr.BLACK_ON_WHITE}return Cr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Fb,jM,VM),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Cr.BLACK_ON_WHITE?e.add(Fb,jM):i===Cr.WHITE_ON_BLACK&&e.add(Fb,VM)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pc=(()=>{class t{constructor(){u(fh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[uh]})}return t})()});var Ub,jt,hh=f(()=>{"use strict";b();b();Ub={},jt=(()=>{class t{_appId=u(po);getId(e){return this._appId!=="ng"&&(e+=this._appId),Ub.hasOwnProperty(e)||(Ub[e]=0),`${e}${Ub[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var wH,ph,GM=f(()=>{"use strict";Se();Qe();wH=200,ph=class{_letterKeyStream=new T;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new T;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:wH;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Ne(e=>this._pressedLetters.push(e)),pi(n),me(()=>this._pressedLetters.length>0),j(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}});function At(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var xr=f(()=>{"use strict"});var mh,KM=f(()=>{"use strict";b();Se();GM();xr();mh=class{_items;_activeItemIndex=-1;_activeItem=cn(null);_wrap=!1;_typeaheadSubscription=_e.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Ss?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Ls(n)&&(this._effectRef=Nv(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new T;change=new T;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new ph(e,{debounceInterval:typeof n=="number"?n: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(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||At(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.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(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=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(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return Ls(this._items)?this._items():this._items instanceof Ss?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}}});var mc,YM=f(()=>{"use strict";KM();mc=class extends mh{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}});function Wb(t,n,e){let i=yh(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(ZM)))}function vh(t,n,e){let i=yh(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(ZM)):t.removeAttribute(n)}function yh(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}function $b(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function QM(t,n){t.id||(t.id=`${XM}-${n}-${Gb++}`)}var ZM,XM,gh,Gb,JM,Hi=f(()=>{"use strict";Ob();Bb();hh();pe();b();b();Ui();hc();sa();YM();Sb();ZM=" ";XM="cdk-describedby-message",gh="cdk-describedby-host",Gb=0,JM=(()=>{class t{_platform=u(Le);_document=u(H);_messageRegistry=new Map;_messagesContainer=null;_id=`${Gb++}`;constructor(){u(en).load(oa),this._id=u(po)+"-"+Gb++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=$b(i,r);typeof i!="string"?(QM(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=$b(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${gh}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(gh);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");QM(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set($b(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=yh(e,"aria-describedby").filter(r=>r.indexOf(XM)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Wb(e,"aria-describedby",r.messageElement.id),e.setAttribute(gh,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,vh(e,"aria-describedby",r.messageElement.id),e.removeAttribute(gh)}_isElementDescribedByMessage(e,i){let r=yh(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function _h(){if(Do==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Do=!1,Do;if("scrollBehavior"in document.documentElement.style)Do=!0;else{let t=Element.prototype.scrollTo;t?Do=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Do=!1}}return Do}function la(){if(typeof document!="object"||!document)return Ln.NORMAL;if(bh==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),bh=Ln.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,bh=t.scrollLeft===0?Ln.NEGATED:Ln.INVERTED),t.remove()}return bh}var Ln,bh,Do,qb=f(()=>{"use strict";Ln=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Ln||{})});function Kb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var eT=f(()=>{"use strict"});var gc=f(()=>{"use strict";Ui();Ab();dc();ah()});function ca(t){return t!=null&&`${t}`!="false"}var tT=f(()=>{"use strict"});function rt(t){return t==null?"":typeof t=="string"?t:`${t}px`}var nT=f(()=>{"use strict"});var yc=f(()=>{"use strict";tT();lh()});function SH(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var wn,Yb,iT,Qb,vc,EH,rT,oT,sT,DH,bc,Zb,aT,Xb=f(()=>{"use strict";gc();b();b();Hi();yc();sa();wn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(wn||{}),Yb=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=wn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},iT=br({passive:!0,capture:!0}),Qb=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,iT)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,iT)))}_delegateEventHandler=n=>{let e=Pt(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},vc={enterDuration:225,exitDuration:150},EH=800,rT=br({passive:!0,capture:!0}),oT=["mousedown","touchstart"],sT=["mouseup","mouseleave","touchend","touchcancel"],DH=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
10
- `],encapsulation:2,changeDetection:0})}return t})(),bc=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Qb;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=ri(i)),o&&o.get(en).load(DH)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=_(_({},vc),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||SH(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,g=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,y=new Yb(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",y.state=wn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let I=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>{I&&(I.fallbackTimer=null),clearTimeout(ue),this._finishRippleTransition(y)},ne=()=>this._destroyRipple(y),ue=setTimeout(ne,c+100);d.addEventListener("transitionend",R),d.addEventListener("transitioncancel",ne),I={onTransitionEnd:R,onTransitionCancel:ne,fallbackTimer:ue}}),this._activeRipples.set(y,I),(g||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(n){if(n.state===wn.FADING_OUT||n.state===wn.HIDDEN)return;let e=n.element,i=_(_({},vc),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=ri(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,oT.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{sT.forEach(e=>{this._triggerElement.addEventListener(e,this,rT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wn.FADING_IN?this._startFadeOutTransition(n):n.state===wn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=ac(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+EH;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!lc(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===wn.VISIBLE||n.config.terminateOnPointerUp&&n.state===wn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(oT.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(sT.forEach(e=>n.removeEventListener(e,this,rT)),this._pointerUpEventsRegistered=!1))}};Zb=new C("mat-ripple-global-options"),aT=(()=>{class t{_elementRef=u(B);_animationMode=u(Xe,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(L),i=u(Le),r=u(Zb,{optional:!0}),o=u(he);this._globalOptions=r||{},this._rippleRenderer=new bc(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:_(_(_({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,_(_({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})()});var IH,MH,Jb,e_,lT,Ch,cT,dT=f(()=>{"use strict";pe();b();b();gc();Xb();IH={capture:!0},MH=["focus","mousedown","mouseenter","touchstart"],Jb="mat-ripple-loader-uninitialized",e_="mat-ripple-loader-class-name",lT="mat-ripple-loader-centered",Ch="mat-ripple-loader-disabled",cT=(()=>{class t{_document=u(H);_animationMode=u(Xe,{optional:!0});_globalRippleOptions=u(Zb,{optional:!0});_platform=u(Le);_ngZone=u(L);_injector=u(he);_eventCleanups;_hosts=new Map;constructor(){let e=u(dt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>MH.map(i=>xn(e,this._document,i,this._onInteraction,IH)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(Jb,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(e_))&&e.setAttribute(e_,i.className||""),i.centered&&e.setAttribute(lT,""),i.disabled&&e.setAttribute(Ch,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Ch,""):e.removeAttribute(Ch)}_onInteraction=e=>{let i=Pt(e);if(i instanceof HTMLElement){let r=i.closest(`[${Jb}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(e_)),e.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,s=r?0:o?.animation?.enterDuration??vc.enterDuration,a=r?0:o?.animation?.exitDuration??vc.exitDuration,l={rippleDisabled:r||o?.disabled||e.hasAttribute(Ch),rippleConfig:{centered:e.hasAttribute(lT),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},c=new bc(l,this._ngZone,i,this._platform,this._injector),d=!l.rippleDisabled;d&&c.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:c,hasSetUpEvents:d}),e.removeAttribute(Jb)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var xh,t_=f(()=>{"use strict";b();xh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
11
- `],encapsulation:2,changeDetection:0})}return t})()});var TH,AH,RH,OH,n_,So,uT=f(()=>{"use strict";b();b();Hi();sa();dT();t_();TH=["mat-icon-button",""],AH=["*"],RH=new C("MAT_BUTTON_CONFIG"),OH=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],n_=(()=>{class t{_elementRef=u(B);_ngZone=u(L);_animationMode=u(Xe,{optional:!0});_focusMonitor=u(wo);_rippleLoader=u(cT);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){u(en).load(xh);let e=u(RH,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:s}of OH)i.hasAttribute(o)&&r.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Me],disabled:[2,"disabled","disabled",Me],ariaDisabled:[2,"aria-disabled","ariaDisabled",Me],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Me]}})}return t})(),So=(()=>{class t extends n_{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(we("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),pr(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ge],attrs:TH,ngContentSelectors:AH,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Zt(),q(0,"span",0),ze(1),q(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
12
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
13
- `],encapsulation:2,changeDetection:0})}return t})()});function NH(){return u(H)}function fT(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?FH.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var kH,FH,_t,_c=f(()=>{"use strict";b();b();pe();kH=new C("cdk-dir-doc",{providedIn:"root",factory:NH});FH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;_t=(()=>{class t{value="ltr";change=new z;constructor(){let e=u(kH,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=fT(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var oi,zi=f(()=>{"use strict";_c();b();oi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});var Ue,Pn=f(()=>{"use strict";Hi();zi();b();b();Ue=(()=>{class t{constructor(){u(fh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[oi,oi]})}return t})()});var wh,i_=f(()=>{"use strict";b();Pn();wh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,Ue]})}return t})()});var PH,jH,VH,si,wr,fn=f(()=>{"use strict";uT();b();i_();Pn();PH=["mat-button",""],jH=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],VH=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],si=(()=>{class t extends n_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275cmp=U({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(we("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),pr(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ge],attrs:PH,ngContentSelectors:VH,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Zt(jH),q(0,"span",0),ze(1),E(2,"span",1),ze(3,1),M(),ze(4,2),q(5,"span",2)(6,"span",3)),i&2&&Q("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
14
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
15
- `],encapsulation:2,changeDetection:0})}return t})(),wr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,wh,Ue]})}return t})()});function BH(){if(Eh===void 0&&(Eh=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Eh=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Eh}function Cc(t){return BH()?.createHTML(t)||t}function hT(t){return Error(`Unable to find icon with the name "${t}"`)}function UH(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pT(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function mT(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function Dh(t){return t.cloneNode(!0)}function gT(t,n){return t+":"+n}function HH(t){return!!(t.url&&t.options)}var Eh,$i,Sh,yT=f(()=>{"use strict";pe();ql();b();b();Yl();Se();Qe();$i=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},Sh=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new $i(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let s=this._sanitizer.sanitize(bt.HTML,r);if(!s)throw mT(r);let a=Cc(s);return this._addSvgIconConfig(e,i,new $i("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new $i(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(bt.HTML,i);if(!o)throw mT(i);let s=Cc(o);return this._addSvgIconSetConfig(e,new $i("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(bt.RESOURCE_URL,e);if(!i)throw pT(e);let r=this._cachedIconsByUrl.get(i);return r?k(Dh(r)):this._loadSvgIconFromConfig(new $i(e,null)).pipe(Ne(o=>this._cachedIconsByUrl.set(i,o)),j(o=>Dh(o)))}getNamedSvgIcon(e,i=""){let r=gT(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):or(hT(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?k(Dh(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(j(i=>Dh(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return k(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(zt(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(bt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),k(null)})));return Zr(o).pipe(j(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw hT(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ne(i=>e.svgText=i),j(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?k(null):this._fetchIcon(e).pipe(Ne(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let a=this._svgElementFromString(Cc("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Cc("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:s,value:a}=r[o];s!=="id"&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw UH();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(bt.RESOURCE_URL,i);if(!s)throw pT(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(j(c=>Cc(c)),$t(()=>this._inProgressUrlFetches.delete(s)),ll());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(gT(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return HH(o)?new $i(o.url,null,o.options):new $i(o,null)}}static \u0275fac=function(i){return new(i||t)(D(Pi,8),D(Kl),D(H,8),D(Lt))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function WH(){let t=u(H),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var zH,$H,GH,vT,qH,KH,ai,Ih,Gi=f(()=>{"use strict";b();b();pe();Se();Qe();yT();Pn();zH=["*"],$H=new C("MAT_ICON_DEFAULT_OPTIONS"),GH=new C("mat-icon-location",{providedIn:"root",factory:WH});vT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],qH=vT.map(t=>`[${t}]`).join(", "),KH=/^url\(['"]?#(.*?)['"]?\)$/,ai=(()=>{class t{_elementRef=u(B);_iconRegistry=u(Sh);_location=u(GH);_errorHandler=u(Lt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=_e.EMPTY;constructor(){let e=u(new Ds("aria-hidden"),{optional:!0}),i=u($H,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(qH),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)vT.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(KH):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Pe(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(we("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),pr(r.color?"mat-"+r.color:""),Q("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Me],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:zH,decls:1,vars:0,template:function(i,r){i&1&&(Zt(),ze(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
16
- `],encapsulation:2,changeDetection:0})}return t})(),Ih=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,Ue]})}return t})()});var bT,_T=f(()=>{"use strict";ql();b();b();bT=(()=>{class t{#e=u(Pi);play(e,i){return this.#e.get(`https://services.tilde.com/service/tts?system=${i.voice}&text=${e}`,{responseType:"blob"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function QH(t,n){if(t&1&&(Dl(),E(0,"svg",11),q(1,"circle",12),M()),t&2){let e=G();we("viewBox",e._viewBox()),x(),Us("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),we("r",e._circleRadius())}}function XH(){return{diameter:CT}}var YH,ZH,CT,JH,Mh,xT,Th=f(()=>{"use strict";b();b();pe();Pn();YH=["determinateSpinner"];ZH=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:XH});CT=100,JH=10,Mh=(()=>{class t{_elementRef=u(B);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=u(Xe,{optional:!0}),i=u(ZH);this._noopAnimations=e==="NoopAnimations"&&!!i&&!i._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",i&&(i.color&&(this.color=this._defaultColor=i.color),i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=CT;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-JH)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(YH,5),i&2){let o;Ee(o=De())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(we("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),pr("mat-"+r.color),Us("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),Q("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ai],diameter:[2,"diameter","diameter",Ai],strokeWidth:[2,"strokeWidth","strokeWidth",Ai]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(re(0,QH,2,8,"ng-template",null,0,vo),E(2,"div",2,1),Dl(),E(4,"svg",3),q(5,"circle",4),M()(),KE(),E(6,"div",5)(7,"div",6)(8,"div",7),Ol(9,8),M(),E(10,"div",9),Ol(11,8),M(),E(12,"div",10),Ol(13,8),M()()()),i&2){let o=Xt(1);x(4),we("viewBox",r._viewBox()),x(),Us("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),we("r",r._circleRadius()),x(4),S("ngTemplateOutlet",o),x(2),S("ngTemplateOutlet",o),x(2),S("ngTemplateOutlet",o)}},dependencies:[Ll],styles:[`.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
17
- `],encapsulation:2,changeDetection:0})}return t})(),xT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue]})}return t})()});var nz,da,r_,iz,ua,Mo,o_,fa=f(()=>{"use strict";b();b();Se();Qe();lh();Ui();_c();qb();zi();pe();nz=20,da=(()=>{class t{_ngZone=u(L);_platform=u(Le);_renderer=u(dt).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new T;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=nz){return this._platform.isBrowser?new Z(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(au(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):k()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(me(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=ri(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),r_=(()=>{class t{elementRef=u(B);scrollDispatcher=u(da);ngZone=u(L);dir=u(_t,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new T;_renderer=u(ut);_cleanupScroll;_elementScrolled=new T;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&la()!=Ln.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),la()==Ln.INVERTED?e.left=e.right:la()==Ln.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;_h()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&la()==Ln.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&la()==Ln.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),iz=20,ua=(()=>{class t{_platform=u(Le);_listeners;_viewportSize;_change=new T;_document=u(H,{optional:!0});constructor(){let e=u(L),i=u(dt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=iz){return e>0?this._change.pipe(au(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})(),o_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[oi,Mo,oi,Mo]})}return t})()});var ha,Wi,Er,Ah,To,wc,pa,Dr,Rh=f(()=>{"use strict";b();b();pe();ha=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Wi=class extends ha{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=o}},Er=class extends ha{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Ah=class extends ha{element;constructor(n){super(),this.element=n instanceof B?n.nativeElement:n}},To=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Wi)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Er)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Ah)return this._attachedPortal=n,this.attachDomPortal(n)}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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},wc=class extends To{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(Ci,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||he.NULL,o=r.get(et,i.injector);e=Cf(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},pa=(()=>{class t extends To{_moduleRef=u(Ci,{optional:!0});_document=u(H);_viewContainerRef=u(Mt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new z;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ge]})}return t})(),Dr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});function s_(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return i||r||o||s})}function ET(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return i||r||o||s})}function DT(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function Ao(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function IT(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(oz);return!e||e==="px"?parseFloat(n):null}return t||null}function MT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function sz(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}function lz(t){return()=>t.scrollStrategies.reposition()}var wT,Oh,kh,Ec,Nh,AT,Ro,Fh,RT,OT,kT,NT,jh,a_,Oo,ST,oz,Lh,TT,Ph,FT,gt,az,LT,ma,Vh,cz,qi,l_=f(()=>{"use strict";b();b();pe();Ui();ah();dc();eT();hc();Se();Qe();nT();kb();fa();qb();Rh();_c();hh();xr();zi();wT=_h(),Oh=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=rt(-this._previousScrollPosition.left),n.style.top=rt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wT&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}},kh=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(me(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.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())}},Ec=class{enable(){}disable(){}attach(){}};Nh=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();s_(e,[{width:i,height:r,bottom:r,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}},AT=(()=>{class t{_scrollDispatcher=u(da);_viewportRuler=u(ua);_ngZone=u(L);_document=u(H);constructor(){}noop=()=>new Ec;close=e=>new kh(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Oh(this._viewportRuler,this._document);reposition=e=>new Nh(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ro=class{positionStrategy;scrollStrategy=new Ec;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}},Fh=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}},RT=(()=>{class t{_attachedOverlays=[];_document=u(H);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OT=(()=>{class t extends RT{_ngZone=u(L);_renderer=u(dt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kT=(()=>{class t extends RT{_platform=u(Le);_ngZone=u(L);_renderer=u(dt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[xn(this._renderer,i,"pointerdown",this._pointerDownListener,r),xn(this._renderer,i,"click",this._clickListener,r),xn(this._renderer,i,"auxclick",this._clickListener,r),xn(this._renderer,i,"contextmenu",this._clickListener,r)]),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(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Pt(e)};_clickListener=e=>{let i=Pt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(DT(a.overlayElement,i)||DT(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();NT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},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}
18
- `],encapsulation:2,changeDetection:0})}return t})(),jh=(()=>{class t{_platform=u(Le);_containerElement;_document=u(H);_styleLoader=u(en);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Kb()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Kb()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(NT)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),a_=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.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()}},Oo=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new T;_attachments=new T;_detachments=new T;_positionStrategy;_scrollStrategy;_locationChanges=_e.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new T;_outsidePointerEvents=new T;_renders=new T;_afterRenderRef;_afterNextRenderRef;constructor(n,e,i,r,o,s,a,l,c,d=!1,h,m){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=h,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=_n(()=>Sl(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=dn(()=>{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._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=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,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=_(_({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ie(_({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=rt(this._config.width),n.height=rt(this._config.height),n.minWidth=rt(this._config.minWidth),n.minHeight=rt(this._config.minHeight),n.maxWidth=rt(this._config.maxWidth),n.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new a_(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=aa(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(ve(Et(this._attachments,this._detachments))).subscribe(()=>{(!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()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},ST="cdk-overlay-connected-position-bounding-box",oz=/([A-Za-z%]+)$/,Lh=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 T;_resizeSubscription=_e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(ST),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ao(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ST),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=MT(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,h=s+o.width-i.width,m=0-a,p=a+o.height-i.height,g=this._subtractOverflows(o.width,d,h),y=this._subtractOverflows(o.height,m,p),I=g*y;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=IT(this._overlayRef.getConfig().minHeight),a=IT(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=MT(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,h=0;return r.width<=o.width?d=c||-s:d=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?h=l||-a:h=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:h},{x:n.x+d,y:n.y+h}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!sz(this._lastScrollVisibility,i)){let r=new Fh(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-n.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let p=Math.min(i.bottom-n.y+i.top,n.y),g=this._lastBoundingBoxSize.height;o=p*2,s=n.y-p,o>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)h=n.x,d=i.right-n.x;else{let p=Math.min(i.right-n.x+i.left,n.x),g=this._lastBoundingBoxSize.width;d=p*2,h=n.x-p,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-g/2)}return{top:s,left:h,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=rt(i.height),r.top=rt(i.top),r.bottom=rt(i.bottom),r.width=rt(i.width),r.left=rt(i.left),r.right=rt(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=rt(o)),s&&(r.maxWidth=rt(s))}this._lastBoundingBoxSize=i,Ao(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ao(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ao(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Ao(i,this._getExactOverlayY(e,n,d)),Ao(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=rt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=rt(s.maxWidth):o&&(i.maxWidth="")),Ao(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=rt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=rt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ET(n,i),isOriginOutsideView:s_(n,i),isOverlayClipped:ET(e,i),isOverlayOutsideView:s_(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&aa(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof B)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};TT="cdk-global-overlay-wrapper",Ph=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(TT),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",g="",y="";l?y="flex-start":d==="center"?(y="center",m?g=h:p=h):m?d==="left"||d==="end"?(y="flex-end",p=h):(d==="right"||d==="start")&&(y="flex-start",g=h):d==="left"||d==="start"?(y="flex-start",p=h):(d==="right"||d==="end")&&(y="flex-end",g=h),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":g,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(TT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},FT=(()=>{class t{_viewportRuler=u(ua);_document=u(H);_platform=u(Le);_overlayContainer=u(jh);constructor(){}global(){return new Ph}flexibleConnectedTo(e){return new Lh(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gt=(()=>{class t{scrollStrategies=u(AT);_overlayContainer=u(jh);_positionBuilder=u(FT);_keyboardDispatcher=u(OT);_injector=u(he);_ngZone=u(L);_document=u(H);_directionality=u(_t);_location=u(ei);_outsideClickDispatcher=u(kT);_animationsModuleType=u(Xe,{optional:!0});_idGenerator=u(jt);_renderer=u(dt).createRenderer(null,null);_appRef;_styleLoader=u(en);constructor(){}create(e){this._styleLoader.load(NT);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Ro(e);return s.direction=s.direction||this._directionality.value,new Oo(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(et),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(qt)),new wc(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),az=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],LT=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.reposition()}}),ma=(()=>{class t{elementRef=u(B);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Vh=(()=>{class t{_overlay=u(gt);_dir=u(_t,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(LT);_disposeOnNavigation=!1;_ngZone=u(L);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new z;positionChange=new z;attach=new z;detach=new z;overlayKeydown=new z;overlayOutsideClick=new z;constructor(){let e=u(an),i=u(Mt);this._templatePortal=new Er(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=az);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!At(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Pt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ro({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof ma?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ma?this.origin.elementRef.nativeElement:this.origin instanceof B?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(rg(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Me],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Me],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Me],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Me],push:[2,"cdkConnectedOverlayPush","push",Me],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Me]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ve]})}return t})();cz={provide:LT,deps:[gt],useFactory:lz},qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[gt,cz],imports:[oi,Dr,o_,o_]})}return t})()});var Bh=f(()=>{"use strict";l_();fa()});var c_=f(()=>{"use strict";Rh()});function VT(t){return()=>t.scrollStrategies.reposition({scrollThrottle:d_})}function UT(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var dz,d_,u_,BT,HT,PT,jT,uz,fz,hz,pz,Ki,zT,No,$T=f(()=>{"use strict";b();b();Hi();Bh();fa();Qe();yc();xr();pe();gc();zi();c_();Se();Pn();dz=["tooltip"],d_=20,u_=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.reposition({scrollThrottle:d_})}});BT={provide:u_,deps:[gt],useFactory:VT};HT=new C("mat-tooltip-default-options",{providedIn:"root",factory:UT}),PT="tooltip-panel",jT=br({passive:!0}),uz=8,fz=8,hz=24,pz=200,Ki=(()=>{class t{_elementRef=u(B);_ngZone=u(L);_platform=u(Le);_ariaDescriber=u(JM);_focusMonitor=u(wo);_dir=u(_t);_injector=u(he);_viewContainerRef=u(Mt);_defaultOptions=u(HT,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=zT;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ca(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ca(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=_r(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=_r(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new T;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=uz}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ve(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,jT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Wi(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(ve(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof B)return this._overlayRef;this._detach()}let i=this._injector.get(da).getAncestorScrollContainers(this._elementRef),r=this._injector.get(gt),o=r.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(ve(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=r.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${PT}`,scrollStrategy:this._injector.get(u_)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ve(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ve(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ve(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!At(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(ve(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(_(_({},r.main),o.main)),this._addOffset(_(_({},r.fallback),o.fallback))])}_addOffset(e){let i=fz,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),dn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${PT}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,jT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(H).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||dn({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),zT=(()=>{class t{_changeDetectorRef=u(at);_elementRef=u(B);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new T;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=u(Xe,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>hz&&e.width>=pz}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(dz,7),i&2){let o;Ee(o=De())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&ee("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=ke();E(0,"div",1,0),ee("animationend",function(a){return Ce(o),xe(r._handleAnimationEnd(a))}),E(2,"div",2),se(3),M()()}i&2&&(Q("mdc-tooltip--multiline",r._isMultiline),S("ngClass",r.tooltipClass),x(3),ft(r.message))},dependencies:[Oi],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
19
- `],encapsulation:2,changeDetection:0})}return t})(),No=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[BT],imports:[pc,qi,Ue,Ue,Mo]})}return t})()});var Sr=f(()=>{"use strict";$T()});var GT,WT=f(()=>{"use strict";b();b();GT=(()=>{class t{_animationMode=u(Xe,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&Q("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
20
- `],encapsulation:2,changeDetection:0})}return t})()});function vz(t,n){if(t&1&&q(0,"mat-pseudo-checkbox",1),t&2){let e=G();S("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function bz(t,n){if(t&1&&q(0,"mat-pseudo-checkbox",3),t&2){let e=G();S("disabled",e.disabled)}}function _z(t,n){if(t&1&&(E(0,"span",4),se(1),M()),t&2){let e=G();x(),Je("(",e.group.label,")")}}function qT(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function KT(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var mz,gz,yz,h_,p_,f_,Fo,m_=f(()=>{"use strict";Hi();xr();b();b();Se();Xb();WT();t_();sa();mz=["text"],gz=[[["mat-icon"]],"*"],yz=["mat-icon","*"];h_=new C("MAT_OPTION_PARENT_COMPONENT"),p_=new C("MatOptgroup"),f_=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Fo=(()=>{class t{_element=u(B);_changeDetectorRef=u(at);_parent=u(h_,{optional:!0});group=u(p_,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(jt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new z;_text;_stateChanges=new T;constructor(){let e=u(en);e.load(xh),e.load(oa),this._signalDisableRipple=!!this._parent&&Ls(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!At(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new f_(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(mz,7),i&2){let o;Ee(o=De())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(mr("id",r.id),we("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Q("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Me]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:yz,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Zt(gz),re(0,vz,1,2,"mat-pseudo-checkbox",1),ze(1),E(2,"span",2,0),ze(4,1),M(),re(5,bz,1,1,"mat-pseudo-checkbox",3)(6,_z,2,1,"span",4),q(7,"div",5)),i&2&&(it(r.multiple?0:-1),x(5),it(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),x(),it(r.group&&r.group._inert?6:-1),x(),S("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[GT,aT],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
21
- `],encapsulation:2,changeDetection:0})}return t})()});var g_,YT,QT=f(()=>{"use strict";b();b();Se();Qe();g_=class{_box;_destroyed=new T;_resizeSubject=new T;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Z(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(me(e=>e.some(i=>i.target===n)),Xr({bufferSize:1,refCount:!0}),ve(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},YT=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(L);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new g_(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Rz(t,n){t&1&&q(0,"span",20)}function Oz(t,n){if(t&1&&(E(0,"label",19),ze(1,1),re(2,Rz,1,0,"span",20),M()),t&2){let e=G(2);S("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),we("for",e._control.disableAutomaticLabeling?null:e._control.id),x(2),it(!e.hideRequiredMarker&&e._control.required?2:-1)}}function kz(t,n){if(t&1&&re(0,Oz,3,5,"label",19),t&2){let e=G();it(e._hasFloatingLabel()?0:-1)}}function Nz(t,n){t&1&&q(0,"div",7)}function Fz(t,n){}function Lz(t,n){if(t&1&&re(0,Fz,0,0,"ng-template",13),t&2){G(2);let e=Xt(1);S("ngTemplateOutlet",e)}}function Pz(t,n){if(t&1&&(E(0,"div",9),re(1,Lz,1,1,null,13),M()),t&2){let e=G();S("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),x(),it(e._forceDisplayInfixLabel()?-1:1)}}function jz(t,n){t&1&&(E(0,"div",10,2),ze(2,2),M())}function Vz(t,n){t&1&&(E(0,"div",11,3),ze(2,3),M())}function Bz(t,n){}function Uz(t,n){if(t&1&&re(0,Bz,0,0,"ng-template",13),t&2){G();let e=Xt(1);S("ngTemplateOutlet",e)}}function Hz(t,n){t&1&&(E(0,"div",14,4),ze(2,4),M())}function zz(t,n){t&1&&(E(0,"div",15,5),ze(2,5),M())}function $z(t,n){t&1&&q(0,"div",16)}function Gz(t,n){t&1&&ze(0,6)}function Wz(t,n){if(t&1&&(E(0,"mat-hint",21),se(1),M()),t&2){let e=G(2);S("id",e._hintLabelId),x(),ft(e.hintLabel)}}function qz(t,n){if(t&1&&(re(0,Wz,2,2,"mat-hint",21),ze(1,7),q(2,"div",22),ze(3,8)),t&2){let e=G();it(e.hintLabel?0:-1)}}function Kz(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var Cz,xz,wz,Ez,Dz,Sz,Iz,Mz,Tz,Az,Lo,iA,y_,rA,oA,sA,ZT,XT,$h,JT,eA,Gh,Wh,aA,tA,Yz,nA,Qz,Dc,v_=f(()=>{"use strict";zi();yc();gc();pe();b();b();Hi();Se();Qe();QT();Cz=["notch"],xz=["matFormFieldNotchedOutline",""],wz=["*"],Ez=["textField"],Dz=["iconPrefixContainer"],Sz=["textPrefixContainer"],Iz=["iconSuffixContainer"],Mz=["textSuffixContainer"],Tz=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Az=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];Lo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-label"]]})}return t})(),iA=new C("MatError"),y_=(()=>{class t{align="start";id=u(jt).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(mr("id",r.id),we("align",null),Q("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),rA=new C("MatPrefix"),oA=new C("MatSuffix"),sA=new C("FloatingLabelParent"),ZT=(()=>{class t{_elementRef=u(B);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(YT);_ngZone=u(L);_parent=u(sA);_resizeSubscription=new _e;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Kz(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();XT="mdc-line-ripple--active",$h="mdc-line-ripple--deactivating",JT=(()=>{class t{_elementRef=u(B);_cleanupTransitionEnd;constructor(){let e=u(L),i=u(ut);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove($h),e.add(XT)}deactivate(){this._elementRef.nativeElement.classList.add($h)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains($h);e.propertyName==="opacity"&&r&&i.remove(XT,$h)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),eA=(()=>{class t{_elementRef=u(B);_ngZone=u(L);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(Cz,5),i&2){let o;Ee(o=De())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:xz,ngContentSelectors:wz,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Zt(),q(0,"div",1),E(1,"div",2,0),ze(3),M(),q(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Gh=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t})}return t})(),Wh=new C("MatFormField"),aA=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),tA="fill",Yz="auto",nA="fixed",Qz="translateY(-50%)",Dc=(()=>{class t{_elementRef=u(B);_changeDetectorRef=u(at);_dir=u(_t);_platform=u(Le);_idGenerator=u(jt);_ngZone=u(L);_injector=u(he);_defaults=u(aA,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=MS(Lo);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ca(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Yz}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||tA;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=tA;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||nA}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||nA}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new T;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=u(Xe,{optional:!0})==="NoopAnimations"}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ri(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Nt([void 0,void 0]),j(()=>[i.errorState,i.userAriaDescribedBy]),du(),me(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(ve(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Et(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Sl(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(ve(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ri(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${a+l}px`,g=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
22
- --mat-mdc-form-field-label-transform,
23
- ${Qz} translateX(${g})
24
- )`;let y=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${y}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(tI(o,r._labelChild,Lo,5),kn(o,Gh,5),kn(o,rA,5),kn(o,oA,5),kn(o,iA,5),kn(o,y_,5)),i&2){nI();let s;Ee(s=De())&&(r._formFieldControl=s.first),Ee(s=De())&&(r._prefixChildren=s),Ee(s=De())&&(r._suffixChildren=s),Ee(s=De())&&(r._errorChildren=s),Ee(s=De())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Be(Ez,5),Be(Dz,5),Be(Sz,5),Be(Iz,5),Be(Mz,5),Be(ZT,5),Be(eA,5),Be(JT,5)),i&2){let o;Ee(o=De())&&(r._textField=o.first),Ee(o=De())&&(r._iconPrefixContainer=o.first),Ee(o=De())&&(r._textPrefixContainer=o.first),Ee(o=De())&&(r._iconSuffixContainer=o.first),Ee(o=De())&&(r._textSuffixContainer=o.first),Ee(o=De())&&(r._floatingLabel=o.first),Ee(o=De())&&(r._notchedOutline=o.first),Ee(o=De())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,r){i&2&&Q("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Tt([{provide:Wh,useExisting:t},{provide:sA,useExisting:t}])],ngContentSelectors:Az,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=ke();Zt(Tz),re(0,kz,1,1,"ng-template",null,0,vo),E(2,"div",6,1),ee("click",function(a){return Ce(o),xe(r._control.onContainerClick(a))}),re(4,Nz,1,0,"div",7),E(5,"div",8),re(6,Pz,2,2,"div",9)(7,jz,3,0,"div",10)(8,Vz,3,0,"div",11),E(9,"div",12),re(10,Uz,1,1,null,13),ze(11),M(),re(12,Hz,3,0,"div",14)(13,zz,3,0,"div",15),M(),re(14,$z,1,0,"div",16),M(),E(15,"div",17),Tv(16),E(17,"div",18),re(18,Gz,1,0)(19,qz,4,1),M()()}if(i&2){let o;x(2),Q("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),x(2),it(!r._hasOutline()&&!r._control.disabled?4:-1),x(2),it(r._hasOutline()?6:-1),x(),it(r._hasIconPrefix?7:-1),x(),it(r._hasTextPrefix?8:-1),x(2),it(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),x(2),it(r._hasTextSuffix?12:-1),x(),it(r._hasIconSuffix?13:-1),x(),it(r._hasOutline()?-1:14),x(),Q("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let s=r._getSubscriptMessageType();x(2),Q("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),x(),it((o=s)==="error"?18:o==="hint"?19:-1)}},dependencies:[ZT,eA,Ll,JT,y_],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
25
- `],encapsulation:2,changeDetection:0})}return t})()});var Sc,lA=f(()=>{"use strict";Se();Sc=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new T;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}}});var cA=f(()=>{"use strict";lA()});var dA,uA=f(()=>{"use strict";b();dA=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var qh,fA=f(()=>{"use strict";qh=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}});var hA,pA=f(()=>{"use strict";b();Pn();hA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue]})}return t})()});var b_,mA=f(()=>{"use strict";b();i_();Pn();pA();b_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[wh,Ue,hA]})}return t})()});var Ic,__=f(()=>{"use strict";Nb();b();Pn();Ic=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,uh,Ue]})}return t})()});function t$(t,n){if(t&1&&(E(0,"span",4),se(1),M()),t&2){let e=G();x(),ft(e.placeholder)}}function n$(t,n){t&1&&ze(0)}function i$(t,n){if(t&1&&(E(0,"span",11),se(1),M()),t&2){let e=G(2);x(),ft(e.triggerValue)}}function r$(t,n){if(t&1&&(E(0,"span",5),re(1,n$,1,0)(2,i$,2,1,"span",11),M()),t&2){let e=G();x(),it(e.customTrigger?1:2)}}function o$(t,n){if(t&1){let e=ke();E(0,"div",12,1),ee("keydown",function(r){Ce(e);let o=G();return xe(o._handleKeydown(r))}),ze(2,1),M()}if(t&2){let e=G();vf("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),Q("mat-select-panel-animations-enabled",!e._animationsDisabled),S("ngClass",e.panelClass),we("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function gA(t){return()=>t.scrollStrategies.reposition()}var Zz,Xz,Jz,e$,C_,yA,vA,bA,Kh,Mc,Tc,_A=f(()=>{"use strict";Bh();b();b();fa();Hi();zi();cA();xr();vr();Se();Qe();pe();v_();m_();uA();fA();mA();Pn();__();Zz=["trigger"],Xz=["panel"],Jz=[[["mat-select-trigger"]],"*"],e$=["mat-select-trigger","*"];C_=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.reposition()}});yA=new C("MAT_SELECT_CONFIG"),vA={provide:C_,deps:[gt],useFactory:gA},bA=new C("MatSelectTrigger"),Kh=class{source;value;constructor(n,e){this.source=n,this.value=e}},Mc=(()=>{class t{_viewportRuler=u(ua);_changeDetectorRef=u(at);_elementRef=u(B);_dir=u(_t,{optional:!0});_idGenerator=u(jt);_renderer=u(ut);_parentFormField=u(Wh,{optional:!0});ngControl=u(Bi,{self:!0,optional:!0});_liveAnnouncer=u(Vb);_defaultOptions=u(yA,{optional:!0});_animationsDisabled=u(Xe,{optional:!0})==="NoopAnimations";_initialized=new T;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=qT(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=KT(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Kh(this,e)}_scrollStrategyFactory=u(C_);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new T;_errorStateTracker;stateChanges=new T;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Gf.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=on(()=>{let e=this.options;return e?e.changes.pipe(Nt(e),We(()=>Et(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(We(()=>this.optionSelectionChanges))});openedChange=new z;_openedStream=this.openedChange.pipe(me(e=>e),j(()=>{}));_closedStream=this.openedChange.pipe(me(e=>!e),j(()=>{}));selectionChange=new z;valueChange=new z;constructor(){let e=u(dA),i=u(xb,{optional:!0}),r=u(Eb,{optional:!0}),o=u(new Ds("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new qh(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Sc(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(ve(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(ve(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Nt(null),ve(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Pe(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&vh(this._trackedModal,"aria-owns",i),Wb(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;vh(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,s=this._keyManager;if(!s.isTyping()&&o&&!At(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!At(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!At(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof ma?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new mc(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Et(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ve(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Et(...this.options.map(i=>i._stateChanges)).pipe(ve(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(kn(o,bA,5),kn(o,Fo,5),kn(o,p_,5)),i&2){let s;Ee(s=De())&&(r.customTrigger=s.first),Ee(s=De())&&(r.options=s),Ee(s=De())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(Zz,5),Be(Xz,5),Be(Vh,5)),i&2){let o;Ee(o=De())&&(r.trigger=o.first),Ee(o=De())&&(r.panel=o.first),Ee(o=De())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&ee("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(we("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),Q("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Me],disableRipple:[2,"disableRipple","disableRipple",Me],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ai(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Me],placeholder:"placeholder",required:[2,"required","required",Me],multiple:[2,"multiple","multiple",Me],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Me],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ai],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Me]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Tt([{provide:Gh,useExisting:t},{provide:h_,useExisting:t}]),Ve],ngContentSelectors:e$,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=ke();Zt(Jz),E(0,"div",2,0),ee("click",function(){return Ce(o),xe(r.open())}),E(3,"div",3),re(4,t$,2,1,"span",4)(5,r$,3,1,"span",5),M(),E(6,"div",6)(7,"div",7),Dl(),E(8,"svg",8),q(9,"path",9),M()()()(),re(10,o$,3,10,"ng-template",10),ee("detach",function(){return Ce(o),xe(r.close())})("backdropClick",function(){return Ce(o),xe(r.close())})("overlayKeydown",function(a){return Ce(o),xe(r._handleOverlayKeydown(a))})}if(i&2){let o=Xt(1);x(3),we("id",r._valueId),x(),it(r.empty?4:5),x(6),S("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[ma,Vh,Oi],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
26
- `],encapsulation:2,changeDetection:0})}return t})(),Tc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[vA],imports:[qi,b_,Ue,Mo,Ic,b_,Ue]})}return t})()});var Ac=f(()=>{"use strict";m_();_A()});var Yh=f(()=>{"use strict";v_();__()});function w_(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}function Qh(t){let[n,e,i]=wA(t);return a$(n,e,i)}function wA(t){t=t?.toLowerCase()??"";let[n,e,i]=t.split(" ");return Rc.find(r=>r===n)||(n=Rc[0]),e===x_&&(e=i!==x_?i:"",i=x_),[n,s$(e),!!i]}function Oc(t){let[n]=wA(t);return n.indexOf("row")>-1}function s$(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function a$(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function jn(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}var x_,Rc,E_=f(()=>{"use strict";x_="inline",Rc=["row","column","row-reverse","column-reverse"];});function l$(t,n){return()=>{if(ti(n)){let e=Array.from(t.querySelectorAll(`[class*=${EA}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${EA}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function FA(t,n){return t=t?.clone()??new Po,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}function u$(t,n){return LA(t)[n]??""}function f$(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=LA(t);i[n]=e??"",h$(t,i)}function h$(t,n){let e="";for(let i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}function LA(t){let n={},e=t.getAttribute("style");if(e){let i=e.split(/;+/g);for(let r=0;r<i.length;r++){let o=i[r].trim();if(o.length>0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();n[a]=o.substr(s+1).trim()}}}return n}function kc(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function p$(t,n){let e=t.priority||0,i=n.priority||0;return e-i}function g$(t,n,e){let i=t.filter(r=>!DA[r]);if(i.length>0){let r=i.join(", ");try{let o=n.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function To(n,t){if(n){let e=n.indexOf(t);0<=e&&n.splice(e,1)}}var Nu=f(()=>{"use strict"});function Lu(n){return n instanceof Ce||n&&"closed"in n&&Q(n.remove)&&Q(n.add)&&Q(n.unsubscribe)}function t0(n){Q(n)?n():n.unsubscribe()}var Ce,Eg,Mo=f(()=>{"use strict";dt();e0();Nu();Ce=class n{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Q(i))try{i()}catch(o){t=o instanceof ku?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{t0(o)}catch(s){t=t??[],s instanceof ku?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ku(t)}}add(t){var e;if(t&&t!==this)if(this.closed)t0(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}}_hasParent(t){let{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){let{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&To(e,t)}remove(t){let{_finalizers:e}=this;e&&To(e,t),t instanceof n&&t._removeParent(this)}};Ce.EMPTY=(()=>{let n=new Ce;return n.closed=!0,n})();Eg=Ce.EMPTY});var jn,Pl=f(()=>{"use strict";jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Qs,wg=f(()=>{"use strict";Qs={setTimeout(n,t,...e){let{delegate:i}=Qs;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){let{delegate:t}=Qs;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0}});function Pu(n){Qs.setTimeout(()=>{let{onUnhandledError:t}=jn;if(t)t(n);else throw n})}var Dg=f(()=>{"use strict";Pl();wg()});function jl(){}var Sg=f(()=>{"use strict"});function i0(n){return Ig("E",void 0,n)}function r0(n){return Ig("N",n,void 0)}function Ig(n,t,e){return{kind:n,value:t,error:e}}var n0,o0=f(()=>{"use strict";n0=Ig("C",void 0,void 0)});function Zs(n){if(jn.useDeprecatedSynchronousErrorHandling){let t=!Ro;if(t&&(Ro={errorThrown:!1,error:null}),n(),t){let{errorThrown:e,error:i}=Ro;if(Ro=null,e)throw i}}else n()}function s0(n){jn.useDeprecatedSynchronousErrorHandling&&Ro&&(Ro.errorThrown=!0,Ro.error=n)}var Ro,ju=f(()=>{"use strict";Pl();Ro=null});function Ag(n,t){return o1.call(n,t)}function Vu(n){jn.useDeprecatedSynchronousErrorHandling?s0(n):Pu(n)}function s1(n){throw n}function Tg(n,t){let{onStoppedNotification:e}=jn;e&&Qs.setTimeout(()=>e(n,t))}var Oo,o1,Mg,Pi,a1,Bu=f(()=>{"use strict";dt();Mo();Pl();Dg();Sg();o0();wg();ju();Oo=class extends Ce{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Lu(t)&&t.add(this)):this.destination=a1}static create(t,e,i){return new Pi(t,e,i)}next(t){this.isStopped?Tg(r0(t),this):this._next(t)}error(t){this.isStopped?Tg(i0(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Tg(n0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},o1=Function.prototype.bind;Mg=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Vu(i)}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Vu(i)}else Vu(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Vu(e)}}},Pi=class extends Oo{constructor(t,e,i){super();let r;if(Q(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&jn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Ag(t.next,o),error:t.error&&Ag(t.error,o),complete:t.complete&&Ag(t.complete,o)}):r=t}this.destination=new Mg(r)}};a1={closed:!0,next:jl,error:s1,complete:jl}});var Xs,Uu=f(()=>{"use strict";Xs=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Bt(n){return n}var Ir=f(()=>{"use strict"});function Rg(...n){return Og(n)}function Og(n){return n.length===0?Bt:n.length===1?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}var Fg=f(()=>{"use strict";Ir()});function a0(n){var t;return(t=n??jn.Promise)!==null&&t!==void 0?t:Promise}function l1(n){return n&&Q(n.next)&&Q(n.error)&&Q(n.complete)}function c1(n){return n&&n instanceof Oo||l1(n)&&Lu(n)}var Z,Nt=f(()=>{"use strict";Bu();Mo();Uu();Fg();Pl();dt();ju();Z=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=c1(e)?e:new Pi(e,i,r);return Zs(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=a0(i),new i((r,o)=>{let s=new Pi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[Xs](){return this}pipe(...e){return Og(e)(this)}toPromise(e){return e=a0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})()});function kg(n){return Q(n?.lift)}function oe(n){return t=>{if(kg(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var Qe=f(()=>{"use strict";dt()});function re(n,t,e,i,r){return new Ng(n,t,e,i,r)}var Ng,nt=f(()=>{"use strict";Bu();Ng=class extends Oo{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}}});function Js(){return oe((n,t)=>{let e=null;n._refCount++;let i=re(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){e=null;return}let r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}var Lg=f(()=>{"use strict";Qe();nt()});var ea,l0=f(()=>{"use strict";Nt();Mo();Lg();nt();Qe();ea=class extends Z{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,kg(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ce;let e=this.getSubject();t.add(this.source.subscribe(re(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ce.EMPTY)}return t}refCount(){return Js()(this)}}});var c0,d0=f(()=>{"use strict";Fu();c0=Ys(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var M,Hu,Vl=f(()=>{"use strict";Nt();Mo();d0();Nu();ju();M=(()=>{class n extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Hu(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new c0}next(e){Zs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Zs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Zs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Eg:(this.currentObservers=null,o.push(e),new Ce(()=>{this.currentObservers=null,To(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Z;return e.source=this,e}}return n.create=(t,e)=>new Hu(t,e),n})(),Hu=class extends M{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,t)}error(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,t)}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t)}_subscribe(t){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&i!==void 0?i:Eg}}});var at,u0=f(()=>{"use strict";Vl();at=class extends M{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){let{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}});var Bl,Pg=f(()=>{"use strict";Bl={now(){return(Bl.delegate||Date).now()},delegate:void 0}});var Fo,jg=f(()=>{"use strict";Vl();Pg();Fo=class extends M{constructor(t=1/0,e=1/0,i=Bl){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){let{_bufferSize:t,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}});var zu,f0=f(()=>{"use strict";Mo();zu=class extends Ce{constructor(t,e){super()}schedule(t,e=0){return this}}});var Ul,h0=f(()=>{"use strict";Ul={setInterval(n,t,...e){let{delegate:i}=Ul;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){let{delegate:t}=Ul;return(t?.clearInterval||clearInterval)(n)},delegate:void 0}});var $u,p0=f(()=>{"use strict";f0();h0();Nu();$u=class extends zu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return Ul.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Ul.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(t,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i=!1,r;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,To(i,this),t!=null&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}});var ta,m0=f(()=>{"use strict";Pg();ta=class n{constructor(t,e=n.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}};ta.now=Bl.now});var Gu,g0=f(()=>{"use strict";m0();Gu=class extends ta{constructor(t,e=ta.now){super(t,e),this.actions=[],this._active=!1}flush(t){let{actions:e}=this;if(this._active){e.push(t);return}let i;this._active=!0;do if(i=t.execute(t.state,t.delay))break;while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}});var Hl,y0,Wu=f(()=>{"use strict";p0();g0();Hl=new Gu($u),y0=Hl});var Lt,zl=f(()=>{"use strict";Nt();Lt=new Z(n=>n.complete())});function qu(n){return n&&Q(n.schedule)}var Vg=f(()=>{"use strict";dt()});function Bg(n){return n[n.length-1]}function Ku(n){return Q(Bg(n))?n.pop():void 0}function di(n){return qu(Bg(n))?n.pop():void 0}function v0(n,t){return typeof Bg(n)=="number"?n.pop():t}var ko=f(()=>{"use strict";dt();Vg()});function b0(n,t,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(h){s(h)}}function l(d){try{c(i.throw(d))}catch(h){s(h)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}function _0(n){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function No(n){return this instanceof No?(this.v=n,this):new No(n)}function x0(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(n,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(p){return function(g){return Promise.resolve(g).then(p,h)}}function a(p,g){i[p]&&(r[p]=function(v){return new Promise(function(C,D){o.push([p,v,C,D])>1||l(p,v)})},g&&(r[p]=g(r[p])))}function l(p,g){try{c(i[p](g))}catch(v){m(o[0][3],v)}}function c(p){p.value instanceof No?Promise.resolve(p.value.v).then(d,h):m(o[0][2],p)}function d(p){l("next",p)}function h(p){l("throw",p)}function m(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function C0(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator],e;return t?t.call(n):(n=typeof _0=="function"?_0(n):n[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Ug=f(()=>{"use strict"});var na,Yu=f(()=>{"use strict";na=n=>n&&typeof n.length=="number"&&typeof n!="function"});function Qu(n){return Q(n?.then)}var Hg=f(()=>{"use strict";dt()});function Zu(n){return Q(n[Xs])}var zg=f(()=>{"use strict";Uu();dt()});function Xu(n){return Symbol.asyncIterator&&Q(n?.[Symbol.asyncIterator])}var $g=f(()=>{"use strict";dt()});function Ju(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var Gg=f(()=>{"use strict"});function d1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ef,Wg=f(()=>{"use strict";ef=d1()});function tf(n){return Q(n?.[ef])}var qg=f(()=>{"use strict";Wg();dt()});function nf(n){return x0(this,arguments,function*(){let e=n.getReader();try{for(;;){let{value:i,done:r}=yield No(e.read());if(r)return yield No(void 0);yield yield No(i)}}finally{e.releaseLock()}})}function rf(n){return Q(n?.getReader)}var of=f(()=>{"use strict";Ug();dt()});function Fe(n){if(n instanceof Z)return n;if(n!=null){if(Zu(n))return u1(n);if(na(n))return f1(n);if(Qu(n))return h1(n);if(Xu(n))return E0(n);if(tf(n))return p1(n);if(rf(n))return m1(n)}throw Ju(n)}function u1(n){return new Z(t=>{let e=n[Xs]();if(Q(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function f1(n){return new Z(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}function h1(n){return new Z(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Pu)})}function p1(n){return new Z(t=>{for(let e of n)if(t.next(e),t.closed)return;t.complete()})}function E0(n){return new Z(t=>{g1(n,t).catch(e=>t.error(e))})}function m1(n){return E0(nf(n))}function g1(n,t){var e,i,r,o;return b0(this,void 0,void 0,function*(){try{for(e=C0(n);i=yield e.next(),!i.done;){let s=i.value;if(t.next(s),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})}var Ut=f(()=>{"use strict";Ug();Yu();Hg();Nt();zg();$g();Gg();qg();of();dt();Dg();Uu()});function tn(n,t,e,i=0,r=!1){let o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}var ia=f(()=>{"use strict"});function sf(n,t=0){return oe((e,i)=>{e.subscribe(re(i,r=>tn(i,n,()=>i.next(r),t),()=>tn(i,n,()=>i.complete(),t),r=>tn(i,n,()=>i.error(r),t)))})}var Kg=f(()=>{"use strict";ia();Qe();nt()});function af(n,t=0){return oe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}var Yg=f(()=>{"use strict";Qe()});function w0(n,t){return Fe(n).pipe(af(t),sf(t))}var D0=f(()=>{"use strict";Ut();Kg();Yg()});function S0(n,t){return Fe(n).pipe(af(t),sf(t))}var I0=f(()=>{"use strict";Ut();Kg();Yg()});function A0(n,t){return new Z(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}var T0=f(()=>{"use strict";Nt()});function M0(n,t){return new Z(e=>{let i;return tn(e,t,()=>{i=n[ef](),tn(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Q(i?.return)&&i.return()})}var R0=f(()=>{"use strict";Nt();Wg();dt();ia()});function lf(n,t){if(!n)throw new Error("Iterable cannot be null");return new Z(e=>{tn(e,t,()=>{let i=n[Symbol.asyncIterator]();tn(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var Qg=f(()=>{"use strict";Nt();ia()});function O0(n,t){return lf(nf(n),t)}var F0=f(()=>{"use strict";Qg();of()});function k0(n,t){if(n!=null){if(Zu(n))return w0(n,t);if(na(n))return A0(n,t);if(Qu(n))return S0(n,t);if(Xu(n))return lf(n,t);if(tf(n))return M0(n,t);if(rf(n))return O0(n,t)}throw Ju(n)}var N0=f(()=>{"use strict";D0();I0();T0();R0();Qg();zg();Hg();Yu();qg();$g();Gg();of();F0()});function Pe(n,t){return t?k0(n,t):Fe(n)}var ra=f(()=>{"use strict";N0();Ut()});function F(...n){let t=di(n);return Pe(n,t)}var L0=f(()=>{"use strict";ko();ra()});function Ar(n,t){let e=Q(n)?n:()=>n,i=r=>r.error(e());return new Z(t?r=>t.schedule(i,0,r):i)}var P0=f(()=>{"use strict";Nt();dt()});function Vn(n){return!!n&&(n instanceof Z||Q(n.lift)&&Q(n.subscribe))}var j0=f(()=>{"use strict";Nt();dt()});var ji,$l=f(()=>{"use strict";Fu();ji=Ys(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"})});function V0(n){return n instanceof Date&&!isNaN(n)}var B0=f(()=>{"use strict"});function V(n,t){return oe((e,i)=>{let r=0;e.subscribe(re(i,o=>{i.next(n.call(t,o,r++))}))})}var Gl=f(()=>{"use strict";Qe();nt()});function v1(n,t){return y1(t)?n(...t):n(t)}function oa(n){return V(t=>v1(n,t))}var y1,cf=f(()=>{"use strict";Gl();({isArray:y1}=Array)});function df(n){if(n.length===1){let t=n[0];if(_1(t))return{args:t,keys:null};if(E1(t)){let e=C1(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}function E1(n){return n&&typeof n=="object"&&b1(n)===x1}var _1,b1,x1,C1,Zg=f(()=>{"use strict";({isArray:_1}=Array),{getPrototypeOf:b1,prototype:x1,keys:C1}=Object});function uf(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}var Xg=f(()=>{"use strict"});function Lo(...n){let t=di(n),e=Ku(n),{args:i,keys:r}=df(n);if(i.length===0)return Pe([],t);let o=new Z(w1(i,t,r?s=>uf(r,s):Bt));return e?o.pipe(oa(e)):o}function w1(n,t,e=Bt){return i=>{U0(t,()=>{let{length:r}=n,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)U0(t,()=>{let c=Pe(n[l],t),d=!1;c.subscribe(re(i,h=>{o[l]=h,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function U0(n,t,e){n?tn(e,n,t):t()}var H0=f(()=>{"use strict";Nt();Zg();ra();Ir();cf();ko();Xg();nt();ia()});function z0(n,t,e,i,r,o,s,a){let l=[],c=0,d=0,h=!1,m=()=>{h&&!l.length&&!c&&t.complete()},p=v=>c<i?g(v):l.push(v),g=v=>{o&&t.next(v),c++;let C=!1;Fe(e(v,d++)).subscribe(re(t,D=>{r?.(D),o?p(D):t.next(D)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;l.length&&c<i;){let D=l.shift();s?tn(t,s,()=>g(D)):g(D)}m()}catch(D){t.error(D)}}))};return n.subscribe(re(t,p,()=>{h=!0,m()})),()=>{a?.()}}var $0=f(()=>{"use strict";Ut();ia();nt()});function Ke(n,t,e=1/0){return Q(t)?Ke((i,r)=>V((o,s)=>t(i,o,r,s))(Fe(n(i,r))),e):(typeof t=="number"&&(e=t),oe((i,r)=>z0(i,r,n,e)))}var sa=f(()=>{"use strict";Gl();Ut();Qe();$0();dt()});function Tr(n=1/0){return Ke(Bt,n)}var ff=f(()=>{"use strict";sa();Ir()});function G0(){return Tr(1)}var W0=f(()=>{"use strict";ff()});function Bn(...n){return G0()(Pe(n,di(n)))}var Jg=f(()=>{"use strict";W0();ko();ra()});function nn(n){return new Z(t=>{Fe(n()).subscribe(t)})}var q0=f(()=>{"use strict";Nt();Ut()});function Po(...n){let t=Ku(n),{args:e,keys:i}=df(n),r=new Z(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let h=!1;Fe(e[d]).subscribe(re(o,m=>{h||(h=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!h)&&(c||o.next(i?uf(i,a):a),o.complete())}))}});return t?r.pipe(oa(t)):r}var K0=f(()=>{"use strict";Nt();Zg();Ut();ko();nt();cf();Xg()});function aa(n,t,e,i){if(Q(e)&&(i=e,e=void 0),i)return aa(n,t,e).pipe(oa(i));let[r,o]=M1(n)?S1.map(s=>a=>n[s](t,a,e)):A1(n)?D1.map(Y0(n,t)):T1(n)?I1.map(Y0(n,t)):[];if(!r&&na(n))return Ke(s=>aa(s,t,e))(Fe(n));if(!r)throw new TypeError("Invalid event target");return new Z(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function Y0(n,t){return e=>i=>n[e](t,i)}function A1(n){return Q(n.addListener)&&Q(n.removeListener)}function T1(n){return Q(n.on)&&Q(n.off)}function M1(n){return Q(n.addEventListener)&&Q(n.removeEventListener)}var D1,S1,I1,Q0=f(()=>{"use strict";Ut();Nt();sa();Yu();dt();cf();D1=["addListener","removeListener"],S1=["addEventListener","removeEventListener"],I1=["on","off"]});function Z0(n=0,t,e=y0){let i=-1;return t!=null&&(qu(t)?e=t:i=t),new Z(r=>{let o=V0(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}var X0=f(()=>{"use strict";Nt();Wu();Vg();B0()});function rn(...n){let t=di(n),e=v0(n,1/0),i=n;return i.length?i.length===1?Fe(i[0]):Tr(e)(Pe(i,t)):Lt}var J0=f(()=>{"use strict";ff();Ut();zl();ko();ra()});function fe(n,t){return oe((e,i)=>{let r=0;e.subscribe(re(i,o=>n.call(t,o,r++)&&i.next(o)))})}var Wl=f(()=>{"use strict";Qe();nt()});var eD=f(()=>{"use strict"});function tD(n){return oe((t,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(re(e,c=>{i=!0,r=c,o||Fe(n(c)).subscribe(o=re(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var nD=f(()=>{"use strict";Qe();Ut();nt()});function hf(n,t=Hl){return tD(()=>Z0(n,t))}var iD=f(()=>{"use strict";Wu();nD();X0()});function on(n){return oe((t,e)=>{let i=null,r=!1,o;i=t.subscribe(re(e,void 0,void 0,s=>{o=Fe(n(s,on(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var ey=f(()=>{"use strict";Ut();nt();Qe()});function rD(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(re(s,d=>{let h=c++;l=a?n(l,d,h):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var oD=f(()=>{"use strict";nt()});function Sn(n,t){return Q(t)?Ke(n,t,1):Ke(n,1)}var sD=f(()=>{"use strict";sa();dt()});function Vi(n,t=Hl){return oe((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+n,d=t.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(re(i,c=>{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var ty=f(()=>{"use strict";Wu();Qe();nt()});function Mr(n){return oe((t,e)=>{let i=!1;t.subscribe(re(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}var pf=f(()=>{"use strict";Qe();nt()});function He(n){return n<=0?()=>Lt:oe((t,e)=>{let i=0;t.subscribe(re(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}var ny=f(()=>{"use strict";zl();Qe();nt()});function ql(n,t=Bt){return n=n??R1,oe((e,i)=>{let r,o=!0;e.subscribe(re(i,s=>{let a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function R1(n,t){return n===t}var aD=f(()=>{"use strict";Ir();Qe();nt()});function mf(n=O1){return oe((t,e)=>{let i=!1;t.subscribe(re(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function O1(){return new ji}var iy=f(()=>{"use strict";$l();Qe();nt()});function sn(n){return oe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}var ry=f(()=>{"use strict";Qe()});function Bi(n,t){let e=arguments.length>=2;return i=>i.pipe(n?fe((r,o)=>n(r,o,i)):Bt,He(1),e?Mr(t):mf(()=>new ji))}var lD=f(()=>{"use strict";$l();Wl();ny();pf();iy();Ir()});function la(n){return n<=0?()=>Lt:oe((t,e)=>{let i=[];t.subscribe(re(e,r=>{i.push(r),n<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var oy=f(()=>{"use strict";zl();Qe();nt()});function sy(n,t){let e=arguments.length>=2;return i=>i.pipe(n?fe((r,o)=>n(r,o,i)):Bt,la(1),e?Mr(t):mf(()=>new ji))}var cD=f(()=>{"use strict";$l();Wl();oy();iy();pf();Ir()});function gf(){return oe((n,t)=>{let e,i=!1;n.subscribe(re(t,r=>{let o=e;e=r,i&&t.next([o,r]),i=!0}))})}var dD=f(()=>{"use strict";Qe();nt()});function ay(n,t){return oe(rD(n,t,arguments.length>=2,!0))}var uD=f(()=>{"use strict";Qe();oD()});function Kl(n={}){let{connector:t=()=>new M,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,h=!1,m=()=>{a?.unsubscribe(),a=void 0},p=()=>{m(),s=l=void 0,d=h=!1},g=()=>{let v=s;p(),v?.unsubscribe()};return oe((v,C)=>{c++,!h&&!d&&m();let D=l=l??t();C.add(()=>{c--,c===0&&!h&&!d&&(a=ly(g,r))}),D.subscribe(C),!s&&c>0&&(s=new Pi({next:L=>D.next(L),error:L=>{h=!0,m(),a=ly(p,e,L),D.error(L)},complete:()=>{d=!0,m(),a=ly(p,i),D.complete()}}),Fe(v).subscribe(s))})(o)}}function ly(n,t,...e){if(t===!0){n();return}if(t===!1)return;let i=new Pi({next:()=>{i.unsubscribe(),n()}});return Fe(t(...e)).subscribe(i)}var cy=f(()=>{"use strict";Ut();Vl();Bu();Qe()});function jo(n,t,e){let i,r=!1;return n&&typeof n=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=n:i=n??1/0,Kl({connector:()=>new Fo(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var fD=f(()=>{"use strict";jg();cy()});function Yl(n){return fe((t,e)=>n<=e)}var hD=f(()=>{"use strict";Wl()});function Ht(...n){let t=di(n);return oe((e,i)=>{(t?Bn(n,e,t):Bn(n,e)).subscribe(i)})}var pD=f(()=>{"use strict";Jg();ko();Qe()});function ze(n,t){return oe((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(re(i,l=>{r?.unsubscribe();let c=0,d=o++;Fe(n(l,d)).subscribe(r=re(i,h=>i.next(t?t(l,h,d,c++):h),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var mD=f(()=>{"use strict";Ut();Qe();nt()});function Ee(n){return oe((t,e)=>{Fe(n).subscribe(re(e,()=>e.complete(),jl)),!e.closed&&t.subscribe(e)})}var dy=f(()=>{"use strict";Qe();nt();Ut();Sg()});function uy(n,t=!1){return oe((e,i)=>{let r=0;e.subscribe(re(i,o=>{let s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}var gD=f(()=>{"use strict";Qe();nt()});function ke(n,t,e){let i=Q(n)||t||e?{next:n,error:t,complete:e}:n;return i?oe((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(re(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Bt}var fy=f(()=>{"use strict";dt();Qe();nt();Ir()});var we=f(()=>{"use strict";Nt();l0();Vl();u0();jg();Mo();Fg();j0();$l();H0();Jg();q0();K0();ra();Q0();J0();L0();P0();zl();eD();ey();ty();ry();Gl();sa();dy();fy()});function yD(n){let t=ie(null);try{return n()}finally{ie(t)}}var vD=f(()=>{"use strict";Ao();});var hy=f(()=>{"use strict";Ao();});var _D=f(()=>{"use strict";mg();});function F1(n){return`NG0${Math.abs(n)}`}function ui(n,t){return`${F1(n)}${t?": "+t:""}`}function Te(n){for(let t in n)if(n[t]===Te)return t;throw Error("")}function CD(n,t){for(let e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Hi(n){if(typeof n=="string")return n;if(Array.isArray(n))return`[${n.map(Hi).join(", ")}]`;if(n==null)return""+n;let t=n.overriddenName||n.name;if(t)return`${t}`;let e=n.toString();if(e==null)return""+e;let i=e.indexOf(`
4
+ `);return i>=0?e.slice(0,i):e}function Cf(n,t){return n?t?`${n} ${t}`:n:t||""}function Un(n){return n.__forward_ref__=Un,n.toString=function(){return Hi(this())},n}function mt(n){return Dy(n)?n():n}function Dy(n){return typeof n=="function"&&n.hasOwnProperty(k1)&&n.__forward_ref__===Un}function ED(n,t){n==null&&Sy(t,n,null,"!=")}function Sy(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(i==null?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}function y(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function k(n){return{providers:n.providers||[],imports:n.imports||[]}}function tc(n){return N1(n,Ef)}function Iy(n){return tc(n)!==null}function N1(n,t){return n.hasOwnProperty(t)&&n[t]||null}function L1(n){let t=n?.[Ef]??null;return t||null}function my(n){return n&&n.hasOwnProperty(vf)?n[vf]:null}function Ay(n){return n&&!!n.\u0275providers}function kr(n){return typeof n=="string"?n:n==null?"":String(n)}function _f(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():kr(n)}function ky(n,t){return DD("",-200,t)}function wf(n,t){throw new w(-201,!1)}function P1(n,t){n[Zl]??=[];let e=n[Zl],i;typeof t=="object"&&"multi"in t&&t?.multi===!0?(ED(t.provide,"Token with multi: true should have a provide property"),i=_f(t.provide)):i=_f(t),e[0]!==i&&n[Zl].unshift(i)}function j1(n,t){let e=n[Zl],i=n[Fy],r=n[wD]||n.message;return n.message=B1(r,i,e,t),n}function DD(n,t,e){let i=new w(t,n);return i[Fy]=t,i[wD]=n,e&&(i[Zl]=e),i}function V1(n){return n[Fy]}function B1(n,t,e=[],i=null){let r="";e&&e.length>1&&(r=` Path: ${e.join(" -> ")}.`);let o=i?` Source: ${i}.`:"";return ui(t,`${n}${o}${r}`)}function SD(){return gy}function zt(n){let t=gy;return gy=n,t}function Ny(n,t,e){let i=tc(n);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(t!==void 0)return t;wf(n,"Injector")}function H1(n,t=0){let e=wu();if(e===void 0)throw new w(-203,!1);if(e===null)return Ny(n,void 0,t);{let i=z1(t),r=e.retrieve(n,i);if(Ws(r)){if(i.optional)return null;throw r}return r}}function I(n,t=0){return(SD()||H1)(mt(n),t)}function u(n,t){return I(n,Bo(t))}function Bo(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function z1(n){return{optional:!!(n&8),host:!!(n&1),self:!!(n&2),skipSelf:!!(n&4)}}function _y(n){let t=[];for(let e=0;e<n.length;e++){let i=mt(n[e]);if(Array.isArray(i)){if(i.length===0)throw new w(900,!1);let r,o=0;for(let s=0;s<i.length;s++){let a=i[s],l=$1(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}t.push(I(r,o))}else t.push(I(i))}return t}function Ly(n,t){return n[yy]=t,n.prototype[yy]=t,n}function $1(n){return n[yy]}function Rr(n,t){let e=n.hasOwnProperty(Xl);return e?n[Xl]:null}function ID(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],o=t[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function AD(n){return n.flat(Number.POSITIVE_INFINITY)}function Df(n,t){n.forEach(e=>Array.isArray(e)?Df(e,t):t(e))}function Py(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function nc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function TD(n,t){let e=[];for(let i=0;i<n;i++)e.push(t);return e}function MD(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(r===1)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;){let o=r-2;n[r]=n[o],r--}n[t]=e,n[t+1]=i}}function Sf(n,t,e){let i=da(n,t);return i>=0?n[i|1]=e:(i=~i,MD(n,i,t,e)),i}function If(n,t){let e=da(n,t);if(e>=0)return n[e|1]}function da(n,t){return G1(n,t,1)}function G1(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=n[o<<e];if(t===s)return o<<e;s>t?r=o:i=o+1}return~(r<<e)}function By(n){return n[Oy]||null}function fi(n){return n[Ty]||null}function Af(n){return n[My]||null}function RD(n){return n[Ry]||null}function $o(n){return{\u0275providers:n}}function Tf(...n){return{\u0275providers:Uy(!0,n),\u0275fromNgModule:!0}}function Uy(n,...t){let e=[],i=new Set,r,o=s=>{e.push(s)};return Df(t,s=>{let a=s;bf(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&OD(r,o),e}function OD(n,t){for(let e=0;e<n.length;e++){let{ngModule:i,providers:r}=n[e];Hy(r,o=>{t(o,i)})}}function bf(n,t,e,i){if(n=mt(n),!n)return!1;let r=null,o=my(n),s=!o&&fi(n);if(!o&&!s){let l=n.ngModule;if(o=my(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=n}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)bf(c,t,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Df(o.imports,d=>{bf(d,t,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&OD(c,t)}if(!a){let c=Rr(r)||(()=>new r);t({provide:r,useFactory:c,deps:Pt},r),t({provide:Vy,useValue:r,multi:!0},r),t({provide:zi,useValue:()=>I(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=n;Hy(l,d=>{t(d,c)})}}else return!1;return r!==n&&n.providers!==void 0}function Hy(n,t){for(let e of n)Ay(e)&&(e=e.\u0275providers),Array.isArray(e)?Hy(e,t):t(e)}function FD(n){return n!==null&&typeof n=="object"&&W1 in n}function q1(n){return!!(n&&n.useExisting)}function K1(n){return!!(n&&n.useFactory)}function Uo(n){return typeof n=="function"}function kD(n){return!!n.useClass}function ua(){return py===void 0&&(py=new Jl),py}function by(n){let t=tc(n),e=t!==null?t.factory:Rr(n);if(e!==null)return e;if(n instanceof x)throw new w(204,!1);if(n instanceof Function)return Y1(n);throw new w(204,!1)}function Y1(n){if(n.length>0)throw new w(204,!1);let e=L1(n);return e!==null?()=>e.factory(n):()=>new n}function Q1(n){if(FD(n))return ca(void 0,n.useValue);{let t=zy(n);return ca(t,yf)}}function zy(n,t,e){let i;if(Uo(n)){let r=mt(n);return Rr(r)||by(r)}else if(FD(n))i=()=>mt(n.useValue);else if(K1(n))i=()=>n.useFactory(..._y(n.deps||[]));else if(q1(n))i=(r,o)=>I(mt(n.useExisting),o!==void 0&&o&8?8:void 0);else{let r=mt(n&&(n.useClass||n.provide));if(Z1(n))i=()=>new r(..._y(n.deps));else return Rr(r)||by(r)}return i}function Ql(n){if(n.destroyed)throw new w(205,!1)}function ca(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Z1(n){return!!n.deps}function X1(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function J1(n){return typeof n=="function"||typeof n=="object"&&n.ngMetadataName==="InjectionToken"}function xy(n,t){for(let e of n)Array.isArray(e)?xy(e,t):e&&Ay(e)?xy(e.\u0275providers,t):t(e)}function _t(n,t){let e;n instanceof Ho?(Ql(n),e=n):e=new vy(n);let i,r=ci(e),o=zt(void 0);try{return t()}finally{ci(r),zt(o)}}function ND(){return SD()!==void 0||wu()!=null}function mi(n){return Array.isArray(n)&&typeof n[LD]=="object"}function $n(n){return Array.isArray(n)&&n[LD]===!0}function qy(n){return(n.flags&4)!==0}function Pr(n){return n.componentOffset>-1}function pa(n){return(n.flags&1)===1}function Gn(n){return!!n.template}function ma(n){return(n[ee]&512)!==0}function Zo(n){return(n[ee]&256)===256}function An(n){for(;Array.isArray(n);)n=n[zn];return n}function Yy(n,t){return An(t[n])}function Wn(n,t){return An(t[n.index])}function sc(n,t){return n.data[t]}function Rf(n,t){return n[t]}function Qy(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}function Tn(n,t){let e=t[n];return mi(e)?e:e[zn]}function jD(n){return(n[ee]&4)===4}function Of(n){return(n[ee]&128)===128}function VD(n){return $n(n[gt])}function Mn(n,t){return t==null?null:n[t]}function Zy(n){n[Ko]=0}function Ff(n){n[ee]&1024||(n[ee]|=1024,Of(n)&&jr(n))}function BD(n,t){for(;n>0;)t=t[qo],n--;return t}function ga(n){return!!(n[ee]&9216||n[_n]?.dirty)}function kf(n){n[hi].changeDetectionScheduler?.notify(8),n[ee]&64&&(n[ee]|=1024),ga(n)&&jr(n)}function jr(n){n[hi].changeDetectionScheduler?.notify(0);let t=Or(n);for(;t!==null&&!(t[ee]&8192||(t[ee]|=8192,!Of(t)));)t=Or(t)}function Xy(n,t){if(Zo(n))throw new w(911,!1);n[Ui]===null&&(n[Ui]=[]),n[Ui].push(t)}function UD(n,t){if(n[Ui]===null)return;let e=n[Ui].indexOf(t);e!==-1&&n[Ui].splice(e,1)}function Or(n){let t=n[gt];return $n(t)?t[gt]:t}function Jy(n){return n[fa]??=[]}function ev(n){return n.cleanup??=[]}function HD(n,t,e,i){let r=Jy(t);r.push(e),n.firstCreatePass&&ev(n).push(i,r.length-1)}function zD(){return ce.lFrame.elementDepthCount}function $D(){ce.lFrame.elementDepthCount++}function tv(){ce.lFrame.elementDepthCount--}function Nf(){return ce.bindingsEnabled}function nv(){return ce.skipHydrationRootTNode!==null}function iv(n){return ce.skipHydrationRootTNode===n}function rv(){ce.skipHydrationRootTNode=null}function Y(){return ce.lFrame.lView}function Xe(){return ce.lFrame.tView}function ve(n){return ce.lFrame.contextLView=n,n[lt]}function _e(n){return ce.lFrame.contextLView=null,n}function yt(){let n=ov();for(;n!==null&&n.type===64;)n=n.parent;return n}function ov(){return ce.lFrame.currentTNode}function GD(){let n=ce.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function ya(n,t){let e=ce.lFrame;e.currentTNode=n,e.isParent=t}function sv(){return ce.lFrame.isParent}function av(){ce.lFrame.isParent=!1}function WD(){return ce.lFrame.contextLView}function lv(n){Sy("Must never be called in production mode"),ej=n}function cv(){return Cy}function va(n){let t=Cy;return Cy=n,t}function Xo(){let n=ce.lFrame,t=n.bindingRootIndex;return t===-1&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function qD(){return ce.lFrame.bindingIndex}function KD(n){return ce.lFrame.bindingIndex=n}function Vr(){return ce.lFrame.bindingIndex++}function Lf(n){let t=ce.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function YD(){return ce.lFrame.inI18n}function QD(n,t){let e=ce.lFrame;e.bindingIndex=e.bindingRootIndex=n,Pf(t)}function ZD(){return ce.lFrame.currentDirectiveIndex}function Pf(n){ce.lFrame.currentDirectiveIndex=n}function XD(n){let t=ce.lFrame.currentDirectiveIndex;return t===-1?null:n[t]}function jf(){return ce.lFrame.currentQueryIndex}function lc(n){ce.lFrame.currentQueryIndex=n}function tj(n){let t=n[K];return t.type===2?t.declTNode:t.type===1?n[$t]:null}function dv(n,t,e){if(e&4){let r=t,o=n;for(;r=r.parent,r===null&&!(e&1);)if(r=tj(o),r===null||(o=o[qo],r.type&10))break;if(r===null)return!1;t=r,n=o}let i=ce.lFrame=JD();return i.currentTNode=t,i.lView=n,!0}function Vf(n){let t=JD(),e=n[K];ce.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function JD(){let n=ce.lFrame,t=n===null?null:n.child;return t===null?eS(n):t}function eS(n){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return n!==null&&(n.child=t),t}function tS(){let n=ce.lFrame;return ce.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}function Bf(){let n=tS();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function nS(n){return(ce.lFrame.contextLView=BD(n,ce.lFrame.contextLView))[lt]}function gi(){return ce.lFrame.selectedIndex}function Br(n){ce.lFrame.selectedIndex=n}function cc(){let n=ce.lFrame;return sc(n.tView,n.selectedIndex)}function Jo(){ce.lFrame.currentNamespace=Ky}function Uf(){nj()}function nj(){ce.lFrame.currentNamespace=null}function iS(){return ce.lFrame.currentNamespace}function Hf(){return rS}function dc(n){rS=n}function Ey(n,t=null,e=null,i){let r=fv(n,t,e,i);return r.resolveInjectorInitializers(),r}function fv(n,t=null,e=null,i,r=new Set){let o=[e||Pt,Tf(n)];return i=i||(typeof n=="object"?void 0:Hi(n)),new Ho(o,t||ua(),i||null,r)}function ij(){return new ec(Y())}function Ur(n){return typeof n=="function"&&n[pt]!==void 0}function Me(n,t){let[e,i,r]=xg(n,t?.equal),o=e,s=o[pt];return o.set=i,o.update=r,o.asReadonly=hv.bind(o),o}function hv(){let n=this[pt];if(n.readonlyFn===void 0){let t=()=>this();t[pt]=n,n.readonlyFn=t}return n.readonlyFn}function pv(n){return Ur(n)&&typeof n.set=="function"}function rj(){return new es(Y(),yt())}function ts(...n){}var xf,w,Fr,k1,Ef,vf,x,Ty,My,Ry,Oy,Xl,zo,bD,Fy,wD,Zl,gy,U1,Vo,yy,vy,Hn,Pt,zi,jy,Vy,Jl,W1,ic,yf,xD,py,$e,Ho,zn,K,ee,gt,In,$t,Go,fa,lt,Wo,hi,Ge,ha,$y,qo,Gt,Nr,Ko,pi,rc,Gy,Ui,Mf,$i,_n,Yo,Ze,LD,Wy,Lr,oc,Qo,bt,Ky,PD,ce,ac,ej,Cy,uv,rS,G,U,bn,ec,It,ln,oS,an,uc,mv,gv,es,yi,fc,hc,wy,pc=f(()=>{"use strict";mg();Ao();we();hy();_D();xf="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(t,e){super(ui(t,e)),this.code=t}};Fr=globalThis;k1=Te({__forward_ref__:Te});Ef=Te({\u0275prov:Te}),vf=Te({\u0275inj:Te}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,e){this._desc=t,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Ty=Te({\u0275cmp:Te}),My=Te({\u0275dir:Te}),Ry=Te({\u0275pipe:Te}),Oy=Te({\u0275mod:Te}),Xl=Te({\u0275fac:Te}),zo=Te({__NG_ELEMENT_ID__:Te}),bD=Te({__NG_ENV_ID__:Te});Fy=Te({ngErrorCode:Te}),wD=Te({ngErrorMessage:Te}),Zl=Te({ngTokenPath:Te});U1={},Vo=U1,yy="__NG_DI_FLAG__",vy=class{injector;constructor(t){this.injector=t}retrieve(t,e){let i=Bo(e)||0;try{return this.injector.get(t,i&8?null:Vo,i)}catch(r){if(Ws(r))return r;throw r}}};Hn={},Pt=[],zi=new x(""),jy=new x("",-1),Vy=new x(""),Jl=class{get(t,e=Vo){if(e===Vo){let r=DD("",-201);throw r.name="\u0275NotFound",r}return e}};W1=Te({provide:String,useValue:Te});ic=new x(""),yf={},xD={};$e=class{},Ho=class extends $e{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,xy(t,s=>this.processProvider(s)),this.records.set(jy,ca(void 0,this)),r.has("environment")&&this.records.set($e,ca(void 0,this));let o=this.records.get(ic);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Vy,Pt,{self:!0}))}retrieve(t,e){let i=Bo(e)||0;try{return this.get(t,Vo,i)}catch(r){if(Ws(r))return r;throw r}}destroy(){Ql(this),this._destroyed=!0;let t=ie(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ie(t)}}onDestroy(t){return Ql(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ql(this);let e=ci(this),i=zt(void 0),r;try{return t()}finally{ci(e),zt(i)}}get(t,e=Vo,i){if(Ql(this),t.hasOwnProperty(bD))return t[bD](this);let r=Bo(i),o,s=ci(this),a=zt(void 0);try{if(!(r&4)){let c=this.records.get(t);if(c===void 0){let d=J1(t)&&tc(t);d&&this.injectableDefInScope(d)?c=ca(by(t),yf):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let l=r&2?ua():this.parent;return e=r&8&&e===Vo?null:e,l.get(t,e)}catch(l){let c=V1(l);throw c===-200||c===-201?new w(c,null):l}finally{zt(a),ci(s)}}resolveInjectorInitializers(){let t=ie(null),e=ci(this),i=zt(void 0),r;try{let o=this.get(zi,Pt,{self:!0});for(let s of o)s()}finally{ci(e),zt(i),ie(t)}}toString(){let t=[],e=this.records;for(let i of e.keys())t.push(Hi(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=mt(t);let e=Uo(t)?t:mt(t&&t.provide),i=Q1(t);if(!Uo(t)&&t.multi===!0){let r=this.records.get(e);r||(r=ca(void 0,yf,!0),r.factory=()=>_y(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e,i){let r=ie(null);try{if(e.value===xD)throw ky(Hi(t));return e.value===yf&&(e.value=xD,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&X1(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ie(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=mt(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};zn=0,K=1,ee=2,gt=3,In=4,$t=5,Go=6,fa=7,lt=8,Wo=9,hi=10,Ge=11,ha=12,$y=13,qo=14,Gt=15,Nr=16,Ko=17,pi=18,rc=19,Gy=20,Ui=21,Mf=22,$i=23,_n=24,Yo=25,Ze=26,LD=1,Wy=6,Lr=7,oc=8,Qo=9,bt=10;Ky="svg",PD="math";ce={lFrame:eS(null),bindingsEnabled:!0,skipHydrationRootTNode:null},ac=function(n){return n[n.Off=0]="Off",n[n.Exhaustive=1]="Exhaustive",n[n.OnlyDirtyViews=2]="OnlyDirtyViews",n}(ac||{}),ej=0,Cy=!1;uv=tS;rS=!0;G=class n{static THROW_IF_NOT_FOUND=Vo;static NULL=new Jl;static create(t,e){if(Array.isArray(t))return Ey({name:""},e,t,"");{let i=t.name??"";return Ey({name:i},t.parent,t.providers,i)}}static \u0275prov=y({token:n,providedIn:"any",factory:()=>I(jy)});static __NG_ELEMENT_ID__=-1},U=new x(""),bn=(()=>{class n{static __NG_ELEMENT_ID__=ij;static __NG_ENV_ID__=e=>e}return n})(),ec=class extends bn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Zo(this._lView)}onDestroy(t){let e=this._lView;return Xy(e,t),()=>UD(e,t)}};It=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ln=new x("",{providedIn:"root",factory:()=>{let n=u($e),t;return e=>{n.destroyed&&!t?setTimeout(()=>{throw e}):(t??=n.get(It),t.handleError(e))}}}),oS={provide:zi,useValue:()=>void u(It),multi:!0};an=class{},uc=new x("",{providedIn:"root",factory:()=>!1}),mv=new x(""),gv=new x(""),es=(()=>{class n{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=rj}return n})();yi=(()=>{class n{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new at(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Z(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=y({token:n,providedIn:"root",factory:()=>new n})}return n})(),fc=(()=>{class n{internalPendingTasks=u(yi);scheduler=u(an);errorHandler=u(ln);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=y({token:n,providedIn:"root",factory:()=>new n})}return n})();hc=(()=>{class n{static \u0275prov=y({token:n,providedIn:"root",factory:()=>new wy})}return n})(),wy=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let e=t.zone,i=this.queues.get(e);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[e,i]of this.queues)e===null?t||=this.flushQueue(i):t||=e.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}}});var it=f(()=>{"use strict";iD();ey();sD();ty();pf();aD();Wl();ry();lD();cD();Gl();ff();sa();dD();Lg();uD();cy();fD();hD();pD();mD();ny();oy();dy();gD();fy()});function Da(n){return{toString:n}.toString()}function dj(n){return function(...e){if(n){let i=n(...e);for(let r in i)this[r]=i[r]}}}function US(n,t,e){return Da(()=>{let i=dj(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let h=l.hasOwnProperty(zf)?l[zf]:Object.defineProperty(l,zf,{value:[]})[zf];for(;h.length<=d;)h.push(null);return(h[d]=h[d]||[]).push(s),l}}return r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function uj(n){return typeof n=="function"}function HS(n,t,e,i){t!==null?t.applyValueToInputSignal(t,i):n[e]=i}function zS(n){return n.type.prototype.ngOnChanges&&(n.setInput=hj),fj}function fj(){let n=GS(this),t=n?.current;if(t){let e=n.previous;if(e===Hn)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function hj(n,t,e,i,r){let o=this.declaredInputs[i],s=GS(n)||pj(n,{previous:Hn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Xf(c&&c.currentValue,e,l===Hn),HS(n,t,r,e)}function GS(n){return n[$S]||null}function pj(n,t){return n[$S]=t}function mj(n,t,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let s=zS(t);(e.preOrderHooks??=[]).push(n,s),(e.preOrderCheckHooks??=[]).push(n,s)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}function WS(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){let o=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(n.contentHooks??=[]).push(-e,s),a&&((n.contentHooks??=[]).push(e,a),(n.contentCheckHooks??=[]).push(e,a)),l&&(n.viewHooks??=[]).push(-e,l),c&&((n.viewHooks??=[]).push(e,c),(n.viewCheckHooks??=[]).push(e,c)),d!=null&&(n.destroyHooks??=[]).push(e,d)}}function Kf(n,t,e){qS(n,t,3,e)}function Yf(n,t,e,i){(n[ee]&3)===e&&qS(n,t,e,i)}function yv(n,t){let e=n[ee];(e&3)===t&&(e&=16383,e+=1,n[ee]=e)}function qS(n,t,e,i){let r=i!==void 0?n[Ko]&65535:0,o=i??-1,s=t.length-1,a=0;for(let l=r;l<s;l++)if(typeof t[l+1]=="number"){if(a=t[l],i!=null&&a>=i)break}else t[l]<0&&(n[Ko]+=65536),(a<o||o==-1)&&(gj(n,e,t,l),n[Ko]=(n[Ko]&4294901760)+l+2),l++}function aS(n,t){Ne(4,n,t);let e=ie(null);try{t.call(n)}finally{ie(e),Ne(5,n,t)}}function gj(n,t,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=n[s];r?n[ee]>>14<n[Ko]>>16&&(n[ee]&3)===t&&(n[ee]+=16384,aS(a,o)):aS(a,o)}function yj(n){return(n.flags&8)!==0}function vj(n){return(n.flags&16)!==0}function _j(n,t,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];n.setAttribute(t,s,a,o)}else{let o=r,s=e[++i];bj(o)?n.setProperty(t,o,s):n.setAttribute(t,o,s),i++}}return i}function KS(n){return n===3||n===4||n===6}function bj(n){return n.charCodeAt(0)===64}function xa(n,t){if(!(t===null||t.length===0))if(n===null||n.length===0)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?lS(n,e,r,null,t[++i]):lS(n,e,r,null,null))}}return n}function lS(n,t,e,i,r){let o=0,s=n.length;if(t===-1)s=-1;else for(;o<n.length;){let a=n[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<n.length;){let a=n[o];if(typeof a=="number")break;if(a===e){r!==null&&(n[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(n.splice(s,0,t),o=s+1),n.splice(o++,0,e),r!==null&&n.splice(o++,0,r)}function YS(n){return n!==ba}function Jf(n){return n&32767}function xj(n){return n>>16}function eh(n,t){let e=xj(n),i=t;for(;e>0;)i=i[qo],e--;return i}function th(n){let t=Av;return Av=n,t}function wj(n,t,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(zo)&&(i=e[zo]),i==null&&(i=e[zo]=Ej++);let r=i&QS,o=1<<r;t.data[n+(r>>ZS)]|=o}function nh(n,t){let e=XS(n,t);if(e!==-1)return e;let i=t[K];i.firstCreatePass&&(n.injectorIndex=t.length,vv(i.data,n),vv(t,null),vv(i.blueprint,null));let r=p_(n,t),o=n.injectorIndex;if(YS(r)){let s=Jf(r),a=eh(r,t),l=a[K].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function vv(n,t){n.push(0,0,0,0,0,0,0,0,t)}function XS(n,t){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||t[n.injectorIndex+8]===null?-1:n.injectorIndex}function p_(n,t){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;r!==null;){if(i=iI(r),i===null)return ba;if(e++,r=r[qo],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ba}function Tv(n,t,e){wj(n,t,e)}function Dj(n,t){if(t==="class")return n.classes;if(t==="style")return n.styles;let e=n.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(KS(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===t)return e[r+1];r=r+2}}}return null}function JS(n,t,e){if(e&8||n!==void 0)return n;wf(t,"NodeInjector")}function eI(n,t,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=n[Wo],o=zt(void 0);try{return r?r.get(t,i,e&8):Ny(t,i,e&8)}finally{zt(o)}}return JS(i,t,e)}function tI(n,t,e,i=0,r){if(n!==null){if(t[ee]&2048&&!(i&2)){let s=Tj(n,t,e,i,vi);if(s!==vi)return s}let o=nI(n,t,e,i,vi);if(o!==vi)return o}return eI(t,e,i,r)}function nI(n,t,e,i,r){let o=Ij(e);if(typeof o=="function"){if(!dv(t,n,i))return i&1?JS(r,e,i):eI(t,e,i,r);try{let s;if(s=o(i),s==null&&!(i&8))wf(e);else return s}finally{uv()}}else if(typeof o=="number"){let s=null,a=XS(n,t),l=ba,c=i&1?t[Gt][$t]:null;for((a===-1||i&4)&&(l=a===-1?p_(n,t):t[a+8],l===ba||!dS(i,!1)?a=-1:(s=t[K],a=Jf(l),t=eh(l,t)));a!==-1;){let d=t[K];if(cS(o,a,d.data)){let h=Sj(a,t,e,s,i,c);if(h!==vi)return h}l=t[a+8],l!==ba&&dS(i,t[K].data[a+8]===c)&&cS(o,a,t)?(s=d,a=Jf(l),t=eh(l,t)):a=-1}}return r}function Sj(n,t,e,i,r,o){let s=t[K],a=s.data[n+8],l=i==null?Pr(a)&&Av:i!=s&&(a.type&3)!==0,c=r&1&&o===a,d=Qf(a,s,e,l,c);return d!==null?yc(t,s,d,a,r):vi}function Qf(n,t,e,i,r){let o=n.providerIndexes,s=t.data,a=o&1048575,l=n.directiveStart,c=n.directiveEnd,d=o>>20,h=i?a:a+d,m=r?a+d:c;for(let p=h;p<m;p++){let g=s[p];if(p<l&&e===g||p>=l&&g.type===e)return p}if(r){let p=s[l];if(p&&Gn(p)&&p.type===e)return l}return null}function yc(n,t,e,i,r){let o=n[e],s=t.data;if(o instanceof is){let a=o;if(a.resolving){let p=_f(s[e]);throw ky(p)}let l=th(a.canSeeViewProviders);a.resolving=!0;let c=s[e].type||s[e],d,h=a.injectImpl?zt(a.injectImpl):null,m=dv(n,i,0);try{o=n[e]=a.factory(void 0,r,s,n,i),t.firstCreatePass&&e>=i.directiveStart&&mj(e,s[e],t)}finally{h!==null&&zt(h),th(l),a.resolving=!1,uv()}}return o}function Ij(n){if(typeof n=="string")return n.charCodeAt(0)||0;let t=n.hasOwnProperty(zo)?n[zo]:void 0;return typeof t=="number"?t>=0?t&QS:Aj:t}function cS(n,t,e){let i=1<<n;return!!(e[t+(n>>ZS)]&i)}function dS(n,t){return!(n&2)&&!(n&1&&t)}function Aj(){return new ns(yt(),Y())}function Ve(n){return Da(()=>{let t=n.prototype.constructor,e=t[Xl]||Mv(t),i=Object.prototype,r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){let o=r[Xl]||Mv(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Mv(n){return Dy(n)?()=>{let t=Mv(mt(n));return t&&t()}:Rr(n)}function Tj(n,t,e,i,r){let o=n,s=t;for(;o!==null&&s!==null&&s[ee]&2048&&!ma(s);){let a=nI(o,s,e,i|2,vi);if(a!==vi)return a;let l=o.parent;if(!l){let c=s[Gy];if(c){let d=c.get(e,vi,i);if(d!==vi)return d}l=iI(s),s=s[qo]}o=l}return r}function iI(n){let t=n[K],e=t.type;return e===2?t.declTNode:e===1?n[$t]:null}function Dc(n){return Dj(yt(),n)}function Mj(){return Sa(yt(),Y())}function Sa(n,t){return new H(Wn(n,t))}function rI(n){return n instanceof H?n.nativeElement:n}function Rj(){return this._results[Symbol.iterator]()}function oI(n){return(n.flags&128)===128}function Fj(){return Oj++}function kj(n){sI.set(n[rc],n)}function Rv(n){sI.delete(n[rc])}function Ca(n,t){mi(t)?(n[uS]=t[rc],kj(t)):n[uS]=t}function aI(n){return cI(n[ha])}function lI(n){return cI(n[In])}function cI(n){for(;n!==null&&!$n(n);)n=n[In];return n}function g_(n){Ov=n}function y_(){if(Ov!==void 0)return Ov;if(typeof document<"u")return document;throw new w(210,!1)}function Vj(n,t,e,i){jj(n,t,e,i)}function vh(n){return(n.flags&32)===32}function pI(n,t,e=!1){return Bj(n,t,e)}function mI(n,t){let e=n.contentQueries;if(e!==null){let i=ie(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=n.data[s];lc(o),a.contentQueries(2,t[s],s)}}}finally{ie(i)}}}function Fv(n,t,e){lc(0);let i=ie(null);try{t(n,e)}finally{ie(i)}}function v_(n,t,e){if(qy(t)){let i=ie(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let s=r;s<o;s++){let a=n.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{ie(i)}}}function Uj(){if($f===void 0&&($f=null,Fr.trustedTypes))try{$f=Fr.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $f}function _h(n){return Uj()?.createHTML(n)||n}function gI(){if(Gf===void 0&&(Gf=null,Fr.trustedTypes))try{Gf=Fr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Gf}function fS(n){return gI()?.createHTML(n)||n}function hS(n){return gI()?.createScriptURL(n)||n}function Cn(n){return n instanceof Wi?n.changingThisBreaksApplicationSecurity:n}function xi(n,t){let e=yI(n);if(e!=null&&e!==t){if(e==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${xf})`)}return e===t}function yI(n){return n instanceof Wi&&n.getTypeName()||null}function __(n){return new kv(n)}function b_(n){return new Nv(n)}function x_(n){return new Lv(n)}function C_(n){return new Pv(n)}function E_(n){return new jv(n)}function Hj(n){let t=new Bv(n);return zj()?new Vv(t):t}function zj(){try{return!!new window.DOMParser().parseFromString(_h(""),"text/html")}catch{return!1}}function Sc(n){return n=String(n),n.match($j)?n:"unsafe:"+n}function qi(n){let t={};for(let e of n.split(","))t[e]=!0;return t}function Ic(...n){let t={};for(let e of n)for(let i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}function Xj(n,t){return(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Jj(n){let t=n.nextSibling;if(t&&n!==t.previousSibling)throw CI(t);return t}function eV(n){let t=n.firstChild;if(t&&Xj(n,t))throw CI(t);return t}function mS(n){let t=n.nodeName;return typeof t=="string"?t:"FORM"}function CI(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}function gS(n){return n.replace(/&/g,"&amp;").replace(tV,function(t){let e=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(nV,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bh(n,t){let e=null;try{Wf=Wf||Hj(n);let i=t?String(t):"";e=Wf.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Wf.getInertBodyElement(i)}while(i!==o);let a=new Uv().sanitizeChildren(yS(e)||e);return _h(a)}finally{if(e){let i=yS(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function yS(n){return"content"in n&&iV(n)?n.content:null}function iV(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}function Ci(n){let t=D_();return t?fS(t.sanitize(xt.HTML,n)||""):xi(n,"HTML")?fS(Cn(n)):bh(y_(),kr(n))}function xh(n){let t=D_();return t?t.sanitize(xt.URL,n)||"":xi(n,"URL")?Cn(n):Sc(kr(n))}function EI(n){let t=D_();if(t)return hS(t.sanitize(xt.RESOURCE_URL,n)||"");if(xi(n,"ResourceURL"))return hS(Cn(n));throw new w(904,!1)}function rV(n,t){return t==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||t==="href"&&(n==="base"||n==="link")?EI:xh}function w_(n,t,e){return rV(t,e)(n)}function D_(){let n=Y();return n&&n[hi].sanitizer}function lV(n){return n.replace(oV,t=>t.replace(sV,aV))}function wI(n){return n instanceof Function?n():n}function cV(n,t,e){let i=n.length;for(;;){let r=n.indexOf(t,e);if(r===-1)return r;if(r===0||n.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}function dV(n,t,e,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&cV(t[r+1].toLowerCase(),e,0)!==-1)return!0}else if(S_(n))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function S_(n){return n.type===4&&n.value!==DI}function uV(n,t,e){let i=n.type===4&&!e?DI:n.value;return t===i}function fV(n,t,e){let i=4,r=n.attrs,o=r!==null?mV(r):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!qn(i)&&!qn(l))return!1;if(s&&qn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!uV(n,l,e)||l===""&&t.length===1){if(qn(i))return!1;s=!0}}else if(i&8){if(r===null||!dV(n,r,l,e)){if(qn(i))return!1;s=!0}}else{let c=t[++a],d=hV(l,r,S_(n),e);if(d===-1){if(qn(i))return!1;s=!0;continue}if(c!==""){let h;if(d>o?h="":h=r[d+1].toLowerCase(),i&2&&c!==h){if(qn(i))return!1;s=!0}}}}return qn(i)||s}function qn(n){return(n&1)===0}function hV(n,t,e,i){if(t===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<t.length;){let s=t[r];if(s===n)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++r];for(;typeof a=="string";)a=t[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return gV(t,n)}function SI(n,t,e=!1){for(let i=0;i<t.length;i++)if(fV(n,t[i],e))return!0;return!1}function pV(n){let t=n.attrs;if(t!=null){let e=t.indexOf(5);if((e&1)===0)return t[e+1]}return null}function mV(n){for(let t=0;t<n.length;t++){let e=n[t];if(KS(e))return t}return n.length}function gV(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){let i=n[e];if(typeof i=="number")return-1;if(i===t)return e;e++}return-1}function yV(n,t){e:for(let e=0;e<t.length;e++){let i=t[e];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function vS(n,t){return n?":not("+t.trim()+")":t}function vV(n){let t=n[0],e=1,i=2,r="",o=!1;for(;e<n.length;){let s=n[e];if(typeof s=="string")if(i&2){let a=n[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!qn(s)&&(t+=vS(o,r),r=""),i=s,o=o||!qn(i);e++}return r!==""&&(t+=vS(o,r)),t}function _V(n){return n.map(vV).join(",")}function bV(n){let t=[],e=[],i=1,r=2;for(;i<n.length;){let o=n[i];if(typeof o=="string")r===2?o!==""&&t.push(o,n[++i]):r===8&&e.push(o);else{if(!qn(r))break;r=o}i++}return e.length&&t.push(1,...e),t}function xV(n,t){return n.createText(t)}function CV(n,t,e){n.setValue(t,e)}function EV(n,t){return n.createComment(lV(t))}function II(n,t,e){return n.createElement(t,e)}function ih(n,t,e,i,r){n.insertBefore(t,e,i,r)}function AI(n,t,e){n.appendChild(t,e)}function _S(n,t,e,i,r){i!==null?ih(n,t,e,i,r):AI(n,t,e)}function TI(n,t,e){n.removeChild(null,t,e)}function wV(n,t,e){n.setAttribute(t,"style",e)}function DV(n,t,e){e===""?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function MI(n,t,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&_j(n,t,i),r!==null&&DV(n,t,r),o!==null&&wV(n,t,o)}function I_(n,t,e,i,r,o,s,a,l,c,d){let h=Ze+i,m=h+r,p=SV(h,m),g=typeof c=="function"?c():c;return p[K]={type:n,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:d}}function SV(n,t){let e=[];for(let i=0;i<t;i++)e.push(i<n?null:Wt);return e}function IV(n){let t=n.tView;return t===null||t.incompleteFirstPass?n.tView=I_(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):t}function A_(n,t,e,i,r,o,s,a,l,c,d){let h=t.blueprint.slice();return h[zn]=r,h[ee]=i|4|128|8|64|1024,(c!==null||n&&n[ee]&2048)&&(h[ee]|=2048),Zy(h),h[gt]=h[qo]=n,h[lt]=e,h[hi]=s||n&&n[hi],h[Ge]=a||n&&n[Ge],h[Wo]=l||n&&n[Wo]||null,h[$t]=o,h[rc]=Fj(),h[Go]=d,h[Gy]=c,h[Gt]=t.type==2?n[Gt]:h,h}function AV(n,t,e){let i=Wn(t,n),r=IV(e),o=n[hi].rendererFactory,s=T_(n,A_(n,r,null,RI(e),i,t,null,o.createRenderer(i,e),null,null,null));return n[t.index]=s}function RI(n){let t=16;return n.signals?t=4096:n.onPush&&(t=64),t}function OI(n,t,e,i){if(e===0)return-1;let r=t.length;for(let o=0;o<e;o++)t.push(i),n.blueprint.push(i),n.data.push(null);return r}function T_(n,t){return n[ha]?n[$y][In]=t:n[ha]=t,n[$y]=t,t}function E(n=1){FI(Xe(),Y(),gi()+n,!1)}function FI(n,t,e,i){if(!i)if((t[ee]&3)===3){let o=n.preOrderCheckHooks;o!==null&&Kf(t,o,e)}else{let o=n.preOrderHooks;o!==null&&Yf(t,o,0,e)}Br(e)}function Hv(n,t,e,i){let r=ie(null);try{let[o,s,a]=n.inputs[e],l=null;(s&Ch.SignalBased)!==0&&(l=t[o][pt]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(t,i)),n.setInput!==null?n.setInput(t,l,i,e,o):HS(t,l,o,i)}finally{ie(r)}}function M_(n,t){return TV(n,t)}function _a(n,t,e,i,r){if(i!=null){let o,s=!1;$n(i)?o=i:mi(i)&&(s=!0,i=i[zn]);let a=An(i);n===0&&e!==null?r==null?AI(t,e,a):ih(t,e,a,r||null,!0):n===1&&e!==null?ih(t,e,a,r||null,!0):n===2?TI(t,a,s):n===3&&t.destroyNode(a),o!=null&&VV(t,n,o,e,r)}}function MV(n,t){kI(n,t),t[zn]=null,t[$t]=null}function RV(n,t,e,i,r,o){i[zn]=r,i[$t]=t,wh(n,i,e,1,r,o)}function kI(n,t){t[hi].changeDetectionScheduler?.notify(9),wh(n,t,t[Ge],2,null,null)}function OV(n){let t=n[ha];if(!t)return _v(n[K],n);for(;t;){let e=null;if(mi(t))e=t[ha];else{let i=t[bt];i&&(e=i)}if(!e){for(;t&&!t[In]&&t!==n;)mi(t)&&_v(t[K],t),t=t[gt];t===null&&(t=n),mi(t)&&_v(t[K],t),e=t&&t[In]}t=e}}function R_(n,t){let e=n[Qo],i=e.indexOf(t);e.splice(i,1)}function Eh(n,t){if(Zo(t))return;let e=t[Ge];e.destroyNode&&wh(n,t,e,3,null,null),OV(t)}function _v(n,t){if(Zo(t))return;let e=ie(null);try{t[ee]&=-129,t[ee]|=256,t[_n]&&Sr(t[_n]),kV(n,t),FV(n,t),t[K].type===1&&t[Ge].destroy();let i=t[Nr];if(i!==null&&$n(t[gt])){i!==t[gt]&&R_(i,t);let r=t[pi];r!==null&&r.detachView(n)}Rv(t)}finally{ie(e)}}function FV(n,t){let e=n.cleanup,i=t[fa];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(t[fa]=null);let r=t[Ui];if(r!==null){t[Ui]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=t[$i];if(o!==null){t[$i]=null;for(let s of o)s.destroy()}}function kV(n,t){let e;if(n!=null&&(e=n.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=t[e[i]];if(!(r instanceof is)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];Ne(4,a,l);try{l.call(a)}finally{Ne(5,a,l)}}else{Ne(4,r,o);try{o.call(r)}finally{Ne(5,r,o)}}}}}function NI(n,t,e){return NV(n,t.parent,e)}function NV(n,t,e){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return e[zn];if(Pr(i)){let{encapsulation:r}=n.data[i.directiveStart+i.componentOffset];if(r===Gi.None||r===Gi.Emulated)return null}return Wn(i,e)}function LI(n,t,e){return PV(n,t,e)}function LV(n,t,e){return n.type&40?Wn(n,e):null}function O_(n,t,e,i){let r=NI(n,i,t),o=t[Ge],s=i.parent||t[$t],a=LI(s,i,t);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)_S(o,r,e[l],a,!1);else _S(o,r,e,a,!1);bS!==void 0&&bS(o,i,t,e,r)}function mc(n,t){if(t!==null){let e=t.type;if(e&3)return Wn(t,n);if(e&4)return zv(-1,n[t.index]);if(e&8){let i=t.child;if(i!==null)return mc(n,i);{let r=n[t.index];return $n(r)?zv(-1,r):An(r)}}else{if(e&128)return mc(n,t.next);if(e&32)return M_(t,n)()||An(n[t.index]);{let i=PI(n,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Or(n[Gt]);return mc(r,i)}else return mc(n,t.next)}}}return null}function PI(n,t){if(t!==null){let i=n[Gt][$t],r=t.projection;return i.projection[r]}return null}function zv(n,t){let e=bt+n+1;if(e<t.length){let i=t[e],r=i[K].firstChild;if(r!==null)return mc(i,r)}return t[Lr]}function F_(n,t,e,i,r,o,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&t===0&&(a&&Ca(An(a),i),e.flags|=2),!vh(e))if(l&8)F_(n,t,e.child,i,r,o,!1),_a(t,n,r,a,o);else if(l&32){let c=M_(e,i),d;for(;d=c();)_a(t,n,r,d,o);_a(t,n,r,a,o)}else l&16?jI(n,t,i,e,r,o):_a(t,n,r,a,o);e=s?e.projectionNext:e.next}}function wh(n,t,e,i,r,o){F_(e,i,n.firstChild,t,r,o,!1)}function jV(n,t,e){let i=t[Ge],r=NI(n,e,t),o=e.parent||t[$t],s=LI(o,e,t);jI(i,0,t,e,r,s)}function jI(n,t,e,i,r,o){let s=e[Gt],l=s[$t].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];_a(t,n,r,d,o)}else{let c=l,d=s[gt];oI(i)&&(c.flags|=128),F_(n,t,c,d,r,o,!0)}}function VV(n,t,e,i,r){let o=e[Lr],s=An(e);o!==s&&_a(t,n,i,o,r);for(let a=bt;a<e.length;a++){let l=e[a];wh(l[K],l,n,t,i,o)}}function BV(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:_i.DashCase;r==null?n.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_i.Important),n.setStyle(e,i,r,o))}}function VI(n,t,e,i,r){let o=gi(),s=i&2;try{Br(-1),s&&t.length>Ze&&FI(n,t,Ze,!1),Ne(s?2:0,r,e),e(i,r)}finally{Br(o),Ne(s?3:1,r,e)}}function Dh(n,t,e){WV(n,t,e),(e.flags&64)===64&&qV(n,t,e)}function Ac(n,t,e=Wn){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(t,n):n[s];n[r++]=a}}}function UV(n,t,e,i){let o=i.get(hI,fI)||e===Gi.ShadowDom,s=n.selectRootElement(t,o);return HV(s),s}function HV(n){zV(n)}function $V(n){return n==="class"?"className":n==="for"?"htmlFor":n==="formaction"?"formAction":n==="innerHtml"?"innerHTML":n==="readonly"?"readOnly":n==="tabindex"?"tabIndex":n}function BI(n,t,e,i,r,o){let s=t[K];if(P_(n,s,t,e,i)){Pr(n)&&GV(t,n.index);return}n.type&3&&(e=$V(e)),UI(n,t,e,i,r,o)}function UI(n,t,e,i,r,o){if(n.type&3){let s=Wn(n,t);i=o!=null?o(i,n.value||"",e):i,r.setProperty(s,e,i)}else n.type&12}function GV(n,t){let e=Tn(t,n);e[ee]&16||(e[ee]|=64)}function WV(n,t,e){let i=e.directiveStart,r=e.directiveEnd;Pr(e)&&AV(t,e,n.data[i+e.componentOffset]),n.firstCreatePass||nh(e,t);let o=e.initialInputs;for(let s=i;s<r;s++){let a=n.data[s],l=yc(t,n,s,e);if(Ca(l,t),o!==null&&ZV(t,s-i,l,a,e,o),Gn(a)){let c=Tn(e.index,t);c[lt]=yc(t,n,s,e)}}}function qV(n,t,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=ZD();try{Br(o);for(let a=i;a<r;a++){let l=n.data[a],c=t[a];Pf(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&KV(l,c)}}finally{Br(-1),Pf(s)}}function KV(n,t){n.hostBindings!==null&&n.hostBindings(1,t)}function k_(n,t){let e=n.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];SI(t,o.selectors,!1)&&(i??=[],Gn(o)?i.unshift(o):i.push(o))}return i}function YV(n,t,e,i,r,o){let s=Wn(n,t);QV(t[Ge],s,o,n.value,e,i,r)}function QV(n,t,e,i,r,o,s){if(o==null)n.removeAttribute(t,r,e);else{let a=s==null?kr(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}function ZV(n,t,e,i,r,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Hv(i,e,l,c)}}function N_(n,t,e,i,r){let o=Ze+e,s=t[K],a=r(s,t,n,i,e);t[o]=a,ya(n,!0);let l=n.type===2;return l?(MI(t[Ge],a,n),(zD()===0||pa(n))&&Ca(a,t),$D()):Ca(a,t),Hf()&&(!l||!vh(n))&&O_(s,t,a,n),n}function L_(n){let t=n;return sv()?av():(t=t.parent,ya(t,!1)),t}function XV(n,t){let e=n[Wo];if(!e)return;e.get(ln,null)?.(t)}function P_(n,t,e,i,r){let o=n.inputs?.[i],s=n.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],h=t.data[c];Hv(h,e[c],d,r),a=!0}if(o)for(let l of o){let c=e[l],d=t.data[l];Hv(d,c,i,r),a=!0}return a}function JV(n,t){let e=Tn(t,n),i=e[K];eB(i,e);let r=e[zn];r!==null&&e[Go]===null&&(e[Go]=pI(r,e[Wo])),Ne(18),j_(i,e,e[lt]),Ne(19,e[lt])}function eB(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])}function j_(n,t,e){Vf(t);try{let i=n.viewQuery;i!==null&&Fv(1,i,e);let r=n.template;r!==null&&VI(n,t,r,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),t[pi]?.finishViewCreation(n),n.staticContentQueries&&mI(n,t),n.staticViewQueries&&Fv(2,n.viewQuery,e);let o=n.components;o!==null&&tB(t,o)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[ee]&=-5,Bf()}}function tB(n,t){for(let e=0;e<t.length;e++)JV(n,t[e])}function Tc(n,t,e,i){let r=ie(null);try{let o=t.tView,a=n[ee]&4096?4096:16,l=A_(n,o,e,a,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=n[t.index];l[Nr]=c;let d=n[pi];return d!==null&&(l[pi]=d.createEmbeddedView(o)),j_(o,l,e),l}finally{ie(r)}}function Ea(n,t){return!t||t.firstChild===null||oI(n)}function vc(n,t,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=t[e.index];o!==null&&i.push(An(o)),$n(o)&&HI(o,i);let s=e.type;if(s&8)vc(n,t,e.child,i);else if(s&32){let a=M_(e,t),l;for(;l=a();)i.push(l)}else if(s&16){let a=PI(t,e);if(Array.isArray(a))i.push(...a);else{let l=Or(t[Gt]);vc(l[K],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function HI(n,t){for(let e=bt;e<n.length;e++){let i=n[e],r=i[K].firstChild;r!==null&&vc(i[K],i,r,t)}n[Lr]!==n[zn]&&t.push(n[Lr])}function zI(n){if(n[Yo]!==null){for(let t of n[Yo])t.impl.addSequence(t);n[Yo].length=0}}function iB(n){return n[_n]??rB(n)}function rB(n){let t=$I.pop()??Object.create(sB);return t.lView=n,t}function oB(n){n.lView[_n]!==n&&(n.lView=null,$I.push(n))}function aB(n){let t=n[_n]??Object.create(lB);return t.lView=n,t}function GI(n){return n.type!==2}function WI(n){if(n[$i]===null)return;let t=!0;for(;t;){let e=!1;for(let i of n[$i])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=e&&!!(n[ee]&8192)}}function V_(n,t=0){let i=n[hi].rendererFactory,r=!1;r||i.begin?.();try{dB(n,t)}finally{r||i.end?.()}}function dB(n,t){let e=cv();try{va(!0),$v(n,t);let i=0;for(;ga(n);){if(i===cB)throw new w(103,!1);i++,$v(n,1)}}finally{va(e)}}function qI(n,t){lv(t?ac.Exhaustive:ac.OnlyDirtyViews);try{V_(n)}finally{lv(ac.Off)}}function uB(n,t,e,i){if(Zo(t))return;let r=t[ee],o=!1,s=!1;Vf(t);let a=!0,l=null,c=null;o||(GI(n)?(c=iB(t),l=Li(c)):Mu()===null?(a=!1,c=aB(t),l=Li(c)):t[_n]&&(Sr(t[_n]),t[_n]=null));try{Zy(t),KD(n.bindingStartIndex),e!==null&&VI(n,t,e,2,i);let d=(r&3)===3;if(!o)if(d){let p=n.preOrderCheckHooks;p!==null&&Kf(t,p,null)}else{let p=n.preOrderHooks;p!==null&&Yf(t,p,0,null),yv(t,0)}if(s||fB(t),WI(t),KI(t,0),n.contentQueries!==null&&mI(n,t),!o)if(d){let p=n.contentCheckHooks;p!==null&&Kf(t,p)}else{let p=n.contentHooks;p!==null&&Yf(t,p,1),yv(t,1)}pB(n,t);let h=n.components;h!==null&&QI(t,h,0);let m=n.viewQuery;if(m!==null&&Fv(2,m,i),!o)if(d){let p=n.viewCheckHooks;p!==null&&Kf(t,p)}else{let p=n.viewHooks;p!==null&&Yf(t,p,2),yv(t,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),t[Mf]){for(let p of t[Mf])p();t[Mf]=null}o||(zI(t),t[ee]&=-73)}catch(d){throw o||jr(t),d}finally{c!==null&&(Dr(c,l),a&&oB(c)),Bf()}}function KI(n,t){for(let e=aI(n);e!==null;e=lI(e))for(let i=bt;i<e.length;i++){let r=e[i];YI(r,t)}}function fB(n){for(let t=aI(n);t!==null;t=lI(t)){if(!(t[ee]&2))continue;let e=t[Qo];for(let i=0;i<e.length;i++){let r=e[i];Ff(r)}}}function hB(n,t,e){Ne(18);let i=Tn(t,n);YI(i,e),Ne(19,i[lt])}function YI(n,t){Of(n)&&$v(n,t)}function $v(n,t){let i=n[K],r=n[ee],o=n[_n],s=!!(t===0&&r&16);if(s||=!!(r&64&&t===0),s||=!!(r&1024),s||=!!(o?.dirty&&Io(o)),s||=!1,o&&(o.dirty=!1),n[ee]&=-9217,s)uB(i,n,i.template,n[lt]);else if(r&8192){let a=ie(null);try{WI(n),KI(n,1);let l=i.components;l!==null&&QI(n,l,1),zI(n)}finally{ie(a)}}}function QI(n,t,e){for(let i=0;i<t.length;i++)hB(n,t[i],e)}function pB(n,t){let e=n.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Br(~r);else{let o=r,s=e[++i],a=e[++i];QD(s,o);let l=t[o];Ne(24,l),a(2,l),Ne(25,l)}}}finally{Br(-1)}}function B_(n,t){let e=cv()?64:1088;for(n[hi].changeDetectionScheduler?.notify(t);n;){n[ee]|=e;let i=Or(n);if(ma(n)&&!i)return n;n=i}return null}function ZI(n,t,e,i){return[n,!0,0,t,null,i,null,e,null,null]}function XI(n,t){let e=bt+t;if(e<n.length)return n[e]}function Mc(n,t,e,i=!0){let r=t[K];if(mB(r,t,n,e),i){let s=zv(e,n),a=t[Ge],l=a.parentNode(n[Lr]);l!==null&&RV(r,n[$t],a,t,l,s)}let o=t[Go];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function JI(n,t){let e=_c(n,t);return e!==void 0&&Eh(e[K],e),e}function _c(n,t){if(n.length<=bt)return;let e=bt+t,i=n[e];if(i){let r=i[Nr];r!==null&&r!==n&&R_(r,i),t>0&&(n[e-1][In]=i[In]);let o=nc(n,bt+t);MV(i[K],i);let s=o[pi];s!==null&&s.detachView(o[K]),i[gt]=null,i[In]=null,i[ee]&=-129}return i}function mB(n,t,e,i){let r=bt+i,o=e.length;i>0&&(e[r-1][In]=t),i<o-bt?(t[In]=e[r],Py(e,bt+i,t)):(e.push(t),t[In]=null),t[gt]=e;let s=t[Nr];s!==null&&e!==s&&eA(s,t);let a=t[pi];a!==null&&a.insertView(n),kf(t),t[ee]|=128}function eA(n,t){let e=n[Qo],i=t[gt];if(mi(i))n[ee]|=2;else{let r=i[gt][Gt];t[Gt]!==r&&(n[ee]|=2)}e===null?n[Qo]=[t]:e.push(t)}function U_(n){return ga(n._lView)||!!(n._lView[ee]&64)}function H_(n){Ff(n._lView)}function gB(){return Sh(yt(),Y())}function Sh(n,t){return n.type&4?new cn(t,n,Sa(n,t)):null}function Ia(n,t,e,i,r){let o=n.data[t];if(o===null)o=yB(n,t,e,i,r),YD()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=GD();o.injectorIndex=s===null?-1:s.injectorIndex}return ya(o,!0),o}function yB(n,t,e,i,r){let o=ov(),s=sv(),a=s?o:o&&o.parent,l=n.data[t]=_B(n,a,e,t,i,r);return vB(n,l,o,s),l}function vB(n,t,e,i){n.firstChild===null&&(n.firstChild=t),e!==null&&(i?e.child==null&&t.parent!==null&&(e.child=t):e.next===null&&(e.next=t,t.prev=e))}function _B(n,t,e,i,r,o){let s=t?t.injectorIndex:-1,a=0;return nv()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bB(n){let t=n[Wy]??[],i=n[gt][Ge],r=[];for(let o of t)o.data[uI]!==void 0?r.push(o):xB(o,i);n[Wy]=r}function xB(n,t){let e=0,i=n.firstChild;if(i){let r=n.data[dI];for(;e<r;){let o=i.nextSibling;TI(t,i,!1),i=o,e++}}}function rh(n,t){return CB(n,t)}function tA(n,t,e){return EB(n,t,e)}function wB(){let n=Y(),t=yt(),e=Tn(t.index,n);return(mi(e)?e:n)[Ge]}function oh(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)r=Cf(r,a);else if(o==2){let l=a,c=t[++s];i=Cf(i,l+": "+c+";")}}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=r:n.classesWithoutHost=r}function T(n,t=0){let e=Y();if(e===null)return I(n,t);let i=yt();return tI(i,e,mt(n),t)}function Rc(){let n="invalid";throw new Error(n)}function rA(n,t,e,i,r){let o=i===null?null:{"":-1},s=r(n,e);if(s!==null){let a=s,l=null,c=null;for(let d of s)if(d.resolveHostDirectives!==null){[a,l,c]=d.resolveHostDirectives(s);break}IB(n,t,e,a,o,l,c)}o!==null&&i!==null&&DB(e,i,o)}function DB(n,t,e){let i=n.localNames=[];for(let r=0;r<t.length;r+=2){let o=e[t[r+1]];if(o==null)throw new w(-301,!1);i.push(t[r],o)}}function SB(n,t,e){t.componentOffset=e,(n.components??=[]).push(t.index)}function IB(n,t,e,i,r,o,s){let a=i.length,l=!1;for(let m=0;m<a;m++){let p=i[m];!l&&Gn(p)&&(l=!0,SB(n,e,m)),Tv(nh(e,t),n,p.type)}FB(e,n.data.length,a);for(let m=0;m<a;m++){let p=i[m];p.providersResolver&&p.providersResolver(p)}let c=!1,d=!1,h=OI(n,t,a,null);a>0&&(e.directiveToIndex=new Map);for(let m=0;m<a;m++){let p=i[m];if(e.mergedAttrs=xa(e.mergedAttrs,p.hostAttrs),TB(n,e,t,h,p),OB(h,p,r),s!==null&&s.has(p)){let[v,C]=s.get(p);e.directiveToIndex.set(p.type,[h,v+e.directiveStart,C+e.directiveStart])}else(o===null||!o.has(p))&&e.directiveToIndex.set(p.type,h);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let g=p.type.prototype;!c&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((n.preOrderHooks??=[]).push(e.index),c=!0),!d&&(g.ngOnChanges||g.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(e.index),d=!0),h++}AB(n,e,o)}function AB(n,t,e){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=n.data[i];if(e===null||!e.has(r))CS(0,t,r,i),CS(1,t,r,i),wS(t,i,!1);else{let o=e.get(r);ES(0,t,o,i),ES(1,t,o,i),wS(t,i,!0)}}}function CS(n,t,e,i){let r=n===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;n===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(i),oA(t,o)}}function ES(n,t,e,i){let r=n===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;n===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),oA(t,s)}}function oA(n,t){t==="class"?n.flags|=8:t==="style"&&(n.flags|=16)}function wS(n,t,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=n;if(i===null||!e&&r===null||e&&o===null||S_(n)){n.initialInputs??=[],n.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===t){s??=[],s.push(l,i[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===t){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}n.initialInputs??=[],n.initialInputs.push(s)}function TB(n,t,e,i,r){n.data[i]=r;let o=r.factory||(r.factory=Rr(r.type,!0)),s=new is(o,Gn(r),T,null);n.blueprint[i]=s,e[i]=s,MB(n,t,i,OI(n,e,r.hostVars,Wt),r)}function MB(n,t,e,i,r){let o=r.hostBindings;if(o){let s=n.hostBindingOpCodes;s===null&&(s=n.hostBindingOpCodes=[]);let a=~t.index;RB(s)!=a&&s.push(a),s.push(e,i,o)}}function RB(n){let t=n.length;for(;t>0;){let e=n[--t];if(typeof e=="number"&&e<0)return e}return 0}function OB(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;Gn(t)&&(e[""]=n)}}function FB(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function z_(n,t,e,i,r,o,s,a){let l=t[K],c=l.consts,d=Mn(c,s),h=Ia(l,n,e,i,d);return o&&rA(l,t,h,Mn(c,a),r),h.mergedAttrs=xa(h.mergedAttrs,h.attrs),h.attrs!==null&&oh(h,h.attrs,!1),h.mergedAttrs!==null&&oh(h,h.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,h),h}function $_(n,t){WS(n,t),qy(t)&&n.queries.elementEnd(t)}function kB(n,t,e,i,r,o){let s=t.consts,a=Mn(s,r),l=Ia(t,n,e,i,a);if(l.mergedAttrs=xa(l.mergedAttrs,l.attrs),o!=null){let c=Mn(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&oh(l,l.attrs,!1),l.mergedAttrs!==null&&oh(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function G_(n){return aA(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function sA(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{let e=n[Symbol.iterator](),i;for(;!(i=e.next()).done;)t(i.value)}}function aA(n){return n!==null&&(typeof n=="function"||typeof n=="object")}function Ah(n,t,e){return n[t]=e}function NB(n,t){return n[t]}function xn(n,t,e){if(e===Wt)return!1;let i=n[t];return Object.is(i,e)?!1:(n[t]=e,!0)}function W_(n,t,e,i){let r=xn(n,t,e);return xn(n,t+1,i)||r}function LB(n,t,e,i,r){let o=W_(n,t,e,i);return xn(n,t+2,r)||o}function bv(n,t,e){return function i(r){let o=Pr(n)?Tn(n.index,t):t;B_(o,5);let s=t[lt],a=DS(t,s,e,r),l=i.__ngNextListenerFn__;for(;l;)a=DS(t,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function DS(n,t,e,i){let r=ie(null);try{return Ne(6,t,e),e(i)!==!1}catch(o){return XV(n,o),!1}finally{Ne(7,t,e),ie(r)}}function PB(n,t,e,i,r,o,s,a){let l=pa(n),c=!1,d=null;if(!i&&l&&(d=jB(t,e,o,n.index)),d!==null){let h=d.__ngLastListenerFn__||d;h.__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0}else{let h=Wn(n,e),m=i?i(h):h;Vj(e,m,o,a);let p=r.listen(m,o,a),g=i?v=>i(An(v[n.index])):n.index;lA(g,t,e,o,a,p,!1)}return c}function jB(n,t,e,i){let r=n.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=t[fa],l=r[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function lA(n,t,e,i,r,o,s){let a=t.firstCreatePass?ev(t):null,l=Jy(e),c=l.length;l.push(r,o),a&&a.push(i,n,c,(c+1)*(s?-1:1))}function SS(n,t,e,i,r,o){let s=t[e],a=t[K],c=a.data[e].outputs[i],h=s[c].subscribe(o);lA(n.index,a,t,r,o,h,!0)}function VB(n){return Object.keys(n).map(t=>{let[e,i,r]=n[t],o={propName:e,templateName:t,isSignal:(i&Ch.SignalBased)!==0};return r&&(o.transform=r),o})}function BB(n){return Object.keys(n).map(t=>({propName:n[t],templateName:t}))}function UB(n,t,e){let i=t instanceof $e?t:t?.injector;return i&&n.getStandaloneInjector!==null&&(i=n.getStandaloneInjector(i)||i),i?new Wv(e,i):e}function HB(n){let t=n.get(ut,null);if(t===null)throw new w(407,!1);let e=n.get(iA,null),i=n.get(an,null);return{rendererFactory:t,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function zB(n,t){let e=(n.selectors[0][0]||"div").toLowerCase();return II(t,e,e==="svg"?Ky:e==="math"?PD:null)}function $B(n,t,e,i){let r=n?["ng-version","20.1.7"]:bV(t.selectors[0]),o=null,s=null,a=0;if(e)for(let d of e)a+=d[qv].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(i)for(let d=0;d<i.length;d++){let h=i[d];if(typeof h!="function")for(let m of h.bindings){a+=m[qv].requiredVars;let p=d+1;m.create&&(m.targetIdx=p,(o??=[]).push(m)),m.update&&(m.targetIdx=p,(s??=[]).push(m))}}let l=[t];if(i)for(let d of i){let h=typeof d=="function"?d:d.type,m=Af(h);l.push(m)}return I_(0,null,GB(o,s),1,a,l,null,null,null,[r],null)}function GB(n,t){return!n&&!t?null:e=>{if(e&1&&n)for(let i of n)i.create();if(e&2&&t)for(let i of t)i.update()}}function IS(n){let t=n[qv].kind;return t==="input"||t==="twoWay"}function WB(n,t,e){let i=n.projection=[];for(let r=0;r<t.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}function qB(){let n=yt();return dA(n,Y())}function AS(n){return n[oc]}function xv(n){return n[oc]||(n[oc]=[])}function dA(n,t){let e,i=t[n.index];return $n(i)?e=i:(e=ZI(i,t,null,n),t[n.index]=e,T_(t,e)),QB(e,t,n,i),new cA(e,n,t)}function YB(n,t){let e=n[Ge],i=e.createComment(""),r=Wn(t,n),o=e.parentNode(r);return ih(e,o,i,e.nextSibling(r),!1),i}function XB(n,t,e){return ZB(n,t,e)}function JB(n,t,e,i){if(n[Lr])return;let r;e.type&8?r=An(i):r=YB(t,e),n[Lr]=r}function e2(n,t){let e=n.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1]}return null}function t2(n,t){return n.type&11?Sa(n,t):n.type&4?Sh(n,t):null}function n2(n,t,e,i){return e===-1?t2(t,n):e===-2?i2(n,t,i):yc(n,n[K],e,t)}function i2(n,t,e){if(e===H)return Sa(t,n);if(e===cn)return Sh(t,n);if(e===At)return dA(t,n)}function uA(n,t,e,i){let r=t[pi].queries[i];if(r.matches===null){let o=n.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(n2(t,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function Xv(n,t,e,i){let r=n.queries.getByIndex(e),o=r.matches;if(o!==null){let s=uA(n,t,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=t[-l];for(let h=bt;h<d.length;h++){let m=d[h];m[Nr]===m[gt]&&Xv(m[K],m,c,i)}if(d[Qo]!==null){let h=d[Qo];for(let m=0;m<h.length;m++){let p=h[m];Xv(p[K],p,c,i)}}}}}return i}function q_(n,t){return n[pi].queries[t].queryList}function fA(n,t,e){let i=new rs((e&4)===4);return HD(n,t,i,i.destroy),(t[pi]??=new Yv).queries.push(new Kv(i))-1}function hA(n,t,e){let i=Xe();return i.firstCreatePass&&(mA(i,new lh(n,t,e),-1),(t&2)===2&&(i.staticViewQueries=!0)),fA(i,Y(),t)}function pA(n,t,e,i){let r=Xe();if(r.firstCreatePass){let o=yt();mA(r,new lh(t,e,i),o.index),o2(r,n),(e&2)===2&&(r.staticContentQueries=!0)}return fA(r,Y(),e)}function r2(n){return n.split(",").map(t=>t.trim())}function mA(n,t,e){n.queries===null&&(n.queries=new Qv),n.queries.track(new Zv(t,e))}function o2(n,t){let e=n.contentQueries||(n.contentQueries=[]),i=e.length?e[e.length-1]:-1;t!==i&&e.push(n.queries.length-1,t)}function K_(n,t){return n.queries.getByIndex(t)}function gA(n,t){let e=n[K],i=K_(e,t);return i.crossesNgTemplate?Xv(e,n,t,[]):uA(e,n,i,t)}function yA(n,t,e){let i,r=Nl(()=>{i._dirtyCounter();let o=s2(i,n);if(t&&o===void 0)throw new w(-951,!1);return o});return i=r[pt],i._dirtyCounter=Me(0),i._flatValue=void 0,r}function Y_(n){return yA(!0,!1,n)}function Q_(n){return yA(!0,!0,n)}function vA(n,t){let e=n[pt];e._lView=Y(),e._queryIndex=t,e._queryList=q_(e._lView,t),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function s2(n,t){let e=n._lView,i=n._queryIndex;if(e===void 0||i===void 0||e[ee]&4)return t?void 0:Pt;let r=q_(e,i),o=gA(e,i);return r.reset(o,rI),t?r.first:r._changesDetected||n._flatValue===void 0?n._flatValue=r.toArray():n._flatValue}function Rn(n){TS.has(n)||(TS.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function Aa(n,t,e=null){return new bc({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}function $(n){return Da(()=>{let t=_A(n),e=X(b({},t),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===m_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(a2).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Gi.Emulated,styles:n.styles||Pt,_:null,schemas:n.schemas||null,tView:null,id:""});t.standalone&&Rn("NgStandalone"),bA(e);let i=n.dependencies;return e.directiveDefs=MS(i,l2),e.pipeDefs=MS(i,RD),e.id=u2(e),e})}function l2(n){return fi(n)||Af(n)}function N(n){return Da(()=>({type:n.type,bootstrap:n.bootstrap||Pt,declarations:n.declarations||Pt,imports:n.imports||Pt,exports:n.exports||Pt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function c2(n,t){if(n==null)return Hn;let e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=Ch.None,l=null),e[o]=[i,a,l],t[o]=s}return e}function d2(n){if(n==null)return Hn;let t={};for(let e in n)n.hasOwnProperty(e)&&(t[n[e]]=e);return t}function j(n){return Da(()=>{let t=_A(n);return bA(t),t})}function ss(n){return{type:n.type,name:n.name,factory:null,pure:n.pure!==!1,standalone:n.standalone??!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function _A(n){let t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputConfig:n.inputs||Hn,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:n.signals===!0,selectors:n.selectors||Pt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:c2(n.inputs,t),outputs:d2(n.outputs),debugInfo:null}}function bA(n){n.features?.forEach(t=>t(n))}function MS(n,t){return n?()=>{let e=typeof n=="function"?n():n,i=[];for(let r of e){let o=t(r);o!==null&&i.push(o)}return i}:null}function u2(n){let t=0,e=typeof n.consts=="function"?"":n.consts,i=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,e,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function f2(n){return Object.getPrototypeOf(n.prototype).constructor}function he(n){let t=f2(n.type),e=!0,i=[n];for(;t;){let r;if(Gn(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new w(903,!1);r=t.\u0275dir}if(r){if(e){i.push(r);let s=n;s.inputs=Cv(n.inputs),s.declaredInputs=Cv(n.declaredInputs),s.outputs=Cv(n.outputs);let a=r.hostBindings;a&&y2(n,a);let l=r.viewQuery,c=r.contentQueries;if(l&&m2(n,l),c&&g2(n,c),h2(n,r),CD(n.outputs,r.outputs),Gn(r)&&r.data.animation){let d=n.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(n),a===he&&(e=!1)}}t=Object.getPrototypeOf(t)}p2(i)}function h2(n,t){for(let e in t.inputs){if(!t.inputs.hasOwnProperty(e)||n.inputs.hasOwnProperty(e))continue;let i=t.inputs[e];i!==void 0&&(n.inputs[e]=i,n.declaredInputs[e]=t.declaredInputs[e])}}function p2(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){let r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=xa(r.hostAttrs,e=xa(e,r.hostAttrs))}}function Cv(n){return n===Hn?{}:n===Pt?[]:n}function m2(n,t){let e=n.viewQuery;e?n.viewQuery=(i,r)=>{t(i,r),e(i,r)}:n.viewQuery=t}function g2(n,t){let e=n.contentQueries;e?n.contentQueries=(i,r,o)=>{t(i,r,o),e(i,r,o)}:n.contentQueries=t}function y2(n,t){let e=n.hostBindings;e?n.hostBindings=(i,r)=>{t(i,r),e(i,r)}:n.hostBindings=t}function Z_(n){let t=e=>{let i=Array.isArray(n);e.hostDirectives===null?(e.resolveHostDirectives=v2,e.hostDirectives=i?n.map(Jv):[n]):i?e.hostDirectives.unshift(...n.map(Jv)):e.hostDirectives.unshift(n)};return t.ngInherit=!0,t}function v2(n){let t=[],e=!1,i=null,r=null;for(let o=0;o<n.length;o++){let s=n[o];if(s.hostDirectives!==null){let a=t.length;i??=new Map,r??=new Map,xA(s,t,i),r.set(s,[a,t.length-1])}o===0&&Gn(s)&&(e=!0,t.push(s))}for(let o=e?1:0;o<n.length;o++)t.push(n[o]);return[t,i,r]}function xA(n,t,e){if(n.hostDirectives!==null)for(let i of n.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)RS(Jv(o),t,e)}else RS(i,t,e)}function RS(n,t,e){let i=Af(n.directive);_2(i.declaredInputs,n.inputs),xA(i,t,e),e.set(i,n),t.push(i)}function Jv(n){return typeof n=="function"?{directive:mt(n),inputs:Hn,outputs:Hn}:{directive:mt(n.directive),inputs:OS(n.inputs),outputs:OS(n.outputs)}}function OS(n){if(n===void 0||n.length===0)return Hn;let t={};for(let e=0;e<n.length;e+=2)t[n[e]]=n[e+1];return t}function _2(n,t){for(let e in t)if(t.hasOwnProperty(e)){let i=t[e],r=n[e];n[i]=r}}function CA(n,t,e,i,r,o,s,a){if(e.firstCreatePass){n.mergedAttrs=xa(n.mergedAttrs,n.attrs);let d=n.tView=I_(2,n,r,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,n),d.queries=e.queries.embeddedTView(n))}a&&(n.flags|=a),ya(n,!1);let l=x2(e,t,n,i);Hf()&&O_(e,t,l,n),Ca(l,t);let c=ZI(l,t,l,n);t[i+Ze]=c,T_(t,c),XB(c,n,t)}function b2(n,t,e,i,r,o,s,a,l,c,d){let h=e+Ze,m;return t.firstCreatePass?(m=Ia(t,h,4,s||null,a||null),Nf()&&rA(t,n,m,Mn(t.consts,c),k_),WS(t,m)):m=t.data[h],CA(m,n,t,e,i,r,o,l),pa(m)&&Dh(t,n,m),c!=null&&Ac(n,m,d),m}function xc(n,t,e,i,r,o,s,a,l,c,d){let h=e+Ze,m;if(t.firstCreatePass){if(m=Ia(t,h,4,s||null,a||null),c!=null){let p=Mn(t.consts,c);m.localNames=[];for(let g=0;g<p.length;g+=2)m.localNames.push(p[g],-1)}}else m=t.data[h];return CA(m,n,t,e,i,r,o,l),c!=null&&Ac(n,m,d),m}function Ae(n,t,e,i,r,o,s,a){let l=Y(),c=Xe(),d=Mn(c.consts,o);return b2(l,c,n,t,e,i,r,d,void 0,s,a),Ae}function C2(n,t,e,i){return dc(!0),t[Ge].createComment("")}function wA(n){let t,e;function i(){n=ts;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{n(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{n(),i()})),()=>i()}function FS(n){return queueMicrotask(()=>n()),()=>{n=ts}}function J_(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function D2(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function t(){wA(()=>{n.callbackScheduled=!1,t_(n),n.isCheckStableRunning=!0,J_(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{t()}):n._outer.run(()=>{t()}),t_(n)}function S2(n){let t=()=>{D2(n)},e=E2++;n._inner=n._inner.fork({name:"angular",properties:{[X_]:!0,[uh]:e,[uh+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(I2(l))return i.invokeTask(o,s,a,l);try{return kS(n),i.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&t(),NS(n)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return kS(n),i.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!A2(l)&&t(),NS(n)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(n._hasPendingMicrotasks=s.microTask,t_(n),J_(n)):s.change=="macroTask"&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}function t_(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function kS(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function NS(n){n._nesting--,J_(n)}function I2(n){return DA(n,"__ignore_ng_zone__")}function A2(n){return DA(n,"__scheduler_tick__")}function DA(n,t){return!Array.isArray(n)||n.length!==1?!1:n[0]?.data?.[t]===!0}function qt(n,t){let e=t?.injector??u(G);return Rn("NgAfterNextRender"),M2(n,e,t,!0)}function T2(n){return n instanceof Function?[void 0,void 0,n,void 0]:[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function M2(n,t,e,i){let r=t.get(Rh);r.impl??=t.get(tb);let o=t.get(Kr,null,{optional:!0}),s=e?.manualCleanup!==!0?t.get(bn):null,a=t.get(es,null,{optional:!0}),l=new Cc(r.impl,T2(n),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}function Yr(n){return!!n&&typeof n.then=="function"}function ib(n){return!!n&&typeof n.subscribe=="function"}function Fh(n){return $o([{provide:rb,multi:!0,useValue:n}])}function SA(){bg(()=>{let n="";throw new w(600,n)})}function IA(n){return n.isBoundToModule}function gc(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function De(n,t,e,i){let r=Y(),o=Vr();if(xn(r,o,t)){let s=Xe(),a=cc();YV(a,r,n,t,e,i)}return De}function Ev(n,t,e,i,r){return n===e&&Object.is(t,i)?1:Object.is(r(n,t),r(e,i))?-1:0}function O2(n,t,e){let i,r,o=0,s=n.length-1,a=void 0;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let c=n.at(o),d=t[o],h=Ev(o,c,o,d,e);if(h!==0){h<0&&n.updateValue(o,d),o++;continue}let m=n.at(s),p=t[l],g=Ev(s,m,l,p,e);if(g!==0){g<0&&n.updateValue(s,p),s--,l--;continue}let v=e(o,c),C=e(s,m),D=e(o,d);if(Object.is(D,C)){let L=e(l,p);Object.is(L,v)?(n.swap(o,s),n.updateValue(s,p),l--,s--):n.move(s,o),n.updateValue(o,d),o++;continue}if(i??=new hh,r??=PS(n,o,s,e),i_(n,i,o,D))n.updateValue(o,d),o++,s++;else if(r.has(D))i.set(v,n.detach(o)),s--;else{let L=n.create(o,t[o]);n.attach(o,L),o++,s++}}for(;o<=l;)LS(n,i,e,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=n.at(o),h=c.value,m=Ev(o,d,o,h,e);if(m!==0)m<0&&n.updateValue(o,h),o++,c=l.next();else{i??=new hh,r??=PS(n,o,s,e);let p=e(o,h);if(i_(n,i,o,p))n.updateValue(o,h),o++,s++,c=l.next();else if(!r.has(p))n.attach(o,n.create(o,h)),o++,s++,c=l.next();else{let g=e(o,d);i.set(g,n.detach(o)),s--}}}for(;!c.done;)LS(n,i,e,n.length,c.value),c=l.next()}for(;o<=s;)n.destroy(n.detach(s--));i?.forEach(l=>{n.destroy(l)})}function i_(n,t,e,i){return t!==void 0&&t.has(i)?(n.attach(e,t.get(i)),t.delete(i),!0):!1}function LS(n,t,e,i,r){if(i_(n,t,i,e(i,r)))n.updateValue(i,r);else{let o=n.create(i,r);n.attach(i,o)}}function PS(n,t,e,i){let r=new Set;for(let o=t;o<=e;o++)r.add(i(o,n.at(o)));return r}function ot(n,t,e,i,r,o,s,a){Rn("NgControlFlow");let l=Y(),c=Xe(),d=Mn(c.consts,o);return xc(l,c,n,t,e,i,r,d,256,s,a),sb}function sb(n,t,e,i,r,o,s,a){Rn("NgControlFlow");let l=Y(),c=Xe(),d=Mn(c.consts,o);return xc(l,c,n,t,e,i,r,d,512,s,a),sb}function st(n,t){Rn("NgControlFlow");let e=Y(),i=Vr(),r=e[i]!==Wt?e[i]:-1,o=r!==-1?ph(e,Ze+r):void 0,s=0;if(xn(e,i,n)){let a=ie(null);try{if(o!==void 0&&JI(o,s),n!==-1){let l=Ze+n,c=ph(e,l),d=a_(e[K],l),h=tA(c,d,e),m=Tc(e,d,t,{dehydratedView:h});Mc(c,m,s,Ea(d,h))}}finally{ie(a)}}else if(o!==void 0){let a=XI(o,s);a!==void 0&&(a[lt]=t)}}function ab(n){return n}function lb(n,t,e,i,r,o,s,a,l,c,d,h,m){Rn("NgControlFlow");let p=Y(),g=Xe(),v=l!==void 0,C=Y(),D=a?s.bind(C[Gt][lt]):s,L=new o_(v,D);C[Ze+n]=L,xc(p,g,n+1,t,e,i,r,Mn(g.consts,o),256),v&&xc(p,g,n+2,l,c,d,h,Mn(g.consts,m),512)}function cb(n){let t=ie(null),e=gi();try{let i=Y(),r=i[K],o=i[e],s=e+1,a=ph(i,s);if(o.liveCollection===void 0){let c=a_(r,s);o.liveCollection=new s_(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(O2(l,n,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=Vr(),d=l.length===0;if(xn(i,c,d)){let h=e+2,m=ph(i,h);if(d){let p=a_(r,h),g=tA(m,p,i),v=Tc(i,p,void 0,{dehydratedView:g});Mc(m,v,0,Ea(p,g))}else r.firstUpdatePass&&bB(m),JI(m,0)}}}finally{ie(t)}}function ph(n,t){return n[t]}function F2(n,t){return _c(n,t)}function k2(n,t){return XI(n,t)}function a_(n,t){return sc(n,t)}function A(n,t,e){let i=Y(),r=Vr();if(xn(i,r,t)){let o=Xe(),s=cc();BI(s,i,n,t,i[Ge],e)}return A}function l_(n,t,e,i,r){P_(t,n,e,r?"class":"style",i)}function S(n,t,e,i){let r=Y(),o=r[K],s=n+Ze,a=o.firstCreatePass?z_(s,r,2,t,k_,Nf(),e,i):o.data[s];if(N_(a,r,n,t,AA),pa(a)){let l=r[K];Dh(l,r,a),v_(l,a,r)}return i!=null&&Ac(r,a),S}function R(){let n=Xe(),t=yt(),e=L_(t);return n.firstCreatePass&&$_(n,e),iv(e)&&rv(),tv(),e.classesWithoutHost!=null&&yj(e)&&l_(n,e,Y(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&vj(e)&&l_(n,e,Y(),e.stylesWithoutHost,!1),R}function de(n,t,e,i){return S(n,t,e,i),R(),de}function Ki(n,t,e,i){let r=Y(),o=r[K],s=n+Ze,a=o.firstCreatePass?kB(s,o,2,t,e,i):o.data[s];return N_(a,r,n,t,AA),i!=null&&Ac(r,a),Ki}function Yi(){let n=yt(),t=L_(n);return iv(t)&&rv(),tv(),Yi}function On(n,t,e,i){return Ki(n,t,e,i),Yi(),On}function db(n,t,e){let i=Y(),r=i[K],o=n+Ze,s=r.firstCreatePass?z_(o,i,8,"ng-container",k_,Nf(),t,e):r.data[o];if(N_(s,i,n,"ng-container",N2),pa(s)){let a=i[K];Dh(a,i,s),v_(a,s,i)}return e!=null&&Ac(i,s),db}function ub(){let n=Xe(),t=yt(),e=L_(t);return n.firstCreatePass&&$_(n,e),ub}function Ma(n,t,e){return db(n,t,e),ub(),Ma}function Re(){return Y()}function Qi(n,t,e){let i=Y(),r=Vr();if(xn(i,r,t)){let o=Xe(),s=cc();UI(s,i,n,t,i[Ge],e)}return Qi}function TA(n){typeof n=="string"&&(L2=n.toLowerCase().replace(/_/g,"-"))}function te(n,t,e){let i=Y(),r=Xe(),o=yt();return MA(r,i,i[Ge],o,n,t,e),te}function MA(n,t,e,i,r,o,s){let a=!0,l=null;if((i.type&3||s)&&(l??=bv(i,t,o),PB(i,n,t,s,e,r,o,l)&&(a=!1)),a){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let h=0;h<d.length;h+=2){let m=d[h],p=d[h+1];l??=bv(i,t,o),SS(i,t,m,p,r,l)}if(c&&c.length)for(let h of c)l??=bv(i,t,o),SS(i,t,h,r,r,l)}}function W(n=1){return nS(n)}function P2(n,t){let e=null,i=pV(n);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){e=r;continue}if(i===null?SI(n,o,!0):yV(i,o))return r}return e}function Kt(n){let t=Y()[Gt][$t];if(!t.projection){let e=n?n.length:1,i=t.projection=TD(e,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let s=n?P2(o,n):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function We(n,t=0,e,i,r,o){let s=Y(),a=Xe(),l=i?n+1:null;l!==null&&xc(s,a,l,i,r,o,null,e);let c=Ia(a,Ze+n,16,null,e||null);c.projection===null&&(c.projection=t),av();let h=!s[Go]||nv();s[Gt][$t].projection[c.projection]===null&&l!==null?j2(s,a,l):h&&!vh(c)&&jV(a,s,c)}function j2(n,t,e){let i=Ze+e,r=t.data[i],o=n[i],s=rh(o,r.tView.ssrId),a=Tc(n,r,void 0,{dehydratedView:s});Mc(o,a,0,Ea(r,s))}function Fn(n,t,e,i){pA(n,t,e,i)}function Be(n,t,e){hA(n,t,e)}function be(n){let t=Y(),e=Xe(),i=jf();lc(i+1);let r=K_(e,i);if(n.dirty&&jD(t)===((r.metadata.flags&2)===2)){if(r.matches===null)n.reset([]);else{let o=gA(t,i);n.reset(o,rI),n.notifyOnChanges()}return!0}return!1}function xe(){return q_(Y(),jf())}function fb(n,t,e,i,r){vA(t,pA(n,e,i,r))}function Ra(n,t,e,i){vA(n,hA(t,e,i))}function kh(n=1){lc(jf()+n)}function Yt(n){let t=WD();return Rf(t,Ze+n)}function qf(n,t){return n<<17|t<<2}function os(n){return n>>17&32767}function V2(n){return(n&2)==2}function B2(n,t){return n&131071|t<<17}function c_(n){return n|2}function wa(n){return(n&131068)>>2}function wv(n,t){return n&-131069|t<<2}function U2(n){return(n&1)===1}function d_(n){return n|1}function H2(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=os(s),l=wa(s);n[i]=e;let c=!1,d;if(Array.isArray(e)){let h=e;d=h[1],(d===null||da(h,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=os(n[a+1]);n[i+1]=qf(m,a),m!==0&&(n[m+1]=wv(n[m+1],i)),n[a+1]=B2(n[a+1],i)}else n[i+1]=qf(a,0),a!==0&&(n[a+1]=wv(n[a+1],i)),a=i;else n[i+1]=qf(l,0),a===0?a=i:n[l+1]=wv(n[l+1],i),l=i;c&&(n[i+1]=c_(n[i+1])),jS(n,d,i,!0),jS(n,d,i,!1),z2(t,d,n,i,o),s=qf(a,l),o?t.classBindings=s:t.styleBindings=s}function z2(n,t,e,i,r){let o=r?n.residualClasses:n.residualStyles;o!=null&&typeof t=="string"&&da(o,t)>=0&&(e[i+1]=d_(e[i+1]))}function jS(n,t,e,i){let r=n[e+1],o=t===null,s=i?os(r):wa(r),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];$2(l,t)&&(a=!0,n[s+1]=i?d_(c):c_(c)),s=i?os(c):wa(c)}a&&(n[e+1]=i?c_(r):d_(r))}function $2(n,t){return n===null||t==null||(Array.isArray(n)?n[1]:n)===t?!0:Array.isArray(n)&&typeof t=="string"?da(n,t)>=0:!1}function G2(n){return n.substring(Kn.key,Kn.keyEnd)}function W2(n){return q2(n),RA(n,OA(n,0,Kn.textEnd))}function RA(n,t){let e=Kn.textEnd;return e===t?-1:(t=Kn.keyEnd=K2(n,Kn.key=t,e),OA(n,t,e))}function q2(n){Kn.key=0,Kn.keyEnd=0,Kn.value=0,Kn.valueEnd=0,Kn.textEnd=n.length}function OA(n,t,e){for(;t<e&&n.charCodeAt(t)<=32;)t++;return t}function K2(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}function as(n,t,e){return FA(n,t,e,!1),as}function ne(n,t){return FA(n,t,null,!0),ne}function Yn(n){Q2(nU,Y2,n,!0)}function Y2(n,t){for(let e=W2(t);e>=0;e=RA(t,e))Sf(n,G2(t),!0)}function FA(n,t,e,i){let r=Y(),o=Xe(),s=Lf(2);if(o.firstUpdatePass&&NA(o,n,s,i),t!==Wt&&xn(r,s,t)){let a=o.data[gi()];LA(o,a,r,r[Ge],n,r[s+1]=rU(t,e),i,s)}}function Q2(n,t,e,i){let r=Xe(),o=Lf(2);r.firstUpdatePass&&NA(r,null,o,i);let s=Y();if(e!==Wt&&xn(s,o,e)){let a=r.data[gi()];if(PA(a,i)&&!kA(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Cf(l,e||"")),l_(r,a,s,e,i)}else iU(r,a,s,s[Ge],s[o+1],s[o+1]=tU(n,t,e),i,o)}}function kA(n,t){return t>=n.expandoStartIndex}function NA(n,t,e,i){let r=n.data;if(r[e+1]===null){let o=r[gi()],s=kA(n,e);PA(o,i)&&t===null&&!s&&(t=!1),t=Z2(r,o,t,i),H2(r,o,t,e,s,i)}}function Z2(n,t,e,i){let r=XD(n),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(e=Dv(null,n,t,e,i),e=Ec(e,t.attrs,i),o=null);else{let s=t.directiveStylingLast;if(s===-1||n[s]!==r)if(e=Dv(r,n,t,e,i),o===null){let l=X2(n,t,i);l!==void 0&&Array.isArray(l)&&(l=Dv(null,n,t,l[1],i),l=Ec(l,t.attrs,i),J2(n,t,i,l))}else o=eU(n,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),e}function X2(n,t,e){let i=e?t.classBindings:t.styleBindings;if(wa(i)!==0)return n[os(i)]}function J2(n,t,e,i){let r=e?t.classBindings:t.styleBindings;n[os(r)]=i}function eU(n,t,e){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let s=n[o].hostAttrs;i=Ec(i,s,e)}return Ec(i,t.attrs,e)}function Dv(n,t,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=t[a],i=Ec(i,o.hostAttrs,r),o!==n);)a++;return n!==null&&(e.directiveStylingLast=a),i}function Ec(n,t,e){let i=e?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?r=s:r===i&&(Array.isArray(n)||(n=n===void 0?[]:["",n]),Sf(n,s,e?!0:t[++o]))}return n===void 0?null:n}function tU(n,t,e){if(e==null||e==="")return Pt;let i=[],r=Cn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)n(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&n(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function nU(n,t,e){let i=String(t);i!==""&&!i.includes(" ")&&Sf(n,i,e)}function iU(n,t,e,i,r,o,s,a){r===Wt&&(r=Pt);let l=0,c=0,d=0<r.length?r[0]:null,h=0<o.length?o[0]:null;for(;d!==null||h!==null;){let m=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0,g=null,v;d===h?(l+=2,c+=2,m!==p&&(g=h,v=p)):h===null||d!==null&&d<h?(l+=2,g=d):(c+=2,g=h,v=p),g!==null&&LA(n,t,e,i,g,v,s,a),d=l<r.length?r[l]:null,h=c<o.length?o[c]:null}}function LA(n,t,e,i,r,o,s,a){if(!(t.type&3))return;let l=n.data,c=l[a+1],d=U2(c)?VS(l,t,e,r,wa(c),s):void 0;if(!mh(d)){mh(o)||V2(c)&&(o=VS(l,null,e,r,a,s));let h=Yy(gi(),e);BV(i,s,h,r,o)}}function VS(n,t,e,i,r,o){let s=t===null,a;for(;r>0;){let l=n[r],c=Array.isArray(l),d=c?l[1]:l,h=d===null,m=e[r+1];m===Wt&&(m=h?Pt:void 0);let p=h?If(m,i):d===i?m:void 0;if(c&&!mh(p)&&(p=If(l,i)),mh(p)&&(a=p,s))return a;let g=n[r+1];r=s?os(g):wa(g)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=If(l,i))}return a}function mh(n){return n!==void 0}function rU(n,t){return n==null||n===""||(typeof t=="string"?n=n+t:typeof n=="object"&&(n=Hi(Cn(n)))),n}function PA(n,t){return(n.flags&(t?8:16))!==0}function se(n,t=""){let e=Y(),i=Xe(),r=n+Ze,o=i.firstCreatePass?Ia(i,r,1,t,null):i.data[r],s=oU(i,e,o,t,n);e[r]=s,Hf()&&O_(i,e,s,o),ya(o,!1)}function jA(n,t,e,i=""){return xn(n,Vr(),e)?t+kr(e)+i:Wt}function sU(n,t,e,i,r,o=""){let s=qD(),a=W_(n,s,e,r);return Lf(2),a?t+kr(e)+i+kr(r)+o:Wt}function ft(n){return Je("",n),ft}function Je(n,t,e){let i=Y(),r=jA(i,n,t,e);return r!==Wt&&VA(i,gi(),r),Je}function Nh(n,t,e,i,r){let o=Y(),s=sU(o,n,t,e,i,r);return s!==Wt&&VA(o,gi(),s),Nh}function VA(n,t,e){let i=Yy(t,n);CV(n[Ge],i,e)}function ls(n,t,e){pv(t)&&(t=t());let i=Y(),r=Vr();if(xn(i,r,t)){let o=Xe(),s=cc();BI(s,i,n,t,i[Ge],e)}return ls}function Oa(n,t){let e=pv(n);return e&&n.set(t),e}function cs(n,t){let e=Y(),i=Xe(),r=yt();return MA(i,e,e[Ge],r,n,t),cs}function Fc(n,t,e=""){return jA(Y(),n,t,e)}function aU(n,t,e){let i=Xe();if(i.firstCreatePass){let r=Gn(n);u_(e,i.data,i.blueprint,r,!0),u_(t,i.data,i.blueprint,r,!1)}}function u_(n,t,e,i,r){if(n=mt(n),Array.isArray(n))for(let o=0;o<n.length;o++)u_(n[o],t,e,i,r);else{let o=Xe(),s=Y(),a=yt(),l=Uo(n)?n:mt(n.provide),c=zy(n),d=a.providerIndexes&1048575,h=a.directiveStart,m=a.providerIndexes>>20;if(Uo(n)||!n.multi){let p=new is(c,r,T,null),g=Iv(l,t,r?d:d+m,h);g===-1?(Tv(nh(a,s),o,l),Sv(o,n,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[g]=p,s[g]=p)}else{let p=Iv(l,t,d+m,h),g=Iv(l,t,d,d+m),v=p>=0&&e[p],C=g>=0&&e[g];if(r&&!C||!r&&!v){Tv(nh(a,s),o,l);let D=dU(r?cU:lU,e.length,r,i,c,n);!r&&C&&(e[g].providerFactory=D),Sv(o,n,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(D),s.push(D)}else{let D=BA(e[r?g:p],c,!r&&i);Sv(o,n,p>-1?p:g,D)}!r&&i&&C&&e[g].componentProviders++}}}function Sv(n,t,e,i){let r=Uo(t),o=kD(t);if(r||o){let l=(o?mt(t.useClass):t).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function BA(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Iv(n,t,e,i){for(let r=e;r<i;r++)if(t[r]===n)return r;return-1}function lU(n,t,e,i,r){return f_(this.multi,[])}function cU(n,t,e,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=yc(i,i[K],this.providerFactory.index,r);s=l.slice(0,a),f_(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],f_(o,s);return s}function f_(n,t){for(let e=0;e<n.length;e++){let i=n[e];t.push(i())}return t}function dU(n,t,e,i,r,o){let s=new is(n,e,T,null);return s.multi=[],s.index=t,s.componentProviders=0,BA(s,r,i&&!e),s}function Tt(n,t=[]){return e=>{e.providersResolver=(i,r)=>aU(i,r?r(n):n,t)}}function kc(n,t,e){let i=Xo()+n,r=Y();return r[i]===Wt?Ah(r,i,e?t.call(e):t()):NB(r,i)}function hb(n,t,e,i){return UA(Y(),Xo(),n,t,e,i)}function pb(n,t,e,i,r){return HA(Y(),Xo(),n,t,e,i,r)}function mb(n,t,e,i,r,o){return uU(Y(),Xo(),n,t,e,i,r,o)}function gb(n,t){let e=n[t];return e===Wt?void 0:e}function UA(n,t,e,i,r,o){let s=t+e;return xn(n,s,r)?Ah(n,s+1,o?i.call(o,r):i(r)):gb(n,s+1)}function HA(n,t,e,i,r,o,s){let a=t+e;return W_(n,a,r,o)?Ah(n,a+2,s?i.call(s,r,o):i(r,o)):gb(n,a+2)}function uU(n,t,e,i,r,o,s,a){let l=t+e;return LB(n,l,r,o,s)?Ah(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):gb(n,l+3)}function ae(n,t){let e=Xe(),i,r=n+Ze;e.firstCreatePass?(i=fU(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Rr(i.type,!0)),s,a=zt(T);try{let l=th(!1),c=o();return th(l),Qy(e,Y(),r,c),c}finally{zt(a)}}function fU(n,t){if(t)for(let e=t.length-1;e>=0;e--){let i=t[e];if(n===i.name)return i}}function me(n,t,e){let i=n+Ze,r=Y(),o=Rf(r,i);return zA(r,i)?UA(r,Xo(),t,o.transform,e,o):o.transform(e)}function ds(n,t,e,i){let r=n+Ze,o=Y(),s=Rf(o,r);return zA(o,r)?HA(o,Xo(),t,s.transform,e,i,s):s.transform(e,i)}function zA(n,t){return n[K].data[t].pure}function Qr(n,t){return Sh(n,t)}function $A({ngZoneFactory:n,ignoreChangesOutsideZone:t,scheduleInRootZone:e}){return n??=()=>new P(X(b({},GA()),{scheduleInRootZone:e})),[{provide:P,useFactory:n},{provide:zi,multi:!0,useFactory:()=>{let i=u(hU,{optional:!0});return()=>i.initialize()}},{provide:zi,multi:!0,useFactory:()=>{let i=u(pU);return()=>{i.initialize()}}},t===!0?{provide:mv,useValue:!0}:[],{provide:gv,useValue:e??EA},{provide:ln,useFactory:()=>{let i=u(P),r=u($e),o;return s=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw s}):(o??=r.get(It),o.handleError(s))})}}}]}function GA(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}function mU(){return typeof $localize<"u"&&$localize.locale||Oc}var zf,wc,h_,Xf,je,$S,sS,Ne,ba,is,Av,Cj,QS,ZS,Ej,vi,ns,H,rs,m_,sI,Oj,uS,Ov,$r,Nj,yh,dn,Gr,Wr,Lj,Pj,dI,uI,fI,hI,jj,Bj,Gi,$f,Gf,Wi,kv,Nv,Lv,Pv,jv,Vv,Bv,$j,vI,_I,bI,Gj,Wj,qj,pS,xI,Kj,Yj,Qj,Zj,Uv,tV,nV,Wf,xt,oV,sV,aV,DI,Wt,Ch,_i,TV,PV,bS,zV,xS,nB,$I,sB,lB,cB,Hr,cn,_X,CB,EB,nA,Ih,Gv,qr,ut,rt,iA,Zf,Wv,qv,sh,zr,ah,At,KB,cA,QB,ZB,Kv,Yv,lh,Qv,Zv,TS,bi,Th,ch,dh,bc,a2,x2,Mh,Kr,EA,e_,z,X_,uh,E2,P,w2,fh,Rh,eb,tb,Cc,Oh,nb,rb,ob,Ta,R2,jt,n_,hh,r_,o_,s_,AA,N2,Oc,L2,Kn,oU,gh,yb,hU,pU,WA,Lh,vb=f(()=>{"use strict";pc();Ao();we();hy();it();zf="__parameters__";wc=Ly(US("Optional"),8),h_=Ly(US("SkipSelf"),4);Xf=class{previousValue;currentValue;firstChange;constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};je=(()=>{let n=()=>zS;return n.ngInherit=!0,n})();$S="__ngSimpleChanges__";sS=[],Ne=function(n,t=null,e){for(let i=0;i<sS.length;i++){let r=sS[i];r(n,t,e)}};ba=-1,is=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,i,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};Av=!0;Cj=256,QS=Cj-1,ZS=5,Ej=0,vi={};ns=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return tI(this._tNode,this._lView,t,Bo(i),e)}};H=(()=>{class n{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Mj}return n})();rs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new M}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;let i=AD(t);(this._changesDetected=!ID(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Rj};m_=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(m_||{}),sI=new Map,Oj=0;uS="__ngContext__";$r=new x("",{providedIn:"root",factory:()=>Nj}),Nj="ng",yh=new x(""),dn=new x("",{providedIn:"platform",factory:()=>"unknown"}),Gr=new x(""),Wr=new x("",{providedIn:"root",factory:()=>y_().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Lj="h",Pj="b",dI="r",uI="di",fI=!1,hI=new x("",{providedIn:"root",factory:()=>fI});jj=(n,t,e,i)=>{};Bj=()=>null;Gi=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(Gi||{});Wi=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xf})`}},kv=class extends Wi{getTypeName(){return"HTML"}},Nv=class extends Wi{getTypeName(){return"Style"}},Lv=class extends Wi{getTypeName(){return"Script"}},Pv=class extends Wi{getTypeName(){return"URL"}},jv=class extends Wi{getTypeName(){return"ResourceURL"}};Vv=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(_h(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},Bv=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=_h(t),e}};$j=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;vI=qi("area,br,col,hr,img,wbr"),_I=qi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bI=qi("rp,rt"),Gj=Ic(bI,_I),Wj=Ic(_I,qi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qj=Ic(bI,qi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),pS=Ic(vI,Wj,qj,Gj),xI=qi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kj=qi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yj=qi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Qj=Ic(xI,Kj,Yj),Zj=qi("script,style,template"),Uv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=eV(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=Jj(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=mS(t).toLowerCase();if(!pS.hasOwnProperty(e))return this.sanitizedSomething=!0,!Zj.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=t.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!Qj.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;xI[a]&&(l=Sc(l)),this.buf.push(" ",s,'="',gS(l),'"')}return this.buf.push(">"),!0}endElement(t){let e=mS(t).toLowerCase();pS.hasOwnProperty(e)&&!vI.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(gS(t))}};tV=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nV=/([^\#-~ |!])/g;xt=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(xt||{});oV=/^>|^->|<!--|-->|--!>|<!-$/g,sV=/(<|>)/g,aV="\u200B$1\u200B";DI="ng-template";Wt={};Ch=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(Ch||{});_i=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(_i||{});PV=LV;zV=()=>null;xS=!1,nB=new x("");$I=[];sB=X(b({},wr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{jr(n.lView)},consumerOnSignalRead(){this.lView[_n]=this}});lB=X(b({},wr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{let t=Or(n.lView);for(;t&&!GI(t[K]);)t=Or(t);t&&Ff(t)},consumerOnSignalRead(){this.lView[_n]=this}});cB=100;Hr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,e=t[K];return vc(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[lt]}set context(t){this._lView[lt]=t}get destroyed(){return Zo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[gt];if($n(t)){let e=t[oc],i=e?e.indexOf(this):-1;i>-1&&(_c(t,i),nc(e,i))}this._attachedToViewContainer=!1}Eh(this._lView[K],this._lView)}onDestroy(t){Xy(this._lView,t)}markForCheck(){B_(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ee]&=-129}reattach(){kf(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,V_(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[Wo].get(nB,xS)}catch{this.exhaustive=xS}}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ma(this._lView),e=this._lView[Nr];e!==null&&!t&&R_(e,this._lView),kI(this._lView[K],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let e=ma(this._lView),i=this._lView[Nr];i!==null&&!e&&eA(i,this._lView),kf(this._lView)}};cn=(()=>{class n{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=gB;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Tc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Hr(o)}}return n})();_X=new RegExp(`^(\\d+)*(${Pj}|${Lj})*(.*)`);CB=()=>null,EB=()=>null;nA=class{},Ih=class{},Gv=class{resolveComponentFactory(t){throw new w(917,!1)}},qr=class{static NULL=new Gv},ut=class{},rt=(()=>{class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>wB()}return n})();iA=(()=>{class n{static \u0275prov=y({token:n,providedIn:"root",factory:()=>null})}return n})(),Zf={},Wv=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){let r=this.injector.get(t,Zf,i);return r!==Zf||e===Zf?r:this.parentInjector.get(t,e,i)}};qv=Symbol("BINDING"),sh=class extends qr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=fi(t);return new zr(e,this.ngModule)}};zr=class extends Ih{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=VB(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=BB(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=_V(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,i,r,o,s){Ne(22);let a=ie(null);try{let l=this.componentDef,c=$B(i,l,s,o),d=UB(l,r||this.ngModule,t),h=HB(d),m=h.rendererFactory.createRenderer(null,l),p=i?UV(m,i,l.encapsulation,d):zB(l,m),g=s?.some(IS)||o?.some(D=>typeof D!="function"&&D.bindings.some(IS)),v=A_(null,c,null,512|RI(l),null,null,h,m,d,null,pI(p,d,!0));v[Ze]=p,Vf(v);let C=null;try{let D=z_(Ze,v,2,"#host",()=>c.directiveRegistry,!0,0);p&&(MI(m,p,D),Ca(p,v)),Dh(c,v,D),v_(c,D,v),$_(c,D),e!==void 0&&WB(D,this.ngContentSelectors,e),C=Tn(D.index,v),v[lt]=C[lt],j_(c,v,null)}catch(D){throw C!==null&&Rv(C),Rv(v),D}finally{Ne(23),Bf()}return new ah(this.componentType,v,!!g)}finally{ie(a)}}};ah=class extends nA{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=sc(e[K],Ze),this.location=Sa(this._tNode,e),this.instance=Tn(this._tNode.index,e)[lt],this.hostView=this.changeDetectorRef=new Hr(e,void 0),this.componentType=t}setInput(t,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,o=P_(i,r[K],r,t,e);this.previousInputValues.set(t,e);let s=Tn(i.index,r);B_(s,1)}get injector(){return new ns(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};At=(()=>{class n{static __NG_ELEMENT_ID__=qB}return n})();KB=At,cA=class extends KB{_lContainer;_hostTNode;_hostLView;constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Sa(this._hostTNode,this._hostLView)}get injector(){return new ns(this._hostTNode,this._hostLView)}get parentInjector(){let t=p_(this._hostTNode,this._hostLView);if(YS(t)){let e=eh(t,this._hostLView),i=Jf(t),r=e[K].data[i+8];return new ns(r,e)}else return new ns(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let e=AS(this._lContainer);return e!==null&&e[t]||null}get length(){return this._lContainer.length-bt}createEmbeddedView(t,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=rh(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Ea(this._hostTNode,s)),a}createComponent(t,e,i,r,o,s,a){let l=t&&!uj(t),c;if(l)c=e;else{let C=e||{};c=C.index,i=C.injector,r=C.projectableNodes,o=C.environmentInjector||C.ngModuleRef,s=C.directives,a=C.bindings}let d=l?t:new zr(fi(t)),h=i||this.parentInjector;if(!o&&d.ngModule==null){let D=(l?h:this.parentInjector).get($e,null);D&&(o=D)}let m=fi(d.componentType??{}),p=rh(this._lContainer,m?.id??null),g=p?.firstChild??null,v=d.create(h,r,g,o,s,a);return this.insertImpl(v.hostView,c,Ea(this._hostTNode,p)),v}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,i){let r=t._lView;if(VD(r)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=r[gt],c=new cA(l,l[$t],l[gt]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(e),s=this._lContainer;return Mc(s,r,o,i),t.attachToViewContainerRef(),Py(xv(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=AS(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),i=_c(this._lContainer,e);i&&(nc(xv(this._lContainer),e),Eh(i[K],i))}detach(t){let e=this._adjustIndex(t,-1),i=_c(this._lContainer,e);return i&&nc(xv(this._lContainer),e)!=null?new Hr(i):null}_adjustIndex(t,e=0){return t??this.length+e}};QB=JB,ZB=()=>!1;Kv=class n{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},Yv=class n{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let e=t.queries;if(e!==null){let i=t.contentQueries!==null?t.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new n(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)K_(t,e).matches!==null&&this.queries[e].setDirty()}},lh=class{flags;read;predicate;constructor(t,e,i=null){this.flags=e,this.read=i,typeof t=="string"?this.predicate=r2(t):this.predicate=t}},Qv=class n{queries;constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new n(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Zv=class n{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,e=-1){this.metadata=t,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new n(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(t,e,e2(e,o)),this.matchTNodeWithReadOption(t,e,Qf(e,t,o,!1,!1))}else i===cn?e.type&4&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Qf(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===H||r===At||r===cn&&e.type&4)this.addMatch(e.index,-2);else{let o=Qf(e,t,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(t,e){this.matches===null?this.matches=[t,e]:this.matches.push(t,e)}};TS=new Set;bi=class{},Th=class{},ch=class extends bi{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new sh(this);constructor(t,e,i,r=!0){super(),this.ngModuleType=t,this._parent=e;let o=By(t);this._bootstrapComponents=wI(o.bootstrap),this._r3Injector=fv(t,e,[{provide:bi,useValue:this},{provide:qr,useValue:this.componentFactoryResolver},...i],Hi(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},dh=class extends Th{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ch(this.moduleType,t,[])}},bc=class extends bi{injector;componentFactoryResolver=new sh(this);instance=null;constructor(t){super();let e=new Ho([...t.providers,{provide:bi,useValue:this},{provide:qr,useValue:this.componentFactoryResolver}],t.parent||ua(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};a2=(()=>{class n{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Uy(!1,e.type),r=i.length>0?Aa([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:n,providedIn:"environment",factory:()=>new n(I($e))})}return n})();x2=C2;Mh=function(n){return n[n.CHANGE_DETECTION=0]="CHANGE_DETECTION",n[n.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",n}(Mh||{}),Kr=new x(""),EA=!1,e_=class extends M{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ND()&&(this.destroyRef=u(bn,{optional:!0})??void 0,this.pendingTasks=u(yi,{optional:!0})??void 0)}emit(t){let e=ie(null);try{super.next(t)}finally{ie(e)}}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&typeof t=="object"){let l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return t instanceof Ce&&t.add(a),a}wrapInTimeout(t){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},z=e_;X_="isAngularZone",uh=X_+"_ID",E2=0,P=class n{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new z(!1);onMicrotaskEmpty=new z(!1);onStable=new z(!1);onError=new z(!1);constructor(t){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=EA}=t;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,S2(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(X_)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new w(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,w2,ts,ts);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}},w2={};fh=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new z;onMicrotaskEmpty=new z;onStable=new z;onError=new z;run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}};Rh=(()=>{class n{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:n,providedIn:"root",factory:()=>new n})}return n})(),eb=[0,1,2,3],tb=(()=>{class n{ngZone=u(P);scheduler=u(an);errorHandler=u(It,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Kr,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Ne(16),this.executing=!0;for(let i of eb)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Ne(17)}register(e){let{view:i}=e;i!==void 0?((i[Yo]??=[]).push(e),jr(i),i[ee]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Mh.AFTER_NEXT_RENDER,e):e()}static \u0275prov=y({token:n,providedIn:"root",factory:()=>new n})}return n})(),Cc=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,i,r,o,s=null){this.impl=t,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Yo];t&&(this.view[Yo]=t.filter(e=>e!==this))}};Oh=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();nb=new x("");rb=new x("");ob=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(rb,{optional:!0})??[];injector=u(G);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=_t(this.injector,r);if(Yr(o))e.push(o);else if(ib(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ta=new x("");R2=10,jt=(()=>{class n{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(ln);afterRenderManager=u(Rh);zonelessEnabled=u(uc);rootEffectScheduler=u(hc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new M;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(yi);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(e=>!e))}constructor(){u(Kr,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u($e);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=G.NULL){return this._injector.get(P).run(()=>{Ne(10);let s=e instanceof Ih;if(!this._injector.get(ob).done){let g="";throw new w(405,g)}let l;s?l=e:l=this._injector.get(qr).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=IA(l)?void 0:this._injector.get(bi),d=i||l.selector,h=l.create(r,[],d,c),m=h.location.nativeElement,p=h.injector.get(nb,null);return p?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),gc(this.components,h),p?.unregisterApplication(m)}),this._loadComponent(h),Ne(11,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ne(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);let e=ie(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ie(e),this.afterTick.next(),Ne(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ut,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<R2;)Ne(14),this.synchronizeOnce(),Ne(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!ga(r))continue;let o=i&&!this.zonelessEnabled?0:1;V_(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ga(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;gc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Ta,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>gc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();n_=class{destroy(t){}updateValue(t,e){}swap(t,e){let i=Math.min(t,e),r=Math.max(t,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(t,e){this.attach(e,this.detach(t))}};hh=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,i]of this.kvMap)if(t(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,e)}}};r_=class{lContainer;$implicit;$index;constructor(t,e,i){this.lContainer=t,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-bt}};o_=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,i){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=i}};s_=class extends n_{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,i){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-bt}at(t){return this.getLView(t)[lt].$implicit}attach(t,e){let i=e[Go];this.needsIndexUpdate||=t!==this.length,Mc(this.lContainer,e,t,Ea(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,F2(this.lContainer,t)}create(t,e){let i=rh(this.lContainer,this.templateTNode.tView.ssrId),r=Tc(this.hostLView,this.templateTNode,new r_(this.lContainer,e,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){Eh(t[K],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[lt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[lt].$index=t}getLView(t){return k2(this.lContainer,t)}};AA=(n,t,e,i,r)=>(dc(!0),II(t[Ge],i,iS()));N2=(n,t,e,i,r)=>(dc(!0),EV(t[Ge],""));Oc="en-US",L2=Oc;Kn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};oU=(n,t,e,i,r)=>(dc(!0),xV(t[Ge],i));gh=class{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}},yb=(()=>{class n{compileModuleSync(e){return new dh(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=By(e),o=wI(r.declarations).reduce((s,a)=>{let l=fi(a);return l&&s.push(new zr(l)),s},[]);return new gh(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),hU=(()=>{class n{zone=u(P);changeDetectionScheduler=u(an);applicationRef=u(jt);applicationErrorHandler=u(ln);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();pU=(()=>{class n{subscription=new Ce;initialized=!1;zone=u(P);pendingTasks=u(yi);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{P.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),WA=(()=>{class n{applicationErrorHandler=u(ln);appRef=u(jt);taskService=u(yi);ngZone=u(P);zonelessEnabled=u(uc);tracing=u(Kr,{optional:!0});disableScheduling=u(mv,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ce;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uh):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(gv,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof fh||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?FS:wA;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(uh+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,FS(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();Lh=new x("",{providedIn:"root",factory:()=>u(Lh,{optional:!0,skipSelf:!0})||mU()})});function un(n){return yD(n)}function Qn(n,t){return Nl(n,t?.equal)}function Fa(n,t){let e=t?.injector??u(G),i=t?.manualCleanup!==!0?e.get(bn):null,r,o=e.get(es,null,{optional:!0}),s=e.get(an);return o!==null?(r=vU(o.view,s,n),i instanceof ec&&i._lView===o.view&&(i=null)):r=_U(n,e.get(hc),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new _b(r)}function vU(n,t,e){let i=Object.create(yU);return i.view=n,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=e,n[$i]??=new Set,n[$i].add(i),i.consumerMarkedDirty(i),i}function _U(n,t,e){let i=Object.create(gU);return i.fn=n,i.scheduler=t,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}var _b,qA,gU,yU,KA=f(()=>{"use strict";pc();Ao();vD();_b=class{[pt];constructor(t){this[pt]=t}destroy(){this[pt].destroy()}};qA=X(b({},wr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:ts,run(){if(this.dirty=!1,this.hasRun&&!Io(this))return;this.hasRun=!0;let n=i=>(this.cleanupFns??=[]).push(i),t=Li(this),e=va(!1);try{this.maybeCleanup(),this.fn(n)}finally{va(e),Dr(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let n=ie(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],ie(n)}}}),gU=X(b({},qA),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Sr(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),yU=X(b({},qA),{consumerMarkedDirty(){this.view[ee]|=8192,jr(this.view),this.notifier.notify(13)},destroy(){Sr(this),this.onDestroyFn(),this.maybeCleanup(),this.view[$i]?.delete(this)}})});function nT(n,t){let e=Object.create(kU);e.value=n,e.transformFn=t?.transform;function i(){if(So(e),e.value===tT){let r=null;throw new w(-950,r)}return e.value}return i[pt]=e,i}function YA(n,t){return nT(n,t)}function LU(n){return nT(tT,n)}function QA(n,t){return Y_(t)}function PU(n,t){return Q_(t)}function ZA(n,t){return Y_(t)}function jU(n,t){return Q_(t)}function Nc(n){return!n.moduleRef}function BU(n){let t=Nc(n)?n.r3Injector:n.moduleRef.injector,e=t.get(P);return e.run(()=>{Nc(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let i=t.get(ln),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Nc(n)){let o=()=>t.destroy(),s=n.platformInjector.get(xb);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(xb);s.add(o),n.moduleRef.onDestroy(()=>{gc(n.allPlatformModules,n.moduleRef),r.unsubscribe(),s.delete(o)})}return HU(i,e,()=>{let o=t.get(yi),s=o.add(),a=t.get(ob);return a.runInitializers(),a.donePromise.then(()=>{let l=t.get(Lh,Oc);if(TA(l||Oc),!t.get(VU,!0))return Nc(n)?t.get(jt):(n.allPlatformModules.push(n.moduleRef),n.moduleRef);if(Nc(n)){let d=t.get(jt);return n.rootComponent!==void 0&&d.bootstrap(n.rootComponent),d}else return UU?.(n.moduleRef,n.allPlatformModules),n.moduleRef}).finally(()=>void o.remove(s))})})}function HU(n,t,e){try{let i=e();return Yr(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n(i)),i}}function zU(n=[],t){return G.create({name:t,providers:[{provide:ic,useValue:"platform"},{provide:xb,useValue:new Set([()=>Ph=null])},...n]})}function $U(n=[]){if(Ph)return Ph;let t=zU(n);return Ph=t,SA(),GU(t),t}function GU(n){let t=n.get(yh,null);_t(n,()=>{t?.forEach(e=>e())})}function WU(n){return qU(yt(),Y(),(n&16)===16)}function qU(n,t,e){if(Pr(n)&&!e){let i=Tn(n.index,t);return new Hr(i,i)}else if(n.type&175){let i=t[Gt];return new Hr(i,t)}return null}function XA(n,t,e){let i=n.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+t+r}function JA(){return new Vh([new Cb])}function Ib(n){Ne(8);try{let{rootComponent:t,appProviders:e,platformProviders:i}=n,r=$U(i),o=[$A({}),{provide:an,useExisting:WA},oS,...e||[]],s=new bc({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return BU({r3Injector:s.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{Ne(9)}}function Ie(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function Ei(n,t=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):t}function sT(n,t){let e=t?.injector??u(G),i=e.get(an),r=e.get(Rh),o=e.get(Kr,null,{optional:!0});r.impl??=e.get(tb);let s=n;typeof s=="function"&&(s={mixedReadWrite:n});let a=e.get(es,null,{optional:!0}),l=new Sb(r.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,i,e.get(bn),o?.snapshot(null));return r.impl.register(l),l}function Bh(n,t){let e=fi(n),i=t.elementInjector||ua();return new zr(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function aT(n){let t=fi(n);if(!t)return null;let e=new zr(t);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var tT,kU,Zr,NU,iT,Lc,rT,Xr,xb,VU,UU,Ph,ht,Cb,KU,Eb,wb,Db,jh,Vh,bb,oT,YU,Sb,_=f(()=>{"use strict";pc();pc();Ao();vb();vb();KA();tT=Symbol("InputSignalNode#UNSET"),kU=X(b({},Ll),{transformFn:void 0,applyValueToInputSignal(n,t){Ks(n,t)}});Zr=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Dc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},NU=new x("");NU.__NG_ELEMENT_ID__=n=>{let t=yt();if(t===null)throw new w(204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new w(204,!1)};iT=(YA.required=LU,YA);Lc=(QA.required=PU,QA);rT=(ZA.required=jU,ZA),Xr=class{full;major;minor;patch;constructor(t){this.full=t;let e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},xb=new x(""),VU=new x("");Ph=null;ht=(()=>{class n{static __NG_ELEMENT_ID__=WU}return n})();Cb=class{constructor(){}supports(t){return G_(t)}create(t){return new Eb(t)}},KU=(n,t)=>t,Eb=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||KU}forEachItem(t){let e;for(e=this._itHead;e!==null;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<XA(i,r,o)?e:i,a=XA(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let m=0;m<c;m++){let p=m<o.length?o[m]:o[m]=0,g=p+m;d<=g&&g<c&&(o[m]=p+1)}let h=s.previousIndex;o[h]=d-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)t(e)}diff(t){if(t==null&&(t=[]),!G_(t))throw new w(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,sA(t,a=>{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new wb(e,i),o,r)),t}_verifyReinsertion(t,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let e=t._next;this._addToRemovals(this._unlink(t)),t=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){let r=e===null?this._itHead:e._next;return t._next=r,t._prev=e,r===null?this._itTail=t:r._prev=t,e===null?this._itHead=t:e._next=t,this._linkedRecords===null&&(this._linkedRecords=new jh),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let e=t._prev,i=t._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new jh),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},wb=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,e){this.item=t,this.trackById=e}},Db=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let e=t._prevDup,i=t._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},jh=class{map=new Map;put(t){let e=t.trackById,i=this.map.get(e);i||(i=new Db,this.map.set(e,i)),i.add(t)}get(t,e){let i=t,r=this.map.get(i);return r?r.get(t,e):null}remove(t){let e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};Vh=(()=>{class n{factories;static \u0275prov=y({token:n,providedIn:"root",factory:JA});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||JA()),deps:[[n,new h_,new wc]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new w(901,!1)}}return n})();bb=Symbol("NOT_SET"),oT=new Set,YU=X(b({},Ll),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:bb,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(n){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==bb&&!Io(this))return this.signal;try{for(let r of this.cleanup??oT)r()}finally{this.cleanup?.clear()}let t=[];n!==void 0&&t.push(n),t.push(this.registerCleanupFn);let e=Li(this),i;try{i=this.userFn.apply(null,t)}finally{Dr(this,e)}return(this.value===bb||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),Sb=class extends Cc{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,e,i,r,o,s=null){super(t,[void 0,void 0,void 0,void 0],i,!1,o,s),this.scheduler=r;for(let a of eb){let l=e[a];if(l===void 0)continue;let c=Object.create(YU);c.sequence=this,c.phase=a,c.userFn=l,c.dirty=!0,c.signal=()=>(So(c),c.value),c.signal[pt]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[a]=c,this.hooks[a]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let e of t.cleanup??oT)e()}finally{Sr(t)}}}});function ZU(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function XU(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}function JU(n,t){if(!Ab){let e=Element.prototype;Ab=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE?Ab.call(n,t):!1}function eH(n){let t={};return n.forEach(({propName:e,templateName:i,transform:r})=>{t[ZU(i)]=[e,r]}),t}function tH(n,t){return t.get(qr).resolveComponentFactory(n).inputs}function nH(n,t){let e=n.childNodes,i=t.map(()=>[]),r=-1;t.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=iH(a,t,r);l!==-1&&i[l].push(a)}return i}function iH(n,t,e){let i=e;return XU(n)&&t.some((r,o)=>r!=="*"&&JU(n,r)?(i=o,!0):!1),i}function Ob(n,t){let e=tH(n,t.injector),i=t.strategyFactory||new Tb(n,t.injector),r=eH(e);class o extends Rb{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[h,m]=r[a];this.ngElementStrategy.setInputValue(h,c,m)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var QU,Ab,rH,Tb,Mb,Rb,lT=f(()=>{"use strict";_();we();it();QU={schedule(n,t){let e=setTimeout(n,t);return()=>clearTimeout(e)}};rH=10,Tb=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(qr).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Mb(this.componentFactory,t,this.inputMap)}},Mb=class{componentFactory;injector;inputMap;eventEmitters=new Fo(1);events=this.eventEmitters.pipe(ze(t=>rn(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,i){this.componentFactory=t,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get(P),this.appRef=this.injector.get(jt),this.cdScheduler=e.get(an),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=QU.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},rH))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),U_(this.componentRef.hostView)&&(H_(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let e=G.create({providers:[],parent:this.injector}),i=nH(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new Z(s=>{let a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Rb=class extends HTMLElement{ngElementEventsSubscription=null}});function kn(){return uT}function Fb(n){uT??=n}function Uh(n,t){return n?t?n.endsWith("/")?t.startsWith("/")?n+t.slice(1):n+t:t.startsWith("/")?n+t:`${n}/${t}`:n:t}function cT(n){let t=n.search(/#|\?|$/);return n[t-1]==="/"?n.slice(0,t-1)+n.slice(t):n}function Zn(n){return n&&n[0]!=="?"?`?${n}`:n}function oH(){return new wi(I(Xn))}function sH(n,t){if(!n||!t.startsWith(n))return t;let e=t.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:t}function dT(n){return n.replace(/\/index.html$/,"")}function aH(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var uT,Pc,jc,kb,fT,Xn,Hh,zh,wi,Nb=f(()=>{"use strict";_();_();we();uT=null;Pc=class{},jc=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>u(fT),providedIn:"platform"})}return n})(),kb=new x(""),fT=(()=>{class n extends jc{_location;_history;_doc=u(U);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return kn().getBaseHref(this._doc)}onPopState(e){let i=kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>new n,providedIn:"platform"})}return n})();Xn=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>u(zh),providedIn:"root"})}return n})(),Hh=new x(""),zh=(()=>{class n extends Xn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Uh(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Zn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||n)(I(jc),I(Hh,8))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),wi=(()=>{class n{_subject=new M;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=aH(cT(dT(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Zn(i))}normalize(e){return n.stripTrailingSlash(sH(this._basePath,dT(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Zn;static joinWithSlash=Uh;static stripTrailingSlash=cT;static \u0275fac=function(i){return new(i||n)(I(Xn))};static \u0275prov=y({token:n,factory:()=>oH(),providedIn:"root"})}return n})()});function pT(n,t){n.context.$implicit=t.item}function mT(n,t){if(n&&!n.createEmbeddedView)throw new w(2020,!1)}function cH(n,t){return new w(2100,!1)}var Pb,Lb,hT,Zi,$h,ka,Xi,Gh,Vc,jb,fn,gT=f(()=>{"use strict";_();_();Nb();Pb=(()=>{class n extends Xn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=Uh(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||n)(I(jc),I(Hh,8))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),Lb=/\s+/,hT=[],Zi=(()=>{class n{_ngEl;_renderer;initialClasses=hT;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(Lb):hT}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Lb):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Lb).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||n)(T(H),T(rt))};static \u0275dir=j({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})(),$h=class{$implicit;ngForOf;index;count;constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ka=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new $h(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),pT(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);pT(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||n)(T(At),T(cn),T(Vh))};static \u0275dir=j({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();Xi=(()=>{class n{_viewContainer;_context=new Gh;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){mT(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){mT(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||n)(T(At),T(cn))};static \u0275dir=j({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),Gh=class{$implicit=null;ngIf=null};Vc=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||n)(T(At))};static \u0275dir=j({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[je]})}return n})();jb=(()=>{class n{transform(e){if(e==null)return null;if(typeof e!="string")throw cH(n,e);return e.toUpperCase()}static \u0275fac=function(i){return new(i||n)};static \u0275pipe=ss({name:"uppercase",type:n,pure:!0})}return n})(),fn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})()});function Bc(n,t){t=encodeURIComponent(t);for(let e of n.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var us,Vb=f(()=>{"use strict";us=class{}});function Ji(n){return n===Ub}function Uc(n){return n===dH}function uH(n,t){let e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}var Ub,dH,vT,Bb,Le=f(()=>{"use strict";gT();_();_();Vb();Nb();Ub="browser",dH="server";vT=(()=>{class n{static \u0275prov=y({token:n,providedIn:"root",factory:()=>new Bb(u(U),window)})}return n})(),Bb=class{document;window;offset=()=>[0,0];constructor(t,e){this.document=t,this.window=e}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,e){this.window.scrollTo(X(b({},e),{left:t[0],top:t[1]}))}scrollToAnchor(t,e){let i=uH(this.document,t);i&&(this.scrollToElement(i,e),i.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(ui(2400,!1))}}scrollToElement(t,e){let i=t.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(X(b({},e),{left:r-s[0],top:o-s[1]}))}}});function _T(n){for(let t of n)t.remove()}function bT(n,t){let e=t.createElement("style");return e.textContent=n,e}function fH(n,t,e,i){let r=n.head?.querySelectorAll(`style[${Hb}="${t}"],link[${Hb}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Hb),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function $b(n,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}function yH(n){return pH.replace(Kb,n)}function vH(n){return hH.replace(Kb,n)}function ET(n,t){return t.map(e=>e.replace(Kb,n))}function xT(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var qh,Wb,Hc,Hb,qb,zb,Kb,CT,hH,pH,mH,gH,Gc,zc,Gb,$c,Wh,Yb=f(()=>{"use strict";Le();_();_();qh=new x(""),Wb=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||n)(I(qh),I(P))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),Hc=class{_doc;constructor(t){this._doc=t}manager},Hb="ng-app-id";qb=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,fH(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,bT);i?.forEach(r=>this.addUsage(r,this.external,$b))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(_T(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])_T(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,bT(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,$b(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||n)(I(U),I($r),I(Wr,8),I(dn))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),zb={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Kb=/%COMP%/g,CT="%COMP%",hH=`_nghost-${CT}`,pH=`_ngcontent-${CT}`,mH=!0,gH=new x("",{providedIn:"root",factory:()=>mH});Gc=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l,c=null,d=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=d,this.platformIsServer=!1,this.defaultRenderer=new zc(e,s,l,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof Wh?r.applyToHost(e):r instanceof $c&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,m=this.tracingService;switch(i.encapsulation){case Gi.Emulated:o=new Wh(l,c,i,this.appId,d,s,a,h,m);break;case Gi.ShadowDom:return new Gb(l,c,e,i,s,a,this.nonce,h,m);default:o=new $c(l,c,i,d,s,a,h,m);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||n)(I(Wb),I(qb),I($r),I(gH),I(U),I(dn),I(P),I(Wr),I(Kr,8))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),zc=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,i,r,o){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(zb[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(xT(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(xT(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){e.remove()}selectRootElement(t,e){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new w(-5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;let o=zb[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){let r=zb[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(_i.DashCase|_i.Important)?t.style.setProperty(e,i,r&_i.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&_i.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t!=null&&(t[e]=i)}setValue(t,e){t.nodeValue=e}listen(t,e,i,r){if(typeof t=="string"&&(t=kn().getGlobalEventTarget(this.doc,t),!t))throw new w(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};Gb=class extends zc{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,i,r,o,s,a,l,c){super(t,o,s,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=ET(r.id,d);for(let m of d){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=m,this.shadowRoot.appendChild(p)}let h=r.getExternalStyles?.();if(h)for(let m of h){let p=$b(m,o);a&&p.setAttribute("nonce",a),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$c=class extends zc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,i,r,o,s,a,l,c){super(t,o,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles;this.styles=c?ET(c,d):d,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Wh=class extends $c{contentAttr;hostAttr;constructor(t,e,i,r,o,s,a,l,c){let d=r+"-"+i.id;super(t,e,i,o,s,a,l,c,d),this.contentAttr=yH(d),this.hostAttr=vH(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}});function _H(){return Wc=Wc||document.head.querySelector("base"),Wc?Wc.getAttribute("href"):null}function bH(n){return new URL(n,document.baseURI).pathname}function Qb(n,t){let e=b({rootComponent:n},IT(t));return Ib(e)}function Zb(n){return Ib(IT(n))}function IT(n){return{appProviders:[...AH,...n?.providers??[]],platformProviders:IH}}function wH(){Kh.makeCurrent()}function DH(){return new It}function SH(){return g_(document),document}var Kh,Wc,xH,DT,wT,CH,EH,ST,IH,AH,AT=f(()=>{"use strict";Le();_();_();Yb();Kh=class n extends Pc{supportsDOMEvents=!0;static makeCurrent(){Fb(new n)}onAndCancel(t,e,i,r){return t.addEventListener(e,i,r),()=>{t.removeEventListener(e,i,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=_H();return e==null?null:bH(e)}resetBaseElement(){Wc=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Bc(document.cookie,t)}},Wc=null;xH=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),DT=(()=>{class n extends Hc{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||n)(I(U))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),wT=["alt","control","meta","shift"],CH={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},EH={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},ST=(()=>{class n extends Hc{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=n.parseEventName(i),a=n.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>kn().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=n._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),wT.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=CH[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),wT.forEach(s=>{if(s!==r){let a=EH[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||n)(I(U))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})();IH=[{provide:dn,useValue:Ub},{provide:yh,useValue:wH,multi:!0},{provide:U,useFactory:SH}],AH=[{provide:ic,useValue:"root"},{provide:It,useFactory:DH},{provide:qh,useClass:DT,multi:!0,deps:[U]},{provide:qh,useClass:ST,multi:!0,deps:[U]},Gc,qb,Wb,{provide:ut,useExisting:Gc},{provide:us,useClass:xH},[]]});function TH(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function TT(n){return encodeURIComponent(n).replace(MH,(t,e)=>RH[e]??t)}function Yh(n){return`${n}`}function OH(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function MT(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function RT(n){return typeof Blob<"u"&&n instanceof Blob}function OT(n){return typeof FormData<"u"&&n instanceof FormData}function FH(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}function Xb(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect}}function jH(n,t){return t(n)}function VH(n,t,e){return(i,r)=>_t(e,()=>t(i,o=>n(o,r)))}function HH(n){return"responseURL"in n&&n.responseURL?n.responseURL:UH.test(n.getAllResponseHeaders())?n.getResponseHeader(NT):null}function KH(n,t){let e=n.url.toLowerCase();if(!u(BT)||n.method==="GET"||n.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return t(n);let i=u(Yc).getToken(),r=u(WH);return i!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}function YH(n,t){return{\u0275kind:n,\u0275providers:t}}function nx(...n){let t=[nr,Jb,Jh,{provide:ja,useExisting:Jh},{provide:qc,useFactory:()=>u(PH,{optional:!0})??u(Jb)},{provide:ex,useValue:KH,multi:!0},{provide:BT,useValue:!0},{provide:Yc,useClass:qH}];for(let e of n)t.push(...e.\u0275providers);return $o(t)}function ix(n){return YH(tx.Interceptors,n.map(t=>({provide:ex,useValue:t,multi:!0})))}var ja,qc,tr,Qh,MH,RH,er,Zh,FT,kT,NT,LT,PT,kH,La,fs,Va,Xh,Kc,Pa,NH,LH,nr,PH,ex,jT,VT,Jh,BH,UH,Jb,BT,zH,$H,GH,WH,Yc,qH,tx,rx=f(()=>{"use strict";_();_();it();we();Vb();ja=class{},qc=class{},tr=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,e);let r=(t.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(t,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}},Qh=class{encodeKey(t){return TT(t)}encodeValue(t){return TT(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};MH=/%(\d[a-f0-9])/gi,RH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};er=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Qh,t.fromString){if(t.fromObject)throw new w(2805,!1);this.map=TH(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let i=t.fromObject[e],r=Array.isArray(i)?i.map(Yh):[Yh(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(Yh(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(Yh(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Zh=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};FT="Content-Type",kT="Accept",NT="X-Request-URL",LT="text/plain",PT="application/json",kH=`${PT}, ${LT}, */*`,La=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,i,r){this.url=e,this.method=t.toUpperCase();let o;if(OH(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new Error("");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),this.transferCache=o.transferCache}if(this.headers??=new tr,this.context??=new Zh,!this.params)this.params=new er,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||MT(this.body)||RT(this.body)||OT(this.body)||FH(this.body)?this.body:this.body instanceof er?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||OT(this.body)?null:RT(this.body)?this.body.type||null:MT(this.body)?null:typeof this.body=="string"?LT:this.body instanceof er?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?PT:null}clone(t={}){let e=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,c=t.redirect||this.redirect,d=t.credentials||this.credentials,h=t.transferCache??this.transferCache,m=t.timeout??this.timeout,p=t.body!==void 0?t.body:this.body,g=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,C=t.headers||this.headers,D=t.params||this.params,L=t.context??this.context;return t.setHeaders!==void 0&&(C=Object.keys(t.setHeaders).reduce((pe,le)=>pe.set(le,t.setHeaders[le]),C)),t.setParams&&(D=Object.keys(t.setParams).reduce((pe,le)=>pe.set(le,t.setParams[le]),D)),new n(e,i,p,{params:D,headers:C,context:L,reportProgress:v,responseType:r,withCredentials:g,transferCache:h,keepalive:o,cache:a,priority:s,timeout:m,mode:l,redirect:c,credentials:d})}},fs=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(fs||{}),Va=class{headers;status;statusText;url;ok;type;constructor(t,e=200,i="OK"){this.headers=t.headers||new tr,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Xh=class n extends Va{constructor(t={}){super(t)}type=fs.ResponseHeader;clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Kc=class n extends Va{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=fs.Response;clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Pa=class extends Va{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},NH=200,LH=204;nr=(()=>{class n{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof La)o=e;else{let l;r.headers instanceof tr?l=r.headers:l=new tr(r.headers);let c;r.params&&(r.params instanceof er?c=r.params:c=new er({fromObject:r.params})),o=new La(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials})}let s=F(o).pipe(Sn(l=>this.handler.handle(l)));if(e instanceof La||r.observe==="events")return s;let a=s.pipe(fe(l=>l instanceof Kc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(V(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new w(2806,!1);return l.body}));case"blob":return a.pipe(V(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new w(2807,!1);return l.body}));case"text":return a.pipe(V(l=>{if(l.body!==null&&typeof l.body!="string")throw new w(2808,!1);return l.body}));case"json":default:return a.pipe(V(l=>l.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new er().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Xb(r,i))}post(e,i,r={}){return this.request("POST",e,Xb(r,i))}put(e,i,r={}){return this.request("PUT",e,Xb(r,i))}static \u0275fac=function(i){return new(i||n)(I(ja))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),PH=new x("");ex=new x(""),jT=new x(""),VT=new x("",{providedIn:"root",factory:()=>!0}),Jh=(()=>{class n extends ja{backend;injector;chain=null;pendingTasks=u(fc);contributeToStability=u(VT);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(ex),...this.injector.get(jT,[])]));this.chain=i.reduceRight((r,o)=>VH(r,o,this.injector),jH)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(sn(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||n)(I(qc),I($e))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),BH=/^\)\]\}',?\n/,UH=RegExp(`^${NT}:`,"m");Jb=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let i=this.xhrFactory;return F(null).pipe(ze(()=>new Z(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((C,D)=>s.setRequestHeader(C,D.join(","))),e.headers.has(kT)||s.setRequestHeader(kT,kH),!e.headers.has(FT)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader(FT,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!=="json"?C:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let C=s.statusText||"OK",D=new tr(s.getAllResponseHeaders()),L=HH(s)||e.url;return l=new Xh({headers:D,status:s.status,statusText:C,url:L}),l},d=()=>{let{headers:C,status:D,statusText:L,url:pe}=c(),le=null;D!==LH&&(le=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=le?NH:0);let yn=D>=200&&D<300;if(e.responseType==="json"&&typeof le=="string"){let Jt=le;le=le.replace(BH,"");try{le=le!==""?JSON.parse(le):null}catch(St){le=Jt,yn&&(yn=!1,le={error:St,text:le})}}yn?(o.next(new Kc({body:le,headers:C,status:D,statusText:L,url:pe||void 0})),o.complete()):o.error(new Pa({error:le,headers:C,status:D,statusText:L,url:pe||void 0}))},h=C=>{let{url:D}=c(),L=new Pa({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});o.error(L)},m=h;e.timeout&&(m=C=>{let{url:D}=c(),L=new Pa({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});o.error(L)});let p=!1,g=C=>{p||(o.next(c()),p=!0);let D={type:fs.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(D.total=C.total),e.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),o.next(D)},v=C=>{let D={type:fs.UploadProgress,loaded:C.loaded};C.lengthComputable&&(D.total=C.total),o.next(D)};return s.addEventListener("load",d),s.addEventListener("error",h),s.addEventListener("timeout",m),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:fs.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",d),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||n)(I(us))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),BT=new x(""),zH="XSRF-TOKEN",$H=new x("",{providedIn:"root",factory:()=>zH}),GH="X-XSRF-TOKEN",WH=new x("",{providedIn:"root",factory:()=>GH}),Yc=class{},qH=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Bc(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||n)(I(U),I($H))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})();tx=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(tx||{})});var Qc=f(()=>{"use strict";rx();rx();});var UT,Zc,ZH,Xc=f(()=>{"use strict";AT();Le();_();_();UT=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||n)(I(U))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Zc=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:function(i){let r=null;return i?r=new(i||n):r=I(ZH),r},providedIn:"root"})}return n})(),ZH=(()=>{class n extends Zc{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case xt.NONE:return i;case xt.HTML:return xi(i,"HTML")?Cn(i):bh(this._doc,String(i)).toString();case xt.STYLE:return xi(i,"Style")?Cn(i):i;case xt.SCRIPT:if(xi(i,"Script"))return Cn(i);throw new w(5200,!1);case xt.URL:return xi(i,"URL")?Cn(i):Sc(String(i));case xt.RESOURCE_URL:if(xi(i,"ResourceURL"))return Cn(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return __(e)}bypassSecurityTrustStyle(e){return b_(e)}bypassSecurityTrustScript(e){return x_(e)}bypassSecurityTrustUrl(e){return C_(e)}bypassSecurityTrustResourceUrl(e){return E_(e)}static \u0275fac=function(i){return new(i||n)(I(U))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function ep(n,t){if(n===t)return!0;if(n===null||t===null)return!1;if(n!==n&&t!==t)return!0;let e=typeof n,i=typeof t,r;if(e==i&&e=="object")if(Array.isArray(n)){if(!Array.isArray(t))return!1;if((r=n.length)==t.length){for(let o=0;o<r;o++)if(!ep(n[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;if(ir(n)&&ir(t)){let o=Object.create(null);for(let s in n){if(!ep(n[s],t[s]))return!1;o[s]=!0}for(let s in t)if(!(s in o)&&typeof t[s]<"u")return!1;return!0}}return!1}function Jr(n){return typeof n<"u"&&n!==null}function HT(n){return n!==void 0}function ir(n){return ed(n)&&!hs(n)&&n!==null}function ed(n){return typeof n=="object"&&n!==null}function hs(n){return Array.isArray(n)}function tp(n){return typeof n=="string"}function tz(n){return typeof n=="function"}function np(n){if(hs(n))return n.map(t=>np(t));if(ir(n)){let t={};return Object.keys(n).forEach(e=>{t[e]=np(n[e])}),t}else return n}function lx(n,t){if(!ed(n))return np(t);let e=np(n);return ed(e)&&ed(t)&&Object.keys(t).forEach(i=>{ir(t[i])?i in n?e[i]=lx(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}function $T(n,t){let e=t.split(".");t="";do{t+=e.shift();let i=!e.length;if(Jr(n)){if(ir(n)&&HT(n[t])&&(ir(n[t])||hs(n[t])||i)){n=n[t],t="";continue}if(hs(n)){let r=parseInt(t,10);if(HT(n[r])&&(ir(n[r])||hs(n[r])||i)){n=n[r],t="";continue}}}if(i){n=void 0;continue}t+="."}while(e.length);return n}function nz(n,t,e){return lx(n,iz(t,e))}function iz(n,t){return n.split(".").reduceRight((e,i)=>({[i]:e}),t)}function oz(n){return{provide:Ua,useClass:n}}function sz(n){return{provide:Ba,useClass:n}}function az(n){return{provide:Ha,useClass:n}}function lz(n){return{provide:td,useClass:n}}function zT(n={},t){let e=[];n.loader&&e.push(n.loader),n.compiler&&e.push(n.compiler),n.parser&&e.push(n.parser),n.missingTranslationHandler&&e.push(n.missingTranslationHandler),t&&e.push(sx),(n.useDefaultLang||n.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),n.useDefaultLang===!0&&n.defaultLanguage&&(n.fallbackLang=n.defaultLanguage));let i={fallbackLang:n.fallbackLang??null,lang:n.lang,extend:n.extend??!1};return e.push({provide:ax,useValue:i}),e.push({provide:rr,useClass:rr,deps:[sx,Ua,Ba,Ha,td,ax]}),e}var td,XH,Ba,JH,Ua,ez,Ha,rz,sx,ax,Jc,rr,Ct,Di,Et=f(()=>{"use strict";_();_();we();it();td=class{},XH=(()=>{class n{handle(e){return e.key}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),Ba=class{},JH=(()=>{class n extends Ba{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),Ua=class{},ez=(()=>{class n extends Ua{getTranslation(e){return F({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})();Ha=class{},rz=(()=>{class n extends Ha{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(tp(e))return this.interpolateString(e,i);if(tz(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getInterpolationReplacement(i,o);return s!==void 0?s:r}):e}getInterpolationReplacement(e,i){return this.formatValue($T(e,i))}formatValue(e){if(tp(e))return e;if(typeof e=="number"||typeof e=="boolean")return e.toString();if(e===null)return"null";if(hs(e))return e.join(", ");if(ed(e))return typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():JSON.stringify(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),sx=(()=>{class n{_onTranslationChange=new M;_onLangChange=new M;_onFallbackLangChange=new M;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(e){return this.translations[e]}setTranslations(e,i,r){this.translations[e]=r&&this.hasTranslationFor(e)?lx(this.translations[e],i):i,this.addLanguages([e]),this._onTranslationChange.next({lang:e,translations:this.getTranslations(e)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(e,i=!0){this.fallbackLang=e,i&&this._onFallbackLangChange.next({lang:e,translations:this.translations[e]})}setCurrentLang(e,i=!0){this.currentLang=e,i&&this._onLangChange.next({lang:e,translations:this.translations[e]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(e){this.languages=Array.from(new Set([...this.languages,...e]))}hasTranslationFor(e){return typeof this.translations[e]<"u"}deleteTranslations(e){delete this.translations[e]}getTranslation(e){let i=this.getValue(this.currentLang,e);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,e)),i}getValue(e,i){return $T(this.getTranslations(e),i)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),ax=new x("TRANSLATE_CONFIG"),Jc=n=>Vn(n)?n:F(n),rr=(()=>{class n{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=u(Ua);compiler=u(Ba);parser=u(Ha);missingTranslationHandler=u(td);store=u(sx);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let e=b({extend:!1,fallbackLang:null},u(ax,{optional:!0}));e.lang&&this.use(e.lang),e.fallbackLang&&this.setFallbackLang(e.fallbackLang),e.extend&&(this.extend=!0)}setFallbackLang(e){this.getFallbackLang()||this.store.setFallbackLang(e,!1);let i=this.loadOrExtendLanguage(e);return Vn(i)?(i.pipe(He(1)).subscribe({next:()=>{this.store.setFallbackLang(e)},error:()=>{}}),i):(this.store.setFallbackLang(e),F(this.store.getTranslations(e)))}use(e){this.lastUseLanguage=e,this.getCurrentLang()||this.store.setCurrentLang(e,!1);let i=this.loadOrExtendLanguage(e);return Vn(i)?(i.pipe(He(1)).subscribe({next:()=>{this.changeLang(e)},error:()=>{}}),i):(this.changeLang(e),F(this.store.getTranslations(e)))}loadOrExtendLanguage(e){if(!this.store.hasTranslationFor(e)||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}changeLang(e){e===this.lastUseLanguage&&this.store.setCurrentLang(e)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(jo(1),He(1));return this.loadingTranslations=i.pipe(V(r=>this.compiler.compileTranslations(r,e)),jo(1),He(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(e,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);this.store.setTranslations(e,o,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(e){this.store.addLanguages(e)}getParsedResultForKey(e,i){let r=this.getTextToInterpolate(e);if(Jr(r))return this.runInterpolation(r,i);let o=this.missingTranslationHandler.handle(b({key:e,translateService:this},i!==void 0&&{interpolateParams:i}));return o!==void 0?o:e}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(e){return this.store.getTranslation(e)}runInterpolation(e,i){if(Jr(e))return hs(e)?this.runInterpolationOnArray(e,i):ir(e)?this.runInterpolationOnDict(e,i):this.parser.interpolate(e,i)}runInterpolationOnArray(e,i){return e.map(r=>this.runInterpolation(r,i))}runInterpolationOnDict(e,i){let r={};for(let o in e){let s=this.runInterpolation(e[o],i);s!==void 0&&(r[o]=s)}return r}getParsedResult(e,i){return e instanceof Array?this.getParsedResultForArray(e,i):this.getParsedResultForKey(e,i)}getParsedResultForArray(e,i){let r={},o=!1;for(let a of e)r[a]=this.getParsedResultForKey(a,i),o=o||Vn(r[a]);if(!o)return r;let s=e.map(a=>Jc(r[a]));return Po(s).pipe(V(a=>{let l={};return a.forEach((c,d)=>{l[e[d]]=c}),l}))}get(e,i){if(!Jr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Sn(()=>Jc(this.getParsedResult(e,i)))):Jc(this.getParsedResult(e,i))}getStreamOnTranslationChange(e,i){if(!Jr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Bn(nn(()=>this.get(e,i)),this.onTranslationChange.pipe(ze(()=>{let r=this.getParsedResult(e,i);return Jc(r)})))}stream(e,i){if(!Jr(e)||!e.length)throw new Error('Parameter "key" required');return Bn(nn(()=>this.get(e,i)),this.onLangChange.pipe(ze(()=>{let r=this.getParsedResult(e,i);return Jc(r)})))}instant(e,i){if(!Jr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(e,i);return Vn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.getCurrentLang()){this.store.setTranslations(r,nz(this.store.getTranslations(r),e,tp(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),!1)}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],this.store.deleteTranslations(e)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return n.getBrowserLang()}getBrowserCultureLang(){return n.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(e){return this.setFallbackLang(e)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),Ct=(()=>{class n{translate=u(rr);_ref=u(ht);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(e,i);Vn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(ep(e,this.lastKey)&&ep(i,this.lastParams))return this.value;let r;if(Jr(i[0])&&i.length)if(tp(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ir(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{(this.lastKey&&o.lang===this.translate.getCurrentLang()||o.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||n)};static \u0275pipe=ss({name:"translate",type:n,pure:!1});static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})();Di=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[...zT(b({compiler:sz(JH),parser:az(rz),loader:oz(ez),missingTranslationHandler:lz(XH)},e),!0)]}}static forChild(e={}){return{ngModule:n,providers:[...zT(e,e.isolate??!1)]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})()});var za,ip=f(()=>{"use strict";_();za=new x("web-component-auth")});var rp,fx=f(()=>{"use strict";_();Et();ip();_();rp=(()=>{var t,e,i,r,o,s,GT,cx,dx,WT,qT,ux;let p=class p{constructor(v){tt(this,s);tt(this,t);tt(this,e);tt(this,i);tt(this,r);tt(this,o);Ot(this,t,"lang"),Ot(this,e,u(rr)),Ot(this,i,u(za)),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",Ot(this,r,v)}get uiLanguage(){return ye(this,o)}set uiLanguage(v){v!==ye(this,o)&&(Ot(this,o,v),Ot(this,o,v),Ft(this,s,WT).call(this))}ngOnInit(){Ft(this,s,dx).call(this),Ft(this,s,GT).call(this,ye(this,r)),Ft(this,s,cx).call(this)}ngOnChanges(){Ft(this,s,dx).call(this),Ft(this,s,cx).call(this)}ensureTypeBool(v){return v===!0||v==="true"}};t=new WeakMap,e=new WeakMap,i=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,GT=function(v){for(let C in v)v[C]&&ye(this,e).setTranslation(C,v[C],!0)},cx=function(){ye(this,e).setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&Ft(this,s,qT).call(this),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),ye(this,e).use(this.uiLanguage)},dx=function(){this.xApiKey&&(ye(this,i).xApiKey=this.xApiKey),this.skipAuthUrls&&(ye(this,i).skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)},WT=function(){ye(this,e).use(this.uiLanguage)},qT=function(){let v=Ft(this,s,ux).call(this);!this.uiLanguage&&v!==this.defaultLanguage&&(this.uiLanguage=v);let C=le=>{for(let yn of le)if(yn.type==="attributes"&&yn.attributeName===ye(this,t)){let Jt=Ft(this,s,ux).call(this);this.uiLanguage=Jt}},D=new MutationObserver(C),L=document.querySelector("html"),pe={attributes:!0,attributeFilter:[ye(this,t)]};D.observe(L,pe)},ux=function(){return document.querySelector("html").getAttribute(ye(this,t)).split("-")[0]},p.\u0275fac=function(C){Rc()},p.\u0275dir=j({type:p,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[je]});let n=p;return n})()});function uz(){let n=kn()?kn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}function gx(n){return n==null||yx(n)===0}function yx(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}function pz(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function mz(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function gz(n){return gx(n.value)?{required:!0}:null}function yz(n){return n.value===!0?null:{required:!0}}function vz(n){return gx(n.value)||hz.test(n.value)?null:{email:!0}}function _z(n){return t=>{let e=t.value?.length??yx(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function bz(n){return t=>{let e=t.value?.length??yx(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function xz(n){if(!n)return tM;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(gx(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function tM(n){return null}function nM(n){return n!=null}function iM(n){return Yr(n)?Pe(n):n}function rM(n){let t={};return n.forEach(e=>{t=e!=null?b(b({},t),e):t}),Object.keys(t).length===0?null:t}function oM(n,t){return t.map(e=>e(n))}function Cz(n){return!n.validate}function sM(n){return n.map(t=>Cz(t)?t:e=>t.validate(e))}function aM(n){if(!n)return null;let t=n.filter(nM);return t.length==0?null:function(e){return rM(oM(e,t))}}function vx(n){return n!=null?aM(sM(n)):null}function lM(n){if(!n)return null;let t=n.filter(nM);return t.length==0?null:function(e){let i=oM(e,t).map(iM);return Po(i).pipe(V(rM))}}function _x(n){return n!=null?lM(sM(n)):null}function KT(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function cM(n){return n._rawValidators}function dM(n){return n._rawAsyncValidators}function hx(n){return n?Array.isArray(n)?n:[n]:[]}function ap(n,t){return Array.isArray(n)?n.includes(t):n===t}function YT(n,t){let e=hx(t);return hx(n).forEach(r=>{ap(e,r)||e.push(r)}),e}function QT(n,t){return hx(t).filter(e=>!ap(n,e))}function uM(n){return(_p(n)?n.validators:n)||null}function wz(n){return Array.isArray(n)?vx(n):n||null}function fM(n,t){return(_p(t)?t.asyncValidators:n)||null}function Dz(n){return Array.isArray(n)?_x(n):n||null}function _p(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Sz(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new w(1e3,"");if(!i[e])throw new w(1001,"")}function Iz(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new w(1002,"")})}function Az(n,t){return[...t.path,n]}function ad(n,t,e=bp){bx(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Mz(n,t),Oz(n,t),Rz(n,t),Tz(n,t)}function pp(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),gp(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function mp(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Tz(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function bx(n,t){let e=cM(n);t.validator!==null?n.setValidators(KT(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=dM(n);t.asyncValidator!==null?n.setAsyncValidators(KT(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();mp(t._rawValidators,r),mp(t._rawAsyncValidators,r)}function gp(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=cM(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let r=dM(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}let i=()=>{};return mp(t._rawValidators,i),mp(t._rawAsyncValidators,i),e}function Mz(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&hM(n,t)})}function Rz(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&hM(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function hM(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Oz(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function pM(n,t){n==null,bx(n,t)}function Fz(n,t){return gp(n,t)}function mM(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function kz(n){return Object.getPrototypeOf(n.constructor)===cz}function gM(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function yM(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(o=>{o.constructor===Wa?e=o:kz(o)?i=o:r=o}),r||i||e||null}function Nz(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function ZT(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function XT(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var eM,cz,mx,dz,fz,Wa,yp,vp,hz,sp,lp,ps,or,px,Ez,Rae,qa,nd,op,$a,id,eo,cp,od,sd,Ga,dp,up,fp,hp,Ka,bp,Lz,rd,xx,ld,Pz,jz,JT,cd,vM,Vz,Cx,Bz,Ex,_M,xp,bM,to=f(()=>{"use strict";_();_();Le();we();it();eM=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||n)(T(rt),T(H))};static \u0275dir=j({type:n})}return n})(),cz=(()=>{class n extends eM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275dir=j({type:n,features:[he]})}return n})(),mx=new x(""),dz={provide:mx,useExisting:Un(()=>Wa),multi:!0};fz=new x(""),Wa=(()=>{class n extends eM{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!uz())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||n)(T(rt),T(H),T(fz,8))};static \u0275dir=j({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&te("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Tt([dz]),he]})}return n})();yp=new x(""),vp=new x(""),hz=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,sp=class{static min(t){return pz(t)}static max(t){return mz(t)}static required(t){return gz(t)}static requiredTrue(t){return yz(t)}static email(t){return vz(t)}static minLength(t){return _z(t)}static maxLength(t){return bz(t)}static pattern(t){return xz(t)}static nullValidator(t){return tM()}static compose(t){return aM(t)}static composeAsync(t){return lM(t)}};lp=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=vx(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=_x(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},ps=class extends lp{name;get formDirective(){return null}get path(){return null}},or=class extends lp{_parent=null;name=null;valueAccessor=null},px=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Ez={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Rae=X(b({},Ez),{"[class.ng-submitted]":"isSubmitted"}),qa=(()=>{class n extends px{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(T(or,2))};static \u0275dir=j({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ne("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[he]})}return n})(),nd="VALID",op="INVALID",$a="PENDING",id="DISABLED",eo=class{},cp=class extends eo{value;source;constructor(t,e){super(),this.value=t,this.source=e}},od=class extends eo{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},sd=class extends eo{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},Ga=class extends eo{status;source;constructor(t,e){super(),this.status=t,this.source=e}},dp=class extends eo{source;constructor(t){super(),this.source=t}},up=class extends eo{source;constructor(t){super(),this.source=t}};fp=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return un(this.statusReactive)}set status(t){un(()=>this.statusReactive.set(t))}_status=Qn(()=>this.statusReactive());statusReactive=Me(void 0);get valid(){return this.status===nd}get invalid(){return this.status===op}get pending(){return this.status==$a}get disabled(){return this.status===id}get enabled(){return this.status!==id}errors;get pristine(){return un(this.pristineReactive)}set pristine(t){un(()=>this.pristineReactive.set(t))}_pristine=Qn(()=>this.pristineReactive());pristineReactive=Me(!0);get dirty(){return!this.pristine}get touched(){return un(this.touchedReactive)}set touched(t){un(()=>this.touchedReactive.set(t))}_touched=Qn(()=>this.touchedReactive());touchedReactive=Me(!1);get untouched(){return!this.touched}_events=new M;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(YT(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(YT(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(QT(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(QT(t,this._rawAsyncValidators))}hasValidator(t){return ap(this._rawValidators,t)}hasAsyncValidator(t){return ap(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(X(b({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new sd(!0,i))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new sd(!1,i))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(X(b({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new od(!1,i))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new od(!0,i))}markAsPending(t={}){this.status=$a;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ga(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(X(b({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=id,this.errors=null,this._forEachChild(r=>{r.disable(X(b({},t),{onlySelf:!0}))}),this._updateValue();let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new cp(this.value,i)),this._events.next(new Ga(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(X(b({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=nd,this._forEachChild(i=>{i.enable(X(b({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(X(b({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nd||this.status===$a)&&this._runAsyncValidator(i,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new cp(this.value,e)),this._events.next(new Ga(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(X(b({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?id:nd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=$a,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:t!==!1};let i=iM(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Ga(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?id:this.errors?op:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($a)?$a:this._anyControlsHaveStatus(op)?op:nd}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new od(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new sd(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){_p(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=wz(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Dz(this._rawAsyncValidators)}},hp=class extends fp{constructor(t,e,i){super(uM(e),fM(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Iz(this,!0,t),Object.keys(t).forEach(i=>{Sz(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}},Ka=new x("",{providedIn:"root",factory:()=>bp}),bp="always";Lz={provide:ps,useExisting:Un(()=>xx)},rd=Promise.resolve(),xx=(()=>{class n extends ps{callSetDisabledState;get submitted(){return un(this.submittedReactive)}_submitted=Qn(()=>this.submittedReactive());submittedReactive=Me(!1);_directives=new Set;form;ngSubmit=new z;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new hp({},vx(e),_x(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){rd.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ad(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){rd.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){rd.then(()=>{let i=this._findContainer(e.path),r=new hp({});pM(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){rd.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){rd.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),gM(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new dp(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new up(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||n)(T(yp,10),T(vp,10),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&te("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Tt([Lz]),he]})}return n})();ld=class extends fp{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,i){super(uM(e),fM(i,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_p(e)&&(e.nonNullable||e.initialValueIsDefault)&&(XT(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ZT(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ZT(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){XT(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Pz=n=>n instanceof ld,jz={provide:or,useExisting:Un(()=>cd)},JT=Promise.resolve(),cd=(()=>{class n extends or{_changeDetectorRef;callSetDisabledState;control=new ld;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new z;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=yM(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ad(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){JT.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Ie(i);JT.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Az(e,this._parent):[e]}static \u0275fac=function(i){return new(i||n)(T(ps,9),T(yp,10),T(vp,10),T(mx,10),T(ht,8),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Tt([jz]),he,je]})}return n})(),vM=new x(""),Vz={provide:or,useExisting:Un(()=>Cx)},Cx=(()=>{class n extends or{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new z;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=yM(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&pp(i,this,!1),ad(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mM(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pp(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||n)(T(yp,10),T(vp,10),T(mx,10),T(vM,8),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Tt([Vz]),he,je]})}return n})(),Bz={provide:ps,useExisting:Un(()=>Ex)},Ex=(()=>{class n extends ps{callSetDisabledState;get submitted(){return un(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Qn(()=>this._submittedReactive());_submittedReactive=Me(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new z;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(gp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return ad(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){pp(e.control||null,e,!1),Nz(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),gM(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new dp(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1),i?.emitEvent!==!1&&this.form._events.next(new up(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(pp(i||null,e),Pz(r)&&(ad(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);pM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&Fz(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bx(this.form,this),this._oldForm&&gp(this._oldForm,this)}static \u0275fac=function(i){return new(i||n)(T(yp,10),T(vp,10),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&te("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Tt([Bz]),he,je]})}return n})(),_M=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})(),xp=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Ka,useValue:e.callSetDisabledState??bp}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[_M]})}return n})(),bM=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:vM,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ka,useValue:e.callSetDisabledState??bp}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[_M]})}return n})()});function dd(n){return n.buttons===0||n.detail===0}function ud(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Dx=f(()=>{"use strict"});function xM(){if(Sx==null){let n=typeof document<"u"?document.head:null;Sx=!!(n&&(n.createShadowRoot||n.attachShadow))}return Sx}function Ix(n){if(xM()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function fd(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function Qt(n){return n.composedPath?n.composedPath()[0]:n.target}var Sx,hd=f(()=>{"use strict"});var Ax,Ue,sr=f(()=>{"use strict";_();_();Le();try{Ax=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ax=!1}Ue=(()=>{class n{_platformId=u(dn);isBrowser=this._platformId?Ji(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||Ax)&&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||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function CM(){if(pd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>pd=!0}))}finally{pd=pd||!1}return pd}function no(n){return CM()?n:!!n.capture}var pd,Tx=f(()=>{"use strict"});function io(n,t=0){return EM(n)?Number(n):arguments.length===2?t:0}function EM(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Ii(n){return n instanceof H?n.nativeElement:n}var Cp=f(()=>{"use strict";_()});var wM,DM,SM,Mx,IM,md,AM,Ep,ms,Rx=f(()=>{"use strict";_();_();we();it();Dx();hd();sr();Tx();Cp();wM=new x("cdk-input-modality-detector-options"),DM={ignoreKeys:[18,17,224,91,16]},SM=650,Mx={passive:!0,capture:!0},IM=(()=>{class n{_platform=u(Ue);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new at(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Qt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<SM||(this._modality.next(dd(e)?"keyboard":"mouse"),this._mostRecentTarget=Qt(e))};_onTouchstart=e=>{if(ud(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Qt(e)};constructor(){let e=u(P),i=u(U),r=u(wM,{optional:!0});if(this._options=b(b({},DM),r),this.modalityDetected=this._modality.pipe(Yl(1)),this.modalityChanged=this.modalityDetected.pipe(ql()),this._platform.isBrowser){let o=u(ut).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,Mx),o.listen(i,"mousedown",this._onMousedown,Mx),o.listen(i,"touchstart",this._onTouchstart,Mx)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),md=function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n}(md||{}),AM=new x("cdk-focus-monitor-default-options"),Ep=no({passive:!0,capture:!0}),ms=(()=>{class n{_ngZone=u(P);_platform=u(Ue);_inputModalityDetector=u(IM);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(U);_stopInputModalityDetector=new M;constructor(){let e=u(AM,{optional:!0});this._detectionMode=e?.detectionMode||md.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Qt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=Ii(e);if(!this._platform.isBrowser||r.nodeType!==1)return F();let o=Ix(r)||this._document,s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new M,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Ii(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Ii(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===md.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===md.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?SM:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Qt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ep),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ep)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ee(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ep),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ep),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var wp,hn,gd=f(()=>{"use strict";_();_();wp=new WeakMap,hn=(()=>{class n{_appRef;_injector=u(G);_environmentInjector=u($e);load(e){let i=this._appRef=this._appRef||this._injector.get(jt),r=wp.get(i);r||(r={loaders:new Set,refs:[]},wp.set(i,r),i.onDestroy(()=>{wp.get(i)?.refs.forEach(o=>o.destroy()),wp.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Bh(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Ya,Qa=f(()=>{"use strict";gd();_();Ya=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
6
+ `],encapsulation:2,changeDetection:0})}return n})()});function Za(n){return Array.isArray(n)?n:[n]}var Ox=f(()=>{"use strict"});function Uz(n,t){if(!TM.has(n))try{gs||(gs=document.createElement("style"),t&&gs.setAttribute("nonce",t),gs.setAttribute("type","text/css"),document.head.appendChild(gs)),gs.sheet&&(gs.sheet.insertRule(`@media ${n} {body{ }}`,0),TM.add(n))}catch(e){console.error(e)}}function Hz(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}function MM(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var TM,gs,Dp,Fx,kx=f(()=>{"use strict";_();_();we();it();sr();Ox();TM=new Set,Dp=(()=>{class n{_platform=u(Ue);_nonce=u(Wr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Hz}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Uz(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();Fx=(()=>{class n{_mediaMatcher=u(Dp);_zone=u(P);_queries=new Map;_destroySubject=new M;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return MM(Za(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=MM(Za(e)).map(s=>this._registerQuery(s).observable),o=Lo(r);return o=Bn(o.pipe(He(1)),o.pipe(Yl(1),Vi(0))),o.pipe(V(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new Z(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Ht(i),V(({matches:s})=>({query:e,matches:s})),Ee(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var zz,Sp,Nx=f(()=>{"use strict";_();zz=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Sp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({providers:[zz]})}return n})()});function $z(n){try{return n.frameElement}catch{return null}}function Gz(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Wz(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function qz(n){return Yz(n)&&n.type=="hidden"}function Kz(n){return Qz(n)&&n.hasAttribute("href")}function Yz(n){return n.nodeName.toLowerCase()=="input"}function Qz(n){return n.nodeName.toLowerCase()=="a"}function kM(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function RM(n){if(!kM(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Zz(n){let t=n.nodeName.toLowerCase(),e=t==="input"&&n.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function Xz(n){return qz(n)?!1:Wz(n)||Kz(n)||n.hasAttribute("contenteditable")||kM(n)}function Jz(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}function LM(){return null}var jx,Px,Vx,NM,PM,e$,Bx,ro,OM,FM,Lx,Ip,yd,Ux=f(()=>{"use strict";_();_();sr();gd();Qa();kx();Nx();jx=(()=>{class n{_platform=u(Ue);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Gz(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=$z(Jz(e));if(i&&(RM(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=RM(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Zz(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return Xz(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();Px=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();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))}_enabled=!0;constructor(t,e,i,r,o=!1,s){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){let e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}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,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._injector?qt(t,{injector:this._injector}):setTimeout(t)}},Vx=(()=>{class n{_checker=u(jx);_ngZone=u(P);_document=u(U);_injector=u(G);constructor(){u(hn).load(Ya)}create(e,i=!1){return new Px(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),NM=new x("liveAnnouncerElement",{providedIn:"root",factory:LM});PM=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),e$=0,Bx=(()=>{class n{_ngZone=u(P);_defaultOptions=u(PM,{optional:!0});_liveElement;_document=u(U);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(NM,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${e$++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ro=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(ro||{}),OM="cdk-high-contrast-black-on-white",FM="cdk-high-contrast-white-on-black",Lx="cdk-high-contrast-active",Ip=(()=>{class n{_platform=u(Ue);_hasCheckedHighContrastMode;_document=u(U);_breakpointSubscription;constructor(){this._breakpointSubscription=u(Fx).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ro.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ro.BLACK_ON_WHITE}return ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Lx,OM,FM),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===ro.BLACK_ON_WHITE?e.add(Lx,OM):i===ro.WHITE_ON_BLACK&&e.add(Lx,FM)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),yd=(()=>{class n{constructor(){u(Ip)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[Sp]})}return n})()});var Hx,Zt,Ap=f(()=>{"use strict";_();_();Hx={},Zt=(()=>{class n{_appId=u($r);getId(e){return this._appId!=="ng"&&(e+=this._appId),Hx.hasOwnProperty(e)||(Hx[e]=0),`${e}${Hx[e]++}`}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var t$,Tp,VM=f(()=>{"use strict";we();it();t$=200,Tp=class{_letterKeyStream=new M;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new M;selectedItem=this._selectedItem;constructor(t,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:t$;e?.skipPredicate&&(this._skipPredicateFn=e.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 e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(ke(e=>this._pressedLetters.push(e)),Vi(t),fe(()=>this._pressedLetters.length>0),V(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}});function Vt(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var oo=f(()=>{"use strict"});var Mp,HM=f(()=>{"use strict";_();we();VM();oo();Mp=class{_items;_activeItemIndex=Me(-1);_activeItem=Me(null);_wrap=!1;_typeaheadSubscription=Ce.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,e){this._items=t,t instanceof rs?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):Ur(t)&&(this._effectRef=Fa(()=>this._itemsChanged(t()),{injector:e}))}tabOut=new M;change=new M;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 e=this._getItemsArray();return this._typeahead=new Tp(e,{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,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){let e=this._activeItem();this.updateActiveItem(t),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(t){let e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||Vt(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 e=this._getItemsArray(),i=typeof t=="number"?t:e.indexOf(t),r=e[i];this._activeItem.set(r??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 e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+t*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,e){let i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(t+=e,!i[t])return;this.setActiveItem(t)}}_getItemsArray(){return Ur(this._items)?this._items():this._items instanceof rs?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let e=this._activeItem();if(e){let i=t.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}}});var vd,zM=f(()=>{"use strict";HM();vd=class extends Mp{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}});function qx(n,t,e){let i=Op(n,t);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),n.setAttribute(t,i.join(GM)))}function Fp(n,t,e){let i=Op(n,t);e=e.trim();let r=i.filter(o=>o!==e);r.length?n.setAttribute(t,r.join(GM)):n.removeAttribute(t)}function Op(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}function Gx(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function $M(n,t){n.id||(n.id=`${WM}-${t}-${Wx++}`)}var GM,WM,Rp,Wx,qM,ar=f(()=>{"use strict";Rx();Ux();Ap();_();_();sr();gd();Qa();zM();Dx();GM=" ";WM="cdk-describedby-message",Rp="cdk-describedby-host",Wx=0,qM=(()=>{class n{_platform=u(Ue);_document=u(U);_messageRegistry=new Map;_messagesContainer=null;_id=`${Wx++}`;constructor(){u(hn).load(Ya),this._id=u($r)+"-"+Wx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=Gx(i,r);typeof i!="string"?($M(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=Gx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Rp}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Rp);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");$M(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Gx(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Op(e,"aria-describedby").filter(r=>r.indexOf(WM)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);qx(e,"aria-describedby",r.messageElement.id),e.setAttribute(Rp,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,Fp(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Rp)}_isElementDescribedByMessage(e,i){let r=Op(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function Np(){if(ys==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ys=!1,ys;if("scrollBehavior"in document.documentElement.style)ys=!0;else{let n=Element.prototype.scrollTo;n?ys=!/\{\s*\[native code\]\s*\}/.test(n.toString()):ys=!1}}return ys}function Xa(){if(typeof document!="object"||!document)return Jn.NORMAL;if(kp==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),kp=Jn.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,kp=n.scrollLeft===0?Jn.NEGATED:Jn.INVERTED),n.remove()}return kp}var Jn,kp,ys,Kx=f(()=>{"use strict";Jn=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Jn||{})});function Yx(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var KM=f(()=>{"use strict"});var _d=f(()=>{"use strict";sr();Tx();hd()});var YM=f(()=>{"use strict";kx()});function Qx(){return u(n$,{optional:!0})?.animationsDisabled||u(Gr,{optional:!0})==="NoopAnimations"?"di-disabled":(QM??=u(Dp).matchMedia("(prefers-reduced-motion)").matches,QM?"reduced-motion":"enabled")}function wt(){return Qx()!=="enabled"}var n$,QM,Ai=f(()=>{"use strict";YM();_();n$=new x("MATERIAL_ANIMATIONS"),QM=null});function ct(n){return n==null?"":typeof n=="string"?n:`${n}px`}var ZM=f(()=>{"use strict"});function bd(n){return n!=null&&`${n}`!="false"}var xd=f(()=>{"use strict";Cp()});function o$(n,t,e){let i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}var Nn,Zx,XM,Xx,Cd,i$,JM,eR,tR,r$,Ed,Jx,nR,eC=f(()=>{"use strict";_d();_();_();ar();xd();Qa();Ai();Nn=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(Nn||{}),Zx=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Nn.HIDDEN;constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},XM=no({passive:!0,capture:!0}),Xx=class{_events=new Map;addHandler(t,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,XM)})}removeHandler(t,e,i){let r=this._events.get(t);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,XM)))}_delegateEventHandler=t=>{let e=Qt(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}},Cd={enterDuration:225,exitDuration:150},i$=800,JM=no({passive:!0,capture:!0}),eR=["mousedown","touchstart"],tR=["mouseup","mouseleave","touchend","touchcancel"],r$=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
7
+ `],encapsulation:2,changeDetection:0})}return n})(),Ed=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Xx;constructor(t,e,i,r,o){this._target=t,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Ii(i)),o&&o.get(hn).load(r$)}fadeInRipple(t,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=b(b({},Cd),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||o$(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,g=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,v=new Zx(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",v.state=Nn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=v);let C=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{C&&(C.fallbackTimer=null),clearTimeout(pe),this._finishRippleTransition(v)},L=()=>this._destroyRipple(v),pe=setTimeout(L,c+100);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",L),C={onTransitionEnd:D,onTransitionCancel:L,fallbackTimer:pe}}),this._activeRipples.set(v,C),(g||!c)&&this._finishRippleTransition(v),v}fadeOutRipple(t){if(t.state===Nn.FADING_OUT||t.state===Nn.HIDDEN)return;let e=t.element,i=b(b({},Cd),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=Nn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=Ii(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,eR.forEach(i=>{n._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{tR.forEach(e=>{this._triggerElement.addEventListener(e,this,JM)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Nn.FADING_IN?this._startFadeOutTransition(t):t.state===Nn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=Nn.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Nn.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=dd(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+i$;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ud(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=t.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let e=t.state===Nn.VISIBLE||t.config.terminateOnPointerUp&&t.state===Nn.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(eR.forEach(e=>n._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(tR.forEach(e=>t.removeEventListener(e,this,JM)),this._pointerUpEventsRegistered=!1))}};Jx=new x("mat-ripple-global-options"),nR=(()=>{class n{_elementRef=u(H);_animationsDisabled=wt();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(P),i=u(Ue),r=u(Jx,{optional:!0}),o=u(G);this._globalOptions=r||{},this._rippleRenderer=new Ed(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:b(b(b({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,b(b({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,b(b({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})()});var s$,a$,tC,nC,iR,Lp,rR,oR=f(()=>{"use strict";_();_();_d();Ai();eC();s$={capture:!0},a$=["focus","mousedown","mouseenter","touchstart"],tC="mat-ripple-loader-uninitialized",nC="mat-ripple-loader-class-name",iR="mat-ripple-loader-centered",Lp="mat-ripple-loader-disabled",rR=(()=>{class n{_document=u(U);_animationsDisabled=wt();_globalRippleOptions=u(Jx,{optional:!0});_platform=u(Ue);_ngZone=u(P);_injector=u(G);_eventCleanups;_hosts=new Map;constructor(){let e=u(ut).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>a$.map(i=>e.listen(this._document,i,this._onInteraction,s$)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(tC,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(nC))&&e.setAttribute(nC,i.className||""),i.centered&&e.setAttribute(iR,""),i.disabled&&e.setAttribute(Lp,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Lp,""):e.removeAttribute(Lp)}_onInteraction=e=>{let i=Qt(e);if(i instanceof HTMLElement){let r=i.closest(`[${tC}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(nC)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Cd.enterDuration,s=this._animationsDisabled?0:r?.animation?.exitDuration??Cd.exitDuration,a={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(Lp),rippleConfig:{centered:e.hasAttribute(iR),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:s}}},l=new Ed(a,this._ngZone,i,this._platform,this._injector),c=!a.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:l,hasSetUpEvents:c}),e.removeAttribute(tC)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Pp,iC=f(()=>{"use strict";_();Pp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
8
+ `],encapsulation:2,changeDetection:0})}return n})()});function sR(n){return n==null?void 0:Ei(n)}var l$,c$,d$,rC,vs,aR=f(()=>{"use strict";_();_();ar();Qa();oR();iC();Ai();l$=["mat-icon-button",""],c$=["*"],d$=new x("MAT_BUTTON_CONFIG");rC=(()=>{class n{_elementRef=u(H);_ngZone=u(P);_animationsDisabled=wt();_config=u(d$,{optional:!0});_focusMonitor=u(ms);_cleanupClick;_renderer=u(rt);_rippleLoader=u(rR);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){u(hn).load(Pp);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(De("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Yn(r.color?"mat-"+r.color:""),ne("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ie],disabled:[2,"disabled","disabled",Ie],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ie],tabIndex:[2,"tabIndex","tabIndex",sR],_tabindex:[2,"tabindex","_tabindex",sR]}})}return n})(),vs=(()=>{class n extends rC{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[he],attrs:l$,ngContentSelectors:c$,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Kt(),On(0,"span",0),We(1),On(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-icon-button-touch-target-display, block);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
9
+ `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
10
+ `],encapsulation:2,changeDetection:0})}return n})()});function f$(){return u(U)}function lR(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?h$.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var u$,h$,Mt,wd=f(()=>{"use strict";_();_();u$=new x("cdk-dir-doc",{providedIn:"root",factory:f$});h$=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Mt=(()=>{class n{get value(){return this.valueSignal()}valueSignal=Me("ltr");change=new z;constructor(){let e=u(u$,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(lR(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Ti,lr=f(()=>{"use strict";wd();_();Ti=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})()});var qe,ei=f(()=>{"use strict";ar();lr();_();_();qe=(()=>{class n{constructor(){u(Ip)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[Ti,Ti]})}return n})()});var jp,oC=f(()=>{"use strict";_();ei();jp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[qe,qe]})}return n})()});function v$(n){return n.hasAttribute("mat-raised-button")?"elevated":n.hasAttribute("mat-stroked-button")?"outlined":n.hasAttribute("mat-flat-button")?"filled":n.hasAttribute("mat-button")?"text":null}var m$,g$,y$,cR,Mi,so,En=f(()=>{"use strict";aR();_();oC();ei();m$=["matButton",""],g$=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],y$=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],cR=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),Mi=(()=>{class n extends rC{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=v$(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?cR.get(this._appearance):null,o=cR.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[he],attrs:m$,ngContentSelectors:y$,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Kt(g$),On(0,"span",0),We(1),Ki(2,"span",1),We(3,1),Yi(),We(4,2),On(5,"span",2)(6,"span",3)),i&2&&ne("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
11
+ `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
12
+ `],encapsulation:2,changeDetection:0})}return n})();so=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[qe,jp,qe]})}return n})()});function _$(){if(Vp===void 0&&(Vp=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Vp=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Vp}function Dd(n){return _$()?.createHTML(n)||n}function dR(n){return Error(`Unable to find icon with the name "${n}"`)}function b$(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function uR(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function fR(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}function Bp(n){return n.cloneNode(!0)}function hR(n,t){return n+":"+t}function x$(n){return!!(n.url&&n.options)}var Vp,cr,Up,pR=f(()=>{"use strict";Qc();_();_();Xc();we();it();cr=class{url;svgText;options;svgElement;constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}},Up=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new cr(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let s=this._sanitizer.sanitize(xt.HTML,r);if(!s)throw fR(r);let a=Dd(s);return this._addSvgIconConfig(e,i,new cr("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new cr(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(xt.HTML,i);if(!o)throw fR(i);let s=Dd(o);return this._addSvgIconSetConfig(e,new cr("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(xt.RESOURCE_URL,e);if(!i)throw uR(e);let r=this._cachedIconsByUrl.get(i);return r?F(Bp(r)):this._loadSvgIconFromConfig(new cr(e,null)).pipe(ke(o=>this._cachedIconsByUrl.set(i,o)),V(o=>Bp(o)))}getNamedSvgIcon(e,i=""){let r=hR(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Ar(dR(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?F(Bp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(V(i=>Bp(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return F(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(on(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(xt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),F(null)})));return Po(o).pipe(V(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw dR(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ke(i=>e.svgText=i),V(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?F(null):this._fetchIcon(e).pipe(ke(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let a=this._svgElementFromString(Dd("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Dd("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:s,value:a}=r[o];s!=="id"&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw b$();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(xt.RESOURCE_URL,i);if(!s)throw uR(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(V(c=>Dd(c)),sn(()=>this._inProgressUrlFetches.delete(s)),Kl());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(hR(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return x$(o)?new cr(o.url,null,o.options):new cr(o,null)}}static \u0275fac=function(i){return new(i||n)(I(nr,8),I(Zc),I(U,8),I(It))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function D$(){let n=u(U),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var C$,E$,w$,mR,S$,I$,Ri,Hp,dr=f(()=>{"use strict";_();_();we();it();pR();ei();C$=["*"],E$=new x("MAT_ICON_DEFAULT_OPTIONS"),w$=new x("mat-icon-location",{providedIn:"root",factory:D$});mR=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],S$=mR.map(n=>`[${n}]`).join(", "),I$=/^url\(['"]?#(.*?)['"]?\)$/,Ri=(()=>{class n{_elementRef=u(H);_iconRegistry=u(Up);_location=u(w$);_errorHandler=u(It);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ce.EMPTY;constructor(){let e=u(new Zr("aria-hidden"),{optional:!0}),i=u(E$,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(S$),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)mR.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(I$):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(He(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(De("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Yn(r.color?"mat-"+r.color:""),ne("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Ie],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:C$,decls:1,vars:0,template:function(i,r){i&1&&(Kt(),We(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
13
+ `],encapsulation:2,changeDetection:0})}return n})(),Hp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[qe,qe]})}return n})()});var gR,yR=f(()=>{"use strict";Qc();_();_();gR=(()=>{var t;let e=class e{constructor(){tt(this,t,u(nr))}play(r,o){return ye(this,t).get(`https://services.tilde.com/service/tts?system=${o.voice}&text=${r}`,{responseType:"blob"})}};t=new WeakMap,e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})()});function T$(n,t){if(n&1&&(Jo(),S(0,"svg",11),de(1,"circle",12),R()),n&2){let e=W();De("viewBox",e._viewBox()),E(),as("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),De("r",e._circleRadius())}}function R$(){return{diameter:vR}}var A$,M$,vR,O$,zp,_R,$p=f(()=>{"use strict";_();_();Le();Ai();ei();A$=["determinateSpinner"];M$=new x("mat-progress-spinner-default-options",{providedIn:"root",factory:R$});vR=100,O$=10,zp=(()=>{class n{_elementRef=u(H);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=u(M$),i=Qx(),r=this._elementRef.nativeElement;this._noopAnimations=i==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&i==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=vR;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-O$)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(A$,5),i&2){let o;be(o=xe())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(De("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Yn("mat-"+r.color),as("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),ne("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ei],diameter:[2,"diameter","diameter",Ei],strokeWidth:[2,"strokeWidth","strokeWidth",Ei]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(Ae(0,T$,2,8,"ng-template",null,0,Qr),S(2,"div",2,1),Jo(),S(4,"svg",3),de(5,"circle",4),R()(),Uf(),S(6,"div",5)(7,"div",6)(8,"div",7),Ma(9,8),R(),S(10,"div",9),Ma(11,8),R(),S(12,"div",10),Ma(13,8),R()()()),i&2){let o=Yt(1);E(4),De("viewBox",r._viewBox()),E(),as("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),De("r",r._circleRadius()),E(4),A("ngTemplateOutlet",o),E(2),A("ngTemplateOutlet",o),E(2),A("ngTemplateOutlet",o)}},dependencies:[Vc],styles:[`.mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
14
+ `],encapsulation:2,changeDetection:0})}return n})(),_R=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[qe]})}return n})()});var N$,xs,sC,L$,ao,bs,aC,Ja=f(()=>{"use strict";_();_();we();it();Cp();sr();wd();Kx();lr();N$=20,xs=(()=>{class n{_ngZone=u(P);_platform=u(Ue);_renderer=u(ut).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new M;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=N$){return this._platform.isBrowser?new Z(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(hf(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):F()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(fe(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=Ii(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),sC=(()=>{class n{elementRef=u(H);scrollDispatcher=u(xs);ngZone=u(P);dir=u(Mt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new M;_renderer=u(rt);_cleanupScroll;_elementScrolled=new M;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Xa()!=Jn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Xa()==Jn.INVERTED?e.left=e.right:Xa()==Jn.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Np()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&Xa()==Jn.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&Xa()==Jn.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),L$=20,ao=(()=>{class n{_platform=u(Ue);_listeners;_viewportSize;_change=new M;_document=u(U);constructor(){let e=u(P),i=u(ut).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=L$){return e>0?this._change.pipe(hf(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bs=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})(),aC=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[Ti,bs,Ti,bs]})}return n})()});var Id,lo,Cs,lC,el,Gp,Ad,Es,Td=f(()=>{"use strict";_();_();Id=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}},lo=class extends Id{component;viewContainerRef;injector;projectableNodes;constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},Cs=class extends Id{templateRef;viewContainerRef;context;injector;constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},lC=class extends Id{element;constructor(t){super(),this.element=t instanceof H?t.nativeElement:t}},el=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof lo)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof Cs)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof lC)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)}},Gp=class extends el{outletElement;_appRef;_defaultInjector;constructor(t,e,i){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=i}attachComponentPortal(t){let e;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,r=i.get(bi,null,{optional:!0})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=t.injector||this._defaultInjector||G.NULL,o=r.get($e,i.injector);e=Bh(t.component,{elementInjector:r,environmentInjector:o,projectableNodes:t.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=t,i}attachDomPortal=t=>{let e=t.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Ad=(()=>{class n extends el{_moduleRef=u(bi,{optional:!0});_document=u(U);_viewContainerRef=u(At);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new z;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[he]})}return n})(),Es=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})()});function il(n){return new Wp(n.get(ao),n.get(U))}function IR(n,t){return new qp(n.get(xs),n.get(P),n.get(ao),t)}function cC(n,t){return t.some(e=>{let i=n.bottom<e.top,r=n.top>e.bottom,o=n.right<e.left,s=n.left>e.right;return i||r||o||s})}function xR(n,t){return t.some(e=>{let i=n.top<e.top,r=n.bottom>e.bottom,o=n.left<e.left,s=n.right>e.right;return i||r||o||s})}function Oi(n,t){return new Kp(n.get(xs),n.get(ao),n.get(P),t)}function CR(n,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===n)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function Rd(n,t){return new Qp(t,n.get(ao),n.get(U),n.get(Ue),n.get(Xp))}function ws(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function wR(n){if(typeof n!="number"&&n!=null){let[t,e]=n.split(j$);return!e||e==="px"?parseFloat(t):null}return n||null}function DR(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function V$(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}function rl(n){return new Zp}function Is(n,t){n.get(hn).load(OR);let e=n.get(Xp),i=n.get(U),r=n.get(Zt),o=n.get(jt),s=n.get(Mt),a=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),e.getContainerElement().appendChild(a);let c=new Gp(l,o,n),d=new Ds(t),h=n.get(rt,null,{optional:!0})||n.get(ut).createRenderer(null,null);return d.direction=d.direction||s.value,new tl(c,a,l,d,n.get(P),n.get(MR),i,n.get(wi),n.get(RR),t?.disableAnimations??n.get(Gr,null,{optional:!0})==="NoopAnimations",n.get($e),h)}function U$(n){let t=u(G);return()=>Oi(t)}var bR,Wp,qp,Md,Kp,AR,Ds,Yp,TR,MR,RR,OR,Xp,dC,tl,ER,j$,Qp,SR,Zp,FR,kR,B$,NR,nl,Jp,H$,ur,uC=f(()=>{"use strict";_();_();Le();sr();hd();KM();gd();we();ZM();Ox();Ja();Td();Kx();it();Ap();wd();oo();lr();bR=Np();Wp=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}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=ct(-this._previousScrollPosition.left),t.style.top=ct(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),bR&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bR&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};qp=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(fe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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())}},Md=class{enable(){}disable(){}attach(){}};Kp=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();cC(e,[{width:i,height:r,bottom:r,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}},AR=(()=>{class n{_injector=u(G);constructor(){}noop=()=>new Md;close=e=>IR(this._injector,e);block=()=>il(this._injector);reposition=e=>Oi(this._injector,e);static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ds=class{positionStrategy;scrollStrategy=new Md;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}},Yp=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}},TR=(()=>{class n{_attachedOverlays=[];_document=u(U);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),MR=(()=>{class n extends TR{_ngZone=u(P);_renderer=u(ut).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),RR=(()=>{class n extends TR{_platform=u(Ue);_ngZone=u(P);_renderer=u(ut).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),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(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Qt(e)};_clickListener=e=>{let i=Qt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(CR(a.overlayElement,i)||CR(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();OR=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},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}
15
+ `],encapsulation:2,changeDetection:0})}return n})(),Xp=(()=>{class n{_platform=u(Ue);_containerElement;_document=u(U);_styleLoader=u(hn);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Yx()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Yx()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(OR)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),dC=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,i,r){this._renderer=e,this._ngZone=i,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}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()}},tl=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new M;_attachments=new M;_detachments=new M;_positionStrategy;_scrollStrategy;_locationChanges=Ce.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new M;_outsidePointerEvents=new M;_afterNextRenderRef;constructor(t,e,i,r,o,s,a,l,c,d=!1,h,m){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=h,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.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 e=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=qt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let 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=b(b({},this._config),t),this._updateElementSize()}setDirection(t){this._config=X(b({},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=ct(this._config.width),t.height=ct(this._config.height),t.minWidth=ct(this._config.minWidth),t.minHeight=ct(this._config.minHeight),t.maxWidth=ct(this._config.maxWidth),t.maxHeight=ct(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new dC(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(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,e,i){let r=Za(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=qt(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(e){if(t)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let t=this._scrollStrategy;t?.disable(),t?.detach?.()}},ER="cdk-overlay-connected-position-bounding-box",j$=/([A-Za-z%]+)$/;Qp=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 M;_resizeSubscription=Ce.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(ER),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,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ws(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ER),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 e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}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,e,i){let r;if(i.originX=="center")r=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=t.top+t.height/2:o=i.originY=="top"?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){let o=DR(e),{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,h=s+o.width-i.width,m=0-a,p=a+o.height-i.height,g=this._subtractOverflows(o.width,d,h),v=this._subtractOverflows(o.height,m,p),C=g*v;return{visibleArea:C,isCompletelyWithinViewport:o.width*o.height===C,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=wR(this._overlayRef.getConfig().minHeight),a=wR(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||s!=null&&s<=r,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let r=DR(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0),d=0,h=0;return r.width<=o.width?d=c||-s:d=t.x<this._viewportMargin?o.left-i.left-t.x:0,r.height<=o.height?h=l||-a:h=t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:d,y:h},{x:t.x+d,y:t.y+h}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!V$(this._lastScrollVisibility,i)){let r=new Yp(t,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=t.overlayY;t.overlayX==="center"?i="center":this._isRtl()?i=t.overlayX==="start"?"right":"left":i=t.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=t.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-t.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let p=Math.min(i.bottom-t.y+i.top,t.y),g=this._lastBoundingBoxSize.height;o=p*2,s=t.y-p,o>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(c)m=i.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(l)h=t.x,d=i.right-t.x;else{let p=Math.min(i.right-t.x+i.left,t.x),g=this._lastBoundingBoxSize.width;d=p*2,h=t.x-p,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(h=t.x-g/2)}return{top:s,left:h,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(t,e){let i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=ct(i.height),r.top=ct(i.top),r.bottom=ct(i.bottom),r.width=ct(i.width),r.left=ct(i.left),r.right=ct(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=ct(o)),s&&(r.maxWidth=ct(s))}this._lastBoundingBoxSize=i,ws(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ws(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ws(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();ws(i,this._getExactOverlayY(e,t,d)),ws(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ct(s.maxWidth):o&&(i.maxWidth="")),ws(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=ct(o.y);return r}_getExactOverlayX(t,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=t.overlayX==="end"?"left":"right":s=t.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=ct(o.x);return r}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xR(t,i),isOriginOutsideView:cC(t,i),isOverlayClipped:xR(e,i),isOverlayOutsideView:cC(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=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+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Za(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof H)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}};SR="cdk-global-overlay-wrapper";Zp=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(SR),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,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",g="",v="";l?v="flex-start":d==="center"?(v="center",m?g=h:p=h):m?d==="left"||d==="end"?(v="flex-end",p=h):(d==="right"||d==="start")&&(v="flex-start",g=h):d==="left"||d==="start"?(v="flex-start",p=h):(d==="right"||d==="end")&&(v="flex-end",g=h),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":g,e.justifyContent=v,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(SR),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},FR=(()=>{class n{_injector=u(G);constructor(){}global(){return rl()}flexibleConnectedTo(e){return Rd(this._injector,e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();kR=(()=>{class n{scrollStrategies=u(AR);_positionBuilder=u(FR);_injector=u(G);constructor(){}create(e){return Is(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),B$=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],NR=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>Oi(n)}}),nl=(()=>{class n{elementRef=u(H);constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),Jp=(()=>{class n{_dir=u(Mt,{optional:!0});_injector=u(G);_overlayRef;_templatePortal;_backdropSubscription=Ce.EMPTY;_attachSubscription=Ce.EMPTY;_detachSubscription=Ce.EMPTY;_positionSubscription=Ce.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(NR);_disposeOnNavigation=!1;_ngZone=u(P);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new z;positionChange=new z;attach=new z;detach=new z;overlayKeydown=new z;overlayOutsideClick=new z;constructor(){let e=u(cn),i=u(At);this._templatePortal=new Cs(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=B$);let e=this._overlayRef=Is(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Vt(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Qt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ds({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=Rd(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof nl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof nl?this.origin.elementRef.nativeElement:this.origin instanceof H?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(uy(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Ie],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ie],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ie],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ie],push:[2,"cdkConnectedOverlayPush","push",Ie],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ie]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[je]})}return n})();H$={provide:NR,useFactory:U$},ur=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({providers:[kR,H$],imports:[Ti,Es,aC,aC]})}return n})()});var em=f(()=>{"use strict";uC();Ja()});function jR(n){let t=u(G);return()=>Oi(t,{scrollThrottle:fC})}function BR(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var z$,fC,hC,VR,UR,LR,PR,$$,G$,W$,q$,fr,HR,As,zR=f(()=>{"use strict";_();_();ar();em();Ja();it();xd();oo();Le();_d();lr();Td();we();Ai();ei();z$=["tooltip"],fC=20,hC=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>Oi(n,{scrollThrottle:fC})}});VR={provide:hC,deps:[],useFactory:jR};UR=new x("mat-tooltip-default-options",{providedIn:"root",factory:BR}),LR="tooltip-panel",PR=no({passive:!0}),$$=8,G$=8,W$=24,q$=200,fr=(()=>{class n{_elementRef=u(H);_ngZone=u(P);_platform=u(Ue);_ariaDescriber=u(qM);_focusMonitor=u(ms);_dir=u(Mt);_injector=u(G);_viewContainerRef=u(At);_animationsDisabled=wt();_defaultOptions=u(UR,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=HR;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=bd(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=bd(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=io(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=io(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new M;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=$$}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ee(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,PR)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new lo(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof H)return this._overlayRef;this._detach()}let i=this._injector.get(xs).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${LR}`,o=Rd(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ee(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Is(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(hC)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ee(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ee(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!Vt(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ee(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(b(b({},r.main),o.main)),this._addOffset(b(b({},r.fallback),o.fallback))])}_addOffset(e){let i=G$,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),qt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${LR}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,PR)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(U).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||qt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return n})(),HR=(()=>{class n{_changeDetectorRef=u(ht);_elementRef=u(H);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=wt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new M;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>W$&&e.width>=q$}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(z$,7),i&2){let o;be(o=xe())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&te("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=Re();S(0,"div",1,0),te("animationend",function(a){return ve(o),_e(r._handleAnimationEnd(a))}),S(2,"div",2),se(3),R()()}i&2&&(ne("mdc-tooltip--multiline",r._isMultiline),A("ngClass",r.tooltipClass),E(3),ft(r.message))},dependencies:[Zi],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
16
+ `],encapsulation:2,changeDetection:0})}return n})(),As=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({providers:[VR],imports:[yd,ur,qe,qe,bs]})}return n})()});var co=f(()=>{"use strict";zR()});var $R,GR=f(()=>{"use strict";_();Ai();$R=(()=>{class n{_animationsDisabled=wt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ne("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
17
+ `],encapsulation:2,changeDetection:0})}return n})()});function Z$(n,t){if(n&1&&de(0,"mat-pseudo-checkbox",1),n&2){let e=W();A("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function X$(n,t){if(n&1&&de(0,"mat-pseudo-checkbox",3),n&2){let e=W();A("disabled",e.disabled)}}function J$(n,t){if(n&1&&(S(0,"span",4),se(1),R()),n&2){let e=W();E(),Je("(",e.group.label,")")}}function WR(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s<n+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function qR(n,t,e,i){return n<e?n:n+t>e+i?Math.max(0,n-i+t):e}var K$,Y$,Q$,mC,gC,pC,hr,rm=f(()=>{"use strict";ar();oo();_();_();we();eC();GR();iC();Qa();K$=["text"],Y$=[[["mat-icon"]],"*"],Q$=["mat-icon","*"];mC=new x("MAT_OPTION_PARENT_COMPONENT"),gC=new x("MatOptgroup"),pC=class{source;isUserInput;constructor(t,e=!1){this.source=t,this.isUserInput=e}},hr=(()=>{class n{_element=u(H);_changeDetectorRef=u(ht);_parent=u(mC,{optional:!0});group=u(gC,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(Zt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Me(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new z;_text;_stateChanges=new M;constructor(){let e=u(hn);e.load(Pp),e.load(Ya),this._signalDisableRipple=!!this._parent&&Ur(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Vt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new pC(this,e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(K$,7),i&2){let o;be(o=xe())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&te("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(Qi("id",r.id),De("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ne("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Ie]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Q$,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Kt(Y$),ot(0,Z$,1,2,"mat-pseudo-checkbox",1),We(1),S(2,"span",2,0),We(4,1),R(),ot(5,X$,1,1,"mat-pseudo-checkbox",3),ot(6,J$,2,1,"span",4),de(7,"div",5)),i&2&&(st(r.multiple?0:-1),E(5),st(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),E(),st(r.group&&r.group._inert?6:-1),E(),A("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[$R,nR],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
18
+ `],encapsulation:2,changeDetection:0})}return n})()});var yC,KR,YR=f(()=>{"use strict";_();_();we();it();yC=class{_box;_destroyed=new M;_resizeSubject=new M;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Z(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(fe(e=>e.some(i=>i.target===t)),jo({bufferSize:1,refCount:!0}),Ee(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},KR=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=u(P);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new yC(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function sG(n,t){n&1&&de(0,"span",20)}function aG(n,t){if(n&1&&(S(0,"label",19),We(1,1),ot(2,sG,1,0,"span",20),R()),n&2){let e=W(2);A("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),De("for",e._control.disableAutomaticLabeling?null:e._control.id),E(2),st(!e.hideRequiredMarker&&e._control.required?2:-1)}}function lG(n,t){if(n&1&&ot(0,aG,3,5,"label",19),n&2){let e=W();st(e._hasFloatingLabel()?0:-1)}}function cG(n,t){n&1&&de(0,"div",7)}function dG(n,t){}function uG(n,t){if(n&1&&Ae(0,dG,0,0,"ng-template",13),n&2){W(2);let e=Yt(1);A("ngTemplateOutlet",e)}}function fG(n,t){if(n&1&&(S(0,"div",9),ot(1,uG,1,1,null,13),R()),n&2){let e=W();A("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),E(),st(e._forceDisplayInfixLabel()?-1:1)}}function hG(n,t){n&1&&(S(0,"div",10,2),We(2,2),R())}function pG(n,t){n&1&&(S(0,"div",11,3),We(2,3),R())}function mG(n,t){}function gG(n,t){if(n&1&&Ae(0,mG,0,0,"ng-template",13),n&2){W();let e=Yt(1);A("ngTemplateOutlet",e)}}function yG(n,t){n&1&&(S(0,"div",14,4),We(2,4),R())}function vG(n,t){n&1&&(S(0,"div",15,5),We(2,5),R())}function _G(n,t){n&1&&de(0,"div",16)}function bG(n,t){n&1&&We(0,6)}function xG(n,t){if(n&1&&(S(0,"mat-hint",21),se(1),R()),n&2){let e=W(2);A("id",e._hintLabelId),E(),ft(e.hintLabel)}}function CG(n,t){if(n&1&&(ot(0,xG,2,2,"mat-hint",21),We(1,7),de(2,"div",22),We(3,8)),n&2){let e=W();st(e.hintLabel?0:-1)}}function EG(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var eG,tG,nG,QR,ZR,XR,JR,iG,rG,oG,Ts,sO,vC,aO,lO,cO,eO,tO,om,nO,iO,sm,am,dO,rO,wG,oO,DG,Ms,lm=f(()=>{"use strict";ar();lr();xd();_d();Le();_();_();we();it();YR();Ai();eG=["notch"],tG=["matFormFieldNotchedOutline",""],nG=["*"],QR=["iconPrefixContainer"],ZR=["textPrefixContainer"],XR=["iconSuffixContainer"],JR=["textSuffixContainer"],iG=["textField"],rG=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],oG=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];Ts=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["mat-label"]]})}return n})(),sO=new x("MatError"),vC=(()=>{class n{align="start";id=u(Zt).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(Qi("id",r.id),De("align",null),ne("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),aO=new x("MatPrefix"),lO=new x("MatSuffix"),cO=new x("FloatingLabelParent"),eO=(()=>{class n{_elementRef=u(H);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(KR);_ngZone=u(P);_parent=u(cO);_resizeSubscription=new Ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return EG(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();tO="mdc-line-ripple--active",om="mdc-line-ripple--deactivating",nO=(()=>{class n{_elementRef=u(H);_cleanupTransitionEnd;constructor(){let e=u(P),i=u(rt);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(om),e.add(tO)}deactivate(){this._elementRef.nativeElement.classList.add(om)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(om);e.propertyName==="opacity"&&r&&i.remove(tO,om)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),iO=(()=>{class n{_elementRef=u(H);_ngZone=u(P);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(eG,5),i&2){let o;be(o=xe())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:tG,ngContentSelectors:nG,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Kt(),On(0,"div",1),Ki(1,"div",2,0),We(3),Yi(),On(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),sm=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n})}return n})(),am=new x("MatFormField"),dO=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),rO="fill",wG="auto",oO="fixed",DG="translateY(-50%)",Ms=(()=>{class n{_elementRef=u(H);_changeDetectorRef=u(ht);_platform=u(Ue);_idGenerator=u(Zt);_ngZone=u(P);_defaults=u(dO,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Lc("iconPrefixContainer");_textPrefixContainerSignal=Lc("textPrefixContainer");_iconSuffixContainerSignal=Lc("iconSuffixContainer");_textSuffixContainerSignal=Lc("textSuffixContainer");_prefixSuffixContainers=Qn(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=rT(Ts);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=bd(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||wG}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||rO;this._appearanceSignal.set(i)}_appearanceSignal=Me(rO);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oO}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||oO}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new M;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=wt();constructor(){let e=this._defaults,i=u(Mt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Fa(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Qn(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Ht([void 0,void 0]),V(()=>[i.errorState,i.userAriaDescribedBy]),gf(),fe(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ee(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){sT({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Qn(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,s=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(s=>s&&!o.includes(s)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=e?.getBoundingClientRect().width??0,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",h=`${s+a}px`,p=`calc(${d} * (${h} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,g=`var(--mat-mdc-form-field-label-transform, ${DG} translateX(${p}))`,v=s+a+l+c;return[g,v]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(fb(o,r._labelChild,Ts,5),Fn(o,sm,5),Fn(o,aO,5),Fn(o,lO,5),Fn(o,sO,5),Fn(o,vC,5)),i&2){kh();let s;be(s=xe())&&(r._formFieldControl=s.first),be(s=xe())&&(r._prefixChildren=s),be(s=xe())&&(r._suffixChildren=s),be(s=xe())&&(r._errorChildren=s),be(s=xe())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Ra(r._iconPrefixContainerSignal,QR,5),Ra(r._textPrefixContainerSignal,ZR,5),Ra(r._iconSuffixContainerSignal,XR,5),Ra(r._textSuffixContainerSignal,JR,5),Be(iG,5),Be(QR,5),Be(ZR,5),Be(XR,5),Be(JR,5),Be(eO,5),Be(iO,5),Be(nO,5)),i&2){kh(4);let o;be(o=xe())&&(r._textField=o.first),be(o=xe())&&(r._iconPrefixContainer=o.first),be(o=xe())&&(r._textPrefixContainer=o.first),be(o=xe())&&(r._iconSuffixContainer=o.first),be(o=xe())&&(r._textSuffixContainer=o.first),be(o=xe())&&(r._floatingLabel=o.first),be(o=xe())&&(r._notchedOutline=o.first),be(o=xe())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&ne("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Tt([{provide:am,useExisting:n},{provide:cO,useExisting:n}])],ngContentSelectors:oG,decls:19,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Re();Kt(rG),Ae(0,lG,1,1,"ng-template",null,0,Qr),S(2,"div",6,1),te("click",function(a){return ve(o),_e(r._control.onContainerClick(a))}),ot(4,cG,1,0,"div",7),S(5,"div",8),ot(6,fG,2,2,"div",9),ot(7,hG,3,0,"div",10),ot(8,pG,3,0,"div",11),S(9,"div",12),ot(10,gG,1,1,null,13),We(11),R(),ot(12,yG,3,0,"div",14),ot(13,vG,3,0,"div",15),R(),ot(14,_G,1,0,"div",16),R(),S(15,"div",17)(16,"div",18),ot(17,bG,1,0)(18,CG,4,1),R()()}if(i&2){let o;E(2),ne("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),E(2),st(!r._hasOutline()&&!r._control.disabled?4:-1),E(2),st(r._hasOutline()?6:-1),E(),st(r._hasIconPrefix?7:-1),E(),st(r._hasTextPrefix?8:-1),E(2),st(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),E(2),st(r._hasTextSuffix?12:-1),E(),st(r._hasIconSuffix?13:-1),E(),st(r._hasOutline()?-1:14),E(),ne("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let s=r._getSubscriptMessageType();E(),ne("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),E(),st((o=s)==="error"?17:o==="hint"?18:-1)}},dependencies:[eO,iO,Vc,nO,vC],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
19
+ `],encapsulation:2,changeDetection:0})}return n})()});var Od,uO=f(()=>{"use strict";we();Od=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new M;constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);let e=this.selected,i=new Set(t.map(o=>this._getConcreteValue(o)));t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(t,i))return i;return t}else return t}}});var fO=f(()=>{"use strict";uO()});var hO,pO=f(()=>{"use strict";_();hO=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var cm,mO=f(()=>{"use strict";cm=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(t,e,i,r,o){this._defaultMatcher=t,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}}});var gO,yO=f(()=>{"use strict";_();ei();gO=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[qe]})}return n})()});var _C,vO=f(()=>{"use strict";_();oC();ei();rm();yO();_C=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[jp,qe,gO,hr]})}return n})()});var Fd,bC=f(()=>{"use strict";Nx();_();lm();ei();Fd=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({imports:[qe,Sp,Ms,qe]})}return n})()});function MG(n,t){if(n&1&&(S(0,"span",4),se(1),R()),n&2){let e=W();E(),ft(e.placeholder)}}function RG(n,t){n&1&&We(0)}function OG(n,t){if(n&1&&(S(0,"span",11),se(1),R()),n&2){let e=W(2);E(),ft(e.triggerValue)}}function FG(n,t){if(n&1&&(S(0,"span",5),ot(1,RG,1,0)(2,OG,2,1,"span",11),R()),n&2){let e=W();E(),st(e.customTrigger?1:2)}}function kG(n,t){if(n&1){let e=Re();S(0,"div",12,1),te("keydown",function(r){ve(e);let o=W();return _e(o._handleKeydown(r))}),We(2,1),R()}if(n&2){let e=W();Yn(Fc("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),ne("mat-select-panel-animations-enabled",!e._animationsDisabled),A("ngClass",e.panelClass),De("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function _O(n){let t=u(G);return()=>Oi(t)}var SG,IG,AG,TG,xC,bO,xO,CO,dm,kd,Nd,EO=f(()=>{"use strict";em();_();_();Ja();ar();lr();fO();oo();to();we();it();Le();lm();Ai();rm();pO();mO();vO();ei();bC();SG=["trigger"],IG=["panel"],AG=[[["mat-select-trigger"]],"*"],TG=["mat-select-trigger","*"];xC=new x("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>Oi(n)}});bO=new x("MAT_SELECT_CONFIG"),xO={provide:xC,deps:[],useFactory:_O},CO=new x("MatSelectTrigger"),dm=class{source;value;constructor(t,e){this.source=t,this.value=e}},kd=(()=>{class n{_viewportRuler=u(ao);_changeDetectorRef=u(ht);_elementRef=u(H);_dir=u(Mt,{optional:!0});_idGenerator=u(Zt);_renderer=u(rt);_parentFormField=u(am,{optional:!0});ngControl=u(or,{self:!0,optional:!0});_liveAnnouncer=u(Bx);_defaultOptions=u(bO,{optional:!0});_animationsDisabled=wt();_initialized=new M;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=WR(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=qR(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new dm(this,e)}_scrollStrategyFactory=u(xC);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new M;_errorStateTracker;stateChanges=new M;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Me(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(sp.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=nn(()=>{let e=this.options;return e?e.changes.pipe(Ht(e),ze(()=>rn(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(ze(()=>this.optionSelectionChanges))});openedChange=new z;_openedStream=this.openedChange.pipe(fe(e=>e),V(()=>{}));_closedStream=this.openedChange.pipe(fe(e=>!e),V(()=>{}));selectionChange=new z;valueChange=new z;constructor(){let e=u(hO),i=u(xx,{optional:!0}),r=u(Ex,{optional:!0}),o=u(new Zr("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new cm(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Od(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ee(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ee(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Ht(null),Ee(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(He(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&Fp(this._trackedModal,"aria-owns",i),qx(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Fp(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,s=this._keyManager;if(!s.isTyping()&&o&&!Vt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!Vt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Vt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof nl?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new vd(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=rn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ee(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),rn(...this.options.map(i=>i._stateChanges)).pipe(Ee(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(Fn(o,CO,5),Fn(o,hr,5),Fn(o,gC,5)),i&2){let s;be(s=xe())&&(r.customTrigger=s.first),be(s=xe())&&(r.options=s),be(s=xe())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(SG,5),Be(IG,5),Be(Jp,5)),i&2){let o;be(o=xe())&&(r.trigger=o.first),be(o=xe())&&(r.panel=o.first),be(o=xe())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&te("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(De("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ne("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Ie],disableRipple:[2,"disableRipple","disableRipple",Ie],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ei(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ie],placeholder:"placeholder",required:[2,"required","required",Ie],multiple:[2,"multiple","multiple",Ie],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ie],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ei],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Ie]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Tt([{provide:sm,useExisting:n},{provide:mC,useExisting:n}]),je],ngContentSelectors:TG,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=Re();Kt(AG),S(0,"div",2,0),te("click",function(){return ve(o),_e(r.open())}),S(3,"div",3),ot(4,MG,2,1,"span",4)(5,FG,3,1,"span",5),R(),S(6,"div",6)(7,"div",7),Jo(),S(8,"svg",8),de(9,"path",9),R()()()(),Ae(10,kG,3,10,"ng-template",10),te("detach",function(){return ve(o),_e(r.close())})("backdropClick",function(){return ve(o),_e(r.close())})("overlayKeydown",function(a){return ve(o),_e(r._handleOverlayKeydown(a))})}if(i&2){let o=Yt(1);E(3),De("id",r._valueId),E(),st(r.empty?4:5),E(6),A("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[nl,Jp,Zi],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
20
+ `],encapsulation:2,changeDetection:0})}return n})(),Nd=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({providers:[xO],imports:[ur,_C,qe,bs,Fd,_C,qe]})}return n})()});var Ld=f(()=>{"use strict";rm();EO()});var um=f(()=>{"use strict";lm();bC()});function EC(n){for(let t in n){let e=n[t]??"";switch(t){case"display":e==="flex"?n.display=["-webkit-flex","flex"]:e==="inline-flex"?n.display=["-webkit-inline-flex","inline-flex"]:n.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+t]=e;break;case"flex-direction":n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+t]=isNaN(+e)?"0":e;break}}return n}function fm(n){let[t,e,i]=SO(n);return LG(t,e,i)}function SO(n){n=n?.toLowerCase()??"";let[t,e,i]=n.split(" ");return Pd.find(r=>r===t)||(t=Pd[0]),e===CC&&(e=i!==CC?i:"",i=CC),[t,NG(e),!!i]}function jd(n){let[t]=SO(n);return t.indexOf("row")>-1}function NG(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap";break}return n}function LG(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}function ti(n,...t){if(n==null)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}var CC,Pd,wC=f(()=>{"use strict";CC="inline",Pd=["row","column","row-reverse","column-reverse"]});function jO(n,t){return n=n?.clone()??new Rs,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}function PG(n,t){return()=>{if(Ji(t)){let e=Array.from(n.querySelectorAll(`[class*=${IO}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${IO}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function Vd(n,t){let e=n&&n.priority||0;return(t&&t.priority||0)-e}function BG(n,t){let e=n.priority||0,i=t.priority||0;return e-i}function HG(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}function zG(n){return n.replace(UG,"|").split("|").map(HG).join("")}function $G(n){return n.forEach(t=>{t.suffix||(t.suffix=zG(t.alias),t.overlapping=!!t.overlapping)}),n}function GG(n,t=[]){let e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?ti(e[i.alias],i):e[i.alias]=i}),$G(Object.keys(e).map(i=>e[i]))}function QG(n,t,e){let i=n.filter(r=>!kO[r]);if(i.length>0){let r=i.join(", ");try{let o=t.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
27
21
  /*
28
22
  @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners
29
23
  see http://bit.ly/2sd4HMP
30
24
  */
31
25
  @media ${r} {.fx-query-test{ }}
32
- `;o.appendChild(n.createTextNode(s))}n.head.appendChild(o),i.forEach(s=>DA[s]=o)}catch(o){console.error(o)}}}function y$(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function v$(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):y$(t)}function _$(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function C$(t){return t.replace(b$,"|").split("|").map(_$).join("")}function x$(t){return t.forEach(n=>{n.suffix||(n.suffix=C$(n.alias),n.overlapping=!!n.overlapping)}),t}function w$(t,n=[]){let e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?jn(e[i.alias],i):e[i.alias]=i}),x$(Object.keys(e).map(i=>e[i]))}function T$(t){return t?.mediaQuery.startsWith(ga)??!1}function OA(t,n,e,i){if(i!==void 0){let r=t.get(n)??new Map;r.set(e,i),t.set(n,r)}}function S_(t,n="1",e="1"){let i=[n,e,t],r=t.indexOf("calc");if(r>0){i[2]=kA(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=kA(t.trim());else{let o=t.split(" ");i=o.length===3?o:[n,e,t]}return i}function kA(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Jh(t,n){if(n===void 0)return t;let e=i=>{let r=+i.slice(0,-NA.length);return t.endsWith(NA)&&!isNaN(r)?`${r*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var c$,EA,ya,Po,d$,Zh,En,Nc,Xh,li,Qi,m$,DA,b$,E$,SA,IA,MA,TA,AA,RA,Yi,D$,S$,PA,ga,I$,M$,D_,Ir,Mr,NA,Tr=f(()=>{"use strict";b();b();pe();Se();E_();Qe();c$={provide:Rl,useFactory:l$,deps:[H,Qt],multi:!0},EA="flex-layout-";ya=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({providers:[c$]})}}return t})(),Po=class t{constructor(n=!1,e="all",i="",r="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};d$=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){let o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){let r=this.stylesheet.get(e),o="";if(r){let s=r.get(i);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Zh={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},En=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Zh});Nc=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});Xh=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});li=class{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}};Qi=(()=>{class t{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};typeof i=="string"&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:w_(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){let r=this.layoutConfig.disableVendorPrefixes?e:w_(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){let i="flex-direction",r=this.lookupStyle(e,i),o=this.lookupInlineStyle(e,i)||Ni(this._platformId)&&this._serverModuleLoaded?r:"";return[r||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return ti(this._platformId)?e.style.getPropertyValue(i):u$(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(ti(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{let o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",ti(this._platformId)||!this._serverModuleLoaded?ti(this._platformId)?i.style.setProperty(r,a):f$(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}static{this.\u0275fac=function(i){return new(i||t)(D(d$),D(Nc),D(Qt),D(En))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();m$=(()=>{class t{constructor(e,i,r,o){this._zone=e,this._platformId=i,this._document=r,this._nonce=o,this.source=new nt(new Po(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){let r=this._observable$.pipe(me(s=>i?e.indexOf(s.mediaQuery)>-1:!0)),o=new Z(s=>{let a=this.registerQuery(e);if(a.length){let l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()});return Et(o,r)}return this._observable$}registerQuery(e){let i=Array.isArray(e)?e:[e],r=[];return g$(i,this._document,this._nonce),i.forEach(o=>{let s=l=>{this._zone.run(()=>this.source.next(new Po(l.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new Po(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return v$(e,ti(this._platformId))}static{this.\u0275fac=function(i){return new(i||t)(D(L),D(Qt),D(H),D(mo,8))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),DA={};b$=/(\.|-|_)/g;E$=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}];SA="(orientation: portrait) and (max-width: 599.98px)",IA="(orientation: landscape) and (max-width: 959.98px)",MA="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",TA="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",AA="(orientation: portrait) and (min-width: 840px)",RA="(orientation: landscape) and (min-width: 1280px)",Yi={HANDSET:`${SA}, ${IA}`,TABLET:`${MA} , ${TA}`,WEB:`${AA}, ${RA} `,HANDSET_PORTRAIT:`${SA}`,TABLET_PORTRAIT:`${MA} `,WEB_PORTRAIT:`${AA}`,HANDSET_LANDSCAPE:`${IA}`,TABLET_LANDSCAPE:`${TA}`,WEB_LANDSCAPE:`${RA}`},D$=[{alias:"handset",priority:2e3,mediaQuery:Yi.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Yi.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Yi.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Yi.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Yi.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Yi.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Yi.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Yi.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Yi.WEB_PORTRAIT,overlapping:!0}];S$=new C("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=u(Xh),n=u(En),e=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),i=(n.disableDefaultBps?[]:E$).concat(n.addOrientationBps?D$:[]);return w$(i,e)}});PA=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(p$)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}static{this.\u0275fac=function(i){return new(i||t)(D(S$))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ga="print",I$={alias:ga,mediaQuery:ga,priority:1e3},M$=(()=>{class t{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new D_,this.deactivations=[]}withPrintQuery(e){return[...e,ga]}isPrintEvent(e){return e.mediaQuery.startsWith(ga)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(kc)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),FA(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Po(!0,ga))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{if(this.isPrintEvent(i)){i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!i.matches){let r=this.breakpoints.findByQuery(i.mediaQuery);if(r){let o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(kc))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}static{this.\u0275fac=function(i){return new(i||t)(D(PA),D(En),D(H))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),D_=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(I$),n.sort(kc),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=T$(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};Ir=(()=>{class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new T,this.observeActivations()}onMediaChange(e){let i=this.findByQuery(e.mediaQuery);if(i){e=FA(e,i);let r=this.activatedBreakpoints.indexOf(i);e.matches&&r===-1?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(kc),this.updateStyles()):!e.matches&&r!==-1&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(kc),this.updateStyles())}}init(e,i,r,o,s=[]){OA(this.updateMap,e,i,r),OA(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){let o=this.elementMap.get(e);if(o){let s=r!==void 0?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);if(o)return o.get(i)!==void 0||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(i,r)),this.elementMap.set(e,s);else{let l=(s.get(o)??new Map).set(i,r);s.set(o,l),this.elementMap.set(e,s)}let a=this.getValue(e,i);a!==void 0&&this.updateElement(e,i,a)}trackValue(e,i){return this.subject.asObservable().pipe(me(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{let r=new Set(this.elementKeyMap.get(i)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){let r=this.clearMap.get(e);if(r){let o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){let o=this.updateMap.get(e);if(o){let s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){let i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){let a=Et(...r).subscribe(()=>{let l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;o<this.activatedBreakpoints.length;o++){let s=this.activatedBreakpoints[o],a=e.get(s.alias);if(a&&(i===void 0||a.has(i)&&a.get(i)!=null))return a}if(!this._useFallbacks)return;let r=e.get("");return i===void 0||r&&r.has(i)?r:void 0}observeActivations(){let e=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Ne(this.hook.interceptEvents(this)),me(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}static{this.\u0275fac=function(i){return new(i||t)(D(m$),D(PA),D(M$))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Mr=(()=>{class t{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new T,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(this.inputs.indexOf(i)!==-1){let r=i.split(".").slice(1).join("."),o=e[i].currentValue;this.setValue(o,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){let r=this.styleBuilder,o=r.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru=_({},s),this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){let[r,o]=this.styler.getFlowDirection(e);if(!o&&i){let s=Qh(r),a=[e];this.styler.applyStyleToElements(s,a)}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(li),A(Qi),A(Ir))}}static{this.\u0275dir=P({type:t,features:[Ve]})}}return t})();NA="x";});var A$,R$,va,I_,ba=f(()=>{"use strict";b();Tr();Tr();pe();pe();A$=(()=>{class t extends Mr{set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}constructor(e,i,r,o,s){super(e,null,i,r),this.ngClassInstance=s,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Oi(e,o)),this.init(),this.setValue("","")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(Ir),A(ut),A(Oi,10))}}static{this.\u0275dir=P({type:t,inputs:{klass:[0,"class","klass"]},features:[ge]})}}return t})(),R$=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],va=(()=>{class t extends A${constructor(){super(...arguments),this.inputs=R$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[ge]})}}return t})();I_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[ya]})}}return t})();});function iG(t,n){let[e,i]=t.split(" "),r=i??e,o="0px",s=r,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function rG(t,n){let[e,i]=t.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return n==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function $A(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function oG(t,n){let e=$A(n.directionality,n.layout),i=_({},HA);return i[e]=t,i}var O$,k$,N$,BA,F$,L$,P$,j$,V$,B$,U$,UA,H$,z$,$$,G$,W$,q$,K$,Y$,HA,Q$,Z$,X$,zA,J$,eG,tG,nG,ep,sG,aG,lG,GA,VA,T_,tp=f(()=>{"use strict";zi();zi();b();Tr();Tr();E_();Qe();Se();O$=(()=>{class t extends li{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" "),l=i.direction.indexOf("column")>-1?"column":"row",c=Oc(l)?"max-width":"max-height",d=Oc(l)?"min-width":"min-height",h=String(a).indexOf("calc")>-1,m=h||a==="auto",p=String(a).indexOf("%")>-1&&!h,g=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,y=h||g;r=r=="0"?0:r,o=o=="0"?0:o;let I=!r&&!o,R={},ne={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let ue=this.layoutConfig.useColumnBasisZero!==!1;a=l==="row"?"0%":ue?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!y&&!p&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(y=!0),a==="0px"&&(a="0%"),h?R=jn(ne,{"flex-grow":r,"flex-shrink":o,"flex-basis":y?a:"100%"}):R=jn(ne,{flex:`${r} ${o} ${y?a:"100%"}`});break}return R.flex||R["flex-grow"]||(h?R=jn(ne,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):R=jn(ne,{flex:`${r} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(R[d]=I||y&&r?a:null,R[c]=I||!m&&o?a:null),!R[d]&&!R[c]?h?R=jn(ne,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):R=jn(ne,{flex:`${r} ${o} ${a}`}):i.hasWrap&&(R[h?"flex-basis":"flex"]=R[c]?h?R[c]:`${r} ${o} ${R[c]}`:h?R[d]:`${r} ${o} ${R[d]}`),jn(R,{"box-sizing":"border-box"})}static{this.\u0275fac=function(i){return new(i||t)(D(En))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),k$=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],N$=(()=>{class t extends Mr{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(ve(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(ve(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let r=e.value.split(" ");this.direction=r[0],this.wrap=r[1]!==void 0&&r[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let i=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,i)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=P$:o&&!s?this.styleCache=F$:!o&&s?this.styleCache=j$:!o&&!s&&(this.styleCache=L$);let a=String(e).replace(";",""),l=S_(a,this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let i=S_(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(En),A(O$),A(Ir))}}static{this.\u0275dir=P({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[ge]})}}return t})(),BA=(()=>{class t extends N${constructor(){super(...arguments),this.inputs=k$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[ge]})}}return t})(),F$=new Map,L$=new Map,P$=new Map,j$=new Map;V$=(()=>{class t extends li{buildStyles(e,i){let r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;case"start":case"flex-start":default:r["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;case"stretch":default:r["align-items"]=r["align-content"]="stretch";break}return jn(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":s==="stretch"?Oc(i.layout)?null:"100%":null,"max-height":s==="stretch"&&Oc(i.layout)?"100%":null})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),B$=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],U$=(()=>{class t extends Mr{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(ve(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let i=this.layout||"row",r=this.inline;i==="row"&&r?this.styleCache=W$:i==="row"&&!r?this.styleCache=H$:i==="row-reverse"&&r?this.styleCache=K$:i==="row-reverse"&&!r?this.styleCache=$$:i==="column"&&r?this.styleCache=q$:i==="column"&&!r?this.styleCache=z$:i==="column-reverse"&&r?this.styleCache=Y$:i==="column-reverse"&&!r&&(this.styleCache=G$),this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Rc.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(V$),A(Ir))}}static{this.\u0275dir=P({type:t,features:[ge]})}}return t})(),UA=(()=>{class t extends U${constructor(){super(...arguments),this.inputs=B$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[ge]})}}return t})(),H$=new Map,z$=new Map,$$=new Map,G$=new Map,W$=new Map,q$=new Map,K$=new Map,Y$=new Map,HA={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},Q$=(()=>{class t extends li{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(ep)?(e=e.slice(0,e.indexOf(ep)),e=Jh(e,this._config.multiplier),rG(e,i.directionality)):{}}sideEffect(e,i,r){let o=r.items;if(e.endsWith(ep)){e=e.slice(0,e.indexOf(ep)),e=Jh(e,this._config.multiplier);let s=iG(e,r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=Jh(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=oG(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(HA,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}static{this.\u0275fac=function(i){return new(i||t)(D(Qi),D(En))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Z$=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],X$=(()=>{class t extends Mr{get childrenNodes(){let e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new T;let l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(ve(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let r=e.value.split(" ")[0];Rc.find(o=>o===r)||(r="row"),this.layout&&this.layout!==r&&this.clearStyles(),this.layout=r,this.triggerUpdate()}updateWithValue(e){let i=this.childrenNodes.filter(r=>r.nodeType===1&&this.willDisplay(r)).sort((r,o)=>{let s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){let r=this.directionality.value,o=this.layout;o==="row"&&r==="rtl"?this.styleCache=J$:o==="row"&&r!=="rtl"?this.styleCache=tG:o==="column"&&r==="rtl"?this.styleCache=eG:o==="column"&&r!=="rtl"&&(this.styleCache=nG),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,i=e?"padding":$A(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){let i=this.marshal.getValue(e,"show-hide");return i===!0||i===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let i=r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0;e.some(i)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(L),A(_t),A(Qi),A(Q$),A(Ir))}}static{this.\u0275dir=P({type:t,features:[ge]})}}return t})(),zA=(()=>{class t extends X${constructor(){super(...arguments),this.inputs=Z$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[ge]})}}return t})(),J$=new Map,eG=new Map,tG=new Map,nG=new Map,ep=" grid";sG=(()=>{class t extends li{buildStyles(e,{display:i}){let r=Qh(e);return ie(_({},r),{display:i==="none"?i:r.display})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),aG=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],lG=(()=>{class t extends Mr{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=VA.get(r)??new Map,VA.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(sG),A(Ir),A(En))}}static{this.\u0275dir=P({type:t,features:[ge]})}}return t})(),GA=(()=>{class t extends lG{constructor(){super(...arguments),this.inputs=aG}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[ge]})}}return t})(),VA=new Map;T_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[ya,oi]})}}return t})();});var A_,R_=f(()=>{"use strict";b();Tr();A_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[ya]})}}return t})();});var _a,Dae,np=f(()=>{"use strict";Tr();Tr();ba();ba();tp();tp();R_();R_();pe();b();b();_a=(()=>{class t{static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:En,useValue:_(_({},Zh),e)},{provide:Xh,useValue:i,multi:!0},{provide:Nc,useValue:!0}]:[{provide:En,useValue:_(_({},Zh),e)},{provide:Xh,useValue:i,multi:!0}]}}constructor(e,i){Ni(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static{this.\u0275fac=function(i){return new(i||t)(D(Nc),D(Qt))}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[T_,I_,A_,T_,I_,A_]})}}return t})();Dae=new xi("19.0.0");});function dG(t,n){if(t&1&&(E(0,"mat-option",12),se(1),M()),t&2){let e=n.$implicit;S("value",e),x(),Je(" ",e.voiceName," ")}}function uG(t,n){if(t&1&&(E(0,"mat-icon"),se(1),M()),t&2){let e=G();x(),Je(" ",e.isPlaying?"stop":"volume_up"," ")}}function fG(t,n){t&1&&q(0,"mat-spinner",13),t&2&&S("diameter",15)}var WA,qA=f(()=>{"use strict";pe();b();vr();fn();Gi();_T();Se();Th();Sr();Ac();Yh();np();mt();b();pe();vr();Sr();Yh();Ac();ba();mt();WA=(()=>{class t{constructor(){this.maxCharLength=1e3,this.#e=u(bT)}get hasOverflow(){let e=document.querySelector("textarea");return e?.clientHeight<e?.scrollHeight}#e;ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let e=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&e===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}this.#e.play(e,this.selected).pipe($t(()=>{this.isLoading=!1})).subscribe({next:i=>{this.previousText=e,this.previousVoice=this.selected.voice;let r=URL.createObjectURL(i);this.audio=new Audio(r),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(r),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},decls:19,vars:23,consts:[[1,"text-to-speech-wrapper",3,"ngClass.lt-md"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(i,r){if(i&1&&(E(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),se(3),le(4,"translate"),M(),E(5,"mat-select",2),zs("valueChange",function(s){return kl(r.selected,s)||(r.selected=s),s}),re(6,dG,2,2,"mat-option",3),M()(),E(7,"div",4)(8,"textarea",5),le(9,"translate"),zs("ngModelChange",function(s){return kl(r.text,s)||(r.text=s),s}),M(),E(10,"div",6),se(11),M()(),E(12,"div",7)(13,"div",8),le(14,"translate"),E(15,"button",9),le(16,"translate"),ee("click",function(){return r.togglePlay()}),re(17,uG,2,1,"mat-icon",10)(18,fG,1,1,"mat-spinner",11),M()()()()),i&2){let o;S("ngClass.lt-md","mobile"),x(3),ft(be(4,15,"selectVoice")),x(2),Hs("value",r.selected),x(),S("ngForOf",r.voices),x(2),Hs("ngModel",r.text),S("placeholder",be(9,17,"placeholder")),x(2),Q("text-overflow",r.hasOverflow),x(),Mv(" ",(o=r.text==null?null:r.text.length)!==null&&o!==void 0?o:0,"/",r.maxCharLength," "),x(2),S("matTooltip",r.text?"":be(14,19,"playDisabled")),x(2),S("matTooltip",be(16,21,r.isPlaying?"stop":"play"))("disabled",!r.text||r.isLoading),x(2),S("ngIf",!r.isLoading),x(),S("ngIf",r.isLoading)}},dependencies:[Jt,Gs,ki,So,ai,sh,na,ia,sc,Mh,No,Ki,Ic,Dc,Lo,Tc,Mc,Fo,_a,va,ni,pt],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]})}}return t})()});var KA=f(()=>{"use strict"});var YA=f(()=>{"use strict";KA()});var QA=f(()=>{"use strict";qA();YA()});var ZA,XA=f(()=>{"use strict";ZA={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop"},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voice:"Balss {{nth}}"}}});var ip,O_=f(()=>{"use strict";hb();QA();XA();b();ip=(()=>{class t extends zf{set voices(e){this._voices=typeof e=="string"?JSON.parse(e):e}set maxCharLength(e){this._maxCharLength=+e}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(ZA),this._maxCharLength=500}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},features:[ge],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(i,r){i&1&&q(0,"lib-text-to-speech",0),i&2&&S("voices",r.voices)("maxCharLength",r.maxCharLength)},dependencies:[WA],encapsulation:2})}}return t})()});var Vt,rp=f(()=>{"use strict";Vt=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(Vt||{})});function hG(t,n){}function k_(t,n){let e=t.length;for(;e--;)n(t[e])}var Ar,N_,Fc,pG,mG,gG,F_,JA,eR=f(()=>{"use strict";pe();b();b();Se();Rh();Bb();l_();Ob();Ui();dc();xr();Qe();hh();_c();Ar=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext},N_=(()=>{class t extends To{_elementRef=u(B);_focusTrapFactory=u(jb);_config;_interactivityChecker=u(Pb);_ngZone=u(L);_overlayRef=u(Oo);_focusMonitor=u(wo);_renderer=u(ut);_changeDetectorRef=u(at);_injector=u(he);_platform=u(Le);_document=u(H,{optional:!0});_portalOutlet;_focusTrapped=new T;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(Ar,{optional:!0})||new Ar,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),s=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||dn(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=cc(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=cc();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=cc()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be(pa,7),i&2){let o;Ee(o=De())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&we("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[ge],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&re(0,hG,0,0,"ng-template",0)},dependencies:[pa],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
33
- `],encapsulation:2})}return t})(),Fc=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new T;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!At(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},pG=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.block()}}),mG=new C("DialogData"),gG=new C("DefaultDialogConfig"),F_=(()=>{class t{_overlay=u(gt);_injector=u(he);_defaultOptions=u(gG,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(jh);_idGenerator=u(jt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T;_afterOpenedAtThisLevel=new T;_ariaHiddenElements=new Map;_scrollStrategy=u(pG);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=on(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nt(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new Ar;i=_(_({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Fc(s,i),l=this._attachContainer(s,a,i);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Pe(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,i),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){k_(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){k_(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),k_(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Ro({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:Ar,useValue:r},{provide:Fc,useValue:i},{provide:Oo,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=N_;let l=new Wi(a,r.viewContainerRef,he.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof an){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=_(_({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Er(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Wi(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:mG,useValue:e.data},{provide:Fc,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(_t,null,{optional:!0}))&&a.push({provide:_t,useValue:{value:e.direction,change:k()}}),he.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();JA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[F_],imports:[qi,Dr,pc,Dr]})}return t})()});function yG(t,n){}function rR(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?_r(t.substring(0,t.length-2)):t.endsWith("s")?_r(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function P_(t,n,e){return t._closeInteractionType=n,t.close(e)}function cR(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var Pc,L_,tR,nR,vG,bG,oR,iR,Lc,Ca,xa,sR,aR,Rr,jc,lR,Vc,Bc,Uc,jo,dR=f(()=>{"use strict";eR();Bh();c_();b();b();yc();Se();Qe();xr();Hi();fa();Pn();Pc=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},L_="mdc-dialog--open",tR="mdc-dialog--opening",nR="mdc-dialog--closing",vG=150,bG=75,oR=(()=>{class t extends N_{_animationMode=u(Xe,{optional:!0});_animationStateChanged=new z;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?rR(this._config.enterAnimationDuration)??vG:0;_exitAnimationDuration=this._animationsEnabled?rR(this._config.exitAnimationDuration)??bG:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(iR,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(tR,L_)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(L_),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(L_),this._animationsEnabled?(this._hostElement.style.setProperty(iR,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(nR)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(tR,nR)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275cmp=U({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(mr("id",r._config.id),we("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Q("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[ge],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(E(0,"div",0)(1,"div",1),re(2,yG,0,0,"ng-template",2),M()())},dependencies:[pa],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
34
- `],encapsulation:2})}return t})(),iR="--mat-dialog-transition-duration";Lc=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(Lc||{}),Ca=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new T;_beforeClosed=new T;_result;_closeFallbackTimeout;_state=Lc.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(me(r=>r.state==="opened"),Pe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(me(r=>r.state==="closed"),Pe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Et(this.backdropClick(),this.keydownEvents().pipe(me(r=>r.keyCode===27&&!this.disableClose&&!At(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),P_(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(me(e=>e.state==="closing"),Pe(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Lc.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Lc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};xa=new C("MatMdcDialogData"),sR=new C("mat-mdc-dialog-default-options"),aR=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.block()}}),Rr=(()=>{class t{_overlay=u(gt);_defaultOptions=u(sR,{optional:!0});_scrollStrategy=u(aR);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u(jt);_dialog=u(F_);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T;_afterOpenedAtThisLevel=new T;dialogConfigClass=Pc;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=on(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nt(void 0)));constructor(){this._dialogRefConstructor=Ca,this._dialogContainerType=oR,this._dialogDataToken=xa}open(e,i){let r;i=_(_({},this._defaultOptions||new Pc),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,ie(_({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ar,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jc=(()=>{class t{dialogRef=u(Ca,{optional:!0});_elementRef=u(B);_dialog=u(Rr);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=cR(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){P_(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&ee("click",function(s){return r._onButtonClick(s)}),i&2&&we("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ve]})}return t})(),lR=(()=>{class t{_dialogRef=u(Ca,{optional:!0});_elementRef=u(B);_dialog=u(Rr);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=cR(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t})}return t})(),Vc=(()=>{class t extends lR{id=u(jt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&mr("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ge]})}return t})(),Bc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[RS([r_])]})}return t})(),Uc=(()=>{class t extends lR{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&Q("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[ge]})}return t})();jo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[Rr],imports:[JA,qi,Dr,Ue,Ue]})}return t})()});var Or=f(()=>{"use strict";dR()});var Hc,op,V_,sp,wa,uR,$e,fR,Vo=f(()=>{"use strict";ql();b();b();Se();Hc=new C("ngx-tld-services Api service configuration."),op=class{#e;constructor(n){this.http=u(Pi),this.#e=u(Hc);let e=n(this.#e);if(!e)throw new Error(`${Object.getPrototypeOf(this).constructor.name} is created, but no service configuration defined in 'SERVICE_CONFIGURATION_TOKEN'. Config: ${JSON.stringify(this.#e)}`);this.configuration=e,this.sharedServiceConfiguration=this.#e.sharedConfiguration}},V_=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.TranscriptEditor="TranscriptEditor",t.TranscriptCleanup="TranscriptCleanup",t}(V_||{}),sp=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.MeetingBrief="MeetingBrief",t.Brief="Brief",t}(sp||{}),wa=class{static xAppIdHeader(n){return{"X-App-Id":n}}},uR=(()=>{class t extends op{#e=u(Pi);constructor(){super(e=>e.llmService)}rephrase(e){let i=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/rewrite`,e,{responseType:"text",headers:i})}summarize(e){let i=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/summarize/`,e,{responseType:"text",headers:i})}customPrompt(e){let i=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/custom-prompt/`,e,{responseType:"text",headers:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),$e=function(t){return t.TRANSLATION_FILES="FileTranslationFiles",t.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",t.ASR_FILE_SIZE_KB="AsrFileSizeKb",t.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",t.TRANSLATION_CHARACTERS="TranslationCharacters",t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",t.TTS_CHARACTERS="TtsCharacters",t.ANONYMISE_WORDS="AnonymiseWords",t.ANONYMISE_DOCUMENTS="AnonymiseDocuments",t[t.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",t[t.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",t[t.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",t[t.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",t[t.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",t[t.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",t[t.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",t[t.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",t[t.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",t[t.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",t[t.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",t}($e||{}),fR=(()=>{class t extends op{constructor(){super(e=>e.quotaService),this.legacyQuotaTypeMap={[$e.LEGACY_TRANSLATION_FILES]:$e.TRANSLATION_FILES,[$e.LEGACY_ASR_FILE_LENGTH_SECONDS]:$e.ASR_FILE_LENGTH_SECONDS,[$e.LEGACY_ASR_FILE_SIZE_KB]:$e.ASR_FILE_SIZE_KB,[$e.LEGACY_ONLINE_ASR_USED_SECONDS]:$e.ONLINE_ASR_USED_SECONDS,[$e.LEGACY_TRANSLATION_CHARACTERS]:$e.TRANSLATION_CHARACTERS,[$e.LEGACY_TRANSLATION_DOCUMENTS]:$e.TRANSLATION_DOCUMENTS,[$e.LEGACY_LLM_CHARACTER_COUNT]:$e.LLM_CHARACTER_COUNT,[$e.LEGACY_LLM_REQUESTS]:$e.LLM_REQUESTS,[$e.LEGACY_TTS_CHARACTERS]:$e.TTS_CHARACTERS,[$e.LEGACY_ANONYMISE_WORDS]:$e.ANONYMISE_WORDS,[$e.LEGACY_ANONYMISE_DOCUMENTS]:$e.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let e=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:e}).pipe(j(i=>(i.usage.forEach(r=>{this.legacyQuotaTypeMap[r.quotaType]&&(r.quotaType=this.legacyQuotaTypeMap[r.quotaType])}),i)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var pR,mR=f(()=>{"use strict";pR={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var gR=f(()=>{"use strict"});var B_,yR=f(()=>{"use strict";B_=function(t){return t[t.TIMEOUT=504]="TIMEOUT",t}(B_||{})});var U_=f(()=>{"use strict";mR();gR();yR()});var vR,bR=f(()=>{"use strict";b();Gi();Yl();vR=(()=>{class t{constructor(e,i){this.iconRegistry=e,this.sanitizer=i}registerIcons(e){for(let i in e)this.iconRegistry.addSvgIconLiteral(i.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(e[i]))}registerIconFromUrl(e,i){this.iconRegistry.addSvgIcon(e,this.sanitizer.bypassSecurityTrustResourceUrl(i))}addSvgIconSet(e,i){i?this.iconRegistry.addSvgIconSetInNamespace(i,this.sanitizer.bypassSecurityTrustResourceUrl(e)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(e))}static{this.\u0275fac=function(i){return new(i||t)(D(Sh),D(Kl))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var _R=f(()=>{"use strict";bR()});var _G,CG,CR,xR=f(()=>{"use strict";b();_G=typeof localStorage<"u"?localStorage:null,CG=typeof window<"u"?window:null,CR=(()=>{class t{get window(){return CG}get localStorage(){return _G}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var wR=f(()=>{"use strict";xR()});function Ta(t){return new W_(t)}function xG(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=t[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function wG(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ci(t[e],n[e]))return!1;return!0}function ci(t,n){let e=t?q_(t):void 0,i=n?q_(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!RR(t[r],n[r]))return!1;return!0}function q_(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function RR(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function OR(t){return t.length>0?t[t.length-1]:null}function Fr(t){return Mn(t)?t:yo(t)?Te(Promise.resolve(t)):k(t)}function ER(t,n,e){return EG[e.paths](t.root,n.root,e.matrixParams)&&kR[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function DG(t,n){return ci(t,n)}function NR(t,n,e){if(!Uo(t.segments,n.segments)||!cp(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!NR(t.children[i],n.children[i],e))return!1;return!0}function SG(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>RR(t[e],n[e]))}function FR(t,n,e){return LR(t,n,n.segments,e)}function LR(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Uo(r,e)||n.hasChildren()||!cp(r,e,i))}else if(t.segments.length===e.length){if(!Uo(t.segments,e)||!cp(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!FR(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Uo(t.segments,r)||!cp(t.segments,r,i)||!t.children[de]?!1:LR(t.children[de],n,o,i)}}function cp(t,n,e){return n.every((i,r)=>kR[e](t[r].parameters,i.parameters))}function IG(t,n){return Uo(t,n)&&t.every((e,i)=>ci(e.parameters,n[i].parameters))}function Uo(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function MG(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===de&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==de&&(e=e.concat(n(r,i)))}),e}function dp(t){return t.segments.map(n=>jR(n)).join("/")}function zc(t,n){if(!t.hasChildren())return dp(t);if(n){let e=t.children[de]?zc(t.children[de],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==de&&i.push(`${r}:${zc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=MG(t,(i,r)=>r===de?[zc(t.children[de],!1)]:[`${r}:${zc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[de]!=null?`${dp(t)}/${e[0]}`:`${dp(t)}/(${e.join("//")})`}}function PR(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ap(t){return PR(t).replace(/%3B/gi,";")}function AG(t){return encodeURI(t)}function K_(t){return PR(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function up(t){return decodeURIComponent(t)}function DR(t){return up(t.replace(/\+/g,"%20"))}function jR(t){return`${K_(t.path)}${RG(t.parameters)}`}function RG(t){return Object.entries(t).map(([n,e])=>`;${K_(n)}=${K_(e)}`).join("")}function OG(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${ap(e)}=${ap(r)}`).join("&"):`${ap(e)}=${ap(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}function H_(t){let n=t.match(kG);return n?n[0]:""}function FG(t){let n=t.match(NG);return n?n[0]:""}function PG(t){let n=t.match(LG);return n?n[0]:""}function VG(t){let n=t.match(jG);return n?n[0]:""}function VR(t){return t.segments.length>0?new Re([],{[de]:t}):t}function BR(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=BR(r);if(i===de&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Re(t.segments,n);return BG(e)}function BG(t){if(t.numberOfChildren===1&&t.children[de]){let n=t.children[de];return new Re(t.segments.concat(n.segments),n.children)}return t}function kr(t){return t instanceof Xi}function UG(t,n,e=null,i=null){let r=UR(t);return HR(r,n,e,i)}function UR(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Re(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=VR(i);return n??r}function HR(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return z_(r,r,r,e,i);let o=HG(n);if(o.toRoot())return z_(r,r,new Re([],{}),e,i);let s=zG(o,r,t),a=s.processChildren?Gc(s.segmentGroup,s.index,o.commands):$R(s.segmentGroup,s.index,o.commands);return z_(r,s.segmentGroup,a,e,i)}function hp(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qc(t){return typeof t=="object"&&t!=null&&t.outlets}function z_(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=zR(t,n,e);let a=VR(BR(s));return new Xi(a,o,r)}function zR(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=zR(o,n,e)}),new Re(t.segments,i)}function HG(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new pp(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new pp(e,n,i)}function zG(t,n,e){if(t.isAbsolute)return new Sa(n,!0,0);if(!e)return new Sa(n,!1,NaN);if(e.parent===null)return new Sa(e,!0,0);let i=hp(t.commands[0])?0:1,r=e.segments.length-1+i;return $G(e,r,t.numberOfDoubleDots)}function $G(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new w(4005,!1);r=i.segments.length}return new Sa(i,!1,r-o)}function GG(t){return qc(t[0])?t[0].outlets:{[de]:t}}function $R(t,n,e){if(t??=new Re([],{}),t.segments.length===0&&t.hasChildren())return Gc(t,n,e);let i=WG(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Re(t.segments.slice(0,i.pathIndex),{});return o.children[de]=new Re(t.segments.slice(i.pathIndex),t.children),Gc(o,0,r)}else return i.match&&r.length===0?new Re(t.segments,{}):i.match&&!t.hasChildren()?Q_(t,n,e):i.match?Gc(t,0,r):Q_(t,n,e)}function Gc(t,n,e){if(e.length===0)return new Re(t.segments,{});{let i=GG(e),r={};if(Object.keys(i).some(o=>o!==de)&&t.children[de]&&t.numberOfChildren===1&&t.children[de].segments.length===0){let o=Gc(t.children[de],n,e);return new Re(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=$R(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Re(t.segments,r)}}function WG(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let s=t.segments[r],a=e[i];if(qc(a))break;let l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!IR(l,c,s))return o;i+=2}else{if(!IR(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Q_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(qc(o)){let l=qG(o.outlets);return new Re(i,l)}if(r===0&&hp(e[0])){let l=t.segments[n];i.push(new Bo(l.path,SR(e[0]))),r++;continue}let s=qc(o)?o.outlets[de]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&hp(a)?(i.push(new Bo(s,SR(a))),r+=2):(i.push(new Bo(s,{})),r++)}return new Re(i,{})}function qG(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Q_(new Re([],{}),0,i))}),n}function SR(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function IR(t,n,e){return t==e.path&&ci(n,e.parameters)}function KG(t,n){return t.providers&&!t._injector&&(t._injector=Al(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Vn(t){return t.outlet||de}function YG(t,n){let e=t.filter(i=>Vn(i)===n);return e.push(...t.filter(i=>Vn(i)!==n)),e}function id(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function lC(t,n){if(t===n.value)return n;for(let e of n.children){let i=lC(t,e);if(i)return i}return null}function cC(t,n){if(t===n.value)return[n];for(let e of n.children){let i=cC(t,e);if(i.length)return i.unshift(n),i}return[]}function Da(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}function GR(t){let n=QG(t),e=new nt([new Bo("",{})]),i=new nt({}),r=new nt({}),o=new nt({}),s=new nt(""),a=new Nr(e,i,o,s,r,de,t,n.root);return a.snapshot=n.root,new yp(new hn(a,[]),n)}function QG(t){let n={},e={},i={},r="",o=new Ia([],n,i,r,e,de,t,null,{});return new bp("",new hn(o,[]))}function vp(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:_(_({},n.params),t.params),data:_(_({},n.data),t.data),resolve:_(_(_(_({},t.data),n.data),r?.data),t._resolvedData)}:i={params:_({},t.params),data:_({},t.data),resolve:_(_({},t.data),t._resolvedData??{})},r&&qR(r)&&(i.resolve[nd]=r.title),i}function vC(t,n){n.value._routerState=t,n.children.forEach(e=>vC(t,e))}function WR(t){let n=t.children.length>0?` { ${t.children.map(WR).join(", ")} } `:"";return`${t.value}${n}`}function $_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ci(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ci(n.params,e.params)||t.paramsSubject.next(e.params),wG(n.url,e.url)||t.urlSubject.next(e.url),ci(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function dC(t,n){let e=ci(t.params,n.params)&&IG(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||dC(t.parent,n.parent))}function qR(t){return typeof t.title=="string"||t.title===null}function _C(t){let n=t.children&&t.children.map(_C),e=n?ie(_({},t),{children:n}):_({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==de&&(e.component=YR),e}function XG(t,n,e){let i=Xc(t,n._root,e?e._root:void 0);return new yp(i,n)}function Xc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=JG(t,n,e);return new hn(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Xc(t,a)),s}}let i=e3(n.value),r=n.children.map(o=>Xc(t,o));return new hn(i,r)}}function JG(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Xc(t,i,r);return Xc(t,i)})}function e3(t){return new Nr(new nt(t.url),new nt(t.params),new nt(t.queryParams),new nt(t.fragment),new nt(t.data),t.outlet,t.component,t)}function _p(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=kr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=ZR(!1,pn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function ZR(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[QR]=!0,e.cancellationCode=n,e}function t3(t){return XR(t)&&kr(t.url)}function XR(t){return!!t&&t[QR]}function i3(t,n,e){let i=t._root,r=n?n._root:null;return $c(i,r,e,[i.value])}function r3(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Na(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!dE(t)?t:n.get(t):i}function $c(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Da(n);return t.children.forEach(s=>{o3(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Wc(a,e.getContext(s),r)),r}function o3(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=s3(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Cp(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?$c(t,n,a?a.children:null,i,r):$c(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ma(a.outlet.component,s))}else s&&Wc(n,a,r),r.canActivateChecks.push(new Cp(i)),o.component?$c(t,null,a?a.children:null,i,r):$c(t,null,e,i,r);return r}function s3(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Uo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Uo(t.url,n.url)||!ci(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dC(t,n)||!ci(t.queryParams,n.queryParams);case"paramsChange":default:return!dC(t,n)}}function Wc(t,n,e){let i=Da(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?Wc(s,n.children.getContext(o),e):Wc(s,null,e):Wc(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ma(n.outlet.component,r)):e.canDeactivateChecks.push(new Ma(null,r)):e.canDeactivateChecks.push(new Ma(null,r))}function od(t){return typeof t=="function"}function a3(t){return typeof t=="boolean"}function l3(t){return t&&od(t.canLoad)}function c3(t){return t&&od(t.canActivate)}function d3(t){return t&&od(t.canActivateChild)}function u3(t){return t&&od(t.canDeactivate)}function f3(t){return t&&od(t.canMatch)}function JR(t){return t instanceof hi||t?.name==="EmptyError"}function Ra(){return We(t=>Qr(t.map(n=>n.pipe(Pe(1),Nt(lp)))).pipe(j(n=>{for(let e of n)if(e!==!0){if(e===lp)return lp;if(e===!1||h3(e))return e}return!0}),me(n=>n!==lp),Pe(1)))}function h3(t){return kr(t)||t instanceof Jc}function p3(t,n){return He(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?k(ie(_({},e),{guardsResult:!0})):m3(s,i,r,t).pipe(He(a=>a&&a3(a)?g3(i,o,t,n):k(a)),j(a=>ie(_({},e),{guardsResult:a})))})}function m3(t,n,e,i){return Te(t).pipe(He(r=>C3(r.component,r.route,e,n,i)),mi(r=>r!==!0,!0))}function g3(t,n,e,i){return Te(n).pipe(yn(r=>Tn(v3(r.route.parent,i),y3(r.route,i),_3(t,r.path,e),b3(t,r.route,e))),mi(r=>r!==!0,!0))}function y3(t,n){return t!==null&&n&&n(new oC(t)),k(!0)}function v3(t,n){return t!==null&&n&&n(new iC(t)),k(!0)}function b3(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return k(!0);let r=i.map(o=>on(()=>{let s=id(n)??e,a=Na(o,s),l=c3(a)?a.canActivate(n,t):Kt(s,()=>a(n,t));return Fr(l).pipe(mi())}));return k(r).pipe(Ra())}function _3(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>r3(s)).filter(s=>s!==null).map(s=>on(()=>{let a=s.guards.map(l=>{let c=id(s.node)??e,d=Na(l,c),h=d3(d)?d.canActivateChild(i,t):Kt(c,()=>d(i,t));return Fr(h).pipe(mi())});return k(a).pipe(Ra())}));return k(o).pipe(Ra())}function C3(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return k(!0);let s=o.map(a=>{let l=id(n)??r,c=Na(a,l),d=u3(c)?c.canDeactivate(t,n,e,i):Kt(l,()=>c(t,n,e,i));return Fr(d).pipe(mi())});return k(s).pipe(Ra())}function x3(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return k(!0);let o=r.map(s=>{let a=Na(s,t),l=l3(a)?a.canLoad(n,e):Kt(t,()=>a(n,e));return Fr(l)});return k(o).pipe(Ra(),eO(i))}function eO(t){return Em(Ne(n=>{if(typeof n!="boolean")throw _p(t,n)}),j(n=>n===!0))}function w3(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return k(!0);let o=r.map(s=>{let a=Na(s,t),l=f3(a)?a.canMatch(n,e):Kt(t,()=>a(n,e));return Fr(l)});return k(o).pipe(Ra(),eO(i))}function Ea(t){return or(new ed(t))}function E3(t){return or(new w(4e3,!1))}function D3(t){return or(ZR(!1,pn.GuardRejected))}function S3(t,n,e,i,r){let o=tO(t,n,e);return o.matched?(i=KG(n,i),w3(i,n,e,r).pipe(j(s=>s===!0?o:_({},pC)))):k(o)}function tO(t,n,e){if(n.path==="**")return I3(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?_({},pC):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||xG)(e,t,n);if(!r)return _({},pC);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?_(_({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function I3(t){return{matched:!0,parameters:t.length>0?OR(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function MR(t,n,e,i){return e.length>0&&A3(t,e,i)?{segmentGroup:new Re(n,T3(i,new Re(e,t.children))),slicedSegments:[]}:e.length===0&&R3(t,e,i)?{segmentGroup:new Re(t.segments,M3(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Re(t.segments,t.children),slicedSegments:e}}function M3(t,n,e,i){let r={};for(let o of e)if(xp(t,n,o)&&!i[Vn(o)]){let s=new Re([],{});r[Vn(o)]=s}return _(_({},i),r)}function T3(t,n){let e={};e[de]=n;for(let i of t)if(i.path===""&&Vn(i)!==de){let r=new Re([],{});e[Vn(i)]=r}return e}function A3(t,n,e){return e.some(i=>xp(t,n,i)&&Vn(i)!==de)}function R3(t,n,e){return e.some(i=>xp(t,n,i))}function xp(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function O3(t,n,e){return n.length===0&&!t.children[e]}function k3(t,n,e,i,r,o,s="emptyOnly"){return new gC(t,n,e,i,r,s,o).recognize()}function F3(t){t.sort((n,e)=>n.value.outlet===de?-1:e.value.outlet===de?1:n.value.outlet.localeCompare(e.value.outlet))}function L3(t){let n=t.value.routeConfig;return n&&n.path===""}function nO(t){let n=[],e=new Set;for(let i of t){if(!L3(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=nO(i.children);n.push(new hn(i.value,r))}return n.filter(i=>!e.has(i))}function TR(t){return t.data||{}}function AR(t){return t.resolve||{}}function P3(t,n,e,i,r,o){return He(s=>k3(t,n,e,i,s.extractedUrl,r,o).pipe(j(({state:a,tree:l})=>ie(_({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function j3(t,n){return He(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return k(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of iO(l))s.add(c);let a=0;return Te(s).pipe(yn(l=>o.has(l)?V3(l,i,t,n):(l.data=vp(l,l.parent,t).resolve,k(void 0))),Ne(()=>a++),us(1),He(l=>a===s.size?k(e):wt))})}function iO(t){let n=t.children.map(e=>iO(e)).flat();return[t,...n]}function V3(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!qR(r)&&(o[nd]=r.title),B3(o,t,n,i).pipe(j(s=>(t._resolvedData=s,t.data=vp(t,t.parent,e).resolve,null)))}function B3(t,n,e,i){let r=q_(t);if(r.length===0)return k({});let o={};return Te(r).pipe(He(s=>U3(t[s],n,e,i).pipe(mi(),Ne(a=>{if(a instanceof Jc)throw _p(new Ho,a);o[s]=a}))),us(1),j(()=>o),zt(s=>JR(s)?wt:or(s)))}function U3(t,n,e,i){let r=id(n)??i,o=Na(t,r),s=o.resolve?o.resolve(n,e):Kt(r,()=>o(n,e));return Fr(s)}function G_(t){return We(n=>{let e=t(n);return e?Te(e).pipe(j(()=>n)):k(n)})}function z3(t,n,e,i){return Fr(t.loadChildren()).pipe(j(oO),He(r=>r instanceof Ev||Array.isArray(r)?k(r):Te(n.compileModuleAsync(r))),j(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(sd,[],{optional:!0,self:!0}).flat()),{routes:s.map(_C),injector:o}}))}function $3(t){return t&&typeof t=="object"&&"default"in t}function oO(t){return $3(t)?t.default:t}function sO(t,n,e){let i=t.get(wC),r=t.get(H);return t.get(L).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),W3(t))),{onViewTransitionCreated:l}=i;return l&&Kt(t,()=>l({transition:a,from:n,to:e})),s})}function W3(t){return new Promise(n=>{dn({read:()=>setTimeout(n)},{injector:t})})}function q3(t){return t!==fp}function DC(t,n){t.events.pipe(me(e=>e instanceof Bn||e instanceof Zi||e instanceof Yc||e instanceof Ji),j(e=>e instanceof Bn||e instanceof Ji?0:(e instanceof Zi?e.code===pn.Redirect||e.code===pn.SupersededByNewNavigation:!1)?2:1),me(e=>e!==2),Pe(1)).subscribe(()=>{n()})}function J3(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new w(4008,!1)}function e8(t){return!(t instanceof Zc)&&!(t instanceof Aa)}var de,nd,W_,EG,kR,Xi,Re,Bo,Oa,Ho,TG,kG,NG,LG,jG,Y_,pp,Sa,fp,yt,Dn,zo,Bn,pn,Kc,Zi,Ji,Yc,mp,Z_,X_,J_,eC,tC,nC,iC,rC,oC,sC,Qc,Zc,Aa,aC,ka,gp,hn,yp,Nr,Ia,bp,ZG,KR,uC,rd,bC,YR,Jc,QR,n3,fC,Cp,Ma,lp,ed,td,hC,pC,mC,N3,gC,rO,H3,Fa,sd,wp,CC,G3,xC,wC,EC,Ep,K3,yC,Y3,aO,Q3,Z3,X3,Lr,lO=f(()=>{"use strict";pe();b();b();Se();Qe();Yl();de="primary",nd=Symbol("RouteTitle"),W_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};EG={exact:NR,subset:FR},kR={exact:DG,subset:SG,ignored:()=>!0};Xi=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Re([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ta(this.queryParams),this._queryParamMap}toString(){return TG.serialize(this)}},Re=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dp(this)}},Bo=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ta(this.parameters),this._parameterMap}toString(){return jR(this)}};Oa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>new Ho,providedIn:"root"})}return t})(),Ho=class{parse(n){let e=new Y_(n);return new Xi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${zc(n.root,!0)}`,i=OG(n.queryParams),r=typeof n.fragment=="string"?`#${AG(n.fragment)}`:"";return`${e}${i}${r}`}},TG=new Ho;kG=/^[^\/()?;#]+/;NG=/^[^\/()?;=#]+/;LG=/^[^=?&#]+/;jG=/^[^&#]+/;Y_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[de]=new Re(n,e)),i}parseSegment(){let n=H_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(n),new Bo(up(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=FG(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=H_(this.remaining);r&&(i=r,this.capture(i))}n[up(e)]=up(i)}parseQueryParam(n){let e=PG(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=VG(this.remaining);s&&(i=s,this.capture(i))}let r=DR(e),o=DR(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=H_(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new w(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=de);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[de]:new Re([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new w(4011,!1)}};pp=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&hp(i[0]))throw new w(4003,!1);let r=i.find(qc);if(r&&r!==OR(i))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};Sa=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};fp="imperative",yt=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(yt||{}),Dn=class{id;url;constructor(n,e){this.id=n,this.url=e}},zo=class extends Dn{type=yt.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Bn=class extends Dn{urlAfterRedirects;type=yt.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(pn||{}),Kc=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Kc||{}),Zi=class extends Dn{reason;code;type=yt.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ji=class extends Dn{reason;code;type=yt.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Yc=class extends Dn{error;target;type=yt.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},mp=class extends Dn{urlAfterRedirects;state;type=yt.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Z_=class extends Dn{urlAfterRedirects;state;type=yt.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},X_=class extends Dn{urlAfterRedirects;state;shouldActivate;type=yt.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},J_=class extends Dn{urlAfterRedirects;state;type=yt.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eC=class extends Dn{urlAfterRedirects;state;type=yt.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tC=class{route;type=yt.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nC=class{route;type=yt.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},iC=class{snapshot;type=yt.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rC=class{snapshot;type=yt.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},oC=class{snapshot;type=yt.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sC=class{snapshot;type=yt.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qc=class{routerEvent;position;anchor;type=yt.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Zc=class{},Aa=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};aC=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return id(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ka(this.rootInjector)}},ka=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new aC(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(D(et))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gp=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=lC(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=lC(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=cC(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return cC(n,this._root).map(e=>e.value)}};hn=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};yp=class extends gp{snapshot;constructor(n,e){super(n),this.snapshot=e,vC(this,n)}toString(){return this.snapshot.toString()}};Nr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(j(c=>c[nd]))??k(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(j(n=>Ta(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(j(n=>Ta(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};Ia=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[nd]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ta(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ta(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},bp=class extends gp{url;constructor(n,e){super(e),this.url=n,vC(this,e)}toString(){return WR(this._root)}};ZG=new C(""),KR=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=de;activateEvents=new z;deactivateEvents=new z;attachEvents=new z;detachEvents=new z;routerOutletData=hD(void 0);parentContexts=u(ka);location=u(Mt);changeDetector=u(at);inputBinder=u(rd,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new uC(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ve]})}return t})(),uC=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Nr?this.route:n===ka?this.childContexts:n===ZG?this.outletData:this.parent.get(n,e)}},rd=new C(""),bC=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Qr([i.queryParams,i.params,i.data]).pipe(We(([o,s,a],l)=>(a=_(_(_({},o),s),a),l===0?k(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=hI(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),YR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&q(0,"router-outlet")},dependencies:[KR],encapsulation:2})}return t})();Jc=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},QR="ngNavigationCancelingError";n3=(t,n,e,i)=>j(r=>(new fC(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),fC=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),$_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=Da(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Da(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Da(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=Da(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new sC(o.value.snapshot))}),n.children.length&&this.forwardEvent(new rC(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if($_(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),$_(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Cp=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ma=class{component;route;constructor(n,e){this.component=n,this.route=e}};lp=Symbol("INITIAL_VALUE");ed=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},td=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};hC=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return k(i);if(r.numberOfChildren>1||!r.children[de])return E3(`${n.redirectTo}`);r=r.children[de]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:h,outlet:m,params:p,data:g,title:y}=r,I=Kt(o,()=>a({params:p,data:g,queryParams:l,fragment:c,routeConfig:d,url:h,outlet:m,title:y}));if(I instanceof Xi)throw new td(I);e=I}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new td(s);return s}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Xi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Re(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new w(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},pC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};mC=class{};N3=31,gC=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new hC(this.urlSerializer,this.urlTree)}noMatchError(n){return new w(4002,`'${n.segmentGroup}'`)}recognize(){let n=MR(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(j(({children:e,rootSnapshot:i})=>{let r=new hn(i,e),o=new bp("",r),s=UG(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new Ia([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),de,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,de,e).pipe(j(i=>({children:i,rootSnapshot:e})),zt(i=>{if(i instanceof td)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof ed?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(j(s=>s instanceof hn?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Te(o).pipe(yn(s=>{let a=i.children[s],l=YG(e,s);return this.processSegmentGroup(n,l,a,s,r)}),eg((s,a)=>(s.push(...a),s)),ar(null),Jm(),He(s=>{if(s===null)return Ea(i);let a=nO(s);return F3(a),k(a)}))}processSegment(n,e,i,r,o,s,a){return Te(e).pipe(yn(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(zt(c=>{if(c instanceof ed)return k(null);throw c}))),mi(l=>!!l),zt(l=>{if(JR(l))return O3(i,r,o)?k(new mC):Ea(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return Vn(i)!==s&&(s===de||!xp(r,o,i))?Ea(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):Ea(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:h,remainingSegments:m}=tO(e,r,o);if(!l)return Ea(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>N3&&(this.allowRedirects=!1));let p=new Ia(o,c,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,TR(r),Vn(r),r.component??r._loadedComponent??null,r,AR(r)),g=vp(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(g.params),p.data=Object.freeze(g.data);let y=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,h,p,n);return this.applyRedirects.lineralizeSegments(r,y).pipe(He(I=>this.processSegment(n,i,e,I.concat(m),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=S3(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(We(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(We(({routes:c})=>{let d=i._loadedInjector??n,{parameters:h,consumedSegments:m,remainingSegments:p}=l,g=new Ia(m,h,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,TR(i),Vn(i),i.component??i._loadedComponent??null,i,AR(i)),y=vp(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(y.params),g.data=Object.freeze(y.data);let{segmentGroup:I,slicedSegments:R}=MR(e,m,p,c);if(R.length===0&&I.hasChildren())return this.processChildren(d,c,I,g).pipe(j(ue=>new hn(g,ue)));if(c.length===0&&R.length===0)return k(new hn(g,[]));let ne=Vn(i)===o;return this.processSegment(d,c,I,R,ne?de:o,!0,g).pipe(j(ue=>new hn(g,ue instanceof hn?[ue]:[])))}))):Ea(e)))}getChildConfig(n,e,i){return e.children?k({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?k({routes:e._loadedRoutes,injector:e._loadedInjector}):x3(n,e,i,this.urlSerializer).pipe(He(r=>r?this.configLoader.loadChildren(n,e).pipe(Ne(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):D3(e))):k({routes:[],injector:n})}};rO=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===de);return i}getResolvedTitleForRoute(e){return e.data[nd]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(H3),providedIn:"root"})}return t})(),H3=(()=>{class t extends rO{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(D(KI))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fa=new C("",{providedIn:"root",factory:()=>({})}),sd=new C(""),wp=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(uI);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return k(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Fr(e.loadComponent()).pipe(j(oO),Ne(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),$t(()=>{this.componentLoaders.delete(e)})),r=new is(i,()=>new T).pipe(ns());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=z3(i,this.compiler,e,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(i)})),s=new is(o,()=>new T).pipe(ns());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();CC=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(G3),providedIn:"root"})}return t})(),G3=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xC=new C(""),wC=new C("");EC=new C(""),Ep=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new T;transitionAbortSubject=new T;configLoader=u(wp);environmentInjector=u(et);destroyRef=u(ho);urlSerializer=u(Oa);rootContexts=u(ka);location=u(ei);inputBindingEnabled=u(rd,{optional:!0})!==null;titleStrategy=u(rO);options=u(Fa,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(CC);createViewTransition=u(xC,{optional:!0});navigationErrorHandler=u(EC,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>k(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new tC(r)),i=r=>this.events.next(new nC(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ie(_({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}))}setupNavigations(e){return this.transitions=new nt(null),this.transitions.pipe(me(i=>i!==null),We(i=>{let r=!1,o=!1;return k(i).pipe(We(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",pn.SupersededByNewNavigation),wt;this.currentTransition=i,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?ie(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&l!=="reload"){let c="";return this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.rawUrl),c,Kc.IgnoredSameUrlNavigation)),s.resolve(!1),wt}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return k(s).pipe(We(c=>(this.events.next(new zo(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?wt:Promise.resolve(c))),P3(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ne(c=>{i.targetSnapshot=c.targetSnapshot,i.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=ie(_({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let d=new mp(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:d,source:h,restoredState:m,extras:p}=s,g=new zo(c,this.urlSerializer.serialize(d),h,m);this.events.next(g);let y=GR(this.rootComponentType).snapshot;return this.currentTransition=i=ie(_({},s),{targetSnapshot:y,urlAfterRedirects:d,extras:ie(_({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=d,k(i)}else{let c="";return this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.extractedUrl),c,Kc.IgnoredByUrlHandlingStrategy)),s.resolve(!1),wt}}),Ne(s=>{let a=new Z_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),j(s=>(this.currentTransition=i=ie(_({},s),{guards:i3(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i)),p3(this.environmentInjector,s=>this.events.next(s)),Ne(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw _p(this.urlSerializer,s.guardsResult);let a=new X_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),me(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",pn.GuardRejected),!1)),G_(s=>{if(s.guards.canActivateChecks.length!==0)return k(s).pipe(Ne(a=>{let l=new J_(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),We(a=>{let l=!1;return k(a).pipe(j3(this.paramsInheritanceStrategy,this.environmentInjector),Ne({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(a,"",pn.NoDataFromResolver)}}))}),Ne(a=>{let l=new eC(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),G_(s=>{let a=l=>{let c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ne(d=>{l.component=d}),j(()=>{})));for(let d of l.children)c.push(...a(d));return c};return Qr(a(s.targetSnapshot.root)).pipe(ar(null),Pe(1))}),G_(()=>this.afterPreactivation()),We(()=>{let{currentSnapshot:s,targetSnapshot:a}=i,l=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return l?Te(l).pipe(j(()=>i)):k(i)}),j(s=>{let a=XG(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=i=ie(_({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,i}),Ne(()=>{this.events.next(new Zc)}),n3(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Pe(1),Ne({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),ve(this.transitionAbortSubject.pipe(Ne(s=>{throw s}))),$t(()=>{!r&&!o&&this.cancelNavigationTransition(i,"",pn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),zt(s=>{if(this.destroyed)return i.resolve(!1),wt;if(o=!0,XR(s))this.events.next(new Zi(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),t3(s)?this.events.next(new Aa(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let a=new Yc(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let l=Kt(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(l instanceof Jc){let{message:c,cancellationCode:d}=_p(this.urlSerializer,l);this.events.next(new Zi(i.id,this.urlSerializer.serialize(i.extractedUrl),c,d)),this.events.next(new Aa(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return wt}))}))}cancelNavigationTransition(e,i,r){let o=new Zi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();K3=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(Y3),providedIn:"root"})}return t})(),yC=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Y3=(()=>{class t extends yC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aO=(()=>{class t{urlSerializer=u(Oa);options=u(Fa,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(ei);urlHandlingStrategy=u(CC);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Xi;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,s=r??o;return s instanceof Xi?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=GR(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(Q3),providedIn:"root"})}return t})(),Q3=(()=>{class t extends aO{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof zo?this.updateStateMemento():e instanceof Ji?this.commitTransition(i):e instanceof mp?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Zc?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Zi&&(e.code===pn.GuardRejected||e.code===pn.NoDataFromResolver)?this.restoreHistory(i):e instanceof Yc?this.restoreHistory(i,!0):e instanceof Bn&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,l=_(_({},s),this.generateNgRouterState(r,a));this.location.replaceState(e,"",l)}else{let a=_(_({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Z3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},X3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Lr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Sv);stateManager=u(aO);options=u(Fa,{optional:!0})||{};pendingTasks=u(hr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(Ep);urlSerializer=u(Oa);location=u(ei);urlHandlingStrategy=u(CC);_events=new T;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(K3);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(sd,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(rd,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new _e;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Zi&&i.code!==pn.Redirect&&i.code!==pn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Bn)this.navigated=!0;else if(i instanceof Aa){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=_({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||q3(r.source)},s);this.scheduleNavigation(a,fp,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}e8(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fp,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=_({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(_C),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=_(_({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let m=r?r.snapshot:this.routerState.snapshot.root;h=UR(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return HR(h,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=kr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,fp,null,i)}navigate(e,i={skipLocationChange:!1}){return J3(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=_({},Z3):i===!1?r=_({},X3):r=i,kr(e))return ER(this.currentUrlTree,e,r);let o=this.parseUrl(e);return ER(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,m)=>{a=h,l=m});let d=this.pendingTasks.add();return DC(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function n8(t){return t.routerState.root}function ld(t,n){return{\u0275kind:t,\u0275providers:n}}function i8(){let t=u(he);return n=>{let e=t.get(qt);if(n!==e.components[0])return;let i=t.get(Lr),r=t.get(uO);t.get(IC)===1&&i.initialNavigation(),t.get(pO,null,ce.Optional)?.setUpPreloading(),t.get(dO,null,ce.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function fO(){let t=[{provide:IC,useValue:0},Iv(()=>{let n=u(he);return n.get(Uv,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Lr),o=n.get(uO);DC(r,()=>{i(!0)}),n.get(Ep).afterPreactivation=()=>(i(!0),o.closed?k(void 0):o),r.initialNavigation()}))})];return ld(2,t)}function hO(){let t=[Iv(()=>{u(Lr).setUpLocationChangeListener()}),{provide:IC,useValue:2}];return ld(3,t)}function mO(t){return ld(0,[{provide:pO,useExisting:cO},{provide:ad,useExisting:t}])}function gO(){return ld(8,[bC,{provide:rd,useExisting:bC}])}function yO(t){Jn("NgRouterViewTransitions");let n=[{provide:xC,useValue:sO},{provide:wC,useValue:_({skipNextTransition:!!t?.skipInitialTransition},t)}];return ld(9,n)}function r8(){return{provide:dO,useFactory:()=>{let t=u(DI),n=u(L),e=u(Fa),i=u(Ep),r=u(Oa);return e.scrollOffset&&t.setOffset(e.scrollOffset),new t8(r,i,t,n,e)}}}function o8(){return{provide:Fn,useClass:$v}}function s8(){return{provide:Fn,useClass:Df}}function a8(t){return[t.initialNavigation==="disabled"?hO().\u0275providers:[],t.initialNavigation==="enabledBlocking"?fO().\u0275providers:[]]}function l8(){return[{provide:SC,useFactory:i8},{provide:Rl,multi:!0,useExisting:SC}]}var Dp,ad,cO,dO,t8,uO,IC,pO,vO,MC,SC,bO=f(()=>{"use strict";pe();pe();b();b();lO();Se();Qe();Dp=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new T;constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Bn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(kr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:BD(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:kr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||t)(A(Lr),A(Nr),af("tabindex"),A(ut),A(B),A(Fn))};static \u0275dir=P({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&ee("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&we("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Me],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Me],replaceUrl:[2,"replaceUrl","replaceUrl",Me],routerLink:"routerLink"},features:[Ve]})}return t})(),ad=class{},cO=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(me(e=>e instanceof Bn),yn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Al(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Te(r).pipe(sr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=k(null);let o=r.pipe(He(s=>s===null?k(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Te([o,s]).pipe(sr())}else return o})}static \u0275fac=function(i){return new(i||t)(D(Lr),D(et),D(ad),D(wp))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dO=new C(""),t8=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof zo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Bn?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ji&&e.code===Kc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Qc&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Qc(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){gf()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();uO=new C("",{factory:()=>new T}),IC=new C("",{providedIn:"root",factory:()=>1});pO=new C("");vO=[ei,{provide:Oa,useClass:Ho},Lr,ka,{provide:Nr,useFactory:n8,deps:[Lr]},wp,[]],MC=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[vO,[],{provide:sd,multi:!0,useValue:e},[],i?.errorHandler?{provide:EC,useValue:i.errorHandler}:[],{provide:Fa,useValue:i||{}},i?.useHash?o8():s8(),r8(),i?.preloadingStrategy?mO(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?a8(i):[],i?.bindToComponentInputs?gO().\u0275providers:[],i?.enableViewTransitions?yO().\u0275providers:[],l8()]}}static forChild(e){return{ngModule:t,providers:[{provide:sd,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})();SC=new C("")});var TC=f(()=>{"use strict";bO();});var d8,_O,AC=f(()=>{"use strict";b();b();fn();Sr();mt();d8=["clearButton"],_O=(()=>{class t{constructor(){this.tldClick=new z,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["tld-close-button"]],viewQuery:function(i,r){if(i&1&&Be(d8,5),i&2){let o;Ee(o=De())&&(r.clearButton=o.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},standalone:!1,decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=ke();E(0,"button",1,0),le(2,"translate"),le(3,"translate"),ee("click",function(){return Ce(o),xe(r.clicked())}),E(4,"span",2),se(5," close "),M()()}i&2&&(S("matTooltip",be(2,3,r.tooltip))("disabled",r.disabled),we("aria-label",be(3,5,"ARIA_LABELS."+r.ariaCode)))},dependencies:[So,Ki,pt],encapsulation:2})}}return t})()});var CO,xO=f(()=>{"use strict";pe();AC();fn();mt();Sr();b();CO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[Jt,wr,ni,No]})}}return t})()});function h8(t,n){if(t&1&&(q(0,"p",10),le(1,"translate")),t&2){let e=G();S("innerHtml",$s(1,1,e.message.title,e.message.localizationParams),Ti)}}function p8(t,n){if(t&1&&(q(0,"span",12),le(1,"translate")),t&2){let e=G(2);S("innerHtml",$s(1,1,e.message.support,e.message.localizationParams),Ti)}}function m8(t,n){if(t&1&&(E(0,"p",11),q(1,"span",12),le(2,"translate"),re(3,p8,2,4,"span",13),M()),t&2){let e=G();x(),S("innerHtml",$s(2,2,e.message.body,e.message.localizationParams),Ti),x(2),S("ngIf",e.message.support)}}function g8(t,n){if(t&1&&(E(0,"mat-icon"),se(1),M()),t&2){let e=G(2);x(),ft(e.message.callbackButtonIcon)}}function y8(t,n){if(t&1){let e=ke();E(0,"button",14),ee("click",function(){Ce(e);let r=G();return xe(r.message==null?null:r.message.callbackButtonClick())}),re(1,g8,2,1,"mat-icon",15),se(2),le(3,"translate"),M()}if(t&2){let e=G();x(),S("ngIf",e.message.callbackButtonIcon),x(),Je(" ",be(3,2,e.message.callbackButtonText)," ")}}function v8(t,n){if(t&1){let e=ke();E(0,"tld-close-button",16),ee("tldClick",function(){Ce(e);let r=G();return xe(r.closeClick())}),M()}if(t&2){let e=G();Q("no-top-margin",!e.message.title||!e.message.body)}}function b8(t,n){if(t&1){let e=ke();E(0,"button",21),ee("click",function(){Ce(e);let r=G(2);return xe(r.buttonClick())}),se(1),le(2,"translate"),M()}if(t&2){let e=G(2);x(),Je("",be(2,1,e.message.buttonText)," ")}}function _8(t,n){if(t&1){let e=ke();E(0,"a",22),ee("click",function(){Ce(e);let r=G(2);return xe(r.linkClick())}),se(1),le(2,"translate"),M()}if(t&2){let e=G(2);we("href",e.message.linkHref,ov),x(),ft(be(2,2,e.message.linkText))}}function C8(t,n){if(t&1){let e=ke();E(0,"a",23),ee("click",function(){Ce(e);let r=G(2);return xe(r.linkClick())}),se(1),le(2,"translate"),M()}if(t&2){let e=G(2);S("routerLink",oI(4,f8,e.message.routerLink)),x(),ft(be(2,2,e.message.linkText))}}function x8(t,n){if(t&1&&(E(0,"div",17),re(1,b8,3,3,"button",18)(2,_8,3,4,"a",19)(3,C8,3,6,"a",20),M()),t&2){let e=G();x(),S("ngIf",e.message.buttonText),x(),S("ngIf",e.message.linkHref&&e.message.linkText),x(),S("ngIf",e.message.routerLink&&e.message.linkText)}}var f8,wO,Sp=f(()=>{"use strict";b();b();pe();tp();ba();AC();fn();TC();Gi();mt();f8=t=>[t];wO=(()=>{class t{constructor(){this.buttonClicked=new z,this.closeClicked=new z,this.linkClicked=new z,this.iconNames={BASIC:"info",INFO:"info",ERROR:"error",SUCCESS:"check_circle",WARNING:"info"}}ngOnInit(){this.className=this.message.type.toLocaleLowerCase()}buttonClick(){this.buttonClicked.next(null)}closeClick(){this.closeClicked.next(null)}linkClick(){this.linkClicked.next(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},standalone:!1,decls:12,vars:13,consts:[["fxLayout","row","fxLayoutAlign","start start","aria-live","polite","fxLayout","row",1,"notification-message-container","tld-default-border",3,"ngClass.lt-md"],[1,"material-icons-outlined","message-icon"],["fxFlex","",1,"items-container"],["fxLayout","row"],["fxFlex","",1,"text-container"],["class","message-title",3,"innerHtml",4,"ngIf"],["class","message-body",4,"ngIf"],["color","accent","mat-stroked-button","","class","callback-button",3,"click",4,"ngIf"],["class","close-button",3,"no-top-margin","tldClick",4,"ngIf"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center",4,"ngIf"],[1,"message-title",3,"innerHtml"],[1,"message-body"],[3,"innerHtml"],[3,"innerHtml",4,"ngIf"],["color","accent","mat-stroked-button","",1,"callback-button",3,"click"],[4,"ngIf"],[1,"close-button",3,"tldClick"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center"],["class","message-action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","message-action-link",3,"click",4,"ngIf"],["class","message-action-link",3,"routerLink","click",4,"ngIf"],["color","accent","mat-flat-button","",1,"message-action-button",3,"click"],[1,"message-action-link",3,"click"],[1,"message-action-link",3,"click","routerLink"]],template:function(i,r){i&1&&(E(0,"div")(1,"div",0)(2,"span",1),se(3),M(),E(4,"div",2)(5,"div",3)(6,"div",4),re(7,h8,2,4,"p",5)(8,m8,4,5,"p",6),M(),re(9,y8,4,4,"button",7)(10,v8,1,2,"tld-close-button",8),M(),re(11,x8,4,3,"div",9),M()()()),i&2&&(vf("notification-message ",r.className,""),x(),Q("inline",r.inline),S("ngClass.lt-md","mobile"),we("id",r.message.id),x(2),Je(" ",r.iconNames[r.message.type]," "),x(4),S("ngIf",r.message.title),x(),S("ngIf",r.message.body),x(),S("ngIf",r.message.callbackButtonText),x(),S("ngIf",!r.message.hideClose&&!r.message.callbackButtonText),x(),S("ngIf",r.message.buttonText||r.message.linkHref||r.message.routerLink))},dependencies:[ki,GA,zA,UA,BA,va,_O,si,Dp,ai,pt],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title+.message-body) .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]})}}return t})()});var EO,DO=f(()=>{"use strict";pe();np();fn();TC();mt();xO();Sp();Gi();b();EO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[Jt,_a,CO,wr,ni,MC,Ih]})}}return t})()});var $o,RC=f(()=>{"use strict";$o=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}($o||{})});var SO=f(()=>{"use strict";RC()});var IO=f(()=>{"use strict"});var MO=f(()=>{"use strict";IO()});var OC=f(()=>{"use strict";DO();Sp();SO();MO()});var kC=f(()=>{"use strict"});var TO=f(()=>{"use strict";OC();kC()});var AO=f(()=>{"use strict"});var RO=f(()=>{"use strict";AO()});var OO=f(()=>{"use strict";kC()});var kO=f(()=>{"use strict";TO();RO();OO()});var NO=f(()=>{"use strict"});var FO=f(()=>{"use strict"});var LO=f(()=>{"use strict"});var PO=f(()=>{"use strict"});var jO=f(()=>{"use strict"});var VO=f(()=>{"use strict"});var BO=f(()=>{"use strict"});var UO=f(()=>{"use strict"});var Go,HO=f(()=>{"use strict";U_();Go=class{static isMobileRes(){return window.innerWidth<pR.SMALL}}});var NC=f(()=>{"use strict"});var zO=f(()=>{"use strict";Pr();NC()});var $O=f(()=>{"use strict";NC()});var FC=f(()=>{"use strict";zO();$O()});var GO=f(()=>{"use strict";FC()});var WO=f(()=>{"use strict"});var qO=f(()=>{"use strict"});var Pr=f(()=>{"use strict";NO();FO();LO();PO();jO();VO();BO();UO();HO();GO();WO();qO()});var KO=f(()=>{"use strict"});var YO=f(()=>{"use strict"});var QO=f(()=>{"use strict"});var ZO=f(()=>{"use strict"});var XO=f(()=>{"use strict"});var JO=f(()=>{"use strict"});var ek=f(()=>{"use strict"});var tk=f(()=>{"use strict"});var nk=f(()=>{"use strict";KO();YO();QO();ZO();XO();JO();ek();tk()});var ik=f(()=>{"use strict"});var rk=f(()=>{"use strict"});var ok=f(()=>{"use strict";rk()});var sk=f(()=>{"use strict";Pr();nk();ik();ok()});var ak=f(()=>{"use strict";sk()});var lk=f(()=>{"use strict";ak()});var LC=f(()=>{"use strict"});var ck=f(()=>{"use strict";LC()});var dk=f(()=>{"use strict";ck();LC()});var PC=f(()=>{"use strict"});var uk=f(()=>{"use strict";PC()});var fk=f(()=>{"use strict";uk();PC()});var jC=f(()=>{"use strict"});var hk=f(()=>{"use strict";jC()});var pk=f(()=>{"use strict";hk();jC()});var mk,VC=f(()=>{"use strict";b();mt();mk=(()=>{class t{constructor(e){this.translate=e,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.localeSameRegions={nb:["no"],et:["ee"],sl:["si"],sv:["se"],uk:["ua"],en:["gb","us"]},this.translations={en:{mt:"Maltese"},lv:{mt:"Maltie\u0161u"},lt:{mt:"Maltie\u010Di\u0173"},et:{mt:"Malta"}},this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(e,i=!1){if(!e)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let r=`${e}:${i}`;if(this.translationCache.has(r))return this.translationCache.get(r);let o=this.getLanguageFromLanguageCode(e),a=this.isLanguageCodeSameAsRegion(e)?o:e,l=this.getTranslation(a,i);return this.translationCache.set(r,l),l}getTranslation(e,i){let o=this.translate.instant(this.languagesLocalizationKey)[e.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,e);return i&&(o=o.split("(")[0].trim()),o}getLanguageTranslationFromLanguageCode(e,i){let r=new Intl.DisplayNames([e],{type:"language"}),o=new Intl.DisplayNames([e],{type:"region"}),s,a=this.getLanguageFromLanguageCode(i),l=this.getRegionFromLanguageCode(i);try{let c=r.of(a),d=o.of(l);s=`${c} (${d})`}catch{try{s=r.of(i)}catch{return s=this.translations[e]?.[a]??i,s}}return this.capitalizeFirstLetter(s)}isLanguageCodeSameAsRegion(e){let[i,r,o]=e.split("-");return(i===r?.toLowerCase()||this.localeSameRegions[i]?.includes(r?.toLowerCase()))&&!o}getRegionFromLanguageCode(e){let[i,r,o]=e.split("-");return(o?`${r}-${o}`:`${r}`).toUpperCase()}getLanguageFromLanguageCode(e){return e.split("-")[0].toLowerCase()}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(A(Vi,16))}}static{this.\u0275pipe=Bs({name:"languageTranslate",type:t,pure:!1})}}return t})()});var gk=f(()=>{"use strict";VC()});var yk=f(()=>{"use strict";gk();VC()});var vk=f(()=>{"use strict"});var bk=f(()=>{"use strict"});var _k=f(()=>{"use strict"});var Ck=f(()=>{"use strict"});var xk=f(()=>{"use strict";vk();bk();_k();Ck()});var BC=f(()=>{"use strict";xk()});var wk=f(()=>{"use strict";BC()});var Ek=f(()=>{"use strict";wk();BC()});var UC=f(()=>{"use strict"});var Dk=f(()=>{"use strict";UC()});var Sk=f(()=>{"use strict";Dk();UC()});var Ik=f(()=>{"use strict";Pr()});var Mk=f(()=>{"use strict";Ik()});var HC=f(()=>{"use strict";Pr()});var Tk=f(()=>{"use strict";HC()});var Ak=f(()=>{"use strict";Tk();HC()});var Rk=f(()=>{"use strict"});var Ok=f(()=>{"use strict";Rk()});var kk=f(()=>{"use strict";$C()});var Nk=f(()=>{"use strict";Ok();kk()});var Fk=f(()=>{"use strict";Pr()});var Lk=f(()=>{"use strict";Fk()});var Pk=f(()=>{"use strict";Pr()});var jk=f(()=>{"use strict";Pk()});var Vk=f(()=>{"use strict";dk();fk();pk();yk();Ek();Sk();Mk();Ak();Nk();FC();Lk();jk()});var zC,Bk=f(()=>{"use strict";Vk();b();mt();zC=(()=>{class t{constructor(e){this.translateService=e}getLanguageCodeTranslation(e,i=!1){return new mk(this.translateService).transform(e,i)}removeRegionFromLanguageCode(e){return e.split("-")[0]}static{this.\u0275fac=function(i){return new(i||t)(D(Vi))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var $C=f(()=>{"use strict";Bk()});var GC=f(()=>{"use strict"});var Uk=f(()=>{"use strict";GC()});var Hk=f(()=>{"use strict"});var zk=f(()=>{"use strict";Hk();GC()});var $k=f(()=>{"use strict";Uk();zk()});var WC=f(()=>{"use strict";_R();wR();kO();lk();$C();$k()});var jr,qC=f(()=>{"use strict";WC();jr=class{static addPlausible(n){let i=new CR().window;if(!i||!n)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",n),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(n,e){let i=window;i?.plausible&&i.plausible(n,{props:e})}}});var KC=f(()=>{"use strict";qC()});var Gk=f(()=>{"use strict";KC()});var Wk=f(()=>{"use strict"});var qk=f(()=>{"use strict";Wk()});var Kk=f(()=>{"use strict";qC();KC();Gk();qk()});var Ip,Yk=f(()=>{"use strict";Ip=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Ip||{})});var La,Qk=f(()=>{"use strict";b();La=new C("LLM_CONFIGURATION_TOKEN")});var Zk=f(()=>{"use strict"});var Pa=f(()=>{"use strict";Qk();Zk();rp()});var Xk,Jk=f(()=>{"use strict";b();Vo();Se();RC();Pa();b();Vo();Xk=(()=>{class t{constructor(e){this.quotaService=e,this.llmConfiguration=u(La),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(e){return this.llmConfiguration.useLocalQuota?k(this.setQuotaLocalStorageUsage(e)):this.quotaService.getQuotaUsage().pipe(j(i=>{let r=i.usage.find(o=>o.quotaType===$e.LLM_REQUESTS||o.quotaType===$e.LEGACY_LLM_REQUESTS);return r?r.quotaRemaining:this.setQuotaLocalStorageUsage(e)}),zt(()=>k(this.setQuotaLocalStorageUsage(e))))}getExceededLimitMessage(e){return{type:$o.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:e}}}getReachedQuotaMessage(){return{type:$o.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:$o.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(e){return{type:$o.ERROR,body:`LLM.ERRORS.${e}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(e){let i=localStorage.getItem(this.LLMQuotaLocalStorageKey),r=new Date,o={remainingQuota:this.trialRequestCount,lastUsedAt:r};if(i){o=JSON.parse(i);let a=new Date(o.lastUsedAt);(a.getDate()!==r.getDate()||a.getMonth()!==r.getMonth()||a.getFullYear()!==r.getFullYear())&&(o.remainingQuota=this.trialRequestCount),e&&(o.remainingQuota-=1)}return o.lastUsedAt=r,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(o)),o.remainingQuota}static{this.\u0275fac=function(i){return new(i||t)(D(fR))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var YC,eN,tN,QC=f(()=>{"use strict";pe();b();b();YC=class{_document;_textarea;constructor(n,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},eN=(()=>{class t{_document=u(H);constructor(){}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new YC(e,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});var O8,nN,ZC=f(()=>{"use strict";b();vr();Se();b();QC();fn();Gi();vr();Sr();ba();mt();O8=["textarea"],nN=(()=>{class t{constructor(e){this.clipboard=e,this.textEditEvent=new z,this.dislikeEvent=new z,this.copyEvent=new z,this.destroy=new T}ngOnInit(){this.textareaControl=new oc(this.text)}ngAfterViewInit(){ds(this.textarea.nativeElement,"keyup").pipe(Ne(e=>{e.ctrlKey&&e.key==="c"&&this.copyEvent.emit()}),pi(300),ve(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(e){e&&e.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),e&&e.text&&(this.textareaControl=new oc(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}static{this.\u0275fac=function(i){return new(i||t)(A(eN))}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(i,r){if(i&1&&Be(O8,5),i&2){let o;Ee(o=De())&&(r.textarea=o.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},standalone:!1,features:[Ve],decls:18,vars:13,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],[1,"material-icons-outlined","llm-eu-data-tooltip",3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons-outlined","copy"],["mat-icon-button","",3,"click","disabled","matTooltip"],[1,"material-icons-outlined","dislike"]],template:function(i,r){if(i&1){let o=ke();E(0,"div",1)(1,"div",2)(2,"textarea",3,0),se(4," "),M(),E(5,"div",4)(6,"mat-icon",5),le(7,"translate"),se(8," gpp_maybe "),M(),E(9,"div")(10,"button",6),le(11,"translate"),ee("click",function(){return Ce(o),xe(r.dislike())}),E(12,"mat-icon",7),se(13," thumb_down "),M()(),E(14,"button",8),le(15,"translate"),ee("click",function(){return Ce(o),xe(r.copy())}),E(16,"mat-icon",9),se(17," content_copy "),M()()()()()()}i&2&&(S("ngClass.gt-lg","desktop"),x(2),S("formControl",r.textareaControl),x(4),S("matTooltip",be(7,7,"LLM.EU_DATA_TOOLTIP")),x(4),S("matTooltip",be(11,9,"TOOLTIPS.DISLIKE"))("disabled",r.actionButtonsDisabled||!r.textareaControl.value),x(4),S("disabled",r.actionButtonsDisabled||!r.textareaControl.value)("matTooltip",be(15,11,"TOOLTIPS.COPY")))},dependencies:[So,ai,na,ia,wb,Ki,va,pt],styles:[".llm-wrapper[_ngcontent-%COMP%]{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper[_ngcontent-%COMP%]{position:relative}.llm-textarea[_ngcontent-%COMP%]{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop[_ngcontent-%COMP%] .llm-textarea[_ngcontent-%COMP%]{min-height:490px}.llm-textarea-actions[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip[_ngcontent-%COMP%]{margin-left:16px}"]})}}return t})()});function F8(t,n){if(t&1){let e=ke();E(0,"lib-tld-notification-message",15),ee("closeClicked",function(){let r=Ce(e).$implicit,o=G();return xe(o.closeMessage(r))}),M()}if(t&2){let e=n.$implicit;S("message",e)}}function L8(t,n){if(t&1&&(E(0,"mat-option",18),se(1),le(2,"uppercase"),le(3,"translate"),M()),t&2){let e=n.$implicit;S("value",e),x(),Je(" ",be(3,4,"LLM.USE_CASE."+be(2,2,e))," ")}}function P8(t,n){if(t&1){let e=ke();E(0,"mat-form-field",16)(1,"mat-label"),se(2),le(3,"translate"),M(),E(4,"mat-select",17),zs("ngModelChange",function(r){Ce(e);let o=G();return kl(o.selectedUseCase,r)||(o.selectedUseCase=r),xe(r)}),QS(5,L8,4,6,"mat-option",18,YS),M()()}if(t&2){let e=G();x(2),ft(be(3,3,"LLM.USE_CASES_LABEL")),x(2),S("disabled",e.isLoading),Hs("ngModel",e.selectedUseCase),x(),ZS(e.useCases)}}function j8(t,n){if(t&1&&(q(0,"div",19),le(1,"translate")),t&2){let e=G();S("innerHTML",$s(1,1,e.localizationKey+"LIMIT",sI(4,N8,e.quotaLeft,e.subscriptionUrl)),Ti)}}function V8(t,n){if(t&1){let e=ke();E(0,"button",20),ee("click",function(){Ce(e);let r=G();return xe(r.cancel())}),se(1),le(2,"translate"),M()}if(t&2){let e=G();x(),Je(" ",be(2,1,e.localizationKey+"CANCEL")," ")}}function B8(t,n){if(t&1&&(E(0,"button",21),se(1),le(2,"translate"),M()),t&2){let e=G();S("mat-dialog-close",null),x(),Je(" ",be(2,2,e.localizationKey+"CLOSE")," ")}}function U8(t,n){if(t&1&&(E(0,"span"),se(1),le(2,"translate"),M()),t&2){let e=G();x(),Je(" ",be(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function H8(t,n){if(t&1&&(se(0),le(1,"translate")),t&2){let e=G();Je(" ",be(1,1,e.localizationKey+"ACTION")," ")}}function z8(t,n){t&1&&q(0,"mat-spinner",22),t&2&&S("diameter",20)}var N8,iN,XC=f(()=>{"use strict";Or();Vo();Se();U_();Kk();rp();Yk();b();Vo();Jk();pe();fn();Or();vr();Yh();Ac();Sp();Th();ZC();mt();N8=(t,n)=>({limit:t,subscriptionUrl:n});iN=(()=>{class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(e,i,r){this.llmService=e,this.llmHelperService=i,this.data=r,this.selectedWritingStyle=Ip.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=Vt,this.writingStyles=Object.values(Ip),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===Vt.REPHRASE?(this.useCases=this.data.rephraseUseCases??Object.values(V_),this.selectedUseCase=this.useCases[0]):this.llmActionType===Vt.SUMMARY&&(this.useCases=this.data.summaryUseCases??Object.values(sp),this.selectedUseCase=sp.General),this.showUseCase=this.llmActionType===Vt.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===Vt.SUMMARY&&this.data.showUseCaseSummary}closeMessage(e){let i=this.messages?.findIndex(r=>JSON.stringify(r)===JSON.stringify(e));(i||i===0)&&this.messages.splice(i,1)}checkRephrasedTextSaves(e){e.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=e.value);let i=this.savedRephrasings.find(o=>o.style===this.selectedWritingStyle),r=this.savedRephrasings.find(o=>o.style===this.previousWritingStyle);r?r.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=i?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===Vt.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(e){this.manuallyEditedText=e,this.initialText=e,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(e=>{this.initialText=e,this.llmActionType=this.data.action,this.localizationKey=`LLM.${this.llmActionType}_MODAL.`,this.subscriptionUrl=this.llmHelperService.llmConfiguration.subscriptionUrl,this.maxCharLength=this.llmHelperService.llmConfiguration.maxCharLength,this.refreshQuota()})}checkTextLimit(){let e=this.maxCharLength,i=[this.initialText,this.manuallyEditedText,this.editedText],r=this.editedText&&!this.manuallyEditedText?this.editedText:i.reduce((o,s)=>o.length>s.length?o:s);if(r.length>e){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(r.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(e){this.llmHelperService.getRemainingQuota(e).subscribe(i=>{this.quotaLeft=i,this.setQuotaMessage()})}setQuotaMessage(){this.quotaLeft<=this.llmHelperService.trialRequestCount&&(this.remainingQuotaMessageVisible=!0),this.quotaLeft<1&&(this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.messages.push(this.reachedQuotaMessage))}getRequest(){let e=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return e.length>this.maxCharLength&&(e=e.substring(0,this.maxCharLength)),(this.llmActionType===Vt.REPHRASE?this.llmService.rephrase({text:e,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:e,language:this.data.language,useCase:this.selectedUseCase})).pipe($t(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:e=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=e,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:e=>{if(e.status===B_.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}static{this.\u0275fac=function(i){return new(i||t)(A(uR),A(Xk),A(xa))}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-textarea-with-actions"]],standalone:!1,decls:20,vars:22,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],[3,"message","closeClicked",4,"ngFor","ngForOf"],["color","accent","class","w-full llm-writing-style-select","appearance","outline",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled","actionButtonsDisabled"],["mat-dialog-actions","",1,"llm-actions-wrapper"],["class","quota-left-message",3,"innerHTML",4,"ngIf"],[1,"llm-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],[4,"ngIf","ngIfElse"],["color","primary-accent-darker",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"],[1,"quota-left-message",3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","primary-accent-darker",3,"diameter"]],template:function(i,r){if(i&1){let o=ke();E(0,"h1",2),se(1),le(2,"translate"),M(),E(3,"div",3),q(4,"p",4),le(5,"translate"),re(6,F8,1,1,"lib-tld-notification-message",5)(7,P8,7,5,"mat-form-field",6),E(8,"lib-llm-textarea",7),ee("textEditEvent",function(a){return Ce(o),xe(r.textEditEvent(a))})("copyEvent",function(){return Ce(o),xe(r.copyPlausibleEvent())})("dislikeEvent",function(){return Ce(o),xe(r.dislikePlausibleEvent())}),M()(),E(9,"div",8),re(10,j8,2,7,"div",9),E(11,"div",10),re(12,V8,3,3,"button",11)(13,B8,3,4,"ng-template",null,0,vo),E(15,"button",12),ee("click",function(){return Ce(o),xe(r.getEditedText())}),re(16,U8,3,3,"span",13)(17,H8,2,3,"ng-template",null,1,vo)(19,z8,1,1,"mat-spinner",14),M()()()}if(i&2){let o=Xt(14),s=Xt(18);x(),ft(be(2,18,r.localizationKey+"TITLE")),x(3),S("innerHTML",be(5,20,r.localizationKey+"DESCRIPTION"),Ti),x(2),S("ngForOf",r.messages),x(),S("ngIf",r.showUseCase),x(),Q("rephrase",r.llmActionType===r.llmActions.REPHRASE),S("text",r.editedText!==""?r.editedText:r.initialText)("disabled",r.isLoading||!r.quotaLeft)("actionButtonsDisabled",!r.isEdited),x(2),S("ngIf",r.remainingQuotaMessageVisible),x(),Q("w-full",!r.remainingQuotaMessageVisible),x(),S("ngIf",r.isLoading)("ngIfElse",o),x(3),S("disabled",r.isDisabled),x(),S("ngIf",r.llmActionType===r.llmActions.SUMMARY)("ngIfElse",s),x(3),S("ngIf",r.isLoading)}},dependencies:[Gs,ki,si,jc,Vc,Uc,Bc,ia,sc,Dc,Lo,Mc,Fo,wO,Mh,nN,Gv,pt],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"]})}}return t})()});var $8,G8,rN=f(()=>{"use strict";$8=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
26
+ `;o.appendChild(t.createTextNode(s))}t.head.appendChild(o),i.forEach(s=>kO[s]=o)}catch(o){console.error(o)}}}function ZG(n){let t=new EventTarget;return t.matches=n==="all"||n==="",t.media=n,t.addListener=()=>{},t.removeListener=()=>{},t.addEventListener=()=>{},t.dispatchEvent=()=>!1,t.onchange=null,t}function XG(n,t){return t&&!!window.matchMedia("all").addListener?window.matchMedia(n):ZG(n)}function t3(n){return n?.mediaQuery.startsWith(ol)??!1}function NO(n,t,e,i){if(i!==void 0){let r=n.get(t)??new Map;r.set(e,i),n.set(t,r)}}function n3(n,t){return BO(n)[t]??""}function i3(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=BO(n);i[t]=e??"",r3(n,i)}function r3(n,t){let e="";for(let i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}function BO(n){let t={},e=n.getAttribute("style");if(e){let i=e.split(/;+/g);for(let r=0;r<i.length;r++){let o=i[r].trim();if(o.length>0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();t[a]=o.substr(s+1).trim()}}}return t}function AC(n,t="1",e="1"){let i=[t,e,n],r=n.indexOf("calc");if(r>0){i[2]=LO(n.substring(r).trim());let o=n.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=LO(n.trim());else{let o=n.split(" ");i=o.length===3?o:[t,e,n]}return i}function LO(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function hm(n,t){if(t===void 0)return n;let e=i=>{let r=+i.slice(0,-PO.length);return n.endsWith(PO)&&!isNaN(r)?`${r*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}var Rs,jG,IO,sl,VG,SC,IC,ni,Bd,UG,WG,AO,TO,MO,RO,OO,FO,pr,qG,KG,VO,YG,kO,ol,JG,e3,DC,uo,Fi,mr,fo,PO,ho=f(()=>{"use strict";Le();_();_();we();wC();it();Rs=class n{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new n(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};jG={provide:Ta,useFactory:PG,deps:[U,dn],multi:!0},IO="flex-layout-",sl=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({providers:[jG]});let n=t;return n})(),VG=(()=>{let t=class t{constructor(){this.stylesheet=new Map}addStyleToElement(i,r,o){let s=this.stylesheet.get(i);s?s.set(r,o):this.stylesheet.set(i,new Map([[r,o]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(i,r){let o=this.stylesheet.get(i),s="";if(o){let a=o.get(r);(typeof a=="number"||typeof a=="string")&&(s=a+"")}return s}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),SC=new x("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null}),IC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},ni=new x("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>IC}),Bd=new x("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});UG=/(\.|-|_)/g;WG=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],AO="(orientation: portrait) and (max-width: 599.98px)",TO="(orientation: landscape) and (max-width: 959.98px)",MO="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",RO="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",OO="(orientation: portrait) and (min-width: 840px)",FO="(orientation: landscape) and (min-width: 1280px)",pr={HANDSET:`${AO}, ${TO}`,TABLET:`${MO} , ${RO}`,WEB:`${OO}, ${FO} `,HANDSET_PORTRAIT:`${AO}`,TABLET_PORTRAIT:`${MO} `,WEB_PORTRAIT:`${OO}`,HANDSET_LANDSCAPE:`${TO}`,TABLET_LANDSCAPE:`${RO}`,WEB_LANDSCAPE:`${FO}`},qG=[{alias:"handset",priority:2e3,mediaQuery:pr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pr.WEB_PORTRAIT,overlapping:!0}],KG=new x("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let n=u(SC),t=u(ni),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r])),i=(t.disableDefaultBps?[]:WG).concat(t.addOrientationBps?qG:[]);return GG(i,e)}}),VO=(()=>{let t=class t{constructor(i){this.findByMap=new Map,this.items=[...i].sort(BG)}findByAlias(i){return i?this.findWithPredicate(i,r=>r.alias===i):null}findByQuery(i){return this.findWithPredicate(i,r=>r.mediaQuery===i)}get overlappings(){return this.items.filter(i=>i.overlapping)}get aliases(){return this.items.map(i=>i.alias)}get suffixes(){return this.items.map(i=>i?.suffix??"")}findWithPredicate(i,r){let o=this.findByMap.get(i);return o||(o=this.items.find(r)??null,this.findByMap.set(i,o)),o??null}};t.\u0275fac=function(r){return new(r||t)(I(KG))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),YG=(()=>{let t=class t{constructor(i,r,o,s){this._zone=i,this._platformId=r,this._document=o,this._nonce=s,this.source=new at(new Rs(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let i=[];return this.registry.forEach((r,o)=>{r.matches&&i.push(o)}),i}isActive(i){return this.registry.get(i)?.matches??this.registerQuery(i).some(o=>o.matches)}observe(i,r=!1){if(i&&i.length){let o=this._observable$.pipe(fe(a=>r?i.indexOf(a.mediaQuery)>-1:!0)),s=new Z(a=>{let l=this.registerQuery(i);if(l.length){let c=l.pop();l.forEach(d=>{a.next(d)}),this.source.next(c)}a.complete()});return rn(s,o)}return this._observable$}registerQuery(i){let r=Array.isArray(i)?i:[i],o=[];return QG(r,this._document,this._nonce),r.forEach(s=>{let a=c=>{this._zone.run(()=>this.source.next(new Rs(c.matches,s)))},l=this.registry.get(s);l||(l=this.buildMQL(s),l.addListener(a),this.pendingRemoveListenerFns.push(()=>l.removeListener(a)),this.registry.set(s,l)),l.matches&&o.push(new Rs(!0,s))}),o}ngOnDestroy(){let i;for(;i=this.pendingRemoveListenerFns.pop();)i()}buildMQL(i){return XG(i,Ji(this._platformId))}};t.\u0275fac=function(r){return new(r||t)(I(P),I(dn),I(U),I(Wr,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),kO={};ol="print",JG={alias:ol,mediaQuery:ol,priority:1e3},e3=(()=>{let t=class t{constructor(i,r,o){this.breakpoints=i,this.layoutConfig=r,this._document=o,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new DC,this.deactivations=[]}withPrintQuery(i){return[...i,ol]}isPrintEvent(i){return i.mediaQuery.startsWith(ol)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(i=>this.breakpoints.findByAlias(i)).filter(i=>i!==null)}getEventBreakpoints({mediaQuery:i}){let r=this.breakpoints.findByQuery(i);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Vd)}updateEvent(i){let r=this.breakpoints.findByQuery(i.mediaQuery);return this.isPrintEvent(i)&&(r=this.getEventBreakpoints(i)[0],i.mediaQuery=r?.mediaQuery??""),jO(i,r)}registerBeforeAfterPrintHooks(i){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(i,this.getEventBreakpoints(new Rs(!0,ol))),i.updateStyles())},o=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(i),i.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",o),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(o)}interceptEvents(i){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(i,this.getEventBreakpoints(r)),i.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(i),i.updateStyles());return}this.collectActivations(i,r)}}blockPropagation(){return i=>!(this.isPrinting||this.isPrintEvent(i))}startPrinting(i,r){this.isPrinting=!0,this.formerActivations=i.activatedBreakpoints,i.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(i){i.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(i,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let o=this.breakpoints.findByQuery(r.mediaQuery);if(o){let s=this.formerActivations&&this.formerActivations.includes(o),a=!this.formerActivations&&i.activatedBreakpoints.includes(o);(s||a)&&(this.deactivations.push(o),this.deactivations.sort(Vd))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(i=>this._document.defaultView.removeEventListener("beforeprint",i)),this.afterPrintEventListeners.forEach(i=>this._document.defaultView.removeEventListener("afterprint",i)))}};t.\u0275fac=function(r){return new(r||t)(I(VO),I(ni),I(U))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),DC=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(JG),t.sort(Vd),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)===void 0&&(this.printBreakpoints=t3(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}};uo=(()=>{let t=class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(i){this._activatedBreakpoints=[...i]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(i){this._useFallbacks=i}constructor(i,r,o){this.matchMedia=i,this.breakpoints=r,this.hook=o,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new M,this.observeActivations()}onMediaChange(i){let r=this.findByQuery(i.mediaQuery);if(r){i=jO(i,r);let o=this.activatedBreakpoints.indexOf(r);i.matches&&o===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(Vd),this.updateStyles()):!i.matches&&o!==-1&&(this._activatedBreakpoints.splice(o,1),this._activatedBreakpoints.sort(Vd),this.updateStyles())}}init(i,r,o,s,a=[]){NO(this.updateMap,i,r,o),NO(this.clearMap,i,r,s),this.buildElementKeyMap(i,r),this.watchExtraTriggers(i,r,a)}getValue(i,r,o){let s=this.elementMap.get(i);if(s){let a=o!==void 0?s.get(o):this.getActivatedValues(s,r);if(a)return a.get(r)}}hasValue(i,r){let o=this.elementMap.get(i);if(o){let s=this.getActivatedValues(o,r);if(s)return s.get(r)!==void 0||!1}return!1}setValue(i,r,o,s){let a=this.elementMap.get(i);if(!a)a=new Map().set(s,new Map().set(r,o)),this.elementMap.set(i,a);else{let c=(a.get(s)??new Map).set(r,o);a.set(s,c),this.elementMap.set(i,a)}let l=this.getValue(i,r);l!==void 0&&this.updateElement(i,r,l)}trackValue(i,r){return this.subject.asObservable().pipe(fe(o=>o.element===i&&o.key===r))}updateStyles(){this.elementMap.forEach((i,r)=>{let o=new Set(this.elementKeyMap.get(r)),s=this.getActivatedValues(i);s&&s.forEach((a,l)=>{this.updateElement(r,l,a),o.delete(l)}),o.forEach(a=>{if(s=this.getActivatedValues(i,a),s){let l=s.get(a);this.updateElement(r,a,l)}else this.clearElement(r,a)})})}clearElement(i,r){let o=this.clearMap.get(i);if(o){let s=o.get(r);s&&(s(),this.subject.next({element:i,key:r,value:""}))}}updateElement(i,r,o){let s=this.updateMap.get(i);if(s){let a=s.get(r);a&&(a(o),this.subject.next({element:i,key:r,value:o}))}}releaseElement(i){let r=this.watcherMap.get(i);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(i));let o=this.elementMap.get(i);o&&(o.forEach((s,a)=>o.delete(a)),this.elementMap.delete(i))}triggerUpdate(i,r){let o=this.elementMap.get(i);if(o){let s=this.getActivatedValues(o,r);s&&(r?this.updateElement(i,r,s.get(r)):s.forEach((a,l)=>this.updateElement(i,l,a)))}}buildElementKeyMap(i,r){let o=this.elementKeyMap.get(i);o||(o=new Set,this.elementKeyMap.set(i,o)),o.add(r)}watchExtraTriggers(i,r,o){if(o&&o.length){let s=this.watcherMap.get(i);if(s||(s=new Map,this.watcherMap.set(i,s)),!s.get(r)){let l=rn(...o).subscribe(()=>{let c=this.getValue(i,r);this.updateElement(i,r,c)});s.set(r,l)}}}findByQuery(i){return this.breakpoints.findByQuery(i)}getActivatedValues(i,r){for(let s=0;s<this.activatedBreakpoints.length;s++){let a=this.activatedBreakpoints[s],l=i.get(a.alias);if(l&&(r===void 0||l.has(r)&&l.get(r)!=null))return l}if(!this._useFallbacks)return;let o=i.get("");return r===void 0||o&&o.has(r)?o:void 0}observeActivations(){let i=this.breakpoints.items.map(r=>r.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(i)).pipe(ke(this.hook.interceptEvents(this)),fe(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}};t.\u0275fac=function(r){return new(r||t)(I(YG),I(VO),I(e3))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();Fi=class{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}},mr=(()=>{let t=class t{constructor(i,r,o,s){this._serverStylesheet=i,this._serverModuleLoaded=r,this._platformId=o,this.layoutConfig=s}applyStyleToElement(i,r,o=null){let s={};typeof r=="string"&&(s[r]=o,r=s),s=this.layoutConfig.disableVendorPrefixes?r:EC(r),this._applyMultiValueStyleToElement(s,i)}applyStyleToElements(i,r=[]){let o=this.layoutConfig.disableVendorPrefixes?i:EC(i);r.forEach(s=>{this._applyMultiValueStyleToElement(o,s)})}getFlowDirection(i){let r="flex-direction",o=this.lookupStyle(i,r),s=this.lookupInlineStyle(i,r)||Uc(this._platformId)&&this._serverModuleLoaded?o:"";return[o||"row",s]}hasWrap(i){return this.lookupStyle(i,"flex-wrap")==="wrap"}lookupAttributeValue(i,r){return i.getAttribute(r)??""}lookupInlineStyle(i,r){return Ji(this._platformId)?i.style.getPropertyValue(r):n3(i,r)}lookupStyle(i,r,o=!1){let s="";return i&&((s=this.lookupInlineStyle(i,r))||(Ji(this._platformId)?o||(s=getComputedStyle(i).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(i,r)))),s?s.trim():""}_applyMultiValueStyleToElement(i,r){Object.keys(i).sort().forEach(o=>{let s=i[o],a=Array.isArray(s)?s:[s];a.sort();for(let l of a)l=l?l+"":"",Ji(this._platformId)||!this._serverModuleLoaded?Ji(this._platformId)?r.style.setProperty(o,l):i3(r,o,l):this._serverStylesheet.addStyleToElement(r,o,l)})}};t.\u0275fac=function(r){return new(r||t)(I(VG),I(Bd),I(dn),I(ni))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();fo=(()=>{let t=class t{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,i,this.marshal.activatedAlias)}constructor(i,r,o,s){this.elementRef=i,this.styleBuilder=r,this.styler=o,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new M,this.styleCache=new Map}ngOnChanges(i){Object.keys(i).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let o=r.split(".").slice(1).join("."),s=i[r].currentValue;this.setValue(s,o)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(i=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),i)}addStyles(i,r){let o=this.styleBuilder,s=o.shouldCache,a=this.styleCache.get(i);(!a||!s)&&(a=o.buildStyles(i,r),s&&this.styleCache.set(i,a)),this.mru=b({},a),this.applyStyleToElement(a),o.sideEffect(i,a,r)}clearStyles(){Object.keys(this.mru).forEach(i=>{this.mru[i]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(i,r=!1){if(i){let[o,s]=this.styler.getFlowDirection(i);if(!s&&r){let a=fm(o),l=[i];this.styler.applyStyleToElements(a,l)}return o.trim()}return"row"}hasWrap(i){return this.styler.hasWrap(i)}applyStyleToElement(i,r,o=this.nativeElement){this.styler.applyStyleToElement(o,i,r)}setValue(i,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,i,r)}updateWithValue(i){this.currentValue!==i&&(this.addStyles(i),this.currentValue=i)}};t.\u0275fac=function(r){return new(r||t)(T(H),T(Fi),T(mr),T(uo))},t.\u0275dir=j({type:t,features:[je]});let n=t;return n})();PO="x"});var HO,o3,al,TC,ll=f(()=>{"use strict";Le();Le();_();ho();ho();HO=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],o3=(()=>{let t=class t extends fo{set klass(i){this.ngClassInstance.klass=i,this.setValue(i,"")}constructor(i,r,o,s,a){super(i,null,r,o),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.inputs=HO,this.ngClassInstance||(this.ngClassInstance=new Zi(i,s)),this.init(),this.setValue("","")}updateWithValue(i){this.ngClassInstance.ngClass=i,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(uo),T(rt),T(Zi,10))},t.\u0275dir=j({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg",klass:[0,"class","klass"]},features:[he]});let n=t;return n})(),al=(()=>{let t=class t extends o3{constructor(){super(...arguments),this.inputs=HO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[he]});let n=t;return n})(),TC=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[sl]});let n=t;return n})()});function A3(n,t){let[e,i]=n.split(" "),r=i??e,o="0px",s=r,a="0px";return t==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function T3(n,t){let[e,i]=n.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return t==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function ZO(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return n==="rtl"?"margin-left":"margin-right";case"row-reverse":return n==="rtl"?"margin-right":"margin-left";default:return n==="rtl"?"margin-left":"margin-right"}}function M3(n,t){let e=ZO(t.directionality,t.layout),i=b({},KO);return i[e]=n,i}var s3,$O,a3,GO,l3,c3,d3,u3,f3,WO,h3,qO,p3,m3,g3,y3,v3,_3,b3,x3,KO,C3,YO,E3,QO,w3,D3,S3,I3,pm,R3,XO,O3,JO,zO,RC,mm=f(()=>{"use strict";lr();lr();_();ho();ho();wC();it();we();s3=(()=>{let t=class t extends Fi{constructor(i){super(),this.layoutConfig=i}buildStyles(i,r){let[o,s,...a]=i.split(" "),l=a.join(" "),c=r.direction.indexOf("column")>-1?"column":"row",d=jd(c)?"max-width":"max-height",h=jd(c)?"min-width":"min-height",m=String(l).indexOf("calc")>-1,p=m||l==="auto",g=String(l).indexOf("%")>-1&&!m,v=String(l).indexOf("px")>-1||String(l).indexOf("rem")>-1||String(l).indexOf("em")>-1||String(l).indexOf("vw")>-1||String(l).indexOf("vh")>-1,C=m||v;o=o=="0"?0:o,s=s=="0"?0:s;let D=!o&&!s,L={},pe={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(l||""){case"":let le=this.layoutConfig.useColumnBasisZero!==!1;l=c==="row"?"0%":le?"0.000000001px":"auto";break;case"initial":case"nogrow":o=0,l="auto";break;case"grow":l="100%";break;case"noshrink":s=0,l="auto";break;case"auto":break;case"none":o=0,s=0,l="auto";break;default:!C&&!g&&!isNaN(l)&&(l=l+"%"),l==="0%"&&(C=!0),l==="0px"&&(l="0%"),m?L=ti(pe,{"flex-grow":o,"flex-shrink":s,"flex-basis":C?l:"100%"}):L=ti(pe,{flex:`${o} ${s} ${C?l:"100%"}`});break}return L.flex||L["flex-grow"]||(m?L=ti(pe,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):L=ti(pe,{flex:`${o} ${s} ${l}`})),l!=="0%"&&l!=="0px"&&l!=="0.000000001px"&&l!=="auto"&&(L[h]=D||C&&o?l:null,L[d]=D||!p&&s?l:null),!L[h]&&!L[d]?m?L=ti(pe,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):L=ti(pe,{flex:`${o} ${s} ${l}`}):r.hasWrap&&(L[m?"flex-basis":"flex"]=L[d]?m?L[d]:`${o} ${s} ${L[d]}`:m?L[h]:`${o} ${s} ${L[h]}`),ti(L,{"box-sizing":"border-box"})}};t.\u0275fac=function(r){return new(r||t)(I(ni))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),$O=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],a3=(()=>{let t=class t extends fo{get shrink(){return this.flexShrink}set shrink(i){this.flexShrink=i||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(i){this.flexGrow=i||"1",this.triggerReflow()}constructor(i,r,o,s,a){super(i,s,r,a),this.layoutConfig=o,this.marshal=a,this.DIRECTIVE_KEY="flex",this.inputs=$O,this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Ee(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Ee(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(i){let o=i.value.split(" ");this.direction=o[0],this.wrap=o[1]!==void 0&&o[1]==="wrap",this.triggerUpdate()}updateWithValue(i){let r=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,r)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let o=this.direction,s=o.startsWith("row"),a=this.wrap;s&&a?this.styleCache=d3:s&&!a?this.styleCache=l3:!s&&a?this.styleCache=u3:!s&&!a&&(this.styleCache=c3);let l=String(i).replace(";",""),c=AC(l,this.flexGrow,this.flexShrink);this.addStyles(c.join(" "),{direction:o,hasWrap:a})}triggerReflow(){let i=this.activatedValue;if(i!==void 0){let r=AC(i+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(ni),T(s3),T(uo))},t.\u0275dir=j({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg",shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[he]});let n=t;return n})(),GO=(()=>{let t=class t extends a3{constructor(){super(...arguments),this.inputs=$O}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[he]});let n=t;return n})(),l3=new Map,c3=new Map,d3=new Map,u3=new Map,f3=(()=>{let t=class t extends Fi{buildStyles(i,r){let o={},[s,a]=i.split(" ");switch(s){case"center":o["justify-content"]="center";break;case"space-around":o["justify-content"]="space-around";break;case"space-between":o["justify-content"]="space-between";break;case"space-evenly":o["justify-content"]="space-evenly";break;case"end":case"flex-end":o["justify-content"]="flex-end";break;case"start":case"flex-start":default:o["justify-content"]="flex-start";break}switch(a){case"start":case"flex-start":o["align-items"]=o["align-content"]="flex-start";break;case"center":o["align-items"]=o["align-content"]="center";break;case"end":case"flex-end":o["align-items"]=o["align-content"]="flex-end";break;case"space-between":o["align-content"]="space-between",o["align-items"]="stretch";break;case"space-around":o["align-content"]="space-around",o["align-items"]="stretch";break;case"baseline":o["align-content"]="stretch",o["align-items"]="baseline";break;case"stretch":default:o["align-items"]=o["align-content"]="stretch";break}return ti(o,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":a==="stretch"?jd(r.layout)?null:"100%":null,"max-height":a==="stretch"&&jd(r.layout)?"100%":null})}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),WO=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],h3=(()=>{let t=class t extends fo{constructor(i,r,o,s){super(i,o,r,s),this.DIRECTIVE_KEY="layout-align",this.inputs=WO,this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ee(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(i){let r=this.layout||"row",o=this.inline;r==="row"&&o?this.styleCache=v3:r==="row"&&!o?this.styleCache=p3:r==="row-reverse"&&o?this.styleCache=b3:r==="row-reverse"&&!o?this.styleCache=g3:r==="column"&&o?this.styleCache=_3:r==="column"&&!o?this.styleCache=m3:r==="column-reverse"&&o?this.styleCache=x3:r==="column-reverse"&&!o&&(this.styleCache=y3),this.addStyles(i,{layout:r,inline:o})}onLayoutChange(i){let r=i.value.split(" ");this.layout=r[0],this.inline=i.value.includes("inline"),Pd.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(f3),T(uo))},t.\u0275dir=j({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[he]});let n=t;return n})(),qO=(()=>{let t=class t extends h3{constructor(){super(...arguments),this.inputs=WO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[he]});let n=t;return n})(),p3=new Map,m3=new Map,g3=new Map,y3=new Map,v3=new Map,_3=new Map,b3=new Map,x3=new Map,KO={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},C3=(()=>{let t=class t extends Fi{constructor(i,r){super(),this._styler=i,this._config=r}buildStyles(i,r){return i.endsWith(pm)?(i=i.slice(0,i.indexOf(pm)),i=hm(i,this._config.multiplier),T3(i,r.directionality)):{}}sideEffect(i,r,o){let s=o.items;if(i.endsWith(pm)){i=i.slice(0,i.indexOf(pm)),i=hm(i,this._config.multiplier);let a=A3(i,o.directionality);this._styler.applyStyleToElements(a,o.items)}else{i=hm(i,this._config.multiplier),i=this.addFallbackUnit(i);let a=s.pop(),l=M3(i,o);this._styler.applyStyleToElements(l,s),this._styler.applyStyleToElements(KO,[a])}}addFallbackUnit(i){return isNaN(+i)?i:`${i}${this._config.defaultUnit}`}};t.\u0275fac=function(r){return new(r||t)(I(mr),I(ni))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),YO=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],E3=(()=>{let t=class t extends fo{get childrenNodes(){let i=this.nativeElement.children,r=[];for(let o=i.length;o--;)r[o]=i[o];return r}constructor(i,r,o,s,a,l){super(i,a,s,l),this.zone=r,this.directionality=o,this.styleUtils=s,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.inputs=YO,this.observerSubject=new M;let c=[this.directionality.change,this.observerSubject.asObservable()];this.init(c),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ee(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(i){let o=i.value.split(" ")[0];Pd.find(s=>s===o)||(o="row"),this.layout&&this.layout!==o&&this.clearStyles(),this.layout=o,this.triggerUpdate()}updateWithValue(i){let r=this.childrenNodes.filter(o=>o.nodeType===1&&this.willDisplay(o)).sort((o,s)=>{let a=+this.styler.lookupStyle(o,"order"),l=+this.styler.lookupStyle(s,"order");return isNaN(a)||isNaN(l)||a===l?0:a>l?1:-1});if(r.length>0){let o=this.directionality.value,s=this.layout;s==="row"&&o==="rtl"?this.styleCache=w3:s==="row"&&o!=="rtl"?this.styleCache=S3:s==="column"&&o==="rtl"?this.styleCache=D3:s==="column"&&o!=="rtl"&&(this.styleCache=I3),this.addStyles(i,{directionality:o,items:r,layout:s})}}clearStyles(){let i=Object.keys(this.mru).length>0,r=i?"padding":ZO(this.directionality.value,this.layout);i&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(i){let r=this.marshal.getValue(i,"show-hide");return r===!0||r===void 0&&this.styleUtils.lookupStyle(i,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(i=>{let r=o=>o.addedNodes&&o.addedNodes.length>0||o.removedNodes&&o.removedNodes.length>0;i.some(r)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}};t.\u0275fac=function(r){return new(r||t)(T(H),T(P),T(Mt),T(mr),T(C3),T(uo))},t.\u0275dir=j({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[he]});let n=t;return n})(),QO=(()=>{let t=class t extends E3{constructor(){super(...arguments),this.inputs=YO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[he]});let n=t;return n})(),w3=new Map,D3=new Map,S3=new Map,I3=new Map,pm=" grid";R3=(()=>{let t=class t extends Fi{buildStyles(i,{display:r}){let o=fm(i);return X(b({},o),{display:r==="none"?r:o.display})}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),XO=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],O3=(()=>{let t=class t extends fo{constructor(i,r,o,s,a){super(i,o,r,s),this._config=a,this.DIRECTIVE_KEY="layout",this.inputs=XO,this.init()}updateWithValue(i){let o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=zO.get(o)??new Map,zO.set(o,this.styleCache),this.currentValue!==i&&(this.addStyles(i,{display:o}),this.currentValue=i)}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(R3),T(uo),T(ni))},t.\u0275dir=j({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[he]});let n=t;return n})(),JO=(()=>{let t=class t extends O3{constructor(){super(...arguments),this.inputs=XO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[he]});let n=t;return n})(),zO=new Map,RC=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[sl,Ti]});let n=t;return n})()});var OC,FC=f(()=>{"use strict";_();ho();OC=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[sl]});let n=t;return n})()});function k3(n,t=[]){let e=[{provide:ni,useValue:b(b({},IC),n)},{provide:SC,useValue:t,multi:!0}];return n.serverLoaded&&e.push({provide:Bd,useValue:!0}),e}var cl,pme,gm=f(()=>{"use strict";ho();ho();ll();ll();mm();mm();FC();FC();Le();_();_();cl=(()=>{let t=class t{static withConfig(i,r=[]){return{ngModule:t,providers:k3(i,r)}}constructor(i,r){Uc(r)&&!i&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}};t.\u0275fac=function(r){return new(r||t)(I(Bd),I(dn))},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[RC,TC,OC,RC,TC,OC]});let n=t;return n})(),pme=new Xr("20.0.1")});function N3(n,t){if(n&1&&(S(0,"mat-option",12),se(1),R()),n&2){let e=t.$implicit;A("value",e),E(),Je(" ",e.voiceName," ")}}function L3(n,t){if(n&1&&(S(0,"mat-icon"),se(1),R()),n&2){let e=W();E(),Je(" ",e.isPlaying?"stop":"volume_up"," ")}}function P3(n,t){n&1&&de(0,"mat-spinner",13),n&2&&A("diameter",15)}var eF,tF=f(()=>{"use strict";Le();_();to();En();dr();yR();we();$p();co();Ld();um();gm();Et();_();Le();to();co();um();Ld();ll();Et();eF=(()=>{var t;let e=class e{constructor(){tt(this,t);this.maxCharLength=1e3,Ot(this,t,u(gR))}get hasOverflow(){let r=document.querySelector("textarea");return r?.clientHeight<r?.scrollHeight}ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let r=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&r===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}ye(this,t).play(r,this.selected).pipe(sn(()=>{this.isLoading=!1})).subscribe({next:o=>{this.previousText=r,this.previousVoice=this.selected.voice;let s=URL.createObjectURL(o);this.audio=new Audio(s),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(s),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}};t=new WeakMap,e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=$({type:e,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},decls:19,vars:23,consts:[[1,"text-to-speech-wrapper",3,"ngClass.lt-md"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(o,s){o&1&&(S(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),se(3),ae(4,"translate"),R(),S(5,"mat-select",2),cs("valueChange",function(l){return Oa(s.selected,l)||(s.selected=l),l}),Ae(6,N3,2,2,"mat-option",3),R()(),S(7,"div",4)(8,"textarea",5),ae(9,"translate"),cs("ngModelChange",function(l){return Oa(s.text,l)||(s.text=l),l}),R(),S(10,"div",6),se(11),R()(),S(12,"div",7)(13,"div",8),ae(14,"translate"),S(15,"button",9),ae(16,"translate"),te("click",function(){return s.togglePlay()}),Ae(17,L3,2,1,"mat-icon",10)(18,P3,1,1,"mat-spinner",11),R()()()()),o&2&&(A("ngClass.lt-md","mobile"),E(3),ft(me(4,15,"selectVoice")),E(2),ls("value",s.selected),E(),A("ngForOf",s.voices),E(2),ls("ngModel",s.text),A("placeholder",me(9,17,"placeholder")),E(2),ne("text-overflow",s.hasOverflow),E(),Nh(" ",(s.text==null?null:s.text.length)??0,"/",s.maxCharLength," "),E(2),A("matTooltip",s.text?"":me(14,19,"playDisabled")),E(2),A("matTooltip",me(16,21,s.isPlaying?"stop":"play"))("disabled",!s.text||s.isLoading),E(2),A("ngIf",!s.isLoading),E(),A("ngIf",s.isLoading))},dependencies:[fn,ka,Xi,vs,Ri,xp,Wa,qa,cd,zp,As,fr,Fd,Ms,Ts,Nd,kd,hr,cl,al,Di,Ct],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]});let n=e;return n})()});var nF=f(()=>{"use strict"});var iF=f(()=>{"use strict";nF()});var rF=f(()=>{"use strict";tF();iF()});var oF,sF=f(()=>{"use strict";oF={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop"},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voice:"Balss {{nth}}"}}});var ym,kC=f(()=>{"use strict";fx();rF();sF();_();ym=(()=>{let t=class t extends rp{set voices(i){this._voices=typeof i=="string"?JSON.parse(i):i}set maxCharLength(i){this._maxCharLength=+i}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(oF),this._maxCharLength=500}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},features:[he],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(r,o){r&1&&de(0,"lib-text-to-speech",0),r&2&&A("voices",o.voices)("maxCharLength",o.maxCharLength)},dependencies:[eF],encapsulation:2});let n=t;return n})()});var Xt,vm=f(()=>{"use strict";Xt=function(n){return n.SUMMARY="SUMMARY",n.REPHRASE="REPHRASE",n}(Xt||{})});function j3(n,t){}function H3(n){let t=Me(n),e=new z;return{valueSignal:t,get value(){return t()},change:e,ngOnDestroy(){e.complete()}}}function NC(n,t){let e=n.length;for(;e--;)t(n[e])}var po,LC,Ud,V3,B3,U3,PC,aF,lF=f(()=>{"use strict";_();_();we();Td();Ux();Rx();sr();hd();oo();it();uC();Ap();wd();po=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext},LC=(()=>{class n extends el{_elementRef=u(H);_focusTrapFactory=u(Vx);_config;_interactivityChecker=u(jx);_ngZone=u(P);_focusMonitor=u(ms);_renderer=u(rt);_changeDetectorRef=u(ht);_injector=u(G);_platform=u(Ue);_document=u(U);_portalOutlet;_focusTrapped=new M;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(po,{optional:!0})||new po,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),s=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||qt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=fd(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=fd();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=fd()))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be(Ad,7),i&2){let o;be(o=xe())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&De("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[he],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&Ae(0,j3,0,0,"ng-template",0)},dependencies:[Ad],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
27
+ `],encapsulation:2})}return n})(),Ud=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new M;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(t,e){this.overlayRef=t,this.config=e,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Vt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=t.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(t,e){if(this._canClose(t)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}_canClose(t){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(t,e,this.componentInstance))}},V3=new x("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>il(n)}}),B3=new x("DialogData"),U3=new x("DefaultDialogConfig");PC=(()=>{class n{_injector=u(G);_defaultOptions=u(U3,{optional:!0});_parentDialog=u(n,{optional:!0,skipSelf:!0});_overlayContainer=u(Xp);_idGenerator=u(Zt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;_ariaHiddenElements=new Map;_scrollStrategy=u(V3);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=nn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ht(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new po;i=b(b({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=Is(this._injector,o),a=new Ud(s,i),l=this._attachContainer(s,a,i);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(He(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,i),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){NC(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){NC(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),NC(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Ds({positionStrategy:e.positionStrategy||rl().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:po,useValue:r},{provide:Ud,useValue:i},{provide:tl,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=LC;let l=new lo(a,r.viewContainerRef,G.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof cn){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=b(b({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Cs(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new lo(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:B3,useValue:e.data},{provide:Ud,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Mt,null,{optional:!0}))&&a.push({provide:Mt,useValue:H3(e.direction)}),G.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();aF=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({providers:[PC],imports:[ur,Es,yd,Es]})}return n})()});function z3(n,t){}function fF(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?io(n.substring(0,n.length-2)):n.endsWith("s")?io(n.substring(0,n.length-1))*1e3:n==="0"?0:null}function VC(n,t,e){return n._closeInteractionType=t,n.close(e)}function yF(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}var zd,jC,cF,dF,$3,G3,hF,uF,Hd,dl,ul,pF,mF,mo,$d,gF,Gd,Wd,qd,Os,vF=f(()=>{"use strict";lF();em();Td();_();_();xd();Ai();we();it();oo();ar();Ja();ei();zd=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},jC="mdc-dialog--open",cF="mdc-dialog--opening",dF="mdc-dialog--closing",$3=150,G3=75,hF=(()=>{class n extends LC{_animationStateChanged=new z;_animationsEnabled=!wt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?fF(this._config.enterAnimationDuration)??$3:0;_exitAnimationDuration=this._animationsEnabled?fF(this._config.exitAnimationDuration)??G3:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(uF,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cF,jC)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(jC),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(jC),this._animationsEnabled?(this._hostElement.style.setProperty(uF,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(dF)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(cF,dF)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275cmp=$({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(Qi("id",r._config.id),De("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ne("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[he],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(S(0,"div",0)(1,"div",1),Ae(2,z3,0,0,"ng-template",2),R()())},dependencies:[Ad],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
28
+ `],encapsulation:2})}return n})(),uF="--mat-dialog-transition-duration";Hd=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Hd||{}),dl=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new M;_beforeClosed=new M;_result;_closeFallbackTimeout;_state=Hd.OPEN;_closeInteractionType;constructor(t,e,i){this._ref=t,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(fe(r=>r.state==="opened"),He(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(fe(r=>r.state==="closed"),He(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),rn(this.backdropClick(),this.keydownEvents().pipe(fe(r=>r.keyCode===27&&!this.disableClose&&!Vt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),VC(this,r.type==="keydown"?"keyboard":"mouse"))})}close(t){let e=this._config.closePredicate;e&&!e(t,this._config,this.componentInstance)||(this._result=t,this._containerInstance._animationStateChanged.pipe(fe(i=>i.state==="closing"),He(1)).subscribe(i=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=Hd.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=Hd.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};ul=new x("MatMdcDialogData"),pF=new x("mat-mdc-dialog-default-options"),mF=new x("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>il(n)}}),mo=(()=>{class n{_defaultOptions=u(pF,{optional:!0});_scrollStrategy=u(mF);_parentDialog=u(n,{optional:!0,skipSelf:!0});_idGenerator=u(Zt);_injector=u(G);_dialog=u(PC);_animationsDisabled=wt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;dialogConfigClass=zd;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=nn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ht(void 0)));constructor(){this._dialogRefConstructor=dl,this._dialogContainerType=hF,this._dialogDataToken=ul}open(e,i){let r;i=b(b({},this._defaultOptions||new zd),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,X(b({},i),{positionStrategy:rl(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:po,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),$d=(()=>{class n{dialogRef=u(dl,{optional:!0});_elementRef=u(H);_dialog=u(mo);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=yF(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){VC(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&te("click",function(s){return r._onButtonClick(s)}),i&2&&De("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[je]})}return n})(),gF=(()=>{class n{_dialogRef=u(dl,{optional:!0});_elementRef=u(H);_dialog=u(mo);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=yF(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n})}return n})(),Gd=(()=>{class n extends gF{id=u(Zt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275dir=j({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&Qi("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[he]})}return n})(),Wd=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Z_([sC])]})}return n})(),qd=(()=>{class n extends gF{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275dir=j({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ne("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[he]})}return n})();Os=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({providers:[mo],imports:[aF,ur,Es,qe,qe]})}return n})()});var go=f(()=>{"use strict";vF()});var Kd,_m,UC,bm,fl,_F,Ye,bF,Fs=f(()=>{"use strict";Qc();_();_();we();Kd=new x("ngx-tld-services Api service configuration."),_m=class{#e;constructor(t){this.http=u(nr),this.#e=u(Kd);let e=t(this.#e);if(!e)throw new Error(`${Object.getPrototypeOf(this).constructor.name} is created, but no service configuration defined in 'SERVICE_CONFIGURATION_TOKEN'. Config: ${JSON.stringify(this.#e)}`);this.configuration=e,this.sharedServiceConfiguration=this.#e.sharedConfiguration}},UC=function(n){return n.Event="Event",n.General="General",n.Meeting="Meeting",n.TranscriptEditor="TranscriptEditor",n.TranscriptCleanup="TranscriptCleanup",n}(UC||{}),bm=function(n){return n.Event="Event",n.General="General",n.Meeting="Meeting",n.MeetingBrief="MeetingBrief",n.Brief="Brief",n}(bm||{}),fl=class{static xAppIdHeader(t){return{"X-App-Id":t}}},_F=(()=>{var t;let e=class e extends _m{constructor(){super(o=>o.llmService);tt(this,t,u(nr))}rephrase(o){let s=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return ye(this,t).post(`${this.configuration.url}/rewrite`,o,{responseType:"text",headers:s})}summarize(o){let s=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return ye(this,t).post(`${this.configuration.url}/summarize/`,o,{responseType:"text",headers:s})}customPrompt(o){let s=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return ye(this,t).post(`${this.configuration.url}/custom-prompt/`,o,{responseType:"text",headers:s})}};t=new WeakMap,e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ye=function(n){return n.TRANSLATION_FILES="FileTranslationFiles",n.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",n.ASR_FILE_SIZE_KB="AsrFileSizeKb",n.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",n.TRANSLATION_CHARACTERS="TranslationCharacters",n.TRANSLATION_DOCUMENTS="TranslationDocuments",n.LLM_CHARACTER_COUNT="LlmCharacterCount",n.LLM_REQUESTS="LlmRequests",n.TTS_CHARACTERS="TtsCharacters",n.ANONYMISE_WORDS="AnonymiseWords",n.ANONYMISE_DOCUMENTS="AnonymiseDocuments",n[n.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",n[n.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",n[n.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",n[n.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",n[n.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",n[n.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",n[n.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",n[n.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",n[n.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",n[n.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",n[n.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",n}(Ye||{}),bF=(()=>{let t=class t extends _m{constructor(){super(i=>i.quotaService),this.legacyQuotaTypeMap={[Ye.LEGACY_TRANSLATION_FILES]:Ye.TRANSLATION_FILES,[Ye.LEGACY_ASR_FILE_LENGTH_SECONDS]:Ye.ASR_FILE_LENGTH_SECONDS,[Ye.LEGACY_ASR_FILE_SIZE_KB]:Ye.ASR_FILE_SIZE_KB,[Ye.LEGACY_ONLINE_ASR_USED_SECONDS]:Ye.ONLINE_ASR_USED_SECONDS,[Ye.LEGACY_TRANSLATION_CHARACTERS]:Ye.TRANSLATION_CHARACTERS,[Ye.LEGACY_TRANSLATION_DOCUMENTS]:Ye.TRANSLATION_DOCUMENTS,[Ye.LEGACY_LLM_CHARACTER_COUNT]:Ye.LLM_CHARACTER_COUNT,[Ye.LEGACY_LLM_REQUESTS]:Ye.LLM_REQUESTS,[Ye.LEGACY_TTS_CHARACTERS]:Ye.TTS_CHARACTERS,[Ye.LEGACY_ANONYMISE_WORDS]:Ye.ANONYMISE_WORDS,[Ye.LEGACY_ANONYMISE_DOCUMENTS]:Ye.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let i=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:i}).pipe(V(r=>(r.usage.forEach(o=>{this.legacyQuotaTypeMap[o.quotaType]&&(o.quotaType=this.legacyQuotaTypeMap[o.quotaType])}),r)))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var CF,EF=f(()=>{"use strict";CF={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var wF=f(()=>{"use strict"});var HC,DF=f(()=>{"use strict";HC=function(n){return n[n.TIMEOUT=504]="TIMEOUT",n}(HC||{})});var zC=f(()=>{"use strict";EF();wF();DF()});var SF,IF=f(()=>{"use strict";_();dr();Xc();SF=(()=>{let t=class t{constructor(i,r){this.iconRegistry=i,this.sanitizer=r}registerIcons(i){for(let r in i)this.iconRegistry.addSvgIconLiteral(r.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(i[r]))}registerIconFromUrl(i,r){this.iconRegistry.addSvgIcon(i,this.sanitizer.bypassSecurityTrustResourceUrl(r))}addSvgIconSet(i,r){r?this.iconRegistry.addSvgIconSetInNamespace(r,this.sanitizer.bypassSecurityTrustResourceUrl(i)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(i))}};t.\u0275fac=function(r){return new(r||t)(I(Up),I(Zc))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var AF=f(()=>{"use strict";IF()});var W3,q3,TF,MF=f(()=>{"use strict";_();W3=typeof localStorage<"u"?localStorage:null,q3=typeof window<"u"?window:null,TF=(()=>{let t=class t{get window(){return q3}get localStorage(){return W3}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var RF=f(()=>{"use strict";MF()});function _l(n){return new KC(n)}function K3(n,t,e){let i=e.path.split("/");if(i.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||i.length<n.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=n[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,i.length),posParams:r}}function Y3(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!ki(n[e],t[e]))return!1;return!0}function ki(n,t){let e=n?YC(n):void 0,i=t?YC(t):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!VF(n[r],t[r]))return!1;return!0}function YC(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function VF(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;let e=[...n].sort(),i=[...t].sort();return e.every((r,o)=>i[o]===r)}else return n===t}function BF(n){return n.length>0?n[n.length-1]:null}function _r(n){return Vn(n)?n:Yr(n)?Pe(Promise.resolve(n)):F(n)}function OF(n,t,e){return Q3[e.paths](n.root,t.root,e.matrixParams)&&UF[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function Z3(n,t){return ki(n,t)}function HF(n,t,e){if(!Ns(n.segments,t.segments)||!Em(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let i in t.children)if(!n.children[i]||!HF(n.children[i],t.children[i],e))return!1;return!0}function X3(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>VF(n[e],t[e]))}function zF(n,t,e){return $F(n,t,t.segments,e)}function $F(n,t,e,i){if(n.segments.length>e.length){let r=n.segments.slice(0,e.length);return!(!Ns(r,e)||t.hasChildren()||!Em(r,e,i))}else if(n.segments.length===e.length){if(!Ns(n.segments,e)||!Em(n.segments,e,i))return!1;for(let r in t.children)if(!n.children[r]||!zF(n.children[r],t.children[r],i))return!1;return!0}else{let r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!Ns(n.segments,r)||!Em(n.segments,r,i)||!n.children[ue]?!1:$F(n.children[ue],t,o,i)}}function Em(n,t,e){return t.every((i,r)=>UF[e](n[r].parameters,i.parameters))}function J3(n,t){return Ns(n,t)&&n.every((e,i)=>ki(e.parameters,t[i].parameters))}function Ns(n,t){return n.length!==t.length?!1:n.every((e,i)=>e.path===t[i].path)}function e8(n,t){let e=[];return Object.entries(n.children).forEach(([i,r])=>{i===ue&&(e=e.concat(t(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==ue&&(e=e.concat(t(r,i)))}),e}function wm(n){return n.segments.map(t=>WF(t)).join("/")}function Yd(n,t){if(!n.hasChildren())return wm(n);if(t){let e=n.children[ue]?Yd(n.children[ue],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==ue&&i.push(`${r}:${Yd(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=e8(n,(i,r)=>r===ue?[Yd(n.children[ue],!1)]:[`${r}:${Yd(i,!1)}`]);return Object.keys(n.children).length===1&&n.children[ue]!=null?`${wm(n)}/${e[0]}`:`${wm(n)}/(${e.join("//")})`}}function GF(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xm(n){return GF(n).replace(/%3B/gi,";")}function n8(n){return encodeURI(n)}function QC(n){return GF(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dm(n){return decodeURIComponent(n)}function FF(n){return Dm(n.replace(/\+/g,"%20"))}function WF(n){return`${QC(n.path)}${i8(n.parameters)}`}function i8(n){return Object.entries(n).map(([t,e])=>`;${QC(t)}=${QC(e)}`).join("")}function r8(n){let t=Object.entries(n).map(([e,i])=>Array.isArray(i)?i.map(r=>`${xm(e)}=${xm(r)}`).join("&"):`${xm(e)}=${xm(i)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}function $C(n){let t=n.match(o8);return t?t[0]:""}function a8(n){let t=n.match(s8);return t?t[0]:""}function c8(n){let t=n.match(l8);return t?t[0]:""}function u8(n){let t=n.match(d8);return t?t[0]:""}function qF(n){return n.segments.length>0?new Oe([],{[ue]:n}):n}function KF(n){let t={};for(let[i,r]of Object.entries(n.children)){let o=KF(r);if(i===ue&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}let e=new Oe(n.segments,t);return f8(e)}function f8(n){if(n.numberOfChildren===1&&n.children[ue]){let t=n.children[ue];return new Oe(n.segments.concat(t.segments),t.children)}return n}function yo(n){return n instanceof yr}function h8(n,t,e=null,i=null){let r=YF(n);return QF(r,t,e,i)}function YF(n){let t;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Oe(o.url,s);return o===n&&(t=a),a}let i=e(n.root),r=qF(i);return t??r}function QF(n,t,e,i){let r=n;for(;r.parent;)r=r.parent;if(t.length===0)return GC(r,r,r,e,i);let o=p8(t);if(o.toRoot())return GC(r,r,new Oe([],{}),e,i);let s=m8(o,r,n),a=s.processChildren?Zd(s.segmentGroup,s.index,o.commands):XF(s.segmentGroup,s.index,o.commands);return GC(r,s.segmentGroup,a,e,i)}function Sm(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Jd(n){return typeof n=="object"&&n!=null&&n.outlets}function GC(n,t,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;n===t?s=e:s=ZF(n,t,e);let a=qF(KF(s));return new yr(a,o,r)}function ZF(n,t,e){let i={};return Object.entries(n.children).forEach(([r,o])=>{o===t?i[r]=e:i[r]=ZF(o,t,e)}),new Oe(n.segments,i)}function p8(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Im(!0,0,n);let t=0,e=!1,i=n.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Im(e,t,i)}function m8(n,t,e){if(n.isAbsolute)return new ml(t,!0,0);if(!e)return new ml(t,!1,NaN);if(e.parent===null)return new ml(e,!0,0);let i=Sm(n.commands[0])?0:1,r=e.segments.length-1+i;return g8(e,r,n.numberOfDoubleDots)}function g8(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new w(4005,!1);r=i.segments.length}return new ml(i,!1,r-o)}function y8(n){return Jd(n[0])?n[0].outlets:{[ue]:n}}function XF(n,t,e){if(n??=new Oe([],{}),n.segments.length===0&&n.hasChildren())return Zd(n,t,e);let i=v8(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<n.segments.length){let o=new Oe(n.segments.slice(0,i.pathIndex),{});return o.children[ue]=new Oe(n.segments.slice(i.pathIndex),n.children),Zd(o,0,r)}else return i.match&&r.length===0?new Oe(n.segments,{}):i.match&&!n.hasChildren()?XC(n,t,e):i.match?Zd(n,0,r):XC(n,t,e)}function Zd(n,t,e){if(e.length===0)return new Oe(n.segments,{});{let i=y8(e),r={};if(Object.keys(i).some(o=>o!==ue)&&n.children[ue]&&n.numberOfChildren===1&&n.children[ue].segments.length===0){let o=Zd(n.children[ue],t,e);return new Oe(n.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=XF(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Oe(n.segments,r)}}function v8(n,t,e){let i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(i>=e.length)return o;let s=n.segments[r],a=e[i];if(Jd(a))break;let l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!NF(l,c,s))return o;i+=2}else{if(!NF(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function XC(n,t,e){let i=n.segments.slice(0,t),r=0;for(;r<e.length;){let o=e[r];if(Jd(o)){let l=_8(o.outlets);return new Oe(i,l)}if(r===0&&Sm(e[0])){let l=n.segments[t];i.push(new ks(l.path,kF(e[0]))),r++;continue}let s=Jd(o)?o.outlets[ue]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Sm(a)?(i.push(new ks(s,kF(a))),r+=2):(i.push(new ks(s,{})),r++)}return new Oe(i,{})}function _8(n){let t={};return Object.entries(n).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(t[e]=XC(new Oe([],{}),0,i))}),t}function kF(n){let t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function NF(n,t,e){return n==e.path&&ki(t,e.parameters)}function b8(n){return!(n instanceof iu)&&!(n instanceof bl)}function x8(n,t){return n.providers&&!n._injector&&(n._injector=Aa(n.providers,t,`Route: ${n.path}`)),n._injector??t}function ii(n){return n.outlet||ue}function C8(n,t){let e=n.filter(i=>ii(i)===t);return e.push(...n.filter(i=>ii(i)!==t)),e}function El(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function dE(n,t){if(n===t.value)return t;for(let e of t.children){let i=dE(n,e);if(i)return i}return null}function uE(n,t){if(n===t.value)return[t];for(let e of t.children){let i=uE(n,e);if(i.length)return i.unshift(t),i}return[]}function pl(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}function JF(n){let t=E8(n),e=new at([new ks("",{})]),i=new at({}),r=new at({}),o=new at({}),s=new at(""),a=new vo(e,i,o,s,r,ue,n,t.root);return a.snapshot=t.root,new Mm(new wn(a,[]),t)}function E8(n){let t={},e={},i={},r="",o=new yl([],t,i,r,e,ue,n,null,{});return new Om("",new wn(o,[]))}function Rm(n,t,e="emptyOnly"){let i,{routeConfig:r}=n;return t!==null&&(e==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?i={params:b(b({},t.params),n.params),data:b(b({},t.data),n.data),resolve:b(b(b(b({},n.data),t.data),r?.data),n._resolvedData)}:i={params:b({},n.params),data:b({},n.data),resolve:b(b({},n.data),n._resolvedData??{})},r&&tk(r)&&(i.resolve[lu]=r.title),i}function bE(n,t){t.value._routerState=n,t.children.forEach(e=>bE(n,e))}function ek(n){let t=n.children.length>0?` { ${n.children.map(ek).join(", ")} } `:"";return`${n.value}${t}`}function WC(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,ki(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),ki(t.params,e.params)||n.paramsSubject.next(e.params),Y3(t.url,e.url)||n.urlSubject.next(e.url),ki(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function fE(n,t){let e=ki(n.params,t.params)&&J3(n.url,t.url),i=!n.parent!=!t.parent;return e&&!i&&(!n.parent||fE(n.parent,t.parent))}function tk(n){return typeof n.title=="string"||n.title===null}function CE(n){let t=n.children&&n.children.map(CE),e=t?X(b({},n),{children:t}):b({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==ue&&(e.component=ik),e}function D8(n,t,e){let i=ru(n,t._root,e?e._root:void 0);return new Mm(i,t)}function ru(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=t.value;let r=S8(n,t,e);return new wn(i,r)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ru(n,a)),s}}let i=I8(t.value),r=t.children.map(o=>ru(n,o));return new wn(i,r)}}function S8(n,t,e){return t.children.map(i=>{for(let r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return ru(n,i,r);return ru(n,i)})}function I8(n){return new vo(new at(n.url),new at(n.params),new at(n.queryParams),new at(n.fragment),new at(n.data),n.outlet,n.component,n)}function Fm(n,t){let{redirectTo:e,navigationBehaviorOptions:i}=yo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=ok(!1,pn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function ok(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[rk]=!0,e.cancellationCode=t,e}function A8(n){return sk(n)&&yo(n.url)}function sk(n){return!!n&&n[rk]}function M8(n,t,e){let i=n._root,r=t?t._root:null;return Qd(i,r,e,[i.value])}function R8(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function Dl(n,t){let e=Symbol(),i=t.get(n,e);return i===e?typeof n=="function"&&!Iy(n)?n:t.get(n):i}function Qd(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=pl(t);return n.children.forEach(s=>{O8(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Xd(a,e.getContext(s),r)),r}function O8(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=F8(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new km(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Qd(n,t,a?a.children:null,i,r):Qd(n,t,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new vl(a.outlet.component,s))}else s&&Xd(t,a,r),r.canActivateChecks.push(new km(i)),o.component?Qd(n,null,a?a.children:null,i,r):Qd(n,null,e,i,r);return r}function F8(n,t,e){if(typeof e=="function")return e(n,t);switch(e){case"pathParamsChange":return!Ns(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Ns(n.url,t.url)||!ki(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fE(n,t)||!ki(n.queryParams,t.queryParams);case"paramsChange":default:return!fE(n,t)}}function Xd(n,t,e){let i=pl(n),r=n.value;Object.entries(i).forEach(([o,s])=>{r.component?t?Xd(s,t.children.getContext(o),e):Xd(s,null,e):Xd(s,t,e)}),r.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new vl(t.outlet.component,r)):e.canDeactivateChecks.push(new vl(null,r)):e.canDeactivateChecks.push(new vl(null,r))}function du(n){return typeof n=="function"}function k8(n){return typeof n=="boolean"}function N8(n){return n&&du(n.canLoad)}function L8(n){return n&&du(n.canActivate)}function P8(n){return n&&du(n.canActivateChild)}function j8(n){return n&&du(n.canDeactivate)}function V8(n){return n&&du(n.canMatch)}function ak(n){return n instanceof ji||n?.name==="EmptyError"}function xl(){return ze(n=>Lo(n.map(t=>t.pipe(He(1),Ht(Cm)))).pipe(V(t=>{for(let e of t)if(e!==!0){if(e===Cm)return Cm;if(e===!1||B8(e))return e}return!0}),fe(t=>t!==Cm),He(1)))}function B8(n){return yo(n)||n instanceof ou}function U8(n,t){return Ke(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?F(X(b({},e),{guardsResult:!0})):H8(s,i,r,n).pipe(Ke(a=>a&&k8(a)?z8(i,o,n,t):F(a)),V(a=>X(b({},e),{guardsResult:a})))})}function H8(n,t,e,i){return Pe(n).pipe(Ke(r=>K8(r.component,r.route,e,t,i)),Bi(r=>r!==!0,!0))}function z8(n,t,e,i){return Pe(t).pipe(Sn(r=>Bn(G8(r.route.parent,i),$8(r.route,i),q8(n,r.path,e),W8(n,r.route,e))),Bi(r=>r!==!0,!0))}function $8(n,t){return n!==null&&t&&t(new aE(n)),F(!0)}function G8(n,t){return n!==null&&t&&t(new oE(n)),F(!0)}function W8(n,t,e){let i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||i.length===0)return F(!0);let r=i.map(o=>nn(()=>{let s=El(t)??e,a=Dl(o,s),l=L8(a)?a.canActivate(t,n):_t(s,()=>a(t,n));return _r(l).pipe(Bi())}));return F(r).pipe(xl())}function q8(n,t,e){let i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>R8(s)).filter(s=>s!==null).map(s=>nn(()=>{let a=s.guards.map(l=>{let c=El(s.node)??e,d=Dl(l,c),h=P8(d)?d.canActivateChild(i,n):_t(c,()=>d(i,n));return _r(h).pipe(Bi())});return F(a).pipe(xl())}));return F(o).pipe(xl())}function K8(n,t,e,i,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return F(!0);let s=o.map(a=>{let l=El(t)??r,c=Dl(a,l),d=j8(c)?c.canDeactivate(n,t,e,i):_t(l,()=>c(n,t,e,i));return _r(d).pipe(Bi())});return F(s).pipe(xl())}function Y8(n,t,e,i){let r=t.canLoad;if(r===void 0||r.length===0)return F(!0);let o=r.map(s=>{let a=Dl(s,n),l=N8(a)?a.canLoad(t,e):_t(n,()=>a(t,e));return _r(l)});return F(o).pipe(xl(),lk(i))}function lk(n){return Rg(ke(t=>{if(typeof t!="boolean")throw Fm(n,t)}),V(t=>t===!0))}function Q8(n,t,e,i){let r=t.canMatch;if(!r||r.length===0)return F(!0);let o=r.map(s=>{let a=Dl(s,n),l=V8(a)?a.canMatch(t,e):_t(n,()=>a(t,e));return _r(l)});return F(o).pipe(xl(),lk(i))}function hl(n){return Ar(new su(n))}function Z8(n){return Ar(new w(4e3,!1))}function X8(n){return Ar(ok(!1,pn.GuardRejected))}function J8(n,t,e){if(typeof n=="string")return F(n);let i=n,{queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,params:c,data:d,title:h}=t;return _r(_t(e,()=>i({params:c,data:d,queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,title:h})))}function eW(n,t,e,i,r){let o=ck(n,t,e);return o.matched?(i=x8(t,i),Q8(i,t,e,r).pipe(V(s=>s===!0?o:b({},gE)))):F(o)}function ck(n,t,e){if(t.path==="**")return tW(e);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?b({},gE):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(t.matcher||K3)(e,n,t);if(!r)return b({},gE);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?b(b({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function tW(n){return{matched:!0,parameters:n.length>0?BF(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function LF(n,t,e,i){return e.length>0&&rW(n,e,i)?{segmentGroup:new Oe(t,iW(i,new Oe(e,n.children))),slicedSegments:[]}:e.length===0&&oW(n,e,i)?{segmentGroup:new Oe(n.segments,nW(n,e,i,n.children)),slicedSegments:e}:{segmentGroup:new Oe(n.segments,n.children),slicedSegments:e}}function nW(n,t,e,i){let r={};for(let o of e)if(Nm(n,t,o)&&!i[ii(o)]){let s=new Oe([],{});r[ii(o)]=s}return b(b({},i),r)}function iW(n,t){let e={};e[ue]=t;for(let i of n)if(i.path===""&&ii(i)!==ue){let r=new Oe([],{});e[ii(i)]=r}return e}function rW(n,t,e){return e.some(i=>Nm(n,t,i)&&ii(i)!==ue)}function oW(n,t,e){return e.some(i=>Nm(n,t,i))}function Nm(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function sW(n,t,e){return t.length===0&&!n.children[e]}function aW(n,t,e,i,r,o,s="emptyOnly"){return new vE(n,t,e,i,r,s,o).recognize()}function cW(n){n.sort((t,e)=>t.value.outlet===ue?-1:e.value.outlet===ue?1:t.value.outlet.localeCompare(e.value.outlet))}function dW(n){let t=n.value.routeConfig;return t&&t.path===""}function dk(n){let t=[],e=new Set;for(let i of n){if(!dW(i)){t.push(i);continue}let r=t.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):t.push(i)}for(let i of e){let r=dk(i.children);t.push(new wn(i.value,r))}return t.filter(i=>!e.has(i))}function PF(n){return n.data||{}}function jF(n){return n.resolve||{}}function uW(n,t,e,i,r,o){return Ke(s=>aW(n,t,e,i,s.extractedUrl,r,o).pipe(V(({state:a,tree:l})=>X(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function fW(n,t){return Ke(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return F(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of uk(l))s.add(c);let a=0;return Pe(s).pipe(Sn(l=>o.has(l)?hW(l,i,n,t):(l.data=Rm(l,l.parent,n).resolve,F(void 0))),ke(()=>a++),la(1),Ke(l=>a===s.size?F(e):Lt))})}function uk(n){let t=n.children.map(e=>uk(e)).flat();return[n,...t]}function hW(n,t,e,i){let r=n.routeConfig,o=n._resolve;return r?.title!==void 0&&!tk(r)&&(o[lu]=r.title),nn(()=>(n.data=Rm(n,n.parent,e).resolve,pW(o,n,t,i).pipe(V(s=>(n._resolvedData=s,n.data=b(b({},n.data),s),null)))))}function pW(n,t,e,i){let r=YC(n);if(r.length===0)return F({});let o={};return Pe(r).pipe(Ke(s=>mW(n[s],t,e,i).pipe(Bi(),ke(a=>{if(a instanceof ou)throw Fm(new Ls,a);o[s]=a}))),la(1),V(()=>o),on(s=>ak(s)?Lt:Ar(s)))}function mW(n,t,e,i){let r=El(t)??i,o=Dl(n,r),s=o.resolve?o.resolve(t,e):_t(r,()=>o(t,e));return _r(s)}function qC(n){return ze(t=>{let e=n(t);return e?Pe(e).pipe(V(()=>t)):F(t)})}function yW(n,t,e,i){return _r(_t(e,()=>n.loadChildren())).pipe(V(hk),ze(pk),Ke(r=>r instanceof Th||Array.isArray(r)?F(r):Pe(t.compileModuleAsync(r))),V(r=>{i&&i(n);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(uu,[],{optional:!0,self:!0}).flat()),{routes:s.map(CE),injector:o}}))}function vW(n){return n&&typeof n=="object"&&"default"in n}function hk(n){return vW(n)?n.default:n}function pk(n){return F(n)}function mk(n,t,e){let i=n.get(DE),r=n.get(U);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),bW(n)));a.ready.catch(c=>{});let{onViewTransitionCreated:l}=i;return l&&_t(n,()=>l({transition:a,from:t,to:e})),s}function bW(n){return new Promise(t=>{qt({read:()=>setTimeout(t)},{injector:n})})}function xW(n){return n!==gl}function IE(n,t){n.events.pipe(fe(e=>e instanceof ri||e instanceof gr||e instanceof tu||e instanceof vr),V(e=>e instanceof ri||e instanceof vr?0:(e instanceof gr?e.code===pn.Redirect||e.code===pn.SupersededByNewNavigation:!1)?2:1),fe(e=>e!==2),He(1)).subscribe(()=>{t()})}function IW(n){for(let t=0;t<n.length;t++)if(n[t]==null)throw new w(4008,!1)}var ue,lu,KC,Q3,UF,yr,Oe,ks,Cl,Ls,t8,o8,s8,l8,d8,ZC,Im,ml,gl,Dt,Ln,Ps,ri,pn,eu,gr,vr,tu,Am,JC,eE,tE,nE,iE,rE,oE,sE,aE,lE,nu,iu,bl,cE,wl,Tm,wn,Mm,vo,yl,Om,w8,nk,hE,cu,xE,ik,ou,rk,T8,pE,km,vl,Cm,su,au,mE,gE,yE,lW,vE,fk,gW,js,uu,Lm,EE,_W,wE,DE,SE,Pm,CW,_E,EW,gk,wW,DW,SW,_o,yk=f(()=>{"use strict";Le();_();_();we();it();Xc();ue="primary",lu=Symbol("RouteTitle"),KC=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};Q3={exact:HF,subset:zF},UF={exact:Z3,subset:X3,ignored:()=>!0};yr=class{root;queryParams;fragment;_queryParamMap;constructor(t=new Oe([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=_l(this.queryParams),this._queryParamMap}toString(){return t8.serialize(this)}},Oe=class{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wm(this)}},ks=class{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=_l(this.parameters),this._parameterMap}toString(){return WF(this)}};Cl=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>new Ls,providedIn:"root"})}return n})(),Ls=class{parse(t){let e=new ZC(t);return new yr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${Yd(t.root,!0)}`,i=r8(t.queryParams),r=typeof t.fragment=="string"?`#${n8(t.fragment)}`:"";return`${e}${i}${r}`}},t8=new Ls;o8=/^[^\/()?;#]+/;s8=/^[^\/()?;=#]+/;l8=/^[^=?&#]+/;d8=/^[^&#]+/;ZC=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[ue]=new Oe(t,e)),i}parseSegment(){let t=$C(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(t),new ks(Dm(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=a8(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=$C(this.remaining);r&&(i=r,this.capture(i))}t[Dm(e)]=Dm(i)}parseQueryParam(t){let e=c8(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=u8(this.remaining);s&&(i=s,this.capture(i))}let r=FF(e),o=FF(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=$C(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new w(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=ue);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[ue]:new Oe([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new w(4011,!1)}};Im=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Sm(i[0]))throw new w(4003,!1);let r=i.find(Jd);if(r&&r!==BF(i))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};ml=class{segmentGroup;processChildren;index;constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}};gl="imperative",Dt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Dt||{}),Ln=class{id;url;constructor(t,e){this.id=t,this.url=e}},Ps=class extends Ln{type=Dt.NavigationStart;navigationTrigger;restoredState;constructor(t,e,i="imperative",r=null){super(t,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ri=class extends Ln{urlAfterRedirects;type=Dt.NavigationEnd;constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pn=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n}(pn||{}),eu=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(eu||{}),gr=class extends Ln{reason;code;type=Dt.NavigationCancel;constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vr=class extends Ln{reason;code;type=Dt.NavigationSkipped;constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r}},tu=class extends Ln{error;target;type=Dt.NavigationError;constructor(t,e,i,r){super(t,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Am=class extends Ln{urlAfterRedirects;state;type=Dt.RoutesRecognized;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},JC=class extends Ln{urlAfterRedirects;state;type=Dt.GuardsCheckStart;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eE=class extends Ln{urlAfterRedirects;state;shouldActivate;type=Dt.GuardsCheckEnd;constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},tE=class extends Ln{urlAfterRedirects;state;type=Dt.ResolveStart;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nE=class extends Ln{urlAfterRedirects;state;type=Dt.ResolveEnd;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},iE=class{route;type=Dt.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rE=class{route;type=Dt.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},oE=class{snapshot;type=Dt.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sE=class{snapshot;type=Dt.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},aE=class{snapshot;type=Dt.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},lE=class{snapshot;type=Dt.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},nu=class{routerEvent;position;anchor;type=Dt.Scroll;constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},iu=class{},bl=class{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};cE=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return El(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new wl(this.rootInjector)}},wl=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new cE(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||n)(I($e))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Tm=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=dE(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){let e=dE(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=uE(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return uE(t,this._root).map(e=>e.value)}};wn=class{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};Mm=class extends Tm{snapshot;constructor(t,e){super(t),this.snapshot=e,bE(this,t)}toString(){return this.snapshot.toString()}};vo=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,i,r,o,s,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(V(c=>c[lu]))??F(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(V(t=>_l(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>_l(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};yl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[lu]}constructor(t,e,i,r,o,s,a,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_l(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_l(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},Om=class extends Tm{url;constructor(t,e){super(e),this.url=t,bE(this,e)}toString(){return ek(this._root)}};w8=new x(""),nk=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ue;activateEvents=new z;deactivateEvents=new z;attachEvents=new z;detachEvents=new z;routerOutletData=iT(void 0);parentContexts=u(wl);location=u(At);changeDetector=u(ht);inputBinder=u(cu,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new hE(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[je]})}return n})(),hE=class{route;childContexts;parent;outletData;constructor(t,e,i,r){this.route=t,this.childContexts=e,this.parent=i,this.outletData=r}get(t,e){return t===vo?this.route:t===wl?this.childContexts:t===w8?this.outletData:this.parent.get(t,e)}},cu=new x(""),xE=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Lo([i.queryParams,i.params,i.data]).pipe(ze(([o,s,a],l)=>(a=b(b(b({},o),s),a),l===0?F(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=aT(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),ik=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&de(0,"router-outlet")},dependencies:[nk],encapsulation:2})}return n})();ou=class{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},rk="ngNavigationCancelingError";T8=(n,t,e,i)=>V(r=>(new pE(t,r.targetRouterState,r.currentRouterState,e,i).activate(n),r)),pE=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,i,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),WC(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){let r=pl(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=pl(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=pl(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){let r=pl(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new lE(o.value.snapshot))}),t.children.length&&this.forwardEvent(new sE(t.value.snapshot))}activateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(WC(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),WC(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,i)}},km=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},vl=class{component;route;constructor(t,e){this.component=t,this.route=e}};Cm=Symbol("INITIAL_VALUE");su=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},au=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};mE=class{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return F(i);if(r.numberOfChildren>1||!r.children[ue])return Z8(`${t.redirectTo}`);r=r.children[ue]}}applyRedirectCommands(t,e,i,r,o){return J8(e,r,o).pipe(V(s=>{if(s instanceof yr)throw new au(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,i);if(s[0]==="/")throw new au(a);return a}))}applyRedirectCreateUrlTree(t,e,i,r){let o=this.createSegmentGroup(t,e.root,i,r);return new yr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let i={};return Object.entries(t).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(t,e,i,r){let o=this.createSegments(t,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,i,r)}),new Oe(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){let r=i[e.path.substring(1)];if(!r)throw new w(4001,!1);return r}findOrReturn(t,e){let i=0;for(let r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}};gE={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};yE=class{};lW=31,vE=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,i,r,o,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new mE(this.urlSerializer,this.urlTree)}noMatchError(t){return new w(4002,`'${t.segmentGroup}'`)}recognize(){let t=LF(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(V(({children:e,rootSnapshot:i})=>{let r=new wn(i,e),o=new Om("",r),s=h8(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let e=new yl([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ue,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,ue,e).pipe(V(i=>({children:i,rootSnapshot:e})),on(i=>{if(i instanceof au)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof su?this.noMatchError(i):i}))}processSegmentGroup(t,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(t,e,i,o):this.processSegment(t,e,i,i.segments,r,!0,o).pipe(V(s=>s instanceof wn?[s]:[]))}processChildren(t,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Pe(o).pipe(Sn(s=>{let a=i.children[s],l=C8(e,s);return this.processSegmentGroup(t,l,a,s,r)}),ay((s,a)=>(s.push(...a),s)),Mr(null),sy(),Ke(s=>{if(s===null)return hl(i);let a=dk(s);return cW(a),F(a)}))}processSegment(t,e,i,r,o,s,a){return Pe(e).pipe(Sn(l=>this.processSegmentAgainstRoute(l._injector??t,e,l,i,r,o,s,a).pipe(on(c=>{if(c instanceof su)return F(null);throw c}))),Bi(l=>!!l),on(l=>{if(ak(l))return sW(i,r,o)?F(new yE):hl(i);throw l}))}processSegmentAgainstRoute(t,e,i,r,o,s,a,l){return ii(i)!==s&&(s===ue||!Nm(r,o,i))?hl(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,s,l):hl(r)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:h,remainingSegments:m}=ck(e,r,o);if(!l)return hl(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>lW&&(this.allowRedirects=!1));let p=new yl(o,c,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,PF(r),ii(r),r.component??r._loadedComponent??null,r,jF(r)),g=Rm(p,a,this.paramsInheritanceStrategy);return p.params=Object.freeze(g.params),p.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(d,r.redirectTo,h,p,t).pipe(ze(C=>this.applyRedirects.lineralizeSegments(r,C)),Ke(C=>this.processSegment(t,i,e,C.concat(m),s,!1,a)))}matchSegmentAgainstRoute(t,e,i,r,o,s){let a=eW(e,i,r,t,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(ze(l=>l.matched?(t=i._injector??t,this.getChildConfig(t,i,r).pipe(ze(({routes:c})=>{let d=i._loadedInjector??t,{parameters:h,consumedSegments:m,remainingSegments:p}=l,g=new yl(m,h,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,PF(i),ii(i),i.component??i._loadedComponent??null,i,jF(i)),v=Rm(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(v.params),g.data=Object.freeze(v.data);let{segmentGroup:C,slicedSegments:D}=LF(e,m,p,c);if(D.length===0&&C.hasChildren())return this.processChildren(d,c,C,g).pipe(V(pe=>new wn(g,pe)));if(c.length===0&&D.length===0)return F(new wn(g,[]));let L=ii(i)===o;return this.processSegment(d,c,C,D,L?ue:o,!0,g).pipe(V(pe=>new wn(g,pe instanceof wn?[pe]:[])))}))):hl(e)))}getChildConfig(t,e,i){return e.children?F({routes:e.children,injector:t}):e.loadChildren?e._loadedRoutes!==void 0?F({routes:e._loadedRoutes,injector:e._loadedInjector}):Y8(t,e,i,this.urlSerializer).pipe(Ke(r=>r?this.configLoader.loadChildren(t,e).pipe(ke(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):X8(e))):F({routes:[],injector:t})}};fk=(()=>{class n{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ue);return i}getResolvedTitleForRoute(e){return e.data[lu]}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>u(gW),providedIn:"root"})}return n})(),gW=(()=>{class n extends fk{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||n)(I(UT))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),js=new x("",{providedIn:"root",factory:()=>({})}),uu=new x(""),Lm=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(yb);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return F(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=_r(_t(e,()=>i.loadComponent())).pipe(V(hk),ze(pk),ke(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),sn(()=>{this.componentLoaders.delete(i)})),o=new ea(r,()=>new M).pipe(Js());return this.componentLoaders.set(i,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return F({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=yW(i,this.compiler,e,this.onLoadEndListener).pipe(sn(()=>{this.childrenLoaders.delete(i)})),s=new ea(o,()=>new M).pipe(Js());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();EE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>u(_W),providedIn:"root"})}return n})(),_W=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),wE=new x(""),DE=new x("");SE=new x(""),Pm=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new M;transitionAbortWithErrorSubject=new M;configLoader=u(Lm);environmentInjector=u($e);destroyRef=u(bn);urlSerializer=u(Cl);rootContexts=u(wl);location=u(wi);inputBindingEnabled=u(cu,{optional:!0})!==null;titleStrategy=u(fk);options=u(js,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(EE);createViewTransition=u(wE,{optional:!0});navigationErrorHandler=u(SE,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>F(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new iE(r)),i=r=>this.events.next(new rE(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(X(b({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i}))}setupNavigations(e){return this.transitions=new at(null),this.transitions.pipe(fe(i=>i!==null),ze(i=>{let r=!1;return F(i).pipe(ze(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",pn.SupersededByNewNavigation),Lt;this.currentTransition=i,this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?X(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload"){let l="";return this.events.next(new vr(o.id,this.urlSerializer.serialize(o.rawUrl),l,eu.IgnoredSameUrlNavigation)),o.resolve(!1),Lt}if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return F(o).pipe(ze(l=>(this.events.next(new Ps(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Lt:Promise.resolve(l))),uW(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ke(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation=X(b({},this.currentNavigation),{finalUrl:l.urlAfterRedirects});let c=new Am(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:c,source:d,restoredState:h,extras:m}=o,p=new Ps(l,this.urlSerializer.serialize(c),d,h);this.events.next(p);let g=JF(this.rootComponentType).snapshot;return this.currentTransition=i=X(b({},o),{targetSnapshot:g,urlAfterRedirects:c,extras:X(b({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=c,F(i)}else{let l="";return this.events.next(new vr(o.id,this.urlSerializer.serialize(o.extractedUrl),l,eu.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Lt}}),ke(o=>{let s=new JC(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),V(o=>(this.currentTransition=i=X(b({},o),{guards:M8(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),i)),U8(this.environmentInjector,o=>this.events.next(o)),ke(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Fm(this.urlSerializer,o.guardsResult);let s=new eE(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),fe(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",pn.GuardRejected),!1)),qC(o=>{if(o.guards.canActivateChecks.length!==0)return F(o).pipe(ke(s=>{let a=new tE(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ze(s=>{let a=!1;return F(s).pipe(fW(this.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",pn.NoDataFromResolver)}}))}),ke(s=>{let a=new nE(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),qC(o=>{let s=a=>{let l=[];if(a.routeConfig?.loadComponent&&!a.routeConfig._loadedComponent){let c=El(a)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(ke(d=>{a.component=d}),V(()=>{})))}for(let c of a.children)l.push(...s(c));return l};return Lo(s(o.targetSnapshot.root)).pipe(Mr(null),He(1))}),qC(()=>this.afterPreactivation()),ze(()=>{let{currentSnapshot:o,targetSnapshot:s}=i,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?Pe(a).pipe(V(()=>i)):F(i)}),V(o=>{let s=D8(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i=X(b({},o),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,i}),ke(()=>{this.events.next(new iu)}),T8(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),He(1),Ee(new Z(o=>{let s=i.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(fe(()=>!r&&!i.targetRouterState),ke(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",pn.Aborted)}))),ke({next:o=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ri(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Ee(this.transitionAbortWithErrorSubject.pipe(ke(o=>{throw o}))),sn(()=>{r||this.cancelNavigationTransition(i,"",pn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),on(o=>{if(this.destroyed)return i.resolve(!1),Lt;if(r=!0,sk(o))this.events.next(new gr(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),A8(o)?this.events.next(new bl(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{let s=new tu(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{let a=_t(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof ou){let{message:l,cancellationCode:c}=Fm(this.urlSerializer,a);this.events.next(new gr(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new bl(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(a)}}return Lt}))}))}cancelNavigationTransition(e,i,r){let o=new gr(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();CW=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>u(EW),providedIn:"root"})}return n})(),_E=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}},EW=(()=>{class n extends _E{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),gk=(()=>{class n{urlSerializer=u(Cl);options=u(js,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(wi);urlHandlingStrategy=u(EE);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new yr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,s=r??o;return s instanceof yr?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=JF(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:()=>u(wW),providedIn:"root"})}return n})(),wW=(()=>{class n extends gk{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof Ps?this.updateStateMemento():e instanceof vr?this.commitTransition(i):e instanceof Am?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof iu?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof gr&&e.code!==pn.SupersededByNewNavigation&&e.code!==pn.Redirect?this.restoreHistory(i):e instanceof tu?this.restoreHistory(i,!0):e instanceof ri&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,l=b(b({},s),this.generateNgRouterState(r,a));this.location.replaceState(e,"",l)}else{let a=b(b({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();DW={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},SW={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},_o=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Oh);stateManager=u(gk);options=u(js,{optional:!0})||{};pendingTasks=u(yi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(Pm);urlSerializer=u(Cl);location=u(wi);urlHandlingStrategy=u(EE);injector=u($e);_events=new M;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(CW);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(uu,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(cu,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ce;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof gr&&i.code!==pn.Redirect&&i.code!==pn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ri)this.navigated=!0;else if(i instanceof bl){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=b({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||xW(r.source)},s);this.scheduleNavigation(a,gl,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}b8(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=b({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o).catch(l=>{this.disposed||this.injector.get(ln)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(CE),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=b(b({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let m=r?r.snapshot:this.routerState.snapshot.root;h=YF(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return QF(h,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=yo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,gl,null,i)}navigate(e,i={skipLocationChange:!1}){return IW(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=b({},DW):i===!1?r=b({},SW):r=i,yo(e))return OF(this.currentUrlTree,e,r);let o=this.parseUrl(e);return OF(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,m)=>{a=h,l=m});let d=this.pendingTasks.add();return IE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function TW(n){return n.routerState.root}function hu(n,t){return{\u0275kind:n,\u0275providers:t}}function MW(){let n=u(G);return t=>{let e=n.get(jt);if(t!==e.components[0])return;let i=n.get(_o),r=n.get(bk);n.get(TE)===1&&i.initialNavigation(),n.get(Ek,null,{optional:!0})?.setUpPreloading(),n.get(_k,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function xk(){let n=[{provide:TE,useValue:0},Fh(()=>{let t=u(G);return t.get(kb,Promise.resolve()).then(()=>new Promise(i=>{let r=t.get(_o),o=t.get(bk);IE(r,()=>{i(!0)}),t.get(Pm).afterPreactivation=()=>(i(!0),o.closed?F(void 0):o),r.initialNavigation()}))})];return hu(2,n)}function Ck(){let n=[Fh(()=>{u(_o).setUpLocationChangeListener()}),{provide:TE,useValue:2}];return hu(3,n)}function wk(n){return hu(0,[{provide:Ek,useExisting:vk},{provide:fu,useExisting:n}])}function Dk(){return hu(8,[xE,{provide:cu,useExisting:xE}])}function Sk(n){Rn("NgRouterViewTransitions");let t=[{provide:wE,useValue:mk},{provide:DE,useValue:b({skipNextTransition:!!n?.skipInitialTransition},n)}];return hu(9,t)}function RW(){return{provide:_k,useFactory:()=>{let n=u(vT),t=u(P),e=u(js),i=u(Pm),r=u(Cl);return e.scrollOffset&&n.setOffset(e.scrollOffset),new AW(r,i,n,t,e)}}}function OW(){return{provide:Xn,useClass:Pb}}function FW(){return{provide:Xn,useClass:zh}}function kW(n){return[n.initialNavigation==="disabled"?Ck().\u0275providers:[],n.initialNavigation==="enabledBlocking"?xk().\u0275providers:[]]}function NW(){return[{provide:AE,useFactory:MW},{provide:Ta,multi:!0,useExisting:AE}]}var jm,fu,vk,_k,AW,bk,TE,Ek,Ik,ME,AE,Ak=f(()=>{"use strict";Le();Le();_();_();yk();we();it();jm=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Me(null);get href(){return un(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new M;applicationErrorHandler=u(ln);options=u(js,{optional:!0});constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(u(new Zr("href"),{optional:!0}));let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,i=r=>r==="merge"||r==="preserve";e||=i(this.queryParamsHandling),e||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(r=>{r instanceof ri&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(yo(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:yo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||n)(T(_o),T(vo),Dc("tabindex"),T(rt),T(H),T(Xn))};static \u0275dir=j({type:n,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&te("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&De("href",r.reactiveHref(),w_)("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ie],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ie],replaceUrl:[2,"replaceUrl","replaceUrl",Ie],routerLink:"routerLink"},features:[je]})}return n})(),fu=class{},vk=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(fe(e=>e instanceof ri),Sn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Aa(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Pe(r).pipe(Tr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=F(null);let o=r.pipe(Ke(s=>s===null?F(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(e,i);return Pe([o,s]).pipe(Tr())}else return o})}static \u0275fac=function(i){return new(i||n)(I(_o),I($e),I(fu),I(Lm))};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),_k=new x(""),AW=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=gl;restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ps?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ri?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof vr&&e.code===eu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof nu&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>Er(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new nu(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){Rc()};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})();bk=new x("",{factory:()=>new M}),TE=new x("",{providedIn:"root",factory:()=>1});Ek=new x("");Ik=[wi,{provide:Cl,useClass:Ls},_o,wl,{provide:vo,useFactory:TW,deps:[_o]},Lm,[]],ME=(()=>{class n{constructor(){}static forRoot(e,i){return{ngModule:n,providers:[Ik,[],{provide:uu,multi:!0,useValue:e},[],i?.errorHandler?{provide:SE,useValue:i.errorHandler}:[],{provide:js,useValue:i||{}},i?.useHash?OW():FW(),RW(),i?.preloadingStrategy?wk(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?kW(i):[],i?.bindToComponentInputs?Dk().\u0275providers:[],i?.enableViewTransitions?Sk().\u0275providers:[],NW()]}}static forChild(e){return{ngModule:n,providers:[{provide:uu,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})();AE=new x("")});var RE=f(()=>{"use strict";Ak();});var PW,Tk,OE=f(()=>{"use strict";_();_();En();co();Et();PW=["clearButton"],Tk=(()=>{let t=class t{constructor(){this.tldClick=new z,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["tld-close-button"]],viewQuery:function(r,o){if(r&1&&Be(PW,5),r&2){let s;be(s=xe())&&(o.clearButton=s.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},standalone:!1,decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(r,o){if(r&1){let s=Re();S(0,"button",1,0),ae(2,"translate"),ae(3,"translate"),te("click",function(){return ve(s),_e(o.clicked())}),S(4,"span",2),se(5," close "),R()()}r&2&&(A("matTooltip",me(2,3,o.tooltip))("disabled",o.disabled),De("aria-label",me(3,5,"ARIA_LABELS."+o.ariaCode)))},dependencies:[vs,fr,Ct],encapsulation:2});let n=t;return n})()});var Mk,Rk=f(()=>{"use strict";Le();OE();En();Et();co();_();Mk=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[fn,so,Di,As]});let n=t;return n})()});function BW(n,t){if(n&1&&(de(0,"p",10),ae(1,"translate")),n&2){let e=W();A("innerHtml",ds(1,1,e.message.title,e.message.localizationParams),Ci)}}function UW(n,t){if(n&1&&(de(0,"span",12),ae(1,"translate")),n&2){let e=W(2);A("innerHtml",ds(1,1,e.message.support,e.message.localizationParams),Ci)}}function HW(n,t){if(n&1&&(S(0,"p",11),de(1,"span",12),ae(2,"translate"),Ae(3,UW,2,4,"span",13),R()),n&2){let e=W();E(),A("innerHtml",ds(2,2,e.message.body,e.message.localizationParams),Ci),E(2),A("ngIf",e.message.support)}}function zW(n,t){if(n&1&&(S(0,"mat-icon"),se(1),R()),n&2){let e=W(2);E(),ft(e.message.callbackButtonIcon)}}function $W(n,t){if(n&1){let e=Re();S(0,"button",14),te("click",function(){ve(e);let r=W();return _e(r.message==null?null:r.message.callbackButtonClick())}),Ae(1,zW,2,1,"mat-icon",15),se(2),ae(3,"translate"),R()}if(n&2){let e=W();E(),A("ngIf",e.message.callbackButtonIcon),E(),Je(" ",me(3,2,e.message.callbackButtonText)," ")}}function GW(n,t){if(n&1){let e=Re();S(0,"tld-close-button",16),te("tldClick",function(){ve(e);let r=W();return _e(r.closeClick())}),R()}if(n&2){let e=W();ne("no-top-margin",!e.message.title||!e.message.body)}}function WW(n,t){if(n&1){let e=Re();S(0,"button",21),te("click",function(){ve(e);let r=W(2);return _e(r.buttonClick())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W(2);E(),Je("",me(2,1,e.message.buttonText)," ")}}function qW(n,t){if(n&1){let e=Re();S(0,"a",22),te("click",function(){ve(e);let r=W(2);return _e(r.linkClick())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W(2);De("href",e.message.linkHref,xh),E(),ft(me(2,2,e.message.linkText))}}function KW(n,t){if(n&1){let e=Re();S(0,"a",23),te("click",function(){ve(e);let r=W(2);return _e(r.linkClick())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W(2);A("routerLink",hb(4,VW,e.message.routerLink)),E(),ft(me(2,2,e.message.linkText))}}function YW(n,t){if(n&1&&(S(0,"div",17),Ae(1,WW,3,3,"button",18)(2,qW,3,4,"a",19)(3,KW,3,6,"a",20),R()),n&2){let e=W();E(),A("ngIf",e.message.buttonText),E(),A("ngIf",e.message.linkHref&&e.message.linkText),E(),A("ngIf",e.message.routerLink&&e.message.linkText)}}var VW,Ok,Vm=f(()=>{"use strict";_();_();Le();mm();ll();OE();En();RE();dr();Et();VW=n=>[n];Ok=(()=>{let t=class t{constructor(){this.buttonClicked=new z,this.closeClicked=new z,this.linkClicked=new z,this.iconNames={BASIC:"info",INFO:"info",ERROR:"error",SUCCESS:"check_circle",WARNING:"info"}}ngOnInit(){this.className=this.message.type.toLocaleLowerCase()}buttonClick(){this.buttonClicked.next(null)}closeClick(){this.closeClicked.next(null)}linkClick(){this.linkClicked.next(null)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},standalone:!1,decls:12,vars:13,consts:[["fxLayout","row","fxLayoutAlign","start start","aria-live","polite","fxLayout","row",1,"notification-message-container","tld-default-border",3,"ngClass.lt-md"],[1,"material-icons-outlined","message-icon"],["fxFlex","",1,"items-container"],["fxLayout","row"],["fxFlex","",1,"text-container"],["class","message-title",3,"innerHtml",4,"ngIf"],["class","message-body",4,"ngIf"],["color","accent","mat-stroked-button","","class","callback-button",3,"click",4,"ngIf"],["class","close-button",3,"no-top-margin","tldClick",4,"ngIf"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center",4,"ngIf"],[1,"message-title",3,"innerHtml"],[1,"message-body"],[3,"innerHtml"],[3,"innerHtml",4,"ngIf"],["color","accent","mat-stroked-button","",1,"callback-button",3,"click"],[4,"ngIf"],[1,"close-button",3,"tldClick"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center"],["class","message-action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","message-action-link",3,"click",4,"ngIf"],["class","message-action-link",3,"routerLink","click",4,"ngIf"],["color","accent","mat-flat-button","",1,"message-action-button",3,"click"],[1,"message-action-link",3,"click"],[1,"message-action-link",3,"click","routerLink"]],template:function(r,o){r&1&&(S(0,"div")(1,"div",0)(2,"span",1),se(3),R(),S(4,"div",2)(5,"div",3)(6,"div",4),Ae(7,BW,2,4,"p",5)(8,HW,4,5,"p",6),R(),Ae(9,$W,4,4,"button",7)(10,GW,1,2,"tld-close-button",8),R(),Ae(11,YW,4,3,"div",9),R()()()),r&2&&(Yn(Fc("notification-message ",o.className)),E(),ne("inline",o.inline),A("ngClass.lt-md","mobile"),De("id",o.message.id),E(2),Je(" ",o.iconNames[o.message.type]," "),E(4),A("ngIf",o.message.title),E(),A("ngIf",o.message.body),E(),A("ngIf",o.message.callbackButtonText),E(),A("ngIf",!o.message.hideClose&&!o.message.callbackButtonText),E(),A("ngIf",o.message.buttonText||o.message.linkHref||o.message.routerLink))},dependencies:[Xi,JO,QO,qO,GO,al,Tk,Mi,jm,Ri,Ct],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title+.message-body) .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]});let n=t;return n})()});var Fk,kk=f(()=>{"use strict";Le();gm();En();RE();Et();Rk();Vm();dr();_();Fk=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[fn,cl,Mk,so,Di,ME,Hp]});let n=t;return n})()});var Vs,FE=f(()=>{"use strict";Vs=function(n){return n.BASIC="BASIC",n.INFO="INFO",n.WARNING="WARNING",n.SUCCESS="SUCCESS",n.ERROR="ERROR",n}(Vs||{})});var Nk=f(()=>{"use strict";FE()});var Lk=f(()=>{"use strict"});var Pk=f(()=>{"use strict";Lk()});var kE=f(()=>{"use strict";kk();Vm();Nk();Pk()});var NE=f(()=>{"use strict"});var jk=f(()=>{"use strict";kE();NE()});var Vk=f(()=>{"use strict"});var Bk=f(()=>{"use strict";Vk()});var Uk=f(()=>{"use strict";NE()});var Hk=f(()=>{"use strict";jk();Bk();Uk()});var zk=f(()=>{"use strict"});var $k=f(()=>{"use strict"});var Gk=f(()=>{"use strict"});var Wk=f(()=>{"use strict"});var qk=f(()=>{"use strict"});var Kk=f(()=>{"use strict"});var Yk=f(()=>{"use strict"});var Qk=f(()=>{"use strict"});var Bs,Zk=f(()=>{"use strict";zC();Bs=class{static isMobileRes(){return window.innerWidth<CF.SMALL}}});var LE=f(()=>{"use strict"});var Xk=f(()=>{"use strict";bo();LE()});var Jk=f(()=>{"use strict";LE()});var PE=f(()=>{"use strict";Xk();Jk()});var eN=f(()=>{"use strict";PE()});var tN=f(()=>{"use strict"});var nN=f(()=>{"use strict"});var bo=f(()=>{"use strict";zk();$k();Gk();Wk();qk();Kk();Yk();Qk();Zk();eN();tN();nN()});var iN=f(()=>{"use strict"});var rN=f(()=>{"use strict"});var oN=f(()=>{"use strict"});var sN=f(()=>{"use strict"});var aN=f(()=>{"use strict"});var lN=f(()=>{"use strict"});var cN=f(()=>{"use strict"});var dN=f(()=>{"use strict"});var uN=f(()=>{"use strict";iN();rN();oN();sN();aN();lN();cN();dN()});var fN=f(()=>{"use strict"});var hN=f(()=>{"use strict"});var pN=f(()=>{"use strict";hN()});var mN=f(()=>{"use strict";bo();uN();fN();pN()});var gN=f(()=>{"use strict";mN()});var yN=f(()=>{"use strict";gN()});var jE=f(()=>{"use strict"});var vN=f(()=>{"use strict";jE()});var _N=f(()=>{"use strict";vN();jE()});var VE=f(()=>{"use strict"});var bN=f(()=>{"use strict";VE()});var xN=f(()=>{"use strict";bN();VE()});var BE=f(()=>{"use strict"});var CN=f(()=>{"use strict";BE()});var EN=f(()=>{"use strict";CN();BE()});var wN,UE=f(()=>{"use strict";_();Et();wN=(()=>{let t=class t{constructor(i){this.translate=i,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.localeSameRegions={nb:["no"],et:["ee"],sl:["si"],sv:["se"],uk:["ua"],en:["gb","us"]},this.translations={en:{mt:"Maltese"},lv:{mt:"Maltie\u0161u"},lt:{mt:"Maltie\u010Di\u0173"},et:{mt:"Malta"}},this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(i,r=!1){if(!i)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let o=`${i}:${r}`;if(this.translationCache.has(o))return this.translationCache.get(o);let s=this.getLanguageFromLanguageCode(i),l=this.isLanguageCodeSameAsRegion(i)?s:i,c=this.getTranslation(l,r);return this.translationCache.set(o,c),c}getTranslation(i,r){let s=this.translate.instant(this.languagesLocalizationKey)[i.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,i);return r&&(s=s.split("(")[0].trim()),s}getLanguageTranslationFromLanguageCode(i,r){let o=new Intl.DisplayNames([i],{type:"language"}),s=new Intl.DisplayNames([i],{type:"region"}),a,l=this.getLanguageFromLanguageCode(r),c=this.getRegionFromLanguageCode(r);try{let d=o.of(l),h=s.of(c);a=`${d} (${h})`}catch{try{a=o.of(r)}catch{return a=this.translations[i]?.[l]??r,a}}return this.capitalizeFirstLetter(a)}isLanguageCodeSameAsRegion(i){let[r,o,s]=i.split("-");return(r===o?.toLowerCase()||this.localeSameRegions[r]?.includes(o?.toLowerCase()))&&!s}getRegionFromLanguageCode(i){let[r,o,s]=i.split("-");return(s?`${o}-${s}`:`${o}`).toUpperCase()}getLanguageFromLanguageCode(i){return i.split("-")[0].toLowerCase()}capitalizeFirstLetter(i){return i.charAt(0).toUpperCase()+i.slice(1)}};t.\u0275fac=function(r){return new(r||t)(T(rr,16))},t.\u0275pipe=ss({name:"languageTranslate",type:t,pure:!1});let n=t;return n})()});var DN=f(()=>{"use strict";UE()});var SN=f(()=>{"use strict";DN();UE()});var IN=f(()=>{"use strict"});var AN=f(()=>{"use strict"});var TN=f(()=>{"use strict"});var MN=f(()=>{"use strict"});var RN=f(()=>{"use strict";IN();AN();TN();MN()});var HE=f(()=>{"use strict";RN()});var ON=f(()=>{"use strict";HE()});var FN=f(()=>{"use strict";ON();HE()});var zE=f(()=>{"use strict"});var kN=f(()=>{"use strict";zE()});var NN=f(()=>{"use strict";kN();zE()});var LN=f(()=>{"use strict";bo()});var PN=f(()=>{"use strict";LN()});var $E=f(()=>{"use strict";bo()});var jN=f(()=>{"use strict";$E()});var VN=f(()=>{"use strict";jN();$E()});var BN=f(()=>{"use strict"});var UN=f(()=>{"use strict";BN()});var HN=f(()=>{"use strict";WE()});var zN=f(()=>{"use strict";UN();HN()});var $N=f(()=>{"use strict";bo()});var GN=f(()=>{"use strict";$N()});var WN=f(()=>{"use strict";bo()});var qN=f(()=>{"use strict";WN()});var KN=f(()=>{"use strict";_N();xN();EN();SN();FN();NN();PN();VN();zN();PE();GN();qN()});var GE,YN=f(()=>{"use strict";KN();_();Et();GE=(()=>{let t=class t{constructor(i){this.translateService=i}getLanguageCodeTranslation(i,r=!1){return new wN(this.translateService).transform(i,r)}removeRegionFromLanguageCode(i){return i.split("-")[0]}};t.\u0275fac=function(r){return new(r||t)(I(rr))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var WE=f(()=>{"use strict";YN()});var qE=f(()=>{"use strict"});var QN=f(()=>{"use strict";qE()});var ZN=f(()=>{"use strict"});var XN=f(()=>{"use strict";ZN();qE()});var JN=f(()=>{"use strict";QN();XN()});var KE=f(()=>{"use strict";AF();RF();Hk();yN();WE();JN()});var xo,YE=f(()=>{"use strict";KE();xo=class{static addPlausible(t){let i=new TF().window;if(!i||!t)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",t),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(t,e){let i=window;i?.plausible&&i.plausible(t,{props:e})}}});var QE=f(()=>{"use strict";YE()});var eL=f(()=>{"use strict";QE()});var tL=f(()=>{"use strict"});var nL=f(()=>{"use strict";tL()});var iL=f(()=>{"use strict";YE();QE();eL();nL()});var Bm,rL=f(()=>{"use strict";Bm=function(n){return n.GENERAL="General",n.PROFESSIONAL="Professional",n.ACADEMIC="Academic",n}(Bm||{})});var Sl,oL=f(()=>{"use strict";_();Sl=new x("LLM_CONFIGURATION_TOKEN")});var sL=f(()=>{"use strict"});var Il=f(()=>{"use strict";oL();sL();vm()});var aL,lL=f(()=>{"use strict";_();Fs();we();FE();Il();_();Fs();aL=(()=>{let t=class t{constructor(i){this.quotaService=i,this.llmConfiguration=u(Sl),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(i){return this.llmConfiguration.useLocalQuota?F(this.setQuotaLocalStorageUsage(i)):this.quotaService.getQuotaUsage().pipe(V(r=>{let o=r.usage.find(s=>s.quotaType===Ye.LLM_REQUESTS||s.quotaType===Ye.LEGACY_LLM_REQUESTS);return o?o.quotaRemaining:this.setQuotaLocalStorageUsage(i)}),on(()=>F(this.setQuotaLocalStorageUsage(i))))}getExceededLimitMessage(i){return{type:Vs.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:i}}}getReachedQuotaMessage(){return{type:Vs.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:Vs.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(i){return{type:Vs.ERROR,body:`LLM.ERRORS.${i}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(i){let r=localStorage.getItem(this.LLMQuotaLocalStorageKey),o=new Date,s={remainingQuota:this.trialRequestCount,lastUsedAt:o};if(r){s=JSON.parse(r);let l=new Date(s.lastUsedAt);(l.getDate()!==o.getDate()||l.getMonth()!==o.getMonth()||l.getFullYear()!==o.getFullYear())&&(s.remainingQuota=this.trialRequestCount),i&&(s.remainingQuota-=1)}return s.lastUsedAt=o,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(s)),s.remainingQuota}};t.\u0275fac=function(r){return new(r||t)(I(bF))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var ZE,cL,dL,XE=f(()=>{"use strict";_();_();ZE=class{_document;_textarea;constructor(t,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let t=this._textarea,e=!1;try{if(t){let i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let t=this._textarea;t&&(t.remove(),this._textarea=void 0)}},cL=(()=>{class n{_document=u(U);constructor(){}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new ZE(e,this._document)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),dL=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=N({type:n});static \u0275inj=k({})}return n})()});var o4,uL,JE=f(()=>{"use strict";_();to();we();_();XE();En();dr();to();co();ll();Et();o4=["textarea"],uL=(()=>{let t=class t{constructor(i){this.clipboard=i,this.textEditEvent=new z,this.dislikeEvent=new z,this.copyEvent=new z,this.destroy=new M}ngOnInit(){this.textareaControl=new ld(this.text)}ngAfterViewInit(){aa(this.textarea.nativeElement,"keyup").pipe(ke(i=>{i.ctrlKey&&i.key==="c"&&this.copyEvent.emit()}),Vi(300),Ee(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(i){i&&i.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),i&&i.text&&(this.textareaControl=new ld(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}};t.\u0275fac=function(r){return new(r||t)(T(cL))},t.\u0275cmp=$({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(r,o){if(r&1&&Be(o4,5),r&2){let s;be(s=xe())&&(o.textarea=s.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},standalone:!1,features:[je],decls:18,vars:13,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],[1,"material-icons-outlined","llm-eu-data-tooltip",3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons-outlined","copy"],["mat-icon-button","",3,"click","disabled","matTooltip"],[1,"material-icons-outlined","dislike"]],template:function(r,o){if(r&1){let s=Re();S(0,"div",1)(1,"div",2)(2,"textarea",3,0),se(4," "),R(),S(5,"div",4)(6,"mat-icon",5),ae(7,"translate"),se(8," gpp_maybe "),R(),S(9,"div")(10,"button",6),ae(11,"translate"),te("click",function(){return ve(s),_e(o.dislike())}),S(12,"mat-icon",7),se(13," thumb_down "),R()(),S(14,"button",8),ae(15,"translate"),te("click",function(){return ve(s),_e(o.copy())}),S(16,"mat-icon",9),se(17," content_copy "),R()()()()()()}r&2&&(A("ngClass.gt-lg","desktop"),E(2),A("formControl",o.textareaControl),E(4),A("matTooltip",me(7,7,"LLM.EU_DATA_TOOLTIP")),E(4),A("matTooltip",me(11,9,"TOOLTIPS.DISLIKE"))("disabled",o.actionButtonsDisabled||!o.textareaControl.value),E(4),A("disabled",o.actionButtonsDisabled||!o.textareaControl.value)("matTooltip",me(15,11,"TOOLTIPS.COPY")))},dependencies:[vs,Ri,Wa,qa,Cx,fr,al,Ct],styles:[".llm-wrapper[_ngcontent-%COMP%]{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper[_ngcontent-%COMP%]{position:relative}.llm-textarea[_ngcontent-%COMP%]{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop[_ngcontent-%COMP%] .llm-textarea[_ngcontent-%COMP%]{min-height:490px}.llm-textarea-actions[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip[_ngcontent-%COMP%]{margin-left:16px}"]});let n=t;return n})()});function l4(n,t){if(n&1){let e=Re();S(0,"lib-tld-notification-message",15),te("closeClicked",function(){let r=ve(e).$implicit,o=W();return _e(o.closeMessage(r))}),R()}if(n&2){let e=t.$implicit;A("message",e)}}function c4(n,t){if(n&1&&(S(0,"mat-option",18),se(1),ae(2,"uppercase"),ae(3,"translate"),R()),n&2){let e=t.$implicit;A("value",e),E(),Je(" ",me(3,4,"LLM.USE_CASE."+me(2,2,e))," ")}}function d4(n,t){if(n&1){let e=Re();S(0,"mat-form-field",16)(1,"mat-label"),se(2),ae(3,"translate"),R(),S(4,"mat-select",17),cs("ngModelChange",function(r){ve(e);let o=W();return Oa(o.selectedUseCase,r)||(o.selectedUseCase=r),_e(r)}),lb(5,c4,4,6,"mat-option",18,ab),R()()}if(n&2){let e=W();E(2),ft(me(3,3,"LLM.USE_CASES_LABEL")),E(2),A("disabled",e.isLoading),ls("ngModel",e.selectedUseCase),E(),cb(e.useCases)}}function u4(n,t){if(n&1&&(de(0,"div",19),ae(1,"translate")),n&2){let e=W();A("innerHTML",ds(1,1,e.localizationKey+"LIMIT",pb(4,a4,e.quotaLeft,e.subscriptionUrl)),Ci)}}function f4(n,t){if(n&1){let e=Re();S(0,"button",20),te("click",function(){ve(e);let r=W();return _e(r.cancel())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W();E(),Je(" ",me(2,1,e.localizationKey+"CANCEL")," ")}}function h4(n,t){if(n&1&&(S(0,"button",21),se(1),ae(2,"translate"),R()),n&2){let e=W();A("mat-dialog-close",null),E(),Je(" ",me(2,2,e.localizationKey+"CLOSE")," ")}}function p4(n,t){if(n&1&&(S(0,"span"),se(1),ae(2,"translate"),R()),n&2){let e=W();E(),Je(" ",me(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function m4(n,t){if(n&1&&(se(0),ae(1,"translate")),n&2){let e=W();Je(" ",me(1,1,e.localizationKey+"ACTION")," ")}}function g4(n,t){n&1&&de(0,"mat-spinner",22),n&2&&A("diameter",20)}var a4,fL,ew=f(()=>{"use strict";go();Fs();we();zC();iL();vm();rL();_();Fs();lL();Le();En();go();to();um();Ld();Vm();$p();JE();Et();a4=(n,t)=>({limit:n,subscriptionUrl:t});fL=(()=>{let t=class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(i,r,o){this.llmService=i,this.llmHelperService=r,this.data=o,this.selectedWritingStyle=Bm.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=Xt,this.writingStyles=Object.values(Bm),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===Xt.REPHRASE?(this.useCases=this.data.rephraseUseCases??Object.values(UC),this.selectedUseCase=this.useCases[0]):this.llmActionType===Xt.SUMMARY&&(this.useCases=this.data.summaryUseCases??Object.values(bm),this.selectedUseCase=bm.General),this.showUseCase=this.llmActionType===Xt.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===Xt.SUMMARY&&this.data.showUseCaseSummary}closeMessage(i){let r=this.messages?.findIndex(o=>JSON.stringify(o)===JSON.stringify(i));(r||r===0)&&this.messages.splice(r,1)}checkRephrasedTextSaves(i){i.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=i.value);let r=this.savedRephrasings.find(s=>s.style===this.selectedWritingStyle),o=this.savedRephrasings.find(s=>s.style===this.previousWritingStyle);o?o.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=r?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===Xt.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(i){this.manuallyEditedText=i,this.initialText=i,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(i=>{this.initialText=i,this.llmActionType=this.data.action,this.localizationKey=`LLM.${this.llmActionType}_MODAL.`,this.subscriptionUrl=this.llmHelperService.llmConfiguration.subscriptionUrl,this.maxCharLength=this.llmHelperService.llmConfiguration.maxCharLength,this.refreshQuota()})}checkTextLimit(){let i=this.maxCharLength,r=[this.initialText,this.manuallyEditedText,this.editedText],o=this.editedText&&!this.manuallyEditedText?this.editedText:r.reduce((s,a)=>s.length>a.length?s:a);if(o.length>i){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(o.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(i){this.llmHelperService.getRemainingQuota(i).subscribe(r=>{this.quotaLeft=r,this.setQuotaMessage()})}setQuotaMessage(){this.quotaLeft<=this.llmHelperService.trialRequestCount&&(this.remainingQuotaMessageVisible=!0),this.quotaLeft<1&&(this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.messages.push(this.reachedQuotaMessage))}getRequest(){let i=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return i.length>this.maxCharLength&&(i=i.substring(0,this.maxCharLength)),(this.llmActionType===Xt.REPHRASE?this.llmService.rephrase({text:i,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:i,language:this.data.language,useCase:this.selectedUseCase})).pipe(sn(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:i=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=i,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:i=>{if(i.status===HC.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}};t.\u0275fac=function(r){return new(r||t)(T(_F),T(aL),T(ul))},t.\u0275cmp=$({type:t,selectors:[["lib-llm-textarea-with-actions"]],standalone:!1,decls:20,vars:22,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],[3,"message","closeClicked",4,"ngFor","ngForOf"],["color","accent","class","w-full llm-writing-style-select","appearance","outline",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled","actionButtonsDisabled"],["mat-dialog-actions","",1,"llm-actions-wrapper"],["class","quota-left-message",3,"innerHTML",4,"ngIf"],[1,"llm-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],[4,"ngIf","ngIfElse"],["color","primary-accent-darker",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"],[1,"quota-left-message",3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","primary-accent-darker",3,"diameter"]],template:function(r,o){if(r&1){let s=Re();S(0,"h1",2),se(1),ae(2,"translate"),R(),S(3,"div",3),de(4,"p",4),ae(5,"translate"),Ae(6,l4,1,1,"lib-tld-notification-message",5)(7,d4,7,5,"mat-form-field",6),S(8,"lib-llm-textarea",7),te("textEditEvent",function(l){return ve(s),_e(o.textEditEvent(l))})("copyEvent",function(){return ve(s),_e(o.copyPlausibleEvent())})("dislikeEvent",function(){return ve(s),_e(o.dislikePlausibleEvent())}),R()(),S(9,"div",8),Ae(10,u4,2,7,"div",9),S(11,"div",10),Ae(12,f4,3,3,"button",11)(13,h4,3,4,"ng-template",null,0,Qr),S(15,"button",12),te("click",function(){return ve(s),_e(o.getEditedText())}),Ae(16,p4,3,3,"span",13)(17,m4,2,3,"ng-template",null,1,Qr)(19,g4,1,1,"mat-spinner",14),R()()()}if(r&2){let s=Yt(14),a=Yt(18);E(),ft(me(2,18,o.localizationKey+"TITLE")),E(3),A("innerHTML",me(5,20,o.localizationKey+"DESCRIPTION"),Ci),E(2),A("ngForOf",o.messages),E(),A("ngIf",o.showUseCase),E(),ne("rephrase",o.llmActionType===o.llmActions.REPHRASE),A("text",o.editedText!==""?o.editedText:o.initialText)("disabled",o.isLoading||!o.quotaLeft)("actionButtonsDisabled",!o.isEdited),E(2),A("ngIf",o.remainingQuotaMessageVisible),E(),ne("w-full",!o.remainingQuotaMessageVisible),E(),A("ngIf",o.isLoading)("ngIfElse",s),E(3),A("disabled",o.isDisabled),E(),A("ngIf",o.llmActionType===o.llmActions.SUMMARY)("ngIfElse",a),E(3),A("ngIf",o.isLoading)}},dependencies:[ka,Xi,Mi,$d,Gd,qd,Wd,qa,cd,Ms,Ts,kd,hr,Ok,zp,uL,jb,Ct],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"]});let n=t;return n})()});var y4,v4,hL=f(()=>{"use strict";y4=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
35
29
  <path d="M4 5H18.6286V6.82857H4V5ZM4 10.4857H18.6286V8.65714H4V10.4857ZM4 14.1429H10.4V12.3143H4V14.1429ZM4 17.8H10.4V15.9714H4V17.8Z" fill="currentColor"/>
36
30
  <path d="M17.4005 13.3093C17.0801 12.5922 16.0622 12.5922 15.7418 13.3093L15.1052 14.7341L13.6804 15.3707C12.9633 15.6911 12.9633 16.709 13.6804 17.0294L15.1052 17.666L15.7418 19.0908C16.0622 19.8079 17.0801 19.8079 17.4005 19.0908L18.0371 17.666L19.4619 17.0294C20.179 16.709 20.179 15.6911 19.4619 15.3707L18.0371 14.7341L17.4005 13.3093Z" fill="currentColor"/>
37
31
  <path d="M13.5612 12.0546C13.4438 11.7917 13.0705 11.7917 12.953 12.0546L12.7196 12.577L12.1972 12.8105C11.9343 12.9279 11.9343 13.3012 12.1972 13.4187L12.7196 13.6521L12.953 14.1745C13.0705 14.4374 13.4438 14.4374 13.5612 14.1745L13.7947 13.6521L14.3171 13.4187C14.58 13.3012 14.58 12.9279 14.3171 12.8105L13.7947 12.577L13.5612 12.0546Z" fill="currentColor"/>
38
32
  </svg>
39
- `,G8=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
33
+ `,v4=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
40
34
  <path fill-rule="evenodd" clip-rule="evenodd" d="M19.879 4.16166L21.229 5.51166C22.019 6.29166 22.019 7.56166 21.229 8.34166L7.99897 21.5717H3.81897V17.3917L14.219 6.98166L17.049 4.16166C17.829 3.38166 19.099 3.38166 19.879 4.16166ZM5.81897 19.5717L7.22897 19.6317L17.049 9.80166L15.639 8.39166L5.81897 18.2117V19.5717Z" fill="currentColor"/>
41
35
  <path d="M19.5181 19.798L18.8644 21.261C18.6793 21.6752 18.0913 21.6752 17.9062 21.261L17.2526 19.798C17.1471 19.5621 16.9584 19.3734 16.7225 19.268L15.2595 18.6143C14.8453 18.4292 14.8453 17.8412 15.2595 17.6561L16.7225 17.0024C16.9584 16.897 17.1471 16.7083 17.2526 16.4724L17.9062 15.0094C18.0913 14.5952 18.6793 14.5952 18.8644 15.0094L19.5181 16.4724C19.6235 16.7083 19.8122 16.897 20.0481 17.0024L21.5111 17.6561C21.9253 17.8412 21.9253 18.4292 21.5111 18.6143L20.0481 19.268C19.8122 19.3734 19.6235 19.5621 19.5181 19.798Z" stroke="#474D53"/>
42
36
  <path d="M9.88502 3.56437C9.75242 3.26761 9.33117 3.26761 9.19857 3.56437L8.93512 4.15399L8.3455 4.41744C8.04874 4.55003 8.04874 4.97129 8.3455 5.10389L8.93512 5.36733L9.19857 5.95696C9.33117 6.25372 9.75242 6.25372 9.88502 5.95696L10.1485 5.36733L10.7381 5.10389C11.0349 4.97129 11.0349 4.55003 10.7381 4.41744L10.1485 4.15399L9.88502 3.56437Z" fill="currentColor"/>
43
37
  <path d="M6.50947 5.80395C6.31057 5.35881 5.67869 5.35881 5.4798 5.80395L5.08462 6.68839L4.20019 7.08356C3.75505 7.28245 3.75505 7.91434 4.20019 8.11323L5.08462 8.5084L5.4798 9.39284C5.67869 9.83798 6.31057 9.83798 6.50947 9.39284L6.90464 8.5084L7.78907 8.11323C8.23421 7.91434 8.23421 7.28245 7.78907 7.08356L6.90464 6.68839L6.50947 5.80395Z" fill="currentColor"/>
44
38
  </svg>
45
- `});var JC={};BF(JC,{REPHRASE:()=>G8,SUMMARIZE:()=>$8});var oN=f(()=>{"use strict";rN()});var sN,aN=f(()=>{"use strict";b();fn();Or();mt();b();Or();fn();sN=(()=>{class t{constructor(){this.data=u(xa)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-new-feature-dialog"]],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(i,r){i&1&&(E(0,"h2",0),se(1),le(2,"translate"),M(),E(3,"mat-dialog-content"),q(4,"p",1),le(5,"translate"),M(),E(6,"mat-dialog-actions")(7,"button",2),se(8),le(9,"translate"),M()()),i&2&&(x(),ft(be(2,3,r.data.title)),x(3),S("innerHTML",be(5,5,r.data.description),Ti),x(4),Je(" ",be(9,7,r.data.close)," "))},dependencies:[jo,jc,Vc,Uc,Bc,wr,si,pt],styles:["[_nghost-%COMP%] {display:inline-block;padding:12px 16px}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] mat-dialog-actions, [_nghost-%COMP%] mat-dialog-content{padding:0!important;margin:0!important}"]})}}return t})()});var lN,cN=f(()=>{"use strict";b();b();lN=(()=>{class t{constructor(){this.current=cn(void 0),this.queue=[]}requestOpenFeature(e){this.queue.includes(e)||(this.queue.push(e),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let e=this.queue.shift();e&&(this.current.set(e),e.showFeatureDialog())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var ja,Mp=f(()=>{"use strict";b();Or();pe();aN();Pr();cN();Se();b();ja=(()=>{class t{constructor(){this.timeout=0,this.maxWidth=320,this.#e=u(Rr),this.#t=u(lN),this.#n=new T,this.featureActive=cn(!1),this.isFeatureSeen=!1}#e;#t;#n;ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){this.#n.next(null),this.#n.complete()}showFeatureDialog(){let e=document.querySelector(`.${this.featureClassName}`);e&&(Go.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let i=e.getBoundingClientRect();this.dialogRef=this.#e.open(sN,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${Go.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:i.left-this.maxWidth+"px"}`,top:`${Go.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:i.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),this.#t.current.set(void 0),this.#t.showNextFeature()})},Go.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||this.#t.requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},decls:0,vars:0,template:function(i,r){},dependencies:[Jt,jo],encapsulation:2})}}return t})()});var uN,ex=f(()=>{"use strict";b();Pa();b();fn();Gi();Mp();mt();uN=(()=>{class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(Vt.SUMMARY)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:12,consts:[["summarizeFeature",""],["mat-stroked-button","","color","accent",1,"llm-summary",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey"]],template:function(i,r){if(i&1){let o=ke();E(0,"button",1),ee("click",function(){return Ce(o),xe(r.openModal())}),q(1,"mat-icon",2),se(2),le(3,"translate"),M(),q(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=Xt(5);Q("summarize-feature-active",o==null?null:o.featureActive()),S("disabled",!r.isTextSummarizable),x(),S("svgIcon","summarize"),x(),Je(" ",be(3,10,"LLM.SUMMARY"),`
46
- `),x(2),S("titleLocalizationKey","LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName","llm-summary")("featureLocalStorageKey","summary"+r.newFeatureLocalStorageKey)}},dependencies:[si,ai,ja,pt],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});var fN,tx=f(()=>{"use strict";b();Pa();b();fn();Gi();Mp();mt();fN=(()=>{class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(Vt.REPHRASE)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:13,consts:[["rephraseFeature",""],["mat-stroked-button","","color","accent",1,"llm-rephrase",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey","maxWidth"]],template:function(i,r){if(i&1){let o=ke();E(0,"button",1),ee("click",function(){return Ce(o),xe(r.openModal())}),q(1,"mat-icon",2),se(2),le(3,"translate"),M(),q(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=Xt(5);Q("rephrase-feature-active",o==null?null:o.featureActive()),S("disabled",!r.isTargetLanguageRephrasable),x(),S("svgIcon","rephrase"),x(),Je(" ",be(3,11,"LLM.REPHRASE"),`
47
- `),x(2),S("titleLocalizationKey","LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName","llm-rephrase")("featureLocalStorageKey","rephrase"+r.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[si,ai,ja,pt],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});function K8(t,n){if(t&1){let e=ke();E(0,"div",2),le(1,"translate"),E(2,"lib-llm-summary",3),ee("openModalEvent",function(r){Ce(e);let o=G();return xe(o.openLLMModal(r))}),M()()}if(t&2){let e=G();S("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":be(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),x(2),S("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function Y8(t,n){if(t&1){let e=ke();E(0,"div",2),le(1,"translate"),E(2,"lib-llm-rephrase",4),ee("openModalEvent",function(r){Ce(e);let o=G();return xe(o.openLLMModal(r))}),M()()}if(t&2){let e=G();S("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":be(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),x(2),S("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var hN,Tp=f(()=>{"use strict";b();rp();XC();oN();Se();b();Or();WC();pe();Sr();ex();tx();mt();hN=(()=>{class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(e,i,r){this.dialog=e,this.iconService=i,this.languageService=r,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new z,this.llmAction=Vt,this.iconService.registerIcons(JC)}openLLMModal(e){let i;!this.text||typeof this.text=="string"?i=k(this.text??""):i=this.text;let r={text:i,language:this.language,action:e,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase,summaryUseCases:this.summaryUseCases,rephraseUseCases:this.rephraseUseCases};this.dialog.open(iN,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:r})}static{this.\u0275fac=function(i){return new(i||t)(A(Rr),A(vR),A(zC))}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList",summaryEnabled:"summaryEnabled",rephraseEnabled:"rephraseEnabled",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase",newFeatureLocalStorageKey:"newFeatureLocalStorageKey",rephraseUseCases:"rephraseUseCases",summaryUseCases:"summaryUseCases"},outputs:{menuTriggerClick:"menuTriggerClick"},standalone:!1,decls:3,vars:2,consts:[[1,"llm-wrapper"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],[3,"openModalEvent","isTextSummarizable","newFeatureLocalStorageKey"],[3,"openModalEvent","isTargetLanguageRephrasable","newFeatureLocalStorageKey"]],template:function(i,r){i&1&&(E(0,"div",0),re(1,K8,3,6,"div",1)(2,Y8,3,6,"div",1),M()),i&2&&(x(),S("ngIf",r.summaryEnabled),x(),S("ngIf",r.rephraseEnabled))},dependencies:[ki,Ki,uN,fN,pt],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]})}}return t})()});var pN=f(()=>{"use strict"});var mN=f(()=>{"use strict";pN()});var gN=f(()=>{"use strict";Mp();mN()});var yN,vN=f(()=>{"use strict";pe();Tp();fn();Gi();mt();Or();QC();vr();ZC();Ac();OC();Sr();np();Th();XC();gN();tx();ex();b();yN=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[Jt,wr,Ih,ni,jo,tN,sh,EM,Tc,EO,No,_a,xT,ja]})}}return t})()});var bN=f(()=>{"use strict";Tp();vN();Pa()});var _N,CN=f(()=>{"use strict";_N={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrasing turns raw speech into smooth, readable text \u2013 fast.",MENU_TOOLTIP:"Rephrase or summarize",MENU_DISABLED_TOOLTIP:"Summary and rephrase functions are not available",MENU_SUMMARY_DISABLED_TOOLTIP:"Summary available for texts that contain at least 100 characters",MENU_REPHRASE_DISABLED_TOOLTIP:"Rephrase is not available in selected language",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Feature unavailable",EU_DATA_TOOLTIP:"We utilise the Azure OpenAI Service, the entered data is securely processed on servers located within the EU",REPHRASE_MODAL:{TITLE:"Rephrase",DESCRIPTION:"Rephrase text into a specified writing style, adapting the language and tone to match a given target style or voice.",CLOSE:"Close",CANCEL:"Cancel",ACTION:"Rephrase",LIMIT:"Rephrases left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},SUMMARY_MODAL:{TITLE:"Summary",DESCRIPTION:"Quickly condense lengthy texts into clear summaries using our advanced LLM feature.",CANCEL:"Cancel",CLOSE:"Close",ACTION:"Create summary",REGENERATE:"Re-generate",LIMIT:"Summaries left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},ERRORS:{QUOTA_LIMIT_REACHED:"You have reached your quota limit. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>",DEFAULT:"It seems like we had problem, please <bold>repeat</bold> action, if it doesn't work, contact our <a href='mailto:{{supportEmail}}' target='_blank'>support team</a>."},USE_CASE:{MEETING:"Meeting notes (detailed)",MEETINGBRIEF:"Meeting (overview)",EVENT:"Conference",GENERAL:"General",BRIEF:"Brief",TRANSCRIPTEDITOR:"Professional",TRANSCRIPTCLEANUP:"Cleanup"}},ERRORS:{MAX_CHAR_LENGTH:"Only {{maxCharLength}}/{{totalSymbols}} characters will be rephrased/summarized."}},et:{TOOLTIPS:{COPY:"Kopeerige l\xF5ikelauale",DISLIKE:"Ei meeldi"},LLM:{USE_CASES_LABEL:"Kasuta juhtumit",SUMMARY:"Tee kokkuv\xF5te",MENU_TOOLTIP:"S\xF5nasta \xFCmber v\xF5i tee kokkuv\xF5te",MENU_DISABLED_TOOLTIP:"Kokkuv\xF5tte tegemise ja \xFCmbers\xF5nastamise funktsioonid ei ole saadaval",MENU_SUMMARY_DISABLED_TOOLTIP:"Kokkuv\xF5tet saab teha tekstidele, milles on rohkem kui 100 t\xE4hem\xE4rki",MENU_REPHRASE_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamine ei ole valitud keeles saadaval",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funktsioon ei ole saadaval",TITLE:"S\xF5nasta \xFCmber",REPHRASE:"T\xF5lke \xFCmbers\xF5nastamine",EU_DATA_TOOLTIP:"Kasutame Azure OpenAI teenust, sisestatud andmeid t\xF6\xF6deldakse turvaliselt EL-is asuvates serverites",REPHRASE_MODAL:{TITLE:"T\xF5lke \xFCmbers\xF5nastamine",DESCRIPTION:"S\xF5nastage tekst \xFCmber kindlaksm\xE4\xE4ratud kirjastiili, kohandades keelt ja tooni vastavalt sihtstiilile v\xF5i -h\xE4\xE4lele.",CLOSE:"Sulge",CANCEL:"Loobu",ACTION:"\xDCmbers\xF5nastamine",REPHRASING:"\xDCmbers\xF5nastamine...",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused: <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Hankige tellimus</a>"},SUMMARY_MODAL:{TITLE:"Kokkuv\xF5te",DESCRIPTION:"Tehke pikad tekstid kiiresti selgeteks kokkuv\xF5teteks, kasutades meie t\xE4iustatud LLM-funktsiooni.",CANCEL:"Loobu",CLOSE:"Sulge",ACTION:"Kokkuv\xF5tte loomine",REGENERATE:"Uuesti loomine",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>"},USE_CASE:{MEETING:"Koosoleku m\xE4rkmed (\xFCksikasjalikud)",MEETINGBRIEF:"Koosolek (\xFClevaade)",EVENT:"Konverents",GENERAL:"\xDCldine",BRIEF:"L\xFChike",TRANSCRIPTEDITOR:"Professionaalne",TRANSCRIPTCLEANUP:"Puhastus"},ERRORS:{QUOTA_LIMIT:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",QUOTA_LIMIT_REACHED:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",DEFAULT:"N\xE4ib, et meil on probleem, palun <bold>korrake</bold> tegevust. Kui see ei \xF5nnestu, v\xF5tke \xFChendust meie<a href='mailto:{{supportEmail}}' target='_blank'>tugimeeskonnaga</a>."}},ERRORS:{MAX_CHAR_LENGTH:"\xDCmber s\xF5nastatakse/summeeritakse ainult {{maxCharLength}}/{{totalSymbols}} m\xE4rki."}},lt:{TOOLTIPS:{COPY:"Kopijuoti \u012F main\u0173 srit\u012F",DISLIKE:"Nepatinka"},LLM:{SUMMARY:"Kurti santrauk\u0105",USE_CASES_LABEL:"Naudoti atvej\u012F",MENU_TOOLTIP:"Performuluoti arba kurti santrauk\u0105",MENU_DISABLED_TOOLTIP:"Santraukos ir performulavimo funkcij\u0173 n\u0117ra",MENU_SUMMARY_DISABLED_TOOLTIP:"Santrauka galima, jei tekst\u0105 sudaro bent 100 simboli\u0173",MENU_REPHRASE_DISABLED_TOOLTIP:"Pasirinkta kalba performuluoti negalima",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nepasiekiama",TITLE:"Performuluoti",REPHRASE:"Perfrazuoti vertim\u0105",EU_DATA_TOOLTIP:"Naudojame Azure OpenAI paslaug\u0105, \u012Fvesti duomenys saugiai apdorojami ES esan\u010Diuose serveriuose",REPHRASE_MODAL:{TITLE:"Perfrazuoti vertim\u0105",DESCRIPTION:"Perfrazuoti tekst\u0105 nurodytu ra\u0161ymo stiliumi pritaikant kalb\u0105 ir ton\u0105 prie tikslinio stiliaus ar tipo.",CLOSE:"U\u017Edaryti",CANCEL:"At\u0161aukti",ACTION:"Perfrazuoti",REPHRASING:"Perfrazuojama...",LIMIT:"\u0160iandien lik\u0119 perfrazavimai: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>"},SUMMARY_MODAL:{DESCRIPTION:"Greitai sutrumpinti ilgus tekstus \u012F ai\u0161kias santraukas naudojant LLM funkcij\u0105.",CANCEL:"At\u0161aukti",CLOSE:"U\u017Edaryti",ACTION:"Kurti santrauk\u0105",REGENERATE:"Generuoti i\u0161 naujo",LIMIT:"\u0160iandien likusios santraukos: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",TITLE:"Santrauka"},USE_CASE:{MEETING:"Susitikimo u\u017Era\u0161ai (i\u0161sam\u016Bs)",MEETINGBRIEF:"Susitikimas (ap\u017Evalga)",EVENT:"Konferencija",GENERAL:"Bendrasis",BRIEF:"Trumpas",TRANSCRIPTEDITOR:"Profesionalus",TRANSCRIPTCLEANUP:"Valymas"},ERRORS:{QUOTA_LIMIT:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",QUOTA_LIMIT_REACHED:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",DEFAULT:"Atrodo, kilo problema. <bold>Pakartokite</bold> veiksm\u0105, o jei tai nepadeda, susisiekite su m\u016Bs\u0173 <a href='mailto:{{supportEmail}}' target='_blank'>palaikymo komanda</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Bus performuluoti/apibendrinti tik {{maxCharLength}}/{{totalSymbols}} simboliai."}},lv:{TOOLTIPS:{COPY:"Kop\u0113t starpliktuv\u0113",DISLIKE:"Nepat\u012Bk"},LLM:{SUMMARY:"Apkopot",USE_CASES_LABEL:"Lieto\u0161anas nol\u016Bks",MENU_TOOLTIP:"P\u0101rfr\u0101z\u0113t vai Apkopot",MENU_DISABLED_TOOLTIP:"Funkcijas p\u0101rfr\u0101z\u0113t vai apkopot nav pieejamas",MENU_SUMMARY_DISABLED_TOOLTIP:"Apokopot iesp\u0113jams tikai tekstus gar\u0101kus par 100 z\u012Bm\u0113m",MENU_REPHRASE_DISABLED_TOOLTIP:"Izv\u0113l\u0113taj\u0101 valod\u0101 nav pieejama p\u0101rfr\u0101z\u0113\u0161anas funkcija",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nav pieejama",EU_DATA_TOOLTIP:"M\u0113s izmantojam Azure OpenAI pakalpojumu, ievad\u012Btie dati tiek dro\u0161i apstr\u0101d\u0101ti serveros, kas atrodas ES",TITLE:"P\u0101rfr\u0101z\u0113\u0161ana",REPHRASE:"P\u0101rfr\u0101z\u0113t",REPHRASE_MODAL:{TITLE:"Tulkojuma p\u0101rfr\u0101z\u0113\u0161ana",DESCRIPTION:"P\u0101rfr\u0101z\u0113jiet tekstu nor\u0101d\u012Btaj\u0101 rakst\u012Bbas stil\u0101, piel\u0101gojot valodu un toni, lai tas atbilstu nor\u0101d\u012Btajam m\u0113r\u0137a stilam vai v\u0113st\u012Bjumam.",CLOSE:"Aizv\u0113rt",CANCEL:"Atcelt",ACTION:"P\u0101rfr\u0101z\u0113t",REPHRASING:"P\u0101rfr\u0101z\u0113\u0161ana...",LIMIT:"\u0160odien atliku\u0161\u0101s p\u0101rfr\u0101z\u0113\u0161anas darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},SUMMARY_MODAL:{TITLE:"Kopsavilkums",DESCRIPTION:"\u0100tri apkopojiet garus tekstus skaidros kopsavilkumos, izmantojot m\u016Bsu moderno LLM funkciju.",CANCEL:"Atcelt",CLOSE:"Aizv\u0113rt",ACTION:"Izveidot kopsavilkumu",REGENERATE:"\u0122ener\u0113t atk\u0101rtoti",LIMIT:"\u0160odien atliku\u0161\u0101s kopsavilkuma darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},USE_CASE:{MEETING:"San\u0101ksmes piez\u012Bmes (detaliz\u0113tas)",MEETINGBRIEF:"San\u0101ksme (p\u0101rskats)",EVENT:"Konference",GENERAL:"Visp\u0101r\u012Bgs",BRIEF:"\u012Ass",TRANSCRIPTEDITOR:"Profesion\u0101ls",TRANSCRIPTCLEANUP:"T\u012Br\u012B\u0161ana"},ERRORS:{QUOTA_LIMIT:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",QUOTA_LIMIT_REACHED:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",DEFAULT:"\u0160\u0137iet, mums rad\u0101s probl\u0113ma. L\u016Bdzu, <bold>atk\u0101rtojiet</bold> darb\u012Bbu. Ja tas nepal\u012Bdz, sazinieties ar m\u016Bsu <a href='mailto:{{supportEmail}}' target='_blank'>atbalsta komandu</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Tikai {{maxCharLength}}/{{totalSymbols}} rakstz\u012Bmes tiks p\u0101rfraz\u0113tas/apkopotas."}}}});var Ap,nx=f(()=>{"use strict";b();bN();hb();CN();Vo();b();Tp();Ap=(()=>{class t extends zf{#e;#t;get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(e){this._showUseCaseSummary=this.ensureTypeBool(e)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(e){this._showUseCaseRephrase=this.ensureTypeBool(e)}constructor(){super(_N),this.#e=u(La),this.#t=u(Hc),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}ngOnInit(){super.ngOnInit(),this.#n()}ngOnChanges(){super.ngOnChanges(),this.#n()}#n(){this.#r(),this.#i()}#r(){this.serviceUrl&&(this.#t.llmService.url=this.serviceUrl),this.subscriptionUrl&&(this.#e.subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(this.#e.supportEmail=this.supportEmail),this.appId&&(this.#t.sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(this.#e.maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(this.#e.useLocalQuota=this.ensureTypeBool(this.useLocalQuota))}#i(){this.quotaServiceUrl&&(this.#t.quotaService.url=this.quotaServiceUrl)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",useLocalQuota:"useLocalQuota",quotaServiceUrl:"quotaServiceUrl",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase"},features:[ge,Ve],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(i,r){i&1&&q(0,"lib-llm",0),i&2&&S("language",r.language)("text",r.text)("showUseCaseSummary",r.showUseCaseSummary)("showUseCaseRephrase",r.showUseCaseRephrase)},dependencies:[yN,hN],encapsulation:2})}}return t})()});var Z8,X8,J8,e4,xN,wN=f(()=>{"use strict";pe();O_();nx();b();Z8=()=>({voice:"lv-LV-male",voiceName:"Austris"}),X8=()=>({voice:"lv-LV-female",voiceName:"Marta"}),J8=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),e4=(t,n,e)=>[t,n,e],xN=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-root"]],features:[Tt([])],decls:2,vars:12,consts:[["language","lv","text","This is shor text to be summarized or rephrased. I just want to test if it is working or not. Just to make sure. Please change this text.",3,"showUseCaseSummary","showUseCaseRephrase","useLocalQuota"],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","maxCharLength"]],template:function(i,r){i&1&&q(0,"app-llm",0)(1,"app-text-to-speech",1),i&2&&(S("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),x(),S("voices",aI(8,e4,bf(5,Z8),bf(6,X8),bf(7,J8)))("maxCharLength",500))},dependencies:[Jt,ip,Ap],encapsulation:2})}}return t})()});var EN,DN=f(()=>{"use strict";EN={production:!0}});function SN(t,n=null){return{type:ye.Sequence,steps:t,options:n}}function ix(t){return{type:ye.Style,styles:t,offset:null}}var ye,Un,er,Va,cd,rx=f(()=>{"use strict";ye=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(ye||{}),Un="*";er=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Va=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},cd="!"});function IN(t){return new w(3e3,!1)}function t4(){return new w(3100,!1)}function n4(){return new w(3101,!1)}function i4(t){return new w(3001,!1)}function r4(t){return new w(3003,!1)}function o4(t){return new w(3004,!1)}function TN(t,n){return new w(3005,!1)}function AN(){return new w(3006,!1)}function RN(){return new w(3007,!1)}function ON(t,n){return new w(3008,!1)}function kN(t){return new w(3002,!1)}function NN(t,n,e,i,r){return new w(3010,!1)}function FN(){return new w(3011,!1)}function LN(){return new w(3012,!1)}function PN(){return new w(3200,!1)}function jN(){return new w(3202,!1)}function VN(){return new w(3013,!1)}function BN(t){return new w(3014,!1)}function UN(t){return new w(3015,!1)}function HN(t){return new w(3016,!1)}function zN(t,n){return new w(3404,!1)}function s4(t){return new w(3502,!1)}function $N(t){return new w(3503,!1)}function GN(){return new w(3300,!1)}function WN(t){return new w(3504,!1)}function qN(t){return new w(3301,!1)}function KN(t,n){return new w(3302,!1)}function YN(t){return new w(3303,!1)}function QN(t,n){return new w(3400,!1)}function ZN(t){return new w(3401,!1)}function XN(t){return new w(3402,!1)}function JN(t,n){return new w(3505,!1)}function tr(t){switch(t.length){case 0:return new er;case 1:return t[0];default:return new Va(t)}}function lx(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,h=d&&a||new Map;l.forEach((m,p)=>{let g=p,y=m;if(p!=="offset")switch(g=t.normalizePropertyName(g,r),y){case cd:y=e.get(p);break;case Un:y=i.get(p);break;default:y=t.normalizeStyleValue(p,g,y,r);break}h.set(g,y)}),d||o.push(h),a=h,s=c}),r.length)throw s4(r);return o}function Rp(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&ox(e,"start",t)));break;case"done":t.onDone(()=>i(e&&ox(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&ox(e,"destroy",t)));break}}function ox(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Op(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Op(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function tn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function cx(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}function kp(t){let n=t.parentNode||t.host||null;return n===a4?null:n}function l4(t){return t.substring(1,6)=="ebkit"}function eF(t){Wo||(Wo=c4()||{},MN=Wo.style?"WebkitAppearance"in Wo.style:!1);let n=!0;return Wo.style&&!l4(t)&&(n=t in Wo.style,!n&&MN&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Wo.style)),n}function c4(){return typeof document<"u"?document.body:null}function dx(t,n){for(;n;){if(n===t)return!0;n=kp(n)}return!1}function ux(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}function di(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:sx(parseFloat(n[1]),n[2])}function sx(t,n){switch(n){case"s":return t*d4;default:return t}}function fd(t,n,e){return t.hasOwnProperty("duration")?t:f4(t,n,e)}function f4(t,n,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return n.push(IN(t)),{duration:0,delay:0,easing:""};r=sx(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=sx(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(t4()),a=!0),o<0&&(n.push(n4()),a=!0),a&&n.splice(l,0,IN(t))}return{duration:r,delay:o,easing:s}}function tF(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function Hn(t,n,e){n.forEach((i,r)=>{let o=Lp(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Vr(t,n){n.forEach((e,i)=>{let r=Lp(i);t.style[r]=""})}function Ba(t){return Array.isArray(t)?t.length==1?t[0]:SN(t):t}function nF(t,n,e){let i=n.params||{},r=mx(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(i4(o))})}function mx(t){let n=[];if(typeof t=="string"){let e;for(;e=ax.exec(t);)n.push(e[1]);ax.lastIndex=0}return n}function Ua(t,n,e){let i=`${t}`,r=i.replace(ax,(o,s)=>{let a=n[s];return a==null&&(e.push(r4(s)),a=""),a.toString()});return r==i?t:r}function Lp(t){return t.replace(h4,(...n)=>n[1].toUpperCase())}function iF(t,n){return t===0||n===0}function rF(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Pp(t,a)))}}return n}function nn(t,n,e){switch(n.type){case ye.Trigger:return t.visitTrigger(n,e);case ye.State:return t.visitState(n,e);case ye.Transition:return t.visitTransition(n,e);case ye.Sequence:return t.visitSequence(n,e);case ye.Group:return t.visitGroup(n,e);case ye.Animate:return t.visitAnimate(n,e);case ye.Keyframes:return t.visitKeyframes(n,e);case ye.Style:return t.visitStyle(n,e);case ye.Reference:return t.visitReference(n,e);case ye.AnimateChild:return t.visitAnimateChild(n,e);case ye.AnimateRef:return t.visitAnimateRef(n,e);case ye.Query:return t.visitQuery(n,e);case ye.Stagger:return t.visitStagger(n,e);default:throw o4(n.type)}}function Pp(t,n){return window.getComputedStyle(t)[n]}var a4,Wo,MN,d4,fx,u4,hx,Np,dd,ud,px,Fp,ax,h4,oF=f(()=>{"use strict";rx();b();a4=typeof document>"u"?null:document.documentElement;Wo=null,MN=!1;d4=1e3,fx="{{",u4="}}",hx="ng-enter",Np="ng-leave",dd="ng-trigger",ud=".ng-trigger",px="ng-animating",Fp=".ng-animating";ax=new RegExp(`${fx}\\s*(.+?)\\s*${u4}`,"g");h4=/-+([a-z0-9])/g});function m4(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>g4(i,e,n)):e.push(t),e}function g4(t,n,e){if(t[0]==":"){let l=y4(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(UN(t)),n;let r=i[1],o=i[2],s=i[3];n.push(sF(r,s));let a=r==zp&&s==zp;o[0]=="<"&&!a&&n.push(sF(s,r))}function y4(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(HN(t)),"* => *"}}function sF(t,n){let e=jp.has(t)||Vp.has(t),i=jp.has(n)||Vp.has(n);return(r,o)=>{let s=t==zp||t==r,a=n==zp||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?jp.has(t):Vp.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?jp.has(n):Vp.has(n)),s&&a}}function yF(t,n,e,i){return new Cx(t).build(n,e,i)}function b4(t){let n=!!t.split(/\s*,\s*/).find(e=>e==gF);return n&&(t=t.replace(v4,"")),t=t.replace(/@\*/g,ud).replace(/@\w+/g,e=>ud+"-"+e.slice(1)).replace(/:animating/g,Fp),[t,n]}function _4(t){return t?_({},t):null}function C4(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function x4(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=fd(t,n).duration;return gx(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=gx(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=fd(e,n);return gx(r.duration,r.delay,r.easing)}function qo(t){return t?(t=_({},t),t.params&&(t.params=_4(t.params))):t={},t}function gx(t,n,e){return{duration:t,delay:n,easing:e}}function kx(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function vF(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new wx().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}function lF(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function M4(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,Un)}else for(let[o,s]of r)e.set(o,s)}),e}function cF(t,n,e,i,r,o,s,a,l,c,d,h,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:h,errors:m}}function T4(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function bF(t,n){let e=_({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function A4(t,n,e){return new Ix(t,n,e)}function R4(t,n,e){let i=[(s,a)=>!0],r={type:ye.Sequence,steps:[],options:null},o={type:ye.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Wp(t,o,n)}function dF(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}function V4(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function B4(t){return t??null}function Bp(t){return t&&t.nodeType===1}function U4(t){return t=="start"||t=="done"}function fF(t,n){let e=t.style.display;return t.style.display=n??"none",e}function hF(t,n,e,i,r){let o=[];e.forEach(l=>o.push(fF(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(h=>{let m=n.computeStyle(c,h,r);d.set(h,m),(!m||m.length==0)&&(c[zn]=j4,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>fF(l,o[a++])),s}function pF(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function Sn(t,n){t.classList?.add(n)}function Ha(t,n){t.classList?.remove(n)}function H4(t,n,e){tr(e).onDone(()=>t.processLeaveNode(n))}function z4(t){let n=[];return CF(t,n),n}function CF(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Va?CF(i.players,n):n.push(i)}}function $4(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function mF(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}function G4(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=_x(n[0]),n.length>1&&(i=_x(n[n.length-1]))):n instanceof Map&&(e=_x(n)),e||i?new W4(t,e,i):null}function _x(t){let n=null;return t.forEach((e,i)=>{q4(i)&&(n=n||new Map,n.set(i,e))}),n}function q4(t){return t==="display"||t==="position"}function K4(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Y4(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var Ox,Ko,Yo,p4,Hp,zp,jp,Vp,gF,v4,aF,Cx,xx,pd,w4,E4,D4,S4,I4,wx,$p,Ex,Gp,Dx,yx,Wp,Sx,Ix,O4,Mx,uF,k4,vx,N4,F4,L4,P4,_F,j4,zn,md,hd,bx,Tx,Ax,gd,za,W4,qp,Kp,Up,xF,Yp,Rx,Qp,Nx=f(()=>{"use strict";b();oF();rx();Ox=(()=>{class t{validateStyleProperty(e){return eF(e)}containsElement(e,i){return dx(e,i)}getParentElement(e){return kp(e)}query(e,i,r){return ux(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new er(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ko=class{static NOOP=new Ox},Yo=class{},p4=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Hp=class extends Yo{normalizePropertyName(n,e){return Lp(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(p4.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(TN(n,i))}return s+o}},zp="*";jp=new Set(["true","1"]),Vp=new Set(["false","0"]);gF=":self",v4=new RegExp(`s*${gF}s*,?`,"g");aF="",Cx=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new xx(e);return this._resetContextStyleTimingState(r),nn(this,Ba(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=aF,n.collectedStyles=new Map,n.collectedStyles.set(aF,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(AN()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ye.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==ye.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(RN())}),{type:ye.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{mx(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(ON(n.name,[...o.values()]))}return{type:ye.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=nn(this,Ba(n.animation),e),r=m4(n.expr,e.errors);return{type:ye.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:qo(n.options)}}visitSequence(n,e){return{type:ye.Sequence,steps:n.steps.map(i=>nn(this,i,e)),options:qo(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=nn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:ye.Group,steps:o,options:qo(n.options)}}visitAnimate(n,e){let i=x4(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:ix({});if(o.type==ye.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=ix(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:ye.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===Un?i.push(a):e.errors.push(kN(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(fx)>=0){o=!0;break}}}),{type:ye.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),h=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(NN(l,d.startTime,d.endTime,o,r)),h=!1),o=d.startTime),h&&c.set(l,{startTime:o,endTime:r}),e.options&&nF(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:ye.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(FN()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(R=>{let ne=this._makeStyleAst(R,e),ue=ne.offset!=null?ne.offset:C4(ne.styles),tt=0;return ue!=null&&(o++,tt=ne.offset=ue),l=l||tt<0||tt>1,a=a||tt<c,c=tt,s.push(tt),ne});l&&e.errors.push(LN()),a&&e.errors.push(PN());let h=n.steps.length,m=0;o>0&&o<h?e.errors.push(jN()):o==0&&(m=r/(h-1));let p=h-1,g=e.currentTime,y=e.currentAnimateTimings,I=y.duration;return d.forEach((R,ne)=>{let ue=m>0?ne==p?1:m*ne:s[ne],tt=ue*I;e.currentTime=g+y.delay+tt,y.duration=tt,this._validateStyleAst(R,e),R.offset=ue,i.styles.push(R)}),i}visitReference(n,e){return{type:ye.Reference,animation:nn(this,Ba(n.animation),e),options:qo(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:ye.AnimateChild,options:qo(n.options)}}visitAnimateRef(n,e){return{type:ye.AnimateRef,animation:this.visitReference(n.animation,e),options:qo(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=b4(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,tn(e.collectedStyles,e.currentQuerySelector,new Map);let a=nn(this,Ba(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ye.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:qo(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(VN());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:fd(n.timings,e.errors,!0);return{type:ye.Stagger,animation:nn(this,Ba(n.animation),e),timings:i,options:null}}};xx=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};pd=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},w4=1,E4=":enter",D4=new RegExp(E4,"g"),S4=":leave",I4=new RegExp(S4,"g");wx=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new pd;let h=new Ex(n,e,c,r,o,d,[]);h.options=l;let m=l.delay?di(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([s],null,h.errors,l),nn(this,i,h);let p=h.timelines.filter(g=>g.containsAnimation());if(p.length&&a.size){let g;for(let y=p.length-1;y>=0;y--){let I=p[y];if(I.element===e){g=I;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,h.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[kx(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:di(Ua(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?di(i.duration):null,a=i.delay!=null?di(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),nn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ye.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=$p);let s=di(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>nn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?di(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),nn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Ua(i,e.params,e.errors):i;return fd(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==ye.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?di(r.delay):0;o&&(e.previousNode.type===ye.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$p);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let h=e.createSubContext(n.options,c);o&&h.delayNextStep(o),c===e.element&&(l=h.currentTimeline),nn(this,n.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let h=d.currentTime;nn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-h+(r.startTime-i.currentTimeline.startTime)}},$p={},Ex=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=$p;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Gp(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=di(i.duration)),i.delay!=null&&(r.delay=di(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Ua(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=$p,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new Dx(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(D4,"."+this._enterClassName),n=n.replace(I4,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(BN(e)),a}},Gp=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=w4,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Un),this._currentKeyframe.set(e,Un);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=M4(n,this._globalTimelineStyles);for(let[a,l]of s){let c=Ua(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Un),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,h)=>{d===cd?n.add(h):d===Un&&e.add(h)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return kx(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Dx=class extends Gp{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",lF(a)),o.push(c);let d=n.length-1;for(let h=1;h<=d;h++){let m=new Map(n[h]),p=m.get("offset"),g=e+p*i;m.set("offset",lF(g/s)),o.push(m)}i=s,e=0,r="",n=o}return kx(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};yx={},Wp=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return T4(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let h=[],m=this.ast.options&&this.ast.options.params||yx,p=a&&a.params||yx,g=this.buildStyles(i,p,h),y=l&&l.params||yx,I=this.buildStyles(r,y,h),R=new Set,ne=new Map,ue=new Map,tt=r==="void",nr={params:bF(y,m),delay:this.ast.options?.delay},mn=d?[]:vF(n,e,this.ast.animation,o,s,g,I,nr,c,h),Rt=0;return mn.forEach(Bt=>{Rt=Math.max(Bt.duration+Bt.delay,Rt)}),h.length?cF(e,this._triggerName,i,r,tt,g,I,[],[],ne,ue,Rt,h):(mn.forEach(Bt=>{let Br=Bt.element,Qo=tn(ne,Br,new Set);Bt.preStyleProps.forEach(Ur=>Qo.add(Ur));let Lx=tn(ue,Br,new Set);Bt.postStyleProps.forEach(Ur=>Lx.add(Ur)),Br!==e&&R.add(Br)}),cF(e,this._triggerName,i,r,tt,g,I,mn,[...R.values()],ne,ue,Rt))}};Sx=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=bF(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Ua(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};Ix=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Sx(r.style,o,i))}),dF(this.states,"true","1"),dF(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Wp(n,r,this.states))}),this.fallbackTransition=R4(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};O4=new pd,Mx=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=yF(this._driver,e,i,r);if(i.length)throw $N(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=lx(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=vF(this._driver,e,o,hx,Np,new Map,new Map,i,O4,r),s.forEach(d=>{let h=tn(a,d.element,new Map);d.postStyleProps.forEach(m=>h.set(m,null))})):(r.push(GN()),s=[]),r.length)throw WN(r);a.forEach((d,h)=>{d.forEach((m,p)=>{d.set(p,this._driver.computeStyle(h,p,Un))})});let l=s.map(d=>{let h=a.get(d.element);return this._buildPlayer(d,new Map,h)}),c=tr(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw qN(n);return e}listen(n,e,i,r){let o=Op(e,"","","");return Rp(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},uF="ng-animate-queued",k4=".ng-animate-queued",vx="ng-animate-disabled",N4=".ng-animate-disabled",F4="ng-star-inserted",L4=".ng-star-inserted",P4=[],_F={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},j4={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed",md=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=B4(r),i){let o=n,{value:s}=o,a=Jp(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},hd="void",bx=new md(hd),Tx=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Sn(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw KN(i,e);if(i==null||i.length==0)throw YN(e);if(!U4(i))throw QN(i,e);let o=tn(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=tn(this._engine.statesByElement,n,new Map);return a.has(e)||(Sn(n,dd),Sn(n,dd+"-"+e),a.set(e,bx)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw ZN(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new gd(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Sn(n,dd),Sn(n,dd+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new md(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=bx),!(c.value===hd)&&l.value===c.value){if(!$4(l.params,c.params)){let y=[],I=o.matchStyles(l.value,l.params,y),R=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Vr(n,I),Hn(n,R)})}return}let m=tn(this._engine.playersByElement,n,[]);m.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,n,c.params),g=!1;if(!p){if(!r)return;p=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(Sn(n,uF),s.onStart(()=>{Ha(n,uF)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let I=this._engine.playersByElement.get(n);if(I){let R=I.indexOf(s);R>=0&&I.splice(R,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,ud,!0);i.forEach(r=>{if(r[zn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,hd,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&tr(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||bx,d=new md(hd),h=new gd(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:h,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[zn];(!o||o===_F)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Sn(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=Op(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Rp(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},Ax=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new Tx(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(Bp(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Bp(e))return;let o=e[zn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Sn(n,vx)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ha(n,vx))}removeNode(n,e,i){if(Bp(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[zn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Bp(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,ud,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,Fp,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return tr(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[zn];if(e&&e.setForRemoval){if(n[zn]=_F,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(vx)&&this.markElementAsDisabled(n,!1),this.driver.query(n,N4,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];Sn(r,F4)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?tr(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw XN(n)}_flushAnimations(n,e){let i=new pd,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(V=>{d.add(V);let $=this.driver.query(V,k4,!0);for(let K=0;K<$.length;K++)d.add($[K])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),p=pF(m,this.collectedEnterElements),g=new Map,y=0;p.forEach((V,$)=>{let K=hx+y++;g.set($,K),V.forEach(Ie=>Sn(Ie,K))});let I=[],R=new Set,ne=new Set;for(let V=0;V<this.collectedLeaveElements.length;V++){let $=this.collectedLeaveElements[V],K=$[zn];K&&K.setForRemoval&&(I.push($),R.add($),K.hasAnimation?this.driver.query($,L4,!0).forEach(Ie=>R.add(Ie)):ne.add($))}let ue=new Map,tt=pF(m,Array.from(R));tt.forEach((V,$)=>{let K=Np+y++;ue.set($,K),V.forEach(Ie=>Sn(Ie,K))}),n.push(()=>{p.forEach((V,$)=>{let K=g.get($);V.forEach(Ie=>Ha(Ie,K))}),tt.forEach((V,$)=>{let K=ue.get($);V.forEach(Ie=>Ha(Ie,K))}),I.forEach(V=>{this.processLeaveNode(V)})});let nr=[],mn=[];for(let V=this._namespaceList.length-1;V>=0;V--)this._namespaceList[V].drainQueuedTransitions(e).forEach(K=>{let Ie=K.player,ht=K.element;if(nr.push(Ie),this.collectedEnterElements.length){let Ct=ht[zn];if(Ct&&Ct.setForMove){if(Ct.previousTriggersValues&&Ct.previousTriggersValues.has(K.triggerName)){let Hr=Ct.previousTriggersValues.get(K.triggerName),gn=this.statesByElement.get(K.element);if(gn&&gn.has(K.triggerName)){let yd=gn.get(K.triggerName);yd.value=Hr,gn.set(K.triggerName,yd)}}Ie.destroy();return}}let $n=!h||!this.driver.containsElement(h,ht),rn=ue.get(ht),ir=g.get(ht),Ke=this._buildInstruction(K,i,ir,rn,$n);if(Ke.errors&&Ke.errors.length){mn.push(Ke);return}if($n){Ie.onStart(()=>Vr(ht,Ke.fromStyles)),Ie.onDestroy(()=>Hn(ht,Ke.toStyles)),r.push(Ie);return}if(K.isFallbackTransition){Ie.onStart(()=>Vr(ht,Ke.fromStyles)),Ie.onDestroy(()=>Hn(ht,Ke.toStyles)),r.push(Ie);return}let Vx=[];Ke.timelines.forEach(Ct=>{Ct.stretchStartingKeyframe=!0,this.disabledNodes.has(Ct.element)||Vx.push(Ct)}),Ke.timelines=Vx,i.append(ht,Ke.timelines);let LF={instruction:Ke,player:Ie,element:ht};s.push(LF),Ke.queriedElements.forEach(Ct=>tn(a,Ct,[]).push(Ie)),Ke.preStyleProps.forEach((Ct,Hr)=>{if(Ct.size){let gn=l.get(Hr);gn||l.set(Hr,gn=new Set),Ct.forEach((yd,Xp)=>gn.add(Xp))}}),Ke.postStyleProps.forEach((Ct,Hr)=>{let gn=c.get(Hr);gn||c.set(Hr,gn=new Set),Ct.forEach((yd,Xp)=>gn.add(Xp))})});if(mn.length){let V=[];mn.forEach($=>{V.push(JN($.triggerName,$.errors))}),nr.forEach($=>$.destroy()),this.reportError(V)}let Rt=new Map,Bt=new Map;s.forEach(V=>{let $=V.element;i.has($)&&(Bt.set($,$),this._beforeAnimationBuild(V.player.namespaceId,V.instruction,Rt))}),r.forEach(V=>{let $=V.element;this._getPreviousPlayers($,!1,V.namespaceId,V.triggerName,null).forEach(Ie=>{tn(Rt,$,[]).push(Ie),Ie.destroy()})});let Br=I.filter(V=>mF(V,l,c)),Qo=new Map;hF(Qo,this.driver,ne,c,Un).forEach(V=>{mF(V,l,c)&&Br.push(V)});let Ur=new Map;p.forEach((V,$)=>{hF(Ur,this.driver,new Set(V),l,cd)}),Br.forEach(V=>{let $=Qo.get(V),K=Ur.get(V);Qo.set(V,new Map([...$?.entries()??[],...K?.entries()??[]]))});let Zp=[],Px=[],jx={};s.forEach(V=>{let{element:$,player:K,instruction:Ie}=V;if(i.has($)){if(d.has($)){K.onDestroy(()=>Hn($,Ie.toStyles)),K.disabled=!0,K.overrideTotalTime(Ie.totalTime),r.push(K);return}let ht=jx;if(Bt.size>1){let rn=$,ir=[];for(;rn=rn.parentNode;){let Ke=Bt.get(rn);if(Ke){ht=Ke;break}ir.push(rn)}ir.forEach(Ke=>Bt.set(Ke,ht))}let $n=this._buildAnimation(K.namespaceId,Ie,Rt,o,Ur,Qo);if(K.setRealPlayer($n),ht===jx)Zp.push(K);else{let rn=this.playersByElement.get(ht);rn&&rn.length&&(K.parentPlayer=tr(rn)),r.push(K)}}else Vr($,Ie.fromStyles),K.onDestroy(()=>Hn($,Ie.toStyles)),Px.push(K),d.has($)&&r.push(K)}),Px.forEach(V=>{let $=o.get(V.element);if($&&$.length){let K=tr($);V.setRealPlayer(K)}}),r.forEach(V=>{V.parentPlayer?V.syncPlayerEvents(V.parentPlayer):V.destroy()});for(let V=0;V<I.length;V++){let $=I[V],K=$[zn];if(Ha($,Np),K&&K.hasAnimation)continue;let Ie=[];if(a.size){let $n=a.get($);$n&&$n.length&&Ie.push(...$n);let rn=this.driver.query($,Fp,!0);for(let ir=0;ir<rn.length;ir++){let Ke=a.get(rn[ir]);Ke&&Ke.length&&Ie.push(...Ke)}}let ht=Ie.filter($n=>!$n.destroyed);ht.length?H4(this,$,ht):this.processLeaveNode($)}return I.length=0,Zp.forEach(V=>{this.players.push(V),V.onDone(()=>{V.destroy();let $=this.players.indexOf(V);this.players.splice($,1)}),V.play()}),Zp}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==hd;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,h=tn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),h.push(p)})}Vr(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,h=new Set,m=e.timelines.map(g=>{let y=g.element;d.add(y);let I=y[zn];if(I&&I.removedBeforeQueried)return new er(g.duration,g.delay);let R=y!==l,ne=z4((i.get(y)||P4).map(Rt=>Rt.getRealPlayer())).filter(Rt=>{let Bt=Rt;return Bt.element?Bt.element===y:!1}),ue=o.get(y),tt=s.get(y),nr=lx(this._normalizer,g.keyframes,ue,tt),mn=this._buildPlayer(g,nr,ne);if(g.subTimeline&&r&&h.add(y),R){let Rt=new gd(n,a,y);Rt.setRealPlayer(mn),c.push(Rt)}return mn});c.forEach(g=>{tn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>V4(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Sn(g,px));let p=tr(m);return p.onDestroy(()=>{d.forEach(g=>Ha(g,px)),Hn(l,e.toStyles)}),h.forEach(g=>{tn(r,g,[]).push(p)}),p}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new er(n.duration,n.delay)}},gd=class{namespaceId;triggerName;element;_player=new er;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Rp(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){tn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};za=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Ax(n.body,e,i),this._timelineEngine=new Mx(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=yF(this._driver,o,l,c);if(l.length)throw zN(r,l);a=A4(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=cx(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=cx(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};W4=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Hn(this._element,this._initialStyles),this._endStyles&&(Hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Vr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vr(this._element,this._endStyles),this._endStyles=null),Hn(this._element,this._initialStyles),this._state=3)}}return t})();qp=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:Pp(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Kp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return dx(n,e)}getParentElement(n){return kp(n)}query(n,e,i){return ux(n,e,i)}computeStyle(n,e,i){return Pp(n,e)}animate(n,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(p=>p instanceof qp);iF(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((g,y)=>c.set(y,g))});let h=tF(e).map(p=>new Map(p));h=rF(n,h,c);let m=G4(n,h);return new qp(n,h,l,m)}},Up="@",xF="@.disabled",Yp=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==Up&&e==xF?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},Rx=class extends Yp{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==Up?e.charAt(1)=="."&&e==xF?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==Up){let o=K4(n),s=e.slice(1),a="";return s.charAt(0)!=Up&&([s,a]=Y4(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};Qp=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let i="",r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let h=()=>c.delete(r);d=new Yp(i,r,this.engine,h),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new Rx(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}}});function X4(){return new Hp}function J4(t,n,e){return new Qp(t,n,e)}function EF(){return Jn("NgEagerAnimations"),[...eW]}var Z4,wF,Kge,eW,DF=f(()=>{"use strict";b();b();Nx();Nx();pe();Jv();Z4=(()=>{class t extends za{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(D(H),D(Ko),D(Yo))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();wF=[{provide:Yo,useFactory:X4},{provide:za,useClass:Z4},{provide:dt,useFactory:J4,deps:[Ul,za,L]}],Kge=[{provide:Ko,useClass:Ox},{provide:Xe,useValue:"NoopAnimations"},...wF],eW=[{provide:Ko,useFactory:()=>new Kp},{provide:Xe,useFactory:()=>"BrowserAnimations"},...wF]});var SF,IF=f(()=>{"use strict";Pa();SF=()=>({provide:La,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var MF,TF=f(()=>{"use strict";Hf();MF=()=>({provide:Js,useValue:{}})});var AF,RF=f(()=>{"use strict";b();Hf();Se();AF=(t,n)=>{let e=u(Js),i=window;if(e.skipAuthUrls?.find(r=>t.url.includes(r)))return n(t);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Te(r()).pipe(He(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return n(s)}))}if(e.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return n(r)}return n(t)}});var OF,kF=f(()=>{"use strict";Vo();OF=()=>{let t="https://services.tilde.com/service";return{provide:Hc,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${t}/quota/usage`},llmService:{url:`${t}/language-assistant`}})}}});var Fx,NF=f(()=>{"use strict";ql();b();DF();mt();IF();TF();RF();kF();Fx={providers:[sb(ab([AF])),EF(),Oy(ni.forRoot()),SF(),OF(),MF()]}});var tW=VF(FF=>{pI();Yl();wN();nx();DN();NF();O_();$a(null,null,function*(){let t=yield tb(Fx),n=Vv(ip,{injector:t.injector}),e=Vv(Ap,{injector:t.injector});customElements.define("tilde-text-to-speech",n),customElements.define("tilde-llm",e)});EN.production||eb(xN,Fx).catch(t=>console.error(t))});export default tW();
39
+ `});var tw={};ZP(tw,{REPHRASE:()=>v4,SUMMARIZE:()=>y4});var pL=f(()=>{"use strict";hL()});var mL,gL=f(()=>{"use strict";_();En();go();Et();_();go();En();mL=(()=>{let t=class t{constructor(){this.data=u(ul)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-new-feature-dialog"]],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(r,o){r&1&&(S(0,"h2",0),se(1),ae(2,"translate"),R(),S(3,"mat-dialog-content"),de(4,"p",1),ae(5,"translate"),R(),S(6,"mat-dialog-actions")(7,"button",2),se(8),ae(9,"translate"),R()()),r&2&&(E(),ft(me(2,3,o.data.title)),E(3),A("innerHTML",me(5,5,o.data.description),Ci),E(4),Je(" ",me(9,7,o.data.close)," "))},dependencies:[Os,$d,Gd,qd,Wd,so,Mi,Ct],styles:["[_nghost-%COMP%] {display:inline-block;padding:12px 16px}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] mat-dialog-actions, [_nghost-%COMP%] mat-dialog-content{padding:0!important;margin:0!important}"]});let n=t;return n})()});var yL,vL=f(()=>{"use strict";_();_();yL=(()=>{let t=class t{constructor(){this.current=Me(void 0),this.queue=[]}requestOpenFeature(i){this.queue.includes(i)||(this.queue.push(i),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let i=this.queue.shift();i&&(this.current.set(i),i.showFeatureDialog())}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var Al,Um=f(()=>{"use strict";_();go();Le();gL();bo();vL();we();_();Al=(()=>{var t,e,i;let r=class r{constructor(){tt(this,t);tt(this,e);tt(this,i);this.timeout=0,this.maxWidth=320,Ot(this,t,u(mo)),Ot(this,e,u(yL)),Ot(this,i,new M),this.featureActive=Me(!1),this.isFeatureSeen=!1}ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){ye(this,i).next(null),ye(this,i).complete()}showFeatureDialog(){let s=document.querySelector(`.${this.featureClassName}`);s&&(Bs.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&s.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let a=s.getBoundingClientRect();this.dialogRef=ye(this,t).open(mL,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${Bs.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:a.left-this.maxWidth+"px"}`,top:`${Bs.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:a.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),ye(this,e).current.set(void 0),ye(this,e).showNextFeature()})},Bs.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||ye(this,e).requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}};t=new WeakMap,e=new WeakMap,i=new WeakMap,r.\u0275fac=function(a){return new(a||r)},r.\u0275cmp=$({type:r,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},decls:0,vars:0,template:function(a,l){},dependencies:[fn,Os],encapsulation:2});let n=r;return n})()});var bL,nw=f(()=>{"use strict";_();Il();_();En();dr();Um();Et();bL=(()=>{let t=class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(Xt.SUMMARY)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:12,consts:[["summarizeFeature",""],["mat-stroked-button","","color","accent",1,"llm-summary",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey"]],template:function(r,o){if(r&1){let s=Re();S(0,"button",1),te("click",function(){return ve(s),_e(o.openModal())}),de(1,"mat-icon",2),se(2),ae(3,"translate"),R(),de(4,"lib-new-feature-dialog-wrapper",3,0)}if(r&2){let s=Yt(5);ne("summarize-feature-active",s==null?null:s.featureActive()),A("disabled",!o.isTextSummarizable),E(),A("svgIcon","summarize"),E(),Je(" ",me(3,10,"LLM.SUMMARY"),`
40
+ `),E(2),A("titleLocalizationKey","LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName","llm-summary")("featureLocalStorageKey","summary"+o.newFeatureLocalStorageKey)}},dependencies:[Mi,Ri,Al,Ct],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]});let n=t;return n})()});var xL,iw=f(()=>{"use strict";_();Il();_();En();dr();Um();Et();xL=(()=>{let t=class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(Xt.REPHRASE)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:13,consts:[["rephraseFeature",""],["mat-stroked-button","","color","accent",1,"llm-rephrase",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey","maxWidth"]],template:function(r,o){if(r&1){let s=Re();S(0,"button",1),te("click",function(){return ve(s),_e(o.openModal())}),de(1,"mat-icon",2),se(2),ae(3,"translate"),R(),de(4,"lib-new-feature-dialog-wrapper",3,0)}if(r&2){let s=Yt(5);ne("rephrase-feature-active",s==null?null:s.featureActive()),A("disabled",!o.isTargetLanguageRephrasable),E(),A("svgIcon","rephrase"),E(),Je(" ",me(3,11,"LLM.REPHRASE"),`
41
+ `),E(2),A("titleLocalizationKey","LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName","llm-rephrase")("featureLocalStorageKey","rephrase"+o.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[Mi,Ri,Al,Ct],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]});let n=t;return n})()});function x4(n,t){if(n&1){let e=Re();S(0,"div",2),ae(1,"translate"),S(2,"lib-llm-summary",3),te("openModalEvent",function(r){ve(e);let o=W();return _e(o.openLLMModal(r))}),R()()}if(n&2){let e=W();A("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":me(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),E(2),A("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function C4(n,t){if(n&1){let e=Re();S(0,"div",2),ae(1,"translate"),S(2,"lib-llm-rephrase",4),te("openModalEvent",function(r){ve(e);let o=W();return _e(o.openLLMModal(r))}),R()()}if(n&2){let e=W();A("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":me(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),E(2),A("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var CL,Hm=f(()=>{"use strict";_();vm();ew();pL();we();_();go();KE();Le();co();nw();iw();Et();CL=(()=>{let t=class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(i,r,o){this.dialog=i,this.iconService=r,this.languageService=o,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new z,this.llmAction=Xt,this.iconService.registerIcons(tw)}openLLMModal(i){let r;!this.text||typeof this.text=="string"?r=F(this.text??""):r=this.text;let o={text:r,language:this.language,action:i,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase,summaryUseCases:this.summaryUseCases,rephraseUseCases:this.rephraseUseCases};this.dialog.open(fL,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:o})}};t.\u0275fac=function(r){return new(r||t)(T(mo),T(SF),T(GE))},t.\u0275cmp=$({type:t,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList",summaryEnabled:"summaryEnabled",rephraseEnabled:"rephraseEnabled",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase",newFeatureLocalStorageKey:"newFeatureLocalStorageKey",rephraseUseCases:"rephraseUseCases",summaryUseCases:"summaryUseCases"},outputs:{menuTriggerClick:"menuTriggerClick"},standalone:!1,decls:3,vars:2,consts:[[1,"llm-wrapper"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],[3,"openModalEvent","isTextSummarizable","newFeatureLocalStorageKey"],[3,"openModalEvent","isTargetLanguageRephrasable","newFeatureLocalStorageKey"]],template:function(r,o){r&1&&(S(0,"div",0),Ae(1,x4,3,6,"div",1)(2,C4,3,6,"div",1),R()),r&2&&(E(),A("ngIf",o.summaryEnabled),E(),A("ngIf",o.rephraseEnabled))},dependencies:[Xi,fr,bL,xL,Ct],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]});let n=t;return n})()});var EL=f(()=>{"use strict"});var wL=f(()=>{"use strict";EL()});var DL=f(()=>{"use strict";Um();wL()});var SL,IL=f(()=>{"use strict";Le();Hm();En();dr();Et();go();XE();to();JE();Ld();kE();co();gm();$p();ew();DL();iw();nw();_();SL=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=N({type:t}),t.\u0275inj=k({imports:[fn,so,Hp,Di,Os,dL,xp,bM,Nd,Fk,As,cl,_R,Al]});let n=t;return n})()});var AL=f(()=>{"use strict";Hm();IL();Il()});var TL,ML=f(()=>{"use strict";TL={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrasing turns raw speech into smooth, readable text \u2013 fast.",MENU_TOOLTIP:"Rephrase or summarize",MENU_DISABLED_TOOLTIP:"Summary and rephrase functions are not available",MENU_SUMMARY_DISABLED_TOOLTIP:"Summary available for texts that contain at least 100 characters",MENU_REPHRASE_DISABLED_TOOLTIP:"Rephrase is not available in selected language",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Feature unavailable",EU_DATA_TOOLTIP:"We utilise the Azure OpenAI Service, the entered data is securely processed on servers located within the EU",REPHRASE_MODAL:{TITLE:"Rephrase",DESCRIPTION:"Rephrase text into a specified writing style, adapting the language and tone to match a given target style or voice.",CLOSE:"Close",CANCEL:"Cancel",ACTION:"Rephrase",LIMIT:"Rephrases left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},SUMMARY_MODAL:{TITLE:"Summary",DESCRIPTION:"Quickly condense lengthy texts into clear summaries using our advanced LLM feature.",CANCEL:"Cancel",CLOSE:"Close",ACTION:"Create summary",REGENERATE:"Re-generate",LIMIT:"Summaries left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},ERRORS:{QUOTA_LIMIT_REACHED:"You have reached your quota limit. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>",DEFAULT:"It seems like we had problem, please <bold>repeat</bold> action, if it doesn't work, contact our <a href='mailto:{{supportEmail}}' target='_blank'>support team</a>."},USE_CASE:{MEETING:"Meeting notes (detailed)",MEETINGBRIEF:"Meeting (overview)",EVENT:"Conference",GENERAL:"General",BRIEF:"Brief",TRANSCRIPTEDITOR:"Professional",TRANSCRIPTCLEANUP:"Cleanup"}},ERRORS:{MAX_CHAR_LENGTH:"Only {{maxCharLength}}/{{totalSymbols}} characters will be rephrased/summarized."}},et:{TOOLTIPS:{COPY:"Kopeerige l\xF5ikelauale",DISLIKE:"Ei meeldi"},LLM:{USE_CASES_LABEL:"Kasuta juhtumit",SUMMARY:"Tee kokkuv\xF5te",MENU_TOOLTIP:"S\xF5nasta \xFCmber v\xF5i tee kokkuv\xF5te",MENU_DISABLED_TOOLTIP:"Kokkuv\xF5tte tegemise ja \xFCmbers\xF5nastamise funktsioonid ei ole saadaval",MENU_SUMMARY_DISABLED_TOOLTIP:"Kokkuv\xF5tet saab teha tekstidele, milles on rohkem kui 100 t\xE4hem\xE4rki",MENU_REPHRASE_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamine ei ole valitud keeles saadaval",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funktsioon ei ole saadaval",TITLE:"S\xF5nasta \xFCmber",REPHRASE:"T\xF5lke \xFCmbers\xF5nastamine",EU_DATA_TOOLTIP:"Kasutame Azure OpenAI teenust, sisestatud andmeid t\xF6\xF6deldakse turvaliselt EL-is asuvates serverites",REPHRASE_MODAL:{TITLE:"T\xF5lke \xFCmbers\xF5nastamine",DESCRIPTION:"S\xF5nastage tekst \xFCmber kindlaksm\xE4\xE4ratud kirjastiili, kohandades keelt ja tooni vastavalt sihtstiilile v\xF5i -h\xE4\xE4lele.",CLOSE:"Sulge",CANCEL:"Loobu",ACTION:"\xDCmbers\xF5nastamine",REPHRASING:"\xDCmbers\xF5nastamine...",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused: <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Hankige tellimus</a>"},SUMMARY_MODAL:{TITLE:"Kokkuv\xF5te",DESCRIPTION:"Tehke pikad tekstid kiiresti selgeteks kokkuv\xF5teteks, kasutades meie t\xE4iustatud LLM-funktsiooni.",CANCEL:"Loobu",CLOSE:"Sulge",ACTION:"Kokkuv\xF5tte loomine",REGENERATE:"Uuesti loomine",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>"},USE_CASE:{MEETING:"Koosoleku m\xE4rkmed (\xFCksikasjalikud)",MEETINGBRIEF:"Koosolek (\xFClevaade)",EVENT:"Konverents",GENERAL:"\xDCldine",BRIEF:"L\xFChike",TRANSCRIPTEDITOR:"Professionaalne",TRANSCRIPTCLEANUP:"Puhastus"},ERRORS:{QUOTA_LIMIT:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",QUOTA_LIMIT_REACHED:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",DEFAULT:"N\xE4ib, et meil on probleem, palun <bold>korrake</bold> tegevust. Kui see ei \xF5nnestu, v\xF5tke \xFChendust meie<a href='mailto:{{supportEmail}}' target='_blank'>tugimeeskonnaga</a>."}},ERRORS:{MAX_CHAR_LENGTH:"\xDCmber s\xF5nastatakse/summeeritakse ainult {{maxCharLength}}/{{totalSymbols}} m\xE4rki."}},lt:{TOOLTIPS:{COPY:"Kopijuoti \u012F main\u0173 srit\u012F",DISLIKE:"Nepatinka"},LLM:{SUMMARY:"Kurti santrauk\u0105",USE_CASES_LABEL:"Naudoti atvej\u012F",MENU_TOOLTIP:"Performuluoti arba kurti santrauk\u0105",MENU_DISABLED_TOOLTIP:"Santraukos ir performulavimo funkcij\u0173 n\u0117ra",MENU_SUMMARY_DISABLED_TOOLTIP:"Santrauka galima, jei tekst\u0105 sudaro bent 100 simboli\u0173",MENU_REPHRASE_DISABLED_TOOLTIP:"Pasirinkta kalba performuluoti negalima",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nepasiekiama",TITLE:"Performuluoti",REPHRASE:"Perfrazuoti vertim\u0105",EU_DATA_TOOLTIP:"Naudojame Azure OpenAI paslaug\u0105, \u012Fvesti duomenys saugiai apdorojami ES esan\u010Diuose serveriuose",REPHRASE_MODAL:{TITLE:"Perfrazuoti vertim\u0105",DESCRIPTION:"Perfrazuoti tekst\u0105 nurodytu ra\u0161ymo stiliumi pritaikant kalb\u0105 ir ton\u0105 prie tikslinio stiliaus ar tipo.",CLOSE:"U\u017Edaryti",CANCEL:"At\u0161aukti",ACTION:"Perfrazuoti",REPHRASING:"Perfrazuojama...",LIMIT:"\u0160iandien lik\u0119 perfrazavimai: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>"},SUMMARY_MODAL:{DESCRIPTION:"Greitai sutrumpinti ilgus tekstus \u012F ai\u0161kias santraukas naudojant LLM funkcij\u0105.",CANCEL:"At\u0161aukti",CLOSE:"U\u017Edaryti",ACTION:"Kurti santrauk\u0105",REGENERATE:"Generuoti i\u0161 naujo",LIMIT:"\u0160iandien likusios santraukos: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",TITLE:"Santrauka"},USE_CASE:{MEETING:"Susitikimo u\u017Era\u0161ai (i\u0161sam\u016Bs)",MEETINGBRIEF:"Susitikimas (ap\u017Evalga)",EVENT:"Konferencija",GENERAL:"Bendrasis",BRIEF:"Trumpas",TRANSCRIPTEDITOR:"Profesionalus",TRANSCRIPTCLEANUP:"Valymas"},ERRORS:{QUOTA_LIMIT:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",QUOTA_LIMIT_REACHED:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",DEFAULT:"Atrodo, kilo problema. <bold>Pakartokite</bold> veiksm\u0105, o jei tai nepadeda, susisiekite su m\u016Bs\u0173 <a href='mailto:{{supportEmail}}' target='_blank'>palaikymo komanda</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Bus performuluoti/apibendrinti tik {{maxCharLength}}/{{totalSymbols}} simboliai."}},lv:{TOOLTIPS:{COPY:"Kop\u0113t starpliktuv\u0113",DISLIKE:"Nepat\u012Bk"},LLM:{SUMMARY:"Apkopot",USE_CASES_LABEL:"Lieto\u0161anas nol\u016Bks",MENU_TOOLTIP:"P\u0101rfr\u0101z\u0113t vai Apkopot",MENU_DISABLED_TOOLTIP:"Funkcijas p\u0101rfr\u0101z\u0113t vai apkopot nav pieejamas",MENU_SUMMARY_DISABLED_TOOLTIP:"Apokopot iesp\u0113jams tikai tekstus gar\u0101kus par 100 z\u012Bm\u0113m",MENU_REPHRASE_DISABLED_TOOLTIP:"Izv\u0113l\u0113taj\u0101 valod\u0101 nav pieejama p\u0101rfr\u0101z\u0113\u0161anas funkcija",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nav pieejama",EU_DATA_TOOLTIP:"M\u0113s izmantojam Azure OpenAI pakalpojumu, ievad\u012Btie dati tiek dro\u0161i apstr\u0101d\u0101ti serveros, kas atrodas ES",TITLE:"P\u0101rfr\u0101z\u0113\u0161ana",REPHRASE:"P\u0101rfr\u0101z\u0113t",REPHRASE_MODAL:{TITLE:"Tulkojuma p\u0101rfr\u0101z\u0113\u0161ana",DESCRIPTION:"P\u0101rfr\u0101z\u0113jiet tekstu nor\u0101d\u012Btaj\u0101 rakst\u012Bbas stil\u0101, piel\u0101gojot valodu un toni, lai tas atbilstu nor\u0101d\u012Btajam m\u0113r\u0137a stilam vai v\u0113st\u012Bjumam.",CLOSE:"Aizv\u0113rt",CANCEL:"Atcelt",ACTION:"P\u0101rfr\u0101z\u0113t",REPHRASING:"P\u0101rfr\u0101z\u0113\u0161ana...",LIMIT:"\u0160odien atliku\u0161\u0101s p\u0101rfr\u0101z\u0113\u0161anas darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},SUMMARY_MODAL:{TITLE:"Kopsavilkums",DESCRIPTION:"\u0100tri apkopojiet garus tekstus skaidros kopsavilkumos, izmantojot m\u016Bsu moderno LLM funkciju.",CANCEL:"Atcelt",CLOSE:"Aizv\u0113rt",ACTION:"Izveidot kopsavilkumu",REGENERATE:"\u0122ener\u0113t atk\u0101rtoti",LIMIT:"\u0160odien atliku\u0161\u0101s kopsavilkuma darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},USE_CASE:{MEETING:"San\u0101ksmes piez\u012Bmes (detaliz\u0113tas)",MEETINGBRIEF:"San\u0101ksme (p\u0101rskats)",EVENT:"Konference",GENERAL:"Visp\u0101r\u012Bgs",BRIEF:"\u012Ass",TRANSCRIPTEDITOR:"Profesion\u0101ls",TRANSCRIPTCLEANUP:"T\u012Br\u012B\u0161ana"},ERRORS:{QUOTA_LIMIT:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",QUOTA_LIMIT_REACHED:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",DEFAULT:"\u0160\u0137iet, mums rad\u0101s probl\u0113ma. L\u016Bdzu, <bold>atk\u0101rtojiet</bold> darb\u012Bbu. Ja tas nepal\u012Bdz, sazinieties ar m\u016Bsu <a href='mailto:{{supportEmail}}' target='_blank'>atbalsta komandu</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Tikai {{maxCharLength}}/{{totalSymbols}} rakstz\u012Bmes tiks p\u0101rfraz\u0113tas/apkopotas."}}}});var zm,ow=f(()=>{"use strict";_();AL();fx();ML();Fs();_();Hm();zm=(()=>{var t,e,i,rw,RL,OL;let a=class a extends rp{constructor(){super(TL);tt(this,i);tt(this,t);tt(this,e);Ot(this,t,u(Sl)),Ot(this,e,u(Kd)),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(d){this._showUseCaseSummary=this.ensureTypeBool(d)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(d){this._showUseCaseRephrase=this.ensureTypeBool(d)}ngOnInit(){super.ngOnInit(),Ft(this,i,rw).call(this)}ngOnChanges(){super.ngOnChanges(),Ft(this,i,rw).call(this)}};t=new WeakMap,e=new WeakMap,i=new WeakSet,rw=function(){Ft(this,i,RL).call(this),Ft(this,i,OL).call(this)},RL=function(){this.serviceUrl&&(ye(this,e).llmService.url=this.serviceUrl),this.subscriptionUrl&&(ye(this,t).subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(ye(this,t).supportEmail=this.supportEmail),this.appId&&(ye(this,e).sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(ye(this,t).maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(ye(this,t).useLocalQuota=this.ensureTypeBool(this.useLocalQuota))},OL=function(){this.quotaServiceUrl&&(ye(this,e).quotaService.url=this.quotaServiceUrl)},a.\u0275fac=function(h){return new(h||a)},a.\u0275cmp=$({type:a,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",useLocalQuota:"useLocalQuota",quotaServiceUrl:"quotaServiceUrl",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase"},features:[he,je],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(h,m){h&1&&de(0,"lib-llm",0),h&2&&A("language",m.language)("text",m.text)("showUseCaseSummary",m.showUseCaseSummary)("showUseCaseRephrase",m.showUseCaseRephrase)},dependencies:[SL,CL],encapsulation:2});let n=a;return n})()});var w4,D4,S4,I4,FL,kL=f(()=>{"use strict";Le();kC();ow();_();w4=()=>({voice:"lv-LV-male",voiceName:"Austris"}),D4=()=>({voice:"lv-LV-female",voiceName:"Marta"}),S4=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),I4=(n,t,e)=>[n,t,e],FL=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["app-root"]],features:[Tt([])],decls:2,vars:12,consts:[["language","lv","text","This is shor text to be summarized or rephrased. I just want to test if it is working or not. Just to make sure. Please change this text.",3,"showUseCaseSummary","showUseCaseRephrase","useLocalQuota"],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","maxCharLength"]],template:function(r,o){r&1&&de(0,"app-llm",0)(1,"app-text-to-speech",1),r&2&&(A("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),E(),A("voices",mb(8,I4,kc(5,w4),kc(6,D4),kc(7,S4)))("maxCharLength",500))},dependencies:[fn,ym,zm],encapsulation:2});let n=t;return n})()});var NL,LL=f(()=>{"use strict";NL={production:!0}});function PL(n,t=null){return{type:ge.Sequence,steps:n,options:t}}function sw(n){return{type:ge.Style,styles:n,offset:null}}var ge,oi,br,Tl,pu,aw=f(()=>{"use strict";ge=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(ge||{}),oi="*";br=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,e=0){this.totalTime=t+e}_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 e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Tl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,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 e=t*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let t=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},pu="!"});function jL(n){return new w(3e3,!1)}function A4(){return new w(3100,!1)}function T4(){return new w(3101,!1)}function M4(n){return new w(3001,!1)}function R4(n){return new w(3003,!1)}function O4(n){return new w(3004,!1)}function BL(n,t){return new w(3005,!1)}function UL(){return new w(3006,!1)}function HL(){return new w(3007,!1)}function zL(n,t){return new w(3008,!1)}function $L(n){return new w(3002,!1)}function GL(n,t,e,i,r){return new w(3010,!1)}function WL(){return new w(3011,!1)}function qL(){return new w(3012,!1)}function KL(){return new w(3200,!1)}function YL(){return new w(3202,!1)}function QL(){return new w(3013,!1)}function ZL(n){return new w(3014,!1)}function XL(n){return new w(3015,!1)}function JL(n){return new w(3016,!1)}function eP(n,t){return new w(3404,!1)}function F4(n){return new w(3502,!1)}function tP(n){return new w(3503,!1)}function nP(){return new w(3300,!1)}function iP(n){return new w(3504,!1)}function rP(n){return new w(3301,!1)}function oP(n,t){return new w(3302,!1)}function sP(n){return new w(3303,!1)}function aP(n,t){return new w(3400,!1)}function lP(n){return new w(3401,!1)}function cP(n){return new w(3402,!1)}function dP(n,t){return new w(3505,!1)}function xr(n){switch(n.length){case 0:return new br;case 1:return n[0];default:return new Tl(n)}}function uw(n,t,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),d=c==s,h=d&&a||new Map;l.forEach((m,p)=>{let g=p,v=m;if(p!=="offset")switch(g=n.normalizePropertyName(g,r),v){case pu:v=e.get(p);break;case oi:v=i.get(p);break;default:v=n.normalizeStyleValue(p,g,v,r);break}h.set(g,v)}),d||o.push(h),a=h,s=c}),r.length)throw F4(r);return o}function $m(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&lw(e,"start",n)));break;case"done":n.onDone(()=>i(e&&lw(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&lw(e,"destroy",n)));break}}function lw(n,t,e){let i=e.totalTime,r=!!e.disabled,o=Gm(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,i??n.totalTime,r),s=n._data;return s!=null&&(o._data=s),o}function Gm(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function mn(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function fw(n){let t=n.indexOf(":"),e=n.substring(1,t),i=n.slice(t+1);return[e,i]}function Wm(n){let t=n.parentNode||n.host||null;return t===k4?null:t}function N4(n){return n.substring(1,6)=="ebkit"}function uP(n){Us||(Us=L4()||{},VL=Us.style?"WebkitAppearance"in Us.style:!1);let t=!0;return Us.style&&!N4(n)&&(t=n in Us.style,!t&&VL&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Us.style)),t}function L4(){return typeof document<"u"?document.body:null}function hw(n,t){for(;t;){if(t===n)return!0;t=Wm(t)}return!1}function pw(n,t,e){if(e)return Array.from(n.querySelectorAll(t));let i=n.querySelector(t);return i?[i]:[]}function Ni(n){if(typeof n=="number")return n;let t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:cw(parseFloat(t[1]),t[2])}function cw(n,t){switch(t){case"s":return n*P4;default:return n}}function yu(n,t,e){return n.hasOwnProperty("duration")?n:B4(n,t,e)}function B4(n,t,e){let i,r=0,o="";if(typeof n=="string"){let s=n.match(V4);if(s===null)return t.push(jL(n)),{duration:0,delay:0,easing:""};i=cw(parseFloat(s[1]),s[2]);let a=s[3];a!=null&&(r=cw(parseFloat(a),s[4]));let l=s[5];l&&(o=l)}else i=n;if(!e){let s=!1,a=t.length;i<0&&(t.push(A4()),s=!0),r<0&&(t.push(T4()),s=!0),s&&t.splice(a,0,jL(n))}return{duration:i,delay:r,easing:o}}function fP(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}function si(n,t,e){t.forEach((i,r)=>{let o=Ym(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function Co(n,t){t.forEach((e,i)=>{let r=Ym(i);n.style[r]=""})}function Ml(n){return Array.isArray(n)?n.length==1?n[0]:PL(n):n}function hP(n,t,e){let i=t.params||{},r=vw(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(M4(o))})}function vw(n){let t=[];if(typeof n=="string"){let e;for(;e=dw.exec(n);)t.push(e[1]);dw.lastIndex=0}return t}function Rl(n,t,e){let i=`${n}`,r=i.replace(dw,(o,s)=>{let a=t[s];return a==null&&(e.push(R4(s)),a=""),a.toString()});return r==i?n:r}function Ym(n){return n.replace(U4,(...t)=>t[1].toUpperCase())}function pP(n,t){return n===0||t===0}function mP(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<t.length;o++){let s=t[o];r.forEach(a=>s.set(a,Qm(n,a)))}}return t}function gn(n,t,e){switch(t.type){case ge.Trigger:return n.visitTrigger(t,e);case ge.State:return n.visitState(t,e);case ge.Transition:return n.visitTransition(t,e);case ge.Sequence:return n.visitSequence(t,e);case ge.Group:return n.visitGroup(t,e);case ge.Animate:return n.visitAnimate(t,e);case ge.Keyframes:return n.visitKeyframes(t,e);case ge.Style:return n.visitStyle(t,e);case ge.Reference:return n.visitReference(t,e);case ge.AnimateChild:return n.visitAnimateChild(t,e);case ge.AnimateRef:return n.visitAnimateRef(t,e);case ge.Query:return n.visitQuery(t,e);case ge.Stagger:return n.visitStagger(t,e);default:throw O4(t.type)}}function Qm(n,t){return window.getComputedStyle(n)[t]}var k4,Us,VL,P4,mw,j4,gw,qm,mu,gu,yw,Km,V4,dw,U4,gP=f(()=>{"use strict";aw();_();k4=typeof document>"u"?null:document.documentElement;Us=null,VL=!1;P4=1e3,mw="{{",j4="}}",gw="ng-enter",qm="ng-leave",mu="ng-trigger",gu=".ng-trigger",yw="ng-animating",Km=".ng-animating";V4=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;dw=new RegExp(`${mw}\\s*(.+?)\\s*${j4}`,"g");U4=/-+([a-z0-9])/g});function z4(n,t){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>$4(i,e,t)):e.push(n),e}function $4(n,t,e){if(n[0]==":"){let l=G4(n,e);if(typeof l=="function"){t.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(XL(n)),t;let r=i[1],o=i[2],s=i[3];t.push(yP(r,s));let a=r==ng&&s==ng;o[0]=="<"&&!a&&t.push(yP(s,r))}function G4(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(JL(n)),"* => *"}}function yP(n,t){let e=Zm.has(n)||Xm.has(n),i=Zm.has(t)||Xm.has(t);return(r,o)=>{let s=n==ng||n==r,a=t==ng||t==o;return!s&&e&&typeof r=="boolean"&&(s=r?Zm.has(n):Xm.has(n)),!a&&i&&typeof o=="boolean"&&(a=o?Zm.has(t):Xm.has(t)),s&&a}}function AP(n,t,e,i){return new ww(n).build(t,e,i)}function q4(n){let t=!!n.split(/\s*,\s*/).find(e=>e==IP);return t&&(n=n.replace(W4,"")),n=n.replace(/@\*/g,gu).replace(/@\w+/g,e=>gu+"-"+e.slice(1)).replace(/:animating/g,Km),[n,t]}function K4(n){return n?b({},n):null}function Y4(n){if(typeof n=="string")return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Q4(n,t){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=yu(n,t).duration;return _w(o,0,"")}let e=n;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=_w(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=yu(e,t);return _w(r.duration,r.delay,r.easing)}function Hs(n){return n?(n=b({},n),n.params&&(n.params=K4(n.params))):n={},n}function _w(n,t,e){return{duration:n,delay:t,easing:e}}function Lw(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function TP(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new Sw().buildKeyframes(n,t,e,i,r,o,s,a,l,c)}function _P(n,t=3){let e=Math.pow(10,t-1);return Math.round(n*e)/e}function n5(n,t){let e=new Map,i;return n.forEach(r=>{if(r==="*"){i??=t.keys();for(let o of i)e.set(o,oi)}else for(let[o,s]of r)e.set(o,s)}),e}function bP(n,t,e,i,r,o,s,a,l,c,d,h,m){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:h,errors:m}}function i5(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}function MP(n,t){let e=b({},t);return Object.entries(n).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function r5(n,t,e){return new Mw(n,t,e)}function o5(n,t,e){let i=[(s,a)=>!0],r={type:ge.Sequence,steps:[],options:null},o={type:ge.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new og(n,o,t)}function xP(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}function h5(n,t,e){let i=n.get(t);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&n.delete(t)}return i}function p5(n){return n??null}function Jm(n){return n&&n.nodeType===1}function m5(n){return n=="start"||n=="done"}function EP(n,t){let e=n.style.display;return n.style.display=t??"none",e}function wP(n,t,e,i,r){let o=[];e.forEach(l=>o.push(EP(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(h=>{let m=t.computeStyle(c,h,r);d.set(h,m),(!m||m.length==0)&&(c[ai]=f5,s.push(c))}),n.set(c,d)});let a=0;return e.forEach(l=>EP(l,o[a++])),s}function DP(n,t){let e=new Map;if(n.forEach(a=>e.set(a,[])),t.length==0)return e;let i=1,r=new Set(t),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function Pn(n,t){n.classList?.add(t)}function Ol(n,t){n.classList?.remove(t)}function g5(n,t,e){xr(e).onDone(()=>n.processLeaveNode(t))}function y5(n){let t=[];return OP(n,t),t}function OP(n,t){for(let e=0;e<n.length;e++){let i=n[e];i instanceof Tl?OP(i.players,t):t.push(i)}}function v5(n,t){let e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}function SP(n,t,e){let i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}function _5(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=Ew(t[0]),t.length>1&&(i=Ew(t[t.length-1]))):t instanceof Map&&(e=Ew(t)),e||i?new b5(n,e,i):null}function Ew(n){let t=null;return n.forEach((e,i)=>{x5(i)&&(t=t||new Map,t.set(i,e))}),t}function x5(n){return n==="display"||n==="position"}function C5(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function E5(n){let t=n.indexOf("."),e=n.substring(0,t),i=n.slice(t+1);return[e,i]}var Nw,zs,$s,H4,tg,ng,Zm,Xm,IP,W4,vP,ww,Dw,_u,Z4,X4,J4,e5,t5,Sw,ig,Iw,rg,Aw,bw,og,Tw,Mw,s5,Rw,CP,a5,xw,l5,c5,d5,u5,RP,f5,ai,bu,vu,Cw,Ow,Fw,xu,Fl,b5,sg,ag,eg,FP,lg,kw,cg,Pw=f(()=>{"use strict";_();gP();aw();Nw=(()=>{class n{validateStyleProperty(e){return uP(e)}containsElement(e,i){return hw(e,i)}getParentElement(e){return Wm(e)}query(e,i,r){return pw(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new br(r,o)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})(),zs=class{static NOOP=new Nw},$s=class{},H4=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),tg=class extends $s{normalizePropertyName(t,e){return Ym(t)}normalizeStyleValue(t,e,i,r){let o="",s=i.toString().trim();if(H4.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(BL(t,i))}return s+o}},ng="*";Zm=new Set(["true","1"]),Xm=new Set(["false","0"]);IP=":self",W4=new RegExp(`s*${IP}s*,?`,"g");vP="",ww=class{_driver;constructor(t){this._driver=t}build(t,e,i){let r=new Dw(e);return this._resetContextStyleTimingState(r),gn(this,Ml(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector=vP,t.collectedStyles=new Map,t.collectedStyles.set(vP,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(UL()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ge.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==ge.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(HL())}),{type:ge.Trigger,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{vw(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(zL(t.name,[...o.values()]))}return{type:ge.State,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=gn(this,Ml(t.animation),e),r=z4(t.expr,e.errors);return{type:ge.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Hs(t.options)}}visitSequence(t,e){return{type:ge.Sequence,steps:t.steps.map(i=>gn(this,i,e)),options:Hs(t.options)}}visitGroup(t,e){let i=e.currentTime,r=0,o=t.steps.map(s=>{e.currentTime=i;let a=gn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:ge.Group,steps:o,options:Hs(t.options)}}visitAnimate(t,e){let i=Q4(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:sw({});if(o.type==ge.Keyframes)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=sw(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:ge.Animate,timings:i,style:r,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)typeof a=="string"?a===oi?i.push(a):e.errors.push($L(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(mw)>=0){o=!0;break}}}),{type:ge.Style,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),h=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(GL(l,d.startTime,d.endTime,o,r)),h=!1),o=d.startTime),h&&c.set(l,{startTime:o,endTime:r}),e.options&&hP(a,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:ge.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(WL()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=t.steps.map(D=>{let L=this._makeStyleAst(D,e),pe=L.offset!=null?L.offset:Y4(L.styles),le=0;return pe!=null&&(o++,le=L.offset=pe),l=l||le<0||le>1,a=a||le<c,c=le,s.push(le),L});l&&e.errors.push(qL()),a&&e.errors.push(KL());let h=t.steps.length,m=0;o>0&&o<h?e.errors.push(YL()):o==0&&(m=r/(h-1));let p=h-1,g=e.currentTime,v=e.currentAnimateTimings,C=v.duration;return d.forEach((D,L)=>{let pe=m>0?L==p?1:m*L:s[L],le=pe*C;e.currentTime=g+v.delay+le,v.duration=le,this._validateStyleAst(D,e),D.offset=pe,i.styles.push(D)}),i}visitReference(t,e){return{type:ge.Reference,animation:gn(this,Ml(t.animation),e),options:Hs(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:ge.AnimateChild,options:Hs(t.options)}}visitAnimateRef(t,e){return{type:ge.AnimateRef,animation:this.visitReference(t.animation,e),options:Hs(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=q4(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,mn(e.collectedStyles,e.currentQuerySelector,new Map);let a=gn(this,Ml(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ge.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Hs(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(QL());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:yu(t.timings,e.errors,!0);return{type:ge.Stagger,animation:gn(this,Ml(t.animation),e),timings:i,options:null}}};Dw=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};_u=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},Z4=1,X4=":enter",J4=new RegExp(X4,"g"),e5=":leave",t5=new RegExp(e5,"g");Sw=class{buildKeyframes(t,e,i,r,o,s,a,l,c,d=[]){c=c||new _u;let h=new Iw(t,e,c,r,o,d,[]);h.options=l;let m=l.delay?Ni(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([s],null,h.errors,l),gn(this,i,h);let p=h.timelines.filter(g=>g.containsAnimation());if(p.length&&a.size){let g;for(let v=p.length-1;v>=0;v--){let C=p[v];if(C.element===e){g=C;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,h.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[Lw(e,[],[],[],0,m,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let r of t){let o=r?.delay;if(o){let s=typeof o=="number"?o:Ni(Rl(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Ni(i.duration):null,a=i.delay!=null?Ni(i.delay):null;return s!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),gn(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ge.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ig);let s=Ni(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>gn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Ni(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),gn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,r=e.params?Rl(i,e.params,e.errors):i;return yu(r,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=t.style;o.type==ge.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Ni(r.delay):0;o&&(e.previousNode.type===ge.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ig);let s=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let h=e.createSubContext(t.options,c);o&&h.delayNextStep(o),c===e.element&&(l=h.currentTimeline),gn(this,t.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let h=d.currentTime;gn(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-h+(r.startTime-i.currentTimeline.startTime)}},ig={},Iw=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=ig;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new rg(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,r=this.options;i.duration!=null&&(r.duration=Ni(i.duration)),i.delay!=null&&(r.delay=Ni(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Rl(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){let r=e||this.element,o=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=ig,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new Aw(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=t.replace(J4,"."+this._enterClassName),t=t.replace(t5,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,t,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(ZL(e)),a}},rg=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new n(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Z4,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||oi),this._currentKeyframe.set(e,oi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=n5(t,this._globalTimelineStyles);for(let[a,l]of s){let c=Rl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??oi),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,h)=>{d===pu?t.add(h):d===oi&&e.add(h)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...t.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Lw(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Aw=class extends rg{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",_P(a)),o.push(c);let d=t.length-1;for(let h=1;h<=d;h++){let m=new Map(t[h]),p=m.get("offset"),g=e+p*i;m.set("offset",_P(g/s)),o.push(m)}i=s,e=0,r="",t=o}return Lw(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};bw={},og=class{_triggerName;ast;_stateStyles;constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return i5(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return t!==void 0&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,d){let h=[],m=this.ast.options&&this.ast.options.params||bw,p=a&&a.params||bw,g=this.buildStyles(i,p,h),v=l&&l.params||bw,C=this.buildStyles(r,v,h),D=new Set,L=new Map,pe=new Map,le=r==="void",yn={params:MP(v,m),delay:this.ast.options?.delay},Jt=d?[]:TP(t,e,this.ast.animation,o,s,g,C,yn,c,h),St=0;return Jt.forEach(en=>{St=Math.max(en.duration+en.delay,St)}),h.length?bP(e,this._triggerName,i,r,le,g,C,[],[],L,pe,St,h):(Jt.forEach(en=>{let Eo=en.element,Gs=mn(L,Eo,new Set);en.preStyleProps.forEach(wo=>Gs.add(wo));let Vw=mn(pe,Eo,new Set);en.postStyleProps.forEach(wo=>Vw.add(wo)),Eo!==e&&D.add(Eo)}),bP(e,this._triggerName,i,r,le,g,C,Jt,[...D.values()],L,pe,St))}};Tw=class{styles;defaultParams;normalizer;constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,r=MP(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Rl(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};Mw=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Tw(r.style,o,i))}),xP(this.states,"true","1"),xP(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new og(t,r,this.states))}),this.fallbackTransition=o5(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};s5=new _u,Rw=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i}register(t,e){let i=[],r=[],o=AP(this._driver,e,i,r);if(i.length)throw tP(i);this._animations.set(t,o)}_buildPlayer(t,e,i){let r=t.element,o=uw(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let r=[],o=this._animations.get(t),s,a=new Map;if(o?(s=TP(this._driver,e,o,gw,qm,new Map,new Map,i,s5,r),s.forEach(d=>{let h=mn(a,d.element,new Map);d.postStyleProps.forEach(m=>h.set(m,null))})):(r.push(nP()),s=[]),r.length)throw iP(r);a.forEach((d,h)=>{d.forEach((m,p)=>{d.set(p,this._driver.computeStyle(h,p,oi))})});let l=s.map(d=>{let h=a.get(d.element);return this._buildPlayer(d,new Map,h)}),c=xr(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw rP(t);return e}listen(t,e,i,r){let o=Gm(e,"","","");return $m(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if(i=="register"){this.register(t,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(t,e,s);return}let o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t);break}}},CP="ng-animate-queued",a5=".ng-animate-queued",xw="ng-animate-disabled",l5=".ng-animate-disabled",c5="ng-star-inserted",d5=".ng-star-inserted",u5=[],RP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},f5={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ai="__ng_removed",bu=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),r=i?t.value:t;if(this.value=p5(r),i){let o=t,{value:s}=o,a=fg(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},vu="void",Cw=new bu(vu),Ow=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+t,Pn(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw oP(i,e);if(i==null||i.length==0)throw sP(e);if(!m5(i))throw aP(i,e);let o=mn(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);let a=mn(this._engine.statesByElement,t,new Map);return a.has(e)||(Pn(t,mu),Pn(t,mu+"-"+e),a.set(e,Cw)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw lP(t);return e}trigger(t,e,i,r=!0){let o=this._getTrigger(e),s=new xu(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Pn(t,mu),Pn(t,mu+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),c=new bu(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Cw),!(c.value===vu)&&l.value===c.value){if(!v5(l.params,c.params)){let v=[],C=o.matchStyles(l.value,l.params,v),D=o.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Co(t,C),si(t,D)})}return}let m=mn(this._engine.playersByElement,t,[]);m.forEach(v=>{v.namespaceId==this.id&&v.triggerName==e&&v.queued&&v.destroy()});let p=o.matchTransition(l.value,c.value,t,c.params),g=!1;if(!p){if(!r)return;p=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(Pn(t,CP),s.onStart(()=>{Ol(t,CP)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);let C=this._engine.playersByElement.get(t);if(C){let D=C.indexOf(s);D>=0&&C.splice(D,1)}}),this.players.push(s),m.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,gu,!0);i.forEach(r=>{if(r[ai])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(t,c,vu,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&xr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Cw,d=new bu(vu),h=new xu(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:h,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{let o=t[ai];(!o||o===RP)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Pn(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=Gm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,$m(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},Fw=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new Ow(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(t,e,i,r){if(Jm(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Jm(e))return;let o=e[ai];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Pn(t,xw)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ol(t,xw))}removeNode(t,e,i){if(Jm(e)){let r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[ai]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Jm(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,gu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Km,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return xr(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ai];if(e&&e.setForRemoval){if(t[ai]=RP,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(xw)&&this.markElementAsDisabled(t,!1),this.driver.query(t,l5,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];Pn(r,c5)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,t)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?xr(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw cP(t)}_flushAnimations(t,e){let i=new _u,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(B=>{d.add(B);let q=this.driver.query(B,a5,!0);for(let J=0;J<q.length;J++)d.add(q[J])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),p=DP(m,this.collectedEnterElements),g=new Map,v=0;p.forEach((B,q)=>{let J=gw+v++;g.set(q,J),B.forEach(Se=>Pn(Se,J))});let C=[],D=new Set,L=new Set;for(let B=0;B<this.collectedLeaveElements.length;B++){let q=this.collectedLeaveElements[B],J=q[ai];J&&J.setForRemoval&&(C.push(q),D.add(q),J.hasAnimation?this.driver.query(q,d5,!0).forEach(Se=>D.add(Se)):L.add(q))}let pe=new Map,le=DP(m,Array.from(D));le.forEach((B,q)=>{let J=qm+v++;pe.set(q,J),B.forEach(Se=>Pn(Se,J))}),t.push(()=>{p.forEach((B,q)=>{let J=g.get(q);B.forEach(Se=>Ol(Se,J))}),le.forEach((B,q)=>{let J=pe.get(q);B.forEach(Se=>Ol(Se,J))}),C.forEach(B=>{this.processLeaveNode(B)})});let yn=[],Jt=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(J=>{let Se=J.player,vt=J.element;if(yn.push(Se),this.collectedEnterElements.length){let Rt=vt[ai];if(Rt&&Rt.setForMove){if(Rt.previousTriggersValues&&Rt.previousTriggersValues.has(J.triggerName)){let Do=Rt.previousTriggersValues.get(J.triggerName),Dn=this.statesByElement.get(J.element);if(Dn&&Dn.has(J.triggerName)){let Cu=Dn.get(J.triggerName);Cu.value=Do,Dn.set(J.triggerName,Cu)}}Se.destroy();return}}let li=!h||!this.driver.containsElement(h,vt),vn=pe.get(vt),Cr=g.get(vt),et=this._buildInstruction(J,i,Cr,vn,li);if(et.errors&&et.errors.length){Jt.push(et);return}if(li){Se.onStart(()=>Co(vt,et.fromStyles)),Se.onDestroy(()=>si(vt,et.toStyles)),r.push(Se);return}if(J.isFallbackTransition){Se.onStart(()=>Co(vt,et.fromStyles)),Se.onDestroy(()=>si(vt,et.toStyles)),r.push(Se);return}let Hw=[];et.timelines.forEach(Rt=>{Rt.stretchStartingKeyframe=!0,this.disabledNodes.has(Rt.element)||Hw.push(Rt)}),et.timelines=Hw,i.append(vt,et.timelines);let qP={instruction:et,player:Se,element:vt};s.push(qP),et.queriedElements.forEach(Rt=>mn(a,Rt,[]).push(Se)),et.preStyleProps.forEach((Rt,Do)=>{if(Rt.size){let Dn=l.get(Do);Dn||l.set(Do,Dn=new Set),Rt.forEach((Cu,ug)=>Dn.add(ug))}}),et.postStyleProps.forEach((Rt,Do)=>{let Dn=c.get(Do);Dn||c.set(Do,Dn=new Set),Rt.forEach((Cu,ug)=>Dn.add(ug))})});if(Jt.length){let B=[];Jt.forEach(q=>{B.push(dP(q.triggerName,q.errors))}),yn.forEach(q=>q.destroy()),this.reportError(B)}let St=new Map,en=new Map;s.forEach(B=>{let q=B.element;i.has(q)&&(en.set(q,q),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,St))}),r.forEach(B=>{let q=B.element;this._getPreviousPlayers(q,!1,B.namespaceId,B.triggerName,null).forEach(Se=>{mn(St,q,[]).push(Se),Se.destroy()})});let Eo=C.filter(B=>SP(B,l,c)),Gs=new Map;wP(Gs,this.driver,L,c,oi).forEach(B=>{SP(B,l,c)&&Eo.push(B)});let wo=new Map;p.forEach((B,q)=>{wP(wo,this.driver,new Set(B),l,pu)}),Eo.forEach(B=>{let q=Gs.get(B),J=wo.get(B);Gs.set(B,new Map([...q?.entries()??[],...J?.entries()??[]]))});let dg=[],Bw=[],Uw={};s.forEach(B=>{let{element:q,player:J,instruction:Se}=B;if(i.has(q)){if(d.has(q)){J.onDestroy(()=>si(q,Se.toStyles)),J.disabled=!0,J.overrideTotalTime(Se.totalTime),r.push(J);return}let vt=Uw;if(en.size>1){let vn=q,Cr=[];for(;vn=vn.parentNode;){let et=en.get(vn);if(et){vt=et;break}Cr.push(vn)}Cr.forEach(et=>en.set(et,vt))}let li=this._buildAnimation(J.namespaceId,Se,St,o,wo,Gs);if(J.setRealPlayer(li),vt===Uw)dg.push(J);else{let vn=this.playersByElement.get(vt);vn&&vn.length&&(J.parentPlayer=xr(vn)),r.push(J)}}else Co(q,Se.fromStyles),J.onDestroy(()=>si(q,Se.toStyles)),Bw.push(J),d.has(q)&&r.push(J)}),Bw.forEach(B=>{let q=o.get(B.element);if(q&&q.length){let J=xr(q);B.setRealPlayer(J)}}),r.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B<C.length;B++){let q=C[B],J=q[ai];if(Ol(q,qm),J&&J.hasAnimation)continue;let Se=[];if(a.size){let li=a.get(q);li&&li.length&&Se.push(...li);let vn=this.driver.query(q,Km,!0);for(let Cr=0;Cr<vn.length;Cr++){let et=a.get(vn[Cr]);et&&et.length&&Se.push(...et)}}let vt=Se.filter(li=>!li.destroyed);vt.length?g5(this,q,vt):this.processLeaveNode(q)}return C.length=0,dg.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();let q=this.players.indexOf(B);this.players.splice(q,1)}),B.play()}),dg}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==vu;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,h=mn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),h.push(p)})}Co(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,h=new Set,m=e.timelines.map(g=>{let v=g.element;d.add(v);let C=v[ai];if(C&&C.removedBeforeQueried)return new br(g.duration,g.delay);let D=v!==l,L=y5((i.get(v)||u5).map(St=>St.getRealPlayer())).filter(St=>{let en=St;return en.element?en.element===v:!1}),pe=o.get(v),le=s.get(v),yn=uw(this._normalizer,g.keyframes,pe,le),Jt=this._buildPlayer(g,yn,L);if(g.subTimeline&&r&&h.add(v),D){let St=new xu(t,a,v);St.setRealPlayer(Jt),c.push(St)}return Jt});c.forEach(g=>{mn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>h5(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Pn(g,yw));let p=xr(m);return p.onDestroy(()=>{d.forEach(g=>Ol(g,yw)),si(l,e.toStyles)}),h.forEach(g=>{mn(r,g,[]).push(p)}),p}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new br(t.duration,t.delay)}},xu=class{namespaceId;triggerName;element;_player=new br;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>$m(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){mn(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};Fl=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Fw(t.body,e,i),this._timelineEngine=new Rw(t.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){let s=t+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=AP(this._driver,o,l,c);if(l.length)throw eP(r,l);a=r5(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if(i.charAt(0)=="@"){let[o,s]=fw(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=fw(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};b5=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&si(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(si(this._element,this._initialStyles),this._endStyles&&(si(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Co(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Co(this._element,this._endStyles),this._endStyles=null),si(this._element,this._initialStyles),this._state=3)}}return n})();sg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}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)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&t.set(r,this._finished?i:Qm(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},ag=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return hw(t,e)}getParentElement(t){return Wm(t)}query(t,e,i){return pw(t,e,i)}computeStyle(t,e,i){return Qm(t,e)}animate(t,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(p=>p instanceof sg);pP(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((g,v)=>c.set(v,g))});let h=fP(e).map(p=>new Map(p));h=mP(t,h,c);let m=_5(t,h);return new sg(t,h,l,m)}},eg="@",FP="@.disabled",lg=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==eg&&e==FP?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i,r){return this.delegate.listen(t,e,i,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},kw=class extends lg{factory;constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==eg?e.charAt(1)=="."&&e==FP?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i,r){if(e.charAt(0)==eg){let o=C5(t),s=e.slice(1),a="";return s.charAt(0)!=eg&&([s,a]=E5(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(t,e,i,r)}};cg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(t,e){let i="",r=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let h=()=>c.delete(r);d=new lg(i,r,this.engine,h),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return e.data.animation.forEach(a),new kw(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}}});function S5(){return new tg}function I5(n,t,e){return new cg(n,t,e)}function NP(){return Rn("NgEagerAnimations"),[...A5]}var D5,kP,jwe,A5,LP=f(()=>{"use strict";_();_();Pw();Pw();Le();Yb();D5=(()=>{class n extends Fl{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||n)(I(U),I(zs),I($s))};static \u0275prov=y({token:n,factory:n.\u0275fac})}return n})();kP=[{provide:$s,useFactory:S5},{provide:Fl,useClass:D5},{provide:ut,useFactory:I5,deps:[Gc,Fl,P]}],jwe=[{provide:zs,useClass:Nw},{provide:Gr,useValue:"NoopAnimations"},...kP],A5=[{provide:zs,useFactory:()=>new ag},{provide:Gr,useFactory:()=>"BrowserAnimations"},...kP]});var PP,jP=f(()=>{"use strict";Il();PP=()=>({provide:Sl,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var VP,BP=f(()=>{"use strict";ip();VP=()=>({provide:za,useValue:{}})});var UP,HP=f(()=>{"use strict";_();ip();we();UP=(n,t)=>{let e=u(za),i=window;if(e.skipAuthUrls?.find(r=>n.url.includes(r)))return t(n);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Pe(r()).pipe(Ke(o=>{let s=n.clone({setHeaders:{Authorization:`Bearer ${o}`}});return t(s)}))}if(e.xApiKey){let r=n.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return t(r)}return t(n)}});var zP,$P=f(()=>{"use strict";Fs();zP=()=>{let n="https://services.tilde.com/service";return{provide:Kd,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${n}/quota/usage`},llmService:{url:`${n}/language-assistant`}})}}});var jw,GP=f(()=>{"use strict";Qc();_();LP();Et();jP();BP();HP();$P();jw={providers:[nx(ix([UP])),NP(),Tf(Di.forRoot()),PP(),zP(),VP()]}});var T5=QP(WP=>{lT();Xc();kL();ow();LL();GP();kC();Er(null,null,function*(){let n=yield Zb(jw),t=Ob(ym,{injector:n.injector}),e=Ob(zm,{injector:n.injector});customElements.define("tilde-text-to-speech",t),customElements.define("tilde-llm",e)});NL.production||Qb(FL,jw).catch(n=>console.error(n))});export default T5();