@atelier-ui/mcp 0.0.0-stage → 0.4.13

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 (295) hide show
  1. package/README.md +25 -2
  2. package/bin/atelier-mcp.mjs +9 -0
  3. package/package.json +45 -4
  4. package/snapshot/knowledge/components.json +1 -0
  5. package/snapshot/knowledge/patterns.json +1 -0
  6. package/snapshot/knowledge/tokens.json +1 -0
  7. package/snapshot/manifests/components.json +355 -0
  8. package/snapshot/manifests/docs.json +37 -0
  9. package/snapshot/services/addon-docs/mdx/foundation-colors--docs.json +18 -0
  10. package/snapshot/services/addon-docs/mdx/foundation-spacing--docs.json +18 -0
  11. package/snapshot/services/addon-docs/mdx/foundation-typography--docs.json +18 -0
  12. package/snapshot/services/addon-docs/mdx/introduction--docs.json +18 -0
  13. package/snapshot/services/core/docgen/components-ai-atlchat.json +158 -0
  14. package/snapshot/services/core/docgen/components-display-atlavatar.json +144 -0
  15. package/snapshot/services/core/docgen/components-display-atlbadge.json +97 -0
  16. package/snapshot/services/core/docgen/components-display-atlcard.json +103 -0
  17. package/snapshot/services/core/docgen/components-display-atlcodeblock.json +165 -0
  18. package/snapshot/services/core/docgen/components-display-atlicon.json +172 -0
  19. package/snapshot/services/core/docgen/components-display-atlprogress.json +177 -0
  20. package/snapshot/services/core/docgen/components-display-atlskeleton.json +125 -0
  21. package/snapshot/services/core/docgen/components-display-atltable.json +100 -0
  22. package/snapshot/services/core/docgen/components-feedback-atlaccordiongroup.json +105 -0
  23. package/snapshot/services/core/docgen/components-feedback-atlalert.json +124 -0
  24. package/snapshot/services/core/docgen/components-inputs-atlbutton.json +153 -0
  25. package/snapshot/services/core/docgen/components-inputs-atlcheckbox.json +226 -0
  26. package/snapshot/services/core/docgen/components-inputs-atlcombobox.json +244 -0
  27. package/snapshot/services/core/docgen/components-inputs-atlinput.json +302 -0
  28. package/snapshot/services/core/docgen/components-inputs-atlradio.json +114 -0
  29. package/snapshot/services/core/docgen/components-inputs-atlradiogroup.json +243 -0
  30. package/snapshot/services/core/docgen/components-inputs-atlselect.json +257 -0
  31. package/snapshot/services/core/docgen/components-inputs-atltextarea.json +311 -0
  32. package/snapshot/services/core/docgen/components-inputs-atltoggle.json +209 -0
  33. package/snapshot/services/core/docgen/components-navigation-atlbreadcrumbs.json +55 -0
  34. package/snapshot/services/core/docgen/components-navigation-atlmenu.json +45 -0
  35. package/snapshot/services/core/docgen/components-navigation-atlpagination.json +193 -0
  36. package/snapshot/services/core/docgen/components-navigation-atlstepper.json +156 -0
  37. package/snapshot/services/core/docgen/components-navigation-atltabgroup.json +79 -0
  38. package/snapshot/services/core/docgen/components-overlay-atldialog.json +216 -0
  39. package/snapshot/services/core/docgen/components-overlay-atldrawer.json +190 -0
  40. package/snapshot/services/core/docgen/components-overlay-atltoast.json +145 -0
  41. package/snapshot/services/core/docgen/components-overlay-atltooltip.json +128 -0
  42. package/snapshot/services/core/docgen/cookbook.json +3 -0
  43. package/snapshot/services/core/docgen/showcase-all-components.json +191 -0
  44. package/snapshot/services/core/docgen/showcase-kitchen-sink.json +20 -0
  45. package/snapshot/services/core/story-docs/components-ai-atlchat.json +73 -0
  46. package/snapshot/services/core/story-docs/components-display-atlavatar.json +61 -0
  47. package/snapshot/services/core/story-docs/components-display-atlbadge.json +61 -0
  48. package/snapshot/services/core/story-docs/components-display-atlcard.json +61 -0
  49. package/snapshot/services/core/story-docs/components-display-atlcodeblock.json +41 -0
  50. package/snapshot/services/core/story-docs/components-display-atlicon.json +52 -0
  51. package/snapshot/services/core/story-docs/components-display-atlprogress.json +41 -0
  52. package/snapshot/services/core/story-docs/components-display-atlskeleton.json +46 -0
  53. package/snapshot/services/core/story-docs/components-display-atltable.json +65 -0
  54. package/snapshot/services/core/story-docs/components-feedback-atlaccordiongroup.json +56 -0
  55. package/snapshot/services/core/story-docs/components-feedback-atlalert.json +51 -0
  56. package/snapshot/services/core/story-docs/components-inputs-atlbutton.json +76 -0
  57. package/snapshot/services/core/story-docs/components-inputs-atlcheckbox.json +57 -0
  58. package/snapshot/services/core/story-docs/components-inputs-atlcombobox.json +41 -0
  59. package/snapshot/services/core/story-docs/components-inputs-atlinput.json +70 -0
  60. package/snapshot/services/core/story-docs/components-inputs-atlradio.json +35 -0
  61. package/snapshot/services/core/story-docs/components-inputs-atlradiogroup.json +59 -0
  62. package/snapshot/services/core/story-docs/components-inputs-atlselect.json +65 -0
  63. package/snapshot/services/core/story-docs/components-inputs-atltextarea.json +65 -0
  64. package/snapshot/services/core/story-docs/components-inputs-atltoggle.json +52 -0
  65. package/snapshot/services/core/story-docs/components-navigation-atlbreadcrumbs.json +37 -0
  66. package/snapshot/services/core/story-docs/components-navigation-atlmenu.json +37 -0
  67. package/snapshot/services/core/story-docs/components-navigation-atlpagination.json +41 -0
  68. package/snapshot/services/core/story-docs/components-navigation-atlstepper.json +37 -0
  69. package/snapshot/services/core/story-docs/components-navigation-atltabgroup.json +47 -0
  70. package/snapshot/services/core/story-docs/components-overlay-atldialog.json +59 -0
  71. package/snapshot/services/core/story-docs/components-overlay-atldrawer.json +59 -0
  72. package/snapshot/services/core/story-docs/components-overlay-atltoast.json +56 -0
  73. package/snapshot/services/core/story-docs/components-overlay-atltooltip.json +42 -0
  74. package/snapshot/services/core/story-docs/cookbook.json +39 -0
  75. package/snapshot/services/core/story-docs/showcase-all-components.json +17 -0
  76. package/snapshot/services/core/story-docs/showcase-kitchen-sink.json +17 -0
  77. package/src/instructions.mjs +29 -0
  78. package/src/knowledge.mjs +24 -0
  79. package/src/layer-composition.mjs +77 -0
  80. package/src/layer-purpose.mjs +70 -0
  81. package/src/layer-tokens.mjs +133 -0
  82. package/src/layers.mjs +80 -0
  83. package/src/manifest-provider.mjs +58 -0
  84. package/src/server.mjs +71 -0
  85. package/src/version-check.mjs +50 -0
  86. package/storybook/.atelier-inputs.json +1 -0
  87. package/storybook/angular-logo.jpg +0 -0
  88. package/storybook/artelier-logo.png +0 -0
  89. package/storybook/assets/Color-6AOWCN3U-BRruRKIt.js +1 -0
  90. package/storybook/assets/DocsRenderer-JROSPFPF-BqCGyKpa.js +10 -0
  91. package/storybook/assets/WithTooltip-CDUNV5IS-B5RANF3w.js +9 -0
  92. package/storybook/assets/_a11y-module-chunk-kh2BWFEb.js +20 -0
  93. package/storybook/assets/_array-chunk-jnVVFUvi.js +1 -0
  94. package/storybook/assets/_focus-key-manager-chunk-Czlxh_qX.js +1 -0
  95. package/storybook/assets/_focus-monitor-chunk-CHxlrCHn.js +1 -0
  96. package/storybook/assets/_id-generator-chunk-B9zuB3qN.js +1 -0
  97. package/storybook/assets/_list-key-manager-chunk-K-6zSVll.js +1 -0
  98. package/storybook/assets/_overlay-module-chunk-CwW5mIh4.js +140 -0
  99. package/storybook/assets/_style-loader-chunk-CjoWl1jk.js +1 -0
  100. package/storybook/assets/_unique-selection-dispatcher-chunk-Xqv9LIWR.js +1 -0
  101. package/storybook/assets/a11y-dev-warn-BbRozqAf.js +1 -0
  102. package/storybook/assets/angular-platform-ChS-QjTV.js +23 -0
  103. package/storybook/assets/async-CzUT0aHo.js +1 -0
  104. package/storybook/assets/atl-accordion-dZ-zVPC1.js +37 -0
  105. package/storybook/assets/atl-accordion.stories-CTKEKqfF.js +379 -0
  106. package/storybook/assets/atl-alert-BnnQXl74.js +18 -0
  107. package/storybook/assets/atl-alert.stories-WOsUlWre.js +88 -0
  108. package/storybook/assets/atl-avatar-NUYXSZhH.js +20 -0
  109. package/storybook/assets/atl-avatar.stories-GM0sQR9h.js +281 -0
  110. package/storybook/assets/atl-badge-BUEz7duN.js +6 -0
  111. package/storybook/assets/atl-badge.stories-BZ-58GLo.js +102 -0
  112. package/storybook/assets/atl-breadcrumbs-nQEvjjLz.js +22 -0
  113. package/storybook/assets/atl-breadcrumbs.stories-CFFrRRcs.js +161 -0
  114. package/storybook/assets/atl-button-BzQndwCt.js +6 -0
  115. package/storybook/assets/atl-button.stories-D8MwkQrM.js +138 -0
  116. package/storybook/assets/atl-card-WY9a7AGL.js +1 -0
  117. package/storybook/assets/atl-card.stories-DqUwE2Lw.js +195 -0
  118. package/storybook/assets/atl-chat.stories-BhfNwpcy.js +717 -0
  119. package/storybook/assets/atl-checkbox-C-oNMpz8.js +25 -0
  120. package/storybook/assets/atl-checkbox.stories-tfTegOD3.js +60 -0
  121. package/storybook/assets/atl-code-block-CWbd7cP-.js +34 -0
  122. package/storybook/assets/atl-code-block.stories-BPKM1keU.js +104 -0
  123. package/storybook/assets/atl-combobox.stories-DUHRpNOg.js +153 -0
  124. package/storybook/assets/atl-dialog-B2-2GVTo.js +27 -0
  125. package/storybook/assets/atl-dialog.stories-DGZaeKea.js +442 -0
  126. package/storybook/assets/atl-drawer-87lAgOgh.js +27 -0
  127. package/storybook/assets/atl-drawer.stories-Bo48zu1P.js +377 -0
  128. package/storybook/assets/atl-icon-ChO59f9V.js +16 -0
  129. package/storybook/assets/atl-icon.stories-D__7KUC6.js +114 -0
  130. package/storybook/assets/atl-input-CiyTZXDL.js +32 -0
  131. package/storybook/assets/atl-input.stories-CAorMMo9.js +95 -0
  132. package/storybook/assets/atl-menu-CyZvGLYl.js +6 -0
  133. package/storybook/assets/atl-menu.stories-DW8fQ-KN.js +168 -0
  134. package/storybook/assets/atl-option-o6FHvhn_.js +67 -0
  135. package/storybook/assets/atl-pagination-BFumZjwB.js +75 -0
  136. package/storybook/assets/atl-pagination.stories-hcbOcm5L.js +136 -0
  137. package/storybook/assets/atl-progress-CEvOvPrm.js +5 -0
  138. package/storybook/assets/atl-progress.stories-IPzUxTop.js +130 -0
  139. package/storybook/assets/atl-radio-C-KjJXL1.js +25 -0
  140. package/storybook/assets/atl-radio-group.stories-B-LXwjaI.js +135 -0
  141. package/storybook/assets/atl-radio.stories-BPeNuZ5i.js +70 -0
  142. package/storybook/assets/atl-select.stories-BlnLgKMb.js +133 -0
  143. package/storybook/assets/atl-showcase.stories-DEEN9_7E.js +563 -0
  144. package/storybook/assets/atl-skeleton-LlrKrRul.js +1 -0
  145. package/storybook/assets/atl-skeleton.stories-BjntxCgy.js +109 -0
  146. package/storybook/assets/atl-stepper.stories-TlX9iAtl.js +259 -0
  147. package/storybook/assets/atl-table-9yowirTt.js +71 -0
  148. package/storybook/assets/atl-table.stories-Da-Cdx4f.js +699 -0
  149. package/storybook/assets/atl-tabs-C3TYjTt4.js +34 -0
  150. package/storybook/assets/atl-tabs.stories-fnuIid_J.js +220 -0
  151. package/storybook/assets/atl-textarea-CaajGH3D.js +60 -0
  152. package/storybook/assets/atl-textarea.stories-BHLuood4.js +71 -0
  153. package/storybook/assets/atl-toast-C8wfEw8o.js +23 -0
  154. package/storybook/assets/atl-toast.stories-DuabFeLE.js +141 -0
  155. package/storybook/assets/atl-toggle-DufKJw7U.js +29 -0
  156. package/storybook/assets/atl-toggle.stories-C9TIh6EI.js +49 -0
  157. package/storybook/assets/atl-tooltip-DHtMg2_a.js +1 -0
  158. package/storybook/assets/atl-tooltip.stories-BtN7RqXO.js +126 -0
  159. package/storybook/assets/auditTime-D5qIDf8P.js +1 -0
  160. package/storybook/assets/axe-DB4aLaTh.js +20 -0
  161. package/storybook/assets/blocks-CwmsPXDF.js +192 -0
  162. package/storybook/assets/chunk-242VQQM5-D6GShWaB.js +1 -0
  163. package/storybook/assets/chunk-7PIQR4A3-BhwBlWeH.js +1 -0
  164. package/storybook/assets/chunk-DRQKCCAG-BwzuojA1.js +1 -0
  165. package/storybook/assets/chunk-IMSF75WX-CZt3_hro.js +6 -0
  166. package/storybook/assets/chunk-QQBDHPVZ-0u620C8G.js +1 -0
  167. package/storybook/assets/chunk-RDNWKK3U-DhgVKaEi.js +15 -0
  168. package/storybook/assets/chunk-UAWMPV5J-CVFtGjk9.js +1 -0
  169. package/storybook/assets/chunk-W22LQPXL-nedkz_O_.js +18 -0
  170. package/storybook/assets/colors-BtTAbCUR.js +34 -0
  171. package/storybook/assets/components-DUcVPgtb.js +92 -0
  172. package/storybook/assets/cookbook.stories-Cvcwdpgq.js +913 -0
  173. package/storybook/assets/debounceTime-CPR6CVzN.js +1 -0
  174. package/storybook/assets/dist-BfbfS1eq.js +28 -0
  175. package/storybook/assets/empty-C9s5w39U.js +1 -0
  176. package/storybook/assets/filter-CCMzlFeO.js +1 -0
  177. package/storybook/assets/formatter-L2YTDE3Q-De5wWUxX.js +1 -0
  178. package/storybook/assets/iframe-BYbOm3Rx.js +1 -0
  179. package/storybook/assets/iframe-BvjIbyPm.css +1 -0
  180. package/storybook/assets/iframe-h-GGOSFN.js +1131 -0
  181. package/storybook/assets/introduction-bzJGqrr1.js +51 -0
  182. package/storybook/assets/kitchen-sink.stories-DgdRp06g.js +155 -0
  183. package/storybook/assets/matchers-JIUQ3HVY-1Tc8fpol.js +28 -0
  184. package/storybook/assets/preload-helper-BLE838kL.js +1 -0
  185. package/storybook/assets/radio.metadata-D1zBdRKO.js +1 -0
  186. package/storybook/assets/react-CFS0r9Lk.js +1 -0
  187. package/storybook/assets/react-NI1vexfW.js +1 -0
  188. package/storybook/assets/rolldown-runtime-D_-wTCJc.js +1 -0
  189. package/storybook/assets/spacing-CVdkEC7L.js +23 -0
  190. package/storybook/assets/syntaxhighlighter-4REYKNEV-CaO5n5UG.js +6 -0
  191. package/storybook/assets/theming-6wiCKx_Z.js +39 -0
  192. package/storybook/assets/typography-B6Dotum2.js +49 -0
  193. package/storybook/favicon-wrapper.svg +46 -0
  194. package/storybook/favicon.svg +1 -0
  195. package/storybook/iframe.html +756 -0
  196. package/storybook/index.html +170 -0
  197. package/storybook/index.json +1 -0
  198. package/storybook/manifests/components.html +12595 -0
  199. package/storybook/manifests/components.json +355 -0
  200. package/storybook/manifests/docs.json +37 -0
  201. package/storybook/nunito-sans-bold-italic.woff2 +0 -0
  202. package/storybook/nunito-sans-bold.woff2 +0 -0
  203. package/storybook/nunito-sans-italic.woff2 +0 -0
  204. package/storybook/nunito-sans-regular.woff2 +0 -0
  205. package/storybook/package.json +32 -0
  206. package/storybook/project.json +1 -0
  207. package/storybook/react-logo.png +0 -0
  208. package/storybook/sb-addons/a11y-2/manager-bundle.js +57 -0
  209. package/storybook/sb-addons/designs-3/register-panel-bundle.js +1009 -0
  210. package/storybook/sb-addons/designs-3/register-panel-bundle.js.LEGAL.txt +8 -0
  211. package/storybook/sb-addons/docs-4/manager-bundle.js +18 -0
  212. package/storybook/sb-addons/libs-angular-storybook-6/manager-bundle.js +3 -0
  213. package/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +632 -0
  214. package/storybook/sb-addons/themes-5/manager-bundle.js +3 -0
  215. package/storybook/sb-addons/vitest-1/manager-bundle.js +3 -0
  216. package/storybook/sb-common-assets/favicon-wrapper.svg +46 -0
  217. package/storybook/sb-common-assets/favicon.svg +1 -0
  218. package/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  219. package/storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  220. package/storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  221. package/storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  222. package/storybook/sb-manager/globals-runtime.js +79132 -0
  223. package/storybook/sb-manager/globals.js +24 -0
  224. package/storybook/sb-manager/manager-stores.js +23 -0
  225. package/storybook/sb-manager/runtime.js +28317 -0
  226. package/storybook/services/addon-docs/mdx/foundation-colors--docs.json +18 -0
  227. package/storybook/services/addon-docs/mdx/foundation-spacing--docs.json +18 -0
  228. package/storybook/services/addon-docs/mdx/foundation-typography--docs.json +18 -0
  229. package/storybook/services/addon-docs/mdx/introduction--docs.json +18 -0
  230. package/storybook/services/core/docgen/components-ai-atlchat.json +158 -0
  231. package/storybook/services/core/docgen/components-display-atlavatar.json +144 -0
  232. package/storybook/services/core/docgen/components-display-atlbadge.json +97 -0
  233. package/storybook/services/core/docgen/components-display-atlcard.json +103 -0
  234. package/storybook/services/core/docgen/components-display-atlcodeblock.json +165 -0
  235. package/storybook/services/core/docgen/components-display-atlicon.json +172 -0
  236. package/storybook/services/core/docgen/components-display-atlprogress.json +177 -0
  237. package/storybook/services/core/docgen/components-display-atlskeleton.json +125 -0
  238. package/storybook/services/core/docgen/components-display-atltable.json +100 -0
  239. package/storybook/services/core/docgen/components-feedback-atlaccordiongroup.json +105 -0
  240. package/storybook/services/core/docgen/components-feedback-atlalert.json +124 -0
  241. package/storybook/services/core/docgen/components-inputs-atlbutton.json +153 -0
  242. package/storybook/services/core/docgen/components-inputs-atlcheckbox.json +226 -0
  243. package/storybook/services/core/docgen/components-inputs-atlcombobox.json +244 -0
  244. package/storybook/services/core/docgen/components-inputs-atlinput.json +302 -0
  245. package/storybook/services/core/docgen/components-inputs-atlradio.json +114 -0
  246. package/storybook/services/core/docgen/components-inputs-atlradiogroup.json +243 -0
  247. package/storybook/services/core/docgen/components-inputs-atlselect.json +257 -0
  248. package/storybook/services/core/docgen/components-inputs-atltextarea.json +311 -0
  249. package/storybook/services/core/docgen/components-inputs-atltoggle.json +209 -0
  250. package/storybook/services/core/docgen/components-navigation-atlbreadcrumbs.json +55 -0
  251. package/storybook/services/core/docgen/components-navigation-atlmenu.json +45 -0
  252. package/storybook/services/core/docgen/components-navigation-atlpagination.json +193 -0
  253. package/storybook/services/core/docgen/components-navigation-atlstepper.json +156 -0
  254. package/storybook/services/core/docgen/components-navigation-atltabgroup.json +79 -0
  255. package/storybook/services/core/docgen/components-overlay-atldialog.json +216 -0
  256. package/storybook/services/core/docgen/components-overlay-atldrawer.json +190 -0
  257. package/storybook/services/core/docgen/components-overlay-atltoast.json +145 -0
  258. package/storybook/services/core/docgen/components-overlay-atltooltip.json +128 -0
  259. package/storybook/services/core/docgen/cookbook.json +3 -0
  260. package/storybook/services/core/docgen/showcase-all-components.json +191 -0
  261. package/storybook/services/core/docgen/showcase-kitchen-sink.json +20 -0
  262. package/storybook/services/core/story-docs/components-ai-atlchat.json +73 -0
  263. package/storybook/services/core/story-docs/components-display-atlavatar.json +61 -0
  264. package/storybook/services/core/story-docs/components-display-atlbadge.json +61 -0
  265. package/storybook/services/core/story-docs/components-display-atlcard.json +61 -0
  266. package/storybook/services/core/story-docs/components-display-atlcodeblock.json +41 -0
  267. package/storybook/services/core/story-docs/components-display-atlicon.json +52 -0
  268. package/storybook/services/core/story-docs/components-display-atlprogress.json +41 -0
  269. package/storybook/services/core/story-docs/components-display-atlskeleton.json +46 -0
  270. package/storybook/services/core/story-docs/components-display-atltable.json +65 -0
  271. package/storybook/services/core/story-docs/components-feedback-atlaccordiongroup.json +56 -0
  272. package/storybook/services/core/story-docs/components-feedback-atlalert.json +51 -0
  273. package/storybook/services/core/story-docs/components-inputs-atlbutton.json +76 -0
  274. package/storybook/services/core/story-docs/components-inputs-atlcheckbox.json +57 -0
  275. package/storybook/services/core/story-docs/components-inputs-atlcombobox.json +41 -0
  276. package/storybook/services/core/story-docs/components-inputs-atlinput.json +70 -0
  277. package/storybook/services/core/story-docs/components-inputs-atlradio.json +35 -0
  278. package/storybook/services/core/story-docs/components-inputs-atlradiogroup.json +59 -0
  279. package/storybook/services/core/story-docs/components-inputs-atlselect.json +65 -0
  280. package/storybook/services/core/story-docs/components-inputs-atltextarea.json +65 -0
  281. package/storybook/services/core/story-docs/components-inputs-atltoggle.json +52 -0
  282. package/storybook/services/core/story-docs/components-navigation-atlbreadcrumbs.json +37 -0
  283. package/storybook/services/core/story-docs/components-navigation-atlmenu.json +37 -0
  284. package/storybook/services/core/story-docs/components-navigation-atlpagination.json +41 -0
  285. package/storybook/services/core/story-docs/components-navigation-atlstepper.json +37 -0
  286. package/storybook/services/core/story-docs/components-navigation-atltabgroup.json +47 -0
  287. package/storybook/services/core/story-docs/components-overlay-atldialog.json +59 -0
  288. package/storybook/services/core/story-docs/components-overlay-atldrawer.json +59 -0
  289. package/storybook/services/core/story-docs/components-overlay-atltoast.json +56 -0
  290. package/storybook/services/core/story-docs/components-overlay-atltooltip.json +42 -0
  291. package/storybook/services/core/story-docs/cookbook.json +39 -0
  292. package/storybook/services/core/story-docs/showcase-all-components.json +17 -0
  293. package/storybook/services/core/story-docs/showcase-kitchen-sink.json +17 -0
  294. package/storybook/vite-inject-mocker-entry.js +2 -0
  295. package/storybook/vue-logo.jpeg +0 -0
@@ -0,0 +1,23 @@
1
+ import{i as e,n as t,r as n}from"./rolldown-runtime-D_-wTCJc.js";function setActiveConsumer(e){let t=r;return r=e,t}function getActiveConsumer(){return r}function producerAccessed(e){if(i)throw Error(``);if(r===null)return;r.consumerOnSignalRead(e);let t=r.producersTail;if(t!==void 0&&t.producer===e)return;let n,o=r.recomputing;if(o&&(n=t===void 0?r.producers:t.nextProducer,n!==void 0&&n.producer===e)){r.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=a;return}let s=e.consumersTail;if(s!==void 0&&s.consumer===r&&(!o||s.knownValidAtEpoch===a))return;let c=consumerIsLive(r),l={producer:e,consumer:r,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:a,lastReadVersion:e.version,nextConsumer:void 0};r.producersTail=l,t===void 0?r.producers=l:t.nextProducer=l,c&&producerAddLiveConsumer(e,l)}function producerIncrementEpoch(){a++}function producerUpdateValueVersion(e){if((!consumerIsLive(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==a)){if(!e.producerMustRecompute(e)&&!consumerPollProducersForChange(e)){producerMarkClean(e);return}e.producerRecomputeValue(e),producerMarkClean(e)}}function producerNotifyConsumers(e){if(e.consumers===void 0)return;let t=i;i=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let e=t.consumer;e.dirty||consumerMarkDirty(e)}}finally{i=t}}function producerUpdatesAllowed(){return r?.consumerAllowSignalWrites!==!1}function consumerMarkDirty(e){e.dirty=!0,producerNotifyConsumers(e),e.consumerMarkedDirty?.(e)}function producerMarkClean(e){e.dirty=!1,e.lastCleanEpoch=a}function consumerBeforeComputation(e){return e&&resetConsumerBeforeComputation(e),setActiveConsumer(e)}function resetConsumerBeforeComputation(e){if(e.producersTail?.knownValidAtEpoch===a){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function consumerAfterComputation(e,t){setActiveConsumer(t),e&&finalizeConsumerAfterComputation(e)}function finalizeConsumerAfterComputation(e){e.recomputing=!1;let t=e.producersTail,n=t===void 0?e.producers:t.nextProducer;if(n!==void 0){if(consumerIsLive(e))do n=producerRemoveLiveConsumerLink(n);while(n!==void 0);t===void 0?e.producers=void 0:t.nextProducer=void 0}}function consumerPollProducersForChange(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let e=t.producer,n=t.lastReadVersion;if(n!==e.version||(producerUpdateValueVersion(e),n!==e.version))return!0}return!1}function consumerDestroy(e){if(consumerIsLive(e)){let t=e.producers;for(;t!==void 0;)t=producerRemoveLiveConsumerLink(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function producerAddLiveConsumer(e,t){let n=e.consumersTail,r=consumerIsLive(e);if(n===void 0?(t.nextConsumer=void 0,e.consumers=t):(t.nextConsumer=n.nextConsumer,n.nextConsumer=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let t=e.producers;t!==void 0;t=t.nextProducer)producerAddLiveConsumer(t.producer,t)}function producerRemoveLiveConsumerLink(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r===void 0?t.consumersTail=i:r.prevConsumer=i,i!==void 0)i.nextConsumer=r;else if(t.consumers=r,!consumerIsLive(t)){let e=t.producers;for(;e!==void 0;)e=producerRemoveLiveConsumerLink(e)}return n}function consumerIsLive(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function runPostProducerCreatedFn(e){o?.(e)}function defaultEquals(e,t){return Object.is(e,t)}function createComputed(e,t){let n=Object.create(f);n.computation=e,t!==void 0&&(n.equal=t);let computed=()=>{if(producerUpdateValueVersion(n),producerAccessed(n),n.value===d)throw n.error;return n.value};return computed[s]=n,runPostProducerCreatedFn(n),computed}function defaultThrowError(){throw Error()}function throwInvalidWriteToSignalError(e){p(e)}function setThrowInvalidWriteToSignalError(e){p=e}function createSignal(e,t){let n=Object.create(h);n.value=e,t!==void 0&&(n.equal=t);let getter=()=>signalGetFn(n);getter[s]=n,runPostProducerCreatedFn(n);let set=e=>signalSetFn(n,e),update=e=>signalUpdateFn(n,e);return[getter,set,update]}function signalGetFn(e){return producerAccessed(e),e.value}function signalSetFn(e,t){producerUpdatesAllowed()||throwInvalidWriteToSignalError(e),e.equal(e.value,t)||(e.value=t,signalValueChanged(e))}function signalUpdateFn(e,t){producerUpdatesAllowed()||throwInvalidWriteToSignalError(e),signalSetFn(e,t(e.value))}function signalValueChanged(e){e.version++,producerIncrementEpoch(),producerNotifyConsumers(e),m?.(e)}function runEffect(e){if(e.dirty=!1,e.version>0&&!consumerPollProducersForChange(e))return;e.version++;let t=consumerBeforeComputation(e);try{e.cleanup(),e.fn()}finally{consumerAfterComputation(e,t)}}var r,i,a,o,s,c,l,u,d,f,p,m,h,g;function init__effect_chunk(){return(init__effect_chunk=t((()=>{r=null,i=!1,a=1,o=null,s=Symbol(`SIGNAL`),c={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:()=>{}},l=Symbol(`UNSET`),u=Symbol(`COMPUTING`),d=Symbol(`ERRORED`),f={...c,value:l,dirty:!0,error:null,equal:defaultEquals,kind:`computed`,producerMustRecompute(e){return e.value===l||e.value===u},producerRecomputeValue(e){if(e.value===u)throw Error(``);let t=e.value;e.value=u;let n=consumerBeforeComputation(e),r,i=!1;try{r=e.computation(),setActiveConsumer(null),i=t!==l&&t!==d&&r!==d&&e.equal(t,r)}catch(t){r=d,e.error=t}finally{consumerAfterComputation(e,n)}if(i){e.value=t;return}e.value=r,e.version++}},p=defaultThrowError,m=null,h={...c,equal:defaultEquals,value:void 0,kind:`signal`},g={...c,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`}})))()}function getCurrentInjector(){return _}function setCurrentInjector(e){let t=_;return _=e,t}function isNotFound(e){return e===v||e?.name===`ɵNotFound`}var _,v;function init__not_found_chunk(){return(init__not_found_chunk=t((()=>{_=void 0,v=Symbol(`NotFound`)})))()}function createLinkedSignal(e,t,n){let r=Object.create(y);r.source=e,r.computation=t,n!=null&&(r.equal=n);let linkedSignalGetter=()=>{if(producerUpdateValueVersion(r),producerAccessed(r),r.value===d)throw r.error;return r.value},i=linkedSignalGetter;return i[s]=r,runPostProducerCreatedFn(r),i}function linkedSignalSetFn(e,t){producerUpdateValueVersion(e),signalSetFn(e,t),producerMarkClean(e)}function linkedSignalUpdateFn(e,t){if(producerUpdateValueVersion(e),e.value===d)throw e.error;signalUpdateFn(e,t),producerMarkClean(e)}function untracked$1(e){let t=setActiveConsumer(null);try{return e()}finally{setActiveConsumer(t)}}var y;function init__untracked_chunk(){return(init__untracked_chunk=t((()=>{init__effect_chunk(),y={...c,value:l,dirty:!0,error:null,equal:defaultEquals,kind:`linkedSignal`,producerMustRecompute(e){return e.value===l||e.value===u},producerRecomputeValue(e){if(e.value===u)throw Error(``);let t=e.value;e.value=u;let n=consumerBeforeComputation(e),r,i=!1;try{let n=e.source(),a=t!==l&&t!==d,o=a?{source:e.sourceValue,value:t}:void 0;r=e.computation(n,o),e.sourceValue=n,setActiveConsumer(null),i=a&&r!==d&&e.equal(t,r)}catch(t){r=d,e.error=t}finally{consumerAfterComputation(e,n)}if(i){e.value=t;return}e.value=r,e.version++}},e(untracked$1,`untracked`)})))()}function setAlternateWeakRefImpl(e){}function init__weak_ref_chunk(){return(init__weak_ref_chunk=t((()=>{})))()}function __extends(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);extendStatics(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)}function __decorate(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function __awaiter(e,t,n,r){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,i){function fulfilled(e){try{step(r.next(e))}catch(e){i(e)}}function rejected(e){try{step(r.throw(e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})}function __generator(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=verb(0),o.throw=verb(1),o.return=verb(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(s){if(r)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1],a=s;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(s);break}a[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e],i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function __values(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function __read(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function __spreadArray(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),verb(`next`),verb(`throw`),verb(`return`,awaitReturn),i[Symbol.asyncIterator]=function(){return this},i;function awaitReturn(e){return function(t){return Promise.resolve(t).then(e,reject)}}function verb(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||resume(e,t)})},t&&(i[e]=t(i[e])))}function resume(e,t){try{step(r[e](t))}catch(e){settle(a[0][3],e)}}function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(a[0][2],e)}function fulfill(e){resume(`next`,e)}function reject(e){resume(`throw`,e)}function settle(e,t){e(t),a.shift(),a.length&&resume(a[0][0],a[0][1])}}function __asyncValues(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},verb(`next`),verb(`throw`),verb(`return`),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise(function(r,i){n=e[t](n),settle(r,i,n.done,n.value)})}}function settle(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var extendStatics;function init_tslib_es6(){return(init_tslib_es6=t((()=>{extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},extendStatics(e,t)}})))()}function isFunction(e){return typeof e==`function`}function init_isFunction(){return(init_isFunction=t((()=>{})))()}function createErrorClass(e){var _super=function(e){Error.call(e),e.stack=Error().stack},t=e(_super);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}function init_createErrorClass(){return(init_createErrorClass=t((()=>{})))()}var ee;function init_UnsubscriptionError(){return(init_UnsubscriptionError=t((()=>{init_createErrorClass(),ee=createErrorClass(function(e){return function UnsubscriptionErrorImpl(t){e(this),this.message=t?t.length+` errors occurred during unsubscription:
2
+ `+t.map(function(e,t){return t+1+`) `+e.toString()}).join(`
3
+ `):``,this.name=`UnsubscriptionError`,this.errors=t}})})))()}function arrRemove(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}function init_arrRemove(){return(init_arrRemove=t((()=>{})))()}function isSubscription(e){return e instanceof b||e&&`closed`in e&&isFunction(e.remove)&&isFunction(e.add)&&isFunction(e.unsubscribe)}function execFinalizer(e){isFunction(e)?e():e.unsubscribe()}var b,te;function init_Subscription(){return(init_Subscription=t((()=>{init_tslib_es6(),init_isFunction(),init_UnsubscriptionError(),init_arrRemove(),b=function(){function Subscription(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return Subscription.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a){if(this._parentage=null,Array.isArray(a))try{for(var o=__values(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this)}var c=this.initialTeardown;if(isFunction(c))try{c()}catch(e){i=e instanceof ee?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var u=__values(l),d=u.next();!d.done;d=u.next()){var f=d.value;try{execFinalizer(f)}catch(e){i??=[],e instanceof ee?i=__spreadArray(__spreadArray([],__read(i)),__read(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ee(i)}},Subscription.prototype.add=function(e){if(e&&e!==this){if(this.closed)execFinalizer(e);else{if(e instanceof Subscription){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=this._finalizers??[]).push(e)}}},Subscription.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Subscription.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Subscription.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&arrRemove(t,e)},Subscription.prototype.remove=function(e){var t=this._finalizers;t&&arrRemove(t,e),e instanceof Subscription&&e._removeParent(this)},Subscription.EMPTY=(function(){var e=new Subscription;return e.closed=!0,e})(),Subscription}(),te=b.EMPTY})))()}var x;function init_config(){return(init_config=t((()=>{x={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}})))()}var ne;function init_timeoutProvider(){return(init_timeoutProvider=t((()=>{init_tslib_es6(),ne={setTimeout:function(e,t){var n=[...arguments].slice(2),r=ne.delegate;return r?.setTimeout?r.setTimeout.apply(r,__spreadArray([e,t],__read(n))):setTimeout.apply(void 0,__spreadArray([e,t],__read(n)))},clearTimeout:function(e){return(ne.delegate?.clearTimeout||clearTimeout)(e)},delegate:void 0}})))()}function reportUnhandledError(e){ne.setTimeout(function(){var t=x.onUnhandledError;if(t)t(e);else throw e})}function init_reportUnhandledError(){return(init_reportUnhandledError=t((()=>{init_config(),init_timeoutProvider()})))()}function noop$1(){}function init_noop(){return(init_noop=t((()=>{e(noop$1,`noop`)})))()}function errorNotification(e){return createNotification(`E`,void 0,e)}function nextNotification(e){return createNotification(`N`,e,void 0)}function createNotification(e,t,n){return{kind:e,value:t,error:n}}var re;function init_NotificationFactories(){return(init_NotificationFactories=t((()=>{re=(function(){return createNotification(`C`,void 0,void 0)})()})))()}function errorContext(e){if(x.useDeprecatedSynchronousErrorHandling){var t=!S;if(t&&(S={errorThrown:!1,error:null}),e(),t){var n=S,r=n.errorThrown,i=n.error;if(S=null,r)throw i}}else e()}function captureError(e){x.useDeprecatedSynchronousErrorHandling&&S&&(S.errorThrown=!0,S.error=e)}var S;function init_errorContext(){return(init_errorContext=t((()=>{init_config(),S=null})))()}function bind(e,t){return ae.call(e,t)}function handleUnhandledError(e){x.useDeprecatedSynchronousErrorHandling?captureError(e):reportUnhandledError(e)}function defaultErrorHandler(e){throw e}function handleStoppedNotification(e,t){var n=x.onStoppedNotification;n&&ne.setTimeout(function(){return n(e,t)})}var ie,ae,oe,se,ce;function init_Subscriber(){return(init_Subscriber=t((()=>{init_tslib_es6(),init_isFunction(),init_Subscription(),init_config(),init_reportUnhandledError(),init_noop(),init_NotificationFactories(),init_timeoutProvider(),init_errorContext(),ie=function(e){__extends(Subscriber,e);function Subscriber(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,isSubscription(t)&&t.add(n)):n.destination=ce,n}return Subscriber.create=function(e,t,n){return new se(e,t,n)},Subscriber.prototype.next=function(e){this.isStopped?handleStoppedNotification(nextNotification(e),this):this._next(e)},Subscriber.prototype.error=function(e){this.isStopped?handleStoppedNotification(errorNotification(e),this):(this.isStopped=!0,this._error(e))},Subscriber.prototype.complete=function(){this.isStopped?handleStoppedNotification(re,this):(this.isStopped=!0,this._complete())},Subscriber.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},Subscriber.prototype._next=function(e){this.destination.next(e)},Subscriber.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Subscriber.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Subscriber}(b),ae=Function.prototype.bind,oe=function(){function ConsumerObserver(e){this.partialObserver=e}return ConsumerObserver.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){handleUnhandledError(e)}},ConsumerObserver.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){handleUnhandledError(e)}else handleUnhandledError(e)},ConsumerObserver.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){handleUnhandledError(e)}},ConsumerObserver}(),se=function(e){__extends(SafeSubscriber,e);function SafeSubscriber(t,n,r){var i=e.call(this)||this,a;if(isFunction(t)||!t)a={next:t??void 0,error:n??void 0,complete:r??void 0};else{var o;i&&x.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=function(){return i.unsubscribe()},a={next:t.next&&bind(t.next,o),error:t.error&&bind(t.error,o),complete:t.complete&&bind(t.complete,o)}):a=t}return i.destination=new oe(a),i}return SafeSubscriber}(ie),ce={closed:!0,next:noop$1,error:defaultErrorHandler,complete:noop$1}})))()}var le;function init_observable(){return(init_observable=t((()=>{le=(function(){return typeof Symbol==`function`&&Symbol.observable||`@@observable`})()})))()}function identity(e){return e}function init_identity(){return(init_identity=t((()=>{})))()}function pipeFromArray(e){return e.length===0?identity:e.length===1?e[0]:function piped(t){return e.reduce(function(e,t){return t(e)},t)}}function init_pipe(){return(init_pipe=t((()=>{init_identity()})))()}function getPromiseCtor(e){return e??x.Promise??Promise}function isObserver(e){return e&&isFunction(e.next)&&isFunction(e.error)&&isFunction(e.complete)}function isSubscriber(e){return e&&e instanceof ie||isObserver(e)&&isSubscription(e)}var ue;function init_Observable(){return(init_Observable=t((()=>{init_Subscriber(),init_Subscription(),init_observable(),init_pipe(),init_config(),init_isFunction(),init_errorContext(),ue=function(){function Observable(e){e&&(this._subscribe=e)}return Observable.prototype.lift=function(e){var t=new Observable;return t.source=this,t.operator=e,t},Observable.prototype.subscribe=function(e,t,n){var r=this,i=isSubscriber(e)?e:new se(e,t,n);return errorContext(function(){var e=r,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?r._subscribe(i):r._trySubscribe(i))}),i},Observable.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},Observable.prototype.forEach=function(e,t){var n=this;return t=getPromiseCtor(t),new t(function(t,r){var i=new se({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)})},Observable.prototype._subscribe=function(e){return this.source?.subscribe(e)},Observable.prototype[le]=function(){return this},Observable.prototype.pipe=function(){return pipeFromArray([...arguments])(this)},Observable.prototype.toPromise=function(e){var t=this;return e=getPromiseCtor(e),new e(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},Observable.create=function(e){return new Observable(e)},Observable}()})))()}function hasLift(e){return isFunction(e?.lift)}function operate(e){return function(t){if(hasLift(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError(`Unable to lift unknown Observable type`)}}function init_lift(){return(init_lift=t((()=>{init_isFunction()})))()}function createOperatorSubscriber(e,t,n,r,i){return new de(e,t,n,r,i)}var de;function init_OperatorSubscriber(){return(init_OperatorSubscriber=t((()=>{init_tslib_es6(),init_Subscriber(),de=function(e){__extends(OperatorSubscriber,e);function OperatorSubscriber(t,n,r,i,a,o){var s=e.call(this,t)||this;return s.onFinalize=a,s.shouldUnsubscribe=o,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return OperatorSubscriber.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)==null||t.call(this))}},OperatorSubscriber}(ie)})))()}var fe;function init_ObjectUnsubscribedError(){return(init_ObjectUnsubscribedError=t((()=>{init_createErrorClass(),fe=createErrorClass(function(e){return function ObjectUnsubscribedErrorImpl(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`}})})))()}var pe,me;function init_Subject(){return(init_Subject=t((()=>{init_tslib_es6(),init_Observable(),init_Subscription(),init_ObjectUnsubscribedError(),init_arrRemove(),init_errorContext(),pe=function(e){__extends(Subject,e);function Subject(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Subject.prototype.lift=function(e){var t=new me(this,this);return t.operator=e,t},Subject.prototype._throwIfClosed=function(){if(this.closed)throw new fe},Subject.prototype.next=function(e){var t=this;errorContext(function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||=Array.from(t.observers);try{for(var i=__values(t.currentObservers),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}})},Subject.prototype.error=function(e){var t=this;errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},Subject.prototype.complete=function(){var e=this;errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},Subject.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Subject.prototype,"observed",{get:function(){return this.observers?.length>0},enumerable:!1,configurable:!0}),Subject.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},Subject.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Subject.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?te:(this.currentObservers=null,a.push(e),new b(function(){t.currentObservers=null,arrRemove(a,e)}))},Subject.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},Subject.prototype.asObservable=function(){var e=new ue;return e.source=this,e},Subject.create=function(e,t){return new me(e,t)},Subject}(ue),me=function(e){__extends(AnonymousSubject,e);function AnonymousSubject(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return AnonymousSubject.prototype.next=function(e){var t,n;(n=(t=this.destination)?.next)==null||n.call(t,e)},AnonymousSubject.prototype.error=function(e){var t,n;(n=(t=this.destination)?.error)==null||n.call(t,e)},AnonymousSubject.prototype.complete=function(){var e,t;(t=(e=this.destination)?.complete)==null||t.call(e)},AnonymousSubject.prototype._subscribe=function(e){return this.source?.subscribe(e)??te},AnonymousSubject}(pe)})))()}var he;function init_BehaviorSubject(){return(init_BehaviorSubject=t((()=>{init_tslib_es6(),init_Subject(),he=function(e){__extends(BehaviorSubject,e);function BehaviorSubject(t){var n=e.call(this)||this;return n._value=t,n}return Object.defineProperty(BehaviorSubject.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),BehaviorSubject.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},BehaviorSubject.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},BehaviorSubject.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},BehaviorSubject}(pe)})))()}function map(e,t){return operate(function(n,r){var i=0;n.subscribe(createOperatorSubscriber(r,function(n){r.next(e.call(t,n,i++))}))})}function init_map(){return(init_map=t((()=>{init_lift(),init_OperatorSubscriber()})))()}function formatRuntimeErrorCode(e){return`NG0${Math.abs(e)}`}function formatRuntimeError(e,t){return`${formatRuntimeErrorCode(e)}${t?`: `+t:``}`}function getClosureSafeProperty(e){for(let t in e)if(e[t]===getClosureSafeProperty)return t;throw Error(``)}function fillProperties(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function stringify(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(stringify).join(`, `)}]`;if(e==null)return``+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return``+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function concatStringsWithSpace(e,t){return e?t?`${e} ${t}`:e:t||``}function truncateMiddle(e,t=100){if(!e||t<1||e.length<=t)return e;if(t==1)return e.substring(0,1)+`...`;let n=Math.round(t/2);return e.substring(0,n)+`...`+e.substring(e.length-n)}function forwardRef(e){return e.__forward_ref__=forwardRef,e}function resolveForwardRef(e){return isForwardRef(e)?e():e}function isForwardRef(e){return typeof e==`function`&&Object.hasOwn(e,ye)&&e.__forward_ref__===forwardRef}function assertEqual(e,t,n){e!=t&&throwError(n,e,t,`==`)}function throwError(e,t,n,r){throw Error(`ASSERTION ERROR: ${e}`+(r==null?``:` [Expected=> ${n} ${r} ${t} <=Actual]`))}function ɵɵdefineInjectable(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ɵɵdefineInjector(e){return{providers:e.providers||[],imports:e.imports||[]}}function getInjectableDef(e){return getOwnDefinition(e,be)}function isInjectable(e){return getInjectableDef(e)!==null}function getOwnDefinition(e,t){return Object.hasOwn(e,t)&&e[t]||null}function getInheritedInjectableDef(e){return(e?.[be]??null)||null}function getInjectorDef(e){return e&&Object.hasOwn(e,xe)?e[xe]:null}function setInjectorProfilerContext(e){throwError(`setInjectorProfilerContext should never be called in production mode`);let t=Se;return Se=e,t}function isEnvironmentProviders(e){return e&&!!e.ɵproviders}function getNgModuleDef(e){return assertTypeDefined(e,`@NgModule`),e[Ee]||null}function getNgModuleDefOrThrow(e){let t=getNgModuleDef(e);if(!t)throw new RuntimeError(915,!1);return t}function getComponentDef(e){return assertTypeDefined(e,`@Component`),e[Ce]||null}function getDirectiveDef(e){return assertTypeDefined(e,`@Directive`),e[we]||null}function getPipeDef$1(e){return assertTypeDefined(e,`@Pipe`),e[Te]||null}function assertTypeDefined(e,t){if(e==null)throw new RuntimeError(-919,!1)}function isStandalone(e){let t=getComponentDef(e)||getDirectiveDef(e)||getPipeDef$1(e);return t!==null&&t.standalone}function renderStringify(e){return typeof e==`string`?e:e==null?``:String(e)}function stringifyForError(e){return typeof e==`function`?e.name||e.toString():typeof e==`object`&&e&&typeof e.type==`function`?e.type.name||e.type.toString():renderStringify(e)}function cyclicDependencyError(e,t){return createRuntimeError(``,-200,t)}function throwProviderNotFoundError(e,t){throw new RuntimeError(-201,!1)}function createRuntimeError(e,t,n){let r=new RuntimeError(t,e);return r[ke]=t,r[Ae]=e,n&&(r[je]=n),r}function getRuntimeErrorCode(e){return e[ke]}function getInjectImplementation(){return Me}function setInjectImplementation(e){let t=Me;return Me=e,t}function injectRootLimpMode(e,t,n){let r=getInjectableDef(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;throwProviderNotFoundError(e,``)}function injectInjectorOnly(e,t=0){let n=getCurrentInjector();if(n===void 0)throw new RuntimeError(-203,!1);if(n===null)return injectRootLimpMode(e,void 0,t);{let r=convertToInjectOptions(t),i=n.retrieve(e,r);if(isNotFound(i)){if(r.optional)return null;throw i}return i}}function ɵɵinject(e,t=0){return(getInjectImplementation()||injectInjectorOnly)(resolveForwardRef(e),t)}function ɵɵinvalidFactoryDep(e){throw new RuntimeError(202,!1)}function inject(e,t){return ɵɵinject(e,convertToBitFlags(t))}function convertToBitFlags(e){return e===void 0||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function convertToInjectOptions(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function injectArgs(e){let t=[];for(let n=0;n<e.length;n++){let r=resolveForwardRef(e[n]);if(Array.isArray(r)){if(r.length===0)throw new RuntimeError(900,!1);let e,n=0;for(let t=0;t<r.length;t++){let i=r[t],a=getInjectFlag(i);typeof a==`number`?a===-1?e=i.token:n|=a:e=i}t.push(ɵɵinject(e,n))}else t.push(ɵɵinject(r))}return t}function attachInjectFlag(e,t){return e[Pe]=t,e.prototype[Pe]=t,e}function getInjectFlag(e){return e[Pe]}function getFactoryDef(e,t){return Object.hasOwn(e,C)?e[C]:null}function arrayEquals(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}function flatten(e){return e.flat(1/0)}function deepForEach(e,t){e.forEach(e=>Array.isArray(e)?deepForEach(e,t):t(e))}function addToArray(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function removeFromArray(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function newArray(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function arraySplice(e,t,n){let r=e.length-n;for(;t<r;)e[t]=e[t+n],t++;for(;n--;)e.pop()}function arrayInsert2(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let t=i-2;e[i]=e[t],i--}e[t]=n,e[t+1]=r}}function keyValueArraySet(e,t,n){let r=keyValueArrayIndexOf(e,t);return r>=0?e[r|1]=n:(r=~r,arrayInsert2(e,r,t,n)),r}function keyValueArrayGet(e,t){let n=keyValueArrayIndexOf(e,t);if(n>=0)return e[n|1]}function keyValueArrayIndexOf(e,t){return _arrayIndexOfSorted(e,t,1)}function _arrayIndexOfSorted(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let a=r+(i-r>>1),o=e[a<<n];if(t===o)return a<<n;o>t?i=a:r=a+1}return~(i<<n)}function makeEnvironmentProviders(e){return{ɵproviders:e}}function provideEnvironmentInitializer(e){return makeEnvironmentProviders([{provide:E,multi:!0,useValue:e}])}function importProvidersFrom(...e){return{ɵproviders:internalImportProvidersFrom(!0,e),ɵfromNgModule:!0}}function internalImportProvidersFrom(e,...t){let n=[],r=new Set,i,collectProviders=e=>{n.push(e)};return deepForEach(t,e=>{let t=e;walkProviderTree(t,collectProviders,[],r)&&(i||=[],i.push(t))}),i!==void 0&&processInjectorTypesWithProviders(i,collectProviders),n}function processInjectorTypesWithProviders(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];deepForEachProvider(i,e=>{t(e,r)})}}function walkProviderTree(e,t,n,r){if(e=resolveForwardRef(e),!e)return!1;let i=null,a=getInjectorDef(e),o=!a&&getComponentDef(e);if(!a&&!o){let t=e.ngModule;if(a=getInjectorDef(t),a)i=t;else return!1}else if(o&&!o.standalone)return!1;else i=e;let s=r.has(i);if(o){if(s)return!1;if(r.add(i),o.dependencies){let e=typeof o.dependencies==`function`?o.dependencies():o.dependencies;for(let i of e)walkProviderTree(i,t,n,r)}}else if(a){if(a.imports!=null&&!s){r.add(i);let e;try{deepForEach(a.imports,i=>{walkProviderTree(i,t,n,r)&&(e||=[],e.push(i))})}finally{}e!==void 0&&processInjectorTypesWithProviders(e,t)}if(!s){let e=getFactoryDef(i)||(()=>new i);t({provide:i,useFactory:e,deps:T},i),t({provide:Le,useValue:i,multi:!0},i),t({provide:E,useValue:()=>ɵɵinject(i),multi:!0},i)}let o=a.providers;if(o!=null&&!s){let n=e;deepForEachProvider(o,e=>{t(e,n)})}}else return!1;return i!==e&&e.providers!==void 0}function deepForEachProvider(e,t){for(let n of e)isEnvironmentProviders(n)&&(n=n.ɵproviders),Array.isArray(n)?deepForEachProvider(n,t):t(n)}function isValueProvider(e){return typeof e==`object`&&!!e&&Re in e}function isExistingProvider(e){return!!(e&&e.useExisting)}function isFactoryProvider(e){return!!(e&&e.useFactory)}function isTypeProvider(e){return typeof e==`function`}function isClassProvider(e){return!!e.useClass}function getNullInjector(){return He===void 0&&(He=new NullInjector),He}function injectableDefOrInjectorDefFactory(e){let t=getInjectableDef(e),n=t===null?getFactoryDef(e):t.factory;if(n!==null)return n;if(e instanceof InjectionToken)throw new RuntimeError(-204,!1);if(e instanceof Function)return getUndecoratedInjectableFactory(e);throw new RuntimeError(-204,!1)}function getUndecoratedInjectableFactory(e){if(e.length>0)throw new RuntimeError(-204,!1);let t=getInheritedInjectableDef(e);return t===null?()=>new e:()=>t.factory(e)}function providerToRecord(e){return isValueProvider(e)?makeRecord(void 0,e.useValue):makeRecord(providerToFactory(e),Be)}function providerToFactory(e,t,n){let factory;if(isTypeProvider(e)){let t=resolveForwardRef(e);return getFactoryDef(t)||injectableDefOrInjectorDefFactory(t)}if(isValueProvider(e))factory=()=>resolveForwardRef(e.useValue);else if(isFactoryProvider(e))factory=()=>e.useFactory(...injectArgs(e.deps||[]));else if(isExistingProvider(e))factory=(t,n)=>ɵɵinject(resolveForwardRef(e.useExisting),n!==void 0&&n&8?8:void 0);else{let t=resolveForwardRef(e&&(e.useClass||e.provide));if(hasDeps(e))factory=()=>new t(...injectArgs(e.deps));else return getFactoryDef(t)||injectableDefOrInjectorDefFactory(t)}return factory}function assertNotDestroyed(e){if(e.destroyed)throw new RuntimeError(-205,!1)}function makeRecord(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hasDeps(e){return!!e.deps}function hasOnDestroy(e){return typeof e==`object`&&!!e&&typeof e.ngOnDestroy==`function`}function couldBeInjectableType(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function forEachSingleProvider(e,t){for(let n of e)Array.isArray(n)?forEachSingleProvider(n,t):n&&isEnvironmentProviders(n)?forEachSingleProvider(n.ɵproviders,t):t(n)}function runInInjectionContext(e,t){let n;e instanceof R3Injector?(assertNotDestroyed(e),n=e):n=new RetrievingInjector(e);let r=setCurrentInjector(n),i=setInjectImplementation(void 0);try{return t()}finally{setCurrentInjector(r),setInjectImplementation(i)}}function isInInjectionContext(){return getInjectImplementation()!==void 0||getCurrentInjector()!=null}function assertInInjectionContext(e){if(!isInInjectionContext())throw new RuntimeError(-203,!1)}function isLView(e){return Array.isArray(e)&&typeof e[Ue]==`object`}function isLContainer(e){return Array.isArray(e)&&e[Ue]===!0}function isContentQueryHost(e){return!!(e.flags&4)}function isComponentHost(e){return e.componentOffset>-1}function isDirectiveHost(e){return(e.flags&1)==1}function isComponentDef(e){return!!e.template}function isRootView(e){return!!(e[2]&512)}function isProjectionTNode(e){return(e.type&16)==16}function hasI18n(e){return(e[2]&32)==32}function isDestroyed(e){return(e[2]&256)==256}function SECURITY_SCHEMA(){return We||(We=createNullObj(),registerContext(D.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),registerContext(D.STYLE,void 0,[[`*`,[`style`]]]),registerContext(D.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),registerContext(D.URL,Ge,[[`*`,[`href`,`xlink:href`]]]),registerContext(D.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),registerContext(D.URL,`svg`,[[`a`,[`href`,`xlink:href`]]]),registerContext(D.ATTRIBUTE_NO_BINDING,`svg`,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),registerContext(D.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),We)}function registerContext(e,t,n){let r=t??Ke;for(let[t,i]of n){let n=t.toLowerCase();for(let t of i){let i=t.toLowerCase(),a=We[i]??=createNullObj(),o=a[r]??=createNullObj();o[n]=e}}}function checkSecurityContext(e,t,n){let r=SECURITY_SCHEMA()[t.toLowerCase()];if(!r)return D.NONE;let i=e.toLowerCase(),a;if(n){let e=r[n];e&&(a=e[i]??e[qe])}if(a===void 0){let e=r[Ke];e&&(a=e[i]??e[qe])}if(a===void 0&&(!n||n===Ke)){let e=r.svg;e&&(a=e[i])}return a??D.NONE}function unwrapRNode(e){for(;Array.isArray(e);)e=e[0];return e}function unwrapLView(e){for(;Array.isArray(e);){if(typeof e[Ue]==`object`)return e;e=e[0]}return null}function getNativeByIndex(e,t){return unwrapRNode(t[e])}function getNativeByTNode(e,t){return unwrapRNode(t[e.index])}function getNativeByTNodeOrNull(e,t){let n=e===null?-1:e.index;return n===-1?null:unwrapRNode(t[n])}function getTNode(e,t){return e.data[t]}function load(e,t){return e[t]}function store(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function getComponentLViewByIndex(e,t){let n=t[e];return isLView(n)?n:n[0]}function isCreationMode(e){return(e[2]&4)==4}function viewAttachedToChangeDetector(e){return(e[2]&128)==128}function viewAttachedToContainer(e){return isLContainer(e[3])}function getConstant(e,t){return t==null?null:e[t]}function resetPreOrderHookFlags(e){e[17]=0}function markViewForRefresh(e){e[2]&1024||(e[2]|=1024,viewAttachedToChangeDetector(e)&&markAncestorsForTraversal(e))}function walkUpViews(e,t){for(;e>0;)t=t[14],e--;return t}function requiresRefreshOrTraversal(e){return!!(e[2]&9216||e[24]?.dirty)}function updateAncestorTraversalFlagsOnAttach(e){e[10].changeDetectionScheduler?.notify(8),e[2]&64&&(e[2]|=1024),requiresRefreshOrTraversal(e)&&markAncestorsForTraversal(e)}function markAncestorsForTraversal(e){e[10].changeDetectionScheduler?.notify(0);let t=getLViewParent(e);for(;t!==null&&!(t[2]&8192||(t[2]|=8192,!viewAttachedToChangeDetector(t)));)t=getLViewParent(t)}function storeLViewOnDestroy(e,t){if(isDestroyed(e))throw new RuntimeError(911,!1);e[21]===null&&(e[21]=[]),e[21].push(t)}function removeLViewOnDestroy(e,t){if(e[21]===null)return;let n=e[21].indexOf(t);n!==-1&&e[21].splice(n,1)}function getLViewParent(e){let t=e[3];return isLContainer(t)?t[3]:t}function getOrCreateLViewCleanup(e){return e[7]??=[]}function getOrCreateTViewCleanup(e){return e.cleanup??=[]}function storeCleanupWithContext(e,t,n,r){let i=getOrCreateLViewCleanup(t);i.push(n),e.firstCreatePass&&getOrCreateTViewCleanup(e).push(r,i.length-1)}function getElementDepthCount(){return O.lFrame.elementDepthCount}function increaseElementDepthCount(){O.lFrame.elementDepthCount++}function decreaseElementDepthCount(){O.lFrame.elementDepthCount--}function getBindingsEnabled(){return O.bindingsEnabled}function isInSkipHydrationBlock$1(){return O.skipHydrationRootTNode!==null}function isSkipHydrationRootTNode(e){return O.skipHydrationRootTNode===e}function ɵɵenableBindings(){O.bindingsEnabled=!0}function enterSkipHydrationBlock(e){O.skipHydrationRootTNode=e}function ɵɵdisableBindings(){O.bindingsEnabled=!1}function leaveSkipHydrationBlock(){O.skipHydrationRootTNode=null}function getLView(){return O.lFrame.lView}function getTView(){return O.lFrame.tView}function ɵɵrestoreView(e){return O.lFrame.contextLView=e,e[8]}function ɵɵresetView(e){return O.lFrame.contextLView=null,e}function getCurrentTNode(){let e=getCurrentTNodePlaceholderOk();for(;e!==null&&e.type===64;)e=e.parent;return e}function getCurrentTNodePlaceholderOk(){return O.lFrame.currentTNode}function getCurrentParentTNode(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function setCurrentTNode(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function isCurrentTNodeParent(){return O.lFrame.isParent}function setCurrentTNodeAsNotParent(){O.lFrame.isParent=!1}function getContextLView(){return O.lFrame.contextLView}function isRefreshingViews(){return Je}function setIsRefreshingViews(e){let t=Je;return Je=e,t}function getBindingRoot(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function getBindingIndex(){return O.lFrame.bindingIndex}function setBindingIndex(e){return O.lFrame.bindingIndex=e}function nextBindingIndex(){return O.lFrame.bindingIndex++}function incrementBindingIndex(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex+=e,n}function isInI18nBlock(){return O.lFrame.inI18n}function setInI18nBlock(e){O.lFrame.inI18n=e}function setBindingRootForHostBindings(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,setCurrentDirectiveIndex(t)}function getCurrentDirectiveIndex(){return O.lFrame.currentDirectiveIndex}function setCurrentDirectiveIndex(e){O.lFrame.currentDirectiveIndex=e}function getCurrentDirectiveDef(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function getCurrentQueryIndex(){return O.lFrame.currentQueryIndex}function setCurrentQueryIndex(e){O.lFrame.currentQueryIndex=e}function getDeclarationTNode(e){let t=e[1];return t.type===2?t.declTNode:t.type===1?e[5]:null}function enterDI(e,t,n){if(n&4){let r=t,i=e;for(;r=r.parent,r===null&&!(n&1)&&(r=getDeclarationTNode(i),!(r===null||(i=i[14],r.type&10))););if(r===null)return!1;t=r,e=i}let r=O.lFrame=allocLFrame();return r.currentTNode=t,r.lView=e,!0}function enterView(e){let t=allocLFrame(),n=e[1];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function allocLFrame(){let e=O.lFrame,t=e===null?null:e.child;return t===null?createLFrame(e):t}function createLFrame(e){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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function leaveViewLight(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}function leaveView(){let e=leaveViewLight();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nextContextImpl(e){return(O.lFrame.contextLView=walkUpViews(e,O.lFrame.contextLView))[8]}function getSelectedIndex(){return O.lFrame.selectedIndex}function setSelectedIndex(e){O.lFrame.selectedIndex=e}function getSelectedTNode(){let e=O.lFrame;return getTNode(e.tView,e.selectedIndex)}function ɵɵnamespaceSVG(){O.lFrame.currentNamespace=`svg`}function ɵɵnamespaceMathML(){O.lFrame.currentNamespace=Ge}function ɵɵnamespaceHTML(){namespaceHTMLInternal()}function namespaceHTMLInternal(){O.lFrame.currentNamespace=null}function getNamespace(){return O.lFrame.currentNamespace}function wasLastNodeCreated(){return Xe}function lastNodeWasCreated(e){Xe=e}function promiseWithResolvers(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function createInjector(e,t=null,n=null,r){let i=createInjectorWithoutInjectorInstances(e,t,n,r);return i.resolveInjectorInitializers(),i}function createInjectorWithoutInjectorInstances(e,t=null,n=null,r,i=new Set){let a=[n||T,importProvidersFrom(e)];return new R3Injector(a,t||getNullInjector(),null,i)}function injectDestroyRef(){return new NodeInjectorDestroyRef(getLView())}function noop(...e){}function scheduleCallbackWithRafRace(e){let t,n;function cleanup(){e=noop;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),cleanup()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),cleanup()})),()=>cleanup()}function scheduleCallbackWithMicrotask(e){return queueMicrotask(()=>e()),()=>{e=noop}}function checkStable(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function delayChangeDetectionForEvents(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function scheduleCheckStable(){scheduleCallbackWithRafRace(()=>{e.callbackScheduled=!1,updateMicroTaskStatus(e),e.isCheckStableRunning=!0,checkStable(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{scheduleCheckStable()}):e._outer.run(()=>{scheduleCheckStable()}),updateMicroTaskStatus(e)}function forkInnerZoneWithAngularBehavior(e){let delayChangeDetectionForEventsDelegate=()=>{delayChangeDetectionForEvents(e)},t=tt++;e._inner=e._inner.fork({name:`angular`,properties:{[$e]:!0,[et]:t,[et+t]:!0},onInvokeTask:(t,n,r,i,a,o)=>{if(shouldBeIgnoredByZone(o))return t.invokeTask(r,i,a,o);try{return onEnter(e),t.invokeTask(r,i,a,o)}finally{(e.shouldCoalesceEventChangeDetection&&i.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&delayChangeDetectionForEventsDelegate(),onLeave(e)}},onInvoke:(t,n,r,i,a,o,s)=>{try{return onEnter(e),t.invoke(r,i,a,o,s)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!isSchedulerTick(o)&&delayChangeDetectionForEventsDelegate(),onLeave(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&(i.change==`microTask`?(e._hasPendingMicrotasks=i.microTask,updateMicroTaskStatus(e),checkStable(e)):i.change==`macroTask`&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function updateMicroTaskStatus(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0)}function onEnter(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function onLeave(e){e._nesting--,checkStable(e)}function shouldBeIgnoredByZone(e){return hasApplyArgsData(e,`__ignore_ng_zone__`)}function isSchedulerTick(e){return hasApplyArgsData(e,`__scheduler_tick__`)}function hasApplyArgsData(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function provideBrowserGlobalErrorListeners(){return makeEnvironmentProviders([provideEnvironmentInitializer(()=>void inject(at))])}function ɵunwrapWritableSignal(e){return null}function signal(e,t){let[n,r,i]=createSignal(e,t?.equal),a=n;return a[s],a.set=r,a.update=i,a.asReadonly=signalAsReadonlyFn.bind(a),a}function signalAsReadonlyFn(){let e=this[s];if(e.readonlyFn===void 0){let readonlyFn=()=>this();readonlyFn[s]=e,e.readonlyFn=readonlyFn}return e.readonlyFn}function makeStateKey(e){return e}function createDictionary(){return Object.create(null)}function retrieveTransferredState(e,t){let n=e.getElementById(t+`-state`);if(n?.tagName===`SCRIPT`&&n.textContent)try{return Object.assign(createDictionary(),JSON.parse(n.textContent))}catch(e){console.warn(`Exception while restoring TransferState for app `+t,e)}return createDictionary()}function assertNotInReactiveContext(e,t){if(getActiveConsumer()!==null)throw new RuntimeError(-602,!1)}function injectViewContext(){return new mt(getLView(),getCurrentTNode())}function effect(e,t){let n=t?.injector??inject(k),r=t?.manualCleanup===!0?null:n.get(DestroyRef),i,a=n.get(mt,null,{optional:!0}),o=n.get(ChangeDetectionScheduler);return a===null?i=createRootEffect(e,n.get(vt),o):(i=createViewEffect(a.view,o,e),r instanceof NodeInjectorDestroyRef&&r._lView===a.view&&(r=null)),i.injector=n,r!==null&&(i.onDestroyFns=[r.onDestroy(()=>i.destroy())]),new EffectRefImpl(i)}function createViewEffect(e,t,n){let r=Object.create(xt);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.fn=createEffectFn(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}function createRootEffect(e,t,n){let r=Object.create(bt);return r.fn=createEffectFn(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<`u`?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function createEffectFn(e,t){return()=>{t(t=>(e.cleanupFns??=[]).push(t))}}function isSignal(e){return typeof e==`function`&&e[s]!==void 0}function isWritableSignal(e){return isSignal(e)&&typeof e.set==`function`}var Version,ge,_e,ve,RuntimeError,ye,be,xe,InjectionToken,Se,Ce,we,Te,Ee,C,De,Oe,ke,Ae,je,Me,w,Ne,Pe,RetrievingInjector,Fe,T,E,Ie,Le,NullInjector,Re,ze,Be,Ve,He,EnvironmentInjector,R3Injector,Ue,D,We,Ge,Ke,qe,createNullObj,O,Je,Ye,Xe,k,A,DestroyRef,NodeInjectorDestroyRef,Ze,Qe,EventEmitter_,j,$e,et,tt,M,nt,NoopNgZone,ErrorHandler,rt,it,at,N,ot,st,ct,lt,ut,dt,ft,pt,mt,ChangeDetectionScheduler,ht,gt,_t,vt,ZoneAwareEffectScheduler,EffectRefImpl,yt,bt,xt,St;function init__pending_tasks_chunk(){return(init__pending_tasks_chunk=t((()=>{init__effect_chunk(),init__not_found_chunk(),init_BehaviorSubject(),init_Observable(),init_Subject(),init_Subscription(),Version=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(`.`);this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(`.`)}},ge=new Version(`22.1.5`),_e=(()=>{let e=ge.full;return`https://${e.includes(`-next`)||e.includes(`-rc`)||e===`0.0.0-PLACEHOLDER`?`next`:`v${ge.major}`}.angular.dev`})(),ve=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`,RuntimeError=class extends Error{code;constructor(e,t){super(formatRuntimeError(e,t)),this.code=e}},ye=getClosureSafeProperty({__forward_ref__:getClosureSafeProperty}),be=getClosureSafeProperty({ɵprov:getClosureSafeProperty}),xe=getClosureSafeProperty({ɵinj:getClosureSafeProperty}),InjectionToken=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(e,t){this._desc=e,this.ɵprov=void 0,typeof t==`number`?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=ɵɵdefineInjectable({token:this,providedIn:t.providedIn||`root`,factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},Ce=getClosureSafeProperty({ɵcmp:getClosureSafeProperty}),we=getClosureSafeProperty({ɵdir:getClosureSafeProperty}),Te=getClosureSafeProperty({ɵpipe:getClosureSafeProperty}),Ee=getClosureSafeProperty({ɵmod:getClosureSafeProperty}),C=getClosureSafeProperty({ɵfac:getClosureSafeProperty}),De=getClosureSafeProperty({__NG_ELEMENT_ID__:getClosureSafeProperty}),Oe=getClosureSafeProperty({__NG_ENV_ID__:getClosureSafeProperty}),e(getPipeDef$1,`getPipeDef`),ke=getClosureSafeProperty({ngErrorCode:getClosureSafeProperty}),Ae=getClosureSafeProperty({ngErrorMessage:getClosureSafeProperty}),je=getClosureSafeProperty({ngTokenPath:getClosureSafeProperty}),w=globalThis,Ne={},Pe=`__NG_DI_FLAG__`,RetrievingInjector=class{injector;constructor(e){this.injector=e}retrieve(e,t){let n=convertToBitFlags(t)||0;try{return this.injector.get(e,n&8?null:Ne,n)}catch(e){if(isNotFound(e))return e;throw e}}},Fe={},T=[],E=new InjectionToken(``),Ie=new InjectionToken(``,-1),Le=new InjectionToken(``),NullInjector=class{get(e,t=Ne){if(t===Ne){let e=createRuntimeError(``,-201);throw e.name=`ɵNotFound`,e}return t}},Re=getClosureSafeProperty({provide:String,useValue:getClosureSafeProperty}),ze=new InjectionToken(``),Be={},Ve={},He=void 0,EnvironmentInjector=class{},R3Injector=class extends EnvironmentInjector{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,forEachSingleProvider(e,e=>this.processProvider(e)),this.records.set(Ie,makeRecord(void 0,this)),r.has(`environment`)&&this.records.set(EnvironmentInjector,makeRecord(void 0,this));let i=this.records.get(ze);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Le,T,{self:!0}))}retrieve(e,t){let n=convertToBitFlags(t)||0;try{return this.get(e,Ne,n)}catch(e){if(isNotFound(e))return e;throw e}}destroy(){assertNotDestroyed(this),this._destroyed=!0;let e=setActiveConsumer(null);try{for(let e of this._ngOnDestroyHooks)e.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),setActiveConsumer(e)}}onDestroy(e){return assertNotDestroyed(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){assertNotDestroyed(this);let t=setCurrentInjector(this),n=setInjectImplementation(void 0);try{return e()}finally{setCurrentInjector(t),setInjectImplementation(n)}}get(e,t=Ne,n){if(assertNotDestroyed(this),Object.hasOwn(e,Oe))return e[Oe](this);let r=convertToBitFlags(n),i=setCurrentInjector(this),a=setInjectImplementation(void 0);try{if(!(r&4)){let t=this.records.get(e);if(t===void 0){let n=couldBeInjectableType(e)&&getInjectableDef(e);t=n&&this.injectableDefInScope(n)?makeRecord(injectableDefOrInjectorDefFactory(e),Be):null,this.records.set(e,t)}if(t!=null)return this.hydrate(e,t,r)}let n=r&2?getNullInjector():this.parent;return t=r&8&&t===Ne?null:t,n.get(e,t)}catch(e){let t=getRuntimeErrorCode(e);throw t===-200||t===-201?new RuntimeError(t,null):e}finally{setInjectImplementation(a),setCurrentInjector(i)}}resolveInjectorInitializers(){let e=setActiveConsumer(null),t=setCurrentInjector(this),n=setInjectImplementation(void 0);try{let e=this.get(E,T,{self:!0});for(let t of e)t()}finally{setCurrentInjector(t),setInjectImplementation(n),setActiveConsumer(e)}}toString(){return`R3Injector[...]`}processProvider(e){e=resolveForwardRef(e);let t=isTypeProvider(e)?e:resolveForwardRef(e&&e.provide),n=providerToRecord(e);if(!isTypeProvider(e)&&e.multi===!0){let n=this.records.get(t);n||(n=makeRecord(void 0,Be,!0),n.factory=()=>injectArgs(n.multi),this.records.set(t,n)),t=e,n.multi.push(e)}this.records.set(t,n)}hydrate(e,t,n){let r=setActiveConsumer(null);try{if(t.value===Ve)throw cyclicDependencyError(``);return t.value===Be&&(t.value=Ve,t.value=t.factory(void 0,n)),typeof t.value==`object`&&t.value&&hasOnDestroy(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{setActiveConsumer(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=resolveForwardRef(e.providedIn);return typeof t==`string`?t===`any`||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}},Ue=1,D=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})(D||{}),Ge=`math`,Ke=``,qe=`*`,createNullObj=()=>Object.create(null),O={lFrame:createLFrame(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Je=!1,e(isInSkipHydrationBlock$1,`isInSkipHydrationBlock`),Ye=leaveViewLight,Xe=!0,k=class Injector{static THROW_IF_NOT_FOUND=Ne;static NULL=new NullInjector;static create(e,t){if(Array.isArray(e))return createInjector({name:``},t,e,``);{let t=e.name??``;return createInjector({name:t},e.parent,e.providers,t)}}static ɵprov=ɵɵdefineInjectable({token:Injector,providedIn:`any`,factory:()=>ɵɵinject(Ie)});static __NG_ELEMENT_ID__=-1},A=new InjectionToken(``),DestroyRef=class{static __NG_ELEMENT_ID__=injectDestroyRef;static __NG_ENV_ID__=e=>e},NodeInjectorDestroyRef=class extends DestroyRef{_lView;constructor(e){super(),this._lView=e}get destroyed(){return isDestroyed(this._lView)}onDestroy(e){let t=this._lView;return storeLViewOnDestroy(t,e),()=>removeLViewOnDestroy(t,e)}},Ze=new InjectionToken(``),Qe=(()=>{class PendingTasksInternal{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new he(!1);debugTaskTracker=inject(Ze,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ue(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),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(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 ɵprov=ɵɵdefineInjectable({token:PendingTasksInternal,providedIn:`root`,factory:()=>new PendingTasksInternal})}return PendingTasksInternal})(),EventEmitter_=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,isInInjectionContext()&&(this.destroyRef=inject(DestroyRef,{optional:!0})??void 0,this.pendingTasks=inject(Qe,{optional:!0})??void 0)}emit(e){let t=setActiveConsumer(null);try{super.next(e)}finally{setActiveConsumer(t)}}subscribe(e,t,n){let r=e,i=t||(()=>null),a=n;if(e&&typeof e==`object`){let t=e;r=t.next?.bind(t),i=t.error?.bind(t),a=t.complete?.bind(t)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&=this.wrapInTimeout(r),a&&=this.wrapInTimeout(a));let o=super.subscribe({next:r,error:i,complete:a});return e instanceof b&&e.add(o),o}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},j=EventEmitter_,$e=`isAngularZone`,et=`isAngularZone_ID`,tt=0,M=class NgZone{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new j(!1);onMicrotaskEmpty=new j(!1);onStable=new j(!1);onError=new j(!1);constructor(e){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=!1}=e;if(typeof Zone>`u`)throw new RuntimeError(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=i,forkInnerZoneWithAngularBehavior(a)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get($e)===!0}static assertInAngularZone(){if(!NgZone.isInAngularZone())throw new RuntimeError(909,!1)}static assertNotInAngularZone(){if(NgZone.isInAngularZone())throw new RuntimeError(909,!1)}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){let i=this._inner,a=i.scheduleEventTask(`NgZoneEvent: `+r,e,nt,noop,noop);try{return i.runTask(a,t,n)}finally{i.cancelTask(a)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}},nt={},NoopNgZone=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new j;onMicrotaskEmpty=new j;onStable=new j;onError=new j;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}},ErrorHandler=class{_console=console;handleError(e){this._console.error(`ERROR`,e)}},rt=new InjectionToken(``,{factory:()=>{let e=inject(M),t=inject(EnvironmentInjector),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ErrorHandler),n.handleError(r))})}}}),it={provide:E,useValue:()=>{inject(ErrorHandler,{optional:!0})},multi:!0},at=new InjectionToken(``,{factory:()=>{let e=inject(A).defaultView;if(!e)return;let t=inject(rt),rejectionListener=e=>{t(e.reason),e.preventDefault()},errorListener=e=>{e.error?t(e.error):t(Error(e.message,{cause:e})),e.preventDefault()},setupEventListeners=()=>{e.addEventListener(`unhandledrejection`,rejectionListener),e.addEventListener(`error`,errorListener)};typeof Zone<`u`?Zone.root.run(setupEventListeners):setupEventListeners(),inject(DestroyRef).onDestroy(()=>{e.removeEventListener(`error`,errorListener),e.removeEventListener(`unhandledrejection`,rejectionListener)})}}),N=new InjectionToken(``,{factory:()=>ot}),ot=`ng`,st=new InjectionToken(``),ct=new InjectionToken(``,{providedIn:`platform`,factory:()=>`unknown`}),lt=new InjectionToken(``),ut=new InjectionToken(``,{factory:()=>inject(A).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null}),dt={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ft=new InjectionToken(``,{factory:()=>dt}),pt=(()=>{class TransferState{static ɵprov=ɵɵdefineInjectable({token:TransferState,providedIn:`root`,factory:()=>{let e=new TransferState;return e.store=retrieveTransferredState(inject(A),inject(N)),e}});store=createDictionary();onSerializeCallbacks=createDictionary();get(e,t){if(!Object.hasOwn(this.store,e))return t;let n=this.store[e];return n===void 0?t:n}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return Object.hasOwn(this.store,e)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(let e in this.onSerializeCallbacks)if(Object.hasOwn(this.onSerializeCallbacks,e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn(`Exception in onSerialize callback: `,e)}return JSON.stringify(this.store).replace(/</g,`\\u003C`).replace(/\//g,`\\u002F`)}}return TransferState})(),mt=(()=>{class ViewContext{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=injectViewContext}return ViewContext})(),ChangeDetectionScheduler=class{},ht=new InjectionToken(``,{factory:()=>!0}),gt=new InjectionToken(``,{factory:()=>!1}),_t=new InjectionToken(``),vt=(()=>{class EffectScheduler{static ɵprov=ɵɵdefineInjectable({token:EffectScheduler,providedIn:`root`,factory:()=>new ZoneAwareEffectScheduler})}return EffectScheduler})(),ZoneAwareEffectScheduler=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||n.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,n]of this.queues)e||=t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let n of e)n.dirty&&(this.dirtyEffectCount--,t=!0,n.run());return t}},EffectRefImpl=class{[s];constructor(e){this[s]=e}destroy(){this[s].destroy()}},yt={...g,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=setIsRefreshingViews(!1);try{runEffect(this)}finally{setIsRefreshingViews(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=setActiveConsumer(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],setActiveConsumer(e)}}},bt={...yt,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(consumerDestroy(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}},xt={...yt,consumerMarkedDirty(){this.view[2]|=8192,markAncestorsForTraversal(this.view),this.notifier.notify(13)},destroy(){if(consumerDestroy(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[23]?.delete(this)}},St=(()=>{class PendingTasks{internalPendingTasks=inject(Qe);scheduler=inject(ChangeDetectionScheduler);errorHandler=inject(rt);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let t=this.add();try{e().catch(this.errorHandler).finally(t)}catch(e){this.errorHandler(e),t()}}static ɵprov=ɵɵdefineInjectable({token:PendingTasks,providedIn:`root`,factory:()=>new PendingTasks})}return PendingTasks})()})))()}var Ct;function init__attribute_chunk(){return(init__attribute_chunk=t((()=>{Ct={JSACTION:`jsaction`}})))()}function noSideEffects(e){return{toString:e}.toString()}function applyValueToInputField(e,t,n,r){t===null?e[n]=r:t.applyValueToInputSignal(t,r)}function getNgOnChangesFeatureImpl(){return Et}function NgOnChangesFeatureImpl(e){return e.type.prototype.ngOnChanges&&(e.setInput=ngOnChangesSetInput),rememberChangeHistoryAndInvokeOnChangesHook}function rememberChangeHistoryAndInvokeOnChangesHook(){let e=getSimpleChangesStore(this),t=e?.current;if(t){let n=e.previous;if(n===Fe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ngOnChangesSetInput(e,t,n,r,i){let a=this.declaredInputs[r],o=getSimpleChangesStore(e)||setSimpleChangesStore(e,{previous:Fe,current:null}),s=o.current||={},c=o.previous,l=c[a];s[a]=new SimpleChange(l&&l.currentValue,n,c===Fe),applyValueToInputField(e,t,i,n)}function getSimpleChangesStore(e){return Object.hasOwn(e,Ot)&&e[Ot]||null}function setSimpleChangesStore(e,t){return e[Ot]=t}function registerPreOrderHooks(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){let r=getNgOnChangesFeatureImpl()(t);(n.preOrderHooks??=[]).push(e,r),(n.preOrderCheckHooks??=[]).push(e,r)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}function registerPostOrderHooks(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:t,ngAfterContentChecked:r,ngAfterViewInit:i,ngAfterViewChecked:a,ngOnDestroy:o}=e.data[n].type.prototype;t&&(e.contentHooks??=[]).push(-n,t),r&&((e.contentHooks??=[]).push(n,r),(e.contentCheckHooks??=[]).push(n,r)),i&&(e.viewHooks??=[]).push(-n,i),a&&((e.viewHooks??=[]).push(n,a),(e.viewCheckHooks??=[]).push(n,a)),o!=null&&(e.destroyHooks??=[]).push(n,o)}}function executeCheckHooks(e,t,n){callHooks(e,t,3,n)}function executeInitAndCheckHooks(e,t,n,r){(e[2]&3)===n&&callHooks(e,t,n,r)}function incrementInitPhaseFlags(e,t){let n=e[2];(n&3)===t&&(n&=16383,n+=1,e[2]=n)}function callHooks(e,t,n,r){let i=r===void 0?0:e[17]&65535,a=r??-1,o=t.length-1,s=0;for(let c=i;c<o;c++)if(typeof t[c+1]==`number`){if(s=t[c],r!=null&&s>=r)break}else t[c]<0&&(e[17]+=65536),(s<a||a==-1)&&(callHook(e,n,t,c),e[17]=(e[17]&4294901760)+c+2),c++}function callHookInternal(e,t){profiler(P.LifecycleHookStart,e,t);let n=setActiveConsumer(null);try{t.call(e)}finally{setActiveConsumer(n),profiler(P.LifecycleHookEnd,e,t)}}function callHook(e,t,n,r){let i=n[r]<0,a=n[r+1],o=e[i?-n[r]:n[r]];i?e[2]>>14<e[17]>>16&&(e[2]&3)===t&&(e[2]+=16384,callHookInternal(o,a)):callHookInternal(o,a)}function isTNodeShape(e){return typeof e==`object`&&!!e&&(e.insertBeforeIndex===null||typeof e.insertBeforeIndex==`number`||Array.isArray(e.insertBeforeIndex))}function isLetDeclaration(e){return!!(e.type&128)}function hasClassInput(e){return!!(e.flags&8)}function hasStyleInput(e){return!!(e.flags&16)}function setUpAttributes(e,t,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i==`number`){if(i!==0)break;r++;let a=n[r++],o=n[r++],s=n[r++];e.setAttribute(t,o,s,a)}else{let a=i,o=n[++r];isAnimationProp(a)?e.setProperty(t,a,o):e.setAttribute(t,a,o),r++}}return r}function isNameOnlyAttributeMarker(e){return e===3||e===4||e===6}function isAnimationProp(e){return e.charCodeAt(0)===64}function mergeHostAttrs(e,t){if(t!==null&&t.length!==0){if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i==`number`?n=i:n===0||(n===-1||n===2?mergeHostAttribute(e,n,i,null,t[++r]):mergeHostAttribute(e,n,i,null,null))}}}return e}function mergeHostAttribute(e,t,n,r,i){let a=0,o=e.length;if(t===-1)o=-1;else for(;a<e.length;){let n=e[a++];if(typeof n==`number`){if(n===t){o=-1;break}if(n>t){o=a-1;break}}}for(;a<e.length;){let t=e[a];if(typeof t==`number`)break;if(t===n){i!==null&&(e[a+1]=i);return}a++,i!==null&&a++}o!==-1&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,n),i!==null&&e.splice(a++,0,i)}function hasParentInjector(e){return e!==At}function getParentInjectorIndex(e){return e&32767}function getParentInjectorViewOffset(e){return e>>16}function getParentInjectorView(e,t){let n=getParentInjectorViewOffset(e),r=t;for(;n>0;)r=r[14],n--;return r}function setIncludeViewProviders(e){let t=jt;return jt=e,t}function bloomAdd(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:Object.hasOwn(n,De)&&(r=n[De]),r??=n[De]=Pt++;let i=r&Mt,a=1<<i;t.data[e+(i>>Nt)]|=a}function getOrCreateNodeInjectorForNode(e,t){let n=getInjectorIndex(e,t);if(n!==-1)return n;let r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,insertBloom(r.data,e),insertBloom(t,null),insertBloom(r.blueprint,null));let i=getParentInjectorLocation(e,t),a=e.injectorIndex;if(hasParentInjector(i)){let e=getParentInjectorIndex(i),n=getParentInjectorView(i,t),r=n[1].data;for(let i=0;i<8;i++)t[a+i]=n[e+i]|r[e+i]}return t[a+8]=i,a}function insertBloom(e,t){e.push(0,0,0,0,0,0,0,0,t)}function getInjectorIndex(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function getParentInjectorLocation(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=getTNodeFromLView(i),r===null)return At;if(n++,i=i[14],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return At}function diPublicInInjector(e,t,n){bloomAdd(e,t,n)}function injectAttributeImpl(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let e=n.length,r=0;for(;r<e;){let i=n[r];if(isNameOnlyAttributeMarker(i))break;if(i===0)r+=2;else if(typeof i==`number`)for(r++;r<e&&typeof n[r]==`string`;)r++;else if(i===t)return n[r+1];else r+=2}}return null}function notFoundValueOrThrow(e,t,n){if(n&8||e!==void 0)return e;throwProviderNotFoundError(t,`NodeInjector`)}function lookupTokenUsingModuleInjector(e,t,n,r){if(n&8&&r===void 0&&(r=null),!(n&3)){let i=e[9],a=setInjectImplementation(void 0);try{return i?i.get(t,r,n&8):injectRootLimpMode(t,r,n&8)}finally{setInjectImplementation(a)}}return notFoundValueOrThrow(r,t,n)}function getOrCreateInjectable(e,t,n,r=0,i){if(e!==null){if(t[2]&2048&&!(r&2)){let i=lookupTokenUsingEmbeddedInjector(e,t,n,r,F);if(i!==F)return i}let i=lookupTokenUsingNodeInjector(e,t,n,r,F);if(i!==F)return i}return lookupTokenUsingModuleInjector(t,n,r,i)}function lookupTokenUsingNodeInjector(e,t,n,r,i){let a=bloomHashBitOrFactory(n);if(typeof a==`function`){if(!enterDI(t,e,r))return r&1?notFoundValueOrThrow(i,n,r):lookupTokenUsingModuleInjector(t,n,r,i);try{let e;if(e=a(r),e==null&&!(r&8))throwProviderNotFoundError(n);else return e}finally{Ye()}}else if(typeof a==`number`){let i=null,o=getInjectorIndex(e,t),s=At,c=r&1?t[15][5]:null;for((o===-1||r&4)&&(s=o===-1?getParentInjectorLocation(e,t):t[o+8],s===At||!shouldSearchParent(r,!1)?o=-1:(i=t[1],o=getParentInjectorIndex(s),t=getParentInjectorView(s,t)));o!==-1;){let e=t[1];if(bloomHasToken(a,o,e.data)){let e=searchTokensOnInjector(o,t,n,i,r,c);if(e!==F)return e}s=t[o+8],s!==At&&shouldSearchParent(r,t[1].data[o+8]===c)&&bloomHasToken(a,o,t)?(i=e,o=getParentInjectorIndex(s),t=getParentInjectorView(s,t)):o=-1}}return i}function searchTokensOnInjector(e,t,n,r,i,a){let o=t[1],s=o.data[e+8],c=locateDirectiveOrProvider(s,o,n,r==null?isComponentHost(s)&&jt:r!=o&&!!(s.type&3),i&1&&a===s);return c===null?F:getNodeInjectable(t,o,c,s,i)}function locateDirectiveOrProvider(e,t,n,r,i){let a=e.providerIndexes,o=t.data,s=a&1048575,c=e.directiveStart,l=e.directiveEnd,u=a>>20,d=r?s:s+u,f=i?s+u:l;for(let e=d;e<f;e++){let t=o[e];if(e<c&&n===t||e>=c&&t.type===n)return e}if(i){let e=o[c];if(e&&isComponentDef(e)&&e.type===n)return c}return null}function getNodeInjectable(e,t,n,r,i){let a=e[n],o=t.data;if(a instanceof NodeInjectorFactory){let s=a;if(s.resolving)throw cyclicDependencyError(``);let c=setIncludeViewProviders(s.canSeeViewProviders);s.resolving=!0,o[n].type||o[n];let l=s.injectImpl?setInjectImplementation(s.injectImpl):null;enterDI(e,r,0);try{a=e[n]=s.factory(void 0,i,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&registerPreOrderHooks(n,o[n],t)}finally{l!==null&&setInjectImplementation(l),setIncludeViewProviders(c),s.resolving=!1,Ye()}}return a}function bloomHashBitOrFactory(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=Object.hasOwn(e,De)?e[De]:void 0;return typeof t==`number`?t>=0?t&Mt:createNodeInjector:t}function bloomHasToken(e,t,n){let r=1<<e;return!!(n[t+(e>>Nt)]&r)}function shouldSearchParent(e,t){return!(e&2)&&!(e&1&&t)}function createNodeInjector(){return new NodeInjector(getCurrentTNode(),getLView())}function ɵɵgetInheritedFactory(e){return noSideEffects(()=>{let t=e.prototype.constructor,n=t[C]||getFactoryOf(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let e=i[C]||getFactoryOf(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function getFactoryOf(e){return isForwardRef(e)?()=>{let t=getFactoryOf(resolveForwardRef(e));return t&&t()}:getFactoryDef(e)}function lookupTokenUsingEmbeddedInjector(e,t,n,r,i){let a=e,o=t;for(;a!==null&&o!==null&&o[2]&2048&&!isRootView(o);){let e=lookupTokenUsingNodeInjector(a,o,n,r|2,F);if(e!==F)return e;let t=a.parent;if(!t){let e=o[20];if(e){let t=e.get(n,F,r&-5);if(t!==F)return t}t=getTNodeFromLView(o),o=o[14]}a=t}return i}function getTNodeFromLView(e){let t=e[1],n=t.type;return n===2?t.declTNode:n===1?e[5]:null}function ɵɵinjectAttribute(e){return injectAttributeImpl(getCurrentTNode(),e)}function provideIdleServiceWith(e){return makeEnvironmentProviders([{provide:Ft,useExisting:e}])}function makeDecorator(e,t,n,r,i){return noSideEffects(()=>{let r=makeMetadataCtor(t);function DecoratorFactory(...e){if(this instanceof DecoratorFactory)return r.call(this,...e),this;let t=new DecoratorFactory(...e);return function TypeDecorator(n){return i&&i(n,...e),(Object.hasOwn(n,It)?n[It]:Object.defineProperty(n,It,{value:[]})[It]).push(t),n}}return n&&(DecoratorFactory.prototype=Object.create(n.prototype)),DecoratorFactory.prototype.ngMetadataName=e,DecoratorFactory.annotationCls=DecoratorFactory,DecoratorFactory})}function makeMetadataCtor(e){return function ctor(...t){if(e){let n=e(...t);for(let e in n)this[e]=n[e]}}}function makeParamDecorator(e,t,n){return noSideEffects(()=>{let n=makeMetadataCtor(t);function ParamDecoratorFactory(...e){if(this instanceof ParamDecoratorFactory)return n.apply(this,e),this;let t=new ParamDecoratorFactory(...e);return ParamDecorator.annotation=t,ParamDecorator;function ParamDecorator(e,n,r){let i=Object.hasOwn(e,Lt)?e[Lt]:Object.defineProperty(e,Lt,{value:[]})[Lt];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return ParamDecoratorFactory.prototype.ngMetadataName=e,ParamDecoratorFactory.annotationCls=ParamDecoratorFactory,ParamDecoratorFactory})}function makePropDecorator(e,t,n,r){return noSideEffects(()=>{let r=makeMetadataCtor(t);function PropDecoratorFactory(...e){if(this instanceof PropDecoratorFactory)return r.apply(this,e),this;let t=new PropDecoratorFactory(...e);function PropDecorator(e,n){if(e===void 0)throw Error(`Standard Angular field decorators are not supported in JIT mode.`);let r=e.constructor,i=Object.hasOwn(r,Rt)?r[Rt]:Object.defineProperty(r,Rt,{value:{}})[Rt];i[n]=Object.hasOwn(i,n)&&i[n]||[],i[n].unshift(t)}return PropDecorator}return n&&(PropDecoratorFactory.prototype=Object.create(n.prototype)),PropDecoratorFactory.prototype.ngMetadataName=e,PropDecoratorFactory.annotationCls=PropDecoratorFactory,PropDecoratorFactory})}function getCompilerFacade(e){let t=w.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;throw Error(`JIT compiler unavailable`)}function ɵɵdefineService(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function isType(e){return typeof e==`function`}function isDelegateCtor(e){return Vt.test(e)||Wt.test(e)||Ht.test(e)&&!Ut.test(e)}function convertTsickleDecoratorIntoMetadata(e){return e?e.map(e=>{let t=e.type.annotationCls;return new t(...e.args?e.args:[])}):[]}function getParentCtor(e){let t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function getReflect(){return Zt||=new ReflectionCapabilities}function reflectDependencies(e){return convertDependencies(getReflect().parameters(e))}function convertDependencies(e){return e.map(e=>reflectDependency(e))}function reflectDependency(e){let t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){let r=e[n];if(r===void 0)continue;let i=Object.getPrototypeOf(r);if(r instanceof Kt||i.ngMetadataName===`Optional`)t.optional=!0;else if(r instanceof Jt||i.ngMetadataName===`SkipSelf`)t.skipSelf=!0;else if(r instanceof qt||i.ngMetadataName===`Self`)t.self=!0;else if(r instanceof Yt||i.ngMetadataName===`Host`)t.host=!0;else if(r instanceof Gt)t.token=r.token;else if(r instanceof Xt){if(r.attributeName===void 0)throw new RuntimeError(-204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=e===void 0||Array.isArray(e)&&e.length===0?null:e;return t}function compileInjectable(e,t){let n=null,r=null;Object.hasOwn(e,be)||Object.defineProperty(e,be,{get:()=>(n===null&&(n=getCompilerFacade({usage:0,kind:`injectable`,type:e}).compileInjectable(zt,`ng:///${e.name}/ɵprov.js`,getInjectableMetadata(e,t))),n)}),Object.hasOwn(e,C)||Object.defineProperty(e,C,{get:()=>{if(r===null){let t=getCompilerFacade({usage:0,kind:`injectable`,type:e});r=t.compileFactory(zt,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:reflectDependencies(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})}function isUseClassProvider(e){return e.useClass!==void 0}function isUseValueProvider(e){return Qt in e}function isUseFactoryProvider(e){return e.useFactory!==void 0}function isUseExistingProvider(e){return e.useExisting!==void 0}function getInjectableMetadata(e,t){let n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(isUseClassProvider(n)||isUseFactoryProvider(n))&&n.deps!==void 0&&(r.deps=convertDependencies(n.deps)),isUseClassProvider(n)?r.useClass=n.useClass:isUseValueProvider(n)?r.useValue=n.useValue:isUseFactoryProvider(n)?r.useFactory=n.useFactory:isUseExistingProvider(n)&&(r.useExisting=n.useExisting),r}function compileService(e,t){let n=null,r=null;Object.hasOwn(e,be)||Object.defineProperty(e,be,{get:()=>(n===null&&(n=getCompilerFacade({usage:0,kind:`service`,type:e}).compileService(zt,`ng:///${e.name}/ɵprov.js`,getServiceMetadata(e,t))),n)}),Object.hasOwn(e,C)||Object.defineProperty(e,C,{get:()=>{if(r===null){let t=getCompilerFacade({usage:0,kind:`service`,type:e});r=t.compileFactory(zt,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:reflectDependencies(e),target:t.FactoryTarget.Service})}return r},configurable:!0})}function getServiceMetadata(e,t){return{name:e.name,type:e,typeArgumentCount:0,autoProvided:t?.autoProvided,factory:t?.factory}}function injectElementRef(){return createElementRef(getCurrentTNode(),getLView())}function createElementRef(e,t){return new tn(getNativeByTNode(e,t))}function unwrapElementRef(e){return e instanceof tn?e.nativeElement:e}function symbolIterator(){return this._results[Symbol.iterator]()}function hasSkipHydrationAttrOnTNode(e){let t=e.mergedAttrs;if(t===null)return!1;for(let e=0;e<t.length;e+=2){let n=t[e];if(typeof n==`number`)return!1;if(typeof n==`string`&&n.toLowerCase()===rn)return!0}return!1}function hasSkipHydrationAttrOnRElement(e){return e.hasAttribute(nn)}function hasInSkipHydrationBlockFlag(e){return(e.flags&128)==128}function isInSkipHydrationBlock(e){if(hasInSkipHydrationBlockFlag(e))return!0;let t=e.parent;for(;t;){if(hasInSkipHydrationBlockFlag(e)||hasSkipHydrationAttrOnTNode(t))return!0;t=t.parent}return!1}function isI18nInSkipHydrationBlock(e){return hasInSkipHydrationBlockFlag(e)||hasSkipHydrationAttrOnTNode(e)||isInSkipHydrationBlock(e)}function getUniqueLViewId(){return sn++}function registerLView(e){on.set(e[19],e)}function getLViewById(e){return on.get(e)||null}function unregisterLView(e){on.delete(e[19])}function getTrackedLViews(){return on}function getLContext(e){let t=readPatchedData(e);if(t){if(isLView(t)){let n=t,r,i,a;if(isComponentInstance(e)){if(r=findViaComponent(n,e),r==-1)throw Error(`The provided component was not found in the application`);i=e}else if(isDirectiveInstance(e)){if(r=findViaDirective(n,e),r==-1)throw Error(`The provided directive was not found in the application`);a=getDirectivesAtNodeIndex(r,n)}else if(r=findViaNativeElement(n,e),r==-1)return null;let o=unwrapRNode(n[r]),s=readPatchedData(o),c=s&&!Array.isArray(s)?s:createLContext(n,r,o);if(i&&c.component===void 0&&(c.component=i,attachPatchData(c.component,c)),a&&c.directives===void 0){c.directives=a;for(let e=0;e<a.length;e++)attachPatchData(a[e],c)}attachPatchData(c.native,c),t=c}}else{let n=e,r=n;for(;r=r.parentNode;){let e=readPatchedData(r);if(e){let r=Array.isArray(e)?e:e.lView;if(!r)return null;let i=findViaNativeElement(r,n);if(i>=0){let e=unwrapRNode(r[i]),n=createLContext(r,i,e);attachPatchData(e,n),t=n;break}}}}return t||null}function createLContext(e,t,n){return new LContext(e[19],t,n)}function attachPatchData(e,t){isLView(t)?(e[cn]=t[19],registerLView(t)):e[cn]=t}function readPatchedData(e){let t=e[cn];return typeof t==`number`?getLViewById(t):t||null}function readPatchedLView(e){let t=readPatchedData(e);return t?isLView(t)?t:t.lView:null}function isComponentInstance(e){return e&&e.constructor&&e.constructor.ɵcmp}function isDirectiveInstance(e){return e&&e.constructor&&e.constructor.ɵdir}function findViaNativeElement(e,t){let n=e[1];for(let r=27;r<n.bindingStartIndex;r++)if(unwrapRNode(e[r])===t)return r;return-1}function traverseNextElement(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function findViaComponent(e,t){let n=e[1].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(getComponentLViewByIndex(i,e)[8]===t)return i}else if(getComponentLViewByIndex(27,e)[8]===t)return 27;return-1}function findViaDirective(e,t){let n=e[1].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let a=r;a<i;a++)if(e[a]===t)return n.index;n=traverseNextElement(n)}return-1}function getDirectivesAtNodeIndex(e,t){let n=t[1].data[e];if(n.directiveStart===0)return T;let r=[];for(let e=n.directiveStart;e<n.directiveEnd;e++){let n=t[e];isComponentInstance(n)||r.push(n)}return r}function getComponentAtNodeIndex(e,t){let n=t[1].data[e];return isComponentHost(n)?t[n.directiveStart+n.componentOffset]:null}function discoverLocalRefs(e,t){let n=e[1].data[t];if(n&&n.localNames){let t={},r=n.index+1;for(let i=0;i<n.localNames.length;i+=2)t[n.localNames[i]]=e[r],r++;return t}return null}function getFirstLContainer(e){return getNearestLContainer(e[12])}function getNextLContainer(e){return getNearestLContainer(e[4])}function getNearestLContainer(e){for(;e!==null&&!isLContainer(e);)e=e[4];return e}function getComponent(e){let t=getLContext(e);if(t===null)return null;if(t.component===void 0){let e=t.lView;if(e===null)return null;t.component=getComponentAtNodeIndex(t.nodeIndex,e)}return t.component}function getContext(e){assertDomElement(e);let t=getLContext(e),n=t?t.lView:null;return n===null?null:n[8]}function getOwningComponent(e){let t=getLContext(e),n=t?t.lView:null;if(n===null)return null;let r;for(;n[1].type===2&&(r=getLViewParent(n));)n=r;return isRootView(n)?null:n[8]}function getInjector(e){let t=getLContext(e),n=t?t.lView:null;if(n===null)return k.NULL;let r=n[1].data[t.nodeIndex];return new NodeInjector(r,n)}function getInjectionTokens(e){let t=getLContext(e),n=t?t.lView:null;if(n===null)return[];let r=n[1],i=r.data[t.nodeIndex],a=[],o=i.providerIndexes&1048575,s=i.directiveEnd;for(let e=o;e<s;e++){let t=r.data[e];isDirectiveDefHack(t)&&(t=t.type),a.push(t)}return a}function getDirectives(e){if(e instanceof Text)return[];let t=getLContext(e),n=t?t.lView:null;if(n===null)return[];let r=n[1],i=t.nodeIndex;return r?.data[i]?(t.directives===void 0&&(t.directives=getDirectivesAtNodeIndex(i,n)),t.directives===null?[]:[...t.directives]):[]}function getLocalRefs(e){let t=getLContext(e);if(t===null)return{};if(t.localRefs===void 0){let e=t.lView;if(e===null)return{};t.localRefs=discoverLocalRefs(e,t.nodeIndex)}return t.localRefs||{}}function getHostElement(e){return getLContext(e).native}function getListeners(e){let t=getLContext(e),n=t===null?null:t.lView;if(n===null)return[];let r=n[1],i=n[7],a=r.cleanup,o=[];if(a&&i)for(let t=0;t<a.length;){let r=a[t++],s=a[t++];if(typeof r==`string`){let c=r,l=unwrapRNode(n[s]),u=i[a[t++]],d=a[t++],f=typeof d==`boolean`||d>=0?`dom`:`output`,p=typeof d==`boolean`&&d;e==l&&o.push({element:e,name:c,callback:u,useCapture:p,type:f})}}return o.sort(sortListeners),o}function sortListeners(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function isDirectiveDefHack(e){return e.type!==void 0&&e.declaredInputs!==void 0&&e.resolveHostDirectives!==void 0}function assertDomElement(e){if(typeof Element<`u`&&!(e instanceof Element))throw Error(`Expecting instance of DOM Element`)}function setDocument(e){dn=e}function getDocument(){if(dn!==void 0)return dn;if(typeof document<`u`)return document;throw new RuntimeError(210,!1)}function onInteraction(e,t){let n=Dn.get(e);if(!n){n=new DeferEventEntry,Dn.set(e,n);for(let t of kn)e.addEventListener(t,n.listener,Tn)}return n.callbacks.add(t),()=>{let{callbacks:r,listener:i}=n;if(r.delete(t),r.size===0){Dn.delete(e);for(let t of kn)e.removeEventListener(t,i,Tn)}}}function onHover(e,t){let n=En.get(e);if(!n){n=new DeferEventEntry,En.set(e,n);for(let t of An)e.addEventListener(t,n.listener,Tn)}return n.callbacks.add(t),()=>{let{callbacks:r,listener:i}=n;if(r.delete(t),r.size===0){for(let t of An)e.removeEventListener(t,i,Tn);En.delete(e)}}}function createIntersectionObserver(e){let t=getIntersectionObserverKey(e);return new IntersectionObserver(e=>{for(let n of e)n.isIntersecting&&On.has(n.target)&&On.get(n.target)?.get(t)?.listener()},e)}function onViewport(e,t,n,r){let i=getIntersectionObserverKey(r),a=On.get(e)?.get(i);jn.has(i)||jn.set(i,{observer:n(r),count:0});let o=jn.get(i);if(!a){a=new DeferEventEntry,o.observer.observe(e);let t=On.get(e);t?t.set(i,a):(t=new Map,On.set(e,t)),t.set(i,a),o.count++}return a.callbacks.add(t),()=>{if(On.get(e)?.has(i)){if(a.callbacks.delete(t),a.callbacks.size===0){o.observer.unobserve(e),o.count--;let t=On.get(e);t&&(t.delete(i),t.size===0&&On.delete(e))}o.count===0&&(o.observer.disconnect(),jn.delete(i))}}}function getIntersectionObserverKey(e){return e?`${e.rootMargin}/${typeof e.threshold==`number`?e.threshold:e.threshold?.join(`
5
+ `)}`:``}function setJSActionAttributes(e,t,n=null){if(t.length===0||e.nodeType!==Node.ELEMENT_NODE)return;let r=e.getAttribute(Ct.JSACTION),i=t.reduce((e,t)=>(r?.indexOf(t)??-1)===-1?e+t+`:;`:e,``);e.setAttribute(Ct.JSACTION,`${r??``}${i}`);let a=n??``;a!==``&&i.length>0&&e.setAttribute(`ngb`,a)}function removeListenersFromBlocks(e,t){if(e.length>0){let n=[];for(let r of e)t.has(r)&&(n=[...n,...t.get(r)]);new Set(n).forEach(removeListeners)}}function markEventHandledForElement(e,t){if(typeof e!=`object`||!e)return;let n=Nn.get(e);n||(n=new WeakSet,Nn.set(e,n)),n.add(t)}function invokeListeners(e,t){let n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected&&!(t&&Nn.get(e)?.has(t)))for(let t of n)t(e)}function setStashFn(e,t){return Pn.set(e,t),()=>Pn.delete(e)}function stashEventListenerImpl(e,t,n,r){_stashEventListenerImpl(e,t,n,r)}function enableStashEventListenerImpl(){Fn||=(_stashEventListenerImpl=(e,t,n,r)=>{let i=e[9].get(N);Pn.get(i)?.(t,n,r)},!0)}function isDetachedByI18n(e){return(e.flags&32)==32}function isInternalHydrationTransferStateKey(e){return e===Ln||e===zn}function retrieveHydrationInfoImpl(e,t,n=!1){let r=e.getAttribute(`ngh`);if(r==null)return null;let[i,a]=r.split(`|`);if(r=n?a:i,!r)return null;let o=a?`|${a}`:``,s=n?i:o,c={};if(r!==``){let e=t.get(pt,null,{optional:!0});e!==null&&(c=e.get(Rn,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,setSegmentHead(l,0,e.nextSibling)),s?e.setAttribute(`ngh`,s):e.removeAttribute(`ngh`),l}function enableRetrieveHydrationInfoImpl(){_retrieveHydrationInfoImpl=retrieveHydrationInfoImpl}function retrieveHydrationInfo(e,t,n=!1){return _retrieveHydrationInfoImpl(e,t,n)}function getLNodeForHydration(e){let t=e._lView;return t[1].type===2?null:(isRootView(t)&&(t=t[27]),t)}function getTextNodeContent(e){return e.textContent?.replace(/\s/gm,``)}function processTextNodeMarkersBeforeHydration(e){let t=getDocument(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(e){let t=getTextNodeContent(e);return t===`ngetn`||t===`ngtns`?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,i=[];for(;r=n.nextNode();)i.push(r);for(let e of i)e.textContent===`ngetn`?e.replaceWith(t.createTextNode(``)):e.remove()}function readHydrationInfo(e){return e[Un]??null}function setSegmentHead(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function getSegmentHead(e,t){return e.segmentHeads?.[t]??null}function isIncrementalHydrationEnabled(e){return e.get(Sn,!1,{optional:!0})}function resetIncrementalHydrationEnabledWarnedForTests(){}function getNgContainerSize(e,t){let n=e.data,r=n.e?.[t]??null;return r===null&&n.c?.[t]&&(r=calcSerializedContainerSize(e,t)),r}function isSerializedElementContainer(e,t){return e.data.e?.[t]!==void 0}function getSerializedContainerViews(e,t){return e.data.c?.[t]??null}function calcSerializedContainerSize(e,t){let n=getSerializedContainerViews(e,t)??[],r=0;for(let e of n)r+=e.r*(e.x??1);return r}function initDisconnectedNodes(e){if(e.disconnectedNodes===void 0){let t=e.data.d;e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function isDisconnectedNode$1(e,t){if(e.disconnectedNodes===void 0){let t=e.data.d;e.disconnectedNodes=t?new Set(t):null}return!!initDisconnectedNodes(e)?.has(t)}function canHydrateNode(e,t){let n=e[6];return n!==null&&!isInSkipHydrationBlock$1()&&!isDetachedByI18n(t)&&!isDisconnectedNode$1(n,t.index-27)}function processTextNodeBeforeSerialization(e,t){let n=t,r=e.corruptedTextNodes;n.textContent===``?r.set(n,`ngetn`):n.nextSibling?.nodeType===Node.TEXT_NODE&&r.set(n,`ngtns`)}function convertHydrateTriggersToJsAction(e){let t=[];return e!==null&&(e.has(4)&&t.push(...An),e.has(3)&&t.push(...kn)),t}function getParentBlockHydrationQueue(e,t){let n=t.get(I),r=t.get(pt).get(Bn,{}),i=!1,a=e,o=null,s=[];for(;!i&&a;){i=n.has(a);let e=n.hydrating.get(a);if(o===null&&e!=null){o=e.promise;break}s.unshift(a),a=r[a].p}return{parentBlockPromise:o,hydrationQueue:s}}function gatherDeferBlocksByJSActionAttribute(e){let t=e.body.querySelectorAll(`[jsaction]`),n=new Set,r=[An.join(`:;`),kn.join(`:;`)].join(`|`);for(let e of t){let t=e.getAttribute(`jsaction`),i=e.getAttribute(`ngb`);t?.match(r)&&i!==null&&n.add(e)}return n}function appendDeferBlocksToJSActionMap(e,t){let n=gatherDeferBlocksByJSActionAttribute(e),r=t.get(Cn);for(let e of n)sharedMapFunction(e,r)}function retrieveDeferBlockDataImpl(e){let t=e.get(pt,null,{optional:!0});return t===null?{}:t.get(Bn,{})}function enableRetrieveDeferBlockDataImpl(){_retrieveDeferBlockDataImpl=retrieveDeferBlockDataImpl}function retrieveDeferBlockData(e){return _retrieveDeferBlockDataImpl(e)}function isTimerTrigger(e){return typeof e==`object`&&e.trigger===5}function getHydrateTimerTrigger(e){return e.t?.find(e=>isTimerTrigger(e))?.delay??null}function getHydrateViewportTrigger(e){let t=e.t;if(t){for(let e of t)if(e===2)return!0;else if(typeof e==`object`&&e.trigger===2)return e.intersectionObserverOptions||!0}return null}function hasHydrateTrigger(e,t){return e.t?.includes(t)??!1}function createBlockSummary(e){return{data:e,hydrate:{idle:hasHydrateTrigger(e,0),immediate:hasHydrateTrigger(e,1),timer:getHydrateTimerTrigger(e),viewport:getHydrateViewportTrigger(e)}}}function processBlockData(e){let t=retrieveDeferBlockData(e),n=new Map;for(let e in t)n.set(e,createBlockSummary(t[e]));return n}function isSsrContentsIntegrity(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===`nghm`}function skipTextNodes(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function verifySsrContentsIntegrity(e){for(let t of e.body.childNodes)if(isSsrContentsIntegrity(t))return;if(!isSsrContentsIntegrity(skipTextNodes(e.body.previousSibling))&&!isSsrContentsIntegrity(skipTextNodes(e.head.lastChild)))throw new RuntimeError(-507,!1)}function refreshContentQueries(e,t){let n=e.contentQueries;if(n!==null){let r=setActiveConsumer(null);try{for(let r=0;r<n.length;r+=2){let i=n[r],a=n[r+1];if(a!==-1){let n=e.data[a];setCurrentQueryIndex(i),n.contentQueries(2,t[a],a)}}}finally{setActiveConsumer(r)}}}function executeViewQueryFn(e,t,n){setCurrentQueryIndex(0);let r=setActiveConsumer(null);try{t(e,n)}finally{setActiveConsumer(r)}}function executeContentQueries(e,t,n){if(isContentQueryHost(t)){let r=setActiveConsumer(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let t=r;t<i;t++){let r=e.data[t];if(r.contentQueries){let e=n[t];r.contentQueries(1,e,t)}}}finally{setActiveConsumer(r)}}}function ɵsetUnknownElementStrictMode(e){Kn=e}function ɵgetUnknownElementStrictMode(){return Kn}function ɵsetUnknownPropertyStrictMode(e){qn=e}function ɵgetUnknownPropertyStrictMode(){return qn}function getPolicy$1(){if(Yn===void 0&&(Yn=null,w.trustedTypes))try{Yn=w.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yn}function trustedHTMLFromString(e){return getPolicy$1()?.createHTML(e)||e}function trustedScriptURLFromString(e){return getPolicy$1()?.createScriptURL(e)||e}function getPolicy(){if(Xn===void 0&&(Xn=null,w.trustedTypes))try{Xn=w.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xn}function trustedHTMLFromStringBypass(e){return getPolicy()?.createHTML(e)||e}function trustedScriptFromStringBypass(e){return getPolicy()?.createScript(e)||e}function trustedScriptURLFromStringBypass(e){return getPolicy()?.createScriptURL(e)||e}function unwrapSafeValue(e){return e instanceof SafeValueImpl?e.changingThisBreaksApplicationSecurity:e}function allowSanitizationBypassAndThrow(e,t){let n=getSanitizationBypassType(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw Error(`Required a safe ${t}, got a ${n} (see ${ve})`)}return n===t}function getSanitizationBypassType(e){return e instanceof SafeValueImpl&&e.getTypeName()||null}function bypassSanitizationTrustHtml(e){return new SafeHtmlImpl(e)}function bypassSanitizationTrustStyle(e){return new SafeStyleImpl(e)}function bypassSanitizationTrustScript(e){return new SafeScriptImpl(e)}function bypassSanitizationTrustUrl(e){return new SafeUrlImpl(e)}function bypassSanitizationTrustResourceUrl(e){return new SafeResourceUrlImpl(e)}function getInertBodyHelper(e){let t=new InertDocumentHelper(e);return isDOMParserAvailable()?new DOMParserHelper(t):t}function isDOMParserAvailable(){try{return!!new window.DOMParser().parseFromString(trustedHTMLFromString(``),`text/html`)}catch{return!1}}function _sanitizeUrl(e){return e=String(e),e.match(Zn)?e:`unsafe:`+e}function tagSet(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=!0;return t}function merge(...e){let t=Object.create(null);for(let n of e)for(let e in n)Object.hasOwn(n,e)&&(t[e]=!0);return t}function isClobberedElement(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function getNextSibling(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw clobberedElementError(t);return t}function getFirstChild(e){let t=e.firstChild;if(t&&isClobberedElement(e,t))throw clobberedElementError(t);return t}function getNodeName(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function clobberedElementError(e){return Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}function encodeEntities(e){return e.replace(/&/g,`&amp;`).replace(ar,function(e){let t=e.charCodeAt(0),n=e.charCodeAt(1);return`&#`+((t-55296)*1024+(n-56320)+65536)+`;`}).replace(or,function(e){return`&#`+e.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function _sanitizeHtml(e,t){let n=null;try{sr||=getInertBodyHelper(e);let r=t?String(t):``;n=sr.getInertBodyElement(r);let i=5,a=r;do{if(i===0)throw Error(`Failed to sanitize html because the input is unstable`);i--,r=a,a=n.innerHTML,n=sr.getInertBodyElement(r)}while(r!==a);return trustedHTMLFromString(new SanitizingHtmlSerializer().sanitizeChildren(getTemplateContent(n)||n))}finally{if(n){let e=getTemplateContent(n)||n;for(;e.firstChild;)e.firstChild.remove()}}}function getTemplateContent(e){return`content`in e&&isTemplateElement(e)?e.content:null}function isTemplateElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}function escapeCommentText(e){return e.replace(cr,e=>e.replace(lr,ur))}function createTextNode(e,t){return e.createText(t)}function updateTextNode(e,t,n){e.setValue(t,n)}function createCommentNode(e,t){return e.createComment(escapeCommentText(t))}function createElementNode(e,t,n){return e.createElement(t,n)}function nativeInsertBefore(e,t,n,r,i){e.insertBefore(t,n,r,i)}function nativeAppendChild(e,t,n){e.appendChild(t,n)}function nativeAppendOrInsertBefore(e,t,n,r,i){r===null?nativeAppendChild(e,t,n):nativeInsertBefore(e,t,n,r,i)}function nativeRemoveNode(e,t,n,r){e.removeChild(null,t,n,r)}function clearElementContents(e){e.textContent=``}function writeDirectStyle(e,t,n){e.setAttribute(t,`style`,n)}function writeDirectClass(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function setupStaticAttributes(e,t,n){let{mergedAttrs:r,classes:i,styles:a}=n;r!==null&&setUpAttributes(e,t,r),i!==null&&writeDirectClass(e,t,i),a!==null&&writeDirectStyle(e,t,a)}function enforceIframeSecurity(e){let t=getLView();e.src=``,e.srcdoc=trustedHTMLFromString(``),nativeRemoveNode(t[11],e)}function splitNsName(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function ɵɵsanitizeHtml(e,t,n){if(t!==void 0&&n!==void 0&&getSecurityContext(t,n)!==D.HTML)return e;let r=getSanitizer();return r?trustedHTMLFromStringBypass(r.sanitize(D.HTML,e)||``):allowSanitizationBypassAndThrow(e,`HTML`)?trustedHTMLFromStringBypass(unwrapSafeValue(e)):_sanitizeHtml(getDocument(),renderStringify(e))}function ɵɵsanitizeStyle(e){let t=getSanitizer();return t?t.sanitize(D.STYLE,e)||``:allowSanitizationBypassAndThrow(e,`Style`)?unwrapSafeValue(e):renderStringify(e)}function ɵɵsanitizeUrl(e){let t=getSanitizer();return t?t.sanitize(D.URL,e)||``:allowSanitizationBypassAndThrow(e,`URL`)?unwrapSafeValue(e):_sanitizeUrl(renderStringify(e))}function ɵɵsanitizeResourceUrl(e){let t=getSanitizer();if(t)return trustedScriptURLFromStringBypass(t.sanitize(D.RESOURCE_URL,e)||``);if(allowSanitizationBypassAndThrow(e,`ResourceURL`))return trustedScriptURLFromStringBypass(unwrapSafeValue(e));throw new RuntimeError(904,!1)}function ɵɵsanitizeScript(e){let t=getSanitizer();if(t)return trustedScriptFromStringBypass(t.sanitize(D.SCRIPT,e)||``);if(allowSanitizationBypassAndThrow(e,`Script`))return trustedScriptFromStringBypass(unwrapSafeValue(e));throw new RuntimeError(905,!1)}function ɵɵtrustConstantHtml(e){return trustedHTMLFromString(e[0])}function ɵɵtrustConstantResourceUrl(e){return trustedScriptURLFromString(e[0])}function getUrlSanitizer(e,t){switch(getSecurityContext(e,t)){case D.RESOURCE_URL:return ɵɵsanitizeResourceUrl;case D.URL:return ɵɵsanitizeUrl;default:return null}}function ɵɵsanitizeUrlOrResourceUrl(e,t,n){return getUrlSanitizer(t,n)?.(e)??e}function getSanitizer(){let e=getLView();return e&&e[10].sanitizer}function getSecurityContext(e,t){let[n,r]=resolveElement(e);return checkSecurityContext(r,t,n)}function resolveElement(e){e=e.toLowerCase();let t=splitNsName(e,!1);if(t[0])return t;let n=getSelectedIndex()===-1?null:getSelectedTNode(),r=n?.namespace;if(e===`#host`&&n?.type===2){let t=getNativeByTNode(n,getLView());if(t.tagName&&(e=t.tagName.toLowerCase()),r==null){let e=t.namespaceURI;r=e&&Jn[e]}}return[r,e]}function ɵɵvalidateAttribute(e,t,n){let r=getSelectedIndex()===-1?null:getSelectedTNode();if(r&&r.type!==2)return e;let[i,a]=resolveElement(t);if(checkSecurityContext(a,n,i)!==D.ATTRIBUTE_NO_BINDING)return e;let o=getLView();if(r){if(a===`iframe`)enforceIframeSecurity(getNativeByTNode(r,o));else if(i===`svg`||!i){let t=fr[a]?.[n.toLowerCase()];if(t){if(getSecuritySensitiveSVGAnimationAttributeName(getNativeByTNode(r,o),t))throw new RuntimeError(-910,!1);return e}}}throw new RuntimeError(-910,!1)}function getSecuritySensitiveSVGAnimationAttributeName(e,t){for(let n of e.getAttributeNames()){if(n.toLowerCase()!==`attributename`)continue;let r=e.getAttribute(n);if(r!==null&&t.has(r.toLowerCase()))return r}return null}function provideNgReflectAttributes(){return makeEnvironmentProviders([])}function ɵɵresolveWindow(e){return e.ownerDocument.defaultView}function ɵɵresolveDocument(e){return e.ownerDocument}function ɵɵresolveBody(e){return e.ownerDocument.body}function maybeUnwrapFn(e){return e instanceof Function?e():e}function classIndexOf(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}function isCssClassMatching(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]==`string`;i+=2)if(t[i]===`class`&&classIndexOf(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(isInlineTemplate(e))return!1;if(i=t.indexOf(1,i),i>-1){let e;for(;++i<t.length&&typeof(e=t[i])==`string`;)if(e.toLowerCase()===n)return!0}return!1}function isInlineTemplate(e){return e.type===4&&e.value!==mr}function hasTagAndTypeMatch(e,t,n){return t===(e.type===4&&!n?mr:e.value)}function isNodeMatchingSelector(e,t,n){let r=4,i=e.attrs,a=i===null?0:getNameOnlyMarkerIndex(i),o=!1;for(let s=0;s<t.length;s++){let c=t[s];if(typeof c==`number`){if(!o&&!isPositive(r)&&!isPositive(c))return!1;if(o&&isPositive(c))continue;o=!1,r=c|r&1;continue}if(!o){if(r&4){if(r=2|r&1,c!==``&&!hasTagAndTypeMatch(e,c,n)||c===``&&t.length===1){if(isPositive(r))return!1;o=!0}}else if(r&8){if(i===null||!isCssClassMatching(e,i,c,n)){if(isPositive(r))return!1;o=!0}}else{let l=t[++s],u=findAttrIndexInNode(c,i,isInlineTemplate(e),n);if(u===-1){if(isPositive(r))return!1;o=!0;continue}if(l!==``){let e;if(e=u>a?``:i[u+1].toLowerCase(),r&2&&l!==e){if(isPositive(r))return!1;o=!0}}}}}return isPositive(r)||o}function isPositive(e){return!(e&1)}function findAttrIndexInNode(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){let r=t[i];if(r===e)return i;if(r===3||r===6)n=!0;else if(r===1||r===2){let e=t[++i];for(;typeof e==`string`;)e=t[++i];continue}else if(r===4)break;else if(r===0){i+=4;continue}i+=n?1:2}return-1}return matchTemplateAttribute(t,e)}function isNodeMatchingSelectorList(e,t,n=!1){for(let r=0;r<t.length;r++)if(isNodeMatchingSelector(e,t[r],n))return!0;return!1}function getProjectAsAttrValue(e){let t=e.attrs;if(t!=null){let e=t.indexOf(5);if(!(e&1))return t[e+1]}return null}function getNameOnlyMarkerIndex(e){for(let t=0;t<e.length;t++){let n=e[t];if(isNameOnlyAttributeMarker(n))return t}return e.length}function matchTemplateAttribute(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r==`number`)return-1;if(r===t)return n;n++}return-1}function isSelectorInSelectorList(e,t){selectorListLoop:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue selectorListLoop;return!0}}return!1}function maybeWrapInNotSelector(e,t){return e?`:not(`+t.trim()+`)`:t}function stringifyCSSSelector(e){let t=e[0],n=1,r=2,i=``,a=!1;for(;n<e.length;){let o=e[n];if(typeof o==`string`){if(r&2){let t=e[++n];i+=`[`+o+(t.length>0?`="`+t+`"`:``)+`]`}else r&8?i+=`.`+o:r&4&&(i+=` `+o)}else i!==``&&!isPositive(o)&&(t+=maybeWrapInNotSelector(a,i),i=``),r=o,a||=!isPositive(r);n++}return i!==``&&(t+=maybeWrapInNotSelector(a,i)),t}function stringifyCSSSelectorList(e){return e.map(stringifyCSSSelector).join(`,`)}function extractAttrsAndClassesFromSelector(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let a=e[r];if(typeof a==`string`)i===2?a!==``&&t.push(a,e[++r]):i===8&&n.push(a);else{if(!isPositive(i))break;i=a}r++}return n.length&&t.push(1,...n),t}function icuContainerIterate(e,t){return gr(e,t)}function ensureIcuContainerVisitorLoaded(e){gr===void 0&&(gr=e())}function parseCssTimeUnitsToMs(e){if(!e)return 0;let t=e.toLowerCase().indexOf(`ms`)>-1?1:1e3;return parseFloat(e)*t}function parseCssPropertyValue(e,t){return e.getPropertyValue(t).split(`,`).map(e=>e.trim())}function getLongestComputedTransition(e){let t=parseCssPropertyValue(e,`transition-property`),n=parseCssPropertyValue(e,`transition-duration`),r=parseCssPropertyValue(e,`transition-delay`),i={propertyName:``,duration:0,animationName:void 0};for(let e=0;e<t.length;e++){let a=parseCssTimeUnitsToMs(r[e])+parseCssTimeUnitsToMs(n[e]);a>i.duration&&(i.propertyName=t[e],i.duration=a)}return i}function getLongestComputedAnimation(e){let t=parseCssPropertyValue(e,`animation-name`),n=parseCssPropertyValue(e,`animation-delay`),r=parseCssPropertyValue(e,`animation-duration`),i=parseCssPropertyValue(e,`animation-iteration-count`),a={animationName:``,propertyName:void 0,duration:0};for(let e=0;e<t.length;e++){let o=parseCssTimeUnitsToMs(n[e])+parseCssTimeUnitsToMs(r[e]),s=i[e];o>a.duration&&s!==`infinite`&&(a.animationName=t[e],a.duration=o)}return a}function isShorterThanExistingAnimation(e,t){return e!==void 0&&e.duration>t.duration}function longestExists(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function getAnimationDuration(e){let t=e.effect?.getTiming();if(t===void 0)return;let n=typeof t.duration==`number`?t.duration:0,r=(t.delay??0)+n,i=e.playbackRate;return i!==void 0&&i!==0&&i!==1&&(r/=Math.abs(i)),r}function determineLongestAnimationFromComputedStyles(e,t){let n=getComputedStyle(e),r=getLongestComputedAnimation(n),i=getLongestComputedTransition(n),a=r.duration>i.duration?r:i;isShorterThanExistingAnimation(t.get(e),a)||longestExists(a)&&t.set(e,a)}function determineLongestAnimation(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?determineLongestAnimationFromComputedStyles(e,t):determineLongestAnimationFromElementAnimations(e,t,r)}function determineLongestAnimationFromElementAnimations(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let e of n){if(e.effect?.getTiming()?.iterations===1/0)continue;let t=getAnimationDuration(e)??0,n,i;e.animationName?i=e.animationName:n=e.transitionProperty,t>=r.duration&&(r={animationName:i,propertyName:n,duration:t})}isShorterThanExistingAnimation(t.get(e),r)||longestExists(r)&&t.set(e,r)}function areAnimationsDisabled(e){return e[9].get(_r,xr)}function trackEnterClasses(e,t,n){let r=wr.get(e);if(r){for(let e of t)r.classList.push(e);for(let e of n)r.cleanupFns.push(e)}else wr.set(e,{classList:t,cleanupFns:n})}function cleanupEnterClassData(e){let t=wr.get(e);if(t){for(let e of t.cleanupFns)e();wr.delete(e)}Tr.delete(e)}function getDeclarationView(e){return e?e[14]??e:null}function clearLeavingNodes(e,t){let n=Er.get(e);if(n&&n.length>0){let e=n.findIndex(e=>e.el===t);e>-1&&n.splice(e,1)}n?.length===0&&Er.delete(e)}function cancelLeavingNodes(e,t,n){let r=Er.get(e);if(!r||r.length===0)return;let i=t.parentNode,a=t.previousSibling,o=getDeclarationView(n);for(let e=r.length-1;e>=0;e--){let{el:n,declarationView:s}=r[e],c=n.parentNode;n===t?(r.splice(e,1),Dr.add(n),n.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):(a&&n===a||c&&i&&c!==i&&(o===null||s===null||o===s))&&(r.splice(e,1),n.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),n.parentNode?.removeChild(n))}}function trackLeavingNodes(e,t,n){let r=getDeclarationView(n),i=Er.get(e);i?i.some(e=>e.el===t)||i.push({el:t,declarationView:r}):Er.set(e,[{el:t,declarationView:r}])}function getLViewEnterAnimations(e){let t=e[26]??={};return t.enter??=new Map}function getLViewLeaveAnimations(e){let t=e[26]??={};return t.leave??=new Map}function getClassListFromValue(e){let t=typeof e==`function`?e():e,n=Array.isArray(t)?t:null;return typeof t==`string`&&(n=t.trim().split(/\s+/).filter(e=>e)),n}function cancelAnimationsIfRunning(e,t){if(!Cr)return;let n=wr.get(e);if(n&&n.classList.length>0&&elementHasClassList(e,n.classList))for(let r of n.classList)t.removeClass(e,r);cleanupEnterClassData(e)}function elementHasClassList(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function getEventTarget(e){return e.composedPath?e.composedPath()[0]:e.target}function isLongestAnimation(e,t){let n=Tr.get(t);if(n===void 0)return!0;if(t!==getEventTarget(e))return!1;let r=e.animation;if(r){let e=getAnimationDuration(r);if(e!==void 0&&e+Sr<n.duration)return!1}return n.animationName===void 0?n.propertyName===void 0?!1:n.propertyName===`all`||e.propertyName===n.propertyName:e.animationName===n.animationName}function addAnimationToLView(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function cleanupAfterLeaveAnimations(e,t){if(e)for(let t of e)t();for(let e of t)e()}function clearLViewNodeAnimationResolvers(e,t){let n=getLViewLeaveAnimations(e).get(t.index);n&&(n.resolvers=void 0)}function leaveAnimationFunctionCleanup(e,t,n,r,i){clearLeavingNodes(t,n),cleanupAfterLeaveAnimations(r,i),clearLViewNodeAnimationResolvers(e,t)}function performanceMarkFeature(e){Ar.has(e)||(Ar.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}function afterEveryRender(e,t){let n=t?.injector??inject(k);return performanceMarkFeature(`NgAfterRender`),afterEveryRenderImpl(e,n,t,!1)}function afterNextRender(e,t){let n=t?.injector??inject(k);return performanceMarkFeature(`NgAfterNextRender`),afterEveryRenderImpl(e,n,t,!0)}function getHooks(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function afterEveryRenderImpl(e,t,n,r){let i=t.get(jr);i.impl??=t.get(Nr);let a=t.get(kr,null,{optional:!0}),o=n?.manualCleanup===!0?null:t.get(DestroyRef),s=t.get(mt,null,{optional:!0}),c=new AfterRenderSequence(i.impl,getHooks(e),s?.view,r,o,a?.snapshot(null));return i.impl.register(c),c}function addToAnimationQueue(e,t,n){let r=e.get(Pr);if(Array.isArray(t))for(let e of t)r.queue.add(e),n?.detachedLeaveAnimationFns?.push(e);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function removeAnimationsFromQueue(e,t){let n=e.get(Pr);if(Array.isArray(t))for(let e of t)n.queue.delete(e);else n.queue.delete(t)}function removeFromAnimationQueue(e,t){let n=e.get(Pr);if(t.detachedLeaveAnimationFns){for(let e of t.detachedLeaveAnimationFns)n.queue.delete(e);t.detachedLeaveAnimationFns=void 0}}function scheduleAnimationQueue(e){let t=e.get(Pr);t.isScheduled||=(afterNextRender(()=>{t.isScheduled=!1;for(let e of t.queue)e();t.queue.clear()},{injector:t.injector}),!0)}function initializeAnimationQueueScheduler(e){let t=e.get(Pr);t.scheduler=scheduleAnimationQueue,t.scheduler(e)}function queueEnterAnimations(e,t){for(let[n,r]of t)addToAnimationQueue(e,r.animateFns)}function maybeQueueEnterAnimation(e,t,n,r){let i=e?.[26]?.enter;t!==null&&i&&i.has(n.index)&&queueEnterAnimations(r,i)}function runLeaveAnimationsWithCallback(e,t,n,r){try{n.get(Ie)}catch{return r(!1)}let i=e?.[26];i?.enter?.has(t.index)&&removeAnimationsFromQueue(n,i.enter.get(t.index).animateFns);let a=aggregateDescendantAnimations(e,t,i);if(a.size===0){let n=!1;if(e){let r=[];collectNestedViewAnimations(e,t,r),n=r.length>0}if(!n)return r(!1)}e&&br.add(e[19]),addToAnimationQueue(n,()=>executeLeaveAnimations(e,t,i||void 0,a,r),i||void 0)}function aggregateDescendantAnimations(e,t,n){let r=new Map,i=n?.leave;if(i&&i.has(t.index)&&r.set(t.index,i.get(t.index)),e&&i)for(let[n,a]of i){if(r.has(n))continue;let i=e[1].data[n].parent;for(;i;){if(i===t){r.set(n,a);break}i=i.parent}}return r}function executeLeaveAnimations(e,t,n,r,i){let a=[];if(n&&n.leave)for(let[e]of r){if(!n.leave.has(e))continue;let t=n.leave.get(e);for(let e of t.animateFns){let{promise:t}=e();a.push(t)}n.detachedLeaveAnimationFns=void 0}if(e&&collectNestedViewAnimations(e,t,a),a.length>0){let t=n||e?.[26];if(t){let n=t.running;n&&a.push(n),t.running=Promise.allSettled(a),runAfterLeaveAnimations(e,t.running,i)}else Promise.allSettled(a).then(()=>{e&&br.delete(e[19]),i(!0)})}else e&&br.delete(e[19]),i(!1)}function collectNestedViewAnimations(e,t,n){if(t.type&12){let r=e[t.index];if(isLContainer(r))for(let e=10;e<r.length;e++){let t=r[e];t[1].type===2&&collectAllViewLeaveAnimations(t,n)}}let r=t.child;for(;r;)collectNestedViewAnimations(e,r,n),r=r.next}function collectAllViewLeaveAnimations(e,t){let n=e[26];if(n&&n.leave)for(let e of n.leave.values())for(let n of e.animateFns){let{promise:e}=n();t.push(e)}let r=e[1].firstChild;for(;r;)collectNestedViewAnimations(e,r,t),r=r.next}function runAfterLeaveAnimations(e,t,n){t.then(()=>{e[26]?.running===t&&(e[26].running=void 0,br.delete(e[19])),n(!0)})}function applyToElementOrContainer(e,t,n,r,i,a,o,s){if(i!=null){let c,l=!1;isLContainer(i)?c=i:isLView(i)&&(l=!0,i=i[0]);let u=unwrapRNode(i);e===0&&r!==null?(maybeQueueEnterAnimation(s,r,a,n),o==null?nativeAppendChild(t,r,u):nativeInsertBefore(t,r,u,o||null,!0)):e===1&&r!==null?(maybeQueueEnterAnimation(s,r,a,n),nativeInsertBefore(t,r,u,o||null,!0),cancelLeavingNodes(a,u,s)):e===2?(s?.[26]?.leave?.has(a.index)&&trackLeavingNodes(a,u,s),Dr.delete(u),runLeaveAnimationsWithCallback(s,a,n,e=>{if(Dr.has(u)){Dr.delete(u);return}nativeRemoveNode(t,u,l,e)})):e===3&&(Dr.delete(u),runLeaveAnimationsWithCallback(s,a,n,()=>{t.destroyNode(u)})),c!=null&&applyContainer(t,e,n,c,a,r,o)}}function removeViewFromDOM(e,t){detachViewFromDOM(e,t),t[0]=null,t[5]=null}function addViewToDOM(e,t,n,r,i,a){r[0]=i,r[5]=t,applyView(e,r,n,1,i,a)}function detachViewFromDOM(e,t){t[10].changeDetectionScheduler?.notify(9),applyView(e,t,t[11],2,null,null)}function destroyViewTree(e){let t=e[12];if(!t)return cleanUpView(e[1],e);for(;t;){let n=null;if(isLView(t))n=t[12];else{let e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)isLView(t)&&cleanUpView(t[1],t),t=t[3];t===null&&(t=e),isLView(t)&&cleanUpView(t[1],t),n=t&&t[4]}t=n}}function detachMovedView(e,t){let n=e[9],r=n.indexOf(t);n.splice(r,1)}function destroyLView(e,t){if(isDestroyed(t))return;let n=t[11];n.destroyNode&&applyView(e,t,n,3,null,null),destroyViewTree(t)}function cleanUpView(e,t){if(isDestroyed(t))return;let n=setActiveConsumer(null);try{t[2]&=-129,t[2]|=256,t[24]&&consumerDestroy(t[24]),executeOnDestroys(e,t),processCleanups(e,t),t[1].type===1&&t[11].destroy();let n=t[16];if(n!==null&&isLContainer(t[3])){n!==t[3]&&detachMovedView(n,t);let r=t[18];r!==null&&r.detachView(e)}unregisterLView(t)}finally{setActiveConsumer(n)}}function processCleanups(e,t){let n=e.cleanup,r=t[7];if(n!==null)for(let e=0;e<n.length-1;e+=2)if(typeof n[e]==`string`){let t=n[e+3];t>=0?r[t]():r[-t].unsubscribe(),e+=2}else{let t=r[n[e+1]];n[e].call(t)}r!==null&&(t[7]=null);let i=t[21];if(i!==null){t[21]=null;for(let e=0;e<i.length;e++){let t=i[e];t()}}let a=t[23];if(a!==null){t[23]=null;for(let e of a)e.destroy()}}function executeOnDestroys(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let e=0;e<n.length;e+=2){let r=t[n[e]];if(!(r instanceof NodeInjectorFactory)){let t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){let n=r[t[e]],i=t[e+1];profiler(P.LifecycleHookStart,n,i);try{i.call(n)}finally{profiler(P.LifecycleHookEnd,n,i)}}else{profiler(P.LifecycleHookStart,r,t);try{t.call(r)}finally{profiler(P.LifecycleHookEnd,r,t)}}}}}function getParentRElement(e,t,n){if(t===null)throw new RuntimeError(510,!1);return getClosestRElement(e,t.parent,n)}function getClosestRElement(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[0];if(isComponentHost(r)){let{encapsulation:t}=e.data[r.directiveStart+r.componentOffset];if(t===L.None||t===L.Emulated)return null}return getNativeByTNode(r,n)}function getInsertInFrontOfRNode(e,t,n){return Fr(e,t,n)}function getInsertInFrontOfRNodeWithNoI18n(e,t,n){return e.type&40?getNativeByTNode(e,n):null}function setI18nHandling(e,t){Fr=e,Ir=t}function appendChild(e,t,n,r){let i=getParentRElement(e,r,t),a=t[11],o=getInsertInFrontOfRNode(r.parent||t[5],r,t);if(i!=null){if(Array.isArray(n))for(let e=0;e<n.length;e++)nativeAppendOrInsertBefore(a,i,n[e],o,!1);else nativeAppendOrInsertBefore(a,i,n,o,!1)}Ir!==void 0&&Ir(a,r,t,n,i)}function getFirstNativeNode(e,t){if(t!==null){let n=t.type;if(n&3)return getNativeByTNode(t,e);if(n&4)return getBeforeNodeForView(-1,e[t.index]);if(n&8){let n=t.child;if(n!==null)return getFirstNativeNode(e,n);{let n=e[t.index];return isLContainer(n)?getBeforeNodeForView(-1,n):unwrapRNode(n)}}if(n&128)return getFirstNativeNode(e,t.next);if(n&32)return icuContainerIterate(t,e)()||unwrapRNode(e[t.index]);{let n=getProjectionNodes(e,t);return n===null?getFirstNativeNode(e,t.next):Array.isArray(n)?n[0]:getFirstNativeNode(getLViewParent(e[15]),n)}}return null}function getProjectionNodes(e,t){if(t!==null){let n=e[15][5],r=t.projection;return n.projection[r]}return null}function getBeforeNodeForView(e,t){let n=10+e+1;if(n<t.length){let e=t[n],r=e[1].firstChild;if(r!==null)return getFirstNativeNode(e,r)}return t[7]}function applyNodes(e,t,n,r,i,a,o){for(;n!=null;){let s=r[9];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(o&&t===0&&(c&&attachPatchData(unwrapRNode(c),r),n.flags|=2),!isDetachedByI18n(n)){if(l&8)applyNodes(e,t,n.child,r,i,a,!1),applyToElementOrContainer(t,e,s,i,c,n,a,r);else if(l&32){let o=icuContainerIterate(n,r),l;for(;l=o();)applyToElementOrContainer(t,e,s,i,l,n,a,r);applyToElementOrContainer(t,e,s,i,c,n,a,r)}else l&16?applyProjectionRecursive(e,t,r,n,i,a):applyToElementOrContainer(t,e,s,i,c,n,a,r)}n=o?n.projectionNext:n.next}}function applyView(e,t,n,r,i,a){e.type===3?applyForeignNodes(n,r,t,i,a):applyNodes(n,r,e.firstChild,t,i,a,!1)}function applyForeignNodes(e,t,n,r,i){let a=n[1].firstChild,o=a.next,s=unwrapRNode(n[a.index]),c=unwrapRNode(n[o.index]),l=o.index+1,u=n[l];if(t===1||t===0)r!==null&&(u&&u.hasChildNodes()?nativeInsertBefore(e,r,u,i,!0):(nativeInsertBefore(e,r,s,i,!0),nativeInsertBefore(e,r,c,i,!0)));else if(t===2){if(u||(u=document.createDocumentFragment(),n[l]=u),s&&s.parentNode===u)return;let e=s;for(;e!==null;){let t=e.nextSibling;if(u.appendChild(e),e===c)break;e=t}}}function applyProjection(e,t,n){let r=t[11];applyProjectionRecursive(r,0,t,n,getParentRElement(e,n,t),getInsertInFrontOfRNode(n.parent||t[5],n,t))}function applyProjectionRecursive(e,t,n,r,i,a){let o=n[15],s=o[5].projection[r.projection];if(Array.isArray(s))for(let o=0;o<s.length;o++){let c=s[o];applyToElementOrContainer(t,e,n[9],i,c,r,a,n)}else{let n=s,c=o[3];hasInSkipHydrationBlockFlag(r)&&(n.flags|=128),applyNodes(e,t,n,c,i,a,!0)}}function applyContainer(e,t,n,r,i,a,o){let s=r[7];if(s!==unwrapRNode(r)&&applyToElementOrContainer(t,e,n,a,s,i,o),!(r[2]&4))for(let n=10;n<r.length;n++){let i=r[n];applyView(i[1],i,e,t,a,s)}}function applyStyling(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let t=r.indexOf(`-`)===-1?void 0:hr.DashCase;i==null?e.removeStyle(n,r,t):(typeof i==`string`&&i.endsWith(`!important`)&&(i=i.slice(0,-10),t|=hr.Important),e.setStyle(n,r,i,t))}}function createTView(e,t,n,r,i,a,o,s,c,l,u){let d=27+r,f=d+i,p=createViewBlueprint(d,f),m=typeof l==`function`?l():l;return p[1]={type:e,blueprint:p,template:n,queries:null,viewQuery:s,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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 a==`function`?a():a,pipeRegistry:typeof o==`function`?o():o,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function createViewBlueprint(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:R);return n}function getOrCreateComponentTView(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=createTView(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function createLView(e,t,n,r,i,a,o,s,c,l,u){let d=t.blueprint.slice();return d[0]=i,d[2]=r|1228,(l!==null||e&&e[2]&2048)&&(d[2]|=2048),resetPreOrderHookFlags(d),d[3]=d[14]=e,d[8]=n,d[10]=o||e&&e[10],d[11]=s||e&&e[11],d[9]=c||e&&e[9]||null,d[5]=a,d[19]=getUniqueLViewId(),d[6]=u,d[20]=l,d[15]=t.type==2?e[15]:d,d}function createComponentLView(e,t,n){let r=getNativeByTNode(t,e),i=getOrCreateComponentTView(n),a=e[10].rendererFactory,o=addToEndOfViewTree(e,createLView(e,i,null,getInitialLViewFlagsFromDef(n),r,t,null,a.createRenderer(r,n),null,null,null));return e[t.index]=o}function getInitialLViewFlagsFromDef(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function allocExpando(e,t,n,r){if(n===0)return-1;let i=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function addToEndOfViewTree(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function ɵɵadvance(e=1){selectIndexInternal(getTView(),getLView(),getSelectedIndex()+e,!1)}function selectIndexInternal(e,t,n,r){if(!r){if((t[2]&3)==3){let r=e.preOrderCheckHooks;r!==null&&executeCheckHooks(t,r,n)}else{let r=e.preOrderHooks;r!==null&&executeInitAndCheckHooks(t,r,0,n)}}setSelectedIndex(n)}function writeToDirectiveInput(e,t,n,r){let i=setActiveConsumer(null);try{let[i,a,o]=e.inputs[n],c=null;(a&Lr.SignalBased)!==0&&(c=t[i][s]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):o!==null&&(r=o.call(t,r)),e.setInput===null?applyValueToInputField(t,c,i,r):e.setInput(t,c,r,n,i)}finally{setActiveConsumer(i)}}function executeTemplate(e,t,n,r,i){let a=getSelectedIndex(),o=r&2;try{setSelectedIndex(-1),o&&t.length>27&&selectIndexInternal(e,t,27,!1);let a=o?P.TemplateUpdateStart:P.TemplateCreateStart;profiler(a,i,n),n(r,i)}finally{setSelectedIndex(a);let e=o?P.TemplateUpdateEnd:P.TemplateCreateEnd;profiler(e,i,n)}}function createDirectivesInstances(e,t,n){instantiateAllDirectives(e,t,n),(n.flags&64)==64&&invokeDirectivesHostBindings(e,t,n)}function saveResolvedLocalsInData(e,t,n=getNativeByTNode){let r=t.localNames;if(r!==null){let i=t.index+1;for(let a=0;a<r.length;a+=2){let o=r[a+1],s=o===-1?n(t,e):e[o];e[i++]=s}}}function locateHostElement(e,t,n,r){let i=r.get(vn,_n)||n===L.ShadowDom||n===L.ExperimentalIsolatedShadowDom,a=e.selectRootElement(t,i);return applyRootElementTransform(a),a}function applyRootElementTransform(e){_applyRootElementTransformImpl(e)}function applyRootElementTransformImpl(e){hasSkipHydrationAttrOnRElement(e)?clearElementContents(e):processTextNodeMarkersBeforeHydration(e)}function enableApplyRootElementTransformImpl(){_applyRootElementTransformImpl=applyRootElementTransformImpl}function mapPropName(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function setPropertyAndInputs(e,t,n,r,i,a){let o=t[1];if(setAllInputsForProperty(e,o,t,n,r)){isComponentHost(e)&&markDirtyIfOnPush(t,e.index);return}e.type&3&&(n=mapPropName(n)),setDomProperty(e,t,n,r,i,a)}function setDomProperty(e,t,n,r,i,a){if(e.type&3){let o=getNativeByTNode(e,t);r=a==null?r:a(r,e.value||``,n),i.setProperty(o,n,r)}else e.type&12}function markDirtyIfOnPush(e,t){let n=getComponentLViewByIndex(t,e);n[2]&16||(n[2]|=64)}function instantiateAllDirectives(e,t,n){let r=n.directiveStart,i=n.directiveEnd;isComponentHost(n)&&createComponentLView(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||getOrCreateNodeInjectorForNode(n,t);let a=n.initialInputs;for(let o=r;o<i;o++){let i=e.data[o],s=getNodeInjectable(t,e,o,n);if(attachPatchData(s,t),a!==null&&setInputsFromAttrs(t,o-r,s,i,n,a),isComponentDef(i)){let r=getComponentLViewByIndex(n.index,t);r[8]=getNodeInjectable(t,e,o,n)}}}function invokeDirectivesHostBindings(e,t,n){let r=n.directiveStart,i=n.directiveEnd,a=n.index,o=getCurrentDirectiveIndex();try{setSelectedIndex(a);for(let n=r;n<i;n++){let r=e.data[n],i=t[n];setCurrentDirectiveIndex(n),(r.hostBindings!==null||r.hostVars!==0||r.hostAttrs!==null)&&invokeHostBindingsInCreationMode(r,i)}}finally{setSelectedIndex(-1),setCurrentDirectiveIndex(o)}}function invokeHostBindingsInCreationMode(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function findDirectiveDefMatches(e,t){let n=e.directiveRegistry,r=null;if(n)for(let e=0;e<n.length;e++){let i=n[e];isNodeMatchingSelectorList(t,i.selectors,!1)&&(r??=[],isComponentDef(i)?r.unshift(i):r.push(i))}return r}function elementAttributeInternal(e,t,n,r,i,a){let o=getNativeByTNode(e,t);setElementAttribute(t[11],o,a,e.value,n,r,i)}function setElementAttribute(e,t,n,r,i,a,o){if(a==null)o?.(a,r||``,i),e.removeAttribute(t,i,n);else{let s=o==null?renderStringify(a):o(a,r||``,i);e.setAttribute(t,i,s,n)}}function setInputsFromAttrs(e,t,n,r,i,a){let o=a[t];if(o!==null)for(let e=0;e<o.length;e+=2){let t=o[e],i=o[e+1];writeToDirectiveInput(r,n,t,i)}}function elementLikeStartShared(e,t,n,r,i){let a=27+n,o=t[1],s=i(o,t,e,r,n);t[a]=s,setCurrentTNode(e,!0);let c=e.type===2;return c?(setupStaticAttributes(t[11],s,e),(getElementDepthCount()===0||isDirectiveHost(e))&&attachPatchData(s,t),increaseElementDepthCount()):attachPatchData(s,t),wasLastNodeCreated()&&(!c||!isDetachedByI18n(e))&&appendChild(o,t,s,e),e}function elementLikeEndShared(e){let t=e;return isCurrentTNodeParent()?setCurrentTNodeAsNotParent():(t=t.parent,setCurrentTNode(t,!1)),t}function loadComponentRenderer(e,t,n){return(e===null||isComponentDef(e))&&(n=unwrapLView(n[t.index])),n[11]}function handleUncaughtError(e,t){let n=e[9];if(!n)return;let r;try{r=n.get(rt,null)}catch{r=null}r?.(t)}function setAllInputsForProperty(e,t,n,r,i){let a=e.inputs?.[r],o=e.hostDirectiveInputs?.[r],s=!1;if(o)for(let e=0;e<o.length;e+=2){let r=o[e],a=o[e+1],c=t.data[r];writeToDirectiveInput(c,n[r],a,i),s=!0}if(a)for(let e of a){let a=n[e],o=t.data[e];writeToDirectiveInput(o,a,r,i),s=!0}return s}function setDirectiveInput(e,t,n,r,i,a){let o=null,s=null,c=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u==`number`?o=u:[o,s,c]=u,s!==null&&c!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,i)){let r=e.hostDirectiveInputs[i];for(let e=0;e<r.length;e+=2){let i=r[e];if(i>=s&&i<=c){let o=t.data[i],s=r[e+1];writeToDirectiveInput(o,n[i],s,a),l=!0}else if(i>c)break}}return o!==null&&Object.hasOwn(r.inputs,i)&&(writeToDirectiveInput(r,n[o],i,a),l=!0),l}function renderComponent(e,t){let n=getComponentLViewByIndex(t,e),r=n[1];syncViewWithBlueprint(r,n);let i=n[0];i!==null&&n[6]===null&&(n[6]=retrieveHydrationInfo(i,n[9])),profiler(P.ComponentStart);try{renderView(r,n,n[8])}finally{profiler(P.ComponentEnd,n[8])}}function syncViewWithBlueprint(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function renderView(e,t,n){enterView(t);try{let r=e.viewQuery;r!==null&&executeViewQueryFn(1,r,n);let i=e.template;i!==null&&executeTemplate(e,t,i,1,n),e.firstCreatePass&&=!1,t[18]?.finishViewCreation(e),e.staticContentQueries&&refreshContentQueries(e,t),e.staticViewQueries&&executeViewQueryFn(2,e.viewQuery,n);let a=e.components;a!==null&&renderChildComponents(t,a)}catch(t){throw e.firstCreatePass&&=(e.incompleteFirstPass=!0,!1),t}finally{t[2]&=-5,leaveView()}}function renderChildComponents(e,t){for(let n=0;n<t.length;n++)renderComponent(e,t[n])}function createAndRenderEmbeddedLView(e,t,n,r){let i=setActiveConsumer(null);try{let i=t.tView,a=createLView(e,i,n,e[2]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);a[16]=e[t.index];let o=e[18];return o!==null&&(a[18]=o.createEmbeddedView(i)),renderView(i,a,n),a}finally{setActiveConsumer(i)}}function shouldAddViewToDom(e,t){return!t||t.firstChild===null||hasInSkipHydrationBlockFlag(e)}function collectNativeNodes(e,t,n,r,i=!1){if(e.type===3){let n=e.firstChild,i=n.next,a=unwrapRNode(t[n.index]),o=unwrapRNode(t[i.index]),s=a;for(;s!==null&&(r.push(s),s!==o);)s=s.nextSibling;return r}for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let a=t[n.index];if(a!==null){if(isLContainer(a)){let e=a[7];e!==a[0]&&r.push(unwrapRNode(a)),a[2]&4||collectNativeNodesInLContainer(a,r),r.push(e)}else r.push(unwrapRNode(a))}let o=n.type;if(o&8)collectNativeNodes(e,t,n.child,r);else if(o&32){let e=icuContainerIterate(n,t),i;for(;i=e();)r.push(i)}else if(o&16){let e=getProjectionNodes(t,n);if(Array.isArray(e))r.push(...e);else{let n=getLViewParent(t[15]);collectNativeNodes(n[1],n,e,r,!0)}}n=i?n.projectionNext:n.next}return r}function collectNativeNodesInLContainer(e,t){for(let n=10;n<e.length;n++){let r=e[n],i=r[1].firstChild;i!==null&&collectNativeNodes(r[1],r,i,t)}}function addAfterRenderSequencesForView(e){if(e[25]!==null){for(let t of e[25])t.impl.addSequence(t);e[25].length=0}}function getOrBorrowReactiveLViewConsumer(e){return e[24]??borrowReactiveLViewConsumer(e)}function borrowReactiveLViewConsumer(e){let t=Rr.pop()??Object.create(zr);return t.lView=e,t}function maybeReturnReactiveLViewConsumer(e){e.lView[24]!==e&&(e.lView=null,Rr.push(e))}function getOrCreateTemporaryConsumer(e){let t=e[24]??Object.create(Br);return t.lView=e,t}function viewShouldHaveReactiveConsumer(e){return e.type!==2}function runEffectsInView(e){if(e[23]===null)return;let t=!0;for(;t;){let n=!1;for(let t of e[23])if(t.dirty&&(n=!0,t.zone===null||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()),e[23]===null))return;t=n&&!!(e[2]&8192)}}function detectChangesInternal(e,t=0){let n=e[10].rendererFactory;n.begin?.();try{detectChangesInViewWhileDirty(e,t)}finally{n.end?.()}}function detectChangesInViewWhileDirty(e,t){let n=isRefreshingViews();try{setIsRefreshingViews(!0),detectChangesInView(e,t);let n=0;for(;requiresRefreshOrTraversal(e);){if(n===Vr)throw new RuntimeError(103,!1);n++,detectChangesInView(e,1)}}finally{setIsRefreshingViews(n)}}function refreshView(e,t,n,r){if(isDestroyed(t))return;let i=t[2];enterView(t);let a=!0,o=null,s=null;viewShouldHaveReactiveConsumer(e)?(s=getOrBorrowReactiveLViewConsumer(t),o=consumerBeforeComputation(s)):getActiveConsumer()===null?(a=!1,s=getOrCreateTemporaryConsumer(t),o=consumerBeforeComputation(s)):t[24]&&=(consumerDestroy(t[24]),null);try{resetPreOrderHookFlags(t),setBindingIndex(e.bindingStartIndex),n!==null&&executeTemplate(e,t,n,2,r);let a=(i&3)==3;if(a){let n=e.preOrderCheckHooks;n!==null&&executeCheckHooks(t,n,null)}else{let n=e.preOrderHooks;n!==null&&executeInitAndCheckHooks(t,n,0,null),incrementInitPhaseFlags(t,0)}if(markTransplantedViewsForRefresh(t),runEffectsInView(t),detectChangesInEmbeddedViews(t,0),e.contentQueries!==null&&refreshContentQueries(e,t),a){let n=e.contentCheckHooks;n!==null&&executeCheckHooks(t,n)}else{let n=e.contentHooks;n!==null&&executeInitAndCheckHooks(t,n,1),incrementInitPhaseFlags(t,1)}processHostBindingOpCodes(e,t);let o=e.components;o!==null&&detectChangesInChildComponents(t,o,0);let s=e.viewQuery;if(s!==null&&executeViewQueryFn(2,s,r),a){let n=e.viewCheckHooks;n!==null&&executeCheckHooks(t,n)}else{let n=e.viewHooks;n!==null&&executeInitAndCheckHooks(t,n,2),incrementInitPhaseFlags(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[22]){for(let e of t[22])e();t[22]=null}addAfterRenderSequencesForView(t),t[2]&=-73}catch(e){throw markAncestorsForTraversal(t),e}finally{s!==null&&(consumerAfterComputation(s,o),a&&maybeReturnReactiveLViewConsumer(s)),leaveView()}}function detectChangesInEmbeddedViews(e,t){for(let n=getFirstLContainer(e);n!==null;n=getNextLContainer(n))for(let e=10;e<n.length;e++){let r=n[e];detectChangesInViewIfAttached(r,t)}}function markTransplantedViewsForRefresh(e){for(let t=getFirstLContainer(e);t!==null;t=getNextLContainer(t)){if(!(t[2]&2))continue;let e=t[9];for(let t=0;t<e.length;t++){let n=e[t];markViewForRefresh(n)}}}function detectChangesInComponent(e,t,n){profiler(P.ComponentStart);let r=getComponentLViewByIndex(t,e);try{detectChangesInViewIfAttached(r,n)}finally{profiler(P.ComponentEnd,r[8])}}function detectChangesInViewIfAttached(e,t){viewAttachedToChangeDetector(e)&&detectChangesInView(e,t)}function detectChangesInView(e,t){let n=e[1],r=e[2],i=e[24],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(i?.dirty&&consumerPollProducersForChange(i)),a||=!1,i&&(i.dirty=!1),e[2]&=-9217,a)refreshView(n,e,n.template,e[8]);else if(r&8192){let t=setActiveConsumer(null);try{runEffectsInView(e),detectChangesInEmbeddedViews(e,1);let t=n.components;t!==null&&detectChangesInChildComponents(e,t,1),addAfterRenderSequencesForView(e)}finally{setActiveConsumer(t)}}}function detectChangesInChildComponents(e,t,n){for(let r=0;r<t.length;r++)detectChangesInComponent(e,t[r],n)}function processHostBindingOpCodes(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let e=0;e<n.length;e++){let r=n[e];if(r<0)setSelectedIndex(~r);else{let i=r,a=n[++e],o=n[++e];setBindingRootForHostBindings(a,i);let s=t[i];profiler(P.HostBindingsUpdateStart,s);try{o(2,s)}finally{profiler(P.HostBindingsUpdateEnd,s)}}}}finally{setSelectedIndex(-1)}}function markViewDirty(e,t){let n=isRefreshingViews()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;let t=getLViewParent(e);if(isRootView(e)&&!t)return e;e=t}return null}function createLContainer(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function getLViewFromLContainer(e,t){let n=10+t;if(n<e.length)return e[n]}function addLViewToLContainer(e,t,n,r=!0){let i=t[1];if(insertView(i,t,e,n),r){let r=getBeforeNodeForView(n,e),a=t[11],o=a.parentNode(e[7]);o!==null&&addViewToDOM(i,e[5],a,t,o,r)}let a=t[6];a!==null&&a.firstChild!==null&&(a.firstChild=null)}function removeLViewFromLContainer(e,t){let n=detachView(e,t);return n!==void 0&&destroyLView(n[1],n),n}function detachView(e,t){if(e.length<=10)return;let n=10+t,r=e[n];if(r){let i=r[16];i!==null&&i!==e&&detachMovedView(i,r),t>0&&(e[n-1][4]=r[4]);let a=removeFromArray(e,10+t);removeViewFromDOM(r[1],r);let o=a[18];o!==null&&o.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function insertView(e,t,n,r){let i=10+r,a=n.length;r>0&&(n[i-1][4]=t),r<a-10?(t[4]=n[i],addToArray(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;let o=t[16];o!==null&&n!==o&&trackMovedView(o,t);let s=t[18];s!==null&&s.insertView(e),updateAncestorTraversalFlagsOnAttach(t),t[2]|=128}function trackMovedView(e,t){let n=e[9],r=t[3];if(isLView(r))e[2]|=2;else{let n=r[3][15];t[15]!==n&&(e[2]|=2)}n===null?e[9]=[t]:n.push(t)}function isViewDirty(e){return requiresRefreshOrTraversal(e._lView)||!!(e._lView[2]&64)}function markForRefresh(e){markViewForRefresh(e._lView)}function injectTemplateRef(){return createTemplateRef(getCurrentTNode(),getLView())}function createTemplateRef(e,t){return e.type&4?new z(t,e,createElementRef(e,t)):null}function getFriendlyStringFromTNodeType(e){switch(e){case 4:return`view container`;case 2:return`element`;case 8:return`ng-container`;case 32:return`icu`;case 64:return`i18n`;case 16:return`projection`;case 1:return`text`;case 128:return`@let`;default:return`<unknown>`}}function nodeNotFoundError(e,t){let n=`${describeExpectedDom(e,t,!1)}\n\n`,r=getHydrationErrorFooter();throw new RuntimeError(-502,`During serialization, Angular was unable to find an element in the DOM:
6
+
7
+ `+n+r)}function unsupportedProjectionOfDomNodes(e){let t=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.
8
+
9
+ ${describeDomFromNode(e)}\n\n`+getHydrationAttributeNote();return new RuntimeError(-503,t)}function stringifyTNodeAttrs(e){let t=[];if(e.attrs)for(let n=0;n<e.attrs.length;){let r=e.attrs[n++];if(typeof r==`number`)break;let i=e.attrs[n++];t.push(`${r}="${shorten(i)}"`)}return t.join(` `)}function stringifyRNodeAttrs(e){let t=[];for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];Wr.has(r.name)||t.push(`${r.name}="${shorten(r.value)}"`)}return t.join(` `)}function describeTNode(e,t=`…`){switch(e.type){case 1:return`#text${e.value?`(${e.value})`:``}`;case 2:let n=stringifyTNodeAttrs(e),r=e.value.toLowerCase();return`<${r}${n?` `+n:``}>${t}</${r}>`;case 8:return`<!-- ng-container -->`;case 4:return`<!-- container -->`;default:return`#node(${getFriendlyStringFromTNodeType(e.type)})`}}function describeRNode(e,t=`…`){let n=e;switch(n.nodeType){case Node.ELEMENT_NODE:let e=n.tagName.toLowerCase(),r=stringifyRNodeAttrs(n);return`<${e}${r?` `+r:``}>${t}</${e}>`;case Node.TEXT_NODE:let i=n.textContent?shorten(n.textContent):``;return`#text${i?`(${i})`:``}`;case Node.COMMENT_NODE:return`<!-- ${shorten(n.textContent??``)} -->`;default:return`#node(${n.nodeType})`}}function describeExpectedDom(e,t,n){let r=``;t.prev?(r+=` …
10
+ `,r+=` `+describeTNode(t.prev)+`
11
+ `):t.type&&t.type&12&&(r+=` …
12
+ `),n?(r+=` `+describeTNode(t)+`
13
+ `,r+=` <!-- container --> ${Hr}\n`):r+=` `+describeTNode(t)+` ${Hr}\n`,r+=` …
14
+ `;let i=t.type?getParentRElement(e[1],t,e):null;return i&&(r=describeRNode(i,`
15
+ `+r)),r}function describeDomFromNode(e){let t=``,n=e;return n.previousSibling&&(t+=` …
16
+ `,t+=` `+describeRNode(n.previousSibling)+`
17
+ `),t+=` `+describeRNode(n)+` ${Hr}\n`,e.nextSibling&&(t+=` …
18
+ `),e.parentNode&&(t=describeRNode(n.parentNode,`
19
+ `+t)),t}function getHydrationErrorFooter(e){return`To fix this problem:\n * check ${e?`the "${e}"`:`corresponding`} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * check if there are any third-party scripts that manipulate the DOM. More info: ${_e}${Ur}\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}function getHydrationAttributeNote(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.
20
+
21
+ `}function stripNewlines(e){return e.replace(/\s+/gm,``)}function shorten(e,t=50){return e?(e=stripNewlines(e),e.length>t?`${e.substring(0,t-1)}…`:e):``}function describeDomNode(e){let t=e.textContent?.slice(0,50);return t?`${e.nodeName} ("${t}")`:e.nodeName}function getInsertInFrontOfRNodeWithI18n(e,t,n){let r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return i===null?getInsertInFrontOfRNodeWithNoI18n(e,t,n):unwrapRNode(n[i])}function processI18nInsertBefore(e,t,n,r,i){let a=t.insertBeforeIndex;if(Array.isArray(a)){let o=r,s=null;if(t.type&3||(s=o,o=i),o!==null&&t.componentOffset===-1)for(let t=1;t<a.length;t++){let r=n[a[t]];nativeInsertBefore(e,o,r,s,!1)}}}function getOrCreateTNode(e,t,n,r,i){let a=e.data[t];if(a===null)a=createTNodeAtIndex(e,t,n,r,i),isInI18nBlock()&&(a.flags|=32);else if(a.type&64){a.type=n,a.value=r,a.attrs=i;let e=getCurrentParentTNode();a.injectorIndex=e===null?-1:e.injectorIndex}return setCurrentTNode(a,!0),a}function createTNodeAtIndex(e,t,n,r,i){let a=getCurrentTNodePlaceholderOk(),o=isCurrentTNodeParent(),s=o?a:a&&a.parent,c=e.data[t]=createTNode(e,s,n,t,r,i);return linkTNodeInTView(e,c,a,o),c}function linkTNodeInTView(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function createTNode(e,t,n,r,i,a){let o=t?t.injectorIndex:-1,s=0;return isInSkipHydrationBlock$1()&&(s|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:i,namespace:getNamespace(),attrs:a,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 addTNodeAndUpdateInsertBeforeIndex(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];isI18nText(r)||isNewTNodeCreatedBefore(r,t)&&getInsertBeforeIndex(r)===null&&setInsertBeforeIndex(r,t.index)}}function isI18nText(e){return!(e.type&64)}function isNewTNodeCreatedBefore(e,t){return isI18nText(t)||e.index>t.index}function getInsertBeforeIndex(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function setInsertBeforeIndex(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(setI18nHandling(getInsertInFrontOfRNodeWithI18n,processI18nInsertBefore),e.insertBeforeIndex=t)}function getTIcu(e,t){let n=e.data[t];return n===null||typeof n==`string`?null:Object.hasOwn(n,Gr)?n:n.value}function setTIcu(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function setTNodeInsertBeforeIndex(e,t){let n=e.insertBeforeIndex;n===null?(setI18nHandling(getInsertInFrontOfRNodeWithI18n,processI18nInsertBefore),n=e.insertBeforeIndex=[null,t]):(assertEqual(Array.isArray(n),!0,`Expecting array here`),n.push(t))}function createTNodePlaceholder(e,t,n){let r=createTNodeAtIndex(e,n,64,null,null);return addTNodeAndUpdateInsertBeforeIndex(t,r),r}function getCurrentICUCaseIndex(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function getParentFromIcuCreateOpCode(e){return e>>>17}function getRefFromIcuCreateOpCode(e){return(e&131070)>>>1}function icuCreateOpCode(e,t,n){return e|t<<17|n<<1}function isRootTemplateMessage(e){return e===-1}function enterIcu(e,t,n){e.index=0;let r=getCurrentICUCaseIndex(t,n);e.removes=r===null?T:t.remove[r]}function icuContainerIteratorNext(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[1].data[n];return enterIcu(e,r,e.lView),icuContainerIteratorNext(e)}}return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),icuContainerIteratorNext(e))}function loadIcuContainerVisitor(){let e={stack:[],index:-1};function icuContainerIteratorStart(t,n){for(e.lView=n;e.stack.length;)e.stack.pop();return enterIcu(e,t.value,n),icuContainerIteratorNext.bind(null,e)}return icuContainerIteratorStart}function createIcuIterator(e,t){let n={stack:[],index:-1,lView:t};return enterIcu(n,e,t),icuContainerIteratorNext.bind(null,n)}function compressNodeLocation(e,t){let n=[e];for(let e of t){let t=n.length-1;t>0&&n[t-1]===e?n[t]=(n[t]||1)+1:n.push(e,``)}return n.join(``)}function decompressNodeLocation(e){let[t,n,r,i]=e.match(Kr),a=n?parseInt(n,10):r,o=[];for(let[e,t,n]of i.matchAll(/(f|n)(\d*)/g)){let e=parseInt(n,10)||1;o.push(t,e)}return[a,...o]}function isFirstElementInNgContainer(e){return!e.prev&&e.parent?.type===8}function getNoOffsetIndex(e){return e.index-27}function isDisconnectedNode(e,t){return!(e.type&144)&&!!t[e.index]&&isDisconnectedRNode(unwrapRNode(t[e.index]))}function isDisconnectedRNode(e){return!!e&&!e.isConnected}function locateI18nRNodeByIndex(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function tryLocateRNodeByPath(e,t,n){let r=e.data.n?.[n];return r?locateRNodeByPath(r,t):null}function locateNextRNode(e,t,n,r){let i=getNoOffsetIndex(r),a=locateI18nRNodeByIndex(e,i);if(a===void 0){let o=e.data.n;if(o?.[i])a=locateRNodeByPath(o[i],n);else if(t.firstChild===r)a=e.firstChild;else{let t=r.prev===null,i=r.prev??r.parent;if(isFirstElementInNgContainer(r))a=getSegmentHead(e,getNoOffsetIndex(r.parent));else{let r=getNativeByTNode(i,n);if(t)a=r.firstChild;else{let t=getNoOffsetIndex(i),n=getSegmentHead(e,t);a=i.type===2&&n?siblingAfter(calcSerializedContainerSize(e,t)+1,n):r.nextSibling}}}}return a}function siblingAfter(e,t){let n=t;for(let t=0;t<e;t++){if(n==null)throw new RuntimeError(-501,!1);n=n.nextSibling}return n}function navigateToNode(e,t){let n=e;for(let e=0;e<t.length;e+=2){let r=t[e],i=t[e+1];for(let e=0;e<i;e++){if(!n)throw new RuntimeError(509,!1);switch(r){case mn:n=n.firstChild;break;case hn:n=n.nextSibling}}}if(!n)throw new RuntimeError(509,!1);return n}function locateRNodeByPath(e,t){let[n,...r]=decompressNodeLocation(e),i;return i=n===fn?t[15][0]:n===pn?ɵɵresolveBody(t[15][0]):unwrapRNode(t[Number(n)+27]),navigateToNode(i,r)}function navigateBetween(e,t){if(e===t)return[];if(e.parentElement==null||t.parentElement==null)return null;if(e.parentElement===t.parentElement)return navigateBetweenSiblings(e,t);{let n=t.parentElement,r=navigateBetween(e,n),i=navigateBetween(n.firstChild,t);return!r||!i?null:[...r,mn,...i]}}function navigateBetweenSiblings(e,t){let n=[],r=null;for(r=e;r!=null&&r!==t;r=r.nextSibling)n.push(hn);return r==null?null:n}function calcPathBetween(e,t,n){let r=navigateBetween(e,t);return r===null?null:compressNodeLocation(n,r)}function calcPathForNode(e,t,n){let r=e.parent,i,a,o;for(;r!==null&&(isDisconnectedNode(r,t)||n?.has(r.index));)r=r.parent;r===null||!(r.type&3)?(i=o=fn,a=t[15][0]):(i=r.index,a=unwrapRNode(t[i]),o=renderStringify(i-27));let s=unwrapRNode(t[e.index]);if(e.type&44){let n=getFirstNativeNode(t,e);n&&(s=n)}let c=calcPathBetween(a,s,o);if(c===null&&a!==s){let n=a.ownerDocument.body;if(c=calcPathBetween(n,s,pn),c===null)throw nodeNotFoundError(t,e)}return c}function gatherDeferBlocksCommentNodes(e,t){let n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode}),r,i=new Map;for(;r=n.nextNode();){let e=r?.textContent,t=e?.indexOf(`ngh=`)??-1;if(t>-1){let n=e.substring(t+4).trim();i.set(n,r)}}return i}function acceptNode(e){return e.textContent?.trimStart().startsWith(`ngh=`)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}function setIsI18nHydrationSupportEnabled(e){qr=e}function isI18nHydrationSupportEnabled(){return qr}function prepareI18nBlockForHydration(e,t,n,r){_prepareI18nBlockForHydrationImpl(e,t,n,r)}function enablePrepareI18nBlockForHydrationImpl(){_prepareI18nBlockForHydrationImpl=prepareI18nBlockForHydrationImpl}function isI18nHydrationEnabled(e){return e??=inject(k),e.get(yn,!1)}function getOrComputeI18nChildren(e,t){let n=t.i18nChildren.get(e);return n===void 0&&(n=collectI18nChildren(e),t.i18nChildren.set(e,n)),n}function collectI18nChildren(e){let t=new Set;function collectI18nViews(e){switch(t.add(e.index),e.kind){case 1:case 2:for(let t of e.children)collectI18nViews(t);break;case 3:for(let t of e.cases)for(let e of t)collectI18nViews(e)}}for(let t=27;t<e.bindingStartIndex;t++){let n=e.data[t];if(n&&n.ast)for(let e of n.ast)collectI18nViews(e)}return t.size===0?null:t}function trySerializeI18nBlock(e,t,n){if(!n.isI18nHydrationEnabled)return null;let r=e[1],i=r.data[t];if(!i||!i.ast)return null;let a=r.data[i.parentTNodeIndex];if(a&&isI18nInSkipHydrationBlock(a))return null;let o={caseQueue:[],disconnectedNodes:new Set,disjointNodes:new Set};return serializeI18nBlock(e,o,n,i.ast),o.caseQueue.length===0&&o.disconnectedNodes.size===0&&o.disjointNodes.size===0?null:o}function serializeI18nBlock(e,t,n,r){let i=null;for(let a of r){let r=serializeI18nNode(e,t,n,a);r&&(isDisjointNode(i,r)&&t.disjointNodes.add(a.index-27),i=r)}return i}function isDisjointNode(e,t){return e&&e.nextSibling!==t}function serializeI18nNode(e,t,n,r){let i=unwrapRNode(e[r.index]);if(!i||isDisconnectedRNode(i))return t.disconnectedNodes.add(r.index-27),null;let a=i;switch(r.kind){case 0:processTextNodeBeforeSerialization(n,a);break;case 1:case 2:serializeI18nBlock(e,t,n,r.children);break;case 3:{let i=e[r.currentCaseLViewIndex];if(i!=null){let a=i<0?~i:i;t.caseQueue.push(a),serializeI18nBlock(e,t,n,r.cases[a])}break}}return getFirstNativeNodeForI18nNode(e,r)}function getFirstNativeNodeForI18nNode(e,t){let n=e[1].data[t.index];return isTNodeShape(n)?getFirstNativeNode(e,n):t.kind===3?createIcuIterator(n,e)()??unwrapRNode(e[t.index]):unwrapRNode(e[t.index])??null}function setCurrentNode(e,t){e.currentNode=t}function appendI18nNodeToCollection(e,t,n){let r=n.index-27,{disconnectedNodes:i}=e,a=t.currentNode;return t.isConnected?(e.i18nNodes.set(r,a),i.delete(r)):i.add(r),a}function skipSiblingNodes(e,t){let n=e.currentNode;for(let e=0;e<t&&n;e++)n=n?.nextSibling??null;return n}function forkHydrationState(e,t){return{currentNode:t,isConnected:e.isConnected}}function prepareI18nBlockForHydrationImpl(e,t,n,r){let i=e[6];if(!i||!isI18nHydrationSupportEnabled()||n&&(isI18nInSkipHydrationBlock(n)||isDisconnectedNode$1(i,n.index-27)))return;let a=e[1],o=a.data[t];function findHydrationRoot(){if(isRootTemplateMessage(r)){let t=locateNextRNode(i,a,e,n);return n.type&8?t:t.firstChild}return i?.firstChild}let s=findHydrationRoot(),c=initDisconnectedNodes(i)??new Set;collectI18nNodesFromDom({hydrationInfo:i,lView:e,i18nNodes:i.i18nNodes??=new Map,disconnectedNodes:c,caseQueue:i.data.l?.[t-27]??[],dehydratedIcuData:i.dehydratedIcuData??=new Map},{currentNode:s,isConnected:!0},o.ast),i.disconnectedNodes=c.size===0?null:c}function collectI18nNodesFromDom(e,t,n){if(Array.isArray(n)){let r=t;for(let i of n){let n=tryLocateRNodeByPath(e.hydrationInfo,e.lView,i.index-27);n&&(r=forkHydrationState(t,n)),collectI18nNodesFromDom(e,r,i)}}else{if(e.disconnectedNodes.has(n.index-27))return;switch(n.kind){case 0:setCurrentNode(t,appendI18nNodeToCollection(e,t,n)?.nextSibling??null);break;case 1:collectI18nNodesFromDom(e,forkHydrationState(t,t.currentNode?.firstChild??null),n.children),setCurrentNode(t,appendI18nNodeToCollection(e,t,n)?.nextSibling??null);break;case 2:{let r=n.index-27,{hydrationInfo:i}=e,a=getNgContainerSize(i,r);switch(n.type){case 0:{let o=appendI18nNodeToCollection(e,t,n);isSerializedElementContainer(i,r)?(collectI18nNodesFromDom(e,t,n.children),setCurrentNode(t,skipSiblingNodes(t,1))):(collectI18nNodesFromDom(e,forkHydrationState(t,t.currentNode?.firstChild??null),n.children),setCurrentNode(t,o?.nextSibling??null),a!==null&&setCurrentNode(t,skipSiblingNodes(t,a+1)));break}case 1:appendI18nNodeToCollection(e,t,n),setCurrentNode(t,skipSiblingNodes(t,a+1))}break}case 3:{let r=t.isConnected?e.caseQueue.shift():null,i={currentNode:null,isConnected:!1};for(let a=0;a<n.cases.length;a++)collectI18nNodesFromDom(e,a===r?t:i,n.cases[a]);r!==null&&e.dehydratedIcuData.set(n.index,{case:r,node:n}),setCurrentNode(t,appendI18nNodeToCollection(e,t,n)?.nextSibling??null);break}}}}function claimDehydratedIcuCase(e,t,n){_claimDehydratedIcuCaseImpl(e,t,n)}function enableClaimDehydratedIcuCaseImpl(){_claimDehydratedIcuCaseImpl=claimDehydratedIcuCaseImpl}function claimDehydratedIcuCaseImpl(e,t,n){let r=e[6]?.dehydratedIcuData;r&&r.get(t)?.case===n&&r.delete(t)}function cleanupI18nHydrationData(e){let t=e[6];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let t=e[11];for(let e of r.values())cleanupDehydratedIcuData(t,n,e)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function cleanupDehydratedIcuData(e,t,n){for(let r of n.node.cases[n.case]){let n=t.get(r.index-27);n&&nativeRemoveNode(e,n,!1)}}function removeDehydratedViews(e){let t=e[6]??[],n=e[3][11],r=[];for(let e of t)e.data.di===void 0?removeDehydratedView(e,n):r.push(e);e[6]=r}function removeDehydratedViewList(e){let{lContainer:t}=e,n=t[6];if(n===null)return;let r=t[3][11];for(let e of n)removeDehydratedView(e,r)}function removeDehydratedView(e,t){let n=0,r=e.firstChild;if(r){let i=e.data.r;for(;n<i;){let e=r.nextSibling;nativeRemoveNode(t,r,!1),r=e,n++}}}function cleanupLContainer(e){removeDehydratedViews(e);let t=e[0];isLView(t)&&cleanupLView(t);for(let t=10;t<e.length;t++)cleanupLView(e[t])}function cleanupLView(e){cleanupI18nHydrationData(e);let t=e[1];for(let n=27;n<t.bindingStartIndex;n++)if(isLContainer(e[n])){let t=e[n];cleanupLContainer(t)}else isLView(e[n])&&cleanupLView(e[n])}function cleanupDehydratedViews(e){let t=e._views;for(let e of t){let t=getLNodeForHydration(e);t!==null&&t[0]!==null&&(isLView(t)?cleanupLView(t):cleanupLContainer(t))}}function cleanupHydratedDeferBlocks(e,t,n,r){e!==null&&(n.cleanup(t),cleanupLContainer(e.lContainer),cleanupDehydratedViews(r))}function locateDehydratedViewsInContainer(e,t){let n=[];for(let r of t)for(let t=0;t<(r.x??1);t++){let t={data:r,firstChild:null};r.r>0&&(t.firstChild=e,e=siblingAfter(r.r,e)),n.push(t)}return[e,n]}function enableFindMatchingDehydratedViewImpl(){_findMatchingDehydratedViewImpl=findMatchingDehydratedViewImpl,_findAndReconcileMatchingDehydratedViewsImpl=findAndReconcileMatchingDehydratedViewsImpl}function findMatchingDehydratedViewImpl(e,t){return hasMatchingDehydratedView(e,t)?e[6].shift():(removeDehydratedViews(e),null)}function findMatchingDehydratedView(e,t){return _findMatchingDehydratedViewImpl(e,t)}function findAndReconcileMatchingDehydratedViewsImpl(e,t,n){if(t.tView.ssrId===null)return null;let r=findMatchingDehydratedView(e,t.tView.ssrId);return n[1].firstUpdatePass&&r===null&&removeStaleDehydratedBranch(n,t),r}function findAndReconcileMatchingDehydratedViews(e,t,n){return _findAndReconcileMatchingDehydratedViewsImpl(e,t,n)}function removeStaleDehydratedBranch(e,t){let n=t;for(;n;){if(cleanupMatchingDehydratedViews(e,n))return;if((n.flags&256)==256)break;n=n.prev}for(n=t.next;n&&(n.flags&512)==512;){if(cleanupMatchingDehydratedViews(e,n))return;n=n.next}}function hasMatchingDehydratedView(e,t){let n=e[6];return!t||n===null||n.length===0?!1:n[0].data.i===t}function cleanupMatchingDehydratedViews(e,t){let n=t.tView?.ssrId;if(n==null)return!1;let r=e[t.index];return isLContainer(r)&&hasMatchingDehydratedView(r,n)?(removeDehydratedViews(r),!0):!1}function injectRenderer2(){let e=getLView(),t=getComponentLViewByIndex(getCurrentTNode().index,e);return(isLView(t)?t:e)[11]}function isForeignComponent(e){return typeof e==`object`&&!!e&&Xr in e}function isModuleWithProviders(e){return e.ngModule!==void 0}function isNgModule(e){return!!getNgModuleDef(e)}function isPipe(e){return!!getPipeDef$1(e)}function isDirective(e){return!!getDirectiveDef(e)}function isComponent(e){return!!getComponentDef(e)}function getDependencyTypeForError(e){return getComponentDef(e)?`component`:getDirectiveDef(e)?`directive`:getPipeDef$1(e)?`pipe`:`type`}function verifyStandaloneImport(e,t){if(isForwardRef(e)&&(e=resolveForwardRef(e),!e))throw Error(`Expected forwardRef function, imported from "${stringifyForError(t)}", to return a standalone entity or NgModule but got "${stringifyForError(e)||e}".`);if(getNgModuleDef(e)==null){let n=getComponentDef(e)||getDirectiveDef(e)||getPipeDef$1(e);if(n!=null){if(!n.standalone){let n=getDependencyTypeForError(e);throw Error(`The "${stringifyForError(e)}" ${n}, imported from "${stringifyForError(t)}", is not standalone. Does the ${n} have the standalone: false flag?`)}}else if(isModuleWithProviders(e))throw Error(`A module with providers was imported from "${stringifyForError(t)}". Modules with providers are not supported in standalone components imports.`);else if(isForeignComponent(e))throw Error(`A foreign component, imported from "${stringifyForError(t)}", cannot be imported using 'imports'. Foreign components are only supported in AOT mode and must be registered in 'foreignImports'.`);else throw Error(`The "${stringifyForError(e)}" type, imported from "${stringifyForError(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`)}}function addSet(e,t){for(let n of e)t.add(n)}function getClosestComponentName(e,t){let n=e;for(;n;){let e=readPatchedLView(n);if(e!==null)for(let r=27;r<e.length;r++){let i=e[r];if(!isLView(i)&&!isLContainer(i)||i[0]!==n)continue;let a=e[1],o=getTNode(a,r);if(isComponentHost(o)){let e=a.data[o.directiveStart+o.componentOffset],r=getComponentName(e);if(r!==null&&(!t||t(n,r)))return r;break}}n=n.parentNode}return null}function getComponentName(e){return e.debugInfo?.className||e.type.name||null}function isListLikeIterable(e){return isJsObject(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function areIterablesEqual(e,t,n){let r=e[Symbol.iterator](),i=t[Symbol.iterator]();for(;;){let e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done||!n(e.value,t.value))return!1}}function iterateListLike(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function isJsObject(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function devModeEqual(e,t){let n=isListLikeIterable(e),r=isListLikeIterable(t);return n&&r?areIterablesEqual(e,t,devModeEqual):!n&&e&&(typeof e==`object`||typeof e==`function`)&&!r&&t&&(typeof t==`object`||typeof t==`function`)?!0:Object.is(e,t)}function updateBinding(e,t,n){return e[t]=n}function getBinding(e,t){return e[t]}function bindingUpdated(e,t,n){if(n===R)return!1;let r=e[t];return!Object.is(r,n)&&(e[t]=n,!0)}function bindingUpdated2(e,t,n,r){let i=bindingUpdated(e,t,n);return bindingUpdated(e,t+1,r)||i}function bindingUpdated3(e,t,n,r,i){let a=bindingUpdated2(e,t,n,r);return bindingUpdated(e,t+2,i)||a}function bindingUpdated4(e,t,n,r,i,a){let o=bindingUpdated2(e,t,n,r);return bindingUpdated2(e,t+2,i,a)||o}function wrapListener(e,t,n){return function wrapListenerIn_markDirtyAndPreventDefault(r){let i=wrapListenerIn_markDirtyAndPreventDefault.__ngNativeEl__;i!==void 0&&markEventHandledForElement(r,i),markViewDirty(isComponentHost(e)?getComponentLViewByIndex(e.index,t):t,5);let a=t[8],o=executeListenerWithErrorHandling(t,a,n,r),s=wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;for(;s;)o=executeListenerWithErrorHandling(t,a,s,r)&&o,s=s.__ngNextListenerFn__;return o}}function executeListenerWithErrorHandling(e,t,n,r){let i=setActiveConsumer(null);try{return profiler(P.OutputStart,t,n),n(r)!==!1}catch(t){return handleUncaughtError(e,t),!1}finally{profiler(P.OutputEnd,t,n),setActiveConsumer(i)}}function listenToDomEvent(e,t,n,r,i,a,o,s){let c=isDirectiveHost(e),l=!1,u=null;if(!r&&c&&(u=findExistingListener(t,n,a,e.index)),u!==null){let e=u.__ngLastListenerFn__||u;e.__ngNextListenerFn__=o,u.__ngLastListenerFn__=o,l=!0}else{let o=getNativeByTNode(e,n),c=r?r(o):o;stashEventListenerImpl(n,c,a,s),r||(s.__ngNativeEl__=o);let l=i.listen(c,a,s);isAnimationEventType(a)||storeListenerCleanup(r?t=>r(unwrapRNode(t[e.index])):e.index,t,n,a,s,l,!1)}return l}function isAnimationEventType(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function findExistingListener(e,t,n,r){let i=e.cleanup;if(i!=null)for(let e=0;e<i.length-1;e+=2){let a=i[e];if(a===n&&i[e+1]===r){let n=t[7],r=i[e+2];return n&&n.length>r?n[r]:null}typeof a==`string`&&(e+=2)}return null}function storeListenerCleanup(e,t,n,r,i,a,o){let s=t.firstCreatePass?getOrCreateTViewCleanup(t):null,c=getOrCreateLViewCleanup(n),l=c.length;c.push(i,a),s&&s.push(r,e,l,(l+1)*(o?-1:1))}function createOutputListener(e,t,n,r,i){listenToDirectiveOutput(e,t,r,i,wrapListener(e,t,n))}function listenToDirectiveOutput(e,t,n,r,i){let a=null,o=null,s=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l==`number`?a=l:[a,o,s]=l,o!==null&&s!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,r)){let n=e.hostDirectiveOutputs[r];for(let a=0;a<n.length;a+=2){let l=n[a];if(l>=o&&l<=s)c=!0,listenToOutput(e,t,l,n[a+1],r,i);else if(l>s)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,listenToOutput(e,t,a,r,r,i)),c}function listenToOutput(e,t,n,r,i,a){let o=t[n],s=t[1],c=o[s.data[n].outputs[r]].subscribe(a);storeListenerCleanup(e.index,s,t,i,a,c,!0)}function ɵɵcontrolCreate(){controlCreateInternal()}function controlCreateInternal(){let e=getLView(),t=getTView(),n=getCurrentTNode();if(t.firstCreatePass&&initializeControlFirstCreatePass(t,n),n.controlDirectiveIndex===-1)return;performanceMarkFeature(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new ControlDirectiveHostImpl(e,t,n))}function ɵɵcontrol(){controlUpdateInternal()}function controlUpdateInternal(){let e=getLView(),t=getTView(),n=getSelectedTNode();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,i=e[n.controlDirectiveIndex];r.update(i,new ControlDirectiveHostImpl(e,t,n))}function getHostDirectives(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function readInputFromDirective(e,t,n){if(!t.inputs||!Object.hasOwn(t.inputs,n))return;let[r,i]=t.inputs[n];if((i&Lr.SignalBased)!==0){let t=e[r][s];return t.value===wt?void 0:t.value}return e[r]}function initializeControlFirstCreatePass(e,t,n){for(let n=t.directiveStart;n<t.directiveEnd;n++)if(e.data[n].controlDef){t.controlDirectiveIndex=n;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}initializeCustomControlStatus(e,t)}function initializeCustomControlStatus(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!t.directiveToIndex||t.directiveToIndex.has(r.type)){if(hasModelInput(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(hasModelInput(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let checkModel=(e,n)=>{let r=t.hostDirectiveInputs[e],i=t.hostDirectiveOutputs[e+`Change`];if(!r||!i)return!1;for(let e=0;e<r.length;e+=2){let a=r[e];for(let e=0;e<i.length;e+=2)if(a===i[e])for(let e of t.directiveToIndex.values()){if(!Array.isArray(e))continue;let[r,i,o]=e;if(a>=i&&a<=o)return t.flags|=n,t.customControlIndex=r,!0}}return!1};if(checkModel(`value`,1024)||checkModel(`checked`,2048))return}}function hasModelInput(e,t){return hasInput(e,t)&&hasOutput(e,t+`Change`)}function hasInput(e,t){return t in e.inputs}function hasOutput(e,t){return t in e.outputs}function inputBindingUpdate(e,t,n){let r=getLView();if(bindingUpdated(r,nextBindingIndex(),n)){let i=r[1],a=getSelectedTNode();markViewDirty(getComponentLViewByIndex(a.index,r),1);let o=i.directiveRegistry[e];setDirectiveInput(a,i,r,o,t,n)}}function inputBinding(e,t){if(e===`formField`){let n={[ni]:ri,create:()=>{controlCreateInternal()},update:()=>{inputBindingUpdate(n.targetIdx,e,t()),controlUpdateInternal()}};return n}let n={[ni]:ri,update:()=>inputBindingUpdate(n.targetIdx,e,t())};return n}function outputBinding(e,t){let n={[ni]:ii,create:()=>{let r=getLView(),i=getCurrentTNode(),a=r[1].directiveRegistry[n.targetIdx];createOutputListener(i,r,t,a,e)}};return n}function twoWayBinding(e,t){let n=inputBinding(e,t),r=outputBinding(e+`Change`,e=>t.set(e));return{[ni]:{kind:`twoWay`,requiredVars:n[ni].requiredVars+r[ni].requiredVars},set targetIdx(e){n.targetIdx=e,r.targetIdx=e},create:r.create,update:n.update}}function computeStaticStyling(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(t!==null)for(let e=0;e<t.length;e++){let n=t[e];if(typeof n==`number`)a=n;else if(a==1)i=concatStringsWithSpace(i,n);else if(a==2){let i=n,a=t[++e];r=concatStringsWithSpace(r,i+`: `+a+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function ɵɵdirectiveInject(e,t=0){let n=getLView();return n===null?ɵɵinject(e,t):getOrCreateInjectable(getCurrentTNode(),n,resolveForwardRef(e),t)}function ɵɵinvalidFactory(){throw Error(`invalid`)}function resolveDirectives(e,t,n,r,i){let a=r===null?null:{"":-1},o=i(e,n);if(o!==null){let r=o,i=null,s=null;for(let e of o)if(e.resolveHostDirectives!==null){[r,i,s]=e.resolveHostDirectives(o);break}initializeDirectives(e,t,n,r,a,i,s)}a!==null&&r!==null&&cacheMatchingLocalNames(n,r,a)}function cacheMatchingLocalNames(e,t,n){let r=e.localNames=[];for(let e=0;e<t.length;e+=2){let i=n[t[e+1]];if(i==null)throw new RuntimeError(-301,!1);r.push(t[e],i)}}function markAsComponentHost(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function initializeDirectives(e,t,n,r,i,a,o){let s=r.length,c=null;for(let i=0;i<s;i++){let a=r[i];c===null&&isComponentDef(a)&&(c=a,markAsComponentHost(e,n,i)),diPublicInInjector(getOrCreateNodeInjectorForNode(n,t),e,a.type)}initTNodeFlags(n,e.data.length,s),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let e=0;e<s;e++){let t=r[e];t.providersResolver&&t.providersResolver(t)}let l=!1,u=!1,d=allocExpando(e,t,s,null);s>0&&(n.directiveToIndex=new Map);for(let c=0;c<s;c++){let s=r[c];if(n.mergedAttrs=mergeHostAttrs(n.mergedAttrs,s.hostAttrs),configureViewWithDirective(e,n,t,d,s),saveNameToExportMap(d,s,i),o!==null&&o.has(s)){let[e,t]=o.get(s);n.directiveToIndex.set(s.type,[d,e+n.directiveStart,t+n.directiveStart])}else(a===null||!a.has(s))&&n.directiveToIndex.set(s.type,d);s.contentQueries!==null&&(n.flags|=4),(s.hostBindings!==null||s.hostAttrs!==null||s.hostVars!==0)&&(n.flags|=64);let f=s.type.prototype;!l&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}initializeInputAndOutputAliases(e,n,a)}function initializeInputAndOutputAliases(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))setupSelectorMatchedInputsOrOutputs(0,t,i,r),setupSelectorMatchedInputsOrOutputs(1,t,i,r),setupInitialInputs(t,r,!1);else{let e=n.get(i);setupHostDirectiveInputsOrOutputs(0,t,e,r),setupHostDirectiveInputsOrOutputs(1,t,e,r),setupInitialInputs(t,r,!0)}}}function setupSelectorMatchedInputsOrOutputs(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let n in i)if(Object.hasOwn(i,n)){let i;i=e===0?t.inputs??={}:t.outputs??={},i[n]??=[],i[n].push(r),setShadowStylingInputFlags(t,n)}}function setupHostDirectiveInputsOrOutputs(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let n in i)if(Object.hasOwn(i,n)){let a=i[n],o;o=e===0?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},o[a]??=[],o[a].push(r,n),setShadowStylingInputFlags(t,a)}}function setShadowStylingInputFlags(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function setupInitialInputs(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:a}=e;if(r===null||!n&&i===null||n&&a===null||isInlineTemplate(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let o=null,s=0;for(;s<r.length;){let e=r[s];if(e===0){s+=4;continue}if(e===5){s+=2;continue}if(typeof e==`number`)break;if(!n&&Object.hasOwn(i,e)){let n=i[e];for(let i of n)if(i===t){o??=[],o.push(e,r[s+1]);break}}else if(n&&Object.hasOwn(a,e)){let n=a[e];for(let e=0;e<n.length;e+=2)if(n[e]===t){o??=[],o.push(n[e+1],r[s+1]);break}}s+=2}e.initialInputs??=[],e.initialInputs.push(o)}function configureViewWithDirective(e,t,n,r,i){e.data[r]=i;let a=i.factory||=getFactoryDef(i.type,!0),o=new NodeInjectorFactory(a,isComponentDef(i),ɵɵdirectiveInject,null);e.blueprint[r]=o,n[r]=o,registerHostBindingOpCodes(e,t,r,allocExpando(e,n,i.hostVars,R),i)}function registerHostBindingOpCodes(e,t,n,r,i){let a=i.hostBindings;if(a){let i=e.hostBindingOpCodes;i===null&&(i=e.hostBindingOpCodes=[]);let o=~t.index;lastSelectedElementIdx(i)!=o&&i.push(o),i.push(n,r,a)}}function lastSelectedElementIdx(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function saveNameToExportMap(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;isComponentDef(t)&&(n[``]=e)}}function initTNodeFlags(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function directiveHostFirstCreatePass(e,t,n,r,i,a,o,s){let c=t[1],l=c.consts,u=getOrCreateTNode(c,e,n,r,getConstant(l,o));return a&&resolveDirectives(c,t,u,getConstant(l,s),i),u.mergedAttrs=mergeHostAttrs(u.mergedAttrs,u.attrs),u.attrs!==null&&computeStaticStyling(u,u.attrs,!1),u.mergedAttrs!==null&&computeStaticStyling(u,u.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,u),u}function directiveHostEndFirstCreatePass(e,t){registerPostOrderHooks(e,t),isContentQueryHost(t)&&e.queries.elementEnd(t)}function domOnlyFirstCreatePass(e,t,n,r,i,a){let o=t.consts,s=getOrCreateTNode(t,e,n,r,getConstant(o,i));if(s.mergedAttrs=mergeHostAttrs(s.mergedAttrs,s.attrs),a!=null){let e=getConstant(o,a);s.localNames=[];for(let t=0;t<e.length;t+=2)s.localNames.push(e[t],-1)}return s.attrs!==null&&computeStaticStyling(s,s.attrs,!1),s.mergedAttrs!==null&&computeStaticStyling(s,s.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,s),s}function toInputRefArray(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],a={propName:n,templateName:t,isSignal:(r&Lr.SignalBased)!==0};return i&&(a.transform=i),a})}function toOutputRefArray(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function createRootViewInjector(e,t,n){let r=t instanceof EnvironmentInjector?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ChainedInjector(n,r):n}function createRootLViewEnvironment(e){let t=e.get(RendererFactory2,null);if(t===null)throw new RuntimeError(407,!1);return{rendererFactory:t,sanitizer:e.get(Yr,null),changeDetectionScheduler:e.get(ChangeDetectionScheduler,null),ngReflect:!1,tracingService:e.get(kr,null,{optional:!0})}}function createHostElement(e,t,n){let r=inferTagNameFromDefinition(e);return createElementNode(t,r,r===`svg`?`svg`:r===`math`?Ge:n)}function assertNotScriptHostElement(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new RuntimeError(905,!1)}function inferTagNameFromDefinition(e){return(e.selectors[0][0]||`div`).toLowerCase()}function createRootTView(e,t,n,r){let i=e?[`ng-version`,`22.1.5`]:extractAttrsAndClassesFromSelector(t.selectors[0]),a=null,o=null,s=0;if(n)for(let e of n)s+=e[ni].requiredVars,e.create&&(e.targetIdx=0,(a??=[]).push(e)),e.update&&(e.targetIdx=0,(o??=[]).push(e));if(r)for(let e=0;e<r.length;e++){let t=r[e];if(typeof t!=`function`)for(let n of t.bindings){s+=n[ni].requiredVars;let t=e+1;n.create&&(n.targetIdx=t,(a??=[]).push(n)),n.update&&(n.targetIdx=t,(o??=[]).push(n))}}let c=[t];if(r)for(let e of r){let t=getDirectiveDef(typeof e==`function`?e:e.type);c.push(t)}return createTView(0,null,getRootTViewTemplate(a,o),1,s,c,null,null,null,[i],null)}function getStyleHost(e,t){let n=e.getRootNode?.();return si&&n instanceof Document?n.head:n&&oi&&n instanceof ShadowRoot?n:t().head}function getRootTViewTemplate(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let t of e)t.create();if(n&2&&t)for(let e of t)e.update()}}function isInputBinding(e){let t=e[ni].kind;return t===`input`||t===`twoWay`}function projectNodes(e,t,n){let r=e.projection=[];for(let e=0;e<t.length;e++){let t=n[e];r.push(t!=null&&t.length?Array.from(t):null)}}function injectViewContainerRef(){return createContainerRef(getCurrentTNode(),getLView())}function getViewRefs(e){return e[8]}function getOrCreateViewRefs(e){return e[8]||=[]}function createContainerRef(e,t){let n,r=t[e.index];return isLContainer(r)?n=r:(n=createLContainer(r,t,null,e),t[e.index]=n,addToEndOfViewTree(t,n)),li(n,t,e,r),new ci(n,e,t)}function insertAnchorNode(e,t){let n=e[11],r=n.createComment(``),i=getNativeByTNode(t,e);return nativeInsertBefore(n,n.parentNode(i),r,n.nextSibling(i),!1),r}function populateDehydratedViewsInLContainer(e,t,n){return _populateDehydratedViewsInLContainer(e,t,n)}function createAnchorNode(e,t,n,r){if(e[7])return;let i;i=n.type&8?unwrapRNode(r):insertAnchorNode(t,n),e[7]=i}function populateDehydratedViewsInLContainerImpl(e,t,n){if(e[7]&&e[6])return!0;let r=n[6],i=t.index-27;if(!r||isInSkipHydrationBlock(t)||isDisconnectedNode$1(r,i))return!1;let a=getSegmentHead(r,i),o=r.data.c?.[i];if(o===void 0)return!1;let[s,c]=locateDehydratedViewsInContainer(a,o);return e[7]=s,e[6]=c,!0}function locateOrCreateAnchorNode(e,t,n,r){_populateDehydratedViewsInLContainer(e,n,t)||createAnchorNode(e,t,n,r)}function enableLocateOrCreateContainerRefImpl(){li=locateOrCreateAnchorNode,_populateDehydratedViewsInLContainer=populateDehydratedViewsInLContainerImpl}function getIdxOfMatchingSelector(e,t){let n=e.localNames;if(n!==null){for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1]}return null}function createResultByTNodeType(e,t){return e.type&11?createElementRef(e,t):e.type&4?createTemplateRef(e,t):null}function createResultForNode(e,t,n,r){return n===-1?createResultByTNodeType(t,e):n===-2?createSpecialToken(e,t,r):getNodeInjectable(e,e[1],n,t)}function createSpecialToken(e,t,n){if(n===tn)return createElementRef(t,e);if(n===z)return createTemplateRef(t,e);if(n===B)return createContainerRef(t,e)}function materializeViewResults(e,t,n,r){let i=t[18].queries[r];if(i.matches===null){let r=e.data,a=n.matches,o=[];for(let e=0;a!==null&&e<a.length;e+=2){let i=a[e];if(i<0)o.push(null);else{let s=r[i];o.push(createResultForNode(t,s,a[e+1],n.metadata.read))}}i.matches=o}return i.matches}function collectQueryResults(e,t,n,r){let i=e.queries.getByIndex(n),a=i.matches;if(a!==null){let o=materializeViewResults(e,t,i,n);for(let e=0;e<a.length;e+=2){let n=a[e];if(n>0)r.push(o[e/2]);else{let i=a[e+1],o=t[-n];for(let e=10;e<o.length;e++){let t=o[e];t[16]===t[3]&&collectQueryResults(t[1],t,i,r)}if(o[9]!==null){let e=o[9];for(let t=0;t<e.length;t++){let n=e[t];collectQueryResults(n[1],n,i,r)}}}}}return r}function loadQueryInternal(e,t){return e[18].queries[t].queryList}function createLQuery(e,t,n){let r=new QueryList((n&4)==4);return storeCleanupWithContext(e,t,r,r.destroy),(t[18]??=new di).queries.push(new ui(r))-1}function createViewQuery(e,t,n){let r=getTView();return r.firstCreatePass&&(createTQuery(r,new TQueryMetadata_(e,t,n),-1),(t&2)==2&&(r.staticViewQueries=!0)),createLQuery(r,getLView(),t)}function createContentQuery(e,t,n,r){let i=getTView();if(i.firstCreatePass){let a=getCurrentTNode();createTQuery(i,new TQueryMetadata_(t,n,r),a.index),saveContentQueryAndDirectiveIndex(i,e),(n&2)==2&&(i.staticContentQueries=!0)}return createLQuery(i,getLView(),n)}function splitQueryMultiSelectors(e){return e.split(`,`).map(e=>e.trim())}function createTQuery(e,t,n){e.queries===null&&(e.queries=new fi),e.queries.track(new pi(t,n))}function saveContentQueryAndDirectiveIndex(e,t){let n=e.contentQueries||=[];t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function getTQuery(e,t){return e.queries.getByIndex(t)}function getQueryResults(e,t){let n=e[1],r=getTQuery(n,t);return r.crossesNgTemplate?collectQueryResults(n,e,t,[]):materializeViewResults(n,e,r,t)}function createQuerySignalFn(e,t,n){let r,i=createComputed(()=>{r._dirtyCounter();let n=refreshSignalQuery(r,e);if(t&&n===void 0)throw new RuntimeError(-951,!1);return n});return r=i[s],r._dirtyCounter=signal(0),r._flatValue=void 0,i}function createSingleResultOptionalQuerySignalFn(e){return createQuerySignalFn(!0,!1,e)}function createSingleResultRequiredQuerySignalFn(e){return createQuerySignalFn(!0,!0,e)}function createMultiResultQuerySignalFn(e){return createQuerySignalFn(!1,!1,e)}function bindQueryToSignal(e,t){let n=e[s];n._lView=getLView(),n._queryIndex=t,n._queryList=loadQueryInternal(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(e=>e+1))}function refreshSignalQuery(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[2]&4)return t?void 0:T;let i=loadQueryInternal(n,r),a=getQueryResults(n,r);return i.reset(a,unwrapElementRef),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function isPromise(e){return!!e&&typeof e.then==`function`}function isSubscribable(e){return!!e&&typeof e.subscribe==`function`}function createNgModule(e,t){return new NgModuleRef(e,t??null,[])}function createNgModuleRefWithProviders(e,t,n){return new NgModuleRef(e,t,n,!1)}function createEnvironmentInjector(e,t,n=null){return new EnvironmentNgModuleRefAdapter({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function ɵɵdefineComponent(e){return noSideEffects(()=>{let t=getNgDirectiveDef(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==an.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?e=>e.get(gi).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||L.Emulated,styles:e.styles||T,_:null,schemas:e.schemas||null,tView:null,id:``};t.standalone&&performanceMarkFeature(`NgStandalone`),initFeatures(n);let r=e.dependencies;return n.directiveDefs=extractDefListOrFactory(r,extractDirectiveDef),n.pipeDefs=extractDefListOrFactory(r,getPipeDef$1),n.id=getComponentId(n),n})}function extractDirectiveDef(e){return getComponentDef(e)||getDirectiveDef(e)}function ɵɵdefineNgModule(e){return noSideEffects(()=>({type:e.type,bootstrap:e.bootstrap||T,declarations:e.declarations||T,imports:e.imports||T,exports:e.exports||T,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function parseAndConvertInputsForDefinition(e,t){if(e==null)return Fe;let n={};for(let r in e)if(Object.hasOwn(e,r)){let i=e[r],a,o,s,c;Array.isArray(i)?(s=i[0],a=i[1],o=i[2]??a,c=i[3]||null):(a=i,o=i,s=Lr.None,c=null),n[a]=[r,s,c],t[a]=o}return n}function parseAndConvertOutputsForDefinition(e){if(e==null)return Fe;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function ɵɵdefineDirective(e){return noSideEffects(()=>{let t=getNgDirectiveDef(e);return initFeatures(t),t})}function ɵɵdefinePipe(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function getNgDirectiveDef(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Fe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||T,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:parseAndConvertInputsForDefinition(e.inputs,t),outputs:parseAndConvertOutputsForDefinition(e.outputs),debugInfo:null}}function initFeatures(e){e.features?.forEach(t=>t(e))}function extractDefListOrFactory(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let e of n){let n=t(e);n!==null&&r.push(n)}return r}:null}function getComponentId(e){let t=0,n=typeof e.consts==`function`?``:e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let e of r.join(`|`))t=Math.imul(31,t)+e.charCodeAt(0)<<0;return t+=2147483648,`c`+t}function getAsyncClassMetadataFn(e){let t=e;return t[vi]===yi?null:t[vi]??null}function setClassMetadataAsync(e,t,n){let r=e;return r[vi]=()=>Promise.all(t()).then(e=>(n(...e),r[vi]=yi,e)),r[vi]}function setClassMetadata(e,t,n,r){return noSideEffects(()=>{let i=e;t!==null&&(Object.hasOwn(i,`decorators`)&&i.decorators!==void 0?i.decorators.push(...t):i.decorators=t),n!==null&&(i.ctorParameters=n),r!==null&&(i.propDecorators=Object.hasOwn(i,`propDecorators`)&&i.propDecorators!==void 0?{...i.propDecorators,...r}:r)})}function provideAppInitializer(e){return makeEnvironmentProviders([{provide:bi,multi:!0,useValue:e}])}async function resolveComponentResources(e){let t=Si;Si=new Map;let n=new Map;function cachedResourceResolve(t){let r=n.get(t);if(r)return r;let i=e(t).then(e=>unwrapResponse(t,e));return n.set(t,i),i}let r=Array.from(t).map(async([e,t])=>{if(t.styleUrl&&t.styleUrls?.length)throw Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");let n=[];t.templateUrl&&n.push(cachedResourceResolve(t.templateUrl).then(e=>{t.template=e}));let r=typeof t.styles==`string`?[t.styles]:t.styles??[];t.styles=r;let{styleUrl:i,styleUrls:a}=t;if(i&&(a=[i],t.styleUrl=void 0),a?.length){let e=Promise.all(a.map(e=>cachedResourceResolve(e))).then(e=>{r.push(...e),t.styleUrls=void 0});n.push(e)}await Promise.all(n),Ci.delete(e)});await Promise.all(r)}function maybeQueueResolutionOfComponentResources(e,t){componentNeedsResolution(t)&&(Si.set(e,t),Ci.add(e))}function isComponentDefPendingResolution(e){return Ci.has(e)}function componentNeedsResolution(e){return!!(e.templateUrl&&!Object.hasOwn(e,`template`)||e.styleUrls?.length||e.styleUrl)}function clearResolutionOfComponentResourcesQueue(){let e=Si;return Si=new Map,e}function restoreComponentResolutionQueue(e){Ci.clear();for(let t of e.keys())Ci.add(t);Si=e}async function unwrapResponse(e,t){if(typeof t==`string`)return t;if(t.status!==void 0&&t.status!==200)throw new RuntimeError(918,!1);return t.text()}function assertSameOrNotExisting(e,t,n){if(t&&t!==n&&Ti)throw new RuntimeError(921,!1)}function registerNgModuleType(e,t){assertSameOrNotExisting(t,wi.get(t)||null,e),wi.set(t,e)}function getRegisteredNgModuleType(e){return wi.get(e)}function setAllowDuplicateNgModuleIdsForTest(e){Ti=!e}function ɵɵControlFeature(e){return t=>{t.controlDef={create:(e,t)=>{e?.ɵngControlCreate(t)},update:(e,t)=>{e?.ɵngControlUpdate?.(t)},passThroughInput:e}}}function ɵɵHostDirectivesFeature(e){let feature=t=>{let n=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=resolveHostDirectives,t.hostDirectives=n?e.map(createHostDirectiveDef):[e]):n?t.hostDirectives.unshift(...e.map(createHostDirectiveDef)):t.hostDirectives.unshift(e)};return feature.ngInherit=!0,feature}function resolveHostDirectives(e){let t=[],n=!1,r=null,i=null;for(let a=0;a<e.length;a++){let o=e[a];if(o.hostDirectives!==null){let n=t.length;r??=new Map,i??=new Map,findHostDirectiveDefs(o,t,r,e),i.set(o,[n,t.length-1])}a===0&&isComponentDef(o)&&(n=!0,t.push(o))}for(let r=+!!n;r<e.length;r++)t.push(e[r]);return r!==null&&r.forEach((e,t)=>{patchDeclaredInputs(t.declaredInputs,e.inputs)}),[t,r,i]}function findHostDirectiveDefs(e,t,n,r){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i==`function`){let e=i();for(let i of e)trackHostDirectiveDef(createHostDirectiveDef(i),t,n,r)}else trackHostDirectiveDef(i,t,n,r)}function trackHostDirectiveDef(e,t,n,r){let i=getDirectiveDef(e.directive);if(findHostDirectiveDefs(i,t,n,r),n.has(i)){let t=n.get(i);mergeBindingMaps(t,e.inputs,`input`),mergeBindingMaps(t,e.outputs,`output`)}else r.includes(i)||(n.set(i,e),t.push(i))}function mergeBindingMaps(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(e=>{let n=t[e];(!Object.hasOwn(r,e)||r[e]===n)&&(r[e]=n)})}function createHostDirectiveDef(e){return typeof e==`function`?{directive:resolveForwardRef(e),inputs:{},outputs:{}}:{directive:resolveForwardRef(e.directive),inputs:bindingArrayToMap(e.inputs),outputs:bindingArrayToMap(e.outputs)}}function bindingArrayToMap(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function patchDeclaredInputs(e,t){for(let n in t)if(Object.hasOwn(t,n)){let r=t[n];e[r]=e[n]}}function getSuperType(e){return Object.getPrototypeOf(e.prototype).constructor}function ɵɵInheritDefinitionFeature(e){let t=getSuperType(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let i,a=Object.hasOwn(t,Ce)?t[Ce]:void 0,o=Object.hasOwn(t,we)?t[we]:void 0;if(isComponentDef(e))i=a??o;else{if(a)throw new RuntimeError(903,!1);i=o}if(i){if(n){r.push(i);let t=e;t.inputs=maybeUnwrapEmpty(e.inputs),t.declaredInputs=maybeUnwrapEmpty(e.declaredInputs),t.outputs=maybeUnwrapEmpty(e.outputs);let n=i.hostBindings;n&&inheritHostBindings(e,n);let a=i.viewQuery,o=i.contentQueries;if(a&&inheritViewQuery(e,a),o&&inheritContentQueries(e,o),mergeInputsWithTransforms(e,i),fillProperties(e.outputs,i.outputs),isComponentDef(i)&&i.data.animation){let t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}let t=i.features;if(t)for(let r=0;r<t.length;r++){let i=t[r];i&&i.ngInherit&&i(e),i===ɵɵInheritDefinitionFeature&&(n=!1)}}t=Object.getPrototypeOf(t)}mergeHostAttrsAcrossInheritance(r)}function mergeInputsWithTransforms(e,t){for(let n in t.inputs){if(!Object.hasOwn(t.inputs,n)||Object.hasOwn(e.inputs,n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function mergeHostAttrsAcrossInheritance(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=mergeHostAttrs(i.hostAttrs,n=mergeHostAttrs(n,i.hostAttrs))}}function maybeUnwrapEmpty(e){return e===Fe?{}:e===T?[]:e}function inheritViewQuery(e,t){let n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function inheritContentQueries(e,t){let n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function inheritHostBindings(e,t){let n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}function templateCreate(e,t,n,r,i,a,o,s){if(n.firstCreatePass){e.mergedAttrs=mergeHostAttrs(e.mergedAttrs,e.attrs);let t=e.tView=createTView(2,e,i,a,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),t.queries=n.queries.embeddedTView(e))}s&&(e.flags|=s),setCurrentTNode(e,!1);let c=Ei(n,t,e,r);wasLastNodeCreated()&&appendChild(n,t,c,e),attachPatchData(c,t);let l=createLContainer(c,t,c,e);t[r+27]=l,addToEndOfViewTree(t,l),populateDehydratedViewsInLContainer(l,e,t)}function declareDirectiveHostTemplate(e,t,n,r,i,a,o,s,c,l,u){let d=n+27,f;return t.firstCreatePass?(f=getOrCreateTNode(t,d,4,o||null,s||null),getBindingsEnabled()&&resolveDirectives(t,e,f,getConstant(t.consts,l),findDirectiveDefMatches),registerPostOrderHooks(t,f)):f=t.data[d],templateCreate(f,e,t,n,r,i,a,c),isDirectiveHost(f)&&createDirectivesInstances(t,e,f),l!=null&&saveResolvedLocalsInData(e,f,u),f}function declareNoDirectiveHostTemplate(e,t,n,r,i,a,o,s,c,l,u){let d=n+27,f;if(t.firstCreatePass){if(f=getOrCreateTNode(t,d,4,o||null,s||null),l!=null){let e=getConstant(t.consts,l);f.localNames=[];for(let t=0;t<e.length;t+=2)f.localNames.push(e[t],-1)}}else f=t.data[d];return templateCreate(f,e,t,n,r,i,a,c),l!=null&&saveResolvedLocalsInData(e,f,u),f}function ɵɵtemplate(e,t,n,r,i,a,o,s){let c=getLView(),l=getTView();return declareDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),void 0,o,s),ɵɵtemplate}function ɵɵdomTemplate(e,t,n,r,i,a,o,s){let c=getLView(),l=getTView();return declareNoDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),void 0,o,s),ɵɵdomTemplate}function createContainerAnchorImpl(e,t,n,r){return lastNodeWasCreated(!0),t[11].createComment(``)}function locateOrCreateContainerAnchorImpl(e,t,n,r){let i=!canHydrateNode(t,n);lastNodeWasCreated(i);let a=t[6]?.data.t?.[r]??null;if(a!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=a),i)return createContainerAnchorImpl(e,t);let o=t[6],s=locateNextRNode(o,e,t,n);return setSegmentHead(o,r,s),siblingAfter(calcSerializedContainerSize(o,r),s)}function enableLocateOrCreateContainerAnchorImpl(){Ei=locateOrCreateContainerAnchorImpl}function storeTriggerCleanupFn(e,t,n){let r=getCleanupFnKeyByType(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function invokeTriggerCleanupFns(e,t){let n=getCleanupFnKeyByType(e),r=t[n];if(r!==null){for(let e of r)e();t[n]=null}}function invokeAllTriggerCleanupFns(e){invokeTriggerCleanupFns(1,e),invokeTriggerCleanupFns(0,e),invokeTriggerCleanupFns(2,e)}function getCleanupFnKeyByType(e){let t=Ni;return e===1?t=Pi:e===2&&(t=Ri),t}function getDeferBlockDataIndex(e){return e+1}function getLDeferBlockDetails(e,t){return e[1],e[getDeferBlockDataIndex(t.index)]}function setLDeferBlockDetails(e,t,n){e[1];let r=getDeferBlockDataIndex(t);e[r]=n}function getTDeferBlockDetails(e,t){let n=getDeferBlockDataIndex(t.index);return e.data[n]}function setTDeferBlockDetails(e,t,n){let r=getDeferBlockDataIndex(t);e.data[r]=n}function getTemplateIndexForState(e,t,n){let r=t[1],i=getTDeferBlockDetails(r,n);switch(e){case H.Complete:return i.primaryTmplIndex;case H.Loading:return i.loadingTmplIndex;case H.Error:return i.errorTmplIndex;case H.Placeholder:return i.placeholderTmplIndex;default:return null}}function getMinimumDurationForState(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[Di]??null:t===H.Loading?e.loadingBlockConfig?.[Di]??null:null}function getLoadingBlockAfter(e){return e.loadingBlockConfig?.[Oi]??null}function addDepsToRegistry(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let e of t)n.add(e);return e.length===n.size?e:Array.from(n)}function getPrimaryBlockTNode(e,t){return getTNode(e,t.primaryTmplIndex+27)}function isTDeferBlockDetails(e){return typeof e==`object`&&!!e&&typeof e.primaryTmplIndex==`number`}function isDeferBlock(e,t){let n=null,r=getDeferBlockDataIndex(t.index);return 27<r&&r<e.bindingStartIndex&&(n=getTDeferBlockDetails(e,t)),!!n&&isTDeferBlockDetails(n)}function onTimer(e){return(t,n)=>scheduleTimerTrigger(e,t,n)}function scheduleTimerTrigger(e,t,n){let r=n.get(Vi),i=n.get(M),cleanupFn=()=>r.remove(t);return r.add(e,t,i),cleanupFn}function getOrCreateEnvironmentInjector(e,t,n){return e.get(Bi).getOrCreateInjector(t,e,n,``)}function createDeferBlockInjector(e,t,n){if(e instanceof ChainedInjector){let r=e.injector,i=e.parentInjector,a=getOrCreateEnvironmentInjector(i,t,n);return new ChainedInjector(r,a)}let r=e.get(EnvironmentInjector);if(r!==e){let i=getOrCreateEnvironmentInjector(r,t,n);return new ChainedInjector(e,i)}return getOrCreateEnvironmentInjector(e,t,n)}function renderDeferBlockState(e,t,n,r=!1){let i=n[3],a=i[1];if(isDestroyed(i))return;let o=getLDeferBlockDetails(i,t),s=o[1],c=o[Ii];if(!(c!==null&&e<c)&&isValidStateChange(s,e)&&isValidStateChange(o[Ai]??-1,e)){let s=getTDeferBlockDetails(a,t),c=!r&&(getLoadingBlockAfter(s)!==null||getMinimumDurationForState(s,H.Loading)!==null||getMinimumDurationForState(s,H.Placeholder))?Wi:applyDeferBlockState;try{c(e,o,n,t,i)}catch(e){handleUncaughtError(i,e)}}}function findMatchingDehydratedViewForDeferBlock(e,t){let n=e[6]?.findIndex(e=>e.data.s===t[1])??-1;return{dehydratedView:n>-1?e[6][n]:null,dehydratedViewIx:n}}function applyDeferBlockState(e,t,n,r,i){profiler(P.DeferBlockStateStart);let a=getTemplateIndexForState(e,i,r);if(a!==null){t[1]=e;let o=i[1],s=getTNode(o,a+27);removeLViewFromLContainer(n,0);let c;if(e===H.Complete){let e=getTDeferBlockDetails(o,r),t=e.providers;t&&t.length>0&&(c=createDeferBlockInjector(i[9],e,t))}let{dehydratedView:l,dehydratedViewIx:u}=findMatchingDehydratedViewForDeferBlock(n,t),d=createAndRenderEmbeddedLView(i,s,null,{injector:c,dehydratedView:l});if(addLViewToLContainer(n,d,0,shouldAddViewToDom(s,l)),markViewForRefresh(d),u>-1&&n[6]?.splice(u,1),(e===H.Complete||e===H.Error)&&Array.isArray(t[Li])){for(let e of t[Li])e();t[Li]=null}}profiler(P.DeferBlockStateEnd)}function applyDeferBlockStateWithScheduling(e,t,n,r,i){let a=Date.now(),o=i[1],s=getTDeferBlockDetails(o,r);if(t[ji]===null||t[ji]<=a){t[ji]=null;let o=getLoadingBlockAfter(s),c=t[Mi]!==null;if(e===H.Loading&&o!==null&&!c){t[Ai]=e;let a=scheduleDeferBlockUpdate(o,t,r,n,i);t[Mi]=a}else{e>H.Loading&&c&&(t[Mi](),t[Mi]=null,t[Ai]=null),applyDeferBlockState(e,t,n,r,i);let o=getMinimumDurationForState(s,e);o!==null&&(t[ji]=a+o,scheduleDeferBlockUpdate(o,t,r,n,i))}}else t[Ai]=e}function scheduleDeferBlockUpdate(e,t,n,r,i){let callback=()=>{let e=t[Ai];t[ji]=null,t[Ai]=null,e!==null&&renderDeferBlockState(e,n,r)};return scheduleTimerTrigger(e,callback,i[9])}function isValidStateChange(e,t){return e<t}function renderPlaceholder(e,t){let n=e[t.index];renderDeferBlockState(H.Placeholder,t,n)}function renderDeferStateAfterResourceLoading(e,t,n){e.loadingPromise.then(()=>{e.loadingState===V.COMPLETE?renderDeferBlockState(H.Complete,t,n):e.loadingState===V.FAILED&&renderDeferBlockState(H.Error,t,n)})}function ɵɵdeferEnableTimerScheduling(e,t,n,r){let i=e.consts;n!=null&&(t.placeholderBlockConfig=getConstant(i,n)),r!=null&&(t.loadingBlockConfig=getConstant(i,r)),Wi===null&&(Wi=applyDeferBlockStateWithScheduling)}function shouldTriggerDeferBlock(e,t){return t[9].get(Ui,null,{optional:!0})?.behavior!==zi.Manual}function onViewportWrapper(e,t,n,r){let i=n.get(M);return onViewport(e,()=>i.run(t),e=>i.runOutsideAngular(()=>createIntersectionObserver(e)),r)}function getTriggerLView(e,t,n){return n==null?e:n>=0?walkUpViews(n,e):e[t.index][10]??null}function getTriggerElement(e,t){return getNativeByIndex(27+t,e)}function registerDomTrigger(e,t,n,r,i,a,o,s){if(!shouldTriggerDeferBlock(o,e))return;let c=e[9],l=c.get(M),u;function pollDomTrigger(){if(isDestroyed(e)){u.destroy();return}let d=getLDeferBlockDetails(e,t),f=d[1];if(f!==ki.Initial&&f!==H.Placeholder){u.destroy();return}let p=getTriggerLView(e,t,r);if(!p||(u.destroy(),isDestroyed(p)))return;let m=i(getTriggerElement(p,n),()=>{l.run(()=>{e!==p&&removeLViewOnDestroy(p,m),a()})},c,s);e!==p&&storeLViewOnDestroy(p,m),storeTriggerCleanupFn(o,d,m)}u=afterEveryRender({read:pollDomTrigger},{injector:c})}function getComponentInstanceDeepLinkId(e){return qi.get(e)}function enableProfiling$1(){return performanceMarkFeature(`Chrome DevTools profiling`),()=>{}}function getTransferState(e){let t=retrieveTransferredState(e.get(A),e.get(N)),n={};for(let[e,r]of Object.entries(t))isInternalHydrationTransferStateKey(e)||(n[e]=r);return n}function publishNonCoreGlobalUtil(e,t){publishUtil(e,t)}function publishUtil(e,t){if(typeof COMPILED>`u`||!COMPILED){let n=w;n[Ji]??={},n[Ji][e]=t}}function setTestabilityGetter(e){ea=e}function publishSignalConfiguration(){setThrowInvalidWriteToSignalError(()=>{throw new RuntimeError(600,``)})}function optionsReducer(e,t){return Array.isArray(t)?t.reduce(optionsReducer,e):{...e,...t}}function normalizeBootstrapOptions(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function remove(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function onIdle$1(e,t,n){let r=t.get(ra),cleanupFn=()=>r.remove(e);return r.add(e,n),cleanupFn}function onIdleWrapper(e){return(t,n)=>onIdle$1(t,n,e)}function getIdleRequestKey(e){return!e||e.timeout==null?``:`${e.timeout}`}function scheduleDelayedTrigger(e){let t=getLView(),n=getCurrentTNode();if(renderPlaceholder(t,n),!shouldTriggerDeferBlock(0,t))return;let r=t[9];storeTriggerCleanupFn(0,getLDeferBlockDetails(t,n),e(()=>triggerDeferBlock(0,t,n),r))}function scheduleDelayedPrefetching(e){let t=getLView(),n=t[9],r=getCurrentTNode(),i=t[1],a=getTDeferBlockDetails(i,r);if(a.loadingState===V.NOT_STARTED){let i=getLDeferBlockDetails(t,r),prefetch=()=>triggerPrefetching(a,t,r);storeTriggerCleanupFn(1,i,e(prefetch,n))}}function scheduleDelayedHydrating(e,t,n){let r=t[9],i=getLDeferBlockDetails(t,n),a=i[Fi];storeTriggerCleanupFn(2,i,e(()=>triggerHydrationFromBlockName(r,a),r))}function triggerPrefetching(e,t,n){triggerResourceLoading(e,t,n)}function triggerResourceLoading(e,t,n){let r=t[9],i=t[1];if(e.loadingState!==V.NOT_STARTED)return e.loadingPromise??Promise.resolve();let a=getLDeferBlockDetails(t,n),o=getPrimaryBlockTNode(i,e);e.loadingState=V.IN_PROGRESS,invokeTriggerCleanupFns(1,a);let s=e.dependencyResolverFn,c=r.get(St).add();return s?(e.loadingPromise=Promise.allSettled(s()).then(n=>{let r=!1,i=[],a=[];for(let e=0;e<n.length;e++){let t=n[e];if(t.status===`fulfilled`){let e=t.value,n=getComponentDef(e)||getDirectiveDef(e);if(n)i.push(n);else{let t=getPipeDef$1(e);t&&a.push(t)}}else{r=!0,t.reason instanceof Error?t.reason:Error(String(t.reason));break}}if(r)e.loadingState=V.FAILED,e.errorTmplIndex===null&&handleUncaughtError(t,new RuntimeError(-750,``));else{e.loadingState=V.COMPLETE;let t=o.tView;i.length>0&&(t.directiveRegistry=addDepsToRegistry(t.directiveRegistry,i),e.providers=internalImportProvidersFrom(!1,...i.map(e=>e.type))),a.length>0&&(t.pipeRegistry=addDepsToRegistry(t.pipeRegistry,a))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=V.COMPLETE,c()}),e.loadingPromise)}function triggerDeferBlock(e,t,n){let r=t[1],i=t[n.index];if(!shouldTriggerDeferBlock(e,t))return;let a=getLDeferBlockDetails(t,n),o=getTDeferBlockDetails(r,n);switch(invokeAllTriggerCleanupFns(a),o.loadingState){case V.NOT_STARTED:renderDeferBlockState(H.Loading,n,i),triggerResourceLoading(o,t,n),o.loadingState===V.IN_PROGRESS&&renderDeferStateAfterResourceLoading(o,n,i);break;case V.IN_PROGRESS:renderDeferBlockState(H.Loading,n,i),renderDeferStateAfterResourceLoading(o,n,i);break;case V.COMPLETE:renderDeferBlockState(H.Complete,n,i);break;case V.FAILED:renderDeferBlockState(H.Error,n,i)}}async function triggerHydrationFromBlockName(e,t,n){let r=e.get(I);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:a}=getParentBlockHydrationQueue(t,e);if(a.length===0)return;i!==null&&a.shift(),populateHydratingStateForQueue(r,a),i!==null&&await i;let o=a[0];r.has(o)?await triggerHydrationForBlockQueue(e,a,n):r.awaitParentBlock(o,async()=>await triggerHydrationForBlockQueue(e,a,n))}async function triggerHydrationForBlockQueue(e,t,n){let r=e.get(I),i=r.hydrating,a=e.get(Qe),o=a.add();for(let n=0;n<t.length;n++){let a=t[n],o=r.get(a);if(o!=null){if(await triggerResourceLoadingForHydration(o),await nextRender(e),deferBlockHasErrored(o)){removeDehydratedViewList(o),cleanupRemainingHydrationQueue(t.slice(n),r);break}i.get(a).resolve()}else{cleanupParentContainer(n,t,r),cleanupRemainingHydrationQueue(t.slice(n),r);break}}let s=t[t.length-1];await i.get(s)?.promise,a.remove(o),n&&n(t),cleanupHydratedDeferBlocks(r.get(s),t,r,e.get(U))}function deferBlockHasErrored(e){return getLDeferBlockDetails(e.lView,e.tNode)[1]===H.Error}function cleanupParentContainer(e,t,n){let r=e-1,i=r>-1?n.get(t[r]):null;i&&cleanupLContainer(i.lContainer)}function cleanupRemainingHydrationQueue(e,t){let n=t.hydrating;for(let t of e)n.get(t)?.reject();t.cleanup(e)}function populateHydratingStateForQueue(e,t){for(let n of t)e.hydrating.set(n,promiseWithResolvers())}function nextRender(e){return new Promise(t=>afterNextRender(t,{injector:e}))}async function triggerResourceLoadingForHydration(e){let{tNode:t,lView:n}=e,r=getLDeferBlockDetails(n,t);return new Promise(e=>{onDeferBlockCompletion(r,e),triggerDeferBlock(2,n,t)})}function onDeferBlockCompletion(e,t){Array.isArray(e[Li])||(e[Li]=[]),e[Li].push(t)}function shouldAttachTrigger(e,t,n){return e===0?shouldAttachRegularTrigger(t,n):e!==2||!shouldAttachRegularTrigger(t,n)}function hasHydrateTriggers(e){return e!=null&&(e&1)==1}function shouldAttachRegularTrigger(e,t){let n=e[9],r=getTDeferBlockDetails(e[1],t),i=isIncrementalHydrationEnabled(n),a=hasHydrateTriggers(r.flags),o=getLDeferBlockDetails(e,t)[Fi]!==null;return!(a&&o&&i)}function getHydrateTriggers(e,t){let n=getTDeferBlockDetails(e,t);return n.hydrateTriggers??=new Map}function processAndInitTriggers(e,t,n){let r=[],i=[],a=[],o=[];for(let[e,s]of t){let t=n.get(e);if(t!==void 0){let n=s.data.r,c=t;for(let t=0;t<n;t++){if(c=c.previousSibling,c.nodeType!==Node.ELEMENT_NODE)continue;let t={el:c,blockName:e};s.hydrate.idle&&r.push(t),s.hydrate.immediate&&o.push(t),s.hydrate.timer!==null&&(t.delay=s.hydrate.timer,i.push(t)),s.hydrate.viewport&&(typeof s.hydrate.viewport!=`boolean`&&(t.intersectionObserverOptions=s.hydrate.viewport),a.push(t))}}}setIdleTriggers(e,r),setImmediateTriggers(e,o),setViewportTriggers(e,a),setTimerTriggers(e,i)}function setIdleTriggers(e,t){for(let n of t){let t=e.get(I),onInvoke=()=>triggerHydrationFromBlockName(e,n.blockName),r=onIdle$1(onInvoke,e);t.addCleanupFn(n.blockName,r)}}function setViewportTriggers(e,t){if(t.length>0){let n=e.get(I);for(let r of t){let t=onViewportWrapper(r.el,()=>triggerHydrationFromBlockName(e,r.blockName),e,r.intersectionObserverOptions);n.addCleanupFn(r.blockName,t)}}}function setTimerTriggers(e,t){for(let n of t){let t=e.get(I),onInvoke=()=>triggerHydrationFromBlockName(e,n.blockName),r=onTimer(n.delay)(onInvoke,e);t.addCleanupFn(n.blockName,r)}}function setImmediateTriggers(e,t){for(let n of t)triggerHydrationFromBlockName(e,n.blockName)}function ɵɵdefer(e,t,n,r,i,a,o,s,c,l){let u=getLView(),d=getTView(),f=e+27,p=declareNoDirectiveHostTemplate(u,d,e,null,0,0),m=u[9],h=isIncrementalHydrationEnabled(m);if(d.firstCreatePass){performanceMarkFeature(`NgDefer`);let e={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:a??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:V.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,e,s,o),setTDeferBlockDetails(d,f,e)}let g=u[f];populateDehydratedViewsInLContainer(g,p,u);let _=null,v=null;if(g[6]?.length>0){let e=g[6][0].data;v=e.di??null,_=e.s}let y=[null,ki.Initial,null,null,null,null,v,_,null,null];setLDeferBlockDetails(u,f,y);let ee=null;v!==null&&h&&(ee=m.get(I),ee.add(v,{lView:u,tNode:p,lContainer:g}));let onLViewDestroy=()=>{invokeAllTriggerCleanupFns(y),v!==null&&ee?.cleanup([v])};storeTriggerCleanupFn(0,y,()=>removeLViewOnDestroy(u,onLViewDestroy)),storeLViewOnDestroy(u,onLViewDestroy)}function ɵɵdeferWhen(e){let t=getLView(),n=getSelectedTNode();if(shouldAttachTrigger(0,t,n)&&bindingUpdated(t,nextBindingIndex(),e)){let r=setActiveConsumer(null);try{let r=!!e,i=getLDeferBlockDetails(t,n)[1];r===!1&&i===ki.Initial?renderPlaceholder(t,n):r===!0&&(i===ki.Initial||i===H.Placeholder)&&triggerDeferBlock(0,t,n)}finally{setActiveConsumer(r)}}}function ɵɵdeferPrefetchWhen(e){let t=getLView(),n=getSelectedTNode();if(shouldAttachTrigger(1,t,n)&&bindingUpdated(t,nextBindingIndex(),e)){let r=setActiveConsumer(null);try{let r=!!e,i=t[1],a=getTDeferBlockDetails(i,n);r===!0&&a.loadingState===V.NOT_STARTED&&triggerPrefetching(a,t,n)}finally{setActiveConsumer(r)}}}function ɵɵdeferHydrateWhen(e){let t=getLView(),n=getSelectedTNode();if(!shouldAttachTrigger(2,t,n))return;let r=nextBindingIndex();if(getHydrateTriggers(getTView(),n).set(6,null),bindingUpdated(t,r,e)){let r=t[9],i=setActiveConsumer(null);try{if(e){let e=getLDeferBlockDetails(t,n)[Fi];triggerHydrationFromBlockName(r,e)}}finally{setActiveConsumer(i)}}}function ɵɵdeferHydrateNever(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&getHydrateTriggers(getTView(),t).set(7,null)}function ɵɵdeferOnIdle(e){shouldAttachTrigger(0,getLView(),getCurrentTNode())&&scheduleDelayedTrigger(onIdleWrapper({timeout:e}))}function ɵɵdeferPrefetchOnIdle(e){shouldAttachTrigger(1,getLView(),getCurrentTNode())&&scheduleDelayedPrefetching(onIdleWrapper({timeout:e}))}function ɵɵdeferHydrateOnIdle(e){let t=getLView(),n=getCurrentTNode();shouldAttachTrigger(2,t,n)&&(getHydrateTriggers(getTView(),n).set(0,null),scheduleDelayedHydrating(onIdleWrapper({timeout:e}),t,n))}function ɵɵdeferOnImmediate(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(0,e,t)&&(getTDeferBlockDetails(e[1],t).loadingTmplIndex===null&&renderPlaceholder(e,t),triggerDeferBlock(0,e,t))}function ɵɵdeferPrefetchOnImmediate(){let e=getLView(),t=getCurrentTNode();if(!shouldAttachTrigger(1,e,t))return;let n=e[1],r=getTDeferBlockDetails(n,t);r.loadingState===V.NOT_STARTED&&triggerResourceLoading(r,e,t)}function ɵɵdeferHydrateOnImmediate(){let e=getLView(),t=getCurrentTNode();if(shouldAttachTrigger(2,e,t)){getHydrateTriggers(getTView(),t).set(1,null);{let n=e[9],r=getLDeferBlockDetails(e,t)[Fi];triggerHydrationFromBlockName(n,r)}}}function ɵɵdeferOnTimer(e){shouldAttachTrigger(0,getLView(),getCurrentTNode())&&scheduleDelayedTrigger(onTimer(e))}function ɵɵdeferPrefetchOnTimer(e){shouldAttachTrigger(1,getLView(),getCurrentTNode())&&scheduleDelayedPrefetching(onTimer(e))}function ɵɵdeferHydrateOnTimer(e){let t=getLView(),n=getCurrentTNode();shouldAttachTrigger(2,t,n)&&(getHydrateTriggers(getTView(),n).set(5,{type:5,delay:e}),scheduleDelayedHydrating(onTimer(e),t,n))}function ɵɵdeferOnHover(e,t){let n=getLView(),r=getCurrentTNode();shouldAttachTrigger(0,n,r)&&(renderPlaceholder(n,r),registerDomTrigger(n,r,e,t,onHover,()=>triggerDeferBlock(0,n,r),0))}function ɵɵdeferPrefetchOnHover(e,t){let n=getLView(),r=getCurrentTNode();if(!shouldAttachTrigger(1,n,r))return;let i=n[1],a=getTDeferBlockDetails(i,r);a.loadingState===V.NOT_STARTED&&registerDomTrigger(n,r,e,t,onHover,()=>triggerPrefetching(a,n,r),1)}function ɵɵdeferHydrateOnHover(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&getHydrateTriggers(getTView(),t).set(4,null)}function ɵɵdeferOnInteraction(e,t){let n=getLView(),r=getCurrentTNode();shouldAttachTrigger(0,n,r)&&(renderPlaceholder(n,r),registerDomTrigger(n,r,e,t,onInteraction,()=>triggerDeferBlock(0,n,r),0))}function ɵɵdeferPrefetchOnInteraction(e,t){let n=getLView(),r=getCurrentTNode();if(!shouldAttachTrigger(1,n,r))return;let i=n[1],a=getTDeferBlockDetails(i,r);a.loadingState===V.NOT_STARTED&&registerDomTrigger(n,r,e,t,onInteraction,()=>triggerPrefetching(a,n,r),1)}function ɵɵdeferHydrateOnInteraction(){let e=getLView(),t=getCurrentTNode();shouldAttachTrigger(2,e,t)&&getHydrateTriggers(getTView(),t).set(3,null)}function ɵɵdeferOnViewport(e,t,n){let r=getLView(),i=getCurrentTNode();shouldAttachTrigger(0,r,i)&&(renderPlaceholder(r,i),registerDomTrigger(r,i,e,t,onViewportWrapper,()=>triggerDeferBlock(0,r,i),0,n))}function ɵɵdeferPrefetchOnViewport(e,t,n){let r=getLView(),i=getCurrentTNode();if(!shouldAttachTrigger(1,r,i))return;let a=r[1],o=getTDeferBlockDetails(a,i);o.loadingState===V.NOT_STARTED&&registerDomTrigger(r,i,e,t,onViewportWrapper,()=>triggerPrefetching(o,r,i),1,n)}function ɵɵdeferHydrateOnViewport(e){let t=getLView(),n=getCurrentTNode();shouldAttachTrigger(2,t,n)&&getHydrateTriggers(getTView(),n).set(2,e?{type:2,intersectionObserverOptions:e}:null)}function ɵɵariaProperty(e,t){let n=getLView();if(bindingUpdated(n,nextBindingIndex(),t)){let r=getTView(),i=getSelectedTNode();if(setAllInputsForProperty(i,r,n,e,t))isComponentHost(i)&&markDirtyIfOnPush(n,i.index);else{let r=getNativeByTNode(i,n);setElementAttribute(n[11],r,null,i.value,e,t,null)}}return ɵɵariaProperty}function ɵɵattribute(e,t,n,r){let i=getLView();return bindingUpdated(i,nextBindingIndex(),t)&&(getTView(),elementAttributeInternal(getSelectedTNode(),i,e,t,n,r)),ɵɵattribute}function ɵɵanimateEnter(e){if(performanceMarkFeature(`NgAnimateEnter`),!Cr)return ɵɵanimateEnter;let t=getLView();if(areAnimationsDisabled(t))return ɵɵanimateEnter;let n=getCurrentTNode(),r=t[9].get(M);return addAnimationToLView(getLViewEnterAnimations(t),n,()=>runEnterAnimation(t,n,e,r)),initializeAnimationQueueScheduler(t[9]),queueEnterAnimations(t[9],getLViewEnterAnimations(t)),ɵɵanimateEnter}function runEnterAnimation(e,t,n,r){let i=getNativeByTNode(t,e),a=e[11],o=getClassListFromValue(n),s=[],c=!1,handleEnterAnimationStart=e=>{if(getEventTarget(e)!==i)return;let t=e instanceof AnimationEvent?`animationend`:`transitionend`;r.runOutsideAngular(()=>{a.listen(i,t,handleEnterAnimationEnd)})},handleEnterAnimationEnd=e=>{getEventTarget(e)===i&&(isLongestAnimation(e,i)&&(c=!0),enterAnimationEnd(e,i,a))};if(o&&o.length>0){r.runOutsideAngular(()=>{s.push(a.listen(i,`animationstart`,handleEnterAnimationStart)),s.push(a.listen(i,`transitionstart`,handleEnterAnimationStart))}),trackEnterClasses(i,o,s);for(let e of o)a.addClass(i,e);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(determineLongestAnimation(i,Tr,Cr),!Tr.has(i))){for(let e of o)a.removeClass(i,e);cleanupEnterClassData(i)}})})}}function enterAnimationEnd(e,t,n){let r=wr.get(t);if(getEventTarget(e)===t&&r&&isLongestAnimation(e,t)){e.stopPropagation();for(let e of r.classList)n.removeClass(t,e);cleanupEnterClassData(t)}}function ɵɵanimateEnterListener(e){if(performanceMarkFeature(`NgAnimateEnter`),!Cr)return ɵɵanimateEnterListener;let t=getLView();if(areAnimationsDisabled(t))return ɵɵanimateEnterListener;let n=getCurrentTNode();return addAnimationToLView(getLViewEnterAnimations(t),n,()=>runEnterAnimationFunction(t,n,e)),initializeAnimationQueueScheduler(t[9]),queueEnterAnimations(t[9],getLViewEnterAnimations(t)),ɵɵanimateEnterListener}function runEnterAnimationFunction(e,t,n){let r=getNativeByTNode(t,e);n.call(e[8],{target:r,animationComplete:noOpAnimationComplete})}function ɵɵanimateLeave(e){if(performanceMarkFeature(`NgAnimateLeave`),!Cr)return ɵɵanimateLeave;let t=getLView();if(areAnimationsDisabled(t))return ɵɵanimateLeave;let n=getCurrentTNode(),r=t[9].get(M);return addAnimationToLView(getLViewLeaveAnimations(t),n,()=>runLeaveAnimations(t,n,e,r)),initializeAnimationQueueScheduler(t[9]),ɵɵanimateLeave}function runLeaveAnimations(e,t,n,r){let{promise:i,resolve:a}=promiseWithResolvers(),o=getNativeByTNode(t,e),s=e[11];br.add(e[19]),(getLViewLeaveAnimations(e).get(t.index).resolvers??=[]).push(a);let c=getClassListFromValue(n);return c&&c.length>0?animateLeaveClassRunner(o,t,e,c,s,r):a(),{promise:i,resolve:a}}function animateLeaveClassRunner(e,t,n,r,i,a){cancelAnimationsIfRunning(e,i);let o=[],s=getLViewLeaveAnimations(n).get(t.index)?.resolvers,c,l=!1,handleOutAnimationEnd=a=>{if((getEventTarget(a)===e||a.type===`animation-fallback`)&&(a.type===`animation-fallback`||isLongestAnimation(a,e))){if(l=!0,c&&clearTimeout(c),a.type!==`animation-fallback`&&a.stopPropagation(),Tr.delete(e),clearLeavingNodes(t,e),Array.isArray(t.projection))for(let t of r)i.removeClass(e,t);cleanupAfterLeaveAnimations(s,o),clearLViewNodeAnimationResolvers(n,t)}};a.runOutsideAngular(()=>{o.push(i.listen(e,`animationend`,handleOutAnimationEnd)),o.push(i.listen(e,`transitionend`,handleOutAnimationEnd))}),trackLeavingNodes(t,e);for(let t of r)i.addClass(e,t);a.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;determineLongestAnimation(e,Tr,Cr);let r=Tr.get(e);r?(c=setTimeout(()=>{handleOutAnimationEnd(new CustomEvent(`animation-fallback`))},r.duration+50),o.push(()=>clearTimeout(c))):(clearLeavingNodes(t,e),cleanupAfterLeaveAnimations(s,o),clearLViewNodeAnimationResolvers(n,t))})})}function ɵɵanimateLeaveListener(e){if(performanceMarkFeature(`NgAnimateLeave`),!Cr)return ɵɵanimateLeaveListener;let t=getLView(),n=getCurrentTNode();br.add(t[19]);let r=t[9].get(M),i=t[9].get(vr);return addAnimationToLView(getLViewLeaveAnimations(t),n,()=>runLeaveAnimationFunction(t,n,e,r,i)),initializeAnimationQueueScheduler(t[9]),ɵɵanimateLeaveListener}function runLeaveAnimationFunction(e,t,n,r,i){let{promise:a,resolve:o}=promiseWithResolvers(),s=getNativeByTNode(t,e),c=[],l=e[11],u=areAnimationsDisabled(e);(getLViewLeaveAnimations(e).get(t.index).resolvers??=[]).push(o);let d=getLViewLeaveAnimations(e).get(t.index)?.resolvers;if(u)leaveAnimationFunctionCleanup(e,t,s,d,c);else{let a=setTimeout(()=>leaveAnimationFunctionCleanup(e,t,s,d,c),i),o={target:s,animationComplete:()=>{leaveAnimationFunctionCleanup(e,t,s,d,c),clearTimeout(a)}};trackLeavingNodes(t,s),r.runOutsideAngular(()=>{c.push(l.listen(s,`animationend`,()=>{leaveAnimationFunctionCleanup(e,t,s,d,c),clearTimeout(a)},{once:!0}))}),n.call(e[8],o)}return{promise:a,resolve:o}}function ɵɵcomponentInstance(){return getLView()[15][8]}function valuesMatching(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function reconcile(e,t,n,r){let i,a,o=0,s=e.length-1;if(Array.isArray(t)){setActiveConsumer(r);let c=t.length-1;for(setActiveConsumer(null);o<=s&&o<=c;){let r=e.at(o),l=t[o],u=valuesMatching(o,r,o,l,n);if(u!==0){u<0&&e.updateValue(o,l),o++;continue}let d=e.at(s),f=t[c],p=valuesMatching(s,d,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let m=n(o,r),h=n(s,d),g=n(o,l);if(Object.is(g,h)){let t=n(c,f);Object.is(t,m)?(e.swap(o,s),e.updateValue(s,f),c--,s--):e.move(s,o),e.updateValue(o,l),o++;continue}if(i??=new UniqueValueMultiKeyMap,a??=initLiveItemsInTheFuture(e,o,s,n),attachPreviouslyDetached(e,i,o,g))e.updateValue(o,l),o++,s++;else if(a.has(g))i.set(m,e.detach(o)),s--;else{let n=e.create(o,t[o]);e.attach(o,n),o++,s++}}for(;o<=c;)createOrAttach(e,i,n,o,t[o]),o++}else if(t!=null){setActiveConsumer(r);let c=t[Symbol.iterator]();setActiveConsumer(null);let l=c.next();for(;!l.done&&o<=s;){let t=e.at(o),r=l.value,u=valuesMatching(o,t,o,r,n);if(u!==0)u<0&&e.updateValue(o,r),o++,l=c.next();else{i??=new UniqueValueMultiKeyMap,a??=initLiveItemsInTheFuture(e,o,s,n);let u=n(o,r);if(attachPreviouslyDetached(e,i,o,u))e.updateValue(o,r),o++,s++,l=c.next();else if(!a.has(u))e.attach(o,e.create(o,r)),o++,s++,l=c.next();else{let r=n(o,t);i.set(r,e.detach(o)),s--}}}for(;!l.done;)createOrAttach(e,i,n,e.length,l.value),l=c.next()}for(;o<=s;)e.destroy(e.detach(s--));i?.forEach(t=>{e.destroy(t)})}function attachPreviouslyDetached(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function createOrAttach(e,t,n,r,i){if(attachPreviouslyDetached(e,t,r,n(r,i)))e.updateValue(r,i);else{let t=e.create(r,i);e.attach(r,t)}}function initLiveItemsInTheFuture(e,t,n,r){let i=new Set;for(let a=t;a<=n;a++)i.add(r(a,e.at(a)));return i}function ɵɵconditionalCreate(e,t,n,r,i,a,o,s){performanceMarkFeature(`NgControlFlow`);let c=getLView(),l=getTView();return declareNoDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),256,o,s),ɵɵconditionalBranchCreate}function ɵɵconditionalBranchCreate(e,t,n,r,i,a,o,s){performanceMarkFeature(`NgControlFlow`);let c=getLView(),l=getTView();return declareNoDirectiveHostTemplate(c,l,e,t,n,r,i,getConstant(l.consts,a),512,o,s),ɵɵconditionalBranchCreate}function ɵɵconditional(e,t){performanceMarkFeature(`NgControlFlow`);let n=getLView(),r=nextBindingIndex(),i=n[r]===R?-1:n[r],a=i===-1?void 0:getLContainer(n,27+i);if(bindingUpdated(n,r,e)){let r=setActiveConsumer(null);try{if(a!==void 0&&removeLViewFromLContainer(a,0),e!==-1){let r=27+e,i=getLContainer(n,r),a=getExistingTNode(n[1],r),o=findAndReconcileMatchingDehydratedViews(i,a,n);addLViewToLContainer(i,createAndRenderEmbeddedLView(n,a,t,{dehydratedView:o}),0,shouldAddViewToDom(a,o))}}finally{setActiveConsumer(r)}}else if(a!==void 0){let e=getLViewFromLContainer(a,0);e!==void 0&&(e[8]=t)}}function ɵɵrepeaterTrackByIndex(e){return e}function ɵɵrepeaterTrackByIdentity(e,t){return t}function ɵɵrepeaterCreate(e,t,n,r,i,a,o,s,c,l,u,d,f){performanceMarkFeature(`NgControlFlow`);let p=getLView(),m=getTView(),h=c!==void 0,g=getLView(),_=s?o.bind(g[15][8]):o,v=new RepeaterMetadata(h,_);g[27+e]=v,declareNoDirectiveHostTemplate(p,m,e+1,t,n,r,i,getConstant(m.consts,a),256),h&&declareNoDirectiveHostTemplate(p,m,e+2,c,l,u,d,getConstant(m.consts,f),512)}function ɵɵrepeater(e){let t=setActiveConsumer(null),n=getSelectedIndex();try{let r=getLView(),i=r[1],a=r[n],o=n+1,s=getLContainer(r,o);if(a.liveCollection===void 0){let e=getExistingTNode(i,o);a.liveCollection=new LiveCollectionLContainerImpl(s,r,e)}else a.liveCollection.reset();let c=a.liveCollection;if(reconcile(c,e,a.trackByFn,t),c.updateIndexes(),a.hasEmptyBlock){let e=nextBindingIndex(),t=c.length===0;if(bindingUpdated(r,e,t)){let e=n+2,a=getLContainer(r,e);if(t){let t=getExistingTNode(i,e),n=findAndReconcileMatchingDehydratedViews(a,t,r);addLViewToLContainer(a,createAndRenderEmbeddedLView(r,t,void 0,{dehydratedView:n}),0,shouldAddViewToDom(t,n))}else i.firstUpdatePass&&removeDehydratedViews(a),removeLViewFromLContainer(a,0)}}}finally{setActiveConsumer(t)}}function getLContainer(e,t){return e[t]}function clearDetachAnimationList(e,t){if(e.length<=10)return;let n=e[10+t],r=n?n[26]:void 0;if(n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let e=n[9];removeFromAnimationQueue(e,r),br.delete(n[19]),r.detachedLeaveAnimationFns=void 0}}function maybeInitDetachAnimationList(e,t){if(e.length<=10)return;let n=e[10+t],r=n?n[26]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function detachExistingView(e,t){return detachView(e,t)}function getExistingLViewFromLContainer(e,t){return getLViewFromLContainer(e,t)}function getExistingTNode(e,t){return getTNode(e,t)}function ɵɵproperty(e,t,n){let r=getLView();return bindingUpdated(r,nextBindingIndex(),t)&&(getTView(),setPropertyAndInputs(getSelectedTNode(),r,e,t,r[11],n)),ɵɵproperty}function setDirectiveInputsWhichShadowsStyling(e,t,n,r,i){setAllInputsForProperty(t,e,n,i?`class`:`style`,r)}function ɵɵelementStart(e,t,n,r){let i=getLView(),a=i[1],o=e+27,s=a.firstCreatePass?directiveHostFirstCreatePass(o,i,2,t,findDirectiveDefMatches,getBindingsEnabled(),n,r):a.data[o];if(isComponentHost(s)){let n=i[10].tracingService;if(n&&n.componentCreate){let o=a.data[s.directiveStart+s.componentOffset];return n.componentCreate(getComponentName(o),()=>(initializeElement(e,t,i,s,r),ɵɵelementStart))}}return initializeElement(e,t,i,s,r),ɵɵelementStart}function initializeElement(e,t,n,r,i){if(elementLikeStartShared(r,n,e,t,_locateOrCreateElementNode),isDirectiveHost(r)){let e=n[1];createDirectivesInstances(e,n,r),executeContentQueries(e,r,n)}i!=null&&saveResolvedLocalsInData(n,r)}function ɵɵelementEnd(){let e=getTView(),t=elementLikeEndShared(getCurrentTNode());return e.firstCreatePass&&directiveHostEndFirstCreatePass(e,t),isSkipHydrationRootTNode(t)&&leaveSkipHydrationBlock(),decreaseElementDepthCount(),t.classesWithoutHost!=null&&hasClassInput(t)&&setDirectiveInputsWhichShadowsStyling(e,t,getLView(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&hasStyleInput(t)&&setDirectiveInputsWhichShadowsStyling(e,t,getLView(),t.stylesWithoutHost,!1),ɵɵelementEnd}function ɵɵelement(e,t,n,r){return ɵɵelementStart(e,t,n,r),ɵɵelementEnd(),ɵɵelement}function ɵɵdomElementStart(e,t,n,r){let i=getLView(),a=i[1],o=e+27,s=a.firstCreatePass?domOnlyFirstCreatePass(o,a,2,t,n,r):a.data[o];return elementLikeStartShared(s,i,e,t,_locateOrCreateElementNode),r!=null&&saveResolvedLocalsInData(i,s),ɵɵdomElementStart}function ɵɵdomElementEnd(){return isSkipHydrationRootTNode(elementLikeEndShared(getCurrentTNode()))&&leaveSkipHydrationBlock(),decreaseElementDepthCount(),ɵɵdomElementEnd}function ɵɵdomElement(e,t,n,r){return ɵɵdomElementStart(e,t,n,r),ɵɵdomElementEnd(),ɵɵdomElement}function locateOrCreateElementNodeImpl(e,t,n,r,i){let a=!canHydrateNode(t,n);if(lastNodeWasCreated(a),a)return createElementNode(t[11],r,getNamespace());let o=t[6],s=locateNextRNode(o,e,t,n);if(getSerializedContainerViews(o,i)&&setSegmentHead(o,i,s.nextSibling),o){if(s==null)throw new RuntimeError(-502,`<${r}>`);if(s.nodeType!==Node.ELEMENT_NODE)throw new RuntimeError(-500,!1);(hasSkipHydrationAttrOnTNode(n)||hasSkipHydrationAttrOnRElement(s))&&isComponentHost(n)&&(enterSkipHydrationBlock(n),clearElementContents(s))}return s}function enableLocateOrCreateElementNodeImpl(){_locateOrCreateElementNode=locateOrCreateElementNodeImpl}function ɵɵelementContainerStart(e,t,n){let r=getLView(),i=r[1],a=e+27,o=i.firstCreatePass?directiveHostFirstCreatePass(a,r,8,`ng-container`,findDirectiveDefMatches,getBindingsEnabled(),t,n):i.data[a];if(elementLikeStartShared(o,r,e,`ng-container`,_locateOrCreateElementContainerNode),isDirectiveHost(o)){let e=r[1];createDirectivesInstances(e,r,o),executeContentQueries(e,o,r)}return n!=null&&saveResolvedLocalsInData(r,o),ɵɵelementContainerStart}function ɵɵelementContainerEnd(){let e=getTView(),t=elementLikeEndShared(getCurrentTNode());return e.firstCreatePass&&directiveHostEndFirstCreatePass(e,t),ɵɵelementContainerEnd}function ɵɵelementContainer(e,t,n){return ɵɵelementContainerStart(e,t,n),ɵɵelementContainerEnd(),ɵɵelementContainer}function ɵɵdomElementContainerStart(e,t,n){let r=getLView(),i=r[1],a=e+27,o=i.firstCreatePass?domOnlyFirstCreatePass(a,i,8,`ng-container`,t,n):i.data[a];return elementLikeStartShared(o,r,e,`ng-container`,_locateOrCreateElementContainerNode),n!=null&&saveResolvedLocalsInData(r,o),ɵɵdomElementContainerStart}function ɵɵdomElementContainerEnd(){return elementLikeEndShared(getCurrentTNode()),ɵɵelementContainerEnd}function ɵɵdomElementContainer(e,t,n){return ɵɵdomElementContainerStart(e,t,n),ɵɵdomElementContainerEnd(),ɵɵdomElementContainer}function locateOrCreateElementContainerNode(e,t,n,r,i){let a,o=!canHydrateNode(t,n);if(lastNodeWasCreated(o),o)return createCommentNode(t[11],``);let s=t[6],c=locateNextRNode(s,e,t,n),l=getNgContainerSize(s,i);return setSegmentHead(s,i,c),a=siblingAfter(l,c),a}function enableLocateOrCreateElementContainerNodeImpl(){_locateOrCreateElementContainerNode=locateOrCreateElementContainerNode}function createForeignView(e,t){let n=e[3],r=e[5],i=n[11],a=createTView(3,r,null,3,0,null,null,null,null,null,null),o=a.data[27]=createTNode(a,null,2,27,``,null),s=a.data[28]=createTNode(a,null,2,28,``,null);a.firstChild=o,o.next=s,s.prev=o;let c=createLView(n,a,null,0,null,null,null,i,null,null,null),l=c[o.index]=i.createComment(``),u=c[s.index]=i.createComment(``);c[2]&=-5;let d=new ForeignViewRef(c);if(addLViewToLContainer(e,c,t),!l.parentNode){let e=document.createDocumentFragment();e.appendChild(l),e.appendChild(u);let t=s.index+1;c[t]=e}return d}function ɵɵforeignComponent(e,t,n){let r=getLView(),i=getTView(),a=e+27,o=getConstant(i.consts,t),s;i.firstCreatePass?(s=getOrCreateTNode(i,a,4,null,null),setCurrentTNodeAsNotParent()):(s=i.data[a],setCurrentTNode(s,!1));let c=r[11],l=c.createComment(``);appendChild(i,r,l,s),attachPatchData(l,r);let u=createLContainer(l,r,l,s);r[a]=u,addToEndOfViewTree(r,u);let d=createForeignView(u,0),f=createViewEffect(r,r[10].changeDetectionScheduler,()=>{if(f.destroy(),isDestroyed(r))return;let e=setActiveConsumer(null);try{let e=n?n():void 0,t=getOrCreateInjectable(s,r,ia,8),[i,a]=o[Xr](e,t??void 0),l=d.tail,u=l.parentNode;if(u)for(let e=0;e<i.length;e++)nativeInsertBefore(c,u,i[e],l,!1);a&&d.onDestroy(a)}finally{setActiveConsumer(e)}})}function resolveForeignContentContainer(e,t){let n=getLView(),r=e+27,i=n[r];i[2]|=4;let a=getTView();return[n,i,a.data[r],getConstant(a.consts,t)]}function ɵɵforeignContent(e,t){let[n,r,i,a]=resolveForeignContentContainer(e,t),o=a[Qr],s=a[Zr],c=a[$r],producer=()=>{let e=c?{embeddedViewInjector:new ForeignContextInjector(c())}:void 0,t=createAndRenderEmbeddedLView(n,i,null,e);addLViewToLContainer(r,t,r.length-10,!1),s(()=>{if(!isDestroyed(t)){let e=r.indexOf(t,10);removeLViewFromLContainer(r,e-10)}});let a=t[1];return collectNativeNodes(a,t,a.firstChild,[])};return o(producer)}function ɵɵforeignContentFn(e,t){let[n,r,i,a]=resolveForeignContentContainer(e,t),o=a[Qr],s=a[Zr],c=a[$r];return(...e)=>{let producer=()=>{let t=c?{embeddedViewInjector:new ForeignContextInjector(c())}:void 0,a=createAndRenderEmbeddedLView(n,i,e,t);addLViewToLContainer(r,a,r.length-10,!1),s(()=>{if(!isDestroyed(a)){let e=r.indexOf(a,10);removeLViewFromLContainer(r,e-10)}});let o=a[1];return collectNativeNodes(o,a,o.firstChild,[])};return o(producer)}}function ɵɵgetCurrentView(){return getLView()}function ɵɵdomProperty(e,t,n){let r=getLView();return bindingUpdated(r,nextBindingIndex(),t)&&(getTView(),setDomProperty(getSelectedTNode(),r,e,t,r[11],n)),ɵɵdomProperty}function ɵɵsyntheticHostProperty(e,t,n){let r=getLView();if(bindingUpdated(r,nextBindingIndex(),t)){let i=getTView(),a=getSelectedTNode();setDomProperty(a,r,e,t,loadComponentRenderer(getCurrentDirectiveDef(i.data),a,r),n)}return ɵɵsyntheticHostProperty}function plural(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}function registerLocaleData(e,t,n){typeof t!=`string`&&(n=t,t=e[W.LocaleId]),t=t.toLowerCase().replace(/_/g,`-`),sa[t]=e,n&&(sa[t][W.ExtraData]=n)}function findLocaleData(e){let t=normalizeLocale(e),n=getLocaleData(t);if(n)return n;let r=t.split(`-`)[0];if(n=getLocaleData(r),n)return n;if(r===`en`)return oa;throw new RuntimeError(701,!1)}function getLocaleCurrencyCode(e){return findLocaleData(e)[W.CurrencyCode]||null}function getLocalePluralCase$1(e){return findLocaleData(e)[W.PluralCase]}function getLocaleData(e){if(!(e in sa)){let t=w.ng&&w.ng.common&&w.ng.common.locales&&w.ng.common.locales[e];return t!==void 0&&(sa[e]=t),t}return sa[e]}function unregisterAllLocaleData(){sa=Object.create(null)}function normalizeLocale(e){return e.toLowerCase().replace(/_/g,`-`)}function getPluralCase(e,t){let n=getLocalePluralCase$1(t)(parseInt(e,10)),r=ca[n];return r===void 0?`other`:r}function setLocaleId(e){typeof e==`string`&&(ma=e.toLowerCase().replace(/_/g,`-`))}function getLocaleId$1(){return ma}function setMaskBit(e){e&&(ha|=1<<Math.min(ga,31)),ga++}function applyI18n(e,t,n){try{if(ga>0){let r=e.data[n];applyUpdateOpCodes(e,t,Array.isArray(r)?r:r.update,getBindingIndex()-ga-1,ha)}}finally{ha=0,ga=0}}function createNodeWithoutHydration(e,t,n){let r=e[11];switch(n){case Node.COMMENT_NODE:return createCommentNode(r,t);case Node.TEXT_NODE:return createTextNode(r,t);case Node.ELEMENT_NODE:return createElementNode(r,t,null)}}function locateOrCreateNodeImpl(e,t,n,r){let i=e[6],a=t-27,o=!isI18nHydrationSupportEnabled()||!i||isInSkipHydrationBlock$1()||isDisconnectedNode$1(i,a);return lastNodeWasCreated(o),o?createNodeWithoutHydration(e,n,r):locateI18nRNodeByIndex(i,a)}function enableLocateOrCreateI18nNodeImpl(){_locateOrCreateNode=locateOrCreateNodeImpl}function applyCreateOpCodes(e,t,n,r){let i=e[11];for(let a=0;a<t.length;a++){let o=t[a++],s=t[a],c=(o&pa.COMMENT)===pa.COMMENT,l=(o&pa.APPEND_EAGERLY)===pa.APPEND_EAGERLY,u=o>>>pa.SHIFT,d=e[u],f=!1;d===null&&(d=e[u]=_locateOrCreateNode(e,u,s,c?Node.COMMENT_NODE:Node.TEXT_NODE),f=wasLastNodeCreated()),l&&n!==null&&f&&nativeInsertBefore(i,n,d,r,!1)}}function applyMutableOpCodes(e,t,n,r){let i=n[11],a=null,o;for(let s=0;s<t.length;s++){let c=t[s];if(typeof c==`string`){let e=t[++s];n[e]===null&&(n[e]=_locateOrCreateNode(n,e,c,Node.TEXT_NODE))}else if(typeof c==`number`)switch(c&1){case 0:let l=getParentFromIcuCreateOpCode(c);a===null&&(a=l,o=i.parentNode(r));let u,d;if(l===a?(u=r,d=o):(u=null,d=unwrapRNode(n[l])),d!==null){let t=getRefFromIcuCreateOpCode(c),r=n[t];nativeInsertBefore(i,d,r,u,!1);let a=getTIcu(e,t);if(typeof a==`object`&&a){let t=getCurrentICUCaseIndex(a,n);t!==null&&applyMutableOpCodes(e,a.create[t],n,n[a.anchorIdx])}}break;case 1:let f=c>>>1,p=t[++s],m=t[++s];setElementAttribute(i,getNativeByIndex(f,n),null,null,p,m,null)}else switch(c){case fa:let e=t[++s],r=t[++s];n[r]===null&&attachPatchData(n[r]=_locateOrCreateNode(n,r,e,Node.COMMENT_NODE),n);break;case da:let i=t[++s],a=t[++s];n[a]===null&&attachPatchData(n[a]=_locateOrCreateNode(n,a,i,Node.ELEMENT_NODE),n)}}}function applyUpdateOpCodes(e,t,n,r,i){for(let a=0;a<n.length;a++){let o=n[a],s=n[++a];if(o&i){let i=``;for(let o=a+1;o<=a+s;o++){let a=n[o];if(typeof a==`string`)i+=a;else if(typeof a==`number`){if(a<0)i+=renderStringify(t[r-a]);else{let s=a>>>2;switch(a&3){case 1:let a=n[++o],c=n[++o],l=e.data[s];if(typeof l==`string`)setElementAttribute(t[11],t[s],null,l,a,i,c);else{let e=getSelectedIndex();setSelectedIndex(s);try{setPropertyAndInputs(l,t,a,i,t[11],c)}finally{setSelectedIndex(e)}}break;case 0:let u=t[s];u!==null&&updateTextNode(t[11],u,i);break;case 2:applyIcuSwitchCase(e,getTIcu(e,s),t,i);break;case 3:applyIcuUpdateCase(e,getTIcu(e,s),r,t)}}}}}else{let i=n[a+1];if(i>0&&(i&3)==3){let n=getTIcu(e,i>>>2);t[n.currentCaseLViewIndex]<0&&applyIcuUpdateCase(e,n,r,t)}}a+=s}}function applyIcuUpdateCase(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(i!==null){let a=ha;i<0&&(i=r[t.currentCaseLViewIndex]=~i,a=-1),applyUpdateOpCodes(e,r,t.update[i],n,a)}}function applyIcuSwitchCase(e,t,n,r){let i=getCaseIndex(t,r);if(getCurrentICUCaseIndex(t,n)!==i&&(applyIcuSwitchCaseRemove(e,t,n),n[t.currentCaseLViewIndex]=i===null?null:~i,i!==null)){let r=n[t.anchorIdx];r&&applyMutableOpCodes(e,t.create[i],n,r),claimDehydratedIcuCase(n,t.anchorIdx,i)}}function applyIcuSwitchCaseRemove(e,t,n){let r=getCurrentICUCaseIndex(t,n);if(r!==null){let i=t.remove[r];for(let t=0;t<i.length;t++){let r=i[t];if(r>0){let e=getNativeByIndex(r,n);e!==null&&nativeRemoveNode(n[11],e)}else applyIcuSwitchCaseRemove(e,getTIcu(e,~r),n)}}}function getCaseIndex(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=getPluralCase(t,getLocaleId$1());n=e.cases.indexOf(r),n===-1&&r!==`other`&&(n=e.cases.indexOf(`other`));break}case 0:n=e.cases.indexOf(`other`)}return n===-1?null:n}function replaceNgsp(e){return e.replace(wa,` `)}function i18nStartFirstCreatePass(e,t,n,r,i,a){let o=getCurrentParentTNode(),s=[],c=[],l=[[]],u=[[]];i=getTranslationForTemplate(i,a);let d=replaceNgsp(i).split(Ca);for(let r=0;r<d.length;r++){let a=d[r];if(r&1){let t=a.charCodeAt(0)===47,n=a.charCodeAt(+!!t),r=27+Number.parseInt(a.substring(t?2:1));if(t)l.shift(),u.shift(),setCurrentTNode(getCurrentParentTNode(),!1);else{let t=createTNodePlaceholder(e,l[0],r);l.unshift([]),setCurrentTNode(t,!0);let i={kind:2,index:r,children:[],type:n===35?0:1};u[0].push(i),u.unshift(i.children)}}else{let r=i18nParseTextIntoPartsAndICU(a);for(let a=0;a<r.length;a++){let d=r[a];if(a&1){let r=d;if(typeof r!=`object`)throw Error(`Unable to parse ICU expression in "${i}" message.`);let a=createTNodeAndAddOpCode(e,o,l[0],n,s,``,!0).index;icuStart(u[0],e,n,c,t,r,a)}else{let t=d;t!==``&&i18nStartFirstCreatePassProcessTextNode(u[0],e,o,l[0],s,c,n,t)}}}}e.data[r]={create:s,update:c,ast:u[0],parentTNodeIndex:t}}function createTNodeAndAddOpCode(e,t,n,r,i,a,o){let s=allocExpando(e,r,1,null),c=s<<pa.SHIFT,l=getCurrentParentTNode();t===l&&(l=null),l===null&&(c|=pa.APPEND_EAGERLY),o&&(c|=pa.COMMENT,ensureIcuContainerVisitorLoaded(loadIcuContainerVisitor)),i.push(c,a===null?``:a);let u=createTNodeAtIndex(e,s,o?32:1,a===null?``:a,null);addTNodeAndUpdateInsertBeforeIndex(n,u);let d=u.index;return setCurrentTNode(u,!1),l!==null&&t!==l&&setTNodeInsertBeforeIndex(l,d),u}function i18nStartFirstCreatePassProcessTextNode(e,t,n,r,i,a,o,s){let c=s.match(_a),l=createTNodeAndAddOpCode(t,n,r,o,i,c?null:s,!1).index;c&&generateBindingUpdateOpCodes(a,s,l,null,0,null),e.push({kind:0,index:l})}function i18nAttributesFirstPass(e,t,n){let r=getCurrentTNode(),i=r.index,a=[];if(e.firstCreatePass&&e.data[t]===null){for(let e=0;e<n.length;e+=2){let t=n[e],o=n[e+1];if(o!==``){if(va.test(o))throw Error(`ICU expressions are not supported in attributes. Message: "${o}".`);let e=r.namespace?`:${r.namespace}:${r.value}`:r.value;generateBindingUpdateOpCodes(a,o,i,t,countBindings(a),i18nResolveSanitizer(t,e))}}e.data[t]=a}}function generateBindingUpdateOpCodes(e,t,n,r,i,a){let o=e.length,s=o+1;e.push(null,null);let c=o+2,l=t.split(_a),u=0;for(let t=0;t<l.length;t++){let n=l[t];if(t&1){let t=i+parseInt(n,10);e.push(-1-t),u|=toMaskBit(t)}else n!==``&&e.push(n)}return e.push(n<<2|!!r),r&&e.push(r,a),e[o]=u,e[s]=e.length-c,u}function countBindings(e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];typeof r==`number`&&r<0&&t++}return t}function toMaskBit(e){return 1<<Math.min(e,31)}function removeInnerTemplateTranslation(e){let t,n=``,r=0,i=!1,a;for(;(t=Sa.exec(e))!==null;)i?t[0]===`${xa}/*${a}${xa}`&&(r=t.index,i=!1):(n+=e.substring(r,t.index+t[0].length),a=t[1],i=!0);return n+=e.slice(r),n}function getTranslationForTemplate(e,t){if(isRootTemplateMessage(t))return removeInnerTemplateTranslation(e);{let n=e.indexOf(`:${t}${xa}`)+2+t.toString().length,r=e.search(RegExp(`${xa}\\/\\*\\d+:${t}${xa}`));return removeInnerTemplateTranslation(e.substring(n,r))}}function icuStart(e,t,n,r,i,a,o){let s=0,c={type:a.type,currentCaseLViewIndex:allocExpando(t,n,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};addUpdateIcuSwitch(r,a,o),setTIcu(t,o,c);let l=a.values,u=[];for(let e=0;e<l.length;e++){let o=l[e],d=[];for(let e=0;e<o.length;e++){let t=o[e];if(typeof t!=`string`){let n=d.push(t)-1;o[e]=`<!--�${n}�-->`}}let f=[];u.push(f),s=parseIcuCase(f,t,c,n,r,i,a.cases[e],o.join(``),d)|s}s&&addUpdateIcuUpdate(r,s,o),e.push({kind:3,index:o,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function parseICUBlock(e){let t=[],n=[],r=1,i=0;e=e.replace(ba,function(e,t,n){return r=n===`select`?0:1,i=parseInt(t.slice(1),10),``});let a=i18nParseTextIntoPartsAndICU(e);for(let e=0;e<a.length;){let i=a[e++].trim();r===1&&(i=i.replace(/\s*(?:=)?(\w+)\s*/,`$1`)),i.length&&t.push(i);let o=i18nParseTextIntoPartsAndICU(a[e++]);t.length>n.length&&n.push(o)}return{type:r,mainBinding:i,cases:t,values:n}}function i18nParseTextIntoPartsAndICU(e){if(!e)return[];let t=0,n=[],r=[],i=/[{}]/g;i.lastIndex=0;let a;for(;a=i.exec(e);){let i=a.index;if(a[0]==`}`){if(n.pop(),n.length==0){let n=e.substring(t,i);ba.test(n)?r.push(parseICUBlock(n)):r.push(n),t=i+1}}else{if(n.length==0){let n=e.substring(t,i);r.push(n),t=i+1}n.push(`{`)}}let o=e.substring(t);return r.push(o),r}function parseIcuCase(e,t,n,r,i,a,o,s,c){let l=[],u=[],d=[];n.cases.push(o),n.create.push(l),n.remove.push(u),n.update.push(d);let f=getInertBodyHelper(getDocument()).getInertBodyElement(s),p=getTemplateContent(f)||f;return p?walkIcuTree(e,t,n,r,i,l,u,d,p,a,c,0):0}function walkIcuTree(e,t,n,r,i,a,o,s,c,l,u,d){let f=0,p=c.firstChild;for(;p;){let c=allocExpando(t,r,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:let m=p,h=m.tagName.toLowerCase();if(Object.hasOwn(tr,h)){addCreateNodeAndAppend(a,da,h,l,c),t.data[c]=h;let g=m.attributes;for(let e=0;e<g.length;e++){let t=g.item(e),n=t.name.toLowerCase(),r=!!t.value.match(_a),i=m.namespaceURI,o=i&&Jn[i],l=o?`:${o}:${h}`:h;if(r)Object.hasOwn(rr,n)&&generateBindingUpdateOpCodes(s,t.value,c,t.name,0,i18nResolveSanitizer(n,l));else if(rr[n]){let e=t.value;i18nResolveSanitizer(n,l)?addCreateAttribute(a,c,t.name,`unsafe:blocked`):addCreateAttribute(a,c,t.name,e)}}let _={kind:1,index:c,children:[]};e.push(_),f=walkIcuTree(_.children,t,n,r,i,a,o,s,p,c,u,d+1)|f,addRemoveNode(o,c,d)}break;case Node.TEXT_NODE:let g=p.textContent||``,_=g.match(_a);addCreateNodeAndAppend(a,null,_?``:g,l,c),addRemoveNode(o,c,d),_&&(f=generateBindingUpdateOpCodes(s,g,c,null,0,null)|f),e.push({kind:0,index:c});break;case Node.COMMENT_NODE:let v=ya.exec(p.textContent||``);if(v){let n=u[parseInt(v[1],10)];addCreateNodeAndAppend(a,fa,``,l,c),icuStart(e,t,r,i,l,n,c),addRemoveNestedIcu(o,c,d)}}p=p.nextSibling}return f}function addRemoveNode(e,t,n){n===0&&e.push(t)}function addRemoveNestedIcu(e,t,n){n===0&&(e.push(~t),e.push(t))}function addUpdateIcuSwitch(e,t,n){e.push(toMaskBit(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function addUpdateIcuUpdate(e,t,n){e.push(t,1,n<<2|3)}function addCreateNodeAndAppend(e,t,n,r,i){t!==null&&e.push(t),e.push(n,i,icuCreateOpCode(0,r,i))}function addCreateAttribute(e,t,n,r){e.push(t<<1|1,n,r)}function i18nResolveSanitizer(e,t){let n;if(t){let[r,i]=splitNsName(t,!1);n=checkSecurityContext(i,e,r)}else n=checkSecurityContext(`*`,e);switch(n){case D.HTML:return ɵɵsanitizeHtml;case D.STYLE:return ɵɵsanitizeStyle;case D.SCRIPT:return ɵɵsanitizeScript;case D.URL:return _sanitizeUrl;case D.RESOURCE_URL:return ɵɵsanitizeResourceUrl;case D.ATTRIBUTE_NO_BINDING:return ɵɵvalidateAttribute;default:return null}}function i18nPostprocess(e,t={}){let n=e;if(Ea.test(e)){let e={},t=[Ta];n=n.replace(Da,(n,r,i)=>{let a=r||i,o=e[a]||[];if(o.length||(a.split(`|`).forEach(e=>{let t=e.match(Ma),n=t?parseInt(t[1],10):Ta,r=ja.test(e);o.push([n,r,e])}),e[a]=o),!o.length)throw Error(`i18n postprocess: unmatched placeholder - ${a}`);let s=t[t.length-1],c=0;for(let e=0;e<o.length;e++)if(o[e][0]===s){c=e;break}let[l,u,d]=o[c];return u?t.pop():s!==l&&t.push(l),o.splice(c,1),d})}return Object.keys(t).length?(n=n.replace(Oa,(e,n,r,i,a,o)=>Object.hasOwn(t,r)?`${n}${t[r]}${o}`:e),n=n.replace(ka,(e,n)=>Object.hasOwn(t,n)?t[n]:e),n=n.replace(Aa,(e,n)=>{if(Object.hasOwn(t,n)){let r=t[n];if(!r.length)throw Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}function ɵɵi18nStart(e,t,n=-1){let r=getTView(),i=getLView(),a=27+e,o=getConstant(r.consts,t),s=getCurrentParentTNode();if(r.firstCreatePass&&i18nStartFirstCreatePass(r,s===null?0:s.index,i,a,o,n),r.type===2){let e=i[15];e[2]|=32}else i[2]|=32;let c=r.data[a],l=getClosestRElement(r,s===i[5]?null:s,i),u=s&&s.type&8?i[s.index]:null;prepareI18nBlockForHydration(i,a,s,n),applyCreateOpCodes(i,c.create,l,u),setInI18nBlock(!0)}function ɵɵi18nEnd(){setInI18nBlock(!1)}function ɵɵi18n(e,t,n){ɵɵi18nStart(e,t,n),ɵɵi18nEnd()}function ɵɵi18nAttributes(e,t){let n=getTView(),r=getConstant(n.consts,t);i18nAttributesFirstPass(n,e+27,r)}function ɵɵi18nExp(e){return setMaskBit(bindingUpdated(getLView(),nextBindingIndex(),e)),ɵɵi18nExp}function ɵɵi18nApply(e){applyI18n(getTView(),getLView(),e+27)}function ɵɵi18nPostprocess(e,t={}){return i18nPostprocess(e,t)}function ɵɵlistener(e,t,n){let r=getLView(),i=getTView(),a=getCurrentTNode();return listenerInternal(i,r,r[11],a,e,t,n),ɵɵlistener}function ɵɵsyntheticHostListener(e,t){let n=getCurrentTNode(),r=getLView(),i=getTView();return listenerInternal(i,r,loadComponentRenderer(getCurrentDirectiveDef(i.data),n,r),n,e,t),ɵɵsyntheticHostListener}function ɵɵdomListener(e,t,n){let r=getLView(),i=getTView(),a=getCurrentTNode();return(a.type&3||n)&&listenToDomEvent(a,i,r,n,r[11],e,t,wrapListener(a,r,t)),ɵɵdomListener}function listenerInternal(e,t,n,r,i,a,o){let s=!0,c=null;if((r.type&3||o)&&(c??=wrapListener(r,t,a),listenToDomEvent(r,e,t,o,n,i,a,c)&&(s=!1)),s){let e=r.outputs?.[i],n=r.hostDirectiveOutputs?.[i];if(n&&n.length)for(let e=0;e<n.length;e+=2){let o=n[e],s=n[e+1];c??=wrapListener(r,t,a),listenToOutput(r,t,o,s,i,c)}if(e&&e.length)for(let n of e)c??=wrapListener(r,t,a),listenToOutput(r,t,n,i,i,c)}}function ɵɵnextContext(e=1){return nextContextImpl(e)}function matchingProjectionSlotIndex(e,t){let n=null,r=getProjectAsAttrValue(e);for(let i=0;i<t.length;i++){let a=t[i];if(a===`*`){n=i;continue}if(r===null?isNodeMatchingSelectorList(e,a,!0):isSelectorInSelectorList(r,a))return i}return n}function ɵɵprojectionDef(e){let t=getLView()[15][5];if(!t.projection){let n=t.projection=newArray(e?e.length:1,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let t=e?matchingProjectionSlotIndex(i,e):0;t!==null&&(r[t]?r[t].projectionNext=i:n[t]=i,r[t]=i)}i=i.next}}}function ɵɵprojection(e,t=0,n,r,i,a){let o=getLView(),s=getTView(),c=r?e+1:null;c!==null&&declareNoDirectiveHostTemplate(o,s,c,r,i,a,null,n);let l=getOrCreateTNode(s,27+e,16,null,n||null);l.projection===null&&(l.projection=t),setCurrentTNodeAsNotParent();let u=!o[6]||isInSkipHydrationBlock$1();o[15][5].projection[l.projection]===null&&c!==null?insertFallbackContent(o,s,c):u&&!isDetachedByI18n(l)&&applyProjection(s,o,l)}function insertFallbackContent(e,t,n){let r=27+n,i=t.data[r],a=e[r],o=findMatchingDehydratedView(a,i.tView.ssrId);addLViewToLContainer(a,createAndRenderEmbeddedLView(e,i,void 0,{dehydratedView:o}),0,shouldAddViewToDom(i,o))}function ɵɵcontentQuery(e,t,n,r){return createContentQuery(e,t,n,r),ɵɵcontentQuery}function ɵɵviewQuery(e,t,n){return createViewQuery(e,t,n),ɵɵviewQuery}function ɵɵqueryRefresh(e){let t=getLView(),n=getTView(),r=getCurrentQueryIndex();setCurrentQueryIndex(r+1);let i=getTQuery(n,r);if(e.dirty&&isCreationMode(t)===((i.metadata.flags&2)==2)){if(i.matches===null)e.reset([]);else{let n=getQueryResults(t,r);e.reset(n,unwrapElementRef),e.notifyOnChanges()}return!0}return!1}function ɵɵloadQuery(){return loadQueryInternal(getLView(),getCurrentQueryIndex())}function ɵɵcontentQuerySignal(e,t,n,r,i){return bindQueryToSignal(t,createContentQuery(e,n,r,i)),ɵɵcontentQuerySignal}function ɵɵviewQuerySignal(e,t,n,r){return bindQueryToSignal(e,createViewQuery(t,n,r)),ɵɵviewQuerySignal}function ɵɵqueryAdvance(e=1){setCurrentQueryIndex(getCurrentQueryIndex()+e)}function ɵɵreference(e){return load(getContextLView(),27+e)}function toTStylingRange(e,t){return e<<17|t<<2}function getTStylingRangePrev(e){return e>>17&32767}function getTStylingRangePrevDuplicate(e){return(e&2)==2}function setTStylingRangePrev(e,t){return e&131071|t<<17}function setTStylingRangePrevDuplicate(e){return e|2}function getTStylingRangeNext(e){return(e&131068)>>2}function setTStylingRangeNext(e,t){return e&-131069|t<<2}function getTStylingRangeNextDuplicate(e){return(e&1)==1}function setTStylingRangeNextDuplicate(e){return e|1}function insertTStylingBinding(e,t,n,r,i,a){let o=a?t.classBindings:t.styleBindings,s=getTStylingRangePrev(o),c=getTStylingRangeNext(o);e[r]=n;let l=!1,u;if(Array.isArray(n)){let e=n;u=e[1],(u===null||keyValueArrayIndexOf(e,u)>0)&&(l=!0)}else u=n;if(i){if(c!==0){let t=getTStylingRangePrev(e[s+1]);e[r+1]=toTStylingRange(t,s),t!==0&&(e[t+1]=setTStylingRangeNext(e[t+1],r)),e[s+1]=setTStylingRangePrev(e[s+1],r)}else e[r+1]=toTStylingRange(s,0),s!==0&&(e[s+1]=setTStylingRangeNext(e[s+1],r)),s=r}else e[r+1]=toTStylingRange(c,0),s===0?s=r:e[c+1]=setTStylingRangeNext(e[c+1],r),c=r;l&&(e[r+1]=setTStylingRangePrevDuplicate(e[r+1])),markDuplicates(e,u,r,!0),markDuplicates(e,u,r,!1),markDuplicateOfResidualStyling(t,u,e,r,a),o=toTStylingRange(s,c),a?t.classBindings=o:t.styleBindings=o}function markDuplicateOfResidualStyling(e,t,n,r,i){let a=i?e.residualClasses:e.residualStyles;a!=null&&typeof t==`string`&&keyValueArrayIndexOf(a,t)>=0&&(n[r+1]=setTStylingRangeNextDuplicate(n[r+1]))}function markDuplicates(e,t,n,r){let i=e[n+1],a=t===null,o=r?getTStylingRangePrev(i):getTStylingRangeNext(i),s=!1;for(;o!==0&&(s===!1||a);){let n=e[o],i=e[o+1];isStylingMatch(n,t)&&(s=!0,e[o+1]=r?setTStylingRangeNextDuplicate(i):setTStylingRangePrevDuplicate(i)),o=r?getTStylingRangePrev(i):getTStylingRangeNext(i)}s&&(e[n+1]=r?setTStylingRangePrevDuplicate(i):setTStylingRangeNextDuplicate(i))}function isStylingMatch(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?keyValueArrayIndexOf(e,t)>=0:!1}function getLastParsedKey(e){return e.substring(G.key,G.keyEnd)}function getLastParsedValue(e){return e.substring(G.value,G.valueEnd)}function parseClassName(e){return resetParserState(e),parseClassNameNext(e,consumeWhitespace(e,0,G.textEnd))}function parseClassNameNext(e,t){let n=G.textEnd;return n===t?-1:(t=G.keyEnd=consumeClassToken(e,G.key=t,n),consumeWhitespace(e,t,n))}function parseStyle(e){return resetParserState(e),parseStyleNext(e,consumeWhitespace(e,0,G.textEnd))}function parseStyleNext(e,t){let n=G.textEnd,r=G.key=consumeWhitespace(e,t,n);return n===r?-1:(r=G.keyEnd=consumeStyleKey(e,r,n),r=consumeSeparator(e,r,n,58),r=G.value=consumeWhitespace(e,r,n),r=G.valueEnd=consumeStyleValue(e,r,n),consumeSeparator(e,r,n,59))}function resetParserState(e){G.key=0,G.keyEnd=0,G.value=0,G.valueEnd=0,G.textEnd=e.length}function consumeWhitespace(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function consumeClassToken(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function consumeStyleKey(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function consumeSeparator(e,t,n,r){return t=consumeWhitespace(e,t,n),t<n&&t++,t}function consumeStyleValue(e,t,n){let r=-1,i=-1,a=-1,o=t,s=o;for(;o<n;){let c=e.charCodeAt(o++);if(c===59)return s;c===34||c===39?s=o=consumeQuotedText(e,c,o,n):t===o-4&&a===85&&i===82&&r===76&&c===40?s=o=consumeQuotedText(e,41,o,n):c>32&&(s=o),a=i,i=r,r=c&-33}return s}function consumeQuotedText(e,t,n,r){let i=-1,a=n;for(;a<r;){let n=e.charCodeAt(a++);if(n==t&&i!==92)return a;i=n==92&&i===92?0:n}throw Error()}function ɵɵstyleProp(e,t,n){return checkStylingProperty(e,t,n,!1),ɵɵstyleProp}function ɵɵclassProp(e,t){return checkStylingProperty(e,t,null,!0),ɵɵclassProp}function ɵɵstyleMap(e){checkStylingMap(styleKeyValueArraySet,styleStringParser,e,!1)}function styleStringParser(e,t){for(let n=parseStyle(t);n>=0;n=parseStyleNext(t,n))styleKeyValueArraySet(e,getLastParsedKey(t),getLastParsedValue(t))}function ɵɵclassMap(e){checkStylingMap(classKeyValueArraySet,classStringParser,e,!0)}function classStringParser(e,t){for(let n=parseClassName(t);n>=0;n=parseClassNameNext(t,n))keyValueArraySet(e,getLastParsedKey(t),!0)}function checkStylingProperty(e,t,n,r){let i=getLView(),a=getTView(),o=incrementBindingIndex(2);if(a.firstUpdatePass&&stylingFirstUpdatePass(a,e,o,r),t!==R&&bindingUpdated(i,o,t)){let s=a.data[getSelectedIndex()];updateStyling(a,s,i,i[11],e,i[o+1]=normalizeSuffix(t,n),r,o)}}function checkStylingMap(e,t,n,r){let i=getTView(),a=incrementBindingIndex(2);i.firstUpdatePass&&stylingFirstUpdatePass(i,null,a,r);let o=getLView();if(n!==R&&bindingUpdated(o,a,n)){let s=i.data[getSelectedIndex()];if(hasStylingInputShadow(s,r)&&!isInHostBindings(i,a)){let e=r?s.classesWithoutHost:s.stylesWithoutHost;e!==null&&(n=concatStringsWithSpace(e,n||``)),setDirectiveInputsWhichShadowsStyling(i,s,o,n,r)}else updateStylingMap(i,s,o,o[11],o[a+1],o[a+1]=toStylingKeyValueArray(e,t,n),r,a)}}function isInHostBindings(e,t){return t>=e.expandoStartIndex}function stylingFirstUpdatePass(e,t,n,r){let i=e.data;if(i[n+1]===null){let a=i[getSelectedIndex()],o=isInHostBindings(e,n);hasStylingInputShadow(a,r)&&t===null&&!o&&(t=!1),t=wrapInStaticStylingKey(i,a,t,r),insertTStylingBinding(i,a,t,n,o,r)}}function wrapInStaticStylingKey(e,t,n,r){let i=getCurrentDirectiveDef(e),a=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=collectStylingFromDirectives(null,e,t,n,r),n=collectStylingFromTAttrs(n,t.attrs,r),a=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==i){if(n=collectStylingFromDirectives(i,e,t,n,r),a===null){let n=getTemplateHeadTStylingKey(e,t,r);n!==void 0&&Array.isArray(n)&&(n=collectStylingFromDirectives(null,e,t,n[1],r),n=collectStylingFromTAttrs(n,t.attrs,r),setTemplateHeadTStylingKey(e,t,r,n))}else a=collectResidual(e,t,r)}}return a!==void 0&&(r?t.residualClasses=a:t.residualStyles=a),n}function getTemplateHeadTStylingKey(e,t,n){let r=n?t.classBindings:t.styleBindings;if(getTStylingRangeNext(r)!==0)return e[getTStylingRangePrev(r)]}function setTemplateHeadTStylingKey(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[getTStylingRangePrev(i)]=r}function collectResidual(e,t,n){let r,i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++){let t=e[a].hostAttrs;r=collectStylingFromTAttrs(r,t,n)}return collectStylingFromTAttrs(r,t.attrs,n)}function collectStylingFromDirectives(e,t,n,r,i){let a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(s===-1?s=n.directiveStart:s++;s<o&&(a=t[s],r=collectStylingFromTAttrs(r,a.hostAttrs,i),a!==e);)s++;return e!==null&&(n.directiveStylingLast=s),r}function collectStylingFromTAttrs(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let a=0;a<t.length;a++){let o=t[a];typeof o==`number`?i=o:i===r&&(Array.isArray(e)||(e=e===void 0?[]:[``,e]),keyValueArraySet(e,o,n?!0:t[++a]))}return e===void 0?null:e}function toStylingKeyValueArray(e,t,n){if(n==null||n===``)return T;let r=[],i=unwrapSafeValue(n);if(Array.isArray(i))for(let t=0;t<i.length;t++)e(r,i[t],!0);else if(i instanceof Set)for(let t of i)e(r,t,!0);else if(typeof i==`object`)for(let t in i)Object.hasOwn(i,t)&&e(r,t,i[t]);else typeof i==`string`&&t(r,i);return r}function styleKeyValueArraySet(e,t,n){keyValueArraySet(e,t,unwrapSafeValue(n))}function classKeyValueArraySet(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&keyValueArraySet(e,r,n)}function updateStylingMap(e,t,n,r,i,a,o,s){i===R&&(i=T);let c=0,l=0,u=0<i.length?i[0]:null,d=0<a.length?a[0]:null;for(;u!==null||d!==null;){let f=c<i.length?i[c+1]:void 0,p=l<a.length?a[l+1]:void 0,m=null,h;u===d?(c+=2,l+=2,f!==p&&(m=d,h=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,h=p),m!==null&&updateStyling(e,t,n,r,m,h,o,s),u=c<i.length?i[c]:null,d=l<a.length?a[l]:null}}function updateStyling(e,t,n,r,i,a,o,s){if(!(t.type&3))return;let c=e.data,l=c[s+1];isStylingValuePresent(getTStylingRangeNextDuplicate(l)?findStylingValue(c,t,n,i,getTStylingRangeNext(l),o):void 0)||(isStylingValuePresent(a)||getTStylingRangePrevDuplicate(l)&&(a=findStylingValue(c,null,n,i,s,o)),applyStyling(r,o,getNativeByIndex(getSelectedIndex(),n),i,a))}function findStylingValue(e,t,n,r,i,a){let o=t===null,s;for(;i>0;){let t=e[i],a=Array.isArray(t),c=a?t[1]:t,l=c===null,u=n[i+1];u===R&&(u=l?T:void 0);let d=l?keyValueArrayGet(u,r):c===r?u:void 0;if(a&&!isStylingValuePresent(d)&&(d=keyValueArrayGet(t,r)),isStylingValuePresent(d)&&(s=d,o))return s;let f=e[i+1];i=o?getTStylingRangePrev(f):getTStylingRangeNext(f)}if(t!==null){let e=a?t.residualClasses:t.residualStyles;e!=null&&(s=keyValueArrayGet(e,r))}return s}function isStylingValuePresent(e){return e!==void 0}function normalizeSuffix(e,t){return e==null||e===``||(typeof t==`string`?e=unwrapSafeValue(e)+t:typeof e==`object`&&(e=stringify(unwrapSafeValue(e)))),e}function hasStylingInputShadow(e,t){return!!(e.flags&(t?8:16))}function ɵɵtext(e,t=``){let n=getLView(),r=getTView(),i=e+27,a=r.firstCreatePass?getOrCreateTNode(r,i,1,t,null):r.data[i],o=_locateOrCreateTextNode(r,n,a,t);n[i]=o,wasLastNodeCreated()&&appendChild(r,n,o,a),setCurrentTNode(a,!1)}function locateOrCreateTextNodeImpl(e,t,n,r){let i=!canHydrateNode(t,n);if(lastNodeWasCreated(i),i)return createTextNode(t[11],r);let a=t[6];return locateNextRNode(a,e,t,n)}function enableLocateOrCreateTextNodeImpl(){_locateOrCreateTextNode=locateOrCreateTextNodeImpl}function interpolationV(e,t){let n=!1,r=getBindingIndex();for(let i=1;i<t.length;i+=2)n=bindingUpdated(e,r++,t[i])||n;if(setBindingIndex(r),!n)return R;let i=t[0];for(let e=1;e<t.length;e+=2)i+=renderStringify(t[e])+(e+1===t.length?``:t[e+1]);return i}function interpolation1(e,t,n,r=``){return bindingUpdated(e,nextBindingIndex(),n)?t+renderStringify(n)+r:R}function interpolation2(e,t,n,r,i,a=``){let o=bindingUpdated2(e,getBindingIndex(),n,i);return incrementBindingIndex(2),o?t+renderStringify(n)+r+renderStringify(i)+a:R}function interpolation3(e,t,n,r,i,a,o,s=``){let c=bindingUpdated3(e,getBindingIndex(),n,i,o);return incrementBindingIndex(3),c?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s:R}function interpolation4(e,t,n,r,i,a,o,s,c,l=``){let u=bindingUpdated4(e,getBindingIndex(),n,i,o,c);return incrementBindingIndex(4),u?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l:R}function interpolation5(e,t,n,r,i,a,o,s,c,l,u,d=``){let f=getBindingIndex(),p=bindingUpdated4(e,f,n,i,o,c);return p=bindingUpdated(e,f+4,u)||p,incrementBindingIndex(5),p?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d:R}function interpolation6(e,t,n,r,i,a,o,s,c,l,u,d,f,p=``){let m=getBindingIndex(),h=bindingUpdated4(e,m,n,i,o,c);return h=bindingUpdated2(e,m+4,u,f)||h,incrementBindingIndex(6),h?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d+renderStringify(f)+p:R}function interpolation7(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h=``){let g=getBindingIndex(),_=bindingUpdated4(e,g,n,i,o,c);return _=bindingUpdated3(e,g+4,u,f,m)||_,incrementBindingIndex(7),_?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d+renderStringify(f)+p+renderStringify(m)+h:R}function interpolation8(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_=``){let v=getBindingIndex(),y=bindingUpdated4(e,v,n,i,o,c);return y=bindingUpdated4(e,v+4,u,f,m,g)||y,incrementBindingIndex(8),y?t+renderStringify(n)+r+renderStringify(i)+a+renderStringify(o)+s+renderStringify(c)+l+renderStringify(u)+d+renderStringify(f)+p+renderStringify(m)+h+renderStringify(g)+_:R}function ɵɵtextInterpolate(e){return ɵɵtextInterpolate1(``,e),ɵɵtextInterpolate}function ɵɵtextInterpolate1(e,t,n){let r=getLView(),i=interpolation1(r,e,t,n);return i!==R&&textBindingInternal(r,getSelectedIndex(),i),ɵɵtextInterpolate1}function ɵɵtextInterpolate2(e,t,n,r,i){let a=getLView(),o=interpolation2(a,e,t,n,r,i);return o!==R&&textBindingInternal(a,getSelectedIndex(),o),ɵɵtextInterpolate2}function ɵɵtextInterpolate3(e,t,n,r,i,a,o){let s=getLView(),c=interpolation3(s,e,t,n,r,i,a,o);return c!==R&&textBindingInternal(s,getSelectedIndex(),c),ɵɵtextInterpolate3}function ɵɵtextInterpolate4(e,t,n,r,i,a,o,s,c){let l=getLView(),u=interpolation4(l,e,t,n,r,i,a,o,s,c);return u!==R&&textBindingInternal(l,getSelectedIndex(),u),ɵɵtextInterpolate4}function ɵɵtextInterpolate5(e,t,n,r,i,a,o,s,c,l,u){let d=getLView(),f=interpolation5(d,e,t,n,r,i,a,o,s,c,l,u);return f!==R&&textBindingInternal(d,getSelectedIndex(),f),ɵɵtextInterpolate5}function ɵɵtextInterpolate6(e,t,n,r,i,a,o,s,c,l,u,d,f){let p=getLView(),m=interpolation6(p,e,t,n,r,i,a,o,s,c,l,u,d,f);return m!==R&&textBindingInternal(p,getSelectedIndex(),m),ɵɵtextInterpolate6}function ɵɵtextInterpolate7(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){let h=getLView(),g=interpolation7(h,e,t,n,r,i,a,o,s,c,l,u,d,f,p,m);return g!==R&&textBindingInternal(h,getSelectedIndex(),g),ɵɵtextInterpolate7}function ɵɵtextInterpolate8(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){let _=getLView(),v=interpolation8(_,e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g);return v!==R&&textBindingInternal(_,getSelectedIndex(),v),ɵɵtextInterpolate8}function ɵɵtextInterpolateV(e){let t=getLView(),n=interpolationV(t,e);return n!==R&&textBindingInternal(t,getSelectedIndex(),n),ɵɵtextInterpolateV}function textBindingInternal(e,t,n){let r=getNativeByIndex(t,e);updateTextNode(e[11],r,n)}function ɵɵtwoWayProperty(e,t,n){isWritableSignal(t)&&(t=t());let r=getLView();return bindingUpdated(r,nextBindingIndex(),t)&&(getTView(),setPropertyAndInputs(getSelectedTNode(),r,e,t,r[11],n)),ɵɵtwoWayProperty}function ɵɵtwoWayBindingSet(e,t){let n=isWritableSignal(e);return n&&e.set(t),n}function ɵɵtwoWayListener(e,t){let n=getLView(),r=getTView(),i=getCurrentTNode();return listenerInternal(r,n,n[11],i,e,t),ɵɵtwoWayListener}function ɵɵdeclareLet(e){performanceMarkFeature(`NgLet`);let t=getTView(),n=getLView(),r=e+27;return setCurrentTNode(getOrCreateTNode(t,r,128,null,null),!1),store(t,n,r,Na),ɵɵdeclareLet}function ɵɵstoreLet(e){return store(getTView(),getLView(),getSelectedIndex(),e),e}function ɵɵreadContextLet(e){let t=load(getContextLView(),27+e);if(t===Na)throw new RuntimeError(314,!1);return t}function ɵɵattachSourceLocations(e,t){let n=getTView(),r=getLView(),i=r[11],a=`data-ng-source-location`;for(let[o,s,c,l]of t){getTNode(n,o+27);let t=getNativeByIndex(o+27,r);if(!t.hasAttribute(a)){let n=`${e}@o:${s},l:${c},c:${l}`;i.setAttribute(t,a,n)}}}function ɵɵinterpolate(e){return bindingUpdated(getLView(),nextBindingIndex(),e)?renderStringify(e):R}function ɵɵinterpolate1(e,t,n=``){return interpolation1(getLView(),e,t,n)}function ɵɵinterpolate2(e,t,n,r,i=``){return interpolation2(getLView(),e,t,n,r,i)}function ɵɵinterpolate3(e,t,n,r,i,a,o=``){return interpolation3(getLView(),e,t,n,r,i,a,o)}function ɵɵinterpolate4(e,t,n,r,i,a,o,s,c=``){return interpolation4(getLView(),e,t,n,r,i,a,o,s,c)}function ɵɵinterpolate5(e,t,n,r,i,a,o,s,c,l,u=``){return interpolation5(getLView(),e,t,n,r,i,a,o,s,c,l,u)}function ɵɵinterpolate6(e,t,n,r,i,a,o,s,c,l,u,d,f=``){return interpolation6(getLView(),e,t,n,r,i,a,o,s,c,l,u,d,f)}function ɵɵinterpolate7(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m=``){return interpolation7(getLView(),e,t,n,r,i,a,o,s,c,l,u,d,f,p,m)}function ɵɵinterpolate8(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=``){return interpolation8(getLView(),e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g)}function ɵɵinterpolateV(e){return interpolationV(getLView(),e)}function ɵɵarrowFunction(e,t,n){let r=getBindingRoot()+e,i=getLView();return i[r]===R?updateBinding(i,r,t(n,i)):getBinding(i,r)}function providersResolver(e,t,n){let r=getTView();r.firstCreatePass&&resolveProvider(t,r.data,r.blueprint,isComponentDef(e),n)}function resolveProvider(e,t,n,r,i){if(e=resolveForwardRef(e),Array.isArray(e))for(let a=0;a<e.length;a++)resolveProvider(e[a],t,n,r,i);else{let a=getTView(),o=getLView(),s=getCurrentTNode(),c=isTypeProvider(e)?e:resolveForwardRef(e.provide),l=providerToFactory(e),u=s.providerIndexes&1048575,d=s.directiveStart,f=s.providerIndexes>>20;if(isTypeProvider(e)||!e.multi){let r=new NodeInjectorFactory(l,i,ɵɵdirectiveInject,null),p=indexOf(c,t,i?u:u+f,d);p===-1?(diPublicInInjector(getOrCreateNodeInjectorForNode(s,o),a,c),registerDestroyHooksIfSupported(a,e,t.length),t.push(c),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{let p=indexOf(c,t,u+f,d),m=indexOf(c,t,u,u+f),h=p>=0&&n[p],g=m>=0&&n[m];if(i&&!g||!i&&!h){diPublicInInjector(getOrCreateNodeInjectorForNode(s,o),a,c);let u=multiFactory(i?multiViewProvidersFactoryResolver:multiProvidersFactoryResolver,n.length,i,r,l,e);!i&&g&&(n[m].providerFactory=u),registerDestroyHooksIfSupported(a,e,t.length,0),t.push(c),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(u),o.push(u)}else{let t=multiFactoryAdd(n[i?m:p],l,!i&&r);registerDestroyHooksIfSupported(a,e,p>-1?p:m,t)}!i&&r&&g&&n[m].componentProviders++}}}function registerDestroyHooksIfSupported(e,t,n,r){let i=isTypeProvider(t),a=isClassProvider(t);if(i||a){let o=(a?resolveForwardRef(t.useClass):t).prototype.ngOnDestroy;if(o){let a=e.destroyHooks||=[];if(!i&&t.multi){let e=a.indexOf(n);e===-1?a.push(n,[r,o]):a[e+1].push(r,o)}else a.push(n,o)}}}function multiFactoryAdd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function indexOf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function multiProvidersFactoryResolver(e,t,n,r,i){return multiResolve(this.multi,[])}function multiViewProvidersFactoryResolver(e,t,n,r,i){let a=this.multi,o;if(this.providerFactory){let e=this.providerFactory.componentProviders,t=getNodeInjectable(r,r[1],this.providerFactory.index,i);o=t.slice(0,e),multiResolve(a,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],multiResolve(a,o);return o}function multiResolve(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function multiFactory(e,t,n,r,i,a){let o=new NodeInjectorFactory(e,n,ɵɵdirectiveInject,null);return o.multi=[],o.index=t,o.componentProviders=0,multiFactoryAdd(o,i,r&&!n),o}function ɵɵProvidersFeature(e,t){return n=>{n.providersResolver=(t,n)=>providersResolver(t,n?n(e):e,!1),t&&(n.viewProvidersResolver=(e,n)=>providersResolver(e,n?n(t):t,!0))}}function ɵɵExternalStylesFeature(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(e=>e+`?ngcomp`+(n?`=`+encodeURIComponent(n):``)+`&e=`+t.encapsulation))}}function ɵɵsetComponentScope(e,t,n){let r=e.ɵcmp;r.directiveDefs=extractDefListOrFactory(t,extractDirectiveDef),r.pipeDefs=extractDefListOrFactory(n,getPipeDef$1)}function ɵɵsetNgModuleScope(e,t){return noSideEffects(()=>{let n=getNgModuleDefOrThrow(e);n.declarations=convertToTypeArray(t.declarations||T),n.imports=convertToTypeArray(t.imports||T),n.exports=convertToTypeArray(t.exports||T),t.bootstrap&&(n.bootstrap=convertToTypeArray(t.bootstrap)),ei.registerNgModule(e,t)})}function convertToTypeArray(e){if(typeof e==`function`)return e;let t=flatten(e);return t.some(isForwardRef)?()=>t.map(resolveForwardRef).map(maybeUnwrapModuleWithProviders):t.map(maybeUnwrapModuleWithProviders)}function maybeUnwrapModuleWithProviders(e){return isModuleWithProviders(e)?e.ngModule:e}function createDehydratedBlockRegistry(){return _dehydratedBlockRegistryFactory()}function runIncrementalHydrationBootstrap(e){e.requested&&e.activated&&_runIncrementalHydrationBootstrap(e.injector,e.document)}function ɵɵenableIncrementalHydrationRuntime(){Pa||(Pa=!0,enableRetrieveDeferBlockDataImpl(),performanceMarkFeature(`NgIncrementalHydration`),_dehydratedBlockRegistryFactory=()=>new In,_runIncrementalHydrationBootstrap=(e,t)=>{processAndInitTriggers(e,processBlockData(e),gatherDeferBlocksCommentNodes(t,t.body)),appendDeferBlocksToJSActionMap(t,e)});{let e=getLView()[9].get(Fa,null,{optional:!0});e!==null&&!e.activated&&(e.activated=!0,runIncrementalHydrationBootstrap(e))}}function resetIncrementalHydrationRuntimeForTests(){Pa=!1,_dehydratedBlockRegistryFactory=()=>null,_runIncrementalHydrationBootstrap=()=>{}}function ɵɵpureFunction0(e,t){let n=getBindingRoot()+e,r=getLView();return r[n]===R?updateBinding(r,n,t()):getBinding(r,n)}function ɵɵpureFunction1(e,t,n){return pureFunction1Internal(getLView(),getBindingRoot(),e,t,n)}function ɵɵpureFunction2(e,t,n,r){return pureFunction2Internal(getLView(),getBindingRoot(),e,t,n,r)}function ɵɵpureFunction3(e,t,n,r,i){return pureFunction3Internal(getLView(),getBindingRoot(),e,t,n,r,i)}function ɵɵpureFunction4(e,t,n,r,i,a,o){return pureFunction4Internal(getLView(),getBindingRoot(),e,t,n,r,i,a)}function ɵɵpureFunction5(e,t,n,r,i,a,o){let s=getBindingRoot()+e,c=getLView(),l=bindingUpdated4(c,s,n,r,i,a);return bindingUpdated(c,s+4,o)||l?updateBinding(c,s+5,t(n,r,i,a,o)):getBinding(c,s+5)}function ɵɵpureFunction6(e,t,n,r,i,a,o,s){let c=getBindingRoot()+e,l=getLView(),u=bindingUpdated4(l,c,n,r,i,a);return bindingUpdated2(l,c+4,o,s)||u?updateBinding(l,c+6,t(n,r,i,a,o,s)):getBinding(l,c+6)}function ɵɵpureFunction7(e,t,n,r,i,a,o,s,c){let l=getBindingRoot()+e,u=getLView(),d=bindingUpdated4(u,l,n,r,i,a);return bindingUpdated3(u,l+4,o,s,c)||d?updateBinding(u,l+7,t(n,r,i,a,o,s,c)):getBinding(u,l+7)}function ɵɵpureFunction8(e,t,n,r,i,a,o,s,c,l){let u=getBindingRoot()+e,d=getLView(),f=bindingUpdated4(d,u,n,r,i,a);return bindingUpdated4(d,u+4,o,s,c,l)||f?updateBinding(d,u+8,t(n,r,i,a,o,s,c,l)):getBinding(d,u+8)}function ɵɵpureFunctionV(e,t,n){return pureFunctionVInternal(getLView(),getBindingRoot(),e,t,n)}function getPureFunctionReturnValue(e,t){let n=e[t];return n===R?void 0:n}function pureFunction1Internal(e,t,n,r,i,a){let o=t+n;return bindingUpdated(e,o,i)?updateBinding(e,o+1,a?r.call(a,i):r(i)):getPureFunctionReturnValue(e,o+1)}function pureFunction2Internal(e,t,n,r,i,a,o){let s=t+n;return bindingUpdated2(e,s,i,a)?updateBinding(e,s+2,o?r.call(o,i,a):r(i,a)):getPureFunctionReturnValue(e,s+2)}function pureFunction3Internal(e,t,n,r,i,a,o,s){let c=t+n;return bindingUpdated3(e,c,i,a,o)?updateBinding(e,c+3,s?r.call(s,i,a,o):r(i,a,o)):getPureFunctionReturnValue(e,c+3)}function pureFunction4Internal(e,t,n,r,i,a,o,s,c){let l=t+n;return bindingUpdated4(e,l,i,a,o,s)?updateBinding(e,l+4,c?r.call(c,i,a,o,s):r(i,a,o,s)):getPureFunctionReturnValue(e,l+4)}function pureFunctionVInternal(e,t,n,r,i,a){let o=t+n,s=!1;for(let t=0;t<i.length;t++)bindingUpdated(e,o++,i[t])&&(s=!0);return s?updateBinding(e,o,r.apply(a,i)):getPureFunctionReturnValue(e,o)}function ɵɵpipe(e,t){let n=getTView(),r,i=e+27;n.firstCreatePass?(r=getPipeDef(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let a=r.factory||(r.factory=getFactoryDef(r.type,!0)),o=setInjectImplementation(ɵɵdirectiveInject);try{let e=setIncludeViewProviders(!1),t=a();return setIncludeViewProviders(e),store(n,getLView(),i,t),t}finally{setInjectImplementation(o)}}function getPipeDef(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function ɵɵpipeBind1(e,t,n){let r=e+27,i=getLView(),a=load(i,r);return isPure(i,r)?pureFunction1Internal(i,getBindingRoot(),t,a.transform,n,a):a.transform(n)}function ɵɵpipeBind2(e,t,n,r){let i=e+27,a=getLView(),o=load(a,i);return isPure(a,i)?pureFunction2Internal(a,getBindingRoot(),t,o.transform,n,r,o):o.transform(n,r)}function ɵɵpipeBind3(e,t,n,r,i){let a=e+27,o=getLView(),s=load(o,a);return isPure(o,a)?pureFunction3Internal(o,getBindingRoot(),t,s.transform,n,r,i,s):s.transform(n,r,i)}function ɵɵpipeBind4(e,t,n,r,i,a){let o=e+27,s=getLView(),c=load(s,o);return isPure(s,o)?pureFunction4Internal(s,getBindingRoot(),t,c.transform,n,r,i,a,c):c.transform(n,r,i,a)}function ɵɵpipeBindV(e,t,n){let r=e+27,i=getLView(),a=load(i,r);return isPure(i,r)?pureFunctionVInternal(i,getBindingRoot(),t,a.transform,n,a):a.transform.apply(a,n)}function isPure(e,t){return e[1].data[t].pure}function ɵɵtemplateRefExtractor(e,t){return createTemplateRef(e,t)}function ɵɵgetComponentDepsFactory(e,t){return()=>{try{return ei.getComponentDependencies(e,t).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,t),t}}}function ɵsetClassDebugInfo(e,t){let n=getComponentDef(e);n!==null&&(n.debugInfo=t)}function ɵɵgetReplaceMetadataURL(e,t,n){let r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}function ɵɵreplaceMetadata(e,t,n,r,i=null,a=null){let o=getComponentDef(e);t.apply(null,[e,n,...r]);let{newDef:s,oldDef:c}=mergeWithExistingDefinition(o,getComponentDef(e));if(e[Ce]=s,c.tView){let e=getTrackedLViews().values();for(let t of e)isRootView(t)&&t[3]===null&&recreateMatchingLViews(i,a,s,c,t)}}function mergeWithExistingDefinition(e,t){let n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}function recreateMatchingLViews(e,t,n,r,i){let a=i[1];if(a===r.tView){recreateLView(e,t,n,r,i);return}for(let o=27;o<a.bindingStartIndex;o++){let a=i[o];if(isLContainer(a)){isLView(a[0])&&recreateMatchingLViews(e,t,n,r,a[0]);for(let i=10;i<a.length;i++)recreateMatchingLViews(e,t,n,r,a[i])}else isLView(a)&&recreateMatchingLViews(e,t,n,r,a)}}function clearRendererCache(e,t){e.componentReplaced?.(t.id)}function recreateLView(e,t,n,r,i){let a=i[8],o=i[0],s=i[3],c=i[5],l=i[9].get(M,null),recreate=()=>{if(r.encapsulation===L.ShadowDom||r.encapsulation===L.ExperimentalIsolatedShadowDom){let e=o.cloneNode(!1);o.replaceWith(e),o=e}let e=getOrCreateComponentTView(n),t=createLView(s,e,a,getInitialLViewFlagsFromDef(n),o,c,null,null,null,null,null);replaceLViewInTree(s,i,t,c.index),destroyLView(i[1],i),cleanupLView(i);let l=i[10].rendererFactory;clearRendererCache(l,r),t[11]=l.createRenderer(o,n),removeViewFromDOM(i[1],i),resetProjectionState(c),renderView(e,t,a),refreshView(e,t,e.template,a)};l===null?executeWithInvalidateFallback(e,t,recreate):l.run(()=>executeWithInvalidateFallback(e,t,recreate))}function executeWithInvalidateFallback(e,t,n){try{n()}catch(n){let r=n;if(t!==null&&r.message){let n=r.message+(r.stack?`
22
+ `+r.stack:``);e?.hot?.send?.(`angular:invalidate`,{id:t,message:n,error:!0})}throw n}}function replaceLViewInTree(e,t,n,r){for(let r=27;r<e[1].bindingStartIndex;r++){let i=e[r];if((isLView(i)||isLContainer(i))&&i[4]===t){i[4]=n;break}}e[12]===t&&(e[12]=n),e[13]===t&&(e[13]=n),n[4]=t[4],t[4]=null,e[r]=n}function resetProjectionState(e){if(e.projection!==null){for(let t of e.projection)isTNodeShape(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}function getJitOptions(){return Ia}function resetJitOptions(){Ia=null}function enqueueModuleForDelayedScoping(e,t){La.push({moduleType:e,ngModule:t})}function flushModuleScopingQueueAsMuchAsPossible(){if(!Ra){Ra=!0;try{for(let e=La.length-1;e>=0;e--){let{moduleType:t,ngModule:n}=La[e];n.declarations&&n.declarations.every(isResolvedDeclaration)&&(La.splice(e,1),setScopeOnDeclaredComponents(t,n))}}finally{Ra=!1}}}function isResolvedDeclaration(e){return Array.isArray(e)?e.every(isResolvedDeclaration):!!resolveForwardRef(e)}function compileNgModule(e,t={}){compileNgModuleDefs(e,t),t.id!==void 0&&registerNgModuleType(e,t.id),enqueueModuleForDelayedScoping(e,t)}function compileNgModuleDefs(e,t,n=!1){let r=flatten(t.declarations||T),i=null;Object.defineProperty(e,Ee,{configurable:!0,get:()=>(i===null&&(i=getCompilerFacade({usage:0,kind:`NgModule`,type:e}).compileNgModule(K,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:flatten(t.bootstrap||T).map(resolveForwardRef),declarations:r.map(resolveForwardRef),imports:flatten(t.imports||T).map(resolveForwardRef).map(expandModuleWithProviders),exports:flatten(t.exports||T).map(resolveForwardRef).map(expandModuleWithProviders),schemas:t.schemas?flatten(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let a=null;Object.defineProperty(e,C,{get:()=>{if(a===null){let t=getCompilerFacade({usage:0,kind:`NgModule`,type:e});a=t.compileFactory(K,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:reflectDependencies(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return a},configurable:!1});let o=null;Object.defineProperty(e,xe,{get:()=>{if(o===null){let n={name:e.name,type:e,providers:t.providers||T,imports:[(t.imports||T).map(resolveForwardRef),(t.exports||T).map(resolveForwardRef)]};o=getCompilerFacade({usage:0,kind:`NgModule`,type:e}).compileInjector(K,`ng:///${e.name}/ɵinj.js`,n)}return o},configurable:!1})}function generateStandaloneInDeclarationsError(e,t){return`${`Unexpected "${stringifyForError(e)}" found in the "declarations" array of the`} ${t}, ${`"${stringifyForError(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}`}function resetCompiledComponents(){La.length=0,_i.clear()}function setScopeOnDeclaredComponents(e,t){let n=flatten(t.declarations||T),r=transitiveScopesFor(e);n.forEach(t=>{t=resolveForwardRef(t),Object.hasOwn(t,Ce)?patchComponentDefWithScope(getComponentDef(t),r):!Object.hasOwn(t,we)&&!Object.hasOwn(t,Te)&&(t.ngSelectorScope=e)})}function patchComponentDefWithScope(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>Object.hasOwn(e,Ce)?getComponentDef(e):getDirectiveDef(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>getPipeDef$1(e)),e.schemas=t.schemas,e.tView=null}function transitiveScopesFor(e){if(isNgModule(e)){let t=ei.getNgModuleScope(e);return{schemas:getNgModuleDefOrThrow(e).schemas||null,...t}}if(isStandalone(e)){if((getComponentDef(e)||getDirectiveDef(e))!==null)return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(getPipeDef$1(e)!==null)return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw Error(`${e.name} does not have a module def (ɵmod property)`)}function expandModuleWithProviders(e){return isModuleWithProviders(e)?e.ngModule:e}function compileComponent(e,t){let n=null;maybeQueueResolutionOfComponentResources(e,t),addDirectiveFactoryDef(e,t),Object.defineProperty(e,Ce,{get:()=>{if(n===null){let r=getCompilerFacade({usage:0,kind:`component`,type:e});if(t.foreignImports!==void 0)throw Error(`Foreign components are not supported in JIT mode. Component '${e.name}' cannot specify 'foreignImports'.`);if(componentNeedsResolution(t)){let n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&n.push(` - styleUrl: ${t.styleUrl}`),n.push(`Did you run and wait for 'resolveComponentResources()'?`),Error(n.join(`
23
+ `))}let i=getJitOptions(),a=t.preserveWhitespaces;a===void 0&&(a=i!==null&&i.preserveWhitespaces!==void 0&&i.preserveWhitespaces);let o=t.encapsulation;o===void 0&&(o=i!==null&&i.defaultEncapsulation!==void 0?i.defaultEncapsulation:L.Emulated);let s=t.templateUrl||`ng:///${e.name}/template.html`,c=directiveMetadata(e,t),l={...c,typeSourceSpan:r.createParseSourceSpan(`Component`,e.name,s),template:t.template||``,preserveWhitespaces:a,styles:typeof t.styles==`string`?[t.styles]:t.styles||T,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:o,viewProviders:t.viewProviders||null,hasDirectiveDependencies:!c.isStandalone||t.imports!=null&&t.imports.length>0};za++;try{if(l.usesInheritance&&addDirectiveDefToUndecoratedParents(e),n=r.compileComponent(K,s,l),l.isStandalone){let r=flatten(t.imports||T),{directiveDefs:i,pipeDefs:a}=getStandaloneDefFunctions(e,r);n.directiveDefs=i,n.pipeDefs=a,n.dependencies=()=>r.map(resolveForwardRef)}}finally{za--}if(za===0&&flushModuleScopingQueueAsMuchAsPossible(),hasSelectorScope(e)){let t=transitiveScopesFor(e.ngSelectorScope);patchComponentDefWithScope(n,t)}if(t.schemas){if(l.isStandalone)n.schemas=t.schemas;else throw Error(`The 'schemas' was specified for the ${stringifyForError(e)} but is only valid on a component that is standalone.`)}else l.isStandalone&&(n.schemas=[])}return n},set:e=>{n=e},configurable:!1})}function getStandaloneDefFunctions(e,t){let directiveDefs=()=>isComponent(e)?[...ei.getStandaloneComponentScope(e,t).compilation.directives].map(e=>getComponentDef(e)||getDirectiveDef(e)).filter(e=>e!==null):[],pipeDefs=()=>isComponent(e)?[...ei.getStandaloneComponentScope(e,t).compilation.pipes].map(e=>getPipeDef$1(e)).filter(e=>e!==null):[];return{directiveDefs,pipeDefs}}function hasSelectorScope(e){return e.ngSelectorScope!==void 0}function compileDirective(e,t){let n=null;addDirectiveFactoryDef(e,t||{}),Object.defineProperty(e,we,{get:()=>{if(n===null){let r=getDirectiveMetadata(e,t||{});n=getCompilerFacade({usage:0,kind:`directive`,type:e}).compileDirective(K,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function getDirectiveMetadata(e,t){let n=e&&e.name,r=`ng:///${n}/ɵdir.js`,i=getCompilerFacade({usage:0,kind:`directive`,type:e}),a=directiveMetadata(e,t);return a.typeSourceSpan=i.createParseSourceSpan(`Directive`,n,r),a.usesInheritance&&addDirectiveDefToUndecoratedParents(e),{metadata:a,sourceMapUrl:r}}function addDirectiveFactoryDef(e,t){let n=null;Object.defineProperty(e,C,{get:()=>{if(n===null){let r=getDirectiveMetadata(e,t),i=getCompilerFacade({usage:0,kind:`directive`,type:e});n=i.compileFactory(K,`ng:///${e.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:reflectDependencies(e),target:i.FactoryTarget.Directive})}return n},configurable:!1})}function extendsDirectlyFromObject(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function directiveMetadata(e,t){let n=getReflect(),r=n.ownPropMetadata(e);return{name:e.name,legacyOptionalChaining:!1,type:e,selector:t.selector===void 0?null:t.selector,host:t.host||Fe,propMetadata:r,inputs:t.inputs||T,outputs:t.outputs||T,queries:extractQueriesMetadata(e,r,isContentQuery),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,`ngOnChanges`)},controlCreate:n.hasLifecycleHook(e,`ɵngControlCreate`)?{passThroughInput:null}:null,typeSourceSpan:null,usesInheritance:!extendsDirectlyFromObject(e),exportAs:extractExportAs(t.exportAs),providers:t.providers||null,viewQueries:extractQueriesMetadata(e,r,isViewQuery),isStandalone:t.standalone===void 0||!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(e=>typeof e==`function`?{directive:e}:e)||null}}function addDirectiveDefToUndecoratedParents(e){let t=Object.prototype,n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!getDirectiveDef(n)&&!getComponentDef(n)&&shouldAddAbstractDirective(n)&&compileDirective(n,null),n=Object.getPrototypeOf(n)}function convertToR3QueryPredicate(e){return typeof e==`string`?splitByComma(e):resolveForwardRef(e)}function convertToR3QueryMetadata(e,t){return{propertyName:e,predicate:convertToR3QueryPredicate(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly,isSignal:!!t.isSignal}}function extractQueriesMetadata(e,t,n){let r=[],i=[];for(let a in t)if(Object.hasOwn(t,a)){let o=t[a];o.forEach(t=>{if(n(t)){if(!t.selector)throw Error(`Can't construct a query for the property "${a}" of "${stringifyForError(e)}" since the query selector wasn't defined.`);if(o.some(isInputAnnotation))throw Error(`Cannot combine @Input decorators with query decorators`);let n=convertToR3QueryMetadata(a,t);n.isSignal?r.push(n):i.push(n)}})}return[...r,...i]}function extractExportAs(e){return e===void 0?null:splitByComma(e)}function isContentQuery(e){let t=e.ngMetadataName;return t===`ContentChild`||t===`ContentChildren`}function isViewQuery(e){let t=e.ngMetadataName;return t===`ViewChild`||t===`ViewChildren`}function isInputAnnotation(e){return e.ngMetadataName===`Input`}function splitByComma(e){return e.split(`,`).map(e=>e.trim())}function shouldAddAbstractDirective(e){let t=getReflect();if(Ba.some(n=>t.hasLifecycleHook(e,n)))return!0;let n=t.propMetadata(e);for(let e in n){let t=n[e];for(let e=0;e<t.length;e++){let n=t[e],r=n.ngMetadataName;if(isInputAnnotation(n)||isContentQuery(n)||isViewQuery(n)||r===`Output`||r===`HostBinding`||r===`HostListener`)return!0}}return!1}function compilePipe(e,t){let n=null,r=null;Object.defineProperty(e,C,{get:()=>{if(r===null){let n=getPipeMetadata(e,t),i=getCompilerFacade({usage:0,kind:`pipe`,type:n.type});r=i.compileFactory(K,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:reflectDependencies(e),target:i.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,Te,{get:()=>{if(n===null){let r=getPipeMetadata(e,t);n=getCompilerFacade({usage:0,kind:`pipe`,type:r.type}).compilePipe(K,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!1})}function getPipeMetadata(e,t){return{type:e,name:e.name,pipeName:t.name,pure:t.pure===void 0||t.pure,isStandalone:t.standalone===void 0||!!t.standalone}}function provideZonelessChangeDetection(){return performanceMarkFeature(`NgZoneless`),makeEnvironmentProviders([...provideZonelessChangeDetectionInternal(),[]])}function provideZonelessChangeDetectionInternal(){return[{provide:ChangeDetectionScheduler,useExisting:Ya},{provide:M,useClass:NoopNgZone},{provide:ht,useValue:!0}]}function getGlobalLocale(){return typeof $localize<`u`&&$localize.locale||`en-US`}function getDeferBlocks(e,t){let n=e[1];for(let r=27;r<n.bindingStartIndex;r++)if(isLContainer(e[r])){let i=e[r];if(r!==n.bindingStartIndex-1){let a=n.data[r],o=getTDeferBlockDetails(n,a);if(isTDeferBlockDetails(o)){t.push({lContainer:i,lView:e,tNode:a,tDetails:o});continue}}isLView(i[0])&&getDeferBlocks(i[0],t);for(let e=10;e<i.length;e++)getDeferBlocks(i[e],t)}else isLView(e[r])&&getDeferBlocks(e[r],t)}function asNativeElements(e){return e.map(e=>e.nativeElement)}function copyDomProperties(e,t){if(e){let n=Object.getPrototypeOf(e),r=Node.prototype;for(;n!==null&&n!==r;){let r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith(`__`)&&!n.startsWith(`on`)){let r=e[n];isPrimitiveValue(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}function isPrimitiveValue(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`||e===null}function _queryAll(e,t,n,r){let i=getLContext(e.nativeNode),a=i?i.lView:null;if(a!==null){let o=a[1].data[i.nodeIndex];_queryNodeChildren(o,a,t,n,r,e.nativeNode)}else _queryNativeNodeDescendants(e.nativeNode,t,n,r)}function _queryNodeChildren(e,t,n,r,i,a){let o=getNativeByTNodeOrNull(e,t);if(e.type&11){if(_addQueryMatch(o,n,r,i,a),isComponentHost(e)){let o=getComponentLViewByIndex(e.index,t);o&&o[1].firstChild&&_queryNodeChildren(o[1].firstChild,o,n,r,i,a)}else e.child&&_queryNodeChildren(e.child,t,n,r,i,a),o&&_queryNativeNodeDescendants(o,n,r,i);let s=t[e.index];isLContainer(s)&&_queryNodeChildrenInContainer(s,n,r,i,a)}else if(e.type&4){let o=t[e.index];_addQueryMatch(o[7],n,r,i,a),_queryNodeChildrenInContainer(o,n,r,i,a)}else if(e.type&16){let o=t[15],s=o[5].projection[e.projection];if(Array.isArray(s))for(let e of s)_addQueryMatch(e,n,r,i,a);else if(s){let e=o[3],t=e[1].data[s.index];_queryNodeChildren(t,e,n,r,i,a)}}else e.child&&_queryNodeChildren(e.child,t,n,r,i,a);if(a!==o){let o=e.flags&2?e.projectionNext:e.next;o&&_queryNodeChildren(o,t,n,r,i,a)}}function _queryNodeChildrenInContainer(e,t,n,r,i){for(let a=10;a<e.length;a++){let o=e[a],s=o[1].firstChild;s&&_queryNodeChildren(s,o,t,n,r,i)}}function _addQueryMatch(e,t,n,r,i){if(i!==e){let i=getDebugNode(e);if(!i)return;(r&&i instanceof DebugElement&&t(i)&&n.indexOf(i)===-1||!r&&t(i)&&n.indexOf(i)===-1)&&n.push(i)}}function _queryNativeNodeDescendants(e,t,n,r){let i=e.childNodes,a=i.length;for(let e=0;e<a;e++){let a=i[e],o=getDebugNode(a);o&&((r&&o instanceof DebugElement&&t(o)&&n.indexOf(o)===-1||!r&&t(o)&&n.indexOf(o)===-1)&&n.push(o),_queryNativeNodeDescendants(a,t,n,r))}}function collectPropertyBindings(e,t,n,r){let i=t.propertyBindings;if(i!==null)for(let t=0;t<i.length;t++){let a=i[t],o=r[a].split(pr),s=o[0];if(o.length>1){let t=o[1];for(let e=1;e<o.length-1;e++)t+=renderStringify(n[a+e-1])+o[e+1];e[s]=t}else e[s]=n[a]}}function getDebugNode(e){return e instanceof Node?(Object.hasOwn(e,ro)||(e[ro]=e.nodeType==Node.ELEMENT_NODE?new DebugElement(e):new DebugNode(e)),e[ro]):null}var wt,Tt,P,SimpleChange,Et,Dt,Ot,kt,profiler,At,NodeInjectorFactory,jt,Mt,Nt,Pt,F,NodeInjector,_requestIdleCallback,_cancelIdleCallback,Ft,RequestIdleCallbackService,It,Lt,Rt,zt,Bt,Vt,Ht,Ut,Wt,ReflectionCapabilities,Gt,Kt,qt,Jt,Yt,Xt,Zt,Qt,$t,en,tn,QueryList,nn,rn,an,on,sn,LContext,cn,ln,un,dn,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn,Sn,Cn,wn,Tn,En,Dn,On,kn,An,jn,DeferEventEntry,sharedStashFunction,sharedMapFunction,removeListeners,Mn,Nn,Pn,Fn,_stashEventListenerImpl,I,In,Ln,Rn,zn,Bn,Vn,_retrieveHydrationInfoImpl,Hn,Un,_retrieveDeferBlockDataImpl,L,Wn,Gn,Kn,qn,Jn,Yn,Xn,SafeValueImpl,SafeHtmlImpl,SafeStyleImpl,SafeScriptImpl,SafeUrlImpl,SafeResourceUrlImpl,DOMParserHelper,InertDocumentHelper,Zn,Qn,$n,er,tr,nr,rr,ir,SanitizingHtmlSerializer,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,R,hr,gr,_r,vr,yr,br,xr,Sr,Cr,noOpAnimationComplete,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,AfterRenderSequence,Pr,Fr,Ir,Lr,_applyRootElementTransformImpl,Rr,zr,Br,Vr,ViewRef$1,z,Hr,Ur,Wr,Gr,Kr,qr,_prepareI18nBlockForHydrationImpl,_claimDehydratedIcuCaseImpl,_findMatchingDehydratedViewImpl,_findAndReconcileMatchingDehydratedViewsImpl,Jr,RendererFactory2,Renderer2,Yr,Xr,Zr,Qr,$r,DepsTracker,ei,ti,ChainedInjector,ControlDirectiveHostImpl,ni,ri,ii,ai,oi,si,ComponentFactory,ComponentRef,B,ci,li,_populateDehydratedViewsInLContainer,ui,di,TQueryMetadata_,fi,pi,mi,hi,NgModuleRef,NgModuleFactory,EnvironmentNgModuleRefAdapter,gi,_i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,V,Di,Oi,H,ki,Ai,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,U,ra,LiveCollection,UniqueValueMultiKeyMap,RepeaterContext,RepeaterMetadata,LiveCollectionLContainerImpl,_locateOrCreateElementNode,_locateOrCreateElementContainerNode,ia,ForeignViewRef,ForeignContextInjector,aa,oa,sa,W,ca,la,ua,da,fa,pa,ma,ha,ga,_locateOrCreateNode,_a,va,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,G,_locateOrCreateTextNode,Na,_dehydratedBlockRegistryFactory,_runIncrementalHydrationBootstrap,Pa,Fa,K,Ia,La,Ra,za,Ba,Va,Ha,Ua,Wa,Ga,Ka,qa,Ja,Ya,Xa,Za,CompilerFactory,Qa,$a,eo,to,no,DebugEventListener,DebugNode,DebugElement,ro;function init__debug_node_chunk(){return(init__debug_node_chunk=t((()=>{init__pending_tasks_chunk(),init__effect_chunk(),init_Subject(),init_Subscription(),init_map(),init__attribute_chunk(),wt=Symbol(`InputSignalNode#UNSET`),Tt={...h,transformFn:void 0,applyValueToInputSignal(e,t){signalSetFn(e,t)}},P=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(P||{}),SimpleChange=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}},Et=null,Dt=(()=>{Et=NgOnChangesFeatureImpl;let ɵɵNgOnChangesFeatureImpl=()=>NgOnChangesFeatureImpl;return ɵɵNgOnChangesFeatureImpl.ngInherit=!0,ɵɵNgOnChangesFeatureImpl})(),Ot=`__ngSimpleChanges__`,kt=[],profiler=function(e,t=null,n){for(let r=0;r<kt.length;r++){let i=kt[r];i(e,t,n)}},At=-1,NodeInjectorFactory=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n,r){this.factory=e,this.name=r,this.canSeeViewProviders=t,this.injectImpl=n}},jt=!0,Mt=255,Nt=5,Pt=0,F={},NodeInjector=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return getOrCreateInjectable(this._tNode,this._lView,e,convertToBitFlags(n),t)}},_requestIdleCallback=()=>(typeof requestIdleCallback<`u`?requestIdleCallback:e=>setTimeout(e)).bind(globalThis),_cancelIdleCallback=()=>(typeof requestIdleCallback<`u`?cancelIdleCallback:clearTimeout).bind(globalThis),Ft=new InjectionToken(``,{factory:()=>new RequestIdleCallbackService}),RequestIdleCallbackService=class{requestIdleCallback=_requestIdleCallback();cancelIdleCallback=_cancelIdleCallback();requestOnIdle(e,t){return this.requestIdleCallback(e,t)}cancelOnIdle(e){return this.cancelIdleCallback(e)}},It=`__annotations__`,Lt=`__parameters__`,Rt=`__prop__metadata__`,zt={ɵɵdefineInjectable,ɵɵdefineInjector,ɵɵdefineService,ɵɵinject,ɵɵinvalidFactoryDep,resolveForwardRef},Bt=Function,Vt=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ht=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ut=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Wt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/,ReflectionCapabilities=class{_reflect;constructor(e){this._reflect=e||w.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=newArray(e===void 0?t.length:e.length);for(let r=0;r<n.length;r++)e===void 0?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&t[r]!=null&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(isDelegateCtor(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;let n=e.ctorParameters;if(n&&n!==t.ctorParameters){let e=typeof n==`function`?n():n,t=e.map(e=>e&&e.type),r=e.map(e=>e&&convertTsickleDecoratorIntoMetadata(e.decorators));return this._zipTypesAndAnnotations(t,r)}let r=Object.hasOwn(e,Lt)&&e[Lt],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata(`design:paramtypes`,e);return i||r?this._zipTypesAndAnnotations(i,r):newArray(e.length)}parameters(e){if(!isType(e))return[];let t=getParentCtor(e),n=this._ownParameters(e,t);return!n&&t!==Object&&(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return typeof t==`function`&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?convertTsickleDecoratorIntoMetadata(e.decorators):Object.hasOwn(e,It)?e[It]:null}annotations(e){if(!isType(e))return[];let t=getParentCtor(e),n=this._ownAnnotations(e,t)||[];return(t===Object?[]:this.annotations(t)).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return typeof t==`function`&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){let t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=convertTsickleDecoratorIntoMetadata(t[e])}),n}return Object.hasOwn(e,Rt)?e[Rt]:null}propMetadata(e){if(!isType(e))return{};let t=getParentCtor(e),n={};if(t!==Object){let e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}let r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{let t=[];Object.hasOwn(n,e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return isType(e)&&this._ownPropMetadata(e,getParentCtor(e))||{}}hasLifecycleHook(e,t){return e instanceof Bt&&t in e.prototype}},Gt=attachInjectFlag(makeParamDecorator(`Inject`,e=>({token:e})),-1),Kt=attachInjectFlag(makeParamDecorator(`Optional`),8),qt=attachInjectFlag(makeParamDecorator(`Self`),2),Jt=attachInjectFlag(makeParamDecorator(`SkipSelf`),4),Yt=attachInjectFlag(makeParamDecorator(`Host`),1),Xt=makeParamDecorator(`Attribute`,e=>({attributeName:e,__NG_ELEMENT_ID__:()=>ɵɵinjectAttribute(e)})),Zt=null,Qt=getClosureSafeProperty({provide:String,useValue:getClosureSafeProperty}),$t=makeDecorator(`Injectable`,void 0,void 0,void 0,(e,t)=>compileInjectable(e,t)),en=makeDecorator(`Service`,void 0,void 0,void 0,(e,t)=>compileService(e,t)),tn=(()=>{class ElementRef{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=injectElementRef}return ElementRef})(),QueryList=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 pe}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=flatten(e);(this._changesDetected=!arrayEquals(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=symbolIterator},nn=`ngSkipHydration`,rn=`ngskiphydration`,an=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(an||{}),on=new Map,sn=0,LContext=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return getLViewById(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}},cn=`__ngContext__`,ln=(function(e){return e[e.Default=0]=`Default`,e[e.OnPush=1]=`OnPush`,e})(ln||{}),un=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=1]=`None`,e})(un||{}),dn=void 0,fn=`h`,pn=`b`,mn=`f`,hn=`n`,gn=new InjectionToken(``),_n=!1,vn=new InjectionToken(``,{factory:()=>_n}),yn=new InjectionToken(``),bn=new InjectionToken(``),xn=new InjectionToken(``,{factory:()=>[]}),Sn=new InjectionToken(``),Cn=new InjectionToken(``,{factory:()=>new Map}),wn=new InjectionToken(``),Tn={passive:!0,capture:!0},En=new WeakMap,Dn=new WeakMap,On=new WeakMap,kn=[`click`,`keydown`],An=[`mouseenter`,`mouseover`,`focusin`],jn=new Map,DeferEventEntry=class{callbacks=new Set;listener=()=>{for(let e of this.callbacks)e()}},sharedStashFunction=(e,t,n)=>{let r=e,i=r.__jsaction_fns??new Map,a=i.get(t)??[];a.push(n),i.set(t,a),r.__jsaction_fns=i},sharedMapFunction=(e,t)=>{let n=e,r=n.getAttribute(`ngb`)??``,i=t.get(r)??new Set;i.has(n)||i.add(n),t.set(r,i)},removeListeners=e=>{e.removeAttribute(Ct.JSACTION),e.removeAttribute(`ngb`),e.__jsaction_fns=void 0},Mn=new InjectionToken(``,{factory:()=>({})}),Nn=new WeakMap,Pn=new Map,Fn=!1,_stashEventListenerImpl=(e,t,n,r)=>{},I=new InjectionToken(``),In=(()=>{class DehydratedBlockRegistry{registry=new Map;cleanupFns=new Map;jsActionMap=inject(Cn);contract=inject(Mn);add(e,t){if(this.registry.set(e,t),this.awaitingCallbacks.has(e)){let t=this.awaitingCallbacks.get(e);for(let e of t)e()}}get(e){return this.registry.get(e)??null}has(e){return this.registry.has(e)}cleanup(e){removeListenersFromBlocks(e,this.jsActionMap);for(let t of e)this.registry.delete(t),this.jsActionMap.delete(t),this.invokeTriggerCleanupFns(t),this.hydrating.delete(t),this.awaitingCallbacks.delete(t);this.size===0&&this.contract.instance?.cleanUp()}get size(){return this.registry.size}addCleanupFn(e,t){let n=[];this.cleanupFns.has(e)&&(n=this.cleanupFns.get(e)),n.push(t),this.cleanupFns.set(e,n)}invokeTriggerCleanupFns(e){let t=this.cleanupFns.get(e)??[];for(let e of t)e();this.cleanupFns.delete(e)}hydrating=new Map;awaitingCallbacks=new Map;awaitParentBlock(e,t){let n=this.awaitingCallbacks.get(e)??[];n.push(t),this.awaitingCallbacks.set(e,n)}static ɵprov=ɵɵdefineInjectable({token:DehydratedBlockRegistry,providedIn:null,factory:()=>new DehydratedBlockRegistry})}return DehydratedBlockRegistry})(),Ln=`__nghData__`,Rn=makeStateKey(Ln),zn=`__nghDeferData__`,Bn=makeStateKey(zn),Vn=`nghm`,_retrieveHydrationInfoImpl=()=>null,Hn=(function(e){return e.Hydrated=`hydrated`,e.Skipped=`skipped`,e.Mismatched=`mismatched`,e})(Hn||{}),Un=`__ngDebugHydrationInfo__`,_retrieveDeferBlockDataImpl=()=>({}),L=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(L||{}),Wn={name:`custom-elements`},Gn={name:`no-errors-schema`},Kn=!1,qn=!1,Jn={"http://www.w3.org/2000/svg":`svg`,"http://www.w3.org/1998/Math/MathML":Ge},SafeValueImpl=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ve})`}},SafeHtmlImpl=class extends SafeValueImpl{getTypeName(){return`HTML`}},SafeStyleImpl=class extends SafeValueImpl{getTypeName(){return`Style`}},SafeScriptImpl=class extends SafeValueImpl{getTypeName(){return`Script`}},SafeUrlImpl=class extends SafeValueImpl{getTypeName(){return`URL`}},SafeResourceUrlImpl=class extends SafeValueImpl{getTypeName(){return`ResourceURL`}},DOMParserHelper=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=`<body><remove></remove>`+e;try{let t=new window.DOMParser().parseFromString(trustedHTMLFromString(e),`text/html`).body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},InertDocumentHelper=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(e){let t=this.inertDocument.createElement(`template`);return t.innerHTML=trustedHTMLFromString(e),t}},Zn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Qn=tagSet(`area,br,col,hr,img,wbr`),$n=tagSet(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`),er=tagSet(`rp,rt`),tr=merge(Qn,merge($n,tagSet(`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`)),merge(er,tagSet(`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`)),merge(er,$n)),nr=tagSet(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`),rr=merge(nr,tagSet(`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`),tagSet(`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`)),ir=tagSet(`script,style,template`),SanitizingHtmlSerializer=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){r.push(t),t=getFirstChild(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=getNextSibling(t);if(e){t=e;break}t=r.pop()}}return this.buf.join(``)}startElement(e){let t=getNodeName(e).toLowerCase();if(!Object.hasOwn(tr,t))return this.sanitizedSomething=!0,!Object.hasOwn(ir,t);this.buf.push(`<`),this.buf.push(t);let n=e.attributes;for(let e=0;e<n.length;e++){let t=n.item(e),r=t.name,i=r.toLowerCase();if(!Object.hasOwn(rr,i)){this.sanitizedSomething=!0;continue}let a=t.value;nr[i]&&(a=_sanitizeUrl(a)),this.buf.push(` `,r,`="`,encodeEntities(a),`"`)}return this.buf.push(`>`),!0}endElement(e){let t=getNodeName(e).toLowerCase();Object.hasOwn(tr,t)&&!Object.hasOwn(Qn,t)&&(this.buf.push(`</`),this.buf.push(t),this.buf.push(`>`))}chars(e){this.buf.push(encodeEntities(e))}},ar=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,or=/([^\#-~ |!])/g,cr=/^>|^->|<!--|-->|--!>|<!-$/g,lr=/(<|>)/g,ur=`​$1​`,dr=new Set([`href`,`xlink:href`]),fr={animate:{to:dr,values:dr,from:dr},set:{to:dr}},pr=`�`,mr=`ng-template`,R={},hr=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(hr||{}),_r=new InjectionToken(``,{factory:()=>!1}),vr=new InjectionToken(``,{factory:()=>yr}),yr=4e3,br=new Set,xr=!1,Sr=1,Cr=typeof document<`u`&&typeof document?.documentElement?.getAnimations==`function`,noOpAnimationComplete=()=>{},wr=new WeakMap,Tr=new WeakMap,Er=new WeakMap,Dr=new WeakSet,Or=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(Or||{}),kr=new InjectionToken(``),Ar=new Set,jr=(()=>{class AfterRenderManager{impl=null;execute(){this.impl?.execute()}static ɵprov=ɵɵdefineInjectable({token:AfterRenderManager,providedIn:`root`,factory:()=>new AfterRenderManager})}return AfterRenderManager})(),Mr=[0,1,2,3],Nr=(()=>{class AfterRenderImpl{ngZone=inject(M);scheduler=inject(ChangeDetectionScheduler);errorHandler=inject(ErrorHandler,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){inject(kr,{optional:!0})}execute(){let e=this.sequences.size>0;e&&profiler(P.AfterRenderHooksStart),this.executing=!0;for(let e of Mr)for(let t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[e])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let n=t.hooks[e];return n(t.pipelinedValue)},t.snapshot))}catch(e){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(e)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&profiler(P.AfterRenderHooksEnd)}register(e){let{view:t}=e;t===void 0?this.executing?this.deferredRegistrations.add(e):this.addSequence(e):((t[25]??=[]).push(e),markAncestorsForTraversal(t),t[2]|=8192)}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,t){return t?t.run(Or.AFTER_NEXT_RENDER,e):e()}static ɵprov=ɵɵdefineInjectable({token:AfterRenderImpl,providedIn:`root`,factory:()=>new AfterRenderImpl})}return AfterRenderImpl})(),AfterRenderSequence=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,i,a=null){this.impl=e,this.hooks=t,this.view=n,this.once=r,this.snapshot=a,this.unregisterOnDestroy=i?.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 e=this.view?.[25];e&&(this.view[25]=e.filter(e=>e!==this))}},Pr=new InjectionToken(``,{factory:()=>{let e=inject(EnvironmentInjector),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}}),Fr=getInsertInFrontOfRNodeWithNoI18n,Lr=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(Lr||{}),_applyRootElementTransformImpl=()=>null,Rr=[],zr={...c,consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{markAncestorsForTraversal(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},Br={...c,consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=getLViewParent(e.lView);for(;t&&!viewShouldHaveReactiveConsumer(t[1]);)t=getLViewParent(t);t&&markViewForRefresh(t)},consumerOnSignalRead(){this.lView[24]=this}},Vr=100,ViewRef$1=class{static{e(this,`ViewRef`)}_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[1];return collectNativeNodes(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return isDestroyed(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[3];if(isLContainer(e)){let t=e[8],n=t?t.indexOf(this):-1;n>-1&&(detachView(e,n),removeFromArray(t,n))}this._attachedToViewContainer=!1}destroyLView(this._lView[1],this._lView)}onDestroy(e){storeLViewOnDestroy(this._lView,e)}markForCheck(){markViewDirty(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){updateAncestorTraversalFlagsOnAttach(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,detectChangesInternal(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new RuntimeError(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=isRootView(this._lView),t=this._lView[16];t!==null&&!e&&detachMovedView(t,this._lView),detachViewFromDOM(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new RuntimeError(902,!1);this._appRef=e;let t=isRootView(this._lView),n=this._lView[16];n!==null&&!t&&trackMovedView(n,this._lView),updateAncestorTraversalFlagsOnAttach(this._lView)}},z=(()=>{class TemplateRef{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=injectTemplateRef;constructor(e,t,n){this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let r=createAndRenderEmbeddedLView(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new ViewRef$1(r)}}return TemplateRef})(),Hr=`<-- AT THIS LOCATION`,Ur=`/guide/hydration#third-party-scripts-with-dom-manipulation`,Wr=new Set([`ngh`,`ng-version`,`ng-server-context`]),Gr=getClosureSafeProperty({currentCaseLViewIndex:getClosureSafeProperty}),Kr=RegExp(`^(\\d+)*(${pn}|${fn})*(.*)`),qr=!1,_prepareI18nBlockForHydrationImpl=()=>{},_claimDehydratedIcuCaseImpl=()=>{},_findMatchingDehydratedViewImpl=()=>null,_findAndReconcileMatchingDehydratedViewsImpl=()=>null,Jr=class ComponentRef{},RendererFactory2=class{},Renderer2=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>injectRenderer2()},Yr=(()=>{class Sanitizer{static ɵprov=ɵɵdefineInjectable({token:Sanitizer,providedIn:`root`,factory:()=>null})}return Sanitizer})(),Xr=Symbol(`RENDER`),Zr=Symbol(`ON_DESTROY`),Qr=Symbol(`CONTENT_ADAPTER`),$r=Symbol(`GET_CONTEXT`),DepsTracker=class{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(this.ngModulesWithSomeUnresolvedDecls.size!==0){for(let e of this.ngModulesWithSomeUnresolvedDecls){let t=getNgModuleDef(e);if(t?.declarations)for(let n of maybeUnwrapFn(t.declarations))isComponent(n)&&this.ownerNgModule.set(n,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();let n=getComponentDef(e);if(n===null)throw Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(n.standalone){let n=this.getStandaloneComponentScope(e,t);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};let t=this.getNgModuleScope(this.ownerNgModule.get(e));return t.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...t.compilation.directives,...t.compilation.pipes]}}}registerNgModule(e,t){if(!isNgModule(e))throw Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);let t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){let t=getNgModuleDefOrThrow(e),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(let e of maybeUnwrapFn(t.imports))if(isNgModule(e)){let t=this.getNgModuleScope(e);addSet(t.exported.directives,n.compilation.directives),addSet(t.exported.pipes,n.compilation.pipes)}else if(isStandalone(e)){if(isDirective(e)||isComponent(e))n.compilation.directives.add(e);else if(isPipe(e))n.compilation.pipes.add(e);else throw new RuntimeError(980,`The standalone imported type is neither a component nor a directive nor a pipe`)}else{n.compilation.isPoisoned=!0;break}if(!n.compilation.isPoisoned)for(let e of maybeUnwrapFn(t.declarations)){if(isNgModule(e)||isStandalone(e)){n.compilation.isPoisoned=!0;break}isPipe(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}for(let e of maybeUnwrapFn(t.exports))if(isNgModule(e)){let t=this.getNgModuleScope(e);addSet(t.exported.directives,n.exported.directives),addSet(t.exported.pipes,n.exported.pipes),addSet(t.exported.directives,n.compilation.directives),addSet(t.exported.pipes,n.compilation.pipes)}else isPipe(e)?n.exported.pipes.add(e):n.exported.directives.add(e);return n}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);let n=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,n),n}computeStandaloneComponentScope(e,t){let n={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(let r of flatten(t??[])){let t=resolveForwardRef(r);try{verifyStandaloneImport(t,e)}catch{return n.compilation.isPoisoned=!0,n}if(isNgModule(t)){n.compilation.ngModules.add(t);let e=this.getNgModuleScope(t);if(e.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;addSet(e.exported.directives,n.compilation.directives),addSet(e.exported.pipes,n.compilation.pipes)}else if(isPipe(t))n.compilation.pipes.add(t);else if(isDirective(t)||isComponent(t))n.compilation.directives.add(t);else return n.compilation.isPoisoned=!0,n}return n}isOrphanComponent(e){let t=getComponentDef(e);return!t||t.standalone?!1:(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}},ei=new DepsTracker,ti={},ChainedInjector=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){let r=this.injector.get(e,ti,n);return r!==ti||t===ti?r:this.parentInjector.get(e,t,n)}},ControlDirectiveHostImpl=class{lView;tView;tNode;hasPassThrough;constructor(e,t,n){this.lView=e,this.tView=t,this.tNode=n,this.hasPassThrough=!!(n.flags&4096)}get customControl(){return this.tNode.customControlIndex===-1?void 0:this.lView[this.tNode.customControlIndex]}get nativeElement(){return getNativeByTNode(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(e,t){let n=this.tView.data[this.tNode.customControlIndex];listenToDirectiveOutput(this.tNode,this.lView,n,e,wrapListener(this.tNode,this.lView,t))}listenToCustomControlModel(e){let t=this.tNode.flags&1024?`valueChange`:`checkedChange`,n=this.tView.data[this.tNode.customControlIndex];listenToDirectiveOutput(this.tNode,this.lView,n,t,wrapListener(this.tNode,this.lView,e))}listenToDom(e,t){listenToDomEvent(this.tNode,this.tView,this.lView,void 0,this.lView[11],e,t,wrapListener(this.tNode,this.lView,t))}setInputOnDirectives(e,t,n){let r=this.tNode.inputs?.[e],i=this.tNode.hostDirectiveInputs?.[e];if(!r&&!i)return!1;let a=!1;if(r)for(let i of r){if(i===this.tNode.controlDirectiveIndex)continue;let r=this.lView[i],o=this.tView.data[i];(!n||n(readInputFromDirective(r,o,e)))&&(writeToDirectiveInput(o,r,e,t),a=!0)}if(i)for(let r=0;r<i.length;r+=2){let o=i[r];if(o===this.tNode.controlDirectiveIndex)continue;let s=this.lView[o],c=i[r+1],l=this.tView.data[o];(!n||n(readInputFromDirective(s,l,e)))&&(writeToDirectiveInput(l,s,c,t),a=!0)}return a}setCustomControlModelInput(e){let t=this.tView.data[this.tNode.customControlIndex],n=this.tNode.flags&1024?`value`:`checked`;setDirectiveInput(this.tNode,this.tView,this.lView,t,n,e)}customControlHasInput(e){if(this.tNode.customControlIndex===-1)return!1;let t=this.tView.data[this.tNode.customControlIndex];return(t.signalFormsInputPresence??=this._buildCustomControlInputCache(t))[e]===!0}_buildCustomControlInputCache(e){let t={};for(let n in e.inputs)t[n]=!0;if(e.hostDirectives!==null){let n=[...e.hostDirectives];for(;n.length>0;){let e=n.shift();if(typeof e!=`function`){for(let n in e.inputs)t[e.inputs[n]]=!0;let r=getHostDirectives(e.directive);r!==null&&n.push(...r);continue}for(let r of e()){if(typeof r==`function`)continue;if(r.inputs)for(let e=0;e<r.inputs.length;e+=2){let n=r.inputs[e+1]||r.inputs[e];t[n]=!0}let e=getHostDirectives(r.directive);e!==null&&n.push(...e)}}}return t}},ni=Symbol(`BINDING`),ri={kind:`input`,requiredVars:1},ii={kind:`output`,requiredVars:0},ai=new InjectionToken(``),oi=typeof ShadowRoot<`u`,si=typeof Document<`u`,ComponentFactory=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=toInputRefArray(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=toOutputRefArray(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=stringifyCSSSelectorList(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r,i,a,o){profiler(P.DynamicComponentStart);let s=setActiveConsumer(null);try{let s=this.componentDef,c=createRootViewInjector(s,r||this.ngModule,e),l=createRootLViewEnvironment(c),u=l.tracingService;return u&&u.componentCreate?u.componentCreate(getComponentName(s),()=>this.createComponentRef(l,c,t,n,i,a,o)):this.createComponentRef(l,c,t,n,i,a,o)}finally{setActiveConsumer(s)}}createComponentRef(e,t,n,r,i,a,o){let s=this.componentDef,c=createRootTView(r,s,a,i),l=e.rendererFactory.createRenderer(null,s),u=r?locateHostElement(l,r,s.encapsulation,t):createHostElement(s,l,o??null);assertNotScriptHostElement(u);let d=t.get(ai,null),f=getStyleHost(u,()=>t.get(A,null)??getDocument());d&&d.addHost(f);let p=a?.some(isInputBinding)||i?.some(e=>typeof e!=`function`&&e.bindings.some(isInputBinding)),m=createLView(null,c,null,512|getInitialLViewFlagsFromDef(s),null,null,e,l,t,null,retrieveHydrationInfo(u,t,!0));d&&oi&&f instanceof ShadowRoot&&storeLViewOnDestroy(m,()=>{d.removeHost(f)}),m[27]=u,enterView(m);let h=null;try{let e=directiveHostFirstCreatePass(27,m,2,`#host`,()=>c.directiveRegistry,!0,0);setupStaticAttributes(l,u,e),attachPatchData(u,m),createDirectivesInstances(c,m,e),executeContentQueries(c,e,m),directiveHostEndFirstCreatePass(c,e),n!==void 0&&projectNodes(e,this.ngContentSelectors,n),h=getComponentLViewByIndex(e.index,m),m[8]=h[8],renderView(c,m,null)}catch(e){throw h!==null&&unregisterLView(h),unregisterLView(m),e}finally{profiler(P.DynamicComponentEnd),leaveView()}return new ComponentRef(this.componentType,m,!!p)}},ComponentRef=class extends Jr{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,n){super(),this._rootLView=t,this._hasInputBindings=n,this._tNode=getTNode(t[1],27),this.location=createElementRef(this._tNode,t),this.instance=getComponentLViewByIndex(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new ViewRef$1(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView;setAllInputsForProperty(n,r[1],r,e,t),this.previousInputValues.set(e,t),markViewDirty(getComponentLViewByIndex(n.index,r),1)}get injector(){return new NodeInjector(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}},B=(()=>{class ViewContainerRef{static __NG_ELEMENT_ID__=injectViewContainerRef}return ViewContainerRef})(),ci=class R3ViewContainerRef extends B{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return createElementRef(this._hostTNode,this._hostLView)}get injector(){return new NodeInjector(this._hostTNode,this._hostLView)}get parentInjector(){let e=getParentInjectorLocation(this._hostTNode,this._hostLView);if(hasParentInjector(e)){let t=getParentInjectorView(e,this._hostLView),n=getParentInjectorIndex(e),r=t[1].data[n+8];return new NodeInjector(r,t)}return new NodeInjector(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=getViewRefs(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){let r,i;typeof n==`number`?r=n:n!=null&&(r=n.index,i=n.injector);let a=findMatchingDehydratedView(this._lContainer,e.ssrId),o=e.createEmbeddedViewImpl(t||{},i,a);return this.insertImpl(o,r,shouldAddViewToDom(this._hostTNode,a)),o}createComponent(e,t,n,r,i,a,o){let s,c=t||{};s=c.index,n=c.injector,r=c.projectableNodes,i=c.environmentInjector||c.ngModuleRef,a=c.directives,o=c.bindings;let l=new ComponentFactory(getComponentDef(e)),u=n||this.parentInjector;if(!i&&l.ngModule==null){let e=this.parentInjector.get(EnvironmentInjector,null);e&&(i=e)}let d=getComponentDef(l.componentType??{}),f=findMatchingDehydratedView(this._lContainer,d?.id??null),p=f?.firstChild??null,m=l.create(u,r,p,i,a,o,this._getHostElementNamespace());return this.insertImpl(m.hostView,s,shouldAddViewToDom(this._hostTNode,f)),m}_getHostElementNamespace(){if(this._hostTNode.type&2){let e=this._hostTNode.parent??this._hostLView[5];return e!==null&&e.type&2&&typeof e.value==`string`&&e.value.toLowerCase()===`foreignobject`?null:e?.namespace??null}return this._hostTNode.namespace}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(viewAttachedToContainer(r)){let t=this.indexOf(e);if(t!==-1)this.detach(t);else{let t=r[3],n=new R3ViewContainerRef(t,t[5],t[3]);n.detach(n.indexOf(e))}}let i=this._adjustIndex(t),a=this._lContainer;return addLViewToLContainer(a,r,i,n),e.attachToViewContainerRef(),addToArray(getOrCreateViewRefs(a),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=getViewRefs(this._lContainer);return t===null?-1:t.indexOf(e)}remove(e){let t=this._adjustIndex(e,-1),n=detachView(this._lContainer,t);n&&(removeFromArray(getOrCreateViewRefs(this._lContainer),t),destroyLView(n[1],n))}detach(e){let t=this._adjustIndex(e,-1),n=detachView(this._lContainer,t);return n&&removeFromArray(getOrCreateViewRefs(this._lContainer),t)!=null?new ViewRef$1(n):null}_adjustIndex(e,t=0){return e??this.length+t}},li=createAnchorNode,_populateDehydratedViewsInLContainer=()=>!1,ui=class LQuery_{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new LQuery_(this.queryList)}setDirty(){this.queryList.setDirty()}},di=class LQueries_{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let t=e.queries;if(t!==null){let n=e.contentQueries===null?t.length:e.contentQueries[0],r=[];for(let e=0;e<n;e++){let n=t.getByIndex(e),i=this.queries[n.indexInDeclarationView];r.push(i.clone())}return new LQueries_(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)getTQuery(e,t).matches!==null&&this.queries[t].setDirty()}},TQueryMetadata_=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,this.predicate=typeof e==`string`?splitQueryMultiSelectors(e):e}},fi=class TQueries_{queries;constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){let r=t===null?0:t.length,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,t===null?t=[i]:t.push(i))}return t===null?null:new TQueries_(t)}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},pi=class TQuery_{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,t=-1){this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new TQuery_(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!=1){let t=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==t;)n=n.parent;return t===(n===null?-1:n.index)}return this._appliesToNextNode}matchTNode(e,t){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(e,t,getIdxOfMatchingSelector(t,i)),this.matchTNodeWithReadOption(e,t,locateDirectiveOrProvider(t,e,i,!1,!1))}else n===z?t.type&4&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,locateDirectiveOrProvider(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(n!==null){let r=this.metadata.read;if(r!==null){if(r===tn||r===B||r===z&&t.type&4)this.addMatch(t.index,-2);else{let n=locateDirectiveOrProvider(t,e,r,!1,!1);n!==null&&this.addMatch(t.index,n)}}else this.addMatch(t.index,n)}}addMatch(e,t){this.matches===null?this.matches=[e,t]:this.matches.push(e,t)}},mi=class NgModuleRef{},hi=class NgModuleFactory{},NgModuleRef=class extends mi{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(e,t,n,r=!0){super(),this.ngModuleType=e,this._parent=t;let i=getNgModuleDef(e);this._bootstrapComponents=maybeUnwrapFn(i.bootstrap),this._r3Injector=createInjectorWithoutInjectorInstances(e,t,[{provide:mi,useValue:this},...n],stringify(e),new Set([`environment`])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},NgModuleFactory=class extends hi{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new NgModuleRef(this.moduleType,e,[])}},EnvironmentNgModuleRefAdapter=class extends mi{injector;instance=null;constructor(e){super();let t=new R3Injector([...e.providers,{provide:mi,useValue:this}],e.parent||getNullInjector(),e.debugName,new Set([`environment`]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}},gi=(()=>{class StandaloneService{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let t=internalImportProvidersFrom(!1,e.type),n=t.length>0?createEnvironmentInjector([t],this._injector,``):null;this.cachedInjectors.set(e,n)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=ɵɵdefineInjectable({token:StandaloneService,providedIn:`environment`,factory:()=>new StandaloneService(ɵɵinject(EnvironmentInjector))})}return StandaloneService})(),_i=new Map,vi=`__ngAsyncComponentMetadataFn__`,yi=`__ngAsyncMetadataLoaded__`,bi=new InjectionToken(``),xi=(()=>{class ApplicationInitStatus{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t});appInits=inject(bi,{optional:!0})??[];injector=inject(k);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let t of this.appInits){let n=runInInjectionContext(this.injector,t);if(isPromise(n))e.push(n);else if(isSubscribable(n)){let t=new Promise((e,t)=>{n.subscribe({complete:e,error:t})});e.push(t)}}let complete=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{complete()}).catch(e=>{this.reject(e)}),e.length===0&&complete(),this.initialized=!0}static ɵfac=function ApplicationInitStatus_Factory(e){return new(e||ApplicationInitStatus)};static ɵprov=ɵɵdefineService({token:ApplicationInitStatus,factory:ApplicationInitStatus.ɵfac})}return ApplicationInitStatus})(),Si=new Map,Ci=new Set,wi=new Map,Ti=!0,Ei=createContainerAnchorImpl,V=(function(e){return e[e.NOT_STARTED=0]=`NOT_STARTED`,e[e.IN_PROGRESS=1]=`IN_PROGRESS`,e[e.COMPLETE=2]=`COMPLETE`,e[e.FAILED=3]=`FAILED`,e})(V||{}),Di=0,Oi=1,H=(function(e){return e[e.Placeholder=0]=`Placeholder`,e[e.Loading=1]=`Loading`,e[e.Complete=2]=`Complete`,e[e.Error=3]=`Error`,e})(H||{}),ki=(function(e){return e[e.Initial=-1]=`Initial`,e})(ki||{}),Ai=0,ji=2,Mi=3,Ni=4,Pi=5,Fi=6,Ii=7,Li=8,Ri=9,zi=(function(e){return e[e.Manual=0]=`Manual`,e[e.Playthrough=1]=`Playthrough`,e})(zi||{}),Bi=(()=>{class CachedInjectorService{cachedInjectors=new Map;getOrCreateInjector(e,t,n,r){if(!this.cachedInjectors.has(e)){let i=n.length>0?createEnvironmentInjector(n,t,r):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=ɵɵdefineInjectable({token:CachedInjectorService,providedIn:`environment`,factory:()=>new CachedInjectorService})}return CachedInjectorService})(),Vi=(()=>{class TimerScheduler{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(e,t,n){let r=this.executingCallbacks?this.deferred:this.current;this.addToQueue(r,Date.now()+e,t),this.scheduleTimer(n)}remove(e){let{current:t,deferred:n}=this;this.removeFromQueue(t,e)===-1&&this.removeFromQueue(n,e),t.length===0&&n.length===0&&this.clearTimeout()}addToQueue(e,t,n){let r=e.length;for(let n=0;n<e.length;n+=2)if(e[n]>t){r=n;break}arrayInsert2(e,r,t,n)}removeFromQueue(e,t){let n=-1;for(let r=0;r<e.length;r+=2)if(e[r+1]===t){n=r;break}return n>-1&&arraySplice(e,n,2),n}scheduleTimer(e){let callback=()=>{this.clearTimeout(),this.executingCallbacks=!0;let t=[...this.current],n=Date.now();for(let e=0;e<t.length;e+=2){let r=t[e],i=t[e+1];if(r<=n)i();else break}let r=-1;for(let e=0;e<this.current.length&&this.current[e]<=n;e+=2)r=e+1;if(r>=0&&arraySplice(this.current,0,r+1),this.executingCallbacks=!1,this.deferred.length>0){for(let e=0;e<this.deferred.length;e+=2){let t=this.deferred[e],n=this.deferred[e+1];this.addToQueue(this.current,t,n)}this.deferred.length=0}this.scheduleTimer(e)};if(this.current.length>0){let t=Date.now(),n=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-n>16){this.clearTimeout();let r=Math.max(n-t,16);this.invokeTimerAt=n,this.timeoutId=e.runOutsideAngular(()=>setTimeout(()=>e.run(callback),r))}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static ɵprov=ɵɵdefineInjectable({token:TimerScheduler,providedIn:`root`,factory:()=>new TimerScheduler})}return TimerScheduler})(),Hi=new InjectionToken(`DEFER_BLOCK_DEPENDENCY_INTERCEPTOR`),Ui=new InjectionToken(``),Wi=null,Gi=(()=>{class Console{log(e){console.log(e)}warn(e){console.warn(e)}static ɵfac=function Console_Factory(e){return new(e||Console)};static ɵprov=ɵɵdefineInjectable({token:Console,factory:Console.ɵfac,providedIn:`platform`})}return Console})(),Ki=(function(e){return e[e.Defer=0]=`Defer`,e[e.For=1]=`For`,e})(Ki||{}),qi=new WeakMap,e(enableProfiling$1,`enableProfiling`),Ji=`ng`,Yi=new InjectionToken(``),Xi=new InjectionToken(``),Zi=new InjectionToken(`USE_PENDING_TASKS`,{providedIn:`root`,factory:()=>typeof Zone>`u`}),Qi=(()=>{class Testability{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=inject(Qe);_usePendingTasks=inject(Zi);constructor(e,t,n){this._ngZone=e,this.registry=t,isInInjectionContext()&&(this._destroyRef=inject(DestroyRef,{optional:!0})??void 0),ea||(setTestabilityGetter(n),n.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>`u`?null:Zone.current.get(`TaskTrackingZone`)})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),t,n;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(t=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),n=this._ngZone.onStable.subscribe({next:()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{e.unsubscribe(),t?.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>t.updateCb&&t.updateCb(e)?(clearTimeout(t.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e()},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this._taskTrackingZone)throw Error(`Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?`);this.addCallback(e,t,n),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}static ɵfac=function Testability_Factory(e){return new(e||Testability)(ɵɵinject(M),ɵɵinject($i),ɵɵinject(Xi))};static ɵprov=ɵɵdefineInjectable({token:Testability,factory:Testability.ɵfac})}return Testability})(),$i=(()=>{class TestabilityRegistry{_applications=new Map;registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return ea?.findTestabilityInTree(this,e,t)??null}static ɵfac=function TestabilityRegistry_Factory(e){return new(e||TestabilityRegistry)};static ɵprov=ɵɵdefineInjectable({token:TestabilityRegistry,factory:TestabilityRegistry.ɵfac,providedIn:`platform`})}return TestabilityRegistry})(),ta=new InjectionToken(``),na=10,U=(()=>{class ApplicationRef{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=inject(rt);afterRenderManager=inject(jr);zonelessEnabled=inject(ht);rootEffectScheduler=inject(vt);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new pe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=inject(Qe);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(map(e=>!e))}constructor(){inject(kr,{optional:!0})}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:e=>{e&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=inject(EnvironmentInjector);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,t){return this.bootstrapImpl(e,t)}bootstrapImpl(e,t,n=k.NULL){return this._injector.get(M).run(()=>{if(profiler(P.BootstrapComponentStart),!this._injector.get(xi).done)throw new RuntimeError(405,``);let r=getComponentDef(e),i=this._injector.get(mi),a=new ComponentFactory(r,i);this.componentTypes.push(e);let{hostElement:o,directives:s,bindings:c}=normalizeBootstrapOptions(t),l=o||a.selector,u=a.create(n,[],l,i.injector,s,c),d=u.location.nativeElement,f=u.injector.get(Yi,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),remove(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),profiler(P.BootstrapComponentEnd,u),u})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){profiler(P.ChangeDetectionStart),this.tracingSnapshot===null?this.tickImpl():this.tracingSnapshot.run(Or.CHANGE_DETECTION,this.tickImpl)}tickImpl=()=>{if(this._runningTick)throw profiler(P.ChangeDetectionEnd),new RuntimeError(101,!1);let e=setActiveConsumer(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,setActiveConsumer(e),this.afterTick.next(),profiler(P.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(RendererFactory2,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<na;){profiler(P.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{profiler(P.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(t||requiresRefreshOrTraversal(n))&&(detectChangesInternal(n,t&&!this.zonelessEnabled?0:1),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})=>requiresRefreshOrTraversal(e))){this.dirtyFlags|=2;return}this.dirtyFlags&=-8}attachView(e){let t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){let t=e;remove(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(e){this.internalErrorHandler(e)}this.components.push(e),this._injector.get(ta,[]).forEach(t=>t(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),()=>remove(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new RuntimeError(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static ɵfac=function ApplicationRef_Factory(e){return new(e||ApplicationRef)};static ɵprov=ɵɵdefineService({token:ApplicationRef,factory:ApplicationRef.ɵfac})}return ApplicationRef})(),e(onIdle$1,`onIdle`),ra=(()=>{class IdleScheduler{buckets=new Map;callbackBucket=new Map;applicationRef=inject(U);ngZone=inject(M);idleService=inject(Ft);add(e,t){let n=getIdleRequestKey(t);this.callbackBucket.set(e,n);let r=this.buckets.get(n);r??(r={idleId:null,queue:new Set},this.buckets.set(n,r)),r.queue.add(e),this.scheduleBucket(r,t)}remove(e){let t=this.callbackBucket.get(e);if(t===void 0)return;this.callbackBucket.delete(e);let n=this.buckets.get(t);n&&(n.queue.delete(e),n.queue.size===0&&(this.cancelBucket(n),this.buckets.delete(t)))}scheduleBucket(e,t){if(e.idleId!==null)return;let n=getIdleRequestKey(t),callback=r=>{for(let t of e.queue)if(t(),this.applicationRef._tick(),e.queue.delete(t),this.callbackBucket.delete(t),r&&r.timeRemaining()===0&&!r.didTimeout)break;e.idleId=null,e.queue.size>0?this.scheduleBucket(e,t):this.buckets.delete(n)};e.idleId=this.idleService.requestOnIdle(e=>this.ngZone.run(()=>callback(e)),t)}cancelBucket(e){e.idleId!==null&&(this.idleService.cancelOnIdle(e.idleId),e.idleId=null)}ngOnDestroy(){for(let e of this.buckets.values())this.cancelBucket(e);this.buckets.clear(),this.callbackBucket.clear()}static ɵprov=ɵɵdefineInjectable({token:IdleScheduler,providedIn:`root`,factory:()=>new IdleScheduler})}return IdleScheduler})(),LiveCollection=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),i=this.detach(r);if(r-n>1){let e=this.detach(n);this.attach(n,i),this.attach(r,e)}else this.attach(n,i)}move(e,t){this.attach(t,this.detach(e))}},UniqueValueMultiKeyMap=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}},RepeaterContext=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-10}},RepeaterMetadata=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}},LiveCollectionLContainerImpl=class extends LiveCollection{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-10}at(e){return this.getLView(e)[8].$implicit}attach(e,t){let n=t[6];this.needsIndexUpdate||=e!==this.length,addLViewToLContainer(this.lContainer,t,e,shouldAddViewToDom(this.templateTNode,n)),clearDetachAnimationList(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,maybeInitDetachAnimationList(this.lContainer,e),detachExistingView(this.lContainer,e)}create(e,t){let n=findMatchingDehydratedView(this.lContainer,this.templateTNode.tView.ssrId);return createAndRenderEmbeddedLView(this.hostLView,this.templateTNode,new RepeaterContext(this.lContainer,t,e),{dehydratedView:n})}destroy(e){destroyLView(e[1],e)}updateValue(e,t){this.getLView(e)[8].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[8].$index=e}getLView(e){return getExistingLViewFromLContainer(this.lContainer,e)}},_locateOrCreateElementNode=(e,t,n,r,i)=>(lastNodeWasCreated(!0),createElementNode(t[11],r,getNamespace())),_locateOrCreateElementContainerNode=(e,t,n,r,i)=>(lastNodeWasCreated(!0),createCommentNode(t[11],``)),ia=new InjectionToken(`FOREIGN_CONTEXT`),ForeignViewRef=class extends ViewRef$1{get head(){let e=this._lView;return e[e[1].firstChild.index]}get tail(){let e=this._lView;return e[e[1].firstChild.next.index]}},ForeignContextInjector=class{context;constructor(e){this.context=e}get(e,t){return e===ia?this.context:t}},aa=void 0,oa=[`en`,[[`a`,`p`],[`AM`,`PM`]],[[`AM`,`PM`]],[[`S`,`M`,`T`,`W`,`T`,`F`,`S`],[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`]],aa,[[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]],aa,[[`B`,`A`],[`BC`,`AD`],[`Before Christ`,`Anno Domini`]],0,[6,0],[`M/d/yy`,`MMM d, y`,`MMMM d, y`,`EEEE, MMMM d, y`],[`h:mm a`,`h:mm:ss a`,`h:mm:ss a z`,`h:mm:ss a zzzz`],[`{1}, {0}`,aa,aa,aa],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,plural],sa=Object.create(null),e(getLocalePluralCase$1,`getLocalePluralCase`),W={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21},ca=[`zero`,`one`,`two`,`few`,`many`],la=`en-US`,ua=`USD`,da={marker:`element`},fa={marker:`ICU`},pa=(function(e){return e[e.SHIFT=2]=`SHIFT`,e[e.APPEND_EAGERLY=1]=`APPEND_EAGERLY`,e[e.COMMENT=2]=`COMMENT`,e})(pa||{}),ma=la,e(getLocaleId$1,`getLocaleId`),ha=0,ga=0,_locateOrCreateNode=(e,t,n,r)=>(lastNodeWasCreated(!0),createNodeWithoutHydration(e,n,r)),_a=/�(\d+):?\d*�/gi,va=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,ya=/�(\d+)�/,ba=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,xa=`�`,Sa=/�\/?\*(\d+:\d+)�/gi,Ca=/�(\/?[#*]\d+):?\d*�/gi,wa=/\uE500/g,Ta=0,Ea=/\[(�.+?�?)\]/,Da=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Oa=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,ka=/{([A-Z0-9_]+)}/g,Aa=/�I18N_EXP_(ICU(_\d+)?)�/g,ja=/\/\*/,Ma=/\d+\:(\d+)/,G={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0},_locateOrCreateTextNode=(e,t,n,r)=>(lastNodeWasCreated(!0),createTextNode(t[11],r)),Na={},_dehydratedBlockRegistryFactory=()=>null,_runIncrementalHydrationBootstrap=()=>{},Pa=!1,Fa=new InjectionToken(``),K={ɵɵanimateEnter,ɵɵanimateEnterListener,ɵɵanimateLeave,ɵɵanimateLeaveListener,ɵɵattribute,ɵɵdefineComponent,ɵɵdefineDirective,ɵɵdefineInjectable,ɵɵdefineInjector,ɵɵdefineNgModule,ɵɵdefineService,ɵɵdefinePipe,ɵɵdirectiveInject,ɵɵgetInheritedFactory,ɵɵinject,ɵɵinjectAttribute,ɵɵinvalidFactory,ɵɵinvalidFactoryDep,ɵɵtemplateRefExtractor,ɵɵresetView,ɵɵHostDirectivesFeature,ɵɵNgOnChangesFeature:Dt,ɵɵControlFeature,ɵɵProvidersFeature,ɵɵInheritDefinitionFeature,ɵɵExternalStylesFeature,ɵɵnextContext,ɵɵnamespaceHTML,ɵɵnamespaceMathML,ɵɵnamespaceSVG,ɵɵenableBindings,ɵɵdisableBindings,ɵɵelementStart,ɵɵelementEnd,ɵɵelement,ɵɵforeignComponent,ɵɵforeignContent,ɵɵforeignContentFn,ɵɵelementContainerStart,ɵɵelementContainerEnd,ɵɵdomElement,ɵɵdomElementStart,ɵɵdomElementEnd,ɵɵdomElementContainer,ɵɵdomElementContainerStart,ɵɵdomElementContainerEnd,ɵɵdomTemplate,ɵɵdomListener,ɵɵelementContainer,ɵɵpureFunction0,ɵɵpureFunction1,ɵɵpureFunction2,ɵɵpureFunction3,ɵɵpureFunction4,ɵɵpureFunction5,ɵɵpureFunction6,ɵɵpureFunction7,ɵɵpureFunction8,ɵɵpureFunctionV,ɵɵgetCurrentView,ɵɵrestoreView,ɵɵlistener,ɵɵprojection,ɵɵsyntheticHostProperty,ɵɵsyntheticHostListener,ɵɵpipeBind1,ɵɵpipeBind2,ɵɵpipeBind3,ɵɵpipeBind4,ɵɵpipeBindV,ɵɵprojectionDef,ɵɵdomProperty,ɵɵariaProperty,ɵɵproperty,ɵɵcontrol,ɵɵcontrolCreate,ɵɵpipe,ɵɵqueryRefresh,ɵɵqueryAdvance,ɵɵviewQuery,ɵɵviewQuerySignal,ɵɵloadQuery,ɵɵcontentQuery,ɵɵcontentQuerySignal,ɵɵreference,ɵɵclassMap,ɵɵstyleMap,ɵɵstyleProp,ɵɵclassProp,ɵɵadvance,ɵɵtemplate,ɵɵconditional,ɵɵconditionalCreate,ɵɵconditionalBranchCreate,ɵɵdefer,ɵɵdeferWhen,ɵɵdeferOnIdle,ɵɵdeferOnImmediate,ɵɵdeferOnTimer,ɵɵdeferOnHover,ɵɵdeferOnInteraction,ɵɵdeferOnViewport,ɵɵdeferPrefetchWhen,ɵɵdeferPrefetchOnIdle,ɵɵdeferPrefetchOnImmediate,ɵɵdeferPrefetchOnTimer,ɵɵdeferPrefetchOnHover,ɵɵdeferPrefetchOnInteraction,ɵɵdeferPrefetchOnViewport,ɵɵdeferHydrateWhen,ɵɵdeferHydrateNever,ɵɵdeferHydrateOnIdle,ɵɵdeferHydrateOnImmediate,ɵɵdeferHydrateOnTimer,ɵɵdeferHydrateOnHover,ɵɵdeferHydrateOnInteraction,ɵɵdeferHydrateOnViewport,ɵɵdeferEnableTimerScheduling,ɵɵenableIncrementalHydrationRuntime,ɵɵrepeater,ɵɵrepeaterCreate,ɵɵrepeaterTrackByIndex,ɵɵrepeaterTrackByIdentity,ɵɵcomponentInstance,ɵɵtext,ɵɵtextInterpolate,ɵɵtextInterpolate1,ɵɵtextInterpolate2,ɵɵtextInterpolate3,ɵɵtextInterpolate4,ɵɵtextInterpolate5,ɵɵtextInterpolate6,ɵɵtextInterpolate7,ɵɵtextInterpolate8,ɵɵtextInterpolateV,ɵɵi18n,ɵɵi18nAttributes,ɵɵi18nExp,ɵɵi18nStart,ɵɵi18nEnd,ɵɵi18nApply,ɵɵi18nPostprocess,ɵɵresolveWindow,ɵɵresolveDocument,ɵɵresolveBody,ɵɵsetComponentScope,ɵɵsetNgModuleScope,ɵɵregisterNgModuleType:registerNgModuleType,ɵɵgetComponentDepsFactory,ɵsetClassDebugInfo,ɵɵdeclareLet,ɵɵstoreLet,ɵɵarrowFunction,ɵɵreadContextLet,ɵɵattachSourceLocations,ɵɵinterpolate,ɵɵinterpolate1,ɵɵinterpolate2,ɵɵinterpolate3,ɵɵinterpolate4,ɵɵinterpolate5,ɵɵinterpolate6,ɵɵinterpolate7,ɵɵinterpolate8,ɵɵinterpolateV,ɵɵsanitizeHtml,ɵɵsanitizeStyle,ɵɵsanitizeResourceUrl,ɵɵsanitizeScript,ɵɵvalidateAttribute,ɵɵsanitizeUrl,ɵɵsanitizeUrlOrResourceUrl,ɵɵtrustConstantHtml,ɵɵtrustConstantResourceUrl,forwardRef,resolveForwardRef,ɵɵtwoWayProperty,ɵɵtwoWayBindingSet,ɵɵtwoWayListener,ɵɵreplaceMetadata,ɵɵgetReplaceMetadataURL},Ia=null,La=[],Ra=!1,za=0,Ba=[`ngOnChanges`,`ngOnInit`,`ngOnDestroy`,`ngDoCheck`,`ngAfterViewInit`,`ngAfterViewChecked`,`ngAfterContentInit`,`ngAfterContentChecked`],Va=makeDecorator(`Directive`,(e={})=>e,void 0,void 0,(e,t)=>compileDirective(e,t)),Ha=makeDecorator(`Component`,(e={})=>({changeDetection:an.Eager,...e}),Va,void 0,(e,t)=>compileComponent(e,t)),Ua=makeDecorator(`Pipe`,e=>({pure:!0,...e}),void 0,void 0,(e,t)=>compilePipe(e,t)),Wa=makePropDecorator(`Input`,e=>e?typeof e==`string`?{alias:e}:e:{}),Ga=makePropDecorator(`Output`,e=>({alias:e})),Ka=makePropDecorator(`HostBinding`,e=>({hostPropertyName:e})),qa=makePropDecorator(`HostListener`,(e,t)=>({eventName:e,args:t})),Ja=makeDecorator(`NgModule`,e=>e,void 0,void 0,(e,t)=>compileNgModule(e,t)),Ya=(()=>{class ChangeDetectionSchedulerImpl{applicationErrorHandler=inject(rt);appRef=inject(U);taskService=inject(Qe);ngZone=inject(M);zonelessEnabled=inject(ht);tracing=inject(kr,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new b;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(et):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(inject(_t,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let t=this.useMicrotaskScheduler?scheduleCallbackWithMicrotask:scheduleCallbackWithRafRace;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>t(()=>this.tick())):this.ngZone.runOutsideAngular(()=>t(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(`isAngularZone_ID`+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(e){this.applicationErrorHandler(e)}finally{this.taskService.remove(e),this.cleanup()}}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 ɵfac=function ChangeDetectionSchedulerImpl_Factory(e){return new(e||ChangeDetectionSchedulerImpl)};static ɵprov=ɵɵdefineService({token:ChangeDetectionSchedulerImpl,factory:ChangeDetectionSchedulerImpl.ɵfac})}return ChangeDetectionSchedulerImpl})(),Xa=(()=>{class Compiler{compileModuleSync(e){return new NgModuleFactory(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static ɵfac=function Compiler_Factory(e){return new(e||Compiler)};static ɵprov=ɵɵdefineService({token:Compiler,factory:Compiler.ɵfac})}return Compiler})(),Za=new InjectionToken(``),CompilerFactory=class{},Qa=new InjectionToken(``,{factory:()=>inject(Qa,{optional:!0,skipSelf:!0})||getGlobalLocale()}),$a=new InjectionToken(``,{factory:()=>ua}),eo=new InjectionToken(``),to=new InjectionToken(``),no=(function(e){return e[e.Error=0]=`Error`,e[e.Warning=1]=`Warning`,e[e.Ignore=2]=`Ignore`,e})(no||{}),DebugEventListener=class{name;callback;constructor(e,t){this.name=e,this.callback=t}},DebugNode=class{nativeNode;constructor(e){this.nativeNode=e}get parent(){let e=this.nativeNode.parentNode;return e?new DebugElement(e):null}get injector(){return getInjector(this.nativeNode)}get componentInstance(){let e=this.nativeNode;return e&&(getComponent(e)||getOwningComponent(e))}get context(){return getComponent(this.nativeNode)||getContext(this.nativeNode)}get listeners(){return getListeners(this.nativeNode).filter(e=>e.type===`dom`)}get references(){return getLocalRefs(this.nativeNode)}get providerTokens(){return getInjectionTokens(this.nativeNode)}},DebugElement=class extends DebugNode{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){let e=getLContext(this.nativeNode),t=e?e.lView:null;return t===null?this.nativeNode.nodeName:t[1].data[e.nodeIndex].value}get properties(){let e=getLContext(this.nativeNode),t=e?e.lView:null;if(t===null)return{};let n=t[1].data,r=n[e.nodeIndex],i={};return copyDomProperties(this.nativeElement,i),collectPropertyBindings(i,r,t,n),i}get attributes(){let e={},t=this.nativeElement;if(!t)return e;let n=getLContext(t),r=n?n.lView:null;if(r===null)return{};let i=r[1].data[n.nodeIndex].attrs,a=[];if(i){let t=0;for(;t<i.length;){let n=i[t];if(typeof n!=`string`)break;e[n]=i[t+1],a.push(n.toLowerCase()),t+=2}}for(let n of t.attributes)a.includes(n.name)||(e[n.name]=n.value);return e}get styles(){return this.nativeElement?.style??{}}get classes(){let e={},t=this.nativeElement.className;return(typeof t==`string`?t.split(` `):t.baseVal.split(` `)).forEach(t=>e[t]=!0),e}get childNodes(){let e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){let r=e[n];t.push(getDebugNode(r))}return t}get children(){let e=this.nativeElement;if(!e)return[];let t=e.children,n=[];for(let e=0;e<t.length;e++){let r=t[e];n.push(getDebugNode(r))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){let t=[];return _queryAll(this,e,t,!0),t}queryAllNodes(e){let t=[];return _queryAll(this,e,t,!1),t}triggerEventHandler(e,t){let n=this.nativeNode,r=[];this.listeners.forEach(i=>{if(i.name===e){let e=i.callback;e.call(n,t),r.push(e)}}),typeof n.eventListeners==`function`&&n.eventListeners(e).forEach(e=>{if(e.toString().indexOf(`__ngUnwrap__`)!==-1){let i=e(`__ngUnwrap__`);return r.indexOf(i)===-1&&i.call(n,t)}})}},ro=`__ng_debug__`})))()}function removeNullValues(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function getOutputDestroyRef(e){return e.destroyRef}function computed(e,t){return createComputed(e,t?.equal)}function untracked(e){return untracked$1(e)}function linkedSignal(e,t){return typeof e==`function`?upgradeLinkedSignalGetter(createLinkedSignal(e,identityFn,t?.equal),t?.debugName,t?.set):upgradeLinkedSignalGetter(createLinkedSignal(e.source,e.computation,e.equal),e.debugName,e.set)}function upgradeLinkedSignalGetter(e,t,n){let r=e[s],i=e;if(n!==void 0){let rawSet=e=>linkedSignalSetFn(r,e);i.set=e=>n(e,rawSet),i.update=t=>n(t(untracked(e)),rawSet)}else i.set=e=>linkedSignalSetFn(r,e),i.update=e=>linkedSignalUpdateFn(r,e);return i.asReadonly=signalAsReadonlyFn.bind(e),i}function resource(e){let t=e.request,n=e.params??t??(()=>null);return new ResourceImpl(n,getLoader(e),e.defaultValue,e.equal?wrapEqualityFn(e.equal):void 0,e.debugName,e.injector??inject(k),e.id)}function wrapEqualityFn(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function getLoader(e){return isStreamingResourceOptions(e)?e.stream:async t=>{try{return signal({value:await e.loader(t)},void 0)}catch(e){return signal({error:encapsulateResourceError(e)},void 0)}}}function isStreamingResourceOptions(e){return!!e.stream}function projectStatusOfState(e){switch(e.status){case`loading`:return e.extRequest.reload===0?`loading`:`reloading`;case`resolved`:return isResolved(e.stream())?`resolved`:`error`;default:return e.status}}function isResolved(e){return e.error===void 0}function encapsulateResourceError(e){return isErrorLike(e)?e:new ResourceWrappedError(e)}function isErrorLike(e){return e instanceof Error||typeof e==`object`&&typeof e.name==`string`&&typeof e.message==`string`}function chain(e){switch(e.status()){case`idle`:throw ao.IDLE;case`error`:throw new ResourceDependencyError(e);case`loading`:case`reloading`:throw ao.LOADING}return e.value()}function isInParamsFunction(){return so}function setInParamsFunction(e){so=e}function invalidResourceCreationInParams(){return new RuntimeError(992,!1)}function rethrowFatalErrors(e){if(e instanceof RuntimeError&&e.code===992)throw e}var OutputEmitterRef,io,ResourceDependencyError,ao,identityFn,BaseWritableResource,ResourceImpl,ResourceValueError,ResourceWrappedError,oo,so;function init__resource_chunk(){return(init__resource_chunk=t((()=>{init__pending_tasks_chunk(),init__effect_chunk(),init__untracked_chunk(),OutputEmitterRef=class{destroyed=!1;listeners=null;errorHandler=inject(ErrorHandler,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=inject(DestroyRef);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new RuntimeError(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let t=this.listeners?this.listeners.indexOf(e):-1;t>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[t]=null):this.listeners.splice(t,1))}}}emit(e){if(this.destroyed){console.warn(formatRuntimeError(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let t=setActiveConsumer(null);try{for(let t of this.listeners)try{t!==null&&t(e)}catch(e){this.errorHandler?.handleError(e)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&removeNullValues(this.listeners)),setActiveConsumer(t),this.isEmitting=!1}}},io=new InjectionToken(``),ResourceDependencyError=class extends Error{dependency;constructor(e){super(`Dependency error`,{cause:e.error()}),this.name=`ResourceDependencyError`,this.dependency=e}},ao=class ResourceParamsStatus extends Error{_brand;constructor(e){super(e)}static IDLE=new ResourceParamsStatus(`IDLE`);static LOADING=new ResourceParamsStatus(`LOADING`)},identityFn=e=>e,BaseWritableResource=class{value;isLoading;constructor(e,t){this.value=e,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=signalAsReadonlyFn,this.isLoading=computed(()=>this.status()===`loading`||this.status()===`reloading`,void 0)}isError=computed(()=>this.status()===`error`);update(e){this.set(e(untracked(this.value)))}isValueDefined=computed(()=>!this.isError()&&this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=computed(()=>{let e=this.status();return e===`error`?{status:`error`,error:this.error()}:{status:e,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},ResourceImpl=class extends BaseWritableResource{loaderFn;equal;debugName;transferCacheKey;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;transferState;constructor(e,t,n,r,i,a,o,s){if(isInParamsFunction())throw invalidResourceCreationInParams();super(computed(()=>{let e=this.state().stream?.();if(!e||this.state().status===`loading`&&this.error())return n;if(!isResolved(e))throw new ResourceValueError(this.error());return e.value},{equal:r}),i),this.loaderFn=t,this.equal=r,this.debugName=i,this.transferCacheKey=o;let c=a.get(io,void 0,{optional:!0})??{isActive:!1};this.transferState=a.get(pt,void 0,{optional:!0})??void 0,this.extRequest=linkedSignal(()=>{try{return setInParamsFunction(!0),{request:e(oo),reload:0}}catch(e){return rethrowFatalErrors(e),e===ao.IDLE?{status:`idle`,reload:0}:e===ao.LOADING?{status:`loading`,reload:0}:{error:e,reload:0}}finally{setInParamsFunction(!1)}},void 0),this.state=linkedSignal({source:this.extRequest,computation:(e,t)=>{let{request:r,status:i,error:a}=e,o;if(a)i=`resolved`,o=signal({error:encapsulateResourceError(a)},void 0);else if(!i){if(t)i=r===void 0?`idle`:`loading`,t.value.extRequest.request===r&&(o=t.value.stream);else{let t=this.transferState,a=this.transferCacheKey;c.isActive&&a&&t&&r!==void 0&&t.hasKey(a)&&(o=signal({value:t.get(a,n)},void 0)),o||=s?.(e.request),s=void 0,i=r===void 0?`idle`:o?`resolved`:`loading`}}return{extRequest:e,status:i,previousStatus:t?projectStatusOfState(t.value):`idle`,stream:o}}}),this.effectRef=effect(this.loadEffect.bind(this),{injector:a,manualCleanup:!0}),this.pendingTasks=a.get(St),this.unregisterOnDestroy=a.get(DestroyRef).onDestroy(()=>this.destroy()),this.status=computed(()=>projectStatusOfState(this.state()),void 0),this.error=computed(()=>{let e=this.state().stream?.();return e&&!isResolved(e)?e.error:void 0},void 0)}set(e){if(this.destroyed)return;let t=untracked(this.error),n=untracked(this.state);if(!t){let t=untracked(this.value);if(n.status===`local`&&(this.equal?this.equal(t,e):t===e))return}this.state.set({extRequest:n.extRequest,status:`local`,previousStatus:`local`,stream:signal({value:e},void 0)}),this.abortInProgressLoad()}reload(){let{status:e}=untracked(this.state);return e===`idle`||e===`loading`?!1:(this.extRequest.update(({request:e,reload:t})=>({request:e,reload:t+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:`idle`,previousStatus:`idle`,stream:void 0})}async loadEffect(){let e=this.extRequest(),{status:t,previousStatus:n}=untracked(this.state);if(e.request===void 0||t!==`loading`)return;this.abortInProgressLoad();let r=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let t=untracked(()=>this.loaderFn({params:e.request,abortSignal:i,previous:{status:n}})),shouldDiscard=()=>i.aborted||untracked(this.extRequest)!==e;if(isSignal(t)){if(shouldDiscard())return;this.state.set({extRequest:e,status:`resolved`,previousStatus:`resolved`,stream:t}),untracked(t)}else{let n=await t;if(shouldDiscard())return;this.state.set({extRequest:e,status:`resolved`,previousStatus:`resolved`,stream:n}),n&&untracked(n)}}catch(t){if(rethrowFatalErrors(t),i.aborted||untracked(this.extRequest)!==e)return;this.state.set({extRequest:e,status:`resolved`,previousStatus:`error`,stream:signal({error:encapsulateResourceError(t)},void 0)})}finally{r?.(),r=void 0}}abortInProgressLoad(){untracked(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}},ResourceValueError=class extends Error{constructor(e){super(e.message,{cause:e})}},ResourceWrappedError=class extends Error{constructor(e){super(String(e),{cause:e})}},oo={chain},so=!1})))()}function get(e){return e[co.JSACTION]}function set(e,t){e[co.JSACTION]=t}function getParsed(e){return lo[e]}function setParsed(e,t){lo[e]=t}function getBrowserEventType(e){return e===q.MOUSEENTER?q.MOUSEOVER:e===q.MOUSELEAVE?q.MOUSEOUT:e===q.POINTERENTER?q.POINTEROVER:e===q.POINTERLEAVE?q.POINTEROUT:e}function addEventListener(e,t,n,r){let i=!1;isCaptureEventType(t)&&(i=!0);let a=typeof r==`boolean`?{capture:i,passive:r}:i;return e.addEventListener(t,n,a),{eventType:t,handler:n,capture:i,passive:r}}function removeEventListener(e,t){if(e.removeEventListener){let n=typeof t.passive==`boolean`?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function isMiddleClick(e){return e.which===2||e.which==null&&e.button===4}function isModifiedClickEvent(e){return ho&&e.metaKey||!ho&&e.ctrlKey||isMiddleClick(e)||e.shiftKey}function isMouseSpecialEvent(e,t,n){let r=e.relatedTarget;return(e.type===q.MOUSEOVER&&t===q.MOUSEENTER||e.type===q.MOUSEOUT&&t===q.MOUSELEAVE||e.type===q.POINTEROVER&&t===q.POINTERENTER||e.type===q.POINTEROUT&&t===q.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function createMouseSpecialEvent(e,t){let n={};for(let t in e){if(t===`srcElement`||t===`target`)continue;let r=t,i=e[r];typeof i!=`function`&&(n[r]=i)}return n.type=e.type===q.MOUSEOVER?q.MOUSEENTER:e.type===q.MOUSEOUT?q.MOUSELEAVE:e.type===q.POINTEROVER?q.POINTERENTER:q.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}function getEventType(e){return e.eventType}function setEventType(e,t){e.eventType=t}function getEvent(e){return e.event}function setEvent(e,t){e.event=t}function getTargetElement(e){return e.targetElement}function setTargetElement(e,t){e.targetElement=t}function getContainer(e){return e.eic}function setContainer(e,t){e.eic=t}function getTimestamp(e){return e.timeStamp}function setTimestamp(e,t){e.timeStamp=t}function getAction(e){return e.eia}function setAction(e,t,n){e.eia=[t,n]}function unsetAction(e){e.eia=void 0}function getActionElement(e){return e[1]}function getIsReplay(e){return e.eirp}function setIsReplay(e,t){e.eirp=t}function getResolved(e){return e.eir}function setResolved(e,t){e.eir=t}function cloneEventInfo(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function createEventInfoFromParameters(e,t,n,r,i,a,o,s){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:i,eia:a,eirp:o,eiack:s}}function shouldPreventDefaultBeforeDispatching(e,t){return e.tagName===`A`&&(t.getEventType()===q.CLICK||t.getEventType()===q.CLICKMOD)}function prepareEventForBubbling(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),stopPropagation=()=>{t[So]=!0,n()};patchEventInstance(t,`stopPropagation`,stopPropagation),patchEventInstance(t,`stopImmediatePropagation`,stopPropagation)}function propagationStopped(e){return!!e.getEvent()[So]}function prepareEventForReplay(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);patchEventInstance(t,`target`,n),patchEventInstance(t,`eventPhase`,Co.REPLAY),patchEventInstance(t,`preventDefault`,()=>{throw r(),Error(wo+``)}),patchEventInstance(t,`composedPath`,()=>{throw Error(To+``)})}function prepareEventForDispatch(e){let t=e.getEvent(),n=e.getAction()?.element;n&&patchEventInstance(t,`currentTarget`,n,{configurable:!0})}function patchEventInstance(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function registerDispatcher$1(e,t){e.ecrd(e=>{t.dispatch(e)},xo.I_AM_THE_JSACTION_FRAMEWORK)}function getQueuedEventInfos(e){return e?.q??[]}function removeAllEventListeners(e){e&&(removeEventListeners(e.c,e.et,e.h),removeEventListeners(e.c,e.etc,e.h,!0))}function removeEventListeners(e,t,n,r){for(let i=0;i<t.length;i++)e.removeEventListener(t[i],n,r)}function getAppScopedQueuedEventInfos(e,t=window){return getQueuedEventInfos(t._ejsas?.[e])}function clearAppScopedEarlyEventContract(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}var co,lo,q,uo,fo,po,isCaptureEventType,mo,isEarlyEventType,ho,EventContractContainer,go,_o,vo,yo,bo,ActionResolver,xo,Dispatcher,So,Co,wo,To,EventDispatcher,Eo,Do;function init_primitives_event_dispatch(){return(init_primitives_event_dispatch=t((()=>{init__attribute_chunk(),co={JSACTION:`__jsaction`,OWNER:`__owner`},lo={},q={CLICK:`click`,CLICKMOD:`clickmod`,DBLCLICK:`dblclick`,FOCUS:`focus`,FOCUSIN:`focusin`,BLUR:`blur`,FOCUSOUT:`focusout`,SUBMIT:`submit`,KEYDOWN:`keydown`,KEYPRESS:`keypress`,KEYUP:`keyup`,MOUSEOVER:`mouseover`,MOUSEOUT:`mouseout`,MOUSEENTER:`mouseenter`,MOUSELEAVE:`mouseleave`,POINTEROVER:`pointerover`,POINTEROUT:`pointerout`,POINTERENTER:`pointerenter`,POINTERLEAVE:`pointerleave`,ERROR:`error`,LOAD:`load`,TOUCHSTART:`touchstart`,TOUCHEND:`touchend`,TOUCHMOVE:`touchmove`,TOGGLE:`toggle`},uo=[q.MOUSEENTER,q.MOUSELEAVE,`pointerenter`,`pointerleave`],fo=[q.CLICK,q.DBLCLICK,q.FOCUSIN,q.FOCUSOUT,q.KEYDOWN,q.KEYUP,q.KEYPRESS,q.MOUSEOVER,q.MOUSEOUT,q.SUBMIT,q.TOUCHSTART,q.TOUCHEND,q.TOUCHMOVE,`touchcancel`,`auxclick`,`change`,`compositionstart`,`compositionupdate`,`compositionend`,`beforeinput`,`input`,`select`,`copy`,`cut`,`paste`,`mousedown`,`mouseup`,`wheel`,`contextmenu`,`dragover`,`dragenter`,`dragleave`,`drop`,`dragstart`,`dragend`,`pointerdown`,`pointermove`,`pointerup`,`pointercancel`,`pointerover`,`pointerout`,`gotpointercapture`,`lostpointercapture`,`ended`,`loadedmetadata`,`pagehide`,`pageshow`,`visibilitychange`,`beforematch`],po=[q.FOCUS,q.BLUR,q.ERROR,q.LOAD,q.TOGGLE],isCaptureEventType=e=>po.indexOf(e)>=0,mo=fo.concat(po),isEarlyEventType=e=>mo.indexOf(e)>=0,ho=typeof navigator<`u`&&/Macintosh/.test(navigator.userAgent),EventContractContainer=class{element;handlerInfos=[];constructor(e){this.element=e}addEventListener(e,t,n){this.handlerInfos.push(addEventListener(this.element,e,t(this.element),n))}cleanUp(){for(let e=0;e<this.handlerInfos.length;e++)removeEventListener(this.element,this.handlerInfos[e]);this.handlerInfos=[]}},go={EVENT_ACTION_SEPARATOR:`:`},_o=class EventInfoWrapper{eventInfo;constructor(e){this.eventInfo=e}getEventType(){return getEventType(this.eventInfo)}setEventType(e){setEventType(this.eventInfo,e)}getEvent(){return getEvent(this.eventInfo)}setEvent(e){setEvent(this.eventInfo,e)}getTargetElement(){return getTargetElement(this.eventInfo)}setTargetElement(e){setTargetElement(this.eventInfo,e)}getContainer(){return getContainer(this.eventInfo)}setContainer(e){setContainer(this.eventInfo,e)}getTimestamp(){return getTimestamp(this.eventInfo)}setTimestamp(e){setTimestamp(this.eventInfo,e)}getAction(){let e=getAction(this.eventInfo);if(e)return{name:e[0],element:e[1]}}setAction(e){if(!e){unsetAction(this.eventInfo);return}setAction(this.eventInfo,e.name,e.element)}getIsReplay(){return getIsReplay(this.eventInfo)}setIsReplay(e){setIsReplay(this.eventInfo,e)}getResolved(){return getResolved(this.eventInfo)}setResolved(e){setResolved(this.eventInfo,e)}clone(){return new EventInfoWrapper(cloneEventInfo(this.eventInfo))}},vo={},yo=/\s*;\s*/,bo=q.CLICK,ActionResolver=class{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:e=!1,clickModSupport:t=!0}={}){this.syntheticMouseEventSupport=e,this.clickModSupport=t}resolveEventType(e){this.clickModSupport&&getEventType(e)===q.CLICK&&isModifiedClickEvent(getEvent(e))?setEventType(e,q.CLICKMOD):this.a11yClickSupport&&this.updateEventInfoForA11yClick(e)}resolveAction(e){getResolved(e)||(this.populateAction(e,getTargetElement(e)),setResolved(e,!0))}resolveParentAction(e){let t=getAction(e),n=t&&getActionElement(t);unsetAction(e);let r=n&&this.getParentNode(n);r&&this.populateAction(e,r)}populateAction(e,t){let n=t;for(;n&&n!==getContainer(e)&&(n.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(n,e),!getAction(e));)n=this.getParentNode(n);let r=getAction(e);r&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(e),this.syntheticMouseEventSupport&&(getEventType(e)===q.MOUSEENTER||getEventType(e)===q.MOUSELEAVE||getEventType(e)===q.POINTERENTER||getEventType(e)===q.POINTERLEAVE)&&(isMouseSpecialEvent(getEvent(e),getEventType(e),getActionElement(r))?(setEvent(e,createMouseSpecialEvent(getEvent(e),getActionElement(r))),setTargetElement(e,getActionElement(r))):unsetAction(e)))}getParentNode(e){let t=e[co.OWNER];if(t)return t;let n=e.parentNode;return n?.nodeName===`#document-fragment`?n?.host??null:n}populateActionOnElement(e,t){let n=this.parseActions(e),r=n[getEventType(t)];r!==void 0&&setAction(t,r,e),this.a11yClickSupport&&this.populateClickOnlyAction(e,t,n)}parseActions(e){let t=get(e);if(!t){let n=e.getAttribute(Ct.JSACTION);if(!n)t=vo,set(e,t);else{if(t=getParsed(n),!t){t={};let e=n.split(yo);for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let i=r.indexOf(go.EVENT_ACTION_SEPARATOR),a=i!==-1,o=a?r.substr(0,i).trim():bo,s=a?r.substr(i+1).trim():r;t[o]=s}setParsed(n,t)}set(e,t)}}return t}addA11yClickSupport(e,t,n){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=e,this.preventDefaultForA11yClick=t,this.populateClickOnlyAction=n}},xo=(function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]=`I_AM_THE_JSACTION_FRAMEWORK`,e})(xo||{}),Dispatcher=class{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(e,{actionResolver:t,eventReplayer:n}={}){this.dispatchDelegate=e,this.actionResolver=t,this.eventReplayer=n}dispatch(e){let t=new _o(e);this.actionResolver?.resolveEventType(e),this.actionResolver?.resolveAction(e);let n=t.getAction();if(n&&shouldPreventDefaultBeforeDispatching(n.element,t)&&preventDefault(t.getEvent()),this.eventReplayer&&t.getIsReplay()){this.scheduleEventInfoWrapperReplay(t);return}this.dispatchDelegate(t)}scheduleEventInfoWrapperReplay(e){this.replayEventInfoWrappers.push(e),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}},So=Symbol.for(`propagationStopped`),Co={REPLAY:101},wo="`preventDefault` called during event replay.",To="`composedPath` called during event replay.",EventDispatcher=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(e,t=!0){this.dispatchDelegate=e,this.clickModSupport=t,this.actionResolver=new ActionResolver({clickModSupport:t}),this.dispatcher=new Dispatcher(e=>{this.dispatchToDelegate(e)},{actionResolver:this.actionResolver})}dispatch(e){this.dispatcher.dispatch(e)}dispatchToDelegate(e){for(e.getIsReplay()&&prepareEventForReplay(e),prepareEventForBubbling(e);e.getAction();){if(prepareEventForDispatch(e),isCaptureEventType(e.getEventType())&&e.getAction().element!==e.getTargetElement()||(this.dispatchDelegate(e.getEvent(),e.getAction().name),propagationStopped(e)))return;this.actionResolver.resolveParentAction(e.eventInfo)}}},Eo=!1,Do=(()=>{class EventContract{static MOUSE_SPECIAL_SUPPORT=Eo;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(e){this.containerManager=e}handleEvent(e,t,n){let r=createEventInfoFromParameters(e,t,t.target,n,Date.now());this.handleEventInfo(r)}handleEventInfo(e){if(!this.dispatcher){setIsReplay(e,!0),this.queuedEventInfos?.push(e);return}this.dispatcher(e)}addEvent(e,t,n){if(e in this.eventHandlers||!this.containerManager||!EventContract.MOUSE_SPECIAL_SUPPORT&&uo.indexOf(e)>=0)return;let eventHandler=(e,t,n)=>{this.handleEvent(e,t,n)};this.eventHandlers[e]=eventHandler;let r=getBrowserEventType(t||e);if(r!==e){let t=this.browserEventTypeToExtraEventTypes[r]||[];t.push(e),this.browserEventTypeToExtraEventTypes[r]=t}this.containerManager.addEventListener(r,t=>n=>{eventHandler(e,n,t)},n)}replayEarlyEvents(e=window._ejsa){e&&(this.replayEarlyEventInfos(e.q),removeAllEventListeners(e),delete window._ejsa)}replayEarlyEventInfos(e){for(let t=0;t<e.length;t++){let n=e[t],r=this.getEventTypesForBrowserEventType(n.eventType);for(let e=0;e<r.length;e++){let t=cloneEventInfo(n);setEventType(t,r[e]),this.handleEventInfo(t)}}}getEventTypesForBrowserEventType(e){let t=[];return this.eventHandlers[e]&&t.push(e),this.browserEventTypeToExtraEventTypes[e]&&t.push(...this.browserEventTypeToExtraEventTypes[e]),t}handler(e){return this.eventHandlers[e]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(e,t){this.ecrd(e,t)}ecrd(e,t){if(this.dispatcher=e,this.queuedEventInfos?.length){for(let e=0;e<this.queuedEventInfos.length;e++)this.handleEventInfo(this.queuedEventInfos[e]);this.queuedEventInfos=null}}}return EventContract})()})))()}var Oo=n({ANIMATION_MODULE_TYPE:()=>lt,APP_BOOTSTRAP_LISTENER:()=>ta,APP_ID:()=>N,APP_INITIALIZER:()=>bi,ApplicationInitStatus:()=>xi,ApplicationModule:()=>Ho,ApplicationRef:()=>U,Attribute:()=>Xt,COMPILER_OPTIONS:()=>Za,CSP_NONCE:()=>ut,CUSTOM_ELEMENTS_SCHEMA:()=>Wn,ChangeDetectionStrategy:()=>an,ChangeDetectorRef:()=>es,Compiler:()=>Xa,CompilerFactory:()=>CompilerFactory,Component:()=>Ha,ComponentRef:()=>Jr,ContentChild:()=>zo,ContentChildren:()=>Ro,DEFAULT_CURRENCY_CODE:()=>$a,DOCUMENT:()=>A,DebugElement:()=>DebugElement,DebugEventListener:()=>DebugEventListener,DebugNode:()=>DebugNode,DefaultIterableDiffer:()=>DefaultIterableDiffer,DestroyRef:()=>DestroyRef,Directive:()=>Va,ENVIRONMENT_INITIALIZER:()=>E,ElementRef:()=>tn,EmbeddedViewRef:()=>EmbeddedViewRef,EnvironmentInjector:()=>EnvironmentInjector,ErrorHandler:()=>ErrorHandler,EventEmitter:()=>j,HOST_TAG_NAME:()=>jo,Host:()=>Yt,HostAttributeToken:()=>HostAttributeToken,HostBinding:()=>Ka,HostListener:()=>qa,INJECTOR:()=>Ie,Inject:()=>Gt,Injectable:()=>$t,InjectionToken:()=>InjectionToken,Injector:()=>k,Input:()=>Wa,IterableDiffers:()=>Qo,KeyValueDiffers:()=>$o,LOCALE_ID:()=>Qa,MAX_ANIMATION_TIMEOUT:()=>vr,MissingTranslationStrategy:()=>no,NO_ERRORS_SCHEMA:()=>Gn,NgModule:()=>Ja,NgModuleFactory:()=>hi,NgModuleRef:()=>mi,NgZone:()=>M,Optional:()=>Kt,Output:()=>Ga,OutputEmitterRef:()=>OutputEmitterRef,PLATFORM_ID:()=>ct,PLATFORM_INITIALIZER:()=>st,PendingTasks:()=>St,Pipe:()=>Ua,PlatformRef:()=>us,Query:()=>Query,QueryList:()=>QueryList,REQUEST:()=>Uo,REQUEST_CONTEXT:()=>Go,RESPONSE_INIT:()=>Wo,Renderer2:()=>Renderer2,RendererFactory2:()=>RendererFactory2,RendererStyleFlags2:()=>hr,ResourceDependencyError:()=>ResourceDependencyError,ResourceParamsStatus:()=>ao,Sanitizer:()=>Yr,SecurityContext:()=>D,Self:()=>qt,Service:()=>en,SimpleChange:()=>SimpleChange,SkipSelf:()=>Jt,TRANSLATIONS:()=>eo,TRANSLATIONS_FORMAT:()=>to,TemplateRef:()=>z,Testability:()=>Qi,TestabilityRegistry:()=>$i,TransferState:()=>pt,Type:()=>Bt,VERSION:()=>ge,Version:()=>Version,ViewChild:()=>Vo,ViewChildren:()=>Bo,ViewContainerRef:()=>B,ViewEncapsulation:()=>L,ViewRef:()=>ViewRef,afterEveryRender:()=>afterEveryRender,afterNextRender:()=>afterNextRender,afterRenderEffect:()=>afterRenderEffect,asNativeElements:()=>asNativeElements,assertInInjectionContext:()=>assertInInjectionContext,assertNotInReactiveContext:()=>assertNotInReactiveContext,assertPlatform:()=>assertPlatform,booleanAttribute:()=>booleanAttribute,computed:()=>computed,contentChild:()=>Io,contentChildren:()=>contentChildren,createComponent:()=>createComponent,createEnvironmentInjector:()=>createEnvironmentInjector,createNgModule:()=>createNgModule,createPlatform:()=>createPlatform,createPlatformFactory:()=>createPlatformFactory,debounced:()=>debounced,declareExperimentalWebMcpTool:()=>declareExperimentalWebMcpTool,destroyPlatform:()=>destroyPlatform,effect:()=>effect,enableProdMode:()=>enableProdMode,enableProfiling:()=>enableProfiling$1,forwardRef:()=>forwardRef,getDebugNode:()=>getDebugNode,getModuleFactory:()=>getModuleFactory,getNgModuleById:()=>getNgModuleById,getPlatform:()=>getPlatform,importProvidersFrom:()=>importProvidersFrom,inject:()=>inject,injectAsync:()=>injectAsync,input:()=>No,inputBinding:()=>inputBinding,isDevMode:()=>isDevMode,isSignal:()=>isSignal,isStandalone:()=>isStandalone,isWritableSignal:()=>isWritableSignal,linkedSignal:()=>linkedSignal,makeEnvironmentProviders:()=>makeEnvironmentProviders,makeStateKey:()=>makeStateKey,mergeApplicationConfig:()=>mergeApplicationConfig,model:()=>Po,numberAttribute:()=>numberAttribute,onIdle:()=>onIdle,output:()=>output,outputBinding:()=>outputBinding,platformCore:()=>ys,provideAppInitializer:()=>provideAppInitializer,provideBrowserGlobalErrorListeners:()=>provideBrowserGlobalErrorListeners,provideCheckNoChangesConfig:()=>provideCheckNoChangesConfig,provideEnvironmentInitializer:()=>provideEnvironmentInitializer,provideExperimentalWebMcpTools:()=>provideExperimentalWebMcpTools,provideIdleServiceWith:()=>provideIdleServiceWith,provideNgReflectAttributes:()=>provideNgReflectAttributes,providePlatformInitializer:()=>providePlatformInitializer,provideStabilityDebugging:()=>provideStabilityDebugging,provideZoneChangeDetection:()=>provideZoneChangeDetection,provideZonelessChangeDetection:()=>provideZonelessChangeDetection,reflectComponentType:()=>reflectComponentType,resolveForwardRef:()=>resolveForwardRef,resource:()=>resource,resourceFromSnapshots:()=>resourceFromSnapshots,runInInjectionContext:()=>runInInjectionContext,setTestabilityGetter:()=>setTestabilityGetter,signal:()=>signal,twoWayBinding:()=>twoWayBinding,untracked:()=>untracked,viewChild:()=>Fo,viewChildren:()=>viewChildren,ɵANIMATIONS_DISABLED:()=>_r,ɵAcxChangeDetectionStrategy:()=>ln,ɵAcxViewEncapsulation:()=>un,ɵAfterRenderManager:()=>jr,ɵCACHE_ACTIVE:()=>io,ɵCLIENT_RENDER_MODE_FLAG:()=>Xo,ɵCONTAINER_HEADER_OFFSET:()=>10,ɵChangeDetectionScheduler:()=>ChangeDetectionScheduler,ɵConsole:()=>Gi,ɵControlFlowBlockType:()=>Ki,ɵDEFAULT_LOCALE_ID:()=>la,ɵDEFER_BLOCK_CONFIG:()=>Ui,ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>Hi,ɵDEHYDRATED_BLOCK_REGISTRY:()=>I,ɵDeferBlockBehavior:()=>zi,ɵDeferBlockState:()=>H,ɵENABLE_ROOT_COMPONENT_BOOTSTRAP:()=>cs,ɵEVENT_REPLAY_QUEUE:()=>xn,ɵEffectScheduler:()=>vt,ɵFramework:()=>Ao,ɵHydrationStatus:()=>Hn,ɵIMAGE_CONFIG:()=>ft,ɵIMAGE_CONFIG_DEFAULTS:()=>dt,ɵINJECTOR_SCOPE:()=>ze,ɵINPUT_SIGNAL_BRAND_WRITE_TYPE:()=>ko,ɵINTERNAL_APPLICATION_ERROR_HANDLER:()=>rt,ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION:()=>wn,ɵIS_HYDRATION_DOM_REUSE_ENABLED:()=>gn,ɵIS_INCREMENTAL_HYDRATION_ENABLED:()=>Sn,ɵJSACTION_BLOCK_ELEMENT_MAP:()=>Cn,ɵJSACTION_EVENT_CONTRACT:()=>Mn,ɵLContext:()=>LContext,ɵLocaleDataIndex:()=>W,ɵNG_COMP_DEF:()=>Ce,ɵNG_DIR_DEF:()=>we,ɵNG_ELEMENT_ID:()=>De,ɵNG_INJ_DEF:()=>xe,ɵNG_MOD_DEF:()=>Ee,ɵNG_PIPE_DEF:()=>Te,ɵNG_PROV_DEF:()=>be,ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ti,ɵNO_CHANGE:()=>R,ɵNgModuleFactory:()=>NgModuleFactory,ɵNoopNgZone:()=>NoopNgZone,ɵPERFORMANCE_MARK_PREFIX:()=>ps,ɵPROVIDED_NG_ZONE:()=>as,ɵPROVIDED_ZONELESS:()=>gt,ɵPendingTasksInternal:()=>Qe,ɵProfilerEvent:()=>P,ɵR3Injector:()=>R3Injector,ɵReflectionCapabilities:()=>ReflectionCapabilities,ɵRender3ComponentFactory:()=>ComponentFactory,ɵRender3ComponentRef:()=>ComponentRef,ɵRender3NgModuleRef:()=>NgModuleRef,ɵResourceImpl:()=>ResourceImpl,ɵRuntimeError:()=>RuntimeError,ɵSHARED_STYLES_HOST:()=>ai,ɵSIGNAL:()=>s,ɵSSR_CONTENT_INTEGRITY_MARKER:()=>Vn,ɵTESTABILITY:()=>Yi,ɵTESTABILITY_GETTER:()=>Xi,ɵTimerScheduler:()=>Vi,ɵTracingAction:()=>Or,ɵTracingService:()=>kr,ɵUSE_PENDING_TASKS:()=>Zi,ɵViewRef:()=>ViewRef$1,ɵXSS_SECURITY_URL:()=>ve,ɵZONELESS_ENABLED:()=>ht,ɵ_sanitizeHtml:()=>_sanitizeHtml,ɵ_sanitizeUrl:()=>_sanitizeUrl,ɵallLeavingAnimations:()=>br,ɵallowSanitizationBypassAndThrow:()=>allowSanitizationBypassAndThrow,ɵannotateForHydration:()=>annotateForHydration,ɵassertType:()=>ɵassertType,ɵbypassSanitizationTrustHtml:()=>bypassSanitizationTrustHtml,ɵbypassSanitizationTrustResourceUrl:()=>bypassSanitizationTrustResourceUrl,ɵbypassSanitizationTrustScript:()=>bypassSanitizationTrustScript,ɵbypassSanitizationTrustStyle:()=>bypassSanitizationTrustStyle,ɵbypassSanitizationTrustUrl:()=>bypassSanitizationTrustUrl,ɵchain:()=>chain,ɵclearResolutionOfComponentResourcesQueue:()=>clearResolutionOfComponentResourcesQueue,ɵcompileComponent:()=>compileComponent,ɵcompileDirective:()=>compileDirective,ɵcompileNgModule:()=>compileNgModule,ɵcompileNgModuleDefs:()=>compileNgModuleDefs,ɵcompileNgModuleFactory:()=>compileNgModuleFactory,ɵcompilePipe:()=>compilePipe,ɵconvertToBitFlags:()=>convertToBitFlags,ɵcreateInjector:()=>createInjector,ɵcreateOrReusePlatformInjector:()=>createOrReusePlatformInjector,ɵdefaultIterableDiffers:()=>ns,ɵdefaultKeyValueDiffers:()=>rs,ɵdepsTracker:()=>ei,ɵdescribeDomNode:()=>describeDomNode,ɵdevModeEqual:()=>devModeEqual,ɵdisableProfiling:()=>disableProfiling,ɵenableProfiling:()=>enableProfiling,ɵencapsulateResourceError:()=>encapsulateResourceError,ɵfindLocaleData:()=>findLocaleData,ɵflushModuleScopingQueueAsMuchAsPossible:()=>flushModuleScopingQueueAsMuchAsPossible,ɵformatRuntimeError:()=>formatRuntimeError,ɵgenerateStandaloneInDeclarationsError:()=>generateStandaloneInDeclarationsError,ɵgetAsyncClassMetadataFn:()=>getAsyncClassMetadataFn,ɵgetClosestComponentName:()=>getClosestComponentName,ɵgetComponentDef:()=>getComponentDef,ɵgetComponentInstanceDeepLinkId:()=>getComponentInstanceDeepLinkId,ɵgetCurrentClosestComponentInstance:()=>getCurrentClosestComponentInstance,ɵgetDeferBlocks:()=>getDeferBlocks,ɵgetDirectives:()=>getDirectives,ɵgetDocument:()=>getDocument,ɵgetHostElement:()=>getHostElement,ɵgetInjectableDef:()=>getInjectableDef,ɵgetLContext:()=>getLContext,ɵgetLocaleCurrencyCode:()=>getLocaleCurrencyCode,ɵgetLocalePluralCase:()=>getLocalePluralCase$1,ɵgetOutputDestroyRef:()=>getOutputDestroyRef,ɵgetSanitizationBypassType:()=>getSanitizationBypassType,ɵgetTransferState:()=>getTransferState,ɵgetUnknownElementStrictMode:()=>ɵgetUnknownElementStrictMode,ɵgetUnknownPropertyStrictMode:()=>ɵgetUnknownPropertyStrictMode,ɵglobal:()=>w,ɵinferTagNameFromDefinition:()=>inferTagNameFromDefinition,ɵinjectChangeDetectorRef:()=>injectChangeDetectorRef,ɵinternalCreateApplication:()=>internalCreateApplication,ɵinternalProvideZoneChangeDetection:()=>internalProvideZoneChangeDetection,ɵisComponentDefPendingResolution:()=>isComponentDefPendingResolution,ɵisEnvironmentProviders:()=>isEnvironmentProviders,ɵisInParamsFunction:()=>isInParamsFunction,ɵisInjectable:()=>isInjectable,ɵisNgModule:()=>isNgModule,ɵisPromise:()=>isPromise,ɵisSubscribable:()=>isSubscribable,ɵisViewDirty:()=>isViewDirty,ɵmarkForRefresh:()=>markForRefresh,ɵmaybeUnwrapDefaultExport:()=>maybeUnwrapDefaultExport,ɵnoSideEffects:()=>noSideEffects,ɵpatchComponentDefWithScope:()=>patchComponentDefWithScope,ɵperformanceMarkFeature:()=>performanceMarkFeature,ɵpromiseWithResolvers:()=>promiseWithResolvers,ɵprovideZonelessChangeDetectionInternal:()=>provideZonelessChangeDetectionInternal,ɵpublishNonCoreGlobalUtil:()=>publishNonCoreGlobalUtil,ɵreadHydrationInfo:()=>readHydrationInfo,ɵregisterLocaleData:()=>registerLocaleData,ɵrenderDeferBlockState:()=>renderDeferBlockState,ɵresetCompiledComponents:()=>resetCompiledComponents,ɵresetIncrementalHydrationEnabledWarnedForTests:()=>resetIncrementalHydrationEnabledWarnedForTests,ɵresetIncrementalHydrationRuntimeForTests:()=>resetIncrementalHydrationRuntimeForTests,ɵresetJitOptions:()=>resetJitOptions,ɵresolveComponentResources:()=>resolveComponentResources,ɵrestoreComponentResolutionQueue:()=>restoreComponentResolutionQueue,ɵsetAllowDuplicateNgModuleIdsForTest:()=>setAllowDuplicateNgModuleIdsForTest,ɵsetAlternateWeakRefImpl:()=>setAlternateWeakRefImpl,ɵsetClassDebugInfo:()=>ɵsetClassDebugInfo,ɵsetClassMetadata:()=>setClassMetadata,ɵsetClassMetadataAsync:()=>setClassMetadataAsync,ɵsetCurrentInjector:()=>setCurrentInjector,ɵsetDocument:()=>setDocument,ɵsetInParamsFunction:()=>setInParamsFunction,ɵsetInjectorProfilerContext:()=>setInjectorProfilerContext,ɵsetLocaleId:()=>setLocaleId,ɵsetUnknownElementStrictMode:()=>ɵsetUnknownElementStrictMode,ɵsetUnknownPropertyStrictMode:()=>ɵsetUnknownPropertyStrictMode,ɵstartMeasuring:()=>startMeasuring,ɵstopMeasuring:()=>stopMeasuring,ɵstore:()=>store,ɵstringify:()=>stringify,ɵtransitiveScopesFor:()=>transitiveScopesFor,ɵtriggerResourceLoading:()=>triggerResourceLoading,ɵtruncateMiddle:()=>truncateMiddle,ɵunregisterLocaleData:()=>unregisterAllLocaleData,ɵunwrapSafeValue:()=>unwrapSafeValue,ɵunwrapWritableSignal:()=>ɵunwrapWritableSignal,ɵwithDomHydration:()=>withDomHydration,ɵwithEventReplay:()=>withEventReplay,ɵwithI18nSupport:()=>withI18nSupport,ɵwithIncrementalHydration:()=>withIncrementalHydration,ɵɵControlFeature:()=>ɵɵControlFeature,ɵɵExternalStylesFeature:()=>ɵɵExternalStylesFeature,ɵɵFactoryTarget:()=>Mo,ɵɵHostDirectivesFeature:()=>ɵɵHostDirectivesFeature,ɵɵInheritDefinitionFeature:()=>ɵɵInheritDefinitionFeature,ɵɵNgOnChangesFeature:()=>Dt,ɵɵProvidersFeature:()=>ɵɵProvidersFeature,ɵɵadvance:()=>ɵɵadvance,ɵɵanimateEnter:()=>ɵɵanimateEnter,ɵɵanimateEnterListener:()=>ɵɵanimateEnterListener,ɵɵanimateLeave:()=>ɵɵanimateLeave,ɵɵanimateLeaveListener:()=>ɵɵanimateLeaveListener,ɵɵariaProperty:()=>ɵɵariaProperty,ɵɵarrowFunction:()=>ɵɵarrowFunction,ɵɵattachSourceLocations:()=>ɵɵattachSourceLocations,ɵɵattribute:()=>ɵɵattribute,ɵɵclassMap:()=>ɵɵclassMap,ɵɵclassProp:()=>ɵɵclassProp,ɵɵcomponentInstance:()=>ɵɵcomponentInstance,ɵɵconditional:()=>ɵɵconditional,ɵɵconditionalBranchCreate:()=>ɵɵconditionalBranchCreate,ɵɵconditionalCreate:()=>ɵɵconditionalCreate,ɵɵcontentQuery:()=>ɵɵcontentQuery,ɵɵcontentQuerySignal:()=>ɵɵcontentQuerySignal,ɵɵcontrol:()=>ɵɵcontrol,ɵɵcontrolCreate:()=>ɵɵcontrolCreate,ɵɵdeclareLet:()=>ɵɵdeclareLet,ɵɵdefer:()=>ɵɵdefer,ɵɵdeferEnableTimerScheduling:()=>ɵɵdeferEnableTimerScheduling,ɵɵdeferHydrateNever:()=>ɵɵdeferHydrateNever,ɵɵdeferHydrateOnHover:()=>ɵɵdeferHydrateOnHover,ɵɵdeferHydrateOnIdle:()=>ɵɵdeferHydrateOnIdle,ɵɵdeferHydrateOnImmediate:()=>ɵɵdeferHydrateOnImmediate,ɵɵdeferHydrateOnInteraction:()=>ɵɵdeferHydrateOnInteraction,ɵɵdeferHydrateOnTimer:()=>ɵɵdeferHydrateOnTimer,ɵɵdeferHydrateOnViewport:()=>ɵɵdeferHydrateOnViewport,ɵɵdeferHydrateWhen:()=>ɵɵdeferHydrateWhen,ɵɵdeferOnHover:()=>ɵɵdeferOnHover,ɵɵdeferOnIdle:()=>ɵɵdeferOnIdle,ɵɵdeferOnImmediate:()=>ɵɵdeferOnImmediate,ɵɵdeferOnInteraction:()=>ɵɵdeferOnInteraction,ɵɵdeferOnTimer:()=>ɵɵdeferOnTimer,ɵɵdeferOnViewport:()=>ɵɵdeferOnViewport,ɵɵdeferPrefetchOnHover:()=>ɵɵdeferPrefetchOnHover,ɵɵdeferPrefetchOnIdle:()=>ɵɵdeferPrefetchOnIdle,ɵɵdeferPrefetchOnImmediate:()=>ɵɵdeferPrefetchOnImmediate,ɵɵdeferPrefetchOnInteraction:()=>ɵɵdeferPrefetchOnInteraction,ɵɵdeferPrefetchOnTimer:()=>ɵɵdeferPrefetchOnTimer,ɵɵdeferPrefetchOnViewport:()=>ɵɵdeferPrefetchOnViewport,ɵɵdeferPrefetchWhen:()=>ɵɵdeferPrefetchWhen,ɵɵdeferWhen:()=>ɵɵdeferWhen,ɵɵdefineComponent:()=>ɵɵdefineComponent,ɵɵdefineDirective:()=>ɵɵdefineDirective,ɵɵdefineInjectable:()=>ɵɵdefineInjectable,ɵɵdefineInjector:()=>ɵɵdefineInjector,ɵɵdefineNgModule:()=>ɵɵdefineNgModule,ɵɵdefinePipe:()=>ɵɵdefinePipe,ɵɵdefineService:()=>ɵɵdefineService,ɵɵdirectiveInject:()=>ɵɵdirectiveInject,ɵɵdisableBindings:()=>ɵɵdisableBindings,ɵɵdomElement:()=>ɵɵdomElement,ɵɵdomElementContainer:()=>ɵɵdomElementContainer,ɵɵdomElementContainerEnd:()=>ɵɵdomElementContainerEnd,ɵɵdomElementContainerStart:()=>ɵɵdomElementContainerStart,ɵɵdomElementEnd:()=>ɵɵdomElementEnd,ɵɵdomElementStart:()=>ɵɵdomElementStart,ɵɵdomListener:()=>ɵɵdomListener,ɵɵdomProperty:()=>ɵɵdomProperty,ɵɵdomTemplate:()=>ɵɵdomTemplate,ɵɵelement:()=>ɵɵelement,ɵɵelementContainer:()=>ɵɵelementContainer,ɵɵelementContainerEnd:()=>ɵɵelementContainerEnd,ɵɵelementContainerStart:()=>ɵɵelementContainerStart,ɵɵelementEnd:()=>ɵɵelementEnd,ɵɵelementStart:()=>ɵɵelementStart,ɵɵenableBindings:()=>ɵɵenableBindings,ɵɵenableIncrementalHydrationRuntime:()=>ɵɵenableIncrementalHydrationRuntime,ɵɵforeignComponent:()=>ɵɵforeignComponent,ɵɵforeignContent:()=>ɵɵforeignContent,ɵɵforeignContentFn:()=>ɵɵforeignContentFn,ɵɵgetComponentDepsFactory:()=>ɵɵgetComponentDepsFactory,ɵɵgetCurrentView:()=>ɵɵgetCurrentView,ɵɵgetInheritedFactory:()=>ɵɵgetInheritedFactory,ɵɵgetReplaceMetadataURL:()=>ɵɵgetReplaceMetadataURL,ɵɵi18n:()=>ɵɵi18n,ɵɵi18nApply:()=>ɵɵi18nApply,ɵɵi18nAttributes:()=>ɵɵi18nAttributes,ɵɵi18nEnd:()=>ɵɵi18nEnd,ɵɵi18nExp:()=>ɵɵi18nExp,ɵɵi18nPostprocess:()=>ɵɵi18nPostprocess,ɵɵi18nStart:()=>ɵɵi18nStart,ɵɵinject:()=>ɵɵinject,ɵɵinjectAttribute:()=>ɵɵinjectAttribute,ɵɵinterpolate:()=>ɵɵinterpolate,ɵɵinterpolate1:()=>ɵɵinterpolate1,ɵɵinterpolate2:()=>ɵɵinterpolate2,ɵɵinterpolate3:()=>ɵɵinterpolate3,ɵɵinterpolate4:()=>ɵɵinterpolate4,ɵɵinterpolate5:()=>ɵɵinterpolate5,ɵɵinterpolate6:()=>ɵɵinterpolate6,ɵɵinterpolate7:()=>ɵɵinterpolate7,ɵɵinterpolate8:()=>ɵɵinterpolate8,ɵɵinterpolateV:()=>ɵɵinterpolateV,ɵɵinvalidFactory:()=>ɵɵinvalidFactory,ɵɵinvalidFactoryDep:()=>ɵɵinvalidFactoryDep,ɵɵlistener:()=>ɵɵlistener,ɵɵloadQuery:()=>ɵɵloadQuery,ɵɵnamespaceHTML:()=>ɵɵnamespaceHTML,ɵɵnamespaceMathML:()=>ɵɵnamespaceMathML,ɵɵnamespaceSVG:()=>ɵɵnamespaceSVG,ɵɵnextContext:()=>ɵɵnextContext,ɵɵngDeclareClassMetadata:()=>ɵɵngDeclareClassMetadata,ɵɵngDeclareClassMetadataAsync:()=>ɵɵngDeclareClassMetadataAsync,ɵɵngDeclareComponent:()=>ɵɵngDeclareComponent,ɵɵngDeclareDirective:()=>ɵɵngDeclareDirective,ɵɵngDeclareFactory:()=>ɵɵngDeclareFactory,ɵɵngDeclareInjectable:()=>ɵɵngDeclareInjectable,ɵɵngDeclareInjector:()=>ɵɵngDeclareInjector,ɵɵngDeclareNgModule:()=>ɵɵngDeclareNgModule,ɵɵngDeclarePipe:()=>ɵɵngDeclarePipe,ɵɵngDeclareService:()=>ɵɵngDeclareService,ɵɵpipe:()=>ɵɵpipe,ɵɵpipeBind1:()=>ɵɵpipeBind1,ɵɵpipeBind2:()=>ɵɵpipeBind2,ɵɵpipeBind3:()=>ɵɵpipeBind3,ɵɵpipeBind4:()=>ɵɵpipeBind4,ɵɵpipeBindV:()=>ɵɵpipeBindV,ɵɵprojection:()=>ɵɵprojection,ɵɵprojectionDef:()=>ɵɵprojectionDef,ɵɵproperty:()=>ɵɵproperty,ɵɵpureFunction0:()=>ɵɵpureFunction0,ɵɵpureFunction1:()=>ɵɵpureFunction1,ɵɵpureFunction2:()=>ɵɵpureFunction2,ɵɵpureFunction3:()=>ɵɵpureFunction3,ɵɵpureFunction4:()=>ɵɵpureFunction4,ɵɵpureFunction5:()=>ɵɵpureFunction5,ɵɵpureFunction6:()=>ɵɵpureFunction6,ɵɵpureFunction7:()=>ɵɵpureFunction7,ɵɵpureFunction8:()=>ɵɵpureFunction8,ɵɵpureFunctionV:()=>ɵɵpureFunctionV,ɵɵqueryAdvance:()=>ɵɵqueryAdvance,ɵɵqueryRefresh:()=>ɵɵqueryRefresh,ɵɵreadContextLet:()=>ɵɵreadContextLet,ɵɵreference:()=>ɵɵreference,ɵɵregisterNgModuleType:()=>registerNgModuleType,ɵɵrepeater:()=>ɵɵrepeater,ɵɵrepeaterCreate:()=>ɵɵrepeaterCreate,ɵɵrepeaterTrackByIdentity:()=>ɵɵrepeaterTrackByIdentity,ɵɵrepeaterTrackByIndex:()=>ɵɵrepeaterTrackByIndex,ɵɵreplaceMetadata:()=>ɵɵreplaceMetadata,ɵɵresetView:()=>ɵɵresetView,ɵɵresolveBody:()=>ɵɵresolveBody,ɵɵresolveDocument:()=>ɵɵresolveDocument,ɵɵresolveWindow:()=>ɵɵresolveWindow,ɵɵrestoreView:()=>ɵɵrestoreView,ɵɵsanitizeHtml:()=>ɵɵsanitizeHtml,ɵɵsanitizeResourceUrl:()=>ɵɵsanitizeResourceUrl,ɵɵsanitizeScript:()=>ɵɵsanitizeScript,ɵɵsanitizeStyle:()=>ɵɵsanitizeStyle,ɵɵsanitizeUrl:()=>ɵɵsanitizeUrl,ɵɵsanitizeUrlOrResourceUrl:()=>ɵɵsanitizeUrlOrResourceUrl,ɵɵsetComponentScope:()=>ɵɵsetComponentScope,ɵɵsetNgModuleScope:()=>ɵɵsetNgModuleScope,ɵɵstoreLet:()=>ɵɵstoreLet,ɵɵstyleMap:()=>ɵɵstyleMap,ɵɵstyleProp:()=>ɵɵstyleProp,ɵɵsyntheticHostListener:()=>ɵɵsyntheticHostListener,ɵɵsyntheticHostProperty:()=>ɵɵsyntheticHostProperty,ɵɵtemplate:()=>ɵɵtemplate,ɵɵtemplateRefExtractor:()=>ɵɵtemplateRefExtractor,ɵɵtext:()=>ɵɵtext,ɵɵtextInterpolate:()=>ɵɵtextInterpolate,ɵɵtextInterpolate1:()=>ɵɵtextInterpolate1,ɵɵtextInterpolate2:()=>ɵɵtextInterpolate2,ɵɵtextInterpolate3:()=>ɵɵtextInterpolate3,ɵɵtextInterpolate4:()=>ɵɵtextInterpolate4,ɵɵtextInterpolate5:()=>ɵɵtextInterpolate5,ɵɵtextInterpolate6:()=>ɵɵtextInterpolate6,ɵɵtextInterpolate7:()=>ɵɵtextInterpolate7,ɵɵtextInterpolate8:()=>ɵɵtextInterpolate8,ɵɵtextInterpolateV:()=>ɵɵtextInterpolateV,ɵɵtrustConstantHtml:()=>ɵɵtrustConstantHtml,ɵɵtrustConstantResourceUrl:()=>ɵɵtrustConstantResourceUrl,ɵɵtwoWayBindingSet:()=>ɵɵtwoWayBindingSet,ɵɵtwoWayListener:()=>ɵɵtwoWayListener,ɵɵtwoWayProperty:()=>ɵɵtwoWayProperty,ɵɵvalidateAttribute:()=>ɵɵvalidateAttribute,ɵɵviewQuery:()=>ɵɵviewQuery,ɵɵviewQuerySignal:()=>ɵɵviewQuerySignal});function createInputSignal(e,t){let n=Object.create(Tt);n.value=e,n.transformFn=t?.transform;function inputValueFn(){if(producerAccessed(n),n.value===wt)throw new RuntimeError(-950,null);return n.value}return inputValueFn[s]=n,inputValueFn}function maybeUnwrapDefaultExport(e){return isWrappedDefaultExport(e)?e.default:e}function isWrappedDefaultExport(e){return e&&typeof e==`object`&&`default`in e}function injectAsync(e,t){let n=inject(k),r=null,load=()=>(r||=e(),r);return t?.prefetch&&t.prefetch().then(()=>load()).catch(()=>{}),()=>load().then(e=>n.get(maybeUnwrapDefaultExport(e)))}function onIdle(e){let t=inject(Ft),{promise:n,resolve:r}=promiseWithResolvers();return t.requestOnIdle(()=>r(),e),n}function output(e){return new OutputEmitterRef}function inputFunction(e,t){return createInputSignal(e,t)}function inputRequiredFunction(e){return createInputSignal(wt,e)}function createModelSignal(e,t){let n=Object.create(Tt),r=new OutputEmitterRef;n.value=e;function getter(){return producerAccessed(n),assertModelSet(n.value),n.value}return getter[s]=n,getter.asReadonly=signalAsReadonlyFn.bind(getter),getter.set=e=>{n.equal(n.value,e)||(signalSetFn(n,e),r.emit(e))},getter.update=e=>{assertModelSet(n.value),getter.set(e(n.value))},getter.subscribe=r.subscribe.bind(r),getter.destroyRef=r.destroyRef,getter}function assertModelSet(e){if(e===wt)throw new RuntimeError(952,!1)}function modelFunction(e,t){return createModelSignal(e,t)}function modelRequiredFunction(e){return createModelSignal(wt,e)}function viewChildFn(e,t){return createSingleResultOptionalQuerySignalFn(t)}function viewChildRequiredFn(e,t){return createSingleResultRequiredQuerySignalFn(t)}function viewChildren(e,t){return createMultiResultQuerySignalFn(t)}function contentChildFn(e,t){return createSingleResultOptionalQuerySignalFn(t)}function contentChildRequiredFn(e,t){return createSingleResultRequiredQuerySignalFn(t)}function contentChildren(e,t){return createMultiResultQuerySignalFn(t)}function mergeApplicationConfig(...e){return e.reduce((e,t)=>Object.assign(e,t,{providers:[...e.providers,...t.providers]}),{providers:[]})}function shouldEnableEventReplay(e){return e.get(bn,!1)}function withEventReplay(){let e=[{provide:bn,useFactory:()=>{let e=!0;{let t=inject(N);e=!!window._ejsas?.[t]}return e&&performanceMarkFeature(`NgEventReplay`),e}}];return e.push({provide:E,useValue:()=>{let e=inject(U),{injector:t}=e;if(!Ko.has(e)){let n=inject(Cn);if(shouldEnableEventReplay(t)){enableStashEventListenerImpl();let r=setStashFn(t.get(N),(e,t,r)=>{e.nodeType===Node.ELEMENT_NODE&&(sharedStashFunction(e,t,r),sharedMapFunction(e,n))});e.onDestroy(r)}}},multi:!0},{provide:ta,useFactory:()=>{let e=inject(U),{injector:t}=e;return()=>{if(!shouldEnableEventReplay(t)||Ko.has(e))return;Ko.add(e);let n=t.get(N);e.onDestroy(()=>{Ko.delete(e),clearAppScopedEarlyEventContract(n)}),e.whenStable().then(()=>{if(e.destroyed)return;let n=t.get(Mn);initEventReplay(n,t);let r=t.get(Cn);r.get(qo)?.forEach(removeListeners),r.delete(qo);let i=n.instance;isIncrementalHydrationEnabled(t)?e.onDestroy(()=>i.cleanUp()):i.cleanUp()})}},multi:!0}),e}function collectDomEventsInfo(e,t,n){let r=new Map,i=t[7],a=e.cleanup;if(!a||!i)return r;for(let e=0;e<a.length;){let i=a[e++],o=a[e++];if(typeof i!=`string`)continue;let s=i;if(!isEarlyEventType(s))continue;isCaptureEventType(s)?n.capture.add(s):n.regular.add(s);let c=unwrapRNode(t[o]);e++;let l=a[e++];(typeof l==`boolean`||l>=0)&&(r.has(c)?r.get(c).push(s):r.set(c,[s]))}return r}function invokeRegisteredReplayListeners(e,t,n){let r=(n&&n.getAttribute(`ngb`))??``;/d\d+/.test(r)?hydrateAndInvokeBlockListeners(r,e,t,n):t.eventPhase===Co.REPLAY&&invokeListeners(t,n)}function hydrateAndInvokeBlockListeners(e,t,n,r){let i=t.get(xn);i.push({event:n,currentTarget:r}),triggerHydrationFromBlockName(t,e,createReplayQueuedBlockEventsFn(i))}function createReplayQueuedBlockEventsFn(e){return t=>{let n=new Set(t),r=[];for(let{event:t,currentTarget:i}of e){let e=i.getAttribute(`ngb`);n.has(e)?invokeListeners(t,i):r.push({event:t,currentTarget:i})}e.length=0,e.push(...r)}}function enableHydrationRuntimeSupport(){Jo||(Jo=!0,enableRetrieveHydrationInfoImpl(),enableLocateOrCreateElementNodeImpl(),enableLocateOrCreateTextNodeImpl(),enableLocateOrCreateElementContainerNodeImpl(),enableLocateOrCreateContainerAnchorImpl(),enableLocateOrCreateContainerRefImpl(),enableFindMatchingDehydratedViewImpl(),enableApplyRootElementTransformImpl())}function enableI18nHydrationRuntimeSupport(){Yo||(Yo=!0,enableLocateOrCreateI18nNodeImpl(),enablePrepareI18nBlockForHydrationImpl(),enableClaimDehydratedIcuCaseImpl())}function whenStableWithTimeout(e){return e.whenStable()}function withDomHydration(){let e=[{provide:gn,useFactory:()=>{let e=!0;return e=!!inject(pt,{optional:!0})?.get(Rn,null),e&&performanceMarkFeature(`NgHydration`),e}},{provide:E,useValue:()=>{setIsI18nHydrationSupportEnabled(!1);let e=inject(A);inject(gn)&&(verifySsrContentsIntegrity(e),enableHydrationRuntimeSupport())},multi:!0}];return e.push({provide:vn,useFactory:()=>inject(gn)},{provide:ta,useFactory:()=>{let e=inject(ChangeDetectionScheduler);if(inject(gn)){let t=inject(U);return()=>{whenStableWithTimeout(t).then(()=>{t.destroyed||(cleanupDehydratedViews(t),e.notify(7))})}}return()=>{}},multi:!0}),makeEnvironmentProviders(e)}function withI18nSupport(){return[{provide:yn,useFactory:()=>inject(gn)},{provide:E,useValue:()=>{inject(gn)&&(enableI18nHydrationRuntimeSupport(),setIsI18nHydrationSupportEnabled(!0),performanceMarkFeature(`NgI18nHydration`))},multi:!0}]}function withIncrementalHydration(){let e=[withEventReplay(),{provide:Sn,useValue:!0},{provide:I,useFactory:createDehydratedBlockRegistry}];return e.push({provide:Fa,useFactory:()=>({requested:!1,activated:!1,injector:inject(k),document:inject(A)})},{provide:ta,useFactory:()=>{let e=inject(Fa);return()=>{e.requested||(e.requested=!0,runIncrementalHydrationBootstrap(e))}},multi:!0}),e}function provideStabilityDebugging(){let e=new DebugTaskTrackerImpl,{openTasks:t}=e;return makeEnvironmentProviders([{provide:Ze,useValue:e},provideAppInitializer(()=>{console.warn(`Stability debugging utility was provided in production mode. This will cause debug code to be included in production bundles. If this is intentional because you are debugging stability issues in a production environment, you can ignore this warning.`);let e=inject(M),n=inject(U),r=null;typeof Zone<`u`&&e.run(()=>{r=Zone.current.get(`TaskTrackingZone`)}),e.runOutsideAngular(()=>{let e=setTimeout(()=>{if(console.debug(`---- Application did not stabilize within ${Zo/1e3} seconds ----`),typeof Zone<`u`&&!r&&console.info(`Zone.js is present but no TaskTrackingZone found. To enable better debugging of tasks in the Angular Zone, import "zone.js/plugins/task-tracking" in your application.`),r?.macroTasks?.length){console.group(`Macrotasks keeping Angular Zone unstable:`);for(let e of r?.macroTasks??[])console.debug(e.creationLocation.stack);console.groupEnd()}console.group(`PendingTasks keeping application unstable:`);for(let e of t.values())console.debug(e.stack);console.groupEnd()},Zo);n.whenStable().then(()=>{clearTimeout(e)})})})])}function getPreviousIndex(e,t,n){let r=e.previousIndex;if(r===null)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}function defaultIterableDiffersFactory(){return new Qo([new DefaultIterableDifferFactory])}function defaultKeyValueDiffersFactory(){return new $o([new DefaultKeyValueDifferFactory])}function injectChangeDetectorRef(e){return createViewRef(getCurrentTNode(),getLView(),(e&16)==16)}function createViewRef(e,t,n){if(isComponentHost(e)&&!n){let n=getComponentLViewByIndex(e.index,t);return new ViewRef$1(n,n)}if(e.type&175){let e=t[15];return new ViewRef$1(e,t)}return null}function provideCheckNoChangesConfig(e){return makeEnvironmentProviders([])}function internalProvideZoneChangeDetection({ngZoneFactory,scheduleInRootZone:e}){return ngZoneFactory??=()=>new M({...getNgZoneOptions(),scheduleInRootZone:e}),[{provide:ht,useValue:!1},{provide:M,useFactory:ngZoneFactory},{provide:E,multi:!0,useFactory:()=>{let e=inject(is,{optional:!0});return()=>e.initialize()}},{provide:E,multi:!0,useFactory:()=>{let e=inject(os);return()=>{e.initialize()}}},{provide:_t,useValue:e??!1}]}function provideZoneChangeDetection(e){let t=e?.scheduleInRootZone,n=internalProvideZoneChangeDetection({ngZoneFactory:()=>{let n=getNgZoneOptions(e);return n.scheduleInRootZone=t,n.shouldCoalesceEventChangeDetection&&performanceMarkFeature(`NgZone_CoalesceEvent`),new M(n)},scheduleInRootZone:t});return makeEnvironmentProviders([{provide:as,useValue:!0},n])}function getNgZoneOptions(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function compileNgModuleFactory(e,t,n){let r=new NgModuleFactory(n);return Promise.resolve(r)}function isApplicationBootstrapConfig(e){return!e.moduleRef}function bootstrap(e){let t=isApplicationBootstrapConfig(e)?e.r3Injector:e.moduleRef.injector,n=t.get(M);return n.run(()=>{isApplicationBootstrapConfig(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(rt),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),isApplicationBootstrapConfig(e)){let destroyListener=()=>t.destroy(),n=e.platformInjector.get(ss);n.add(destroyListener),t.onDestroy(()=>{i.unsubscribe(),n.delete(destroyListener)})}else{let destroyListener=()=>e.moduleRef.destroy(),t=e.platformInjector.get(ss);t.add(destroyListener),e.moduleRef.onDestroy(()=>{remove(e.allPlatformModules,e.moduleRef),i.unsubscribe(),t.delete(destroyListener)})}return _callAndReportToErrorHandler(r,n,()=>{let n=t.get(Qe),r=n.add(),i=t.get(xi);return i.runInitializers(),i.donePromise.then(()=>{if(setLocaleId(t.get(Qa,la)||`en-US`),!t.get(cs,!0))return isApplicationBootstrapConfig(e)?t.get(U):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(isApplicationBootstrapConfig(e)){let n=t.get(U);return e.rootComponent!==void 0&&n.bootstrap(e.rootComponent),n}return ls?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void n.remove(r))})})}function setModuleBootstrapImpl(){ls=_moduleDoBootstrap}function _moduleDoBootstrap(e,t){let n=e.injector.get(U);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>n.bootstrap(e));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new RuntimeError(-403,!1);t.push(e)}function _callAndReportToErrorHandler(e,t,n){try{let r=n();return isPromise(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e(n)),n}):r}catch(n){throw t.runOutsideAngular(()=>e(n)),n}}function createPlatform(e){if(getPlatform())throw new RuntimeError(400,!1);publishSignalConfiguration(),ds=e;let t=e.get(us);return runPlatformInitializers(e),t}function createPlatformFactory(e,t,n=[]){let r=`Platform: ${t}`,i=new InjectionToken(r);return(t=[])=>{let a=getPlatform();if(!a){let o=[...n,...t,{provide:i,useValue:!0}];a=e?.(o)??createPlatform(createPlatformInjector(o,r))}return assertPlatform(i)}}function createPlatformInjector(e=[],t){return k.create({name:t,providers:[{provide:ze,useValue:`platform`},{provide:ss,useValue:new Set([()=>ds=null])},...e]})}function assertPlatform(e){let t=getPlatform();if(!t)throw new RuntimeError(-401,!1);return t}function getPlatform(){return ds?.get(us)??null}function destroyPlatform(){getPlatform()?.destroy()}function createOrReusePlatformInjector(e=[]){if(ds)return ds;let t=createPlatformInjector(e);return ds=t,publishSignalConfiguration(),runPlatformInitializers(t),t}function providePlatformInitializer(e){return{provide:st,useValue:e,multi:!0}}function runPlatformInitializers(e){let t=e.get(st,null);runInInjectionContext(e,()=>{t?.forEach(e=>e())})}function internalCreateApplication(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:i}=e;profiler(P.BootstrapApplicationStart);try{let e=i?.injector??createOrReusePlatformInjector(r),a=[provideZonelessChangeDetectionInternal(),it,...n||[]];return bootstrap({r3Injector:new EnvironmentNgModuleRefAdapter({providers:a,parent:e,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:e,rootComponent:t})}catch(e){return Promise.reject(e)}finally{profiler(P.BootstrapApplicationEnd)}}function getSsrId(e){return e.ssrId||=`t${fs++}`,e.ssrId}function calcNumRootNodes(e,t,n){let r=[];return collectNativeNodes(e,t,n,r),r.length}function calcNumRootNodesInLContainer(e){let t=[];return collectNativeNodesInLContainer(e,t),t.length}function annotateComponentLViewForHydration(e,t){let n=e[0];return n&&!n.hasAttribute(`ngSkipHydration`)?annotateHostElementForHydration(n,e,null,t):null}function annotateLContainerForHydration(e,t){let n=unwrapLView(e[0]),r=annotateComponentLViewForHydration(n,t);if(r===null)return;let i=unwrapRNode(n[0]),a=e[3],o=annotateHostElementForHydration(i,a,null,t),s=n[11],c=`${r}|${o}`;s.setAttribute(i,`ngh`,c)}function annotateForHydration(e,t){let n=e.injector,r=isI18nHydrationEnabled(n),i=isIncrementalHydrationEnabled(n),a=new SerializedViewCollection,o=new Map,s=e._views,c=n.get(bn,!1),l={regular:new Set,capture:new Set},u=new Map;e.injector.get(N);for(let e of s){let n=getLNodeForHydration(e);if(n!==null){let e={serializedViewCollection:a,corruptedTextNodes:o,isI18nHydrationEnabled:r,isIncrementalHydrationEnabled:i,i18nChildren:new Map,eventTypesToReplay:l,shouldReplayEvents:c,deferBlocks:u};isLContainer(n)?annotateLContainerForHydration(n,e):annotateComponentLViewForHydration(n,e),insertCorruptedTextNodeMarkers(o,t)}}let d=a.getAll(),f=n.get(pt);if(f.set(Rn,d),u.size>0){let e={};for(let[t,n]of u.entries())e[t]=n;f.set(Bn,e)}return l}function serializeLContainer(e,t,n,r,i){let a=[],o=``;for(let s=10;s<e.length;s++){let c=e[s],l,u,d;if(isRootView(c)&&(c=c[27],isLContainer(c)&&(u=calcNumRootNodesInLContainer(c)+2,annotateLContainerForHydration(c,i),d={i:unwrapLView(c[0])[1].ssrId,r:u})),!d){let a=c[1];a.type===1?(l=a.ssrId,u=1):(l=getSsrId(a),u=calcNumRootNodes(a,c,a.firstChild)),d={i:l,r:u};let o=!1;if(isDeferBlock(n[1],t)){let a=getLDeferBlockDetails(n,t),s=getTDeferBlockDetails(n[1],t);if(i.isIncrementalHydrationEnabled&&s.hydrateTriggers!==null){let t=`d${i.deferBlocks.size}`;s.hydrateTriggers.has(7)&&(o=!0);let n=[];collectNativeNodesInLContainer(e,n);let c={r:n.length,s:a[1]},l=serializeHydrateTriggers(s.hydrateTriggers);l.length>0&&(c.t=l),r!==null&&(c.p=r),i.deferBlocks.set(t,c);let u=unwrapRNode(e);(u===void 0||u.nodeType===Node.COMMENT_NODE)&&annotateDeferBlockAnchorForHydration(u,t),o||annotateDeferBlockRootNodesWithJsAction(s,n,t,i),r=t,d.di=t}d.s=a[1]}if(!o){let t=unwrapRNode(c[0]);(c[1].type!==1||t===null||!t.hasAttribute(`ngSkipHydration`))&&Object.assign(d,serializeLView(e[s],r,i))}}let f=JSON.stringify(d);if(a.length>0&&f===o){let e=a[a.length-1];e.x??=1,e.x++}else o=f,a.push(d)}return a}function serializeHydrateTriggers(e){let t=new Set([0,1,2,5]),n=[];for(let[r,i]of e)t.has(r)&&(i===null?n.push(r):i.type===5?n.push({trigger:r,delay:i.delay}):n.push({trigger:r,intersectionObserverOptions:i.intersectionObserverOptions}));return n}function appendSerializedNodePath(e,t,n,r){let i=t.index-27;e.n??={},e.n[i]??=calcPathForNode(t,n,r)}function appendDisconnectedNodeIndex(e,t){let n=typeof t==`number`?t:t.index-27;e.d??=[],e.d.includes(n)||e.d.push(n)}function serializeLView(e,t=null,n){let r={},i=e[1],a=getOrComputeI18nChildren(i,n),o=n.shouldReplayEvents?collectDomEventsInfo(i,e,n.eventTypesToReplay):null;for(let s=27;s<i.bindingStartIndex;s++){let c=i.data[s],l=s-27,u=trySerializeI18nBlock(e,s,n);if(u){r.l??={},r.l[l]=u.caseQueue;for(let e of u.disconnectedNodes)appendDisconnectedNodeIndex(r,e);for(let t of u.disjointNodes){let n=i.data[t+27];appendSerializedNodePath(r,n,e,a)}continue}if(isTNodeShape(c)&&!isDetachedByI18n(c)){if(isLContainer(e[s])&&c.tView&&(r.t??={},r.t[l]=getSsrId(c.tView)),isDisconnectedNode(c,e)&&isContentProjectedNode(c)){appendDisconnectedNodeIndex(r,c);continue}if(Array.isArray(c.projection)){for(let t of c.projection)if(t){if(!Array.isArray(t))!isProjectionTNode(t)&&!isInSkipHydrationBlock(t)&&(isDisconnectedNode(t,e)?appendDisconnectedNodeIndex(r,t):appendSerializedNodePath(r,t,e,a));else throw unsupportedProjectionOfDomNodes(unwrapRNode(e[s]))}}if(conditionallyAnnotateNodePath(r,c,e,a),isLContainer(e[s])){let i=e[s][0];if(Array.isArray(i)){let e=unwrapRNode(i);e.hasAttribute(`ngSkipHydration`)||annotateHostElementForHydration(e,i,t,n)}r.c??={},r.c[l]=serializeLContainer(e[s],c,e,t,n)}else if(Array.isArray(e[s])&&!isLetDeclaration(c)){let r=unwrapRNode(e[s][0]);r.hasAttribute(`ngSkipHydration`)||annotateHostElementForHydration(r,e[s],t,n)}else if(c.type&8)r.e??={},r.e[l]=calcNumRootNodes(i,e,c.child);else if(c.type&144){let t=c.next;for(;t!==null&&t.type&144;)t=t.next;t&&!isInSkipHydrationBlock(t)&&appendSerializedNodePath(r,t,e,a)}else c.type&1&&processTextNodeBeforeSerialization(n,unwrapRNode(e[s]));if(o&&c.type&2){let n=unwrapRNode(e[s]);o.has(n)&&setJSActionAttributes(n,o.get(n),t)}}}return r}function conditionallyAnnotateNodePath(e,t,n,r){isProjectionTNode(t)||(t.projectionNext&&t.projectionNext!==t.next&&!isInSkipHydrationBlock(t.projectionNext)&&appendSerializedNodePath(e,t.projectionNext,n,r),t.prev===null&&t.parent!==null&&isDisconnectedNode(t.parent,n)&&!isDisconnectedNode(t,n)&&appendSerializedNodePath(e,t,n,r))}function componentUsesShadowDomEncapsulation(e){let t=e[8];if(!t?.constructor)return!1;let n=getComponentDef(t.constructor);return n?.encapsulation===L.ShadowDom||n?.encapsulation===L.ExperimentalIsolatedShadowDom}function annotateHostElementForHydration(e,t,n,r){let i=t[11];if(hasI18n(t)&&!isI18nHydrationSupportEnabled()||componentUsesShadowDomEncapsulation(t))return i.setAttribute(e,nn,``),null;{let a=serializeLView(t,n,r),o=r.serializedViewCollection.add(a);return i.setAttribute(e,`ngh`,o.toString()),o}}function annotateDeferBlockAnchorForHydration(e,t){e.textContent=`ngh=${t}`}function insertCorruptedTextNodeMarkers(e,t){for(let[n,r]of e)n.after(t.createComment(r))}function isContentProjectedNode(e){let t=e;for(;t!=null;){if(isComponentHost(t))return!0;t=t.parent}return!1}function annotateDeferBlockRootNodesWithJsAction(e,t,n,r){let i=convertHydrateTriggersToJsAction(e.hydrateTriggers);for(let e of i)r.eventTypesToReplay.regular.add(e);if(i.length>0){let e=t.filter(e=>e.nodeType===Node.ELEMENT_NODE);for(let t of e)setJSActionAttributes(t,i,n)}}function getCurrentClosestComponentInstance(e){let t=getLView();for(;t;){if(t[1].type===1&&e(t[8]))return t[8];if(isRootView(t))break;t=getLViewParent(t)}return null}function startMeasuring(e){if(!ms)return;let{startLabel:t}=labels(e);performance.mark(t)}function stopMeasuring(e){if(!ms)return;let{startLabel:t,labelName:n,endLabel:r}=labels(e);performance.mark(r),performance.measure(n,t,r),performance.clearMarks(t),performance.clearMarks(r)}function labels(e){let t=`${ps}:${e}`;return{labelName:t,startLabel:`start:${t}`,endLabel:`end:${t}`}}function enableProfiling(){if(!hs&&(typeof performance>`u`||!performance.mark||!performance.measure)){hs=!0,console.warn(`Performance API is not supported on this platform`);return}ms=!0}function disableProfiling(){ms=!1}function ɵassertType(e){}function booleanAttribute(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function numberAttribute(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function afterRenderEffect(e,t){let n=t?.injector??inject(k),r=n.get(ChangeDetectionScheduler),i=n.get(jr),a=n.get(kr,null,{optional:!0});i.impl??=n.get(Nr);let o=e;typeof o==`function`&&(o={mixedReadWrite:e});let s=n.get(mt,null,{optional:!0}),c=new AfterRenderEffectSequence(i.impl,[o.earlyRead,o.write,o.mixedReadWrite,o.read],s?.view,r,n,a?.snapshot(null));return i.impl.register(c),c}function ɵɵngDeclareDirective(e){return getCompilerFacade({usage:1,kind:`directive`,type:e.type}).compileDirectiveDeclaration(K,`ng:///${e.type.name}/ɵfac.js`,e)}function ɵɵngDeclareClassMetadata(e){setClassMetadata(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function ɵɵngDeclareClassMetadataAsync(e){setClassMetadataAsync(e.type,e.resolveDeferredDeps,(...t)=>{let n=e.resolveMetadata(...t);setClassMetadata(e.type,n.decorators,n.ctorParameters,n.propDecorators)})}function ɵɵngDeclareComponent(e){return getCompilerFacade({usage:1,kind:`component`,type:e.type}).compileComponentDeclaration(K,`ng:///${e.type.name}/ɵcmp.js`,e)}function ɵɵngDeclareFactory(e){return getCompilerFacade({usage:1,kind:getFactoryKind(e.target),type:e.type}).compileFactoryDeclaration(K,`ng:///${e.type.name}/ɵfac.js`,e)}function getFactoryKind(e){switch(e){case Mo.Directive:return`directive`;case Mo.Component:return`component`;case Mo.Injectable:return`injectable`;case Mo.Pipe:return`pipe`;case Mo.NgModule:return`NgModule`;case Mo.Service:return`service`}}function ɵɵngDeclareInjectable(e){return getCompilerFacade({usage:1,kind:`injectable`,type:e.type}).compileInjectableDeclaration(K,`ng:///${e.type.name}/ɵprov.js`,e)}function ɵɵngDeclareInjector(e){return getCompilerFacade({usage:1,kind:`NgModule`,type:e.type}).compileInjectorDeclaration(K,`ng:///${e.type.name}/ɵinj.js`,e)}function ɵɵngDeclareNgModule(e){return getCompilerFacade({usage:1,kind:`NgModule`,type:e.type}).compileNgModuleDeclaration(K,`ng:///${e.type.name}/ɵmod.js`,e)}function ɵɵngDeclarePipe(e){return getCompilerFacade({usage:1,kind:`pipe`,type:e.type}).compilePipeDeclaration(K,`ng:///${e.type.name}/ɵpipe.js`,e)}function ɵɵngDeclareService(e){return getCompilerFacade({usage:1,kind:`service`,type:e.type}).compileServiceDeclaration(K,`ng:///${e.type.name}/ɵprov.js`,e)}function getModuleFactory(e){let t=getRegisteredNgModuleType(e);if(!t)throw noModuleError(e);return new NgModuleFactory(t)}function getNgModuleById(e){let t=getRegisteredNgModuleType(e);if(!t)throw noModuleError(e);return t}function noModuleError(e){return new RuntimeError(920,!1)}function createComponent(e,t){let n=getComponentDef(e),r=t.elementInjector||getNullInjector();return new ComponentFactory(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function reflectComponentType(e){let t=getComponentDef(e);if(!t)return null;let n=new ComponentFactory(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function resourceFromSnapshots(e){return new SnapshotResource(isSignal(e)?e:computed(e))}function debounced(e,t,n){if(isInParamsFunction())throw invalidResourceCreationInParams();let r=n?.injector??inject(k),i,a,o,cancelTimer=()=>{o!==void 0&&(clearTimeout(o),o=void 0)};r.get(DestroyRef).onDestroy(()=>{cancelTimer(),i=void 0});let s=linkedSignal({source:()=>{try{return setInParamsFunction(!0),{value:e(),thrown:!1}}catch(e){return rethrowFatalErrors(e),{error:e,thrown:!0}}finally{setInParamsFunction(!1)}},computation:(e,t)=>t===void 0?e.thrown?{status:`error`,error:e.error}:{status:`resolved`,value:e.value}:t.value});return effect(()=>{let r;try{setInParamsFunction(!0),r=e()}catch(e){rethrowFatalErrors(e),s.set({status:`error`,error:e}),cancelTimer(),i=a=void 0;return}finally{setInParamsFunction(!1)}let c=untracked(s),l=n?.equal??Object.is;if(c.status===`reloading`||c.status===`loading`){if(l(r,a))return}else if(c.status===`resolved`&&l(r,c.value))return;cancelTimer();let u=(typeof t==`number`?()=>new Promise(e=>{o=setTimeout(()=>{o=void 0,e()},t)}):t)(r,c);u===void 0?(s.set({status:`resolved`,value:r}),i=a=void 0):(c.status!==`loading`&&c.status!==`error`&&s.set({status:`loading`,value:c.value}),i=u,a=r,u.then(()=>{i===u&&(s.set({status:`resolved`,value:r}),i=a=void 0)}))},{injector:r}),resourceFromSnapshots(s)}function isDevMode(){return!1}function enableProdMode(){}async function declareExperimentalWebMcpTool(e,t){let n=globalThis.document.modelContext??globalThis.navigator.modelContext;if(!n||typeof n.registerTool!=`function`)return;let r=t??inject(k),i=r.get(DestroyRef),a=new AbortController,o={...e,execute:(t,n)=>{let i=n?.signal?AbortSignal.any([a.signal,n.signal]):a.signal;return runInInjectionContext(r,()=>e.execute(t,{...n,signal:i}))}};i.onDestroy(()=>void a.abort()),await n.registerTool(o,{signal:a.signal})}function provideExperimentalWebMcpTools(e){return makeEnvironmentProviders([provideEnvironmentInitializer(()=>{for(let t of e)declareExperimentalWebMcpTool(t)})])}var ko,Ao,HostAttributeToken,jo,Mo,No,Po,Fo,Io,Lo,Query,Ro,zo,Bo,Vo,Ho,Uo,Wo,Go,Ko,qo,initEventReplay,Jo,Yo,Xo,Zo,DebugTaskTrackerImpl,DefaultIterableDifferFactory,trackByIdentity,DefaultIterableDiffer,IterableChangeRecord_,_DuplicateItemRecordList,_DuplicateMap,DefaultKeyValueDifferFactory,DefaultKeyValueDiffer,KeyValueChangeRecord_,Qo,$o,es,ts,ns,rs,is,as,os,ss,cs,ls,us,ds,SerializedViewCollection,fs,ps,ms,hs,gs,_s,vs,AfterRenderEffectSequence,ViewRef,EmbeddedViewRef,ys,SnapshotResource;function init_core(){return(init_core=t((()=>{init__pending_tasks_chunk(),init__debug_node_chunk(),init__resource_chunk(),init_Subscription(),init__effect_chunk(),init_primitives_event_dispatch(),init__weak_ref_chunk(),init__not_found_chunk(),ko=Symbol(),Ao=(function(e){return e.Angular=`angular`,e.ACX=`acx`,e.Wiz=`wiz`,e})(Ao||{}),HostAttributeToken=class{attributeName;constructor(e){this.attributeName=e}__NG_ELEMENT_ID__=()=>ɵɵinjectAttribute(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},jo=(()=>{let e=new InjectionToken(``);return e.__NG_ELEMENT_ID__=e=>{let t=getCurrentTNode();if(t===null)throw new RuntimeError(-204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new RuntimeError(-204,!1)},e})(),Mo=(function(e){return e[e.Directive=0]=`Directive`,e[e.Component=1]=`Component`,e[e.Injectable=2]=`Injectable`,e[e.Pipe=3]=`Pipe`,e[e.NgModule=4]=`NgModule`,e[e.Service=5]=`Service`,e})(Mo||{}),No=(inputFunction.required=inputRequiredFunction,inputFunction),Po=(modelFunction.required=modelRequiredFunction,modelFunction),Fo=(viewChildFn.required=viewChildRequiredFn,viewChildFn),Io=(contentChildFn.required=contentChildRequiredFn,contentChildFn),Lo=!0,Query=class{},Ro=makePropDecorator(`ContentChildren`,(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:Lo,...t}),Query),zo=makePropDecorator(`ContentChild`,(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Query),Bo=makePropDecorator(`ViewChildren`,(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:Lo,...t}),Query),Vo=makePropDecorator(`ViewChild`,(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Query),Ho=(()=>{class ApplicationModule{constructor(e){}static ɵfac=function ApplicationModule_Factory(e){return new(e||ApplicationModule)(ɵɵinject(U))};static ɵmod=ɵɵdefineNgModule({type:ApplicationModule});static ɵinj=ɵɵdefineInjector({})}return ApplicationModule})(),Uo=new InjectionToken(``,{providedIn:`platform`,factory:()=>null}),Wo=new InjectionToken(``,{providedIn:`platform`,factory:()=>null}),Go=new InjectionToken(``,{providedIn:`platform`,factory:()=>null}),Ko=new WeakSet,qo=``,initEventReplay=(e,t)=>{let n=t.get(N),r=window._ejsas[n],i=e.instance=new Do(new EventContractContainer(r.c));for(let e of r.et)i.addEvent(e);for(let e of r.etc)i.addEvent(e);let a=getAppScopedQueuedEventInfos(n);i.replayEarlyEventInfos(a),clearAppScopedEarlyEventContract(n),registerDispatcher$1(i,new EventDispatcher(e=>{invokeRegisteredReplayListeners(t,e,e.currentTarget)}))},Jo=!1,Yo=!1,Xo=`ngcm`,Zo=9e3,DebugTaskTrackerImpl=class{openTasks=new Map;add(e){this.openTasks.set(e,Error(`Task stack tracking error`))}remove(e){this.openTasks.delete(e)}},DefaultIterableDifferFactory=class{supports(e){return isListLikeIterable(e)}create(e){return new DefaultIterableDiffer(e)}},trackByIdentity=(e,t)=>t,DefaultIterableDiffer=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(e){this._trackByFn=e||trackByIdentity}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){let a=!n||t&&t.currentIndex<getPreviousIndex(n,r,i)?t:n,o=getPreviousIndex(a,r,i),s=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(t=t._next,a.previousIndex==null)r++;else{i||=[];let e=o-r,t=s-r;if(e!=t){for(let n=0;n<e;n++){let r=n<i.length?i[n]:i[n]=0,a=r+n;t<=a&&a<e&&(i[n]=r+1)}let n=a.previousIndex;i[n]=t-e}}o!==s&&e(a,o,s)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e??=[],!isListLikeIterable(e))throw new RuntimeError(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,r,i,a;if(Array.isArray(e)){this.length=e.length;for(let r=0;r<this.length;r++)i=e[r],a=this._trackByFn(r,i),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,i,a,r),n=!0):(n&&(t=this._verifyReinsertion(t,i,a,r)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else r=0,iterateListLike(e,e=>{a=this._trackByFn(r,e),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,e,a,r),n=!0):(n&&(t=this._verifyReinsertion(t,e,a,r)),Object.is(t.item,e)||this._addIdentityChange(t,e)),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e===null?(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e===null?e=this._addAfter(new IterableChangeRecord_(t,n),i,r):(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r))):(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)),e}_verifyReinsertion(e,t,n,r){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i===null?e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)):e=this._reinsertAfter(i,e._prev,r),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,i=e._nextRemoved;return r===null?this._removalsHead=i:r._nextRemoved=i,i===null?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=this._additionsTail===null?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){let r=t===null?this._itHead:t._next;return e._next=r,e._prev=t,r===null?this._itTail=e:r._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new _DuplicateMap),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,n=e._next;return t===null?this._itHead=n:t._next=n,n===null?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=this._movesTail===null?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new _DuplicateMap),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=this._identityChangesTail===null?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},IterableChangeRecord_=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(e,t){this.item=e,this.trackById=t}},_DuplicateItemRecordList=class{_head=null;_tail=null;add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;n!==null;n=n._nextDup)if((t===null||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let t=e._prevDup,n=e._nextDup;return t===null?this._head=n:t._nextDup=n,n===null?this._tail=t:n._prevDup=t,this._head===null}},_DuplicateMap=class{map=new Map;put(e){let t=e.trackById,n=this.map.get(t);n||(n=new _DuplicateItemRecordList,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}},DefaultKeyValueDifferFactory=class{supports(e){return e instanceof Map||isJsObject(e)}create(){return new DefaultKeyValueDiffer}},DefaultKeyValueDiffer=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||isJsObject(e)))throw new RuntimeError(900,!1);return this.check(e)?this:null}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;e!==null;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let n=new KeyValueChangeRecord_(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},KeyValueChangeRecord_=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}},Qo=(()=>{class IterableDiffers{factories;static ɵprov=ɵɵdefineInjectable({token:IterableDiffers,providedIn:`root`,factory:defaultIterableDiffersFactory});constructor(e){this.factories=e}static create(e,t){if(t!=null){let n=t.factories.slice();e=e.concat(n)}return new IterableDiffers(e)}static extend(e){return{provide:IterableDiffers,useFactory:()=>{let t=inject(IterableDiffers,{optional:!0,skipSelf:!0});return IterableDiffers.create(e,t||defaultIterableDiffersFactory())}}}find(e){let t=this.factories.find(t=>t.supports(e));if(t!=null)return t;throw new RuntimeError(901,!1)}}return IterableDiffers})(),$o=(()=>{class KeyValueDiffers{static ɵprov=ɵɵdefineInjectable({token:KeyValueDiffers,providedIn:`root`,factory:defaultKeyValueDiffersFactory});factories;constructor(e){this.factories=e}static create(e,t){if(t){let n=t.factories.slice();e=e.concat(n)}return new KeyValueDiffers(e)}static extend(e){return{provide:KeyValueDiffers,useFactory:()=>{let t=inject(KeyValueDiffers,{optional:!0,skipSelf:!0});return KeyValueDiffers.create(e,t||defaultKeyValueDiffersFactory())}}}find(e){let t=this.factories.find(t=>t.supports(e));if(t)return t;throw new RuntimeError(901,!1)}}return KeyValueDiffers})(),es=(()=>{class ChangeDetectorRef{static __NG_ELEMENT_ID__=injectChangeDetectorRef}return ChangeDetectorRef})(),ts=[new DefaultKeyValueDifferFactory],ns=new Qo([new DefaultIterableDifferFactory]),rs=new $o(ts),is=(()=>{class NgZoneChangeDetectionScheduler{zone=inject(M);changeDetectionScheduler=inject(ChangeDetectionScheduler);applicationRef=inject(U);applicationErrorHandler=inject(rt);_onMicrotaskEmptySubscription;initialize(){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 ɵfac=function NgZoneChangeDetectionScheduler_Factory(e){return new(e||NgZoneChangeDetectionScheduler)};static ɵprov=ɵɵdefineService({token:NgZoneChangeDetectionScheduler,factory:NgZoneChangeDetectionScheduler.ɵfac})}return NgZoneChangeDetectionScheduler})(),as=new InjectionToken(``,{factory:()=>!1}),os=(()=>{class ZoneStablePendingTask{subscription=new b;initialized=!1;zone=inject(M);pendingTasks=inject(Qe);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(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function ZoneStablePendingTask_Factory(e){return new(e||ZoneStablePendingTask)};static ɵprov=ɵɵdefineService({token:ZoneStablePendingTask,factory:ZoneStablePendingTask.ɵfac})}return ZoneStablePendingTask})(),ss=new InjectionToken(``),cs=new InjectionToken(``),us=(()=>{class PlatformRef{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,t){let n=[provideZonelessChangeDetectionInternal(),...t?.applicationProviders??[],it],r=createNgModuleRefWithProviders(e.moduleType,this.injector,n);return setModuleBootstrapImpl(),bootstrap({moduleRef:r,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){let n=optionsReducer({},t);return setModuleBootstrapImpl(),compileNgModuleFactory(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new RuntimeError(404,!1);this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e());let e=this._injector.get(ss,null);e&&(e.forEach(e=>e()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static ɵfac=function PlatformRef_Factory(e){return new(e||PlatformRef)(ɵɵinject(k))};static ɵprov=ɵɵdefineInjectable({token:PlatformRef,factory:PlatformRef.ɵfac,providedIn:`platform`})}return PlatformRef})(),ds=null,SerializedViewCollection=class{views=[];indexByContent=new Map;add(e){let t=JSON.stringify(e);if(!this.indexByContent.has(t)){let n=this.views.length;return this.views.push(e),this.indexByContent.set(t,n),n}return this.indexByContent.get(t)}getAll(){return this.views}},fs=0,ps=`🅰️`,ms=!1,hs=!1,gs=Symbol(`NOT_SET`),_s=new Set,vs={...h,kind:`afterRenderEffectPhase`,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:gs,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(e){if(this.sequence.lastPhase=this.phase,!this.dirty||(this.dirty=!1,this.value!==gs&&!consumerPollProducersForChange(this)))return this.signal;try{for(let e of this.cleanup??_s)e()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=consumerBeforeComputation(this),r;try{r=this.userFn.apply(null,t)}finally{consumerAfterComputation(this,n)}return(this.value===gs||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}},AfterRenderEffectSequence=class extends AfterRenderSequence{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(e,t,n,r,i,a=null){super(e,[void 0,void 0,void 0,void 0],n,!1,i.get(DestroyRef),a),this.scheduler=r;for(let e of Mr){let n=t[e];if(n===void 0)continue;let r=Object.create(vs);r.sequence=this,r.phase=e,r.userFn=n,r.dirty=!0,r.signal=()=>(producerAccessed(r),r.value),r.signal[s]=r,r.registerCleanupFn=e=>(r.cleanup??=new Set).add(e),this.nodes[e]=r,this.hooks[e]=e=>r.phaseFn(e)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();super.destroy();for(let e of this.nodes)if(e)try{for(let t of e.cleanup??_s)t()}finally{consumerDestroy(e)}}},ViewRef=class extends es{},EmbeddedViewRef=class extends ViewRef{},ys=createPlatformFactory(null,`core`,[]),SnapshotResource=class{snapshot;constructor(e){this.snapshot=e}get state(){return this.snapshot()}value=computed(()=>{if(this.state.status===`error`)throw new ResourceValueError(this.state.error);return this.state.value});status=computed(()=>this.state.status);error=computed(()=>this.state.status===`error`?this.state.error:void 0);isLoading=computed(()=>this.state.status===`loading`||this.state.status===`reloading`);isValueDefined=computed(()=>this.state.status!==`error`&&this.state.value!==void 0);hasValue(){return this.isValueDefined()}}})))()}function getDOM(){return bs}function setRootDomAdapter(e){bs??=e}var bs,DomAdapter,xs,Ss;function init__platform_location_chunk(){return(init__platform_location_chunk=t((()=>{init_core(),bs=null,DomAdapter=class{},xs=(()=>{class PlatformLocation{historyGo(e){throw Error(``)}static ɵfac=function PlatformLocation_Factory(e){return new(e||PlatformLocation)};static ɵprov=ɵɵdefineInjectable({token:PlatformLocation,factory:()=>inject(Ss),providedIn:`platform`})}return PlatformLocation})(),Ss=(()=>{class BrowserPlatformLocation extends xs{_location;_history;_doc=inject(A);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return getDOM().getBaseHref(this._doc)}onPopState(e){let t=getDOM().getGlobalEventTarget(this._doc,`window`);return t.addEventListener(`popstate`,e,!1),()=>t.removeEventListener(`popstate`,e)}onHashChange(e){let t=getDOM().getGlobalEventTarget(this._doc,`window`);return t.addEventListener(`hashchange`,e,!1),()=>t.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,t,n){this._history.pushState(e,t,n)}replaceState(e,t,n){this._history.replaceState(e,t,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static ɵfac=function BrowserPlatformLocation_Factory(e){return new(e||BrowserPlatformLocation)};static ɵprov=ɵɵdefineInjectable({token:BrowserPlatformLocation,factory:()=>new BrowserPlatformLocation,providedIn:`platform`})}return BrowserPlatformLocation})()})))()}function joinWithSlash(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function stripTrailingSlash(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function normalizeQueryParams(e){return e&&e[0]!==`?`?`?${e}`:e}function createLocation(){return new Es(ɵɵinject(Cs))}function _stripBasePath(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function _stripIndexHtml(e){return e.replace(/\/index\.html$/,``)}function _stripOrigin(e){if(RegExp(`^(https?:)?//`).test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Cs,ws,Ts,Es;function init__location_chunk(){return(init__location_chunk=t((()=>{init_core(),init_Subject(),init__platform_location_chunk(),Cs=(()=>{class LocationStrategy{historyGo(e){throw Error(``)}static ɵfac=function LocationStrategy_Factory(e){return new(e||LocationStrategy)};static ɵprov=ɵɵdefineInjectable({token:LocationStrategy,factory:()=>inject(Ts),providedIn:`root`})}return LocationStrategy})(),ws=new InjectionToken(``),Ts=(()=>{class PathLocationStrategy extends Cs{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??inject(A).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 joinWithSlash(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static ɵfac=function PathLocationStrategy_Factory(e){return new(e||PathLocationStrategy)(ɵɵinject(xs),ɵɵinject(ws,8))};static ɵprov=ɵɵdefineInjectable({token:PathLocationStrategy,factory:PathLocationStrategy.ɵfac,providedIn:`root`})}return PathLocationStrategy})(),Es=(()=>{class Location{_subject=new pe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=_stripOrigin(stripTrailingSlash(_stripIndexHtml(t))),this._locationStrategy.onPopState(e=>{let t={url:this.path(!0),pop:!0,state:e.state,type:e.type};e.hasUAVisualTransition&&(t.hasUAVisualTransition=!0),this._subject.next(t)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=``){return this.path()==this.normalize(e+normalizeQueryParams(t))}normalize(e){return Location.stripTrailingSlash(_stripBasePath(this._basePath,_stripIndexHtml(e)))}prepareExternalUrl(e){return e&&e[0]!==`/`&&(e=`/`+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t=``,n=null){this._locationStrategy.pushState(n,``,e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+normalizeQueryParams(t)),n)}replaceState(e,t=``,n=null){this._locationStrategy.replaceState(n,``,e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+normalizeQueryParams(t)),n)}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(e=>{this._notifyUrlChangeListeners(e.url,e.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e=``,t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t??void 0,complete:n??void 0})}static normalizeQueryParams=normalizeQueryParams;static joinWithSlash=joinWithSlash;static stripTrailingSlash=stripTrailingSlash;static ɵfac=function Location_Factory(e){return new(e||Location)(ɵɵinject(Cs))};static ɵprov=ɵɵdefineInjectable({token:Location,factory:()=>createLocation(),providedIn:`root`})}return Location})()})))()}function getLocaleId(e){return findLocaleData(e)[W.LocaleId]}function getLocaleDayPeriods(e,t,n){let r=findLocaleData(e);return getLastDefinedValue(getLastDefinedValue([r[W.DayPeriodsFormat],r[W.DayPeriodsStandalone]],t),n)}function getLocaleDayNames(e,t,n){let r=findLocaleData(e);return getLastDefinedValue(getLastDefinedValue([r[W.DaysFormat],r[W.DaysStandalone]],t),n)}function getLocaleMonthNames(e,t,n){let r=findLocaleData(e);return getLastDefinedValue(getLastDefinedValue([r[W.MonthsFormat],r[W.MonthsStandalone]],t),n)}function getLocaleEraNames(e,t){let n=findLocaleData(e)[W.Eras];return getLastDefinedValue(n,t)}function getLocaleDateFormat(e,t){return getLastDefinedValue(findLocaleData(e)[W.DateFormat],t)}function getLocaleTimeFormat(e,t){return getLastDefinedValue(findLocaleData(e)[W.TimeFormat],t)}function getLocaleDateTimeFormat(e,t){let n=findLocaleData(e)[W.DateTimeFormat];return getLastDefinedValue(n,t)}function getLocaleNumberSymbol(e,t){let n=findLocaleData(e),r=n[W.NumberSymbols][t];if(r===void 0){if(t===Z.CurrencyDecimal)return n[W.NumberSymbols][Z.Decimal];if(t===Z.CurrencyGroup)return n[W.NumberSymbols][Z.Group]}return r}function getLocaleNumberFormat(e,t){return findLocaleData(e)[W.NumberFormats][t]}function getLocaleCurrencies(e){return findLocaleData(e)[W.Currencies]}function checkFullData(e){if(!e[W.ExtraData])throw new RuntimeError(2303,!1)}function getLocaleExtraDayPeriodRules(e){let t=findLocaleData(e);return checkFullData(t),(t[W.ExtraData][2]||[]).map(e=>typeof e==`string`?extractTime(e):[extractTime(e[0]),extractTime(e[1])])}function getLocaleExtraDayPeriods(e,t,n){let r=findLocaleData(e);return checkFullData(r),getLastDefinedValue(getLastDefinedValue([r[W.ExtraData][0],r[W.ExtraData][1]],t)||[],n)||[]}function getLastDefinedValue(e,t){for(let n=t;n>-1;n--)if(e[n]!==void 0)return e[n];throw new RuntimeError(2304,!1)}function extractTime(e){let[t,n]=e.split(`:`);return{hours:+t,minutes:+n}}function getCurrencySymbol(e,t,n=`en`){let r=getLocaleCurrencies(n)[e]||Ds[e]||[],i=r[1];return t===`narrow`&&typeof i==`string`?i:r[0]||e}function getNumberOfCurrencyDigits(e){let t,n=Ds[e];return n&&(t=n[2]),typeof t==`number`?t:js}function formatDate(e,t,n,r){let i=toDate(e);assertValidDateFormatLength(t),t=getNamedFormat(n,t)||t;let a=[],o;for(;t;)if(o=Ps.exec(t),o){a=a.concat(o.slice(1));let e=a.pop();if(!e)break;t=e}else{a.push(t);break}let s=i.getTimezoneOffset();r&&(s=timezoneToOffset(r,s),i=convertTimezoneToLocal(i,r));let c=``;return a.forEach(e=>{let t=getDateFormatter(e);c+=t?t(i,n,s):e===`''`?`'`:e.replace(/(^'|'$)/g,``).replace(/''/g,`'`)}),c}function assertValidDateFormatLength(e){if(e.length>Fs)throw new RuntimeError(2300,!1)}function createDate(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function getNamedFormat(e,t){let n=getLocaleId(e);if(Ns[n]??=Object.create(null),Ns[n][t])return Ns[n][t];let r=``;switch(t){case`shortDate`:r=getLocaleDateFormat(e,X.Short);break;case`mediumDate`:r=getLocaleDateFormat(e,X.Medium);break;case`longDate`:r=getLocaleDateFormat(e,X.Long);break;case`fullDate`:r=getLocaleDateFormat(e,X.Full);break;case`shortTime`:r=getLocaleTimeFormat(e,X.Short);break;case`mediumTime`:r=getLocaleTimeFormat(e,X.Medium);break;case`longTime`:r=getLocaleTimeFormat(e,X.Long);break;case`fullTime`:r=getLocaleTimeFormat(e,X.Full);break;case`short`:let t=getNamedFormat(e,`shortTime`),n=getNamedFormat(e,`shortDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Short),[t,n]);break;case`medium`:let i=getNamedFormat(e,`mediumTime`),a=getNamedFormat(e,`mediumDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Medium),[i,a]);break;case`long`:let o=getNamedFormat(e,`longTime`),s=getNamedFormat(e,`longDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Long),[o,s]);break;case`full`:let c=getNamedFormat(e,`fullTime`),l=getNamedFormat(e,`fullDate`);r=formatDateTime(getLocaleDateTimeFormat(e,X.Full),[c,l])}return r&&(Ns[n][t]=r),r}function formatDateTime(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return Object.hasOwn(t,n)?t[n]:e})),e}function padNumber(e,t,n=`-`,r,i){let a=``;(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,a=n));let o=String(e);for(;o.length<t;)o=`0`+o;return r&&(o=o.slice(o.length-t)),a+o}function formatFractionalSeconds(e,t){return padNumber(e,3).substring(0,t)}function dateGetter(e,t,n=0,r=!1,i=!1){return function(a,o){let s=getDatePart(e,a);if((n>0||s>-n)&&(s+=n),e===3)s===0&&n===-12&&(s=12);else if(e===6)return formatFractionalSeconds(s,t);let c=getLocaleNumberSymbol(o,Z.MinusSign);return padNumber(s,t,c,r,i)}}function getDatePart(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new RuntimeError(2301,!1)}}function dateStrGetter(e,t,n=J.Format,r=!1){return function(i,a){return getDateTranslation(i,a,e,t,n,r)}}function getDateTranslation(e,t,n,r,i,a){switch(n){case 2:return getLocaleMonthNames(t,i,r)[e.getMonth()];case 1:return getLocaleDayNames(t,i,r)[e.getDay()];case 0:let n=e.getHours(),o=e.getMinutes();if(a){let e=getLocaleExtraDayPeriodRules(t),a=getLocaleExtraDayPeriods(t,i,r),s=e.findIndex(e=>{if(Array.isArray(e)){let[t,r]=e,i=n>=t.hours&&o>=t.minutes,a=n<r.hours||n===r.hours&&o<r.minutes;if(t.hours<r.hours){if(i&&a)return!0}else if(i||a)return!0}else if(e.hours===n&&e.minutes===o)return!0;return!1});if(s!==-1)return a[s]}return getLocaleDayPeriods(t,i,r)[n<12?0:1];case 3:return getLocaleEraNames(t,r)[e.getFullYear()<=0?0:1];default:throw new RuntimeError(2302,!1)}}function timeZoneGetter(e){return function(t,n,r){let i=-1*r,a=getLocaleNumberSymbol(n,Z.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?`+`:``)+padNumber(o,2,a)+padNumber(Math.abs(i%60),2,a);case 1:return`GMT`+(i>=0?`+`:``)+padNumber(o,1,a);case 2:return`GMT`+(i>=0?`+`:``)+padNumber(o,2,a)+`:`+padNumber(Math.abs(i%60),2,a);case 3:return r===0?`Z`:(i>=0?`+`:``)+padNumber(o,2,a)+`:`+padNumber(Math.abs(i%60),2,a);default:throw new RuntimeError(2310,!1)}}}function getFirstThursdayOfYear(e){let t=createDate(e,Is,1).getDay();return createDate(e,0,1+(t<=Ls?Ls:11)-t)}function getThursdayThisIsoWeek(e){let t=e.getDay(),n=t===0?-3:Ls-t;return createDate(e.getFullYear(),e.getMonth(),e.getDate()+n)}function weekGetter(e,t=!1){return function(n,r){let i;if(t){let e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{let e=getThursdayThisIsoWeek(n),t=getFirstThursdayOfYear(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return padNumber(i,e,getLocaleNumberSymbol(r,Z.MinusSign))}}function weekNumberingYearGetter(e,t=!1){return function(n,r){return padNumber(getThursdayThisIsoWeek(n).getFullYear(),e,getLocaleNumberSymbol(r,Z.MinusSign),t)}}function getDateFormatter(e){if(Rs[e])return Rs[e];let t;switch(e){case`G`:case`GG`:case`GGG`:t=dateStrGetter(3,Y.Abbreviated);break;case`GGGG`:t=dateStrGetter(3,Y.Wide);break;case`GGGGG`:t=dateStrGetter(3,Y.Narrow);break;case`y`:t=dateGetter(0,1,0,!1,!0);break;case`yy`:t=dateGetter(0,2,0,!0,!0);break;case`yyy`:t=dateGetter(0,3,0,!1,!0);break;case`yyyy`:t=dateGetter(0,4,0,!1,!0);break;case`Y`:t=weekNumberingYearGetter(1);break;case`YY`:t=weekNumberingYearGetter(2,!0);break;case`YYY`:t=weekNumberingYearGetter(3);break;case`YYYY`:t=weekNumberingYearGetter(4);break;case`M`:case`L`:t=dateGetter(1,1,1);break;case`MM`:case`LL`:t=dateGetter(1,2,1);break;case`MMM`:t=dateStrGetter(2,Y.Abbreviated);break;case`MMMM`:t=dateStrGetter(2,Y.Wide);break;case`MMMMM`:t=dateStrGetter(2,Y.Narrow);break;case`LLL`:t=dateStrGetter(2,Y.Abbreviated,J.Standalone);break;case`LLLL`:t=dateStrGetter(2,Y.Wide,J.Standalone);break;case`LLLLL`:t=dateStrGetter(2,Y.Narrow,J.Standalone);break;case`w`:t=weekGetter(1);break;case`ww`:t=weekGetter(2);break;case`W`:t=weekGetter(1,!0);break;case`d`:t=dateGetter(2,1);break;case`dd`:t=dateGetter(2,2);break;case`c`:case`cc`:t=dateGetter(7,1);break;case`ccc`:t=dateStrGetter(1,Y.Abbreviated,J.Standalone);break;case`cccc`:t=dateStrGetter(1,Y.Wide,J.Standalone);break;case`ccccc`:t=dateStrGetter(1,Y.Narrow,J.Standalone);break;case`cccccc`:t=dateStrGetter(1,Y.Short,J.Standalone);break;case`E`:case`EE`:case`EEE`:t=dateStrGetter(1,Y.Abbreviated);break;case`EEEE`:t=dateStrGetter(1,Y.Wide);break;case`EEEEE`:t=dateStrGetter(1,Y.Narrow);break;case`EEEEEE`:t=dateStrGetter(1,Y.Short);break;case`a`:case`aa`:case`aaa`:t=dateStrGetter(0,Y.Abbreviated);break;case`aaaa`:t=dateStrGetter(0,Y.Wide);break;case`aaaaa`:t=dateStrGetter(0,Y.Narrow);break;case`b`:case`bb`:case`bbb`:t=dateStrGetter(0,Y.Abbreviated,J.Standalone,!0);break;case`bbbb`:t=dateStrGetter(0,Y.Wide,J.Standalone,!0);break;case`bbbbb`:t=dateStrGetter(0,Y.Narrow,J.Standalone,!0);break;case`B`:case`BB`:case`BBB`:t=dateStrGetter(0,Y.Abbreviated,J.Format,!0);break;case`BBBB`:t=dateStrGetter(0,Y.Wide,J.Format,!0);break;case`BBBBB`:t=dateStrGetter(0,Y.Narrow,J.Format,!0);break;case`h`:t=dateGetter(3,1,-12);break;case`hh`:t=dateGetter(3,2,-12);break;case`H`:t=dateGetter(3,1);break;case`HH`:t=dateGetter(3,2);break;case`m`:t=dateGetter(4,1);break;case`mm`:t=dateGetter(4,2);break;case`s`:t=dateGetter(5,1);break;case`ss`:t=dateGetter(5,2);break;case`S`:t=dateGetter(6,1);break;case`SS`:t=dateGetter(6,2);break;case`SSS`:t=dateGetter(6,3);break;case`Z`:case`ZZ`:case`ZZZ`:t=timeZoneGetter(0);break;case`ZZZZZ`:t=timeZoneGetter(3);break;case`O`:case`OO`:case`OOO`:case`z`:case`zz`:case`zzz`:t=timeZoneGetter(1);break;case`OOOO`:case`ZZZZ`:case`zzzz`:t=timeZoneGetter(2);break;default:return null}return Rs[e]=t,t}function timezoneToOffset(e,t){e=e.replace(/:/g,``);let n=Date.parse(`Jan 01, 1970 00:00:00 `+e)/6e4;return isNaN(n)?t:n}function addDateMinutes(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function convertTimezoneToLocal(e,t,n){let r=e.getTimezoneOffset();return addDateMinutes(e,-1*(timezoneToOffset(t,r)-r))}function toDate(e){if(isDate(e))return e;if(typeof e==`number`&&!isNaN(e))return new Date(e);if(typeof e==`string`){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[t,n=1,r=1]=e.split(`-`).map(e=>+e);return createDate(t,n-1,r)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(Ms))return isoStringToDate(n)}let t=new Date(e);if(!isDate(t))throw new RuntimeError(2311,!1);return t}function isoStringToDate(e){let t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-n,s=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat(`0.`+(e[7]||0))*1e3);return a.call(t,o,s,c,l),t}function isDate(e){return e instanceof Date&&!isNaN(e.valueOf())}function formatNumberToLocaleString(e,t,n,r,i,a,o=!1){let s=``,c=!1;if(!isFinite(e))s=getLocaleNumberSymbol(n,Number.isNaN(e)?Z.NaN:Z.Infinity);else{let l=parseNumber(e);o&&(l=toPercent(l));let u=t.minInt,d=t.minFrac,f=t.maxFrac;if(a){let e=a.match(zs);if(e===null)throw new RuntimeError(2306,!1);let t=e[1],n=e[3],r=e[5];if(t!=null&&(u=parseIntAutoRadix(t)),n!=null&&(d=parseIntAutoRadix(n)),r==null?n!=null&&d>f&&(f=d):f=parseIntAutoRadix(r),u>100||d>100||f>100)throw new RuntimeError(2306,!1)}roundNumber(l,d,f);let p=l.digits,m=l.integerLen,h=l.exponent,g=[];for(c=p.every(e=>!e);m<u;m++)p.unshift(0);for(;m<0;m++)p.unshift(0);m>0?g=p.splice(m,p.length):(g=p,p=[0]);let _=[];for(p.length>=t.lgSize&&_.unshift(p.splice(-t.lgSize,p.length).join(``));p.length>t.gSize;)_.unshift(p.splice(-t.gSize,p.length).join(``));p.length&&_.unshift(p.join(``)),s=_.join(getLocaleNumberSymbol(n,r)),g.length&&(s+=getLocaleNumberSymbol(n,i)+g.join(``)),h&&(s+=getLocaleNumberSymbol(n,Z.Exponential)+`+`+h)}return s=e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf,s}function formatCurrency(e,t,n,r,i){let a=parseNumberFormat(getLocaleNumberFormat(t,Os.Currency),getLocaleNumberSymbol(t,Z.MinusSign));return a.minFrac=getNumberOfCurrencyDigits(r),a.maxFrac=a.minFrac,formatNumberToLocaleString(e,a,t,Z.CurrencyGroup,Z.CurrencyDecimal,i).replace(Ks,n).replace(Ks,``).trim()}function formatPercent(e,t,n){return formatNumberToLocaleString(e,parseNumberFormat(getLocaleNumberFormat(t,Os.Percent),getLocaleNumberSymbol(t,Z.MinusSign)),t,Z.Group,Z.Decimal,n,!0).replace(new RegExp(qs,`g`),getLocaleNumberSymbol(t,Z.PercentSign))}function formatNumber(e,t,n){return formatNumberToLocaleString(e,parseNumberFormat(getLocaleNumberFormat(t,Os.Decimal),getLocaleNumberSymbol(t,Z.MinusSign)),t,Z.Group,Z.Decimal,n)}function parseNumberFormat(e,t=`-`){let n={minInt:1,minFrac:0,maxFrac:0,posPre:``,posSuf:``,negPre:``,negSuf:``,gSize:0,lgSize:0},r=e.split(Us),i=r[0],a=r[1],o=i.indexOf(Vs)===-1?[i.substring(0,i.lastIndexOf(Hs)+1),i.substring(i.lastIndexOf(Hs)+1)]:i.split(Vs),s=o[0],c=o[1]||``;n.posPre=s.substring(0,s.indexOf(Gs));for(let e=0;e<c.length;e++){let t=c.charAt(e);t===Hs?n.minFrac=n.maxFrac=e+1:t===Gs?n.maxFrac=e+1:n.posSuf+=t}let l=s.split(Ws);if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,a){let e=i.length-n.posPre.length-n.posSuf.length,t=a.indexOf(Gs);n.negPre=a.substring(0,t).replace(/'/g,``),n.negSuf=a.slice(t+e).replace(/'/g,``)}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function toPercent(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function parseNumber(e){let t=Math.abs(e)+``,n=0,r,i,a,o,s;for((i=t.indexOf(Vs))>-1&&(t=t.replace(Vs,``)),(a=t.search(/e/i))>0?(i<0&&(i=a),i+=+t.slice(a+1),t=t.substring(0,a)):i<0&&(i=t.length),a=0;t.charAt(a)===Hs;a++);if(a===(s=t.length))r=[0],i=1;else{for(s--;t.charAt(s)===Hs;)s--;for(i-=a,r=[],o=0;a<=s;a++,o++)r[o]=Number(t.charAt(a))}return i>Bs&&(r=r.splice(0,21),n=i-1,i=1),{digits:r,exponent:n,integerLen:i}}function roundNumber(e,t,n){if(t>n)throw new RuntimeError(2307,!1);let r=e.digits,i=r.length-e.integerLen,a=Math.min(Math.max(t,i),n),o=a+e.integerLen,s=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,o=a+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(s>=5){if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++}for(;i<Math.max(0,a);i++)r.push(0);let c=a!==0,l=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,c&&(r[n]===0&&n>=l?r.pop():c=!1),+(t>=10)},0);u&&(r.unshift(u),e.integerLen++)}function parseIntAutoRadix(e){let t=parseInt(e);if(isNaN(t))throw new RuntimeError(2305,!1);return t}function getPluralCategory(e,t,n,r){let i=`=${e}`;if(t.indexOf(i)>-1||(i=n.getPluralCategory(e,r),t.indexOf(i)>-1))return i;if(t.indexOf(`other`)>-1)return`other`;throw new RuntimeError(2308,!1)}function getParentInjector(e){return e.get(mi).injector}function applyViewChange(e,t){e.context.$implicit=t.item}function assertTemplate(e,t){if(e&&!e.createEmbeddedView)throw new RuntimeError(2020,!1)}function invalidPipeArgumentError(e,t){return new RuntimeError(2100,!1)}function assertPipeArgument(e,t){if(typeof t!=`string`)throw invalidPipeArgumentError(e,t)}function makeKeyValuePair(e,t){return{key:e,value:t}}function defaultComparator(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n==null)return 1;if(r==null)return-1;if(typeof n==`string`&&typeof r==`string`)return n<r?-1:1;if(typeof n==`number`&&typeof r==`number`)return n-r;if(typeof n==`boolean`&&typeof r==`boolean`)return n<r?-1:1;let i=String(n),a=String(r);return i==a?0:i<a?-1:1}function isValue(e){return e!=null&&e!==``&&e===e}function strToNumber(e){if(typeof e==`string`&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!=`number`)throw new RuntimeError(2309,!1);return e}var Ds,Os,ks,J,Y,X,Z,As,js,Ms,Ns,Ps,Fs,Is,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,NgForOfContext,ec,tc,NgIfContext,SwitchView,nc,rc,ic,ac,oc,sc,cc,SubscribableStrategy,PromiseStrategy,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc;function init__common_module_chunk(){return(init__common_module_chunk=t((()=>{init_core(),Ds={ADP:[void 0,void 0,0],AFN:[void 0,`؋`,0],ALL:[void 0,void 0,0],AMD:[void 0,`֏`,2],AOA:[void 0,`Kz`],ARS:[void 0,`$`],AUD:[`A$`,`$`],AZN:[void 0,`₼`],BAM:[void 0,`KM`],BBD:[void 0,`$`],BDT:[void 0,`৳`],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,`$`],BND:[void 0,`$`],BOB:[void 0,`Bs`],BRL:[`R$`],BSD:[void 0,`$`],BWP:[void 0,`P`],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,`$`],CAD:[`CA$`,`$`,2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,`$`,0],CNY:[`CN¥`,`¥`],COP:[void 0,`$`,2],CRC:[void 0,`₡`,2],CUC:[void 0,`$`],CUP:[void 0,`$`],CZK:[void 0,`Kč`,2],DJF:[void 0,void 0,0],DKK:[void 0,`kr`,2],DOP:[void 0,`$`],EGP:[void 0,`E£`],ESP:[void 0,`₧`,0],EUR:[`€`],FJD:[void 0,`$`],FKP:[void 0,`£`],GBP:[`£`],GEL:[void 0,`₾`],GHS:[void 0,`GH₵`],GIP:[void 0,`£`],GNF:[void 0,`FG`,0],GTQ:[void 0,`Q`],GYD:[void 0,`$`,2],HKD:[`HK$`,`$`],HNL:[void 0,`L`],HRK:[void 0,`kn`],HUF:[void 0,`Ft`,2],IDR:[void 0,`Rp`,2],ILS:[`₪`],INR:[`₹`],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,`kr`,0],ITL:[void 0,void 0,0],JMD:[void 0,`$`],JOD:[void 0,void 0,3],JPY:[`¥`,void 0,0],KGS:[void 0,`⃀`],KHR:[void 0,`៛`],KMF:[void 0,`CF`,0],KPW:[void 0,`₩`,0],KRW:[`₩`,void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,`$`],KZT:[void 0,`₸`],LAK:[void 0,`₭`,0],LBP:[void 0,`L£`,0],LKR:[void 0,`Rs`],LRD:[void 0,`$`],LTL:[void 0,`Lt`],LUF:[void 0,void 0,0],LVL:[void 0,`Ls`],LYD:[void 0,void 0,3],MGA:[void 0,`Ar`,0],MGF:[void 0,void 0,0],MMK:[void 0,`K`,0],MNT:[void 0,`₮`,2],MRO:[void 0,void 0,0],MUR:[void 0,`Rs`,2],MXN:[`MX$`,`$`],MYR:[void 0,`RM`],NAD:[void 0,`$`],NGN:[void 0,`₦`],NIO:[void 0,`C$`],NOK:[void 0,`kr`,2],NPR:[void 0,`Rs`],NZD:[`NZ$`,`$`],OMR:[void 0,void 0,3],PHP:[`₱`],PKR:[void 0,`Rs`,2],PLN:[void 0,`zł`],PYG:[void 0,`₲`,0],RON:[void 0,`lei`],RSD:[void 0,void 0,0],RUB:[void 0,`₽`],RWF:[void 0,`RF`,0],SBD:[void 0,`$`],SEK:[void 0,`kr`,2],SGD:[void 0,`$`],SHP:[void 0,`£`],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,`$`],SSP:[void 0,`£`],STD:[void 0,void 0,0],STN:[void 0,`Db`],SYP:[void 0,`£`,0],THB:[void 0,`฿`],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,`T$`],TRL:[void 0,void 0,0],TRY:[void 0,`₺`],TTD:[void 0,`$`],TWD:[`NT$`,`$`,2],TZS:[void 0,void 0,2],UAH:[void 0,`₴`],UGX:[void 0,void 0,0],USD:[`$`],UYI:[void 0,void 0,0],UYU:[void 0,`$`],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,`Bs`,2],VND:[`₫`,void 0,0],VUV:[void 0,void 0,0],XAF:[`FCFA`,void 0,0],XCD:[`EC$`,`$`],XCG:[`Cg.`],XOF:[`F CFA`,void 0,0],XPF:[`CFPF`,void 0,0],XXX:[`¤`],YER:[void 0,void 0,0],ZAR:[void 0,`R`],ZMK:[void 0,void 0,0],ZMW:[void 0,`ZK`],ZWD:[void 0,void 0,0]},Os=(function(e){return e[e.Decimal=0]=`Decimal`,e[e.Percent=1]=`Percent`,e[e.Currency=2]=`Currency`,e[e.Scientific=3]=`Scientific`,e})(Os||{}),ks=(function(e){return e[e.Zero=0]=`Zero`,e[e.One=1]=`One`,e[e.Two=2]=`Two`,e[e.Few=3]=`Few`,e[e.Many=4]=`Many`,e[e.Other=5]=`Other`,e})(ks||{}),J=(function(e){return e[e.Format=0]=`Format`,e[e.Standalone=1]=`Standalone`,e})(J||{}),Y=(function(e){return e[e.Narrow=0]=`Narrow`,e[e.Abbreviated=1]=`Abbreviated`,e[e.Wide=2]=`Wide`,e[e.Short=3]=`Short`,e})(Y||{}),X=(function(e){return e[e.Short=0]=`Short`,e[e.Medium=1]=`Medium`,e[e.Long=2]=`Long`,e[e.Full=3]=`Full`,e})(X||{}),Z={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},As=getLocalePluralCase$1,js=2,Ms=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ns=Object.create(null),Ps=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Fs=256,Is=0,Ls=4,Rs=Object.create(null),zs=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Bs=22,Vs=`.`,Hs=`0`,Us=`;`,Ws=`,`,Gs=`#`,Ks=`¤`,qs=`%`,Js=(()=>{class NgLocalization{static ɵfac=function NgLocalization_Factory(e){return new(e||NgLocalization)};static ɵprov=ɵɵdefineService({token:NgLocalization,factory:()=>new Ys(inject(Qa))})}return NgLocalization})(),Ys=(()=>{class NgLocaleLocalization extends Js{locale;constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(As(t||this.locale)(e)){case ks.Zero:return`zero`;case ks.One:return`one`;case ks.Two:return`two`;case ks.Few:return`few`;case ks.Many:return`many`;default:return`other`}}static ɵfac=function NgLocaleLocalization_Factory(e){return new(e||NgLocaleLocalization)(ɵɵinject(Qa))};static ɵprov=ɵɵdefineInjectable({token:NgLocaleLocalization,factory:NgLocaleLocalization.ɵfac})}return NgLocaleLocalization})(),Xs=/\s+/,Zs=[],Qs=(()=>{class NgClass{_ngEl;_renderer;initialClasses=Zs;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e==null?Zs:e.trim().split(Xs)}set ngClass(e){this.rawClass=typeof e==`string`?e.trim().split(Xs):e}ngDoCheck(){for(let e of this.initialClasses)this._updateState(e,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let n=this.stateMap.get(e);n===void 0?this.stateMap.set(e,{enabled:t,changed:!0,touched:!0}):(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0)}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(Xs).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}static ɵfac=function NgClass_Factory(e){return new(e||NgClass)(ɵɵdirectiveInject(tn),ɵɵdirectiveInject(Renderer2))};static ɵdir=ɵɵdefineDirective({type:NgClass,selectors:[[``,`ngClass`,``]],inputs:{klass:[0,`class`,`klass`],ngClass:`ngClass`}})}return NgClass})(),$s=(()=>{class NgComponentOutlet{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||e.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?createNgModule(this.ngComponentOutletNgModule,getParentInjector(t)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[t,n]of this._inputsUsed)n?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}static ɵfac=function NgComponentOutlet_Factory(e){return new(e||NgComponentOutlet)(ɵɵdirectiveInject(B))};static ɵdir=ɵɵdefineDirective({type:NgComponentOutlet,selectors:[[``,`ngComponentOutlet`,``]],inputs:{ngComponentOutlet:`ngComponentOutlet`,ngComponentOutletInputs:`ngComponentOutletInputs`,ngComponentOutletInjector:`ngComponentOutletInjector`,ngComponentOutletEnvironmentInjector:`ngComponentOutletEnvironmentInjector`,ngComponentOutletContent:`ngComponentOutletContent`,ngComponentOutletNgModule:`ngComponentOutletNgModule`},exportAs:[`ngComponentOutlet`],features:[Dt]})}return NgComponentOutlet})(),NgForOfContext=class{$implicit;ngForOf;index;count;constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,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}},ec=(()=>{class NgForOf{_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,t,n){this._viewContainer=e,this._template=t,this._differs=n}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 t=this._viewContainer;e.forEachOperation((e,n,r)=>{if(e.previousIndex==null)t.createEmbeddedView(this._template,new NgForOfContext(e.item,this._ngForOf,-1,-1),r===null?void 0:r);else if(r==null)t.remove(n===null?void 0:n);else if(n!==null){let i=t.get(n);t.move(i,r),applyViewChange(i,e)}});for(let e=0,n=t.length;e<n;e++){let r=t.get(e).context;r.index=e,r.count=n,r.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{applyViewChange(t.get(e.currentIndex),e)})}static ngTemplateContextGuard(e,t){return!0}static ɵfac=function NgForOf_Factory(e){return new(e||NgForOf)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z),ɵɵdirectiveInject(Qo))};static ɵdir=ɵɵdefineDirective({type:NgForOf,selectors:[[``,`ngFor`,``,`ngForOf`,``]],inputs:{ngForOf:`ngForOf`,ngForTrackBy:`ngForTrackBy`,ngForTemplate:`ngForTemplate`}})}return NgForOf})(),tc=(()=>{class NgIf{_viewContainer;_context=new NgIfContext;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){assertTemplate(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){assertTemplate(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,t){return!0}static ɵfac=function NgIf_Factory(e){return new(e||NgIf)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z))};static ɵdir=ɵɵdefineDirective({type:NgIf,selectors:[[``,`ngIf`,``]],inputs:{ngIf:`ngIf`,ngIfThen:`ngIfThen`,ngIfElse:`ngIfElse`}})}return NgIf})(),NgIfContext=class{$implicit=null;ngIf=null},SwitchView=class{_viewContainerRef;_templateRef;_created=!1;constructor(e,t){this._viewContainerRef=e,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},nc=(()=>{class NgSwitch{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let t of this._defaultViews)t.enforceState(e)}}static ɵfac=function NgSwitch_Factory(e){return new(e||NgSwitch)};static ɵdir=ɵɵdefineDirective({type:NgSwitch,selectors:[[``,`ngSwitch`,``]],inputs:{ngSwitch:`ngSwitch`}})}return NgSwitch})(),rc=(()=>{class NgSwitchCase{ngSwitch;_view;ngSwitchCase;constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new SwitchView(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static ɵfac=function NgSwitchCase_Factory(e){return new(e||NgSwitchCase)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z),ɵɵdirectiveInject(nc,9))};static ɵdir=ɵɵdefineDirective({type:NgSwitchCase,selectors:[[``,`ngSwitchCase`,``]],inputs:{ngSwitchCase:`ngSwitchCase`}})}return NgSwitchCase})(),ic=(()=>{class NgSwitchDefault{constructor(e,t,n){n._addDefault(new SwitchView(e,t))}static ɵfac=function NgSwitchDefault_Factory(e){return new(e||NgSwitchDefault)(ɵɵdirectiveInject(B),ɵɵdirectiveInject(z),ɵɵdirectiveInject(nc,9))};static ɵdir=ɵɵdefineDirective({type:NgSwitchDefault,selectors:[[``,`ngSwitchDefault`,``]]})}return NgSwitchDefault})(),ac=(()=>{class NgPlural{_localization;_activeView;_caseViews={};constructor(e){this._localization=e}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();let t=getPluralCategory(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}static ɵfac=function NgPlural_Factory(e){return new(e||NgPlural)(ɵɵdirectiveInject(Js))};static ɵdir=ɵɵdefineDirective({type:NgPlural,selectors:[[``,`ngPlural`,``]],inputs:{ngPlural:`ngPlural`}})}return NgPlural})(),oc=(()=>{class NgPluralCase{value;constructor(e,t,n,r){this.value=e;let i=!isNaN(Number(e));r.addCase(i?`=${e}`:e,new SwitchView(n,t))}static ɵfac=function NgPluralCase_Factory(e){return new(e||NgPluralCase)(ɵɵinjectAttribute(`ngPluralCase`),ɵɵdirectiveInject(z),ɵɵdirectiveInject(B),ɵɵdirectiveInject(ac,1))};static ɵdir=ɵɵdefineDirective({type:NgPluralCase,selectors:[[``,`ngPluralCase`,``]]})}return NgPluralCase})(),sc=(()=>{class NgStyle{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){let[n,r]=e.split(`.`),i=n.indexOf(`-`)===-1?void 0:hr.DashCase;t==null?this._renderer.removeStyle(this._ngEl.nativeElement,n,i):this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${t}${r}`:t,i)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}static ɵfac=function NgStyle_Factory(e){return new(e||NgStyle)(ɵɵdirectiveInject(tn),ɵɵdirectiveInject($o),ɵɵdirectiveInject(Renderer2))};static ɵdir=ɵɵdefineDirective({type:NgStyle,selectors:[[``,`ngStyle`,``]],inputs:{ngStyle:`ngStyle`}})}return NgStyle})(),cc=(()=>{class NgTemplateOutlet{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=inject(k);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let t=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,t,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,n)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,n):!1,get:(e,t,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,n)}})}static ɵfac=function NgTemplateOutlet_Factory(e){return new(e||NgTemplateOutlet)(ɵɵdirectiveInject(B))};static ɵdir=ɵɵdefineDirective({type:NgTemplateOutlet,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[Dt]})}return NgTemplateOutlet})(),SubscribableStrategy=class{createSubscription(e,t,n){return untracked(()=>e.subscribe({next:t,error:n}))}dispose(e){untracked(()=>e.unsubscribe())}},PromiseStrategy=class{createSubscription(e,t,n){return e.then(e=>t?.(e),e=>n?.(e)),{unsubscribe:()=>{t=null,n=null}}}dispose(e){e.unsubscribe()}},lc=new PromiseStrategy,uc=new SubscribableStrategy,dc=(()=>{class AsyncPipe{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=inject(rt);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e===this._obj?this._latestValue:(this._dispose(),this.transform(e))}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t),e=>this.applicationErrorHandler(e))}_selectStrategy(e){if(isPromise(e))return lc;if(isSubscribable(e))return uc;throw invalidPipeArgumentError(AsyncPipe,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static ɵfac=function AsyncPipe_Factory(e){return new(e||AsyncPipe)(ɵɵdirectiveInject(es,16))};static ɵpipe=ɵɵdefinePipe({name:`async`,type:AsyncPipe,pure:!1})}return AsyncPipe})(),fc=(()=>{class LowerCasePipe{transform(e){return e==null?null:(assertPipeArgument(LowerCasePipe,e),e.toLowerCase())}static ɵfac=function LowerCasePipe_Factory(e){return new(e||LowerCasePipe)};static ɵpipe=ɵɵdefinePipe({name:`lowercase`,type:LowerCasePipe,pure:!0})}return LowerCasePipe})(),pc=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,mc=(()=>{class TitleCasePipe{transform(e){return e==null?null:(assertPipeArgument(TitleCasePipe,e),e.replace(pc,e=>e[0].toUpperCase()+e.slice(1).toLowerCase()))}static ɵfac=function TitleCasePipe_Factory(e){return new(e||TitleCasePipe)};static ɵpipe=ɵɵdefinePipe({name:`titlecase`,type:TitleCasePipe,pure:!0})}return TitleCasePipe})(),hc=(()=>{class UpperCasePipe{transform(e){return e==null?null:(assertPipeArgument(UpperCasePipe,e),e.toUpperCase())}static ɵfac=function UpperCasePipe_Factory(e){return new(e||UpperCasePipe)};static ɵpipe=ɵɵdefinePipe({name:`uppercase`,type:UpperCasePipe,pure:!0})}return UpperCasePipe})(),gc=`mediumDate`,_c=new InjectionToken(``),vc=new InjectionToken(``),yc=(()=>{class DatePipe{locale;defaultTimezone;defaultOptions;constructor(e,t,n){this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,r){if(e==null||e===``||e!==e)return null;try{let i=t??this.defaultOptions?.dateFormat??gc,a=n??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return formatDate(e,i,r||this.locale,a)}catch(e){throw invalidPipeArgumentError(DatePipe,e.message)}}static ɵfac=function DatePipe_Factory(e){return new(e||DatePipe)(ɵɵdirectiveInject(Qa,16),ɵɵdirectiveInject(_c,24),ɵɵdirectiveInject(vc,24))};static ɵpipe=ɵɵdefinePipe({name:`date`,type:DatePipe,pure:!0})}return DatePipe})(),bc=/#/g,xc=(()=>{class I18nPluralPipe{_localization;constructor(e){this._localization=e}transform(e,t,n){if(e==null)return``;if(typeof t!=`object`||!t)throw invalidPipeArgumentError(I18nPluralPipe,t);return t[getPluralCategory(e,Object.keys(t),this._localization,n)].replace(bc,e.toString())}static ɵfac=function I18nPluralPipe_Factory(e){return new(e||I18nPluralPipe)(ɵɵdirectiveInject(Js,16))};static ɵpipe=ɵɵdefinePipe({name:`i18nPlural`,type:I18nPluralPipe,pure:!0})}return I18nPluralPipe})(),Sc=(()=>{class I18nSelectPipe{transform(e,t){if(e==null)return``;if(typeof t!=`object`||typeof e!=`string`)throw invalidPipeArgumentError(I18nSelectPipe,t);return Object.hasOwn(t,e)?t[e]:Object.hasOwn(t,`other`)?t.other:``}static ɵfac=function I18nSelectPipe_Factory(e){return new(e||I18nSelectPipe)};static ɵpipe=ɵɵdefinePipe({name:`i18nSelect`,type:I18nSelectPipe,pure:!0})}return I18nSelectPipe})(),Cc=(()=>{class JsonPipe{transform(e){return JSON.stringify(e,null,2)}static ɵfac=function JsonPipe_Factory(e){return new(e||JsonPipe)};static ɵpipe=ɵɵdefinePipe({name:`json`,type:JsonPipe,pure:!1})}return JsonPipe})(),wc=(()=>{class KeyValuePipe{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=defaultComparator;transform(e,t=defaultComparator){if(!e||!(e instanceof Map)&&typeof e!=`object`)return null;this.differ??=this.differs.find(e).create();let n=this.differ.diff(e),r=t!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push(makeKeyValuePair(e.key,e.currentValue))})),(n||r)&&(t&&this.keyValues.sort(t),this.compareFn=t),this.keyValues}static ɵfac=function KeyValuePipe_Factory(e){return new(e||KeyValuePipe)(ɵɵdirectiveInject($o,16))};static ɵpipe=ɵɵdefinePipe({name:`keyvalue`,type:KeyValuePipe,pure:!1})}return KeyValuePipe})(),Tc=(()=>{class DecimalPipe{_locale;constructor(e){this._locale=e}transform(e,t,n){if(!isValue(e))return null;n||=this._locale;try{return formatNumber(strToNumber(e),n,t)}catch(e){throw invalidPipeArgumentError(DecimalPipe,e.message)}}static ɵfac=function DecimalPipe_Factory(e){return new(e||DecimalPipe)(ɵɵdirectiveInject(Qa,16))};static ɵpipe=ɵɵdefinePipe({name:`number`,type:DecimalPipe,pure:!0})}return DecimalPipe})(),Ec=(()=>{class PercentPipe{_locale;constructor(e){this._locale=e}transform(e,t,n){if(!isValue(e))return null;n||=this._locale;try{return formatPercent(strToNumber(e),n,t)}catch(e){throw invalidPipeArgumentError(PercentPipe,e.message)}}static ɵfac=function PercentPipe_Factory(e){return new(e||PercentPipe)(ɵɵdirectiveInject(Qa,16))};static ɵpipe=ɵɵdefinePipe({name:`percent`,type:PercentPipe,pure:!0})}return PercentPipe})(),Dc=(()=>{class CurrencyPipe{_locale;_defaultCurrencyCode;constructor(e,t=`USD`){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n=`symbol`,r,i){if(!isValue(e))return null;i||=this._locale,typeof n==`boolean`&&(n=n?`symbol`:`code`);let a=t||this._defaultCurrencyCode;n!==`code`&&(a=n===`symbol`||n===`symbol-narrow`?getCurrencySymbol(a,n===`symbol`?`wide`:`narrow`,i):n);try{return formatCurrency(strToNumber(e),i,a,t,r)}catch(e){throw invalidPipeArgumentError(CurrencyPipe,e.message)}}static ɵfac=function CurrencyPipe_Factory(e){return new(e||CurrencyPipe)(ɵɵdirectiveInject(Qa,16),ɵɵdirectiveInject($a,16))};static ɵpipe=ɵɵdefinePipe({name:`currency`,type:CurrencyPipe,pure:!0})}return CurrencyPipe})(),Oc=(()=>{class SlicePipe{transform(e,t,n){if(e==null)return null;if(!(typeof e==`string`||Array.isArray(e)))throw invalidPipeArgumentError(SlicePipe,e);return e.slice(t,n)}static ɵfac=function SlicePipe_Factory(e){return new(e||SlicePipe)};static ɵpipe=ɵɵdefinePipe({name:`slice`,type:SlicePipe,pure:!1})}return SlicePipe})(),kc=(()=>{class CommonModule{static ɵfac=function CommonModule_Factory(e){return new(e||CommonModule)};static ɵmod=ɵɵdefineNgModule({type:CommonModule,imports:[Qs,$s,ec,tc,cc,sc,nc,rc,ic,ac,oc,dc,hc,fc,Cc,Oc,Tc,Ec,mc,Dc,yc,xc,Sc,wc],exports:[Qs,$s,ec,tc,cc,sc,nc,rc,ic,ac,oc,dc,hc,fc,Cc,Oc,Tc,Ec,mc,Dc,yc,xc,Sc,wc]});static ɵinj=ɵɵdefineInjector({})}return CommonModule})()})))()}function parseCookieValue(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let e=n.indexOf(`=`),[r,i]=e==-1?[n,``]:[n.slice(0,e),n.slice(e+1)];if(r.trim()!==t)continue;let a=i;try{a=decodeURIComponent(i)}catch{}return a.length>1&&a[0]===`"`&&a[a.length-1]===`"`&&(a=a.slice(1,-1)),a}return null}function init__xhr_chunk(){return(init__xhr_chunk=t((()=>{})))()}function isPlatformBrowser(e){return e===Ac}var Ac;function init_common(){return(init_common=t((()=>{init__location_chunk(),init__common_module_chunk(),init__platform_location_chunk(),init_core(),init__xhr_chunk(),Ac=`browser`})))()}function removeElements(e){for(let t of e)t.remove()}function createStyleElement(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function addServerStyles(e,t,n,r){let i=e.head?.querySelectorAll(`style[${Pc}="${t}"],link[${Pc}="${t}"]`);if(!i||i.length===0)return!1;for(let e of i)e.removeAttribute(Pc),e instanceof HTMLLinkElement?r.set(e.href.slice(e.href.lastIndexOf(`/`)+1),{usage:0,elements:[e]}):e.textContent&&n.set(e.textContent,{usage:0,elements:[e]});return!0}function createLinkElement(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}function shimContentAttribute(e){return Bc.replace(Lc,e)}function shimHostAttribute(e){return zc.replace(Lc,e)}function shimStylesContent(e,t){return t.map(t=>t.replace(Lc,e))}function isTemplateNode(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var EventManagerPlugin,jc,Mc,Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Wc,DefaultDomRenderer2,ShadowDomRenderer,NoneEncapsulationDomRenderer,EmulatedEncapsulationDomRenderer2;function init__dom_renderer_chunk(){return(init__dom_renderer_chunk=t((()=>{init_common(),init_core(),EventManagerPlugin=class{_doc;constructor(e){this._doc=e}manager},jc=(()=>{class DomEventsPlugin extends EventManagerPlugin{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n,r){return e.addEventListener(t,n,r),()=>this.removeEventListener(e,t,n,r)}removeEventListener(e,t,n,r){return e.removeEventListener(t,n,r)}static ɵfac=function DomEventsPlugin_Factory(e){return new(e||DomEventsPlugin)(ɵɵinject(A))};static ɵprov=ɵɵdefineInjectable({token:DomEventsPlugin,factory:DomEventsPlugin.ɵfac})}return DomEventsPlugin})(),Mc=new InjectionToken(``),Nc=(()=>{class EventManager{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(e=>{e.manager=this});let n=e.filter(e=>!(e instanceof jc));this._plugins=n.slice().reverse();let r=e.find(e=>e instanceof jc);r&&this._plugins.push(r)}addEventListener(e,t,n,r){return this._findPluginFor(t).addEventListener(e,t,n,r)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(t=>t.supports(e)),!t)throw new RuntimeError(-5101,!1);return this._eventNameToPlugin.set(e,t),t}static ɵfac=function EventManager_Factory(e){return new(e||EventManager)(ɵɵinject(Mc),ɵɵinject(M))};static ɵprov=ɵɵdefineInjectable({token:EventManager,factory:EventManager.ɵfac})}return EventManager})(),Pc=`ng-app-id`,Fc=(()=>{class SharedStylesHost{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,n,r={}){this.doc=e,this.appId=t,this.nonce=n,addServerStyles(e,t,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,t){for(let t of e)this.addUsage(t,this.inline,createStyleElement);t?.forEach(e=>this.addUsage(e,this.external,createLinkElement))}removeStyles(e,t){for(let t of e)this.removeUsage(t,this.inline);t?.forEach(e=>this.removeUsage(e,this.external))}addUsage(e,t,n){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(t=>this.addElement(t,n(e,this.doc)))})}removeUsage(e,t){let n=t.get(e);n&&(n.usage--,n.usage<=0&&(removeElements(n.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])removeElements(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[t,{elements:n}]of this.inline)n.push(this.addElement(e,createStyleElement(t,this.doc)));for(let[t,{elements:n}]of this.external)n.push(this.addElement(e,createLinkElement(t,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let t of[...this.inline.values(),...this.external.values()]){let n=[];for(let r of t.elements)r.parentNode===e?r.remove():n.push(r);t.elements=n}}addElement(e,t){return this.nonce&&t.setAttribute(`nonce`,this.nonce),e.appendChild(t)}static ɵfac=function SharedStylesHost_Factory(e){return new(e||SharedStylesHost)(ɵɵinject(A),ɵɵinject(N),ɵɵinject(ut,8),ɵɵinject(ct))};static ɵprov=ɵɵdefineInjectable({token:SharedStylesHost,factory:SharedStylesHost.ɵfac})}return SharedStylesHost})(),Ic={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`},Lc=/%COMP%/g,Rc=`%COMP%`,zc=`_nghost-${Rc}`,Bc=`_ngcontent-${Rc}`,Vc=!0,Hc=new InjectionToken(``,{factory:()=>Vc}),Uc=new InjectionToken(``),Wc=(()=>{class DomRendererFactory2{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,t,n,r,i,a,o=null,s=null,c=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=i,this.ngZone=a,this.nonce=o,this.tracingService=s,this.cssVarNamespace=c??``,this.defaultRenderer=new DefaultDomRenderer2(e,i,a,this.tracingService,this.cssVarNamespace)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let n=this.getOrCreateRenderer(e,t);return n instanceof EmulatedEncapsulationDomRenderer2?n.applyToHost(e):n instanceof NoneEncapsulationDomRenderer&&n.applyStyles(),n}getOrCreateRenderer(e,t){let n=this.rendererByCompId,r=n.get(t.id);if(!r){let i=this.doc,a=this.ngZone,o=this.eventManager,s=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.tracingService;switch(t.encapsulation){case L.Emulated:r=new EmulatedEncapsulationDomRenderer2(o,s,t,this.appId,c,i,a,l,this.cssVarNamespace);break;case L.ShadowDom:return new ShadowDomRenderer(o,e,t,i,a,this.nonce,l,this.cssVarNamespace,s);case L.ExperimentalIsolatedShadowDom:return new ShadowDomRenderer(o,e,t,i,a,this.nonce,l,this.cssVarNamespace);default:r=new NoneEncapsulationDomRenderer(o,s,t,c,i,a,l,this.cssVarNamespace)}n.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static ɵfac=function DomRendererFactory2_Factory(e){return new(e||DomRendererFactory2)(ɵɵinject(Nc),ɵɵinject(ai),ɵɵinject(N),ɵɵinject(Hc),ɵɵinject(A),ɵɵinject(M),ɵɵinject(ut),ɵɵinject(kr,8),ɵɵinject(Uc,8))};static ɵprov=ɵɵdefineInjectable({token:DomRendererFactory2,factory:DomRendererFactory2.ɵfac})}return DomRendererFactory2})(),DefaultDomRenderer2=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r,i=``){this.eventManager=e,this.doc=t,this.ngZone=n,this.tracingService=r,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(Ic[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(isTemplateNode(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){let r=isTemplateNode(e)?e.content:e;if(n!=null&&n.parentNode!==r)throw new RuntimeError(-5106,!1);r.insertBefore(t,n)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e==`string`?this.doc.querySelector(e):e;if(!n)throw new RuntimeError(-5104,!1);return t||(n.textContent=``),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+`:`+t;let i=Ic[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=Ic[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){let i=t.startsWith(`--`);i&&(t=t.replace(`%NS%`,this.cssVarNamespace)),i||r&(hr.DashCase|hr.Important)?e.style.setProperty(t,n,r&hr.Important?`important`:``):e.style[t]=n}removeStyle(e,t,n){let r=t.startsWith(`--`);r&&(t=t.replace(`%NS%`,this.cssVarNamespace)),r||n&hr.DashCase?e.style.removeProperty(t):e.style[t]=``}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e==`string`&&(e=getDOM().getGlobalEventTarget(this.doc,e),!e))throw new RuntimeError(-5102,!1);let i=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,r)}decoratePreventDefault(e){return t=>{if(t===`__ngUnwrap__`)return e;e(t)===!1&&t.preventDefault()}}},ShadowDomRenderer=class extends DefaultDomRenderer2{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,n,r,i,a,o,s,c){super(e,r,i,o,s),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=n.styles;l=shimStylesContent(n.id,l).map(e=>e.replace(/%NS%/g,s));for(let e of l){let t=document.createElement(`style`);a&&t.setAttribute(`nonce`,a),t.textContent=e,this.shadowRoot.appendChild(t)}let u=n.getExternalStyles?.();if(u)for(let e of u){let t=createLinkElement(e,r);a&&t.setAttribute(`nonce`,a),this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},NoneEncapsulationDomRenderer=class extends DefaultDomRenderer2{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,i,a,o,s,c){super(e,i,a,o,s),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let l=n.styles,u=c?shimStylesContent(c,l):l;this.styles=u.map(e=>e.replace(/%NS%/g,s)),this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&br.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},EmulatedEncapsulationDomRenderer2=class extends NoneEncapsulationDomRenderer{contentAttr;hostAttr;constructor(e,t,n,r,i,a,o,s,c){let l=r+`-`+n.id;super(e,t,n,i,a,o,s,c,l),this.contentAttr=shimContentAttribute(l),this.hostAttr=shimHostAttribute(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,``)}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,``),n}}})))()}function getBaseElementHref(){return Kc||=document.head.querySelector(`base`),Kc?Kc.getAttribute(`href`):null}function relativePath(e){return new URL(e,document.baseURI).pathname}async function bootstrapApplication(e,t,n){return internalCreateApplication({rootComponent:e,...createProvidersConfig(t,n)})}function createProvidersConfig(e,t){return{platformRef:t?.platformRef,appProviders:[...$c,...e?.providers??[]],platformProviders:Zc}}function initDomAdapter(){Gc.makeCurrent()}function errorHandler(){return new ErrorHandler}function _document(){return setDocument(document),document}var Gc,Kc,BrowserGetTestability,qc,Jc,Yc,Xc,Zc,Qc,$c,el;function init__browser_chunk(){return(init__browser_chunk=t((()=>{init_common(),init_core(),init__dom_renderer_chunk(),Gc=class BrowserDomAdapter extends DomAdapter{supportsDOMEvents=!0;static makeCurrent(){setRootDomAdapter(new BrowserDomAdapter)}onAndCancel(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return t||=this.getDefaultDocument(),t.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return t===`window`?window:t===`document`?e:t===`body`?e.body:null}getBaseHref(e){let t=getBaseElementHref();return t==null?null:relativePath(t)}resetBaseElement(){Kc=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return parseCookieValue(document.cookie,e)}},Kc=null,BrowserGetTestability=class{addToWindow(e){w.getAngularTestability=(t,n=!0)=>{let r=e.findTestabilityInTree(t,n);if(r==null)throw new RuntimeError(5103,!1);return r},w.getAllAngularTestabilities=()=>e.getAllTestabilities(),w.getAllAngularRootElements=()=>e.getAllRootElements();let whenAllStable=e=>{let t=w.getAllAngularTestabilities(),n=t.length,decrement=function(){n--,n==0&&e()};t.forEach(e=>{e.whenStable(decrement)})};w.frameworkStabilizers||(w.frameworkStabilizers=[]),w.frameworkStabilizers.push(whenAllStable)}findTestabilityInTree(e,t,n){return t==null?null:e.getTestability(t)??(n?getDOM().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},qc=[`alt`,`control`,`meta`,`shift`],Jc={"\b":`Backspace`," ":`Tab`,"":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`},Yc={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Xc=(()=>{class KeyEventsPlugin extends EventManagerPlugin{constructor(e){super(e)}supports(e){return KeyEventsPlugin.parseEventName(e)!=null}addEventListener(e,t,n,r){let i=KeyEventsPlugin.parseEventName(t),a=KeyEventsPlugin.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>getDOM().onAndCancel(e,i.domEventName,a,r))}static parseEventName(e){let t=e.toLowerCase().split(`.`),n=t.shift();if(t.length===0||n!==`keydown`&&n!==`keyup`)return null;let r=KeyEventsPlugin._normalizeKey(t.pop()),i=``,a=t.indexOf(`code`);if(a>-1&&(t.splice(a,1),i=`code.`),qc.forEach(e=>{let n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+`.`)}),i+=r,t.length!=0||r.length===0)return null;let o={};return o.domEventName=n,o.fullKey=i,o}static matchEventFullKeyCode(e,t){let n=Jc[e.key]||e.key,r=``;return t.indexOf(`code.`)>-1&&(n=e.code,r=`code.`),n==null||!n?!1:(n=n.toLowerCase(),n===` `?n=`space`:n===`.`&&(n=`dot`),qc.forEach(t=>{if(t!==n){let n=Yc[t];n(e)&&(r+=t+`.`)}}),r+=n,r===t)}static eventCallback(e,t,n){return r=>{KeyEventsPlugin.matchEventFullKeyCode(r,e)&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){return e===`esc`?`escape`:e}static ɵfac=function KeyEventsPlugin_Factory(e){return new(e||KeyEventsPlugin)(ɵɵinject(A))};static ɵprov=ɵɵdefineInjectable({token:KeyEventsPlugin,factory:KeyEventsPlugin.ɵfac})}return KeyEventsPlugin})(),Zc=[{provide:ct,useValue:Ac},{provide:st,useValue:initDomAdapter,multi:!0},{provide:A,useFactory:_document}],Qc=[{provide:Xi,useClass:BrowserGetTestability},{provide:Yi,useClass:Qi,deps:[M,$i,Xi]},{provide:Qi,useClass:Qi,deps:[M,$i,Xi]}],$c=[{provide:ze,useValue:`root`},{provide:ErrorHandler,useFactory:errorHandler},{provide:Mc,useClass:jc,multi:!0},{provide:Mc,useClass:Xc,multi:!0},Wc,{provide:ai,useClass:Fc},{provide:Fc,useExisting:ai},Nc,{provide:RendererFactory2,useExisting:Wc},[]],el=(()=>{class BrowserModule{constructor(){}static ɵfac=function BrowserModule_Factory(e){return new(e||BrowserModule)};static ɵmod=ɵɵdefineNgModule({type:BrowserModule,exports:[kc,Ho]});static ɵinj=ɵɵdefineInjector({providers:[...$c,...Qc],imports:[kc,Ho]})}return BrowserModule})()})))()}var tl,nl;function init_platform_browser(){return(init_platform_browser=t((()=>{init__browser_chunk(),init_common(),init_core(),tl=(()=>{class DomSanitizer{static ɵfac=function DomSanitizer_Factory(e){return new(e||DomSanitizer)};static ɵprov=ɵɵdefineInjectable({token:DomSanitizer,factory:function DomSanitizer_Factory(e){let t=null;return t=e?new(e||DomSanitizer):ɵɵinject(nl),t},providedIn:`root`})}return DomSanitizer})(),nl=(()=>{class DomSanitizerImpl extends tl{_doc=inject(A);sanitize(e,t){if(t==null)return null;switch(e){case D.NONE:return t;case D.HTML:return allowSanitizationBypassAndThrow(t,`HTML`)?unwrapSafeValue(t):_sanitizeHtml(this._doc,String(t)).toString();case D.STYLE:return allowSanitizationBypassAndThrow(t,`Style`)?unwrapSafeValue(t):t;case D.SCRIPT:if(allowSanitizationBypassAndThrow(t,`Script`))return unwrapSafeValue(t);throw new RuntimeError(5200,!1);case D.URL:return allowSanitizationBypassAndThrow(t,`URL`)?unwrapSafeValue(t):_sanitizeUrl(String(t));case D.RESOURCE_URL:if(allowSanitizationBypassAndThrow(t,`ResourceURL`))return unwrapSafeValue(t);throw new RuntimeError(-5201,!1);default:throw new RuntimeError(5202,!1)}}bypassSecurityTrustHtml(e){return bypassSanitizationTrustHtml(e)}bypassSecurityTrustStyle(e){return bypassSanitizationTrustStyle(e)}bypassSecurityTrustScript(e){return bypassSanitizationTrustScript(e)}bypassSecurityTrustUrl(e){return bypassSanitizationTrustUrl(e)}bypassSecurityTrustResourceUrl(e){return bypassSanitizationTrustResourceUrl(e)}static ɵfac=function DomSanitizerImpl_Factory(e){return new(e||DomSanitizerImpl)};static ɵprov=ɵɵdefineService({token:DomSanitizerImpl,factory:DomSanitizerImpl.ɵfac})}return DomSanitizerImpl})()})))()}function sequence(e,t=null){return{type:Q.Sequence,steps:e,options:t}}function style(e){return{type:Q.Style,styles:e,offset:null}}var Q,NoopAnimationPlayer,AnimationGroupPlayer;function init__private_export_chunk(){return(init__private_export_chunk=t((()=>{Q=(function(e){return e[e.State=0]=`State`,e[e.Transition=1]=`Transition`,e[e.Sequence=2]=`Sequence`,e[e.Group=3]=`Group`,e[e.Animate=4]=`Animate`,e[e.Keyframes=5]=`Keyframes`,e[e.Style=6]=`Style`,e[e.Trigger=7]=`Trigger`,e[e.Reference=8]=`Reference`,e[e.AnimateChild=9]=`AnimateChild`,e[e.AnimateRef=10]=`AnimateRef`,e[e.Query=11]=`Query`,e[e.Stagger=12]=`Stagger`,e})(Q||{}),NoopAnimationPlayer=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e==`start`?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},AnimationGroupPlayer=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,n=0,r=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(e=>{let n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=this.players.reduce((e,t)=>e===null||t.totalTime>e.totalTime?t:e,null);return e==null?0:e.getPosition()}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e==`start`?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}})))()}function invalidTimingValue(e){return new RuntimeError(3e3,!1)}function negativeStepValue(){return new RuntimeError(3100,!1)}function negativeDelayValue(){return new RuntimeError(3101,!1)}function invalidStyleParams(e){return new RuntimeError(3001,!1)}function invalidParamValue(e){return new RuntimeError(3003,!1)}function invalidNodeType(e){return new RuntimeError(3004,!1)}function invalidCssUnitValue(e,t){return new RuntimeError(3005,!1)}function invalidTrigger(){return new RuntimeError(3006,!1)}function invalidDefinition(){return new RuntimeError(3007,!1)}function invalidState(e,t){return new RuntimeError(3008,!1)}function invalidStyleValue(e){return new RuntimeError(3002,!1)}function invalidParallelAnimation(e,t,n,r,i){return new RuntimeError(3010,!1)}function invalidKeyframes(){return new RuntimeError(3011,!1)}function invalidOffset(){return new RuntimeError(3012,!1)}function keyframeOffsetsOutOfOrder(){return new RuntimeError(3200,!1)}function keyframesMissingOffsets(){return new RuntimeError(3202,!1)}function invalidStagger(){return new RuntimeError(3013,!1)}function invalidQuery(e){return new RuntimeError(3014,!1)}function invalidExpression(e){return new RuntimeError(3015,!1)}function invalidTransitionAlias(e){return new RuntimeError(3016,!1)}function triggerBuildFailed(e,t){return new RuntimeError(3404,!1)}function animationFailed(e){return new RuntimeError(3502,!1)}function registerFailed(e){return new RuntimeError(3503,!1)}function missingOrDestroyedAnimation(){return new RuntimeError(3300,!1)}function createAnimationFailed(e){return new RuntimeError(3504,!1)}function missingPlayer(e){return new RuntimeError(3301,!1)}function missingTrigger(e,t){return new RuntimeError(3302,!1)}function missingEvent(e){return new RuntimeError(3303,!1)}function unsupportedTriggerEvent(e,t){return new RuntimeError(3400,!1)}function unregisteredTrigger(e){return new RuntimeError(3401,!1)}function triggerTransitionsFailed(e){return new RuntimeError(3402,!1)}function transitionFailed(e,t){return new RuntimeError(3505,!1)}function optimizeGroupPlayer(e){switch(e.length){case 0:return new NoopAnimationPlayer;case 1:return e[0];default:return new AnimationGroupPlayer(e)}}function normalizeKeyframes$1(e,t,n=new Map,r=new Map){let i=[],a=[],o=-1,s=null;if(t.forEach(t=>{let c=t.get(`offset`),l=c==o,u=l&&s||new Map;t.forEach((t,a)=>{let o=a,s=t;if(a!==`offset`)switch(o=e.normalizePropertyName(o,i),s){case`!`:s=n.get(a);break;case`*`:s=r.get(a);break;default:s=e.normalizeStyleValue(a,o,s,i)}u.set(o,s)}),l||a.push(u),s=u,o=c}),i.length)throw animationFailed(i);return a}function listenOnPlayer(e,t,n,r){switch(t){case`start`:e.onStart(()=>r(n&&copyAnimationEvent(n,`start`,e)));break;case`done`:e.onDone(()=>r(n&&copyAnimationEvent(n,`done`,e)));break;case`destroy`:e.onDestroy(()=>r(n&&copyAnimationEvent(n,`destroy`,e)))}}function copyAnimationEvent(e,t,n){let r=n.totalTime,i=!!n.disabled,a=makeAnimationEvent(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,r??e.totalTime,i),o=e._data;return o!=null&&(a._data=o),a}function makeAnimationEvent(e,t,n,r,i=``,a=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:a,disabled:!!o}}function getOrSetDefaultValue(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function parseTimelineCommand(e){let t=e.indexOf(`:`);return[e.substring(1,t),e.slice(t+1)]}function getParentElement(e){let t=e.parentNode||e.host||null;return t===rl?null:t}function containsVendorPrefix(e){return e.substring(1,6)==`ebkit`}function validateStyleProperty(e){il||(il=getBodyNode()||{},al=il.style?`WebkitAppearance`in il.style:!1);let t=!0;return il.style&&!containsVendorPrefix(e)&&(t=e in il.style,!t&&al&&(t=`Webkit`+e.charAt(0).toUpperCase()+e.slice(1)in il.style)),t}function getBodyNode(){return typeof document<`u`?document.body:null}function containsElement(e,t){for(;t;){if(t===e)return!0;t=getParentElement(t)}return!1}function invokeQuery(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let r=e.querySelector(t);return r?[r]:[]}function resolveTimingValue(e){if(typeof e==`number`)return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:_convertTimeValueToMS(parseFloat(t[1]),t[2])}function _convertTimeValueToMS(e,t){switch(t){case`s`:return e*ol;default:return e}}function resolveTiming(e,t,n){return typeof e==`object`&&e&&Object.hasOwn(e,`duration`)?e:parseTimeExpression(e,t,n)}function parseTimeExpression(e,t,n){let r,i=0,a=``;if(typeof e==`string`){let n=e.match(ml);if(n===null)return t.push(invalidTimingValue(e)),{duration:0,delay:0,easing:``};r=_convertTimeValueToMS(parseFloat(n[1]),n[2]);let o=n[3];o!=null&&(i=_convertTimeValueToMS(parseFloat(o),n[4]));let s=n[5];s&&(a=s)}else r=e;if(!n){let n=!1,a=t.length;r<0&&(t.push(negativeStepValue()),n=!0),i<0&&(t.push(negativeDelayValue()),n=!0),n&&t.splice(a,0,invalidTimingValue(e))}return{duration:r,delay:i,easing:a}}function normalizeKeyframes(e){return e.length?e[0]instanceof Map?e:e.map(e=>new Map(Object.entries(e))):[]}function setStyles(e,t,n){t.forEach((t,r)=>{let i=dashCaseToCamelCase(r);n&&!n.has(r)&&n.set(r,e.style[i]),e.style[i]=t})}function eraseStyles(e,t){t.forEach((t,n)=>{let r=dashCaseToCamelCase(n);e.style[r]=``})}function normalizeAnimationEntry(e){return Array.isArray(e)?e.length==1?e[0]:sequence(e):e}function validateStyleParams(e,t,n){let r=t.params||{},i=extractStyleParams(e);i.length&&i.forEach(e=>{Object.hasOwn(r,e)||n.push(invalidStyleParams(e))})}function extractStyleParams(e){let t=[];if(typeof e==`string`){let n;for(;n=hl.exec(e);)t.push(n[1]);hl.lastIndex=0}return t}function interpolateParams(e,t,n){let r=`${e}`,i=r.replace(hl,(e,r)=>{let i=t[r];return i??=(n.push(invalidParamValue(r)),``),i.toString()});return i==r?e:i}function dashCaseToCamelCase(e){return e.replace(gl,(...e)=>e[1].toUpperCase())}function allowPreviousPlayerStylesMerge(e,t){return e===0||t===0}function balancePreviousStylesIntoKeyframes(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((e,t)=>{r.has(t)||i.push(t),r.set(t,e)}),i.length)for(let n=1;n<t.length;n++){let r=t[n];i.forEach(t=>r.set(t,computeStyle(e,t)))}}return t}function visitDslNode(e,t,n){switch(t.type){case Q.Trigger:return e.visitTrigger(t,n);case Q.State:return e.visitState(t,n);case Q.Transition:return e.visitTransition(t,n);case Q.Sequence:return e.visitSequence(t,n);case Q.Group:return e.visitGroup(t,n);case Q.Animate:return e.visitAnimate(t,n);case Q.Keyframes:return e.visitKeyframes(t,n);case Q.Style:return e.visitStyle(t,n);case Q.Reference:return e.visitReference(t,n);case Q.AnimateChild:return e.visitAnimateChild(t,n);case Q.AnimateRef:return e.visitAnimateRef(t,n);case Q.Query:return e.visitQuery(t,n);case Q.Stagger:return e.visitStagger(t,n);default:throw invalidNodeType(t.type)}}function computeStyle(e,t){return window.getComputedStyle(e)[t]}var rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl;function init__util_chunk(){return(init__util_chunk=t((()=>{init__private_export_chunk(),init_core(),rl=typeof document>`u`?null:document.documentElement,il=null,al=!1,ol=1e3,sl=`}}`,cl=`ng-enter`,ll=`ng-leave`,ul=`ng-trigger`,dl=`.ng-trigger`,fl=`ng-animating`,pl=`.ng-animating`,ml=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,hl=RegExp(`{{\\s*(.+?)\\s*${sl}`,`g`),gl=/-+([a-z0-9])/g})))()}function parseTransitionExpr(e,t){let n=[];return typeof e==`string`?e.split(/\s*,\s*/).forEach(e=>parseInnerTransitionStr(e,n,t)):n.push(e),n}function parseInnerTransitionStr(e,t,n){if(e[0]==`:`){let r=parseAnimationAlias(e,n);if(typeof r==`function`){t.push(r);return}e=r}let r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(invalidExpression(e)),t;let i=r[1],a=r[2],o=r[3];t.push(makeLambdaFromStates(i,o));let s=i==yl&&o==yl;a[0]==`<`&&!s&&t.push(makeLambdaFromStates(o,i))}function parseAnimationAlias(e,t){switch(e){case`:enter`:return`void => *`;case`:leave`:return`* => void`;case`:increment`:return(e,t)=>parseFloat(t)>parseFloat(e);case`:decrement`:return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(invalidTransitionAlias(e)),`* => *`}}function makeLambdaFromStates(e,t){let n=bl.has(e)||xl.has(e),r=bl.has(t)||xl.has(t);return(i,a)=>{let o=e==yl||e==i,s=t==yl||t==a;return!o&&n&&typeof i==`boolean`&&(o=i?bl.has(e):xl.has(e)),!s&&r&&typeof a==`boolean`&&(s=a?bl.has(t):xl.has(t)),o&&s}}function buildAnimationAst(e,t,n,r){return new AnimationAstBuilderVisitor(e).build(t,n,r)}function normalizeSelector(e){let t=!!e.split(/\s*,\s*/).find(e=>e==Sl);return t&&(e=e.replace(Cl,``)),e=e.replace(/@\*/g,dl).replace(/@\w+/g,e=>dl+`-`+e.slice(1)).replace(/:animating/g,pl),[e,t]}function normalizeParams(e){return e?{...e}:null}function consumeOffset(e){if(typeof e==`string`)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(e instanceof Map&&e.has(`offset`)){let n=e;t=parseFloat(n.get(`offset`)),n.delete(`offset`)}});else if(e instanceof Map&&e.has(`offset`)){let n=e;t=parseFloat(n.get(`offset`)),n.delete(`offset`)}return t}function constructTimingAst(e,t){if(typeof e==`object`&&e&&Object.hasOwn(e,`duration`))return e;if(typeof e==`number`){let n=resolveTiming(e,t).duration;return makeTimingAst(n,0,``)}let n=e;if(n.split(/\s+/).some(e=>e.charAt(0)==`{`&&e.charAt(1)==`{`)){let e=makeTimingAst(0,0,``);return e.dynamic=!0,e.strValue=n,e}let r=resolveTiming(n,t);return makeTimingAst(r.duration,r.delay,r.easing)}function normalizeAnimationOptions(e){return e?(e={...e},e.params&&(e.params=normalizeParams(e.params))):e={},e}function makeTimingAst(e,t,n){return{duration:e,delay:t,easing:n}}function createTimelineInstruction(e,t,n,r,i,a,o=null,s=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:a,totalTime:i+a,easing:o,subTimeline:s}}function buildAnimationTimelines(e,t,n,r,i,a=new Map,o=new Map,s,c,l=[]){return new AnimationTimelineBuilderVisitor().buildKeyframes(e,t,n,r,i,a,o,s,c,l)}function roundOffset(e,t=3){let n=10**(t-1);return Math.round(e*n)/n}function flattenStyles(e,t){let n=new Map,r;return e.forEach(e=>{if(e===`*`){r??=t.keys();for(let e of r)n.set(e,`*`)}else for(let[t,r]of e)n.set(t,r)}),n}function createTransitionInstruction(e,t,n,r,i,a,o,s,c,l,u,d,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:a,toState:r,toStyles:o,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:f}}function oneOrMoreTransitionsMatch(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}function applyParamDefaults(e,t){let n={...t};return Object.entries(e).forEach(([e,t])=>{t!=null&&(n[e]=t)}),n}function buildTrigger(e,t,n){return new AnimationTrigger(e,t,n)}function createFallbackTransition(e,t,n){let r=[(e,t)=>!0],i={type:Q.Sequence,steps:[],options:null},a={type:Q.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new AnimationTransitionFactory(e,a,t)}function balanceProperties(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}function deleteOrUnsetInMap(e,t,n){let r=e.get(t);if(r){if(r.length){let e=r.indexOf(n);r.splice(e,1)}r.length==0&&e.delete(t)}return r}function normalizeTriggerValue(e){return e??null}function isElementNode(e){return e&&e.nodeType===1}function isTriggerEventValid(e){return e==`start`||e==`done`}function cloakElement(e,t){let n=e.style.display;return e.style.display=t??`none`,n}function cloakAndComputeStyles(e,t,n,r,i){let a=[];n.forEach(e=>a.push(cloakElement(e)));let o=[];r.forEach((n,r)=>{let a=new Map;n.forEach(e=>{let n=t.computeStyle(r,e,i);a.set(e,n),(!n||n.length==0)&&(r[$]=Vl,o.push(r))}),e.set(r,a)});let s=0;return n.forEach(e=>cloakElement(e,a[s++])),o}function buildRootMap(e,t){let n=new Map;if(e.forEach(e=>n.set(e,[])),t.length==0)return n;let r=new Set(t),i=new Map;function getRoot(e){if(!e)return 1;let t=i.get(e);if(t)return t;let a=e.parentNode;return t=n.has(a)?a:r.has(a)?1:getRoot(a),i.set(e,t),t}return t.forEach(e=>{let t=getRoot(e);t!==1&&n.get(t).push(e)}),n}function addClass(e,t){e.classList?.add(t)}function removeClass(e,t){e.classList?.remove(t)}function removeNodesAfterAnimationDone(e,t,n){optimizeGroupPlayer(n).onDone(()=>e.processLeaveNode(t))}function flattenGroupPlayers(e){let t=[];return _flattenGroupPlayersRecur(e,t),t}function _flattenGroupPlayersRecur(e,t){for(let n=0;n<e.length;n++){let r=e[n];r instanceof AnimationGroupPlayer?_flattenGroupPlayersRecur(r.players,t):t.push(r)}}function objEquals(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let r=0;r<n.length;r++){let i=n[r];if(!Object.hasOwn(t,i)||e[i]!==t[i])return!1}return!0}function replacePostStylesAsPre(e,t,n){let r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}function packageNonAnimatableStyles(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=filterNonAnimatableStyles(t[0]),t.length>1&&(r=filterNonAnimatableStyles(t[t.length-1]))):t instanceof Map&&(n=filterNonAnimatableStyles(t)),n||r?new Wl(e,n,r):null}function filterNonAnimatableStyles(e){let t=null;return e.forEach((e,n)=>{isNonAnimatableStyle(n)&&(t||=new Map,t.set(n,e))}),t}function isNonAnimatableStyle(e){return e===`display`||e===`position`}function resolveElementFromTarget(e){switch(e){case`body`:return document.body;case`document`:return document;case`window`:return window;default:return e}}function parseTriggerCallbackName(e){let t=e.indexOf(`.`);return[e.substring(0,t),e.slice(t+1)]}var _l,AnimationDriver,AnimationStyleNormalizer,vl,WebAnimationsStyleNormalizer,yl,bl,xl,Sl,Cl,wl,AnimationAstBuilderVisitor,AnimationAstBuilderContext,ElementInstructionMap,Tl,El,Dl,AnimationTimelineBuilderVisitor,Ol,kl,Al,SubTimelineBuilder,jl,AnimationTransitionFactory,AnimationStateStyles,AnimationTrigger,Ml,TimelineAnimationEngine,Nl,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl,$,StateValue,Hl,Ul,AnimationTransitionNamespace,TransitionAnimationEngine,TransitionAnimationPlayer,AnimationEngine,Wl,WebAnimationsPlayer,WebAnimationsDriver,Gl,Kl,BaseAnimationRenderer,AnimationRenderer,AnimationRendererFactory;function init_browser(){return(init_browser=t((()=>{init_core(),init__util_chunk(),init__private_export_chunk(),_l=(()=>{class NoopAnimationDriver{validateStyleProperty(e){return validateStyleProperty(e)}containsElement(e,t){return containsElement(e,t)}getParentElement(e){return getParentElement(e)}query(e,t,n){return invokeQuery(e,t,n)}computeStyle(e,t,n){return n||``}animate(e,t,n,r,i,a=[],o){return new NoopAnimationPlayer(n,r)}static ɵfac=function NoopAnimationDriver_Factory(e){return new(e||NoopAnimationDriver)};static ɵprov=ɵɵdefineInjectable({token:NoopAnimationDriver,factory:NoopAnimationDriver.ɵfac})}return NoopAnimationDriver})(),AnimationDriver=class{static NOOP=new _l},AnimationStyleNormalizer=class{},vl=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`.split(`.`)),WebAnimationsStyleNormalizer=class extends AnimationStyleNormalizer{normalizePropertyName(e,t){return dashCaseToCamelCase(e)}normalizeStyleValue(e,t,n,r){let i=``,a=n.toString().trim();if(vl.has(t)&&n!==0&&n!==`0`){if(typeof n==`number`)i=`px`;else{let t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&t[1].length==0&&r.push(invalidCssUnitValue(e,n))}}return a+i}},yl=`*`,bl=new Set([`true`,`1`]),xl=new Set([`false`,`0`]),Sl=`:self`,Cl=RegExp(`s*${Sl}s*,?`,`g`),wl=``,AnimationAstBuilderVisitor=class{_driver;constructor(e){this._driver=e}build(e,t,n){let r=new AnimationAstBuilderContext(t);return this._resetContextStyleTimingState(r),visitDslNode(this,normalizeAnimationEntry(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=wl,e.collectedStyles=new Map,e.collectedStyles.set(wl,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0,i=[],a=[];return e.name.charAt(0)==`@`&&t.errors.push(invalidTrigger()),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),e.type==Q.State){let n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(e.type==Q.Transition){let i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,a.push(i)}else t.errors.push(invalidDefinition())}),{type:Q.Trigger,name:e.name,states:i,transitions:a,queryCount:n,depCount:r,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let i=new Set,a=r||{};n.styles.forEach(e=>{e instanceof Map&&e.forEach(e=>{extractStyleParams(e).forEach(e=>{Object.hasOwn(a,e)||i.add(e)})})}),i.size&&t.errors.push(invalidState(e.name,[...i.values()]))}return{type:Q.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=visitDslNode(this,normalizeAnimationEntry(e.animation),t),r=parseTransitionExpr(e.expr,t.errors);return{type:Q.Transition,matchers:r,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:normalizeAnimationOptions(e.options)}}visitSequence(e,t){return{type:Q.Sequence,steps:e.steps.map(e=>visitDslNode(this,e,t)),options:normalizeAnimationOptions(e.options)}}visitGroup(e,t){let n=t.currentTime,r=0,i=e.steps.map(e=>{t.currentTime=n;let i=visitDslNode(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:Q.Group,steps:i,options:normalizeAnimationOptions(e.options)}}visitAnimate(e,t){let n=constructTimingAst(e.timings,t.errors);t.currentAnimateTimings=n;let r,i=e.styles?e.styles:style({});if(i.type==Q.Keyframes)r=this.visitKeyframes(i,t);else{let i=e.styles,a=!1;if(!i){a=!0;let e={};n.easing&&(e.easing=n.easing),i=style(e)}t.currentTime+=n.duration+n.delay;let o=this.visitStyle(i,t);o.isEmptyStep=a,r=o}return t.currentAnimateTimings=null,{type:Q.Animate,timings:n,style:r,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let e of r)typeof e==`string`?e===`*`?n.push(e):t.errors.push(invalidStyleValue(e)):n.push(new Map(Object.entries(e)));let i=!1,a=null;return n.forEach(e=>{if(e instanceof Map&&(e.has(`easing`)&&(a=e.get(`easing`),e.delete(`easing`)),!i)){for(let t of e.values())if(t.toString().indexOf(`{{`)>=0){i=!0;break}}}),{type:Q.Style,styles:n,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{typeof e!=`string`&&e.forEach((e,n)=>{let a=t.collectedStyles.get(t.currentQuerySelector),o=a.get(n),s=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(t.errors.push(invalidParallelAnimation(n,o.startTime,o.endTime,i,r)),s=!1),i=o.startTime),s&&a.set(n,{startTime:i,endTime:r}),t.options&&validateStyleParams(e,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:Q.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(invalidKeyframes()),n;let r=0,i=[],a=!1,o=!1,s=0,c=e.steps.map(e=>{let n=this._makeStyleAst(e,t),c=n.offset==null?consumeOffset(n.styles):n.offset,l=0;return c!=null&&(r++,l=n.offset=c),o=o||l<0||l>1,a||=l<s,s=l,i.push(l),n});o&&t.errors.push(invalidOffset()),a&&t.errors.push(keyframeOffsetsOutOfOrder());let l=e.steps.length,u=0;r>0&&r<l?t.errors.push(keyframesMissingOffsets()):r==0&&(u=1/(l-1));let d=l-1,f=t.currentTime,p=t.currentAnimateTimings,m=p.duration;return c.forEach((e,r)=>{let a=u>0?r==d?1:u*r:i[r],o=a*m;t.currentTime=f+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=a,n.styles.push(e)}),n}visitReference(e,t){return{type:Q.Reference,animation:visitDslNode(this,normalizeAnimationEntry(e.animation),t),options:normalizeAnimationOptions(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Q.AnimateChild,options:normalizeAnimationOptions(e.options)}}visitAnimateRef(e,t){return{type:Q.AnimateRef,animation:this.visitReference(e.animation,t),options:normalizeAnimationOptions(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[i,a]=normalizeSelector(e.selector);t.currentQuerySelector=n.length?n+` `+i:i,getOrSetDefaultValue(t.collectedStyles,t.currentQuerySelector,new Map);let o=visitDslNode(this,normalizeAnimationEntry(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Q.Query,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:normalizeAnimationOptions(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(invalidStagger());let n=e.timings===`full`?{duration:0,delay:0,easing:`full`}:resolveTiming(e.timings,t.errors,!0);return{type:Q.Stagger,animation:visitDslNode(this,normalizeAnimationEntry(e.animation),t),timings:n,options:null}}},AnimationAstBuilderContext=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(e){this.errors=e}},ElementInstructionMap=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Tl=1,El=RegExp(`:enter`,`g`),Dl=RegExp(`:leave`,`g`),AnimationTimelineBuilderVisitor=class{buildKeyframes(e,t,n,r,i,a,o,s,c,l=[]){c||=new ElementInstructionMap;let u=new kl(e,t,c,r,i,l,[]);u.options=s;let d=s.delay?resolveTimingValue(s.delay):0;u.currentTimeline.delayNextStep(d),u.currentTimeline.setStyles([a],null,u.errors,s),visitDslNode(this,n,u);let f=u.timelines.filter(e=>e.containsAnimation());if(f.length&&o.size){let e;for(let n=f.length-1;n>=0;n--){let r=f[n];if(r.element===t){e=r;break}}e&&!e.allowOnlyTimelineStyles()&&e.setStyles([o],null,u.errors,s)}return f.length?f.map(e=>e.buildKeyframes()):[createTimelineInstruction(t,[],[],[],0,d,``,!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);i!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let r of e){let e=r?.delay;if(e){let i=typeof e==`number`?e:resolveTimingValue(interpolateParams(e,r?.params??{},t.errors));n.delayNextStep(i)}}}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime,i=n.duration==null?null:resolveTimingValue(n.duration),a=n.delay==null?null:resolveTimingValue(n.delay);return i!==0&&e.forEach(e=>{let n=t.appendInstructionToTimeline(e,i,a);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),visitDslNode(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,r=t,i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),i.delay!=null)){r.previousNode.type==Q.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ol);let e=resolveTimingValue(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>visitDslNode(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],r=t.currentTimeline.currentTime,i=e.options&&e.options.delay?resolveTimingValue(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);i&&o.delayNextStep(i),visitDslNode(this,a,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue;return resolveTiming(t.params?interpolateParams(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());let i=e.style;i.type==Q.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(e=>{let n=e.offset||0;a.forwardTime(n*i),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?resolveTimingValue(r.delay):0;i&&(t.previousNode.type===Q.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ol);let a=n,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let s=null;o.forEach((n,r)=>{t.currentQueryIndex=r;let o=t.createSubContext(e.options,n);i&&o.delayNextStep(i),n===t.element&&(s=o.currentTimeline),visitDslNode(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();let c=o.currentTimeline.currentTime;a=Math.max(a,c)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),s&&(t.currentTimeline.mergeTimelineCollectedStyles(s),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,r=t.currentTimeline,i=e.timings,a=Math.abs(i.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(i.duration<0?`reverse`:i.easing){case`reverse`:s=o-s;break;case`full`:s=n.currentStaggerTime}let c=t.currentTimeline;s&&c.delayNextStep(s);let l=c.currentTime;visitDslNode(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}},Ol={},kl=class AnimationTimelineContext{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ol;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,n,r,i,a,o,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=a,this.timelines=o,this.currentTimeline=s||new Al(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=resolveTimingValue(n.duration)),n.delay!=null&&(r.delay=resolveTimingValue(n.delay));let i=n.params;if(i){let e=r.params;e||=this.options.params={},Object.keys(i).forEach(n=>{(!t||!Object.hasOwn(e,n))&&(e[n]=interpolateParams(i[n],e,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){let r=t||this.element,i=new AnimationTimelineContext(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Ol,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:``},i=new SubTimelineBuilder(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,a){let o=[];if(r&&o.push(this.element),e.length>0){e=e.replace(El,`.`+this._enterClassName),e=e.replace(Dl,`.`+this._leaveClassName);let t=n!=1,r=this._driver.query(this.element,e,t);n!==0&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),o.push(...r)}return!i&&o.length==0&&a.push(invalidQuery(t)),o}},Al=class TimelineBuilder{_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(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||=new Map,this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new TimelineBuilder(this._driver,e,t||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+=Tl,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set(`easing`,e);for(let[e,t]of this._globalTimelineStyles)this._backFill.set(e,t||`*`),this._currentKeyframe.set(e,`*`);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&this._previousKeyframe.set(`easing`,t);let i=r&&r.params||{},a=flattenStyles(e,this._globalTimelineStyles);for(let[e,t]of a){let r=interpolateParams(t,i,n);this._pendingStyles.set(e,r),this._localTimelineStyles.has(e)||this._backFill.set(e,this._globalTimelineStyles.get(e)??`*`),this._updateStyle(e,r)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((e,t)=>{let n=this._styleSummary.get(t);(!n||e.time>n.time)&&this._updateStyle(t,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((i,a)=>{let o=new Map([...this._backFill,...i]);o.forEach((n,r)=>{n===`!`?e.add(r):n===`*`&&t.add(r)}),n||o.set(`offset`,a/this.duration),r.push(o)});let i=[...e.values()],a=[...t.values()];if(n){let e=r[0],t=new Map(e);e.set(`offset`,0),t.set(`offset`,1),r=[e,t]}return createTimelineInstruction(this.element,r,i,a,this.duration,this.startTime,this.easing,!1)}},SubTimelineBuilder=class extends Al{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,n,r,i,a,o=!1){super(e,t,a.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let i=[],a=n+t,o=t/a,s=new Map(e[0]);s.set(`offset`,0),i.push(s);let c=new Map(e[0]);c.set(`offset`,roundOffset(o)),i.push(c);let l=e.length-1;for(let r=1;r<=l;r++){let o=new Map(e[r]),s=o.get(`offset`),c=t+s*n;o.set(`offset`,roundOffset(c/a)),i.push(o)}n=a,t=0,r=``,e=i}return createTimelineInstruction(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}},jl={},AnimationTransitionFactory=class{_triggerName;ast;_stateStyles;constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return oneOrMoreTransitionsMatch(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){let r=this._stateStyles.get(`*`);return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,n):new Map}build(e,t,n,r,i,a,o,s,c,l){let u=[],d=this.ast.options&&this.ast.options.params||jl,f=o&&o.params||jl,p=this.buildStyles(n,f,u),m=s&&s.params||jl,h=this.buildStyles(r,m,u),g=new Set,_=new Map,v=new Map,y=r===`void`,ee={params:applyParamDefaults(m,d),delay:this.ast.options?.delay},b=l?[]:buildAnimationTimelines(e,t,this.ast.animation,i,a,p,h,ee,c,u),te=0;return b.forEach(e=>{te=Math.max(e.duration+e.delay,te)}),u.length?createTransitionInstruction(t,this._triggerName,n,r,y,p,h,[],[],_,v,te,u):(b.forEach(e=>{let n=e.element,r=getOrSetDefaultValue(_,n,new Set);e.preStyleProps.forEach(e=>r.add(e));let i=getOrSetDefaultValue(v,n,new Set);e.postStyleProps.forEach(e=>i.add(e)),n!==t&&g.add(n)}),createTransitionInstruction(t,this._triggerName,n,r,y,p,h,b,[...g.values()],_,v,te))}},AnimationStateStyles=class{styles;defaultParams;normalizer;constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,r=applyParamDefaults(e,this.defaultParams);return this.styles.styles.forEach(e=>{typeof e!=`string`&&e.forEach((e,i)=>{e&&=interpolateParams(e,r,t);let a=this.normalizer.normalizePropertyName(i,t);e=this.normalizer.normalizeStyleValue(i,a,e,t),n.set(i,e)})}),n}},AnimationTrigger=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(e=>{let t=e.options&&e.options.params||{};this.states.set(e.name,new AnimationStateStyles(e.style,t,n))}),balanceProperties(this.states,`true`,`1`),balanceProperties(this.states,`false`,`0`),t.transitions.forEach(t=>{this.transitionFactories.push(new AnimationTransitionFactory(e,t,this.states))}),this.fallbackTransition=createFallbackTransition(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},Ml=new ElementInstructionMap,TimelineAnimationEngine=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],r=buildAnimationAst(this._driver,t,n,[]);if(n.length)throw registerFailed(n);this._animations.set(e,r)}_buildPlayer(e,t,n){let r=e.element,i=normalizeKeyframes$1(this._normalizer,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let r=[],i=this._animations.get(e),a,o=new Map;if(i?(a=buildAnimationTimelines(this._driver,t,i,cl,ll,new Map,new Map,n,Ml,r),a.forEach(e=>{let t=getOrSetDefaultValue(o,e.element,new Map);e.postStyleProps.forEach(e=>t.set(e,null))})):(r.push(missingOrDestroyedAnimation()),a=[]),r.length)throw createAnimationFailed(r);o.forEach((e,t)=>{e.forEach((n,r)=>{e.set(r,this._driver.computeStyle(t,r,`*`))})});let s=optimizeGroupPlayer(a.map(e=>{let t=o.get(e.element);return this._buildPlayer(e,new Map,t)}));return this._playersById.set(e,s),s.onDestroy(()=>this.destroy(e)),this.players.push(s),s}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw missingPlayer(e);return t}listen(e,t,n,r){let i=makeAnimationEvent(t,``,``,``);return listenOnPlayer(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if(n==`register`){this.register(e,r[0]);return}if(n==`create`){let n=r[0]||{};this.create(e,t,n);return}let i=this._getPlayer(e);switch(n){case`play`:i.play();break;case`pause`:i.pause();break;case`reset`:i.reset();break;case`restart`:i.restart();break;case`finish`:i.finish();break;case`init`:i.init();break;case`setPosition`:i.setPosition(parseFloat(r[0]));break;case`destroy`:this.destroy(e)}}},Nl=`ng-animate-queued`,Pl=`.ng-animate-queued`,Fl=`ng-animate-disabled`,Il=`.ng-animate-disabled`,Ll=`ng-star-inserted`,Rl=`.ng-star-inserted`,zl=[],Bl={namespaceId:``,setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vl={namespaceId:``,setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$=`__ng_removed`,StateValue=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=``){this.namespaceId=t;let n=e&&Object.hasOwn(e,`value`),r=n?e.value:e;if(this.value=normalizeTriggerValue(r),n){let{value:t,...n}=e;this.options=n}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let e=this.options.params;Object.keys(t).forEach(n=>{e[n]??(e[n]=t[n])})}}},Hl=`void`,Ul=new StateValue(Hl),AnimationTransitionNamespace=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this._hostClassName=`ng-tns-`+e,addClass(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.has(t))throw missingTrigger(n,t);if(n==null||n.length==0)throw missingEvent(t);if(!isTriggerEventValid(n))throw unsupportedTriggerEvent(n,t);let i=getOrSetDefaultValue(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};i.push(a);let o=getOrSetDefaultValue(this._engine.statesByElement,e,new Map);return o.has(t)||(addClass(e,ul),addClass(e,ul+`-`+t),o.set(t,Ul)),()=>{this._engine.afterFlush(()=>{let e=i.indexOf(a);e>=0&&i.splice(e,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw unregisteredTrigger(e);return t}trigger(e,t,n,r=!0){let i=this._getTrigger(t),a=new TransitionAnimationPlayer(this.id,t,e),o=this._engine.statesByElement.get(e);o||(addClass(e,ul),addClass(e,ul+`-`+t),this._engine.statesByElement.set(e,o=new Map));let s=o.get(t),c=new StateValue(n,this.id);if(!(n&&Object.hasOwn(n,`value`))&&s&&c.absorbOptions(s.options),o.set(t,c),s||=Ul,c.value!==Hl&&s.value===c.value){if(!objEquals(s.params,c.params)){let t=[],n=i.matchStyles(s.value,s.params,t),r=i.matchStyles(c.value,c.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{eraseStyles(e,n),setStyles(e,r)})}return}let l=getOrSetDefaultValue(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=i.matchTransition(s.value,c.value,e,c.params),d=!1;if(!u){if(!r)return;u=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:s,toState:c,player:a,isFallbackTransition:d}),d||(addClass(e,Nl),a.onStart(()=>{removeClass(e,Nl)})),a.onDone(()=>{let t=this.players.indexOf(a);t>=0&&this.players.splice(t,1);let n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(a);e>=0&&n.splice(e,1)}}),this.players.push(a),l.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,dl,!0);n.forEach(e=>{if(e[$])return;let n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let o=[];if(i.forEach((t,n)=>{if(a.set(n,t.value),this._triggers.has(n)){let t=this.trigger(e,n,Hl,r);t&&o.push(t)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),n&&optimizeGroupPlayer(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let r=new Set;t.forEach(t=>{let i=t.name;if(r.has(i))return;r.add(i);let a=this._triggers.get(i).fallbackTransition,o=n.get(i)||Ul,s=new StateValue(Hl),c=new TransitionAnimationPlayer(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:a,fromState:o,toState:s,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){let t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{let r=e[$];(!r||r===Bl)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){addClass(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let i=n.element,a=this._elementListeners.get(i);a&&a.forEach(t=>{if(t.name==n.triggerName){let r=makeAnimationEvent(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,listenOnPlayer(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{let n=e.transition.ast.depCount,r=t.transition.ast.depCount;return n==0||r==0?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},TransitionAnimationEngine=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=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){let n=new AnimationTransitionNamespace(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let i=!1,a=this.driver.getParentElement(t);for(;a;){let t=r.get(a);if(t){let r=n.indexOf(t);n.splice(r+1,0,e),i=!0;break}a=this.driver.getParentElement(a)}i||n.unshift(e)}else n.push(e);return r.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||=this.createNamespace(e,t),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let e of n.values())if(e.namespaceId){let n=this._fetchNamespace(e.namespaceId);n&&t.add(n)}}return t}trigger(e,t,n,r){if(isElementNode(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!isElementNode(t))return;let i=t[$];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),addClass(e,Fl)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),removeClass(e,Fl))}removeNode(e,t,n){if(isElementNode(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,r,i){this.collectedLeaveElements.push(t),t[$]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,n,r,i){return isElementNode(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,dl,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,pl,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return optimizeGroupPlayer(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[$];if(t&&t.setForRemoval){if(e[$]=Bl,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Fl)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Il,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let e=0;e<this.collectedEnterElements.length;e++){let t=this.collectedEnterElements[e];addClass(t,Ll)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let e=0;e<this.collectedLeaveElements.length;e++){let t=this.collectedLeaveElements[e];this.processLeaveNode(t)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){let e=this._whenQuietFns;this._whenQuietFns=[],t.length?optimizeGroupPlayer(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw triggerTransitionsFailed(e)}_flushAnimations(e,t){let n=new ElementInstructionMap,r=[],i=new Map,a=[],o=new Map,s=new Map,c=new Map,l=new Set;this.disabledNodes.forEach(e=>{l.add(e);let t=this.driver.query(e,Pl,!0);for(let e=0;e<t.length;e++)l.add(t[e])});let u=this.bodyNode,d=Array.from(this.statesByElement.keys()),f=buildRootMap(d,this.collectedEnterElements),p=new Map,m=0;f.forEach((e,t)=>{let n=cl+m++;p.set(t,n),e.forEach(e=>addClass(e,n))});let h=[],g=new Set,_=new Set;for(let e=0;e<this.collectedLeaveElements.length;e++){let t=this.collectedLeaveElements[e],n=t[$];n&&n.setForRemoval&&(h.push(t),g.add(t),n.hasAnimation?this.driver.query(t,Rl,!0).forEach(e=>g.add(e)):_.add(t))}let v=new Map,y=buildRootMap(d,Array.from(g));y.forEach((e,t)=>{let n=ll+m++;v.set(t,n),e.forEach(e=>addClass(e,n))}),e.push(()=>{f.forEach((e,t)=>{let n=p.get(t);e.forEach(e=>removeClass(e,n))}),y.forEach((e,t)=>{let n=v.get(t);e.forEach(e=>removeClass(e,n))}),h.forEach(e=>{this.processLeaveNode(e)})});let ee=[],b=[];for(let e=this._namespaceList.length-1;e>=0;e--)this._namespaceList[e].drainQueuedTransitions(t).forEach(e=>{let t=e.player,i=e.element;if(ee.push(t),this.collectedEnterElements.length){let n=i[$];if(n&&n.setForMove){if(n.previousTriggersValues&&n.previousTriggersValues.has(e.triggerName)){let t=n.previousTriggersValues.get(e.triggerName),r=this.statesByElement.get(e.element);if(r&&r.has(e.triggerName)){let n=r.get(e.triggerName);n.value=t,r.set(e.triggerName,n)}}t.destroy();return}}let l=!u||!this.driver.containsElement(u,i),d=v.get(i),f=p.get(i),m=this._buildInstruction(e,n,f,d,l);if(m.errors&&m.errors.length){b.push(m);return}if(l){t.onStart(()=>eraseStyles(i,m.fromStyles)),t.onDestroy(()=>setStyles(i,m.toStyles)),r.push(t);return}if(e.isFallbackTransition){t.onStart(()=>eraseStyles(i,m.fromStyles)),t.onDestroy(()=>setStyles(i,m.toStyles)),r.push(t);return}let h=[];m.timelines.forEach(e=>{e.stretchStartingKeyframe=!0,this.disabledNodes.has(e.element)||h.push(e)}),m.timelines=h,n.append(i,m.timelines);let g={instruction:m,player:t,element:i};a.push(g),m.queriedElements.forEach(e=>getOrSetDefaultValue(o,e,[]).push(t)),m.preStyleProps.forEach((e,t)=>{if(e.size){let n=s.get(t);n||s.set(t,n=new Set),e.forEach((e,t)=>n.add(t))}}),m.postStyleProps.forEach((e,t)=>{let n=c.get(t);n||c.set(t,n=new Set),e.forEach((e,t)=>n.add(t))})});if(b.length){let e=[];b.forEach(t=>{e.push(transitionFailed(t.triggerName,t.errors))}),ee.forEach(e=>e.destroy()),this.reportError(e)}let te=new Map,x=new Map;a.forEach(e=>{let t=e.element;n.has(t)&&(x.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,te))}),r.forEach(e=>{let t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{getOrSetDefaultValue(te,t,[]).push(e),e.destroy()})});let ne=h.filter(e=>replacePostStylesAsPre(e,s,c)),re=new Map;cloakAndComputeStyles(re,this.driver,_,c,`*`).forEach(e=>{replacePostStylesAsPre(e,s,c)&&ne.push(e)});let S=new Map;f.forEach((e,t)=>{cloakAndComputeStyles(S,this.driver,new Set(e),s,`!`)}),ne.forEach(e=>{let t=re.get(e),n=S.get(e);re.set(e,new Map([...t?.entries()??[],...n?.entries()??[]]))});let ie=[],ae=[],oe={};a.forEach(e=>{let{element:t,player:a,instruction:o}=e;if(n.has(t)){if(l.has(t)){a.onDestroy(()=>setStyles(t,o.toStyles)),a.disabled=!0,a.overrideTotalTime(o.totalTime),r.push(a);return}let e=oe;if(x.size>1){let n=t,r=[];for(;n=n.parentNode;){let t=x.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>x.set(t,e))}let n=this._buildAnimation(a.namespaceId,o,te,i,S,re);if(a.setRealPlayer(n),e===oe)ie.push(a);else{let t=this.playersByElement.get(e);t&&t.length&&(a.parentPlayer=optimizeGroupPlayer(t)),r.push(a)}}else eraseStyles(t,o.fromStyles),a.onDestroy(()=>setStyles(t,o.toStyles)),ae.push(a),l.has(t)&&r.push(a)}),ae.forEach(e=>{let t=i.get(e.element);if(t&&t.length){let n=optimizeGroupPlayer(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let e=0;e<h.length;e++){let t=h[e],n=t[$];if(removeClass(t,ll),n&&n.hasAnimation)continue;let r=[];if(o.size){let e=o.get(t);e&&e.length&&r.push(...e);let n=this.driver.query(t,pl,!0);for(let e=0;e<n.length;e++){let t=o.get(n[e]);t&&t.length&&r.push(...t)}}let i=r.filter(e=>!e.destroyed);i.length?removeNodesAfterAnimationDone(this,t,i):this.processLeaveNode(t)}return h.length=0,ie.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();let t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),ie}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let a=[];if(t){let t=this.playersByQueriedElement.get(e);t&&(a=t)}else{let t=this.playersByElement.get(e);if(t){let e=!i||i==Hl;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&a.push(t)})}}return(n||r)&&(a=a.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),a}_beforeAnimationBuild(e,t,n){let r=t.triggerName,i=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:r;for(let e of t.timelines){let r=e.element,s=r!==i,c=getOrSetDefaultValue(n,r,[]);this._getPreviousPlayers(r,s,a,o,t.toState).forEach(e=>{let t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}eraseStyles(i,t.fromStyles)}_buildAnimation(e,t,n,r,i,a){let o=t.triggerName,s=t.element,c=[],l=new Set,u=new Set,d=t.timelines.map(t=>{let d=t.element;l.add(d);let f=d[$];if(f&&f.removedBeforeQueried)return new NoopAnimationPlayer(t.duration,t.delay);let p=d!==s,m=flattenGroupPlayers((n.get(d)||zl).map(e=>e.getRealPlayer())).filter(e=>{let t=e;return t.element?t.element===d:!1}),h=i.get(d),g=a.get(d),_=normalizeKeyframes$1(this._normalizer,t.keyframes,h,g),v=this._buildPlayer(t,_,m);if(t.subTimeline&&r&&u.add(d),p){let t=new TransitionAnimationPlayer(e,o,d);t.setRealPlayer(v),c.push(t)}return v});c.forEach(e=>{getOrSetDefaultValue(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>deleteOrUnsetInMap(this.playersByQueriedElement,e.element,e))}),l.forEach(e=>addClass(e,fl));let f=optimizeGroupPlayer(d);return f.onDestroy(()=>{l.forEach(e=>removeClass(e,fl)),setStyles(s,t.toStyles)}),u.forEach(e=>{getOrSetDefaultValue(r,e,[]).push(f)}),f}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new NoopAnimationPlayer(e.duration,e.delay)}},TransitionAnimationPlayer=class{namespaceId;triggerName;element;_player=new NoopAnimationPlayer;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(t=>listenOnPlayer(e,n,void 0,t))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback(`start`)),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){getOrSetDefaultValue(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent(`done`,e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent(`start`,e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent(`destroy`,e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}},AnimationEngine=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,n){this._driver=t,this._normalizer=n,this._transitionEngine=new TransitionAnimationEngine(e.body,t,n),this._timelineEngine=new TimelineAnimationEngine(e.body,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){let a=e+`-`+r,o=this._triggerCache[a];if(!o){let e=[],t=buildAnimationAst(this._driver,i,e,[]);if(e.length)throw triggerBuildFailed(r,e);o=buildTrigger(r,t,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if(n.charAt(0)==`@`){let[e,i]=parseTimelineCommand(n),a=r;this._timelineEngine.command(e,t,i,a)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if(n.charAt(0)==`@`){let[e,r]=parseTimelineCommand(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}},Wl=(()=>{class SpecialCasedStyles{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n;let r=SpecialCasedStyles.initialStylesByElement.get(e);r||SpecialCasedStyles.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&setStyles(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(setStyles(this._element,this._initialStyles),this._endStyles&&=(setStyles(this._element,this._endStyles),null),this._state=1)}destroy(){this.finish(),this._state<3&&(SpecialCasedStyles.initialStylesByElement.delete(this._element),this._startStyles&&(eraseStyles(this._element,this._startStyles),this._endStyles=null),this._endStyles&&=(eraseStyles(this._element,this._endStyles),null),setStyles(this._element,this._initialStyles),this._state=3)}}return SpecialCasedStyles})(),WebAnimationsPlayer=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;let onFinish=()=>this._onFinish();return t.addEventListener(`finish`,onFinish),this.onDestroy(()=>{t.removeEventListener(`finish`,onFinish)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(e=>{t.push(Object.fromEntries(e))}),t}_triggerWebAnimation(e,t,n){let r=this._convertKeyframesToObject(t);try{return e.animate(r,n)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:+!!this._initialized}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!==`offset`&&e.set(n,this._finished?t:computeStyle(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e===`start`?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},WebAnimationsDriver=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return containsElement(e,t)}getParentElement(e){return getParentElement(e)}query(e,t,n){return invokeQuery(e,t,n)}computeStyle(e,t,n){return computeStyle(e,t)}animate(e,t,n,r,i,a=[]){let o={duration:n,delay:r,fill:r==0?`both`:`forwards`};i&&(o.easing=i);let s=new Map,c=a.filter(e=>e instanceof WebAnimationsPlayer);allowPreviousPlayerStylesMerge(n,r)&&c.forEach(e=>{e.currentSnapshot.forEach((e,t)=>s.set(t,e))});let l=normalizeKeyframes(t).map(e=>new Map(e));l=balancePreviousStylesIntoKeyframes(e,l,s);let u=packageNonAnimatableStyles(e,l);return new WebAnimationsPlayer(e,l,o,u)}},Gl=`@`,Kl=`@.disabled`,BaseAnimationRenderer=class{namespaceId;delegate;engine;_onDestroy;ɵtype=0;constructor(e,t,n,r){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n,r){if(r){this.delegate.removeChild(e,t,n,r);return}this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Gl&&t==Kl?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,r){return this.delegate.listen(e,t,n,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},AnimationRenderer=class extends BaseAnimationRenderer{factory;constructor(e,t,n,r,i){super(t,n,r,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Gl?t.charAt(1)==`.`&&t==Kl?(n=n===void 0||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n,r){if(t.charAt(0)==Gl){let r=resolveElementFromTarget(e),i=t.slice(1),a=``;return i.charAt(0)!=Gl&&([i,a]=parseTriggerCallbackName(i)),this.engine.listen(this.namespaceId,r,i,a,e=>{let t=e._data||-1;this.factory.scheduleListenerCallback(t,n,e)})}return this.delegate.listen(e,t,n,r)}},AnimationRendererFactory=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(e,t)=>{t?.removeChild(null,e)}}createRenderer(e,t){let n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let e=this._rendererCache,t=e.get(n);if(!t){let onRendererDestroy=()=>e.delete(n);t=new BaseAnimationRenderer(``,n,this.engine,onRendererDestroy),e.set(n,t)}return t}let r=t.id,i=t.id+`-`+this._currentId;this._currentId++,this.engine.register(i,e);let registerTrigger=t=>{Array.isArray(t)?t.forEach(registerTrigger):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(registerTrigger),new AnimationRenderer(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(e=>{let[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),r.push([t,n])}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(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}}})))()}var ql=n({ANIMATION_MODULE_TYPE:()=>lt,BrowserAnimationsModule:()=>Ql,NoopAnimationsModule:()=>$l,provideAnimations:()=>provideAnimations,provideNoopAnimations:()=>provideNoopAnimations,ɵInjectableAnimationEngine:()=>Jl});function instantiateDefaultStyleNormalizer(){return new WebAnimationsStyleNormalizer}function instantiateRendererFactory(){return new AnimationRendererFactory(inject(Wc),inject(AnimationEngine),inject(M))}function provideAnimations(){return performanceMarkFeature(`NgEagerAnimations`),[...Zl]}function provideNoopAnimations(){return[...Xl]}var Jl,Yl,Xl,Zl,Ql,$l;function init_animations(){return(init_animations=t((()=>{init_core(),init_browser(),init_common(),init__dom_renderer_chunk(),init__browser_chunk(),Jl=(()=>{class InjectableAnimationEngine extends AnimationEngine{constructor(e,t,n){super(e,t,n)}ngOnDestroy(){this.flush()}static ɵfac=function InjectableAnimationEngine_Factory(e){return new(e||InjectableAnimationEngine)(ɵɵinject(A),ɵɵinject(AnimationDriver),ɵɵinject(AnimationStyleNormalizer))};static ɵprov=ɵɵdefineInjectable({token:InjectableAnimationEngine,factory:InjectableAnimationEngine.ɵfac})}return InjectableAnimationEngine})(),Yl=[{provide:AnimationStyleNormalizer,useFactory:instantiateDefaultStyleNormalizer},{provide:AnimationEngine,useClass:Jl},{provide:RendererFactory2,useFactory:instantiateRendererFactory}],Xl=[{provide:AnimationDriver,useClass:_l},{provide:lt,useValue:`NoopAnimations`},...Yl],Zl=[{provide:AnimationDriver,useFactory:()=>new WebAnimationsDriver},{provide:lt,useFactory:()=>`BrowserAnimations`},...Yl],Ql=(()=>{class BrowserAnimationsModule{static withConfig(e){return{ngModule:BrowserAnimationsModule,providers:e.disableAnimations?Xl:Zl}}static ɵfac=function BrowserAnimationsModule_Factory(e){return new(e||BrowserAnimationsModule)};static ɵmod=ɵɵdefineNgModule({type:BrowserAnimationsModule,exports:[el]});static ɵinj=ɵɵdefineInjector({providers:Zl,imports:[el]})}return BrowserAnimationsModule})(),$l=(()=>{class NoopAnimationsModule{static ɵfac=function NoopAnimationsModule_Factory(e){return new(e||NoopAnimationsModule)};static ɵmod=ɵɵdefineNgModule({type:NoopAnimationsModule,exports:[el]});static ɵinj=ɵɵdefineInjector({providers:Xl,imports:[el]})}return NoopAnimationsModule})()})))()}export{B as $,init_observable as $t,Po as A,D as At,Va as B,map as Bt,Bo as C,DestroyRef as Ct,createComponent as D,k as Dt,Oo as E,InjectionToken as Et,init__resource_chunk as F,inject as Ft,Ja as G,createOperatorSubscriber as Gt,Gt as H,init_BehaviorSubject as Ht,untracked as I,isSignal as It,Ua as J,operate as Jt,mi as K,init_OperatorSubscriber as Kt,U as L,signal as Lt,Fo as M,effect as Mt,viewChildren as N,getComponentDef as Nt,init_core as O,M as Ot,computed as P,init__pending_tasks_chunk as Pt,RendererFactory2 as Q,init_identity as Qt,an as R,ɵɵdefineInjector as Rt,Vo as S,A as St,contentChildren as T,j as Tt,$t as U,pe as Ut,tn as V,he as Vt,Wa as W,init_Subject as Wt,ReflectionCapabilities as X,init_Observable as Xt,QueryList as Y,ue as Yt,Renderer2 as Z,identity as Zt,init__common_module_chunk as _,__generator as _n,ɵɵloadQuery as _t,provideAnimations as a,b as an,Dt as at,es as b,__values as bn,N as bt,init_platform_browser as c,init_arrRemove as cn,ɵɵclassProp as ct,init__browser_chunk as d,__asyncGenerator as dn,ɵɵdefineDirective as dt,le as en,L as et,init_common as f,__asyncValues as fn,ɵɵdefineNgModule as ft,mc as g,__extends as gn,ɵɵlistener as gt,cc as h,__decorate as hn,ɵɵgetInheritedFactory as ht,init_animations as i,reportUnhandledError as in,ɵɵInheritDefinitionFeature as it,output as j,ge as jt,No as k,ct as kt,el as l,init_isFunction as ln,ɵɵcontentQuery as lt,kc as m,__awaiter as mn,ɵɵdomProperty as mt,$l as n,noop$1 as nn,init__debug_node_chunk as nt,provideNoopAnimations as o,init_Subscription as on,ɵɵProvidersFeature as ot,isPlatformBrowser as p,__await as pn,ɵɵdefineService as pt,Ga as q,init_lift as qt,ql as r,init_reportUnhandledError as rn,provideZonelessChangeDetection as rt,tl as s,arrRemove as sn,ɵɵattribute as st,Ql as t,init_noop as tn,afterNextRender as tt,bootstrapApplication as u,isFunction as un,ɵɵdefineComponent as ut,Es as v,__read as vn,ɵɵqueryRefresh as vt,booleanAttribute as w,EnvironmentInjector as wt,Ro as x,init_tslib_es6 as xn,ut as xt,init__location_chunk as y,__spreadArray as yn,lt as yt,Ha as z,init_map as zt};