langflower 0.0.8 → 0.0.10

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 (221) hide show
  1. package/package.json +2 -2
  2. package/ui-dist/{chunk-Y6VMBLSJ.js → chunk-7UMVYN3A.js} +1 -1
  3. package/ui-dist/{chunk-6DQ2XSRW.js → chunk-MDGXX73Z.js} +3 -3
  4. package/ui-dist/index.html +2 -2
  5. package/ui-dist/main-Z7CPFXFA.js +313 -0
  6. package/ui-dist/styles-2TMDAUD7.css +1 -0
  7. package/vendor/common-nodes/dist/ai/chat-completion-stream.d.ts +2 -0
  8. package/vendor/common-nodes/dist/ai/critique/node.d.ts +246 -0
  9. package/vendor/common-nodes/dist/ai/critique/node.js +2 -2
  10. package/vendor/common-nodes/dist/ai/fake-llm/node.d.ts +246 -0
  11. package/vendor/common-nodes/dist/ai/features/chat-completion-stream.d.ts +53 -0
  12. package/vendor/common-nodes/dist/ai/features/chat-completion-stream.js +1 -0
  13. package/vendor/common-nodes/dist/ai/features/llm-loop/autokick-recovery.d.ts +13 -0
  14. package/vendor/common-nodes/dist/ai/features/llm-loop/autokick-recovery.js +17 -0
  15. package/vendor/common-nodes/dist/ai/features/llm-loop/classify-llm-failure.d.ts +2 -0
  16. package/vendor/common-nodes/dist/ai/features/llm-loop/classify-llm-failure.js +113 -0
  17. package/vendor/common-nodes/dist/ai/features/llm-loop/dead-loop-detector.d.ts +28 -0
  18. package/vendor/common-nodes/dist/ai/features/llm-loop/dead-loop-detector.js +194 -0
  19. package/vendor/common-nodes/dist/ai/features/llm-loop/live-get-tools.d.ts +9 -0
  20. package/vendor/common-nodes/dist/ai/features/llm-loop/live-get-tools.js +21 -0
  21. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-reducer.d.ts +2 -0
  22. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-reducer.js +204 -0
  23. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-types.d.ts +120 -0
  24. package/vendor/common-nodes/dist/ai/features/llm-loop/llm-loop-types.js +39 -0
  25. package/vendor/common-nodes/dist/ai/features/llm-loop/normalize-llm-recovery-policy.d.ts +2 -0
  26. package/vendor/common-nodes/dist/ai/features/llm-loop/normalize-llm-recovery-policy.js +59 -0
  27. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/normalize-tool-result.d.ts +1 -0
  28. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/normalize-tool-result.js +7 -0
  29. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/observe-provider-stream.d.ts +43 -0
  30. package/vendor/common-nodes/dist/ai/features/llm-loop/operators/observe-provider-stream.js +96 -0
  31. package/vendor/common-nodes/dist/ai/features/llm-loop/run-agent-loop.d.ts +29 -0
  32. package/vendor/common-nodes/dist/ai/features/llm-loop/run-agent-loop.js +44 -0
  33. package/vendor/common-nodes/dist/ai/features/llm-loop/run-llm-loop.d.ts +74 -0
  34. package/vendor/common-nodes/dist/ai/features/llm-loop/run-llm-loop.js +658 -0
  35. package/vendor/common-nodes/dist/ai/features/llm-role-preset.d.ts +69 -0
  36. package/vendor/common-nodes/dist/ai/features/llm-role-preset.js +265 -0
  37. package/vendor/common-nodes/dist/ai/features/llm-session/llm-session-shell.d.ts +141 -0
  38. package/vendor/common-nodes/dist/ai/features/llm-session/llm-session-shell.js +193 -0
  39. package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.d.ts +21 -0
  40. package/vendor/common-nodes/dist/ai/features/llm-session/run-session-machine.js +118 -0
  41. package/vendor/common-nodes/dist/ai/features/openai/context-length-error.d.ts +14 -0
  42. package/vendor/common-nodes/dist/ai/features/openai/context-length-error.js +63 -0
  43. package/vendor/common-nodes/dist/ai/features/openai/create-chat-completion-stream.d.ts +19 -0
  44. package/vendor/common-nodes/dist/ai/features/openai/create-chat-completion-stream.js +182 -0
  45. package/vendor/common-nodes/dist/ai/features/openai/list-provider-models.d.ts +28 -0
  46. package/vendor/common-nodes/dist/ai/features/openai/list-provider-models.js +52 -0
  47. package/vendor/common-nodes/dist/ai/features/openai/llm-context-compaction.d.ts +31 -0
  48. package/vendor/common-nodes/dist/ai/features/openai/llm-context-compaction.js +326 -0
  49. package/vendor/common-nodes/dist/ai/features/openai/normalize-compaction-params.d.ts +14 -0
  50. package/vendor/common-nodes/dist/ai/features/openai/normalize-compaction-params.js +21 -0
  51. package/vendor/common-nodes/dist/ai/features/openai/prepare-chat-completion.d.ts +30 -0
  52. package/vendor/common-nodes/dist/ai/features/openai/prepare-chat-completion.js +132 -0
  53. package/vendor/common-nodes/dist/ai/features/path-choice/control-tools.d.ts +20 -0
  54. package/vendor/common-nodes/dist/ai/features/path-choice/control-tools.js +70 -0
  55. package/vendor/common-nodes/dist/ai/features/path-choice/run-reactive-path-choice-loop.d.ts +32 -0
  56. package/vendor/common-nodes/dist/ai/features/path-choice/run-reactive-path-choice-loop.js +93 -0
  57. package/vendor/common-nodes/dist/ai/features/prompt/build-effective-system-prompt.d.ts +9 -0
  58. package/vendor/common-nodes/dist/ai/features/prompt/build-effective-system-prompt.js +21 -0
  59. package/vendor/common-nodes/dist/ai/features/prompt/normalize-max-iterations.d.ts +13 -0
  60. package/vendor/common-nodes/dist/ai/features/prompt/normalize-max-iterations.js +23 -0
  61. package/vendor/common-nodes/dist/ai/features/prompt/resolve-chat-provider-model.d.ts +10 -0
  62. package/vendor/common-nodes/dist/ai/features/prompt/resolve-chat-provider-model.js +8 -0
  63. package/vendor/common-nodes/dist/ai/features/run-host-services.d.ts +54 -0
  64. package/vendor/common-nodes/dist/ai/features/run-host-services.js +29 -0
  65. package/vendor/common-nodes/dist/ai/features/scripted-chat-completion-stream.d.ts +17 -0
  66. package/vendor/common-nodes/dist/ai/features/scripted-chat-completion-stream.js +61 -0
  67. package/vendor/common-nodes/dist/ai/features/sub-agent-protocol.d.ts +40 -0
  68. package/vendor/common-nodes/dist/ai/features/sub-agent-protocol.js +44 -0
  69. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-compaction-ui-schema.d.ts +14 -0
  70. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-compaction-ui-schema.js +18 -0
  71. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-panel-ui-schema.d.ts +80 -0
  72. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-panel-ui-schema.js +76 -0
  73. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-recovery-ui-schema.d.ts +113 -0
  74. package/vendor/common-nodes/dist/ai/features/ui-schema/llm-recovery-ui-schema.js +131 -0
  75. package/vendor/common-nodes/dist/ai/features/wait-for-subagent-result.d.ts +7 -0
  76. package/vendor/common-nodes/dist/ai/features/wait-for-subagent-result.js +31 -0
  77. package/vendor/common-nodes/dist/ai/llm-loop/autokick-recovery.d.ts +13 -0
  78. package/vendor/common-nodes/dist/ai/llm-loop/autokick-recovery.js +17 -0
  79. package/vendor/common-nodes/dist/ai/llm-loop/dead-loop-detector.d.ts +28 -0
  80. package/vendor/common-nodes/dist/ai/llm-loop/dead-loop-detector.js +194 -0
  81. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-reducer.js +36 -0
  82. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-types.d.ts +35 -0
  83. package/vendor/common-nodes/dist/ai/llm-loop/llm-loop-types.js +19 -0
  84. package/vendor/common-nodes/dist/ai/llm-loop/normalize-llm-recovery-policy.js +52 -9
  85. package/vendor/common-nodes/dist/ai/llm-loop/operators/observe-provider-stream.d.ts +8 -2
  86. package/vendor/common-nodes/dist/ai/llm-loop/operators/observe-provider-stream.js +43 -13
  87. package/vendor/common-nodes/dist/ai/llm-loop/run-llm-loop.d.ts +3 -5
  88. package/vendor/common-nodes/dist/ai/llm-loop/run-llm-loop.js +116 -1
  89. package/vendor/common-nodes/dist/ai/llm-recovery-ui-schema.d.ts +82 -0
  90. package/vendor/common-nodes/dist/ai/llm-recovery-ui-schema.js +95 -0
  91. package/vendor/common-nodes/dist/ai/llm-session-shell.d.ts +4 -9
  92. package/vendor/common-nodes/dist/ai/llm-session-shell.js +2 -4
  93. package/vendor/common-nodes/dist/ai/nodes/critique/node.d.ts +588 -0
  94. package/vendor/common-nodes/dist/ai/nodes/critique/node.js +227 -0
  95. package/vendor/common-nodes/dist/ai/nodes/fake-llm/node.d.ts +571 -0
  96. package/vendor/common-nodes/dist/ai/nodes/fake-llm/node.js +201 -0
  97. package/vendor/common-nodes/dist/ai/nodes/openai-llm/node.d.ts +587 -0
  98. package/vendor/common-nodes/dist/ai/nodes/openai-llm/node.js +84 -0
  99. package/vendor/common-nodes/dist/ai/nodes/review/node.d.ts +593 -0
  100. package/vendor/common-nodes/dist/ai/nodes/review/node.js +227 -0
  101. package/vendor/common-nodes/dist/ai/nodes/sub-agent/node.d.ts +630 -0
  102. package/vendor/common-nodes/dist/ai/nodes/sub-agent/node.js +417 -0
  103. package/vendor/common-nodes/dist/ai/openai/create-chat-completion-stream.js +6 -0
  104. package/vendor/common-nodes/dist/ai/openai/prepare-chat-completion.d.ts +2 -0
  105. package/vendor/common-nodes/dist/ai/openai/prepare-chat-completion.js +18 -0
  106. package/vendor/common-nodes/dist/ai/openai-llm/node.d.ts +246 -0
  107. package/vendor/common-nodes/dist/ai/review/node.d.ts +246 -0
  108. package/vendor/common-nodes/dist/ai/review/node.js +2 -2
  109. package/vendor/common-nodes/dist/ai/sub-agent/node.d.ts +246 -0
  110. package/vendor/common-nodes/dist/ai/sub-agent/node.js +2 -2
  111. package/vendor/common-nodes/dist/catalog.js +9 -5
  112. package/vendor/common-nodes/dist/compile-custom-nodes/node.d.ts +21 -0
  113. package/vendor/common-nodes/dist/compile-custom-nodes/node.js +45 -0
  114. package/vendor/common-nodes/dist/crawl/crawl/node.js +1 -1
  115. package/vendor/common-nodes/dist/crawl/fetch-url/node.js +1 -1
  116. package/vendor/common-nodes/dist/flow/repeat/node.js +6 -1
  117. package/vendor/common-nodes/dist/langflower-tools/emit-registration-tools.d.ts +18 -0
  118. package/vendor/common-nodes/dist/langflower-tools/emit-registration-tools.js +29 -0
  119. package/vendor/common-nodes/dist/langflower-tools/node.d.ts +20 -0
  120. package/vendor/common-nodes/dist/langflower-tools/node.js +77 -0
  121. package/vendor/common-nodes/dist/mcp/mcp-http/node.d.ts +4 -4
  122. package/vendor/common-nodes/dist/mcp/mcp-http/node.js +9 -10
  123. package/vendor/common-nodes/dist/mcp/mcp-stdio/node.d.ts +4 -4
  124. package/vendor/common-nodes/dist/mcp/mcp-stdio/node.js +9 -10
  125. package/vendor/common-nodes/dist/text/append-file/node.js +1 -1
  126. package/vendor/common-nodes/dist/text/read-file/node.js +1 -1
  127. package/vendor/common-nodes/dist/text/write-file/node.js +1 -1
  128. package/vendor/common-nodes/dist/tools/collect-agent-tool-handles.d.ts +4 -4
  129. package/vendor/common-nodes/dist/tools/collect-agent-tool-handles.js +3 -11
  130. package/vendor/common-nodes/dist/tools/inventory-tool-round.d.ts +1 -11
  131. package/vendor/common-nodes/dist/tools/inventory-tool-round.js +0 -84
  132. package/vendor/common-nodes/dist/tools/tool-collection/node.d.ts +20 -0
  133. package/vendor/common-nodes/dist/tools/tool-collection/node.js +42 -0
  134. package/vendor/common-nodes/package.json +9 -13
  135. package/vendor/compiler/dist/compile-project-nodes.d.ts +2 -1
  136. package/vendor/compiler/dist/compile-project-nodes.js +35 -6
  137. package/vendor/compiler/dist/resolve-host-types.d.ts +0 -5
  138. package/vendor/compiler/dist/resolve-host-types.js +0 -8
  139. package/vendor/compiler/package.json +1 -1
  140. package/vendor/node-sdk/dist/node-factory/define-llm-node/default-llm-ports.d.ts +3 -7
  141. package/vendor/node-sdk/dist/node-factory/define-llm-node/default-llm-ports.js +4 -44
  142. package/vendor/node-sdk/dist/node-factory/define-llm-node/define-llm-node.d.ts +4 -6
  143. package/vendor/node-sdk/dist/node-factory/define-llm-node/define-llm-node.js +4 -6
  144. package/vendor/node-sdk/dist/node-factory/define-llm-node/llm-inventory-wire.d.ts +1 -0
  145. package/vendor/node-sdk/dist/node-factory/define-llm-node/llm-inventory-wire.js +1 -0
  146. package/vendor/node-sdk/dist/node-factory/define-llm-node/recovery-notice.d.ts +8 -0
  147. package/vendor/node-sdk/dist/node-factory/define-llm-node/recovery-notice.js +14 -0
  148. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-handle.d.ts +3 -4
  149. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-handle.js +1 -1
  150. package/vendor/node-sdk/dist/node-factory/define-reactive-node/types.d.ts +2 -4
  151. package/vendor/node-sdk/dist/node-factory/define-reactive-node/ui-schema-inference.d.ts +1 -1
  152. package/vendor/node-sdk/package.json +1 -1
  153. package/vendor/runtime/dist/port-feed-override.d.ts +13 -0
  154. package/vendor/runtime/dist/port-feed-override.js +21 -0
  155. package/vendor/runtime/dist/port-signal-from-response.d.ts +15 -0
  156. package/vendor/runtime/dist/port-signal-from-response.js +48 -0
  157. package/vendor/runtime/dist/runtime-editor.d.ts +5 -1
  158. package/vendor/runtime/dist/runtime-editor.js +19 -0
  159. package/vendor/runtime/dist/runtime-runner.d.ts +8 -3
  160. package/vendor/runtime/dist/runtime-runner.js +108 -87
  161. package/vendor/runtime/dist/runtime.d.ts +3 -1
  162. package/vendor/runtime/dist/runtime.js +1 -0
  163. package/vendor/runtime/dist/testing/workflows/workflow-events.d.ts +10 -6
  164. package/vendor/runtime/dist/testing/workflows/workflow-events.js +21 -31
  165. package/vendor/runtime/dist/types.d.ts +52 -40
  166. package/vendor/runtime/dist/types.js +5 -1
  167. package/vendor/runtime/package.json +1 -1
  168. package/vendor/server/dist/bridge/attach-langflower-bridge.js +3 -2
  169. package/vendor/server/dist/bridge/bridge-event-log.js +17 -102
  170. package/vendor/server/dist/bridge/build-execution-context.d.ts +5 -2
  171. package/vendor/server/dist/bridge/build-execution-context.js +48 -8
  172. package/vendor/server/dist/bridge/forward-runner-event.d.ts +1 -1
  173. package/vendor/server/dist/bridge/forward-runner-event.js +7 -12
  174. package/vendor/server/dist/bridge/get-live-wired-tools.d.ts +13 -0
  175. package/vendor/server/dist/bridge/get-live-wired-tools.js +83 -0
  176. package/vendor/server/dist/bridge/langflower-tools-rpc.d.ts +7 -0
  177. package/vendor/server/dist/bridge/langflower-tools-rpc.js +29 -0
  178. package/vendor/server/dist/bridge/wire-custom-palette-handlers.d.ts +2 -1
  179. package/vendor/server/dist/bridge/wire-custom-palette-handlers.js +3 -5
  180. package/vendor/server/dist/bridge/wire-runner-handlers.js +17 -10
  181. package/vendor/server/dist/bridge/wire-workflow-handlers.js +23 -9
  182. package/vendor/server/dist/checkpoint/run-checkpoint-session.d.ts +1 -1
  183. package/vendor/server/dist/checkpoint/run-checkpoint-session.js +10 -9
  184. package/vendor/server/dist/palette/compile-and-hot-swap-custom-nodes.d.ts +10 -0
  185. package/vendor/server/dist/palette/compile-and-hot-swap-custom-nodes.js +23 -0
  186. package/vendor/server/dist/session/reset-session-execution-feed.d.ts +6 -0
  187. package/vendor/server/dist/session/reset-session-execution-feed.js +8 -0
  188. package/vendor/server/dist/workflow/apply-editor-mutation.d.ts +5 -0
  189. package/vendor/server/dist/workflow/apply-editor-mutation.js +32 -0
  190. package/vendor/server/skeleton/instructions.md +9 -5
  191. package/vendor/server/skeleton/nodes/my-nodes/README.md +4 -3
  192. package/vendor/server/skeleton/nodes/my-nodes/package.json +1 -1
  193. package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +82 -38
  194. package/vendor/server/skeleton/skills/langflower-helper/architecture.md +29 -10
  195. package/vendor/server/skeleton/skills/langflower-helper/layout.md +16 -15
  196. package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +19 -9
  197. package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +23 -15
  198. package/vendor/server/skeleton/workflows/kb-create.json +15 -43
  199. package/vendor/server/skeleton/workflows/kb-navigate.json +8 -22
  200. package/vendor/server/skeleton/workflows/simple-coder.json +18 -46
  201. package/vendor/server/skeleton/workflows/starter.json +35 -22
  202. package/vendor/shared/dist/execution/derive-run-settle-outcome.d.ts +1 -1
  203. package/vendor/shared/dist/execution/derive-run-settle-outcome.js +4 -3
  204. package/vendor/shared/dist/execution/derive-run-settle-outcome.test.js +18 -15
  205. package/vendor/shared/dist/langflower-bus-config.d.ts +6 -14
  206. package/vendor/shared/dist/langflower-bus-config.js +4 -12
  207. package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.js +6 -0
  208. package/vendor/shared/dist/langflower-config/resolve-wired-tool-options.test.js +30 -0
  209. package/vendor/shared/dist/langflower-ws-waits.d.ts +9 -14
  210. package/vendor/shared/dist/langflower-ws-waits.js +14 -14
  211. package/vendor/websocket-bridge/dist/bridge-codec.d.ts +1 -0
  212. package/vendor/websocket-bridge/dist/bridge-codec.js +11 -11
  213. package/vendor/websocket-bridge/dist/bridge-frame.js +1 -1
  214. package/vendor/websocket-bridge/dist/bridge-subjects.d.ts +1 -1
  215. package/vendor/websocket-bridge/dist/bridge-subjects.js +2 -2
  216. package/vendor/websocket-bridge/dist/bridge-types.d.ts +13 -1
  217. package/vendor/websocket-bridge/dist/create-client.js +3 -3
  218. package/vendor/websocket-bridge/dist/create-server.js +12 -6
  219. package/vendor/websocket-bridge/package.json +8 -0
  220. package/ui-dist/main-ECEWAM6V.js +0 -311
  221. package/ui-dist/styles-EOXODOI7.css +0 -1
@@ -1,4 +1,4 @@
1
- var fp=Object.create;var ai=Object.defineProperty,pp=Object.defineProperties,hp=Object.getOwnPropertyDescriptor,gp=Object.getOwnPropertyDescriptors,mp=Object.getOwnPropertyNames,rr=Object.getOwnPropertySymbols,yp=Object.getPrototypeOf,ci=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable;var oc=(e,t,n)=>t in e?ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})ci.call(t,n)&&oc(e,n,t[n]);if(rr)for(var n of rr(t))ic.call(t,n)&&oc(e,n,t[n]);return e},U=(e,t)=>pp(e,gp(t));var vp=(e,t)=>{var n={};for(var r in e)ci.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&rr)for(var r of rr(e))t.indexOf(r)<0&&ic.call(e,r)&&(n[r]=e[r]);return n};var SE=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var Ip=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of mp(t))!ci.call(e,o)&&o!==n&&ai(e,o,{get:()=>t[o],enumerable:!(r=hp(t,o))||r.enumerable});return e};var xE=(e,t,n)=>(n=e!=null?fp(yp(e)):{},Ip(t||!e||!e.__esModule?ai(n,"default",{value:e,enumerable:!0}):n,e));var li=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var G=null,or=!1,ui=1,Ep=null,W=Symbol("SIGNAL");function m(e){let t=G;return G=e,t}function cr(){return G}var Xe={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:()=>{}};function et(e){if(or)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=G.recomputing;if(r&&(n=t!==void 0?t.nextProducer:G.producers,n!==void 0&&n.producer===e)){G.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===G&&(!r||wp(o,G)))return;let i=kt(G),s={producer:e,consumer:G,nextProducer:n,prevConsumer:void 0,lastReadVersion:e.version,nextConsumer:void 0};G.producersTail=s,t!==void 0?t.nextProducer=s:G.producers=s,i&&lc(e,s)}function sc(){ui++}function lr(e){if(!(kt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ui)){if(!e.producerMustRecompute(e)&&!Rt(e)){ar(e);return}e.producerRecomputeValue(e),ar(e)}}function di(e){if(e.consumers===void 0)return;let t=or;or=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Dp(r)}}finally{or=t}}function fi(){return G?.consumerAllowSignalWrites!==!1}function Dp(e){e.dirty=!0,di(e),e.consumerMarkedDirty?.(e)}function ar(e){e.dirty=!1,e.lastCleanEpoch=ui}function Be(e){return e&&ac(e),m(e)}function ac(e){e.producersTail=void 0,e.recomputing=!0}function tt(e,t){m(t),e&&cc(e)}function cc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(kt(e))do n=pi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(lr(n),r!==n.version))return!0}return!1}function $e(e){if(kt(e)){let t=e.producers;for(;t!==void 0;)t=pi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function lc(e,t){let n=e.consumersTail,r=kt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)lc(o.producer,o)}function pi(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!kt(t)){let i=t.producers;for(;i!==void 0;)i=pi(i)}return n}function kt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ur(e){Ep?.(e)}function wp(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function dr(e,t){return Object.is(e,t)}function dn(e,t){let n=Object.create(Tp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(lr(n),et(n),n.value===un)throw n.error;return n.value};return r[W]=n,ur(n),r}var ir=Symbol("UNSET"),sr=Symbol("COMPUTING"),un=Symbol("ERRORED"),Tp=U($({},Xe),{value:ir,dirty:!0,error:null,equal:dr,kind:"computed",producerMustRecompute(e){return e.value===ir||e.value===sr},producerRecomputeValue(e){if(e.value===sr)throw new Error("");let t=e.value;e.value=sr;let n=Be(e),r,o=!1;try{r=e.computation(),m(null),o=t!==ir&&t!==un&&r!==un&&e.equal(t,r)}catch(i){r=un,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Cp(){throw new Error}var uc=Cp;function dc(e){uc(e)}function hi(e){uc=e}var bp=null;function gi(e,t){let n=Object.create(fn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>fc(n);return r[W]=n,ur(n),[r,s=>Ot(n,s),s=>mi(n,s)]}function fc(e){return et(e),e.value}function Ot(e,t){fi()||dc(e),e.equal(e.value,t)||(e.value=t,_p(e))}function mi(e,t){fi()||dc(e),Ot(e,t(e.value))}var fn=U($({},Xe),{equal:dr,value:void 0,kind:"signal"});function _p(e){e.version++,sc(),di(e),bp?.(e)}var yi=U($({},Xe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function vi(e){if(e.dirty=!1,e.version>0&&!Rt(e))return;e.version++;let t=Be(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}var Ii;function fr(){return Ii}function we(e){let t=Ii;return Ii=e,t}var pc=Symbol("NotFound");function Pt(e){return e===pc||e?.name==="\u0275NotFound"}function hc(e){let t=m(null);try{return e()}finally{m(t)}}function D(e){return typeof e=="function"}function Lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var pr=Lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
1
+ var pp=Object.create;var ai=Object.defineProperty,hp=Object.defineProperties,gp=Object.getOwnPropertyDescriptor,mp=Object.getOwnPropertyDescriptors,yp=Object.getOwnPropertyNames,rr=Object.getOwnPropertySymbols,vp=Object.getPrototypeOf,ci=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable;var oc=(e,t,n)=>t in e?ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})ci.call(t,n)&&oc(e,n,t[n]);if(rr)for(var n of rr(t))ic.call(t,n)&&oc(e,n,t[n]);return e},U=(e,t)=>hp(e,mp(t));var Ip=(e,t)=>{var n={};for(var r in e)ci.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&rr)for(var r of rr(e))t.indexOf(r)<0&&ic.call(e,r)&&(n[r]=e[r]);return n};var SE=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var Ep=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yp(t))!ci.call(e,o)&&o!==n&&ai(e,o,{get:()=>t[o],enumerable:!(r=gp(t,o))||r.enumerable});return e};var xE=(e,t,n)=>(n=e!=null?pp(vp(e)):{},Ep(t||!e||!e.__esModule?ai(n,"default",{value:e,enumerable:!0}):n,e));var li=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var G=null,or=!1,ui=1,Dp=null,W=Symbol("SIGNAL");function m(e){let t=G;return G=e,t}function cr(){return G}var Xe={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:()=>{}};function et(e){if(or)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=G.recomputing;if(r&&(n=t!==void 0?t.nextProducer:G.producers,n!==void 0&&n.producer===e)){G.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===G&&(!r||Tp(o,G)))return;let i=kt(G),s={producer:e,consumer:G,nextProducer:n,prevConsumer:void 0,lastReadVersion:e.version,nextConsumer:void 0};G.producersTail=s,t!==void 0?t.nextProducer=s:G.producers=s,i&&lc(e,s)}function sc(){ui++}function lr(e){if(!(kt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ui)){if(!e.producerMustRecompute(e)&&!Rt(e)){ar(e);return}e.producerRecomputeValue(e),ar(e)}}function di(e){if(e.consumers===void 0)return;let t=or;or=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||wp(r)}}finally{or=t}}function fi(){return G?.consumerAllowSignalWrites!==!1}function wp(e){e.dirty=!0,di(e),e.consumerMarkedDirty?.(e)}function ar(e){e.dirty=!1,e.lastCleanEpoch=ui}function Be(e){return e&&ac(e),m(e)}function ac(e){e.producersTail=void 0,e.recomputing=!0}function tt(e,t){m(t),e&&cc(e)}function cc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(kt(e))do n=pi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(lr(n),r!==n.version))return!0}return!1}function $e(e){if(kt(e)){let t=e.producers;for(;t!==void 0;)t=pi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function lc(e,t){let n=e.consumersTail,r=kt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)lc(o.producer,o)}function pi(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!kt(t)){let i=t.producers;for(;i!==void 0;)i=pi(i)}return n}function kt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ur(e){Dp?.(e)}function Tp(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function dr(e,t){return Object.is(e,t)}function fn(e,t){let n=Object.create(Cp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(lr(n),et(n),n.value===dn)throw n.error;return n.value};return r[W]=n,ur(n),r}var ir=Symbol("UNSET"),sr=Symbol("COMPUTING"),dn=Symbol("ERRORED"),Cp=U($({},Xe),{value:ir,dirty:!0,error:null,equal:dr,kind:"computed",producerMustRecompute(e){return e.value===ir||e.value===sr},producerRecomputeValue(e){if(e.value===sr)throw new Error("");let t=e.value;e.value=sr;let n=Be(e),r,o=!1;try{r=e.computation(),m(null),o=t!==ir&&t!==dn&&r!==dn&&e.equal(t,r)}catch(i){r=dn,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function bp(){throw new Error}var uc=bp;function dc(e){uc(e)}function hi(e){uc=e}var _p=null;function gi(e,t){let n=Object.create(pn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>fc(n);return r[W]=n,ur(n),[r,s=>Ot(n,s),s=>mi(n,s)]}function fc(e){return et(e),e.value}function Ot(e,t){fi()||dc(e),e.equal(e.value,t)||(e.value=t,Mp(e))}function mi(e,t){fi()||dc(e),Ot(e,t(e.value))}var pn=U($({},Xe),{equal:dr,value:void 0,kind:"signal"});function Mp(e){e.version++,sc(),di(e),_p?.(e)}var yi=U($({},Xe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function vi(e){if(e.dirty=!1,e.version>0&&!Rt(e))return;e.version++;let t=Be(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}var Ii;function fr(){return Ii}function we(e){let t=Ii;return Ii=e,t}var pc=Symbol("NotFound");function Pt(e){return e===pc||e?.name==="\u0275NotFound"}function hc(e){let t=m(null);try{return e()}finally{m(t)}}function D(e){return typeof e=="function"}function Lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var pr=Lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function nt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(D(r))try{r()}catch(i){t=i instanceof pr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gc(i)}catch(s){t=t??[],s instanceof pr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&nt(n,t)}remove(t){let{_finalizers:n}=this;n&&nt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Ei=V.EMPTY;function hr(e){return e instanceof V||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function gc(e){D(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gr(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function pn(){}var mc=Di("C",void 0,void 0);function yc(e){return Di("E",void 0,e)}function vc(e){return Di("N",e,void 0)}function Di(e,t,n){return{kind:e,value:t,error:n}}var rt=null;function jt(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rt;if(rt=null,n)throw r}}else e()}function Ic(e){ue.useDeprecatedSynchronousErrorHandling&&rt&&(rt.errorThrown=!0,rt.error=e)}var ot=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hr(t)&&t.add(this)):this.destination=Sp}static create(t,n,r){return new de(t,n,r)}next(t){this.isStopped?Ti(vc(t),this):this._next(t)}error(t){this.isStopped?Ti(yc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ti(mc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Mp=Function.prototype.bind;function wi(e,t){return Mp.call(e,t)}var Ci=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mr(r)}else mr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mr(n)}}},de=class extends ot{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&wi(t.next,i),error:t.error&&wi(t.error,i),complete:t.complete&&wi(t.complete,i)}):o=t}this.destination=new Ci(o)}};function mr(e){ue.useDeprecatedSynchronousErrorHandling?Ic(e):gr(e)}function Np(e){throw e}function Ti(e,t){let{onStoppedNotification:n}=ue;n&&Ft.setTimeout(()=>n(e,t))}var Sp={closed:!0,next:pn,error:Np,complete:pn};var Vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function xp(...e){return bi(e)}function bi(e){return e.length===0?ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Rp(n)?n:new de(n,r,o);return jt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ec(r),new r((o,i)=>{let s=new de({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Vt](){return this}pipe(...n){return bi(n)(this)}toPromise(n){return n=Ec(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ec(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function Ap(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function Rp(e){return e&&e instanceof ot||Ap(e)&&hr(e)}function kp(e){return D(e?.lift)}function T(e){return t=>{if(kp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(e,t,n,r,o){return new _i(e,t,n,r,o)}var _i=class extends ot{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Dc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Dc}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ei:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,nt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new yr(t,n),e})(),yr=class extends te{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Ei}};var hn=class extends te{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var gn={now(){return(gn.delegate||Date).now()},delegate:void 0};var mn=class extends te{constructor(t=1/0,n=1/0,r=gn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var vr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var yn={setInterval(e,t,...n){let{delegate:r}=yn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=yn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ir=class extends vr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return yn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&yn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,nt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ht=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ht.now=gn.now;var Er=class extends Ht{constructor(t,n=Ht.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var vn=new Er(Ir),wc=vn;var it=new S(e=>e.complete());function Dr(e){return e&&D(e.schedule)}function Mi(e){return e[e.length-1]}function Tc(e){return D(Mi(e))?e.pop():void 0}function Te(e){return Dr(Mi(e))?e.pop():void 0}function Cc(e,t){return typeof Mi(e)=="number"?e.pop():t}function _c(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function bc(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 new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function st(e){return this instanceof st?(this.v=e,this):new st(e)}function Mc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(v){return new Promise(function(C,N){i.push([f,v,C,N])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(v){p(i[0][3],v)}}function l(f){f.value instanceof st?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Nc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof bc=="function"?bc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var wr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Tr(e){return D(e?.then)}function Cr(e){return D(e[Vt])}function br(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function _r(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Op(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mr=Op();function Nr(e){return D(e?.[Mr])}function Sr(e){return Mc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function xr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(Cr(e))return Pp(e);if(wr(e))return Lp(e);if(Tr(e))return Fp(e);if(br(e))return Sc(e);if(Nr(e))return jp(e);if(xr(e))return Vp(e)}throw _r(e)}function Pp(e){return new S(t=>{let n=e[Vt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Lp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Fp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gr)})}function jp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Sc(e){return new S(t=>{Hp(e,t).catch(n=>t.error(n))})}function Vp(e){return Sc(Sr(e))}function Hp(e,t){var n,r,o,i;return _c(this,void 0,void 0,function*(){try{for(n=Nc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function J(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ar(e,t=0){return T((n,r)=>{n.subscribe(_(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function Rr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xc(e,t){return P(e).pipe(Rr(t),Ar(t))}function Ac(e,t){return P(e).pipe(Rr(t),Ar(t))}function Rc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function kc(e,t){return new S(n=>{let r;return J(n,t,()=>{r=e[Mr](),J(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function kr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{J(n,t,()=>{let r=e[Symbol.asyncIterator]();J(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Oc(e,t){return kr(Sr(e),t)}function Pc(e,t){if(e!=null){if(Cr(e))return xc(e,t);if(wr(e))return Rc(e,t);if(Tr(e))return Ac(e,t);if(br(e))return kr(e,t);if(Nr(e))return kc(e,t);if(xr(e))return Oc(e,t)}throw _r(e)}function Ce(e,t){return t?Pc(e,t):P(e)}function Bp(...e){let t=Te(e);return Ce(e,t)}function $p(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Up(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var at=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Wp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new de({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new at)}});e.subscribe(i)})}function Lc(e){return e instanceof Date&&!isNaN(e)}function Ue(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:qp}=Array;function Gp(e,t){return qp(t)?e(...t):e(t)}function Fc(e){return Ue(t=>Gp(e,t))}var{isArray:zp}=Array,{getPrototypeOf:Qp,prototype:Zp,keys:Yp}=Object;function jc(e){if(e.length===1){let t=e[0];if(zp(t))return{args:t,keys:null};if(Kp(t)){let n=Yp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Kp(e){return e&&typeof e=="object"&&Qp(e)===Zp}function Vc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Jp(...e){let t=Te(e),n=Tc(e),{args:r,keys:o}=jc(e);if(r.length===0)return Ce([],t);let i=new S(Xp(r,t,o?s=>Vc(o,s):ee));return n?i.pipe(Fc(n)):i}function Xp(e,t,n=ee){return r=>{Hc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Hc(t,()=>{let l=Ce(e[c],t),u=!1;l.subscribe(_(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Hc(e,t,n){e?J(n,e,t):t()}function Bc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=v=>l<r?h(v):c.push(v),h=v=>{i&&t.next(v),l++;let C=!1;P(n(v,u++)).subscribe(_(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{C=!0},void 0,()=>{if(C)try{for(l--;c.length&&l<r;){let N=c.shift();s?J(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ct(e,t,n=1/0){return D(t)?ct((r,o)=>Ue((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>Bc(r,o,e,n)))}function Or(e=1/0){return ct(ee,e)}function $c(){return Or(1)}function Pr(...e){return $c()(Ce(e,Te(e)))}function eh(e){return new S(t=>{P(e()).subscribe(t)})}function Ni(e=0,t,n=wc){let r=-1;return t!=null&&(Dr(t)?n=t:r=t),new S(o=>{let i=Lc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function th(e=0,t=vn){return e<0&&(e=0),Ni(e,e,t)}function nh(...e){let t=Te(e),n=Cc(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Or(n)(Ce(r,t)):it}function In(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Uc(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=P(e(s,Uc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Wc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(_(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function rh(e,t){return D(t)?ct(e,t,1):ct(e,1)}function oh(e,t=vn){return T((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(_(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function qc(e){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Lr(e){return e<=0?()=>it:T((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ih(e,t=ee){return e=e??sh,T((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function sh(e,t){return e===t}function Gc(e=ah){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ah(){return new at}function ch(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function lh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?In((o,i)=>e(o,i,r)):ee,Lr(1),n?qc(t):Gc(()=>new at))}function uh(e){return e<=0?()=>it:T((t,n)=>{let r=[];t.subscribe(_(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function zc(e,t){return T(Wc(e,t,arguments.length>=2,!0))}function Qc(e={}){let{connector:t=()=>new te,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return T((v,C)=>{l++,!d&&!u&&p();let N=c=c??t();C.add(()=>{l--,l===0&&!d&&!u&&(a=Si(h,o))}),N.subscribe(C),!s&&l>0&&(s=new de({next:le=>N.next(le),error:le=>{d=!0,p(),a=Si(f,n,le),N.error(le)},complete:()=>{u=!0,p(),a=Si(f,r),N.complete()}}),P(v).subscribe(s))})(i)}}function Si(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new de({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Zc(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Qc({connector:()=>new mn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function dh(e){return In((t,n)=>e<=n)}function Yc(...e){let t=Te(e);return T((n,r)=>{(t?Pr(e,n,t):Pr(e,n)).subscribe(r)})}function Kc(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function fh(e){return T((t,n)=>{P(e).subscribe(_(n,()=>n.complete(),pn)),!n.closed&&t.subscribe(n)})}function Jc(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ee}var Ur="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(bn(t,n)),this.code=t}};function ph(e){return`NG0${Math.abs(e)}`}function bn(e,t){return`${ph(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function rl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _n(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(_n).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 Wr(e,t){return e?t?`${e} ${t}`:e:t||""}var hh=A({__forward_ref__:A});function qr(e){return e.__forward_ref__=qr,e}function H(e){return $i(e)?e():e}function $i(e){return typeof e=="function"&&e.hasOwnProperty(hh)&&e.__forward_ref__===qr}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ol(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return mh(e,Gr)}function gh(e){return Mn(e)!==null}function mh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function yh(e){let t=e?.[Gr]??null;return t||null}function Ai(e){return e&&e.hasOwnProperty(jr)?e[jr]:null}var Gr=A({\u0275prov:A}),jr=A({\u0275inj:A}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=pe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ui(e){return e&&!!e.\u0275providers}var Wi=A({\u0275cmp:A}),qi=A({\u0275dir:A}),Gi=A({\u0275pipe:A}),zi=A({\u0275mod:A}),Dn=A({\u0275fac:A}),pt=A({__NG_ELEMENT_ID__:A}),Xc=A({__NG_ENV_ID__:A});function il(e){return Qr(e,"@NgModule"),e[zi]||null}function Ge(e){return Qr(e,"@Component"),e[Wi]||null}function zr(e){return Qr(e,"@Directive"),e[qi]||null}function sl(e){return Qr(e,"@Pipe"),e[Gi]||null}function Qr(e,t){if(e==null)throw new b(-919,!1)}function Ut(e){return typeof e=="string"?e:e==null?"":String(e)}var al=A({ngErrorCode:A}),vh=A({ngErrorMessage:A}),Ih=A({ngTokenPath:A});function Qi(e,t){return cl("",-200,t)}function Zr(e,t){throw new b(-201,!1)}function cl(e,t,n){let r=new b(t,e);return r[al]=t,r[vh]=e,n&&(r[Ih]=n),r}function Eh(e){return e[al]}var Ri;function ll(){return Ri}function Y(e){let t=Ri;return Ri=e,t}function Zi(e,t,n){let r=Mn(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;Zr(e,"")}var Wt=globalThis;var Dh={},lt=Dh,wh="__NG_DI_FLAG__",ki=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ut(n)||0;try{return this.injector.get(t,r&8?null:lt,r)}catch(o){if(Pt(o))return o;throw o}}};function Th(e,t=0){let n=fr();if(n===void 0)throw new b(-203,!1);if(n===null)return Zi(e,void 0,t);{let r=Ch(t),o=n.retrieve(e,r);if(Pt(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(ll()||Th)(H(e),t)}function E(e,t){return be(e,ut(t))}function ut(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ch(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Oi(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=bh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(be(o,i))}else t.push(be(r))}return t}function bh(e){return e[wh]}function We(e,t){let n=e.hasOwnProperty(Dn);return n?e[Dn]:null}function ul(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function dl(e){return e.flat(Number.POSITIVE_INFINITY)}function Yr(e,t){e.forEach(n=>Array.isArray(n)?Yr(n,t):t(n))}function Yi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Nn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function fl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function pl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Kr(e,t,n){let r=qt(e,t);return r>=0?e[r|1]=n:(r=~r,pl(e,r,t,n)),r}function Jr(e,t){let n=qt(e,t);if(n>=0)return e[n|1]}function qt(e,t){return _h(e,t,1)}function _h(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ze={},z=[],ht=new x(""),Sn=new x("",-1),Ki=new x(""),$t=class{get(t,n=lt){if(n===lt){let o=cl("",-201);throw o.name="\u0275NotFound",o}return n}};function Ji(e){return{\u0275providers:e}}function hl(...e){return{\u0275providers:Xi(!0,e),\u0275fromNgModule:!0}}function Xi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Yr(t,s=>{let a=s;Vr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&gl(o,i),n}function gl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];es(o,i=>{t(i,r)})}}function Vr(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=Ai(e),s=!i&&Ge(e);if(!i&&!s){let c=e.ngModule;if(i=Ai(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Vr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Yr(i.imports,u=>{Vr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&gl(l,t)}if(!a){let l=We(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:Ki,useValue:o,multi:!0},o),t({provide:ht,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;es(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function es(e,t){for(let n of e)Ui(n)&&(n=n.\u0275providers),Array.isArray(n)?es(n,t):t(n)}var Mh=A({provide:String,useValue:A});function ml(e){return e!==null&&typeof e=="object"&&Mh in e}function Nh(e){return!!(e&&e.useExisting)}function Sh(e){return!!(e&&e.useFactory)}function dt(e){return typeof e=="function"}function yl(e){return!!e.useClass}var ts=new x(""),Fr={},el={},xi;function Gt(){return xi===void 0&&(xi=new $t),xi}var re=class{},ft=class extends re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Li(t,s=>this.processProvider(s)),this.records.set(Sn,Bt(void 0,this)),o.has("environment")&&this.records.set(re,Bt(void 0,this));let i=this.records.get(ts);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ki,z,{self:!0}))}retrieve(t,n){let r=ut(n)||0;try{return this.get(t,lt,r)}catch(o){if(Pt(o))return o;throw o}}destroy(){En(this),this._destroyed=!0;let t=m(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),m(t)}}onDestroy(t){return En(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){En(this);let n=we(this),r=Y(void 0),o;try{return t()}finally{we(n),Y(r)}}get(t,n=lt,r){if(En(this),t.hasOwnProperty(Xc))return t[Xc](this);let o=ut(r),i,s=we(this),a=Y(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Oh(t)&&Mn(t);u&&this.injectableDefInScope(u)?l=Bt(Pi(t),Fr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Gt():this.parent;return n=o&8&&n===lt?null:n,c.get(t,n)}catch(c){let l=Eh(c);throw l===-200||l===-201?new b(l,null):c}finally{Y(a),we(s)}}resolveInjectorInitializers(){let t=m(null),n=we(this),r=Y(void 0),o;try{let i=this.get(ht,z,{self:!0});for(let s of i)s()}finally{we(n),Y(r),m(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=H(t);let n=dt(t)?t:H(t&&t.provide),r=Ah(t);if(!dt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Bt(void 0,Fr,!0),o.factory=()=>Oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=m(null);try{if(n.value===el)throw Qi("");return n.value===Fr&&(n.value=el,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&kh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Pi(e){let t=Mn(e),n=t!==null?t.factory:We(e);if(n!==null)return n;if(e instanceof x)throw new b(-204,!1);if(e instanceof Function)return xh(e);throw new b(-204,!1)}function xh(e){if(e.length>0)throw new b(-204,!1);let n=yh(e);return n!==null?()=>n.factory(e):()=>new e}function Ah(e){if(ml(e))return Bt(void 0,e.useValue);{let t=ns(e);return Bt(t,Fr)}}function ns(e,t,n){let r;if(dt(e)){let o=H(e);return We(o)||Pi(o)}else if(ml(e))r=()=>H(e.useValue);else if(Sh(e))r=()=>e.useFactory(...Oi(e.deps||[]));else if(Nh(e))r=(o,i)=>be(H(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=H(e&&(e.useClass||e.provide));if(Rh(e))r=()=>new o(...Oi(e.deps));else return We(o)||Pi(o)}return r}function En(e){if(e.destroyed)throw new b(-205,!1)}function Bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rh(e){return!!e.deps}function kh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Oh(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Li(e,t){for(let n of e)Array.isArray(n)?Li(n,t):n&&Ui(n)?Li(n.\u0275providers,t):t(n)}function Xr(e,t){let n;e instanceof ft?(En(e),n=e):n=new ki(e);let r,o=we(n),i=Y(void 0);try{return t()}finally{we(o),Y(i)}}function vl(){return ll()!==void 0||fr()!=null}var he=0,g=1,I=2,B=3,oe=4,Q=5,gt=6,zt=7,j=8,Me=9,ge=10,k=11,Qt=12,rs=13,mt=14,K=15,Qe=16,yt=17,Ne=18,Se=19,os=20,ke=21,eo=22,qe=23,ne=24,vt=25,xe=26,O=27,Il=1,is=6,Ze=7,xn=8,It=9,L=10;function Le(e){return Array.isArray(e)&&typeof e[Il]=="object"}function ie(e){return Array.isArray(e)&&e[Il]===!0}function ss(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Zt(e){return(e.flags&1)===1}function me(e){return!!e.template}function Yt(e){return(e[I]&512)!==0}function Et(e){return(e[I]&256)===256}var as="svg",El="math";function se(e){for(;Array.isArray(e);)e=e[he];return e}function cs(e,t){return se(t[e])}function ye(e,t){return se(t[e.index])}function to(e,t){return e.data[t]}function no(e,t){return e[t]}function An(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ae(e,t){let n=t[e];return Le(n)?n:n[he]}function ro(e){return(e[I]&128)===128}function Dl(e){return ie(e[B])}function ce(e,t){return t==null?null:e[t]}function ls(e){e[yt]=0}function us(e){e[I]&1024||(e[I]|=1024,ro(e)&&Dt(e))}function wl(e,t){for(;e>0;)t=t[mt],e--;return t}function Rn(e){return!!(e[I]&9216||e[ne]?.dirty)}function oo(e){e[ge].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Rn(e)&&Dt(e)}function Dt(e){e[ge].changeDetectionScheduler?.notify(0);let t=Oe(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!ro(t)));)t=Oe(t)}function io(e,t){if(Et(e))throw new b(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function Tl(e,t){if(e[ke]===null)return;let n=e[ke].indexOf(t);n!==-1&&e[ke].splice(n,1)}function Oe(e){let t=e[B];return ie(t)?t[B]:t}function ds(e){return e[zt]??=[]}function fs(e){return e.cleanup??=[]}function Cl(e,t,n,r){let o=ds(t);o.push(n),e.firstCreatePass&&fs(e).push(r,o.length-1)}var w={lFrame:jl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fi=!1;function bl(){return w.lFrame.elementDepthCount}function _l(){w.lFrame.elementDepthCount++}function ps(){w.lFrame.elementDepthCount--}function so(){return w.bindingsEnabled}function hs(){return w.skipHydrationRootTNode!==null}function gs(e){return w.skipHydrationRootTNode===e}function ms(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function F(){return w.lFrame.tView}function Ml(e){return w.lFrame.contextLView=e,e[j]}function Nl(e){return w.lFrame.contextLView=null,e}function Z(){let e=ys();for(;e!==null&&e.type===64;)e=e.parent;return e}function ys(){return w.lFrame.currentTNode}function Sl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function wt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function vs(){return w.lFrame.isParent}function Is(){w.lFrame.isParent=!1}function Es(){return w.lFrame.contextLView}function Ds(){return Fi}function wn(e){let t=Fi;return Fi=e,t}function ao(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xl(){return w.lFrame.bindingIndex}function Al(e){return w.lFrame.bindingIndex=e}function Tt(){return w.lFrame.bindingIndex++}function co(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Rl(){return w.lFrame.inI18n}function kl(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function Ol(){return w.lFrame.currentDirectiveIndex}function lo(e){w.lFrame.currentDirectiveIndex=e}function Pl(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ll(){return w.lFrame.currentQueryIndex}function uo(e){w.lFrame.currentQueryIndex=e}function Ph(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Q]:null}function ws(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Ph(i),o===null||(i=i[mt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Fl();return r.currentTNode=t,r.lView=e,!0}function fo(e){let t=Fl(),n=e[g];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?jl(e):t}function jl(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 Vl(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ts=Vl;function po(){let e=Vl();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 Hl(e){return(w.lFrame.contextLView=wl(e,w.lFrame.contextLView))[j]}function ve(){return w.lFrame.selectedIndex}function Ye(e){w.lFrame.selectedIndex=e}function ho(){let e=w.lFrame;return to(e.tView,e.selectedIndex)}function Bl(){w.lFrame.currentNamespace=as}function $l(){Lh()}function Lh(){w.lFrame.currentNamespace=null}function Cs(){return w.lFrame.currentNamespace}var Ul=!0;function go(){return Ul}function kn(e){Ul=e}function ji(e,t=null,n=null,r){let o=bs(e,t,n,r);return o.resolveInjectorInitializers(),o}function bs(e,t=null,n=null,r,o=new Set){let i=[n||z,hl(e)],s;return new ft(i,t||Gt(),s||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=lt;static NULL=new $t;static create(t,n){if(Array.isArray(t))return ji({name:""},n,t,"");{let r=t.name??"";return ji({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:e,providedIn:"any",factory:()=>be(Sn)});static __NG_ELEMENT_ID__=-1},mo=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=Fh;static __NG_ENV_ID__=n=>n}return e})(),Hr=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Et(this._lView)}onDestroy(t){let n=this._lView;return io(n,t),()=>Tl(n,t)}};function Fh(){return new Hr(y())}var _s=!1,Wl=new x(""),Ct=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new hn(!1);debugTaskTracker=E(Wl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vi=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,vl()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(Ct,{optional:!0})??void 0)}emit(t){let n=m(null);try{super.next(t)}finally{m(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Re=Vi;function Br(...e){}function Ms(e){let t,n;function r(){e=Br;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ql(e){return queueMicrotask(()=>e()),()=>{e=Br}}var Ns="isAngularZone",Tn=Ns+"_ID",jh=0,q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Re(!1);onMicrotaskEmpty=new Re(!1);onStable=new Re(!1);onError=new Re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=_s}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Bh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ns)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Vh,Br,Br);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Vh={};function Ss(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 Hh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ms(()=>{e.callbackScheduled=!1,Hi(e),e.isCheckStableRunning=!0,Ss(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Hi(e)}function Bh(e){let t=()=>{Hh(e)},n=jh++;e._inner=e._inner.fork({name:"angular",properties:{[Ns]:!0,[Tn]:n,[Tn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if($h(c))return r.invokeTask(i,s,a,c);try{return tl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),nl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return tl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Uh(c)&&t(),nl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hi(e),Ss(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Hi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function tl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nl(e){e._nesting--,Ss(e)}var Cn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Re;onMicrotaskEmpty=new Re;onStable=new Re;onError=new Re;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function $h(e){return Gl(e,"__ignore_ng_zone__")}function Uh(e){return Gl(e,"__scheduler_tick__")}function Gl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Pe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},bt=new x("",{factory:()=>{let e=E(q),t=E(re),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),zl={provide:ht,useValue:()=>{let e=E(Pe,{optional:!0})},multi:!0};function yo(e,t){let[n,r,o]=gi(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=xs.bind(i),i}function xs(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var Ql=new x("",{factory:()=>Wh}),Wh="ng";var Zl=new x(""),qh=new x("",{providedIn:"platform",factory:()=>"unknown"}),Gh=new x(""),zh=new x("",{factory:()=>E(mo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Qh}return e})();function Qh(){return new Kt(y(),Z())}var _e=class{},Jt=new x("",{factory:()=>!0});var vo=new x(""),Io=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new Bi})}return e})(),Bi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},$r=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function Yl(e,t){let n=t?.injector??E(fe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Kt,null,{optional:!0}),s=n.get(_e);return i!==null?(o=Kh(i.view,s,e),r instanceof Hr&&r._lView===i.view&&(r=null)):o=Jh(e,n.get(Io),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new $r(o)}var Kl=U($({},yi),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=wn(!1);try{vi(this)}finally{wn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=m(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],m(e)}}}),Zh=U($({},Kl),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if($e(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Yh=U($({},Kl),{consumerMarkedDirty(){this.view[I]|=8192,Dt(this.view),this.notifier.notify(13)},destroy(){if($e(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[qe]?.delete(this)}});function Kh(e,t,n){let r=Object.create(Yh);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Jl(r,n),e[qe]??=new Set,e[qe].add(r),r.consumerMarkedDirty(r),r}function Jh(e,t,n){let r=Object.create(Zh);return r.fn=Jl(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 Jl(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function zn(e){return{toString:e}.toString()}var So=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Fu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ug=(()=>{let e=()=>ju;return e.ngInherit=!0,e})();function ju(e){return e.type.prototype.ngOnChanges&&(e.setInput=fg),dg}function dg(){let e=Vu(this),t=e?.current;if(t){let n=e.previous;if(n===ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fg(e,t,n,r,o){let i=this.declaredInputs[r],s=Vu(e)||pg(e,{previous:ze,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new So(l&&l.currentValue,n,c===ze),Fu(e,t,o,n)}var Bs="__ngSimpleChanges__";function Vu(e){return Object.hasOwn(e,Bs)&&e[Bs]||null}function pg(e,t){return e[Bs]=t}var Xl=[];var R=function(e,t=null,n){for(let r=0;r<Xl.length;r++){let o=Xl[r];o(e,t,n)}},M=(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})(M||{});function hg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ju(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Hu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Co(e,t,n){Bu(e,t,3,n)}function bo(e,t,n,r){(e[I]&3)===n&&Bu(e,t,n,r)}function As(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function Bu(e,t,n,r){let o=r!==void 0?e[yt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[yt]+=65536),(a<i||i==-1)&&(gg(e,n,t,c),e[yt]=(e[yt]&4294901760)+c+2),c++}function eu(e,t){R(M.LifecycleHookStart,e,t);let n=m(null);try{t.call(e)}finally{m(n),R(M.LifecycleHookEnd,e,t)}}function gg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[I]>>14<e[yt]>>16&&(e[I]&3)===t&&(e[I]+=16384,eu(a,i)):eu(a,i)}var en=-1,_t=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function mg(e){return(e.flags&8)!==0}function yg(e){return(e.flags&16)!==0}function vg(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Eg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ig(e){return e===3||e===4||e===6}function Eg(e){return e.charCodeAt(0)===64}function tn(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 o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?tu(e,n,o,null,t[++r]):tu(e,n,o,null,null))}}return e}function tu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function $u(e){return e!==en}function xo(e){return e&32767}function Dg(e){return e>>16}function Ao(e,t){let n=Dg(e),r=t;for(;n>0;)r=r[mt],n--;return r}var $s=!0;function Ro(e){let t=$s;return $s=e,t}var wg=256,Uu=wg-1,Wu=5,Tg=0,Ae={};function Cg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(pt)&&(r=n[pt]),r==null&&(r=n[pt]=Tg++);let o=r&Uu,i=1<<o;t.data[e+(o>>Wu)]|=i}function ko(e,t){let n=qu(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Rs(r.data,e),Rs(t,null),Rs(r.blueprint,null));let o=Ea(e,t),i=e.injectorIndex;if($u(o)){let s=xo(o),a=Ao(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Rs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ea(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Yu(o),r===null)return en;if(n++,o=o[mt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return en}function Us(e,t,n){Cg(e,t,n)}function Gu(e,t,n){if(n&8||e!==void 0)return e;Zr(t,"NodeInjector")}function zu(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Me],i=Y(void 0);try{return o?o.get(t,r,n&8):Zi(t,r,n&8)}finally{Y(i)}}return Gu(r,t,n)}function Qu(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=Sg(e,t,n,r,Ae);if(s!==Ae)return s}let i=Zu(e,t,n,r,Ae);if(i!==Ae)return i}return zu(t,n,r,o)}function Zu(e,t,n,r,o){let i=_g(n);if(typeof i=="function"){if(!ws(t,e,r))return r&1?Gu(o,n,r):zu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Zr(n);else return s}finally{Ts()}}else if(typeof i=="number"){let s=null,a=qu(e,t),c=en,l=r&1?t[K][Q]:null;for((a===-1||r&4)&&(c=a===-1?Ea(e,t):t[a+8],c===en||!ru(r,!1)?a=-1:(s=t[g],a=xo(c),t=Ao(c,t)));a!==-1;){let u=t[g];if(nu(i,a,u.data)){let d=bg(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==en&&ru(r,t[g].data[a+8]===l)&&nu(i,a,t)?(s=u,a=xo(c),t=Ao(c,t)):a=-1}}return o}function bg(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&$s:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=_o(a,s,n,c,l);return u!==null?Fn(t,s,u,a,o):Ae}function _o(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&me(f)&&f.type===n)return c}return null}function Fn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof _t){let a=i;if(a.resolving)throw Qi("");let c=Ro(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=ws(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&hg(n,s[n],t)}finally{d!==null&&Y(d),Ro(c),a.resolving=!1,Ts()}}return i}function _g(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(pt)?e[pt]:void 0;return typeof t=="number"?t>=0?t&Uu:Mg:t}function nu(e,t,n){let r=1<<e;return!!(n[t+(e>>Wu)]&r)}function ru(e,t){return!(e&2)&&!(e&1&&t)}var Ke=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Qu(this._tNode,this._lView,t,ut(r),n)}};function Mg(){return new Ke(Z(),y())}function Ng(e){return zn(()=>{let t=e.prototype.constructor,n=t[Dn]||Ws(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Dn]||Ws(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ws(e){return $i(e)?()=>{let t=Ws(H(e));return t&&t()}:We(e)}function Sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!Yt(s);){let a=Zu(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[os];if(l){let u=l.get(n,Ae,r&-5);if(u!==Ae)return u}c=Yu(s),s=s[mt]}i=c}return o}function Yu(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Q]:null}function St(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function xg(){return ln(Z(),y())}function ln(e,t){return new Qn(ye(e,t))}var Qn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=xg}return e})();function Ag(e){return e instanceof Qn?e.nativeElement:e}function Rg(){return this._results[Symbol.iterator]()}var Oo=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 te}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=dl(t);(this._changesDetected=!ul(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Rg};function Ku(e){return(e.flags&128)===128}var Da=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Da||{}),Ju=new Map,kg=0;function Og(){return kg++}function Pg(e){Ju.set(e[Se],e)}function qs(e){Ju.delete(e[Se])}var ou="__ngContext__";function nn(e,t){Le(t)?(e[ou]=t[Se],Pg(t)):e[ou]=t}function Xu(e){return td(e[Qt])}function ed(e){return td(e[oe])}function td(e){for(;e!==null&&!ie(e);)e=e[oe];return e}var Gs;function Lg(e){Gs=e}function wa(){if(Gs!==void 0)return Gs;if(typeof document<"u")return document;throw new b(210,!1)}var nd="r";var rd="di";var od=!1,id=new x("",{factory:()=>od});var iu=new WeakMap;function Fg(e,t){if(e==null||typeof e!="object")return;let n=iu.get(e);n||(n=new WeakSet,iu.set(e,n)),n.add(t)}var jg=(e,t,n,r)=>{};function Vg(e,t,n,r){jg(e,t,n,r)}function zo(e){return(e.flags&32)===32}var Hg=()=>null;function sd(e,t,n=!1){return Hg(e,t,n)}function ad(e,t){let n=e.contentQueries;if(n!==null){let r=m(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];uo(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function zs(e,t,n){uo(0);let r=m(null);try{t(e,n)}finally{m(r)}}function Ta(e,t,n){if(ss(t)){let r=m(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{m(r)}}}var Mt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Mt||{});var Eo;function Bg(){if(Eo===void 0&&(Eo=null,Wt.trustedTypes))try{Eo=Wt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Eo}function Qo(e){return Bg()?.createHTML(e)||e}var Do;function $g(){if(Do===void 0&&(Do=null,Wt.trustedTypes))try{Do=Wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Do}function su(e){return $g()?.createHTML(e)||e}var Po=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ur})`}};function Zo(e){return e instanceof Po?e.changingThisBreaksApplicationSecurity:e}function cd(e,t){let n=ld(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ur})`)}return n===t}function ld(e){return e instanceof Po&&e.getTypeName()||null}function Ug(e){let t=new Zs(e);return Wg()?new Qs(t):t}var Qs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Qo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Zs=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Qo(t),n}};function Wg(){try{return!!new window.DOMParser().parseFromString(Qo(""),"text/html")}catch(e){return!1}}var qg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ud(e){return e=String(e),e.match(qg)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Zn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var dd=Ve("area,br,col,hr,img,wbr"),fd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pd=Ve("rp,rt"),Gg=Zn(pd,fd),zg=Zn(fd,Ve("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")),Qg=Zn(pd,Ve("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")),au=Zn(dd,zg,Qg,Gg),hd=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zg=Ve("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"),Yg=Ve("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"),Kg=Zn(hd,Zg,Yg),Jg=Ve("script,style,template"),Ys=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=tm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=em(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cu(t).toLowerCase();if(!au.hasOwnProperty(n))return this.sanitizedSomething=!0,!Jg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Kg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;hd[a]&&(c=ud(c)),this.buf.push(" ",s,'="',lu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cu(t).toLowerCase();au.hasOwnProperty(n)&&!dd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(lu(t))}};function Xg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function em(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw gd(t);return t}function tm(e){let t=e.firstChild;if(t&&Xg(e,t))throw gd(t);return t}function cu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rm=/([^\#-~ |!])/g;function lu(e){return e.replace(/&/g,"&amp;").replace(nm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(rm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wo;function md(e,t){let n=null;try{wo=wo||Ug(e);let r=t?String(t):"";n=wo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=wo.getInertBodyElement(r)}while(r!==i);let a=new Ys().sanitizeChildren(uu(n)||n);return Qo(a)}finally{if(n){let r=uu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function uu(e){return"content"in e&&om(e)?e.content:null}function om(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var im=/^>|^->|<!--|-->|--!>|<!-$/g,sm=/(<|>)/g,am="\u200B$1\u200B";function cm(e){return e.replace(im,t=>t.replace(sm,am))}function lm(e,t){return e.createText(t)}function um(e,t,n){e.setValue(t,n)}function dm(e,t){return e.createComment(cm(t))}function yd(e,t,n){return e.createElement(t,n)}function Lo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function vd(e,t,n){e.appendChild(t,n)}function du(e,t,n,r,o){r!==null?Lo(e,t,n,r,o):vd(e,t,n)}function Id(e,t,n,r){e.removeChild(null,t,n,r)}function fm(e,t,n){e.setAttribute(t,"style",n)}function pm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ed(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vg(e,t,r),o!==null&&pm(e,t,o),i!==null&&fm(e,t,i)}var Ca=(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})(Ca||{});function hm(e){let t=gm();return t?su(t.sanitize(Ca.HTML,e)||""):cd(e,"HTML")?su(Zo(e)):md(wa(),Ut(e))}function gm(){let e=y();return e&&e[ge].sanitizer}function mm(e){return e.ownerDocument}function ym(e){return e instanceof Function?e():e}function vm(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Dd="ng-template";function Im(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&vm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ba(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ba(e){return e.type===4&&e.value!==Dd}function Em(e,t,n){let r=e.type===4&&!n?Dd:e.value;return t===r}function Dm(e,t,n){let r=4,o=e.attrs,i=o!==null?Cm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Em(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!Im(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=wm(c,o,ba(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function wm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return bm(t,e)}function wd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Dm(e,t[r],n))return!0;return!1}function Tm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Cm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ig(n))return t}return e.length}function bm(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 _m(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function fu(e,t){return e?":not("+t.trim()+")":t}function Mm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=fu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=fu(i,o)),t}function Nm(e){return e.map(Mm).join(",")}function Sm(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ie(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={},Fo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Fo||{}),xm;function _a(e,t){return xm(e,t)}var VN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ks=new WeakMap,On=new WeakSet;function Am(e,t){let n=Ks.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),On.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Rm(e,t){let n=Ks.get(e);n?n.includes(t)||n.push(t):Ks.set(e,[t])}var rn=new Set,Yo=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Yo||{}),xt=new x(""),pu=new Set;function He(e){pu.has(e)||(pu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ko=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ma=[0,1,2,3],Na=(()=>{class e{ngZone=E(q);scheduler=E(_e);errorHandler=E(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(xt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(M.AfterRenderHooksStart),this.executing=!0;for(let r of Ma)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(M.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[vt]??=[]).push(n),Dt(r),r[I]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Yo.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),jn=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,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 t=this.view?.[vt];t&&(this.view[vt]=t.filter(n=>n!==this))}};function km(e,t){let n=t?.injector??E(fe);return He("NgAfterNextRender"),Pm(e,n,t,!0)}function Om(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Pm(e,t,n,r){let o=t.get(Ko);o.impl??=t.get(Na);let i=t.get(xt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Kt,null,{optional:!0}),c=new jn(o.impl,Om(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Sa=new x("",{factory:()=>{let e=E(re),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Td(e,t,n){let r=e.get(Sa);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Lm(e,t){let n=e.get(Sa);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Fm(e,t){let n=e.get(Sa);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function jm(e,t){for(let[n,r]of t)Td(e,r.animateFns)}function hu(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&jm(r,o)}function gu(e,t,n,r){try{n.get(Sn)}catch(s){return r(!1)}let o=e?.[xe];o?.enter?.has(t.index)&&Lm(n,o.enter.get(t.index).animateFns);let i=Vm(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Jo(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&rn.add(e[Se]),Td(n,()=>Hm(e,t,o||void 0,i,r),o||void 0)}function Vm(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[g].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function Hm(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&Jo(e,t,i),i.length>0){let s=n||e?.[xe];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),$m(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&rn.delete(e[Se]),o(!0)})}else e&&rn.delete(e[Se]),o(!1)}function Jo(e,t,n){if(t.type&12){let o=e[t.index];if(ie(o))for(let i=L;i<o.length;i++){let s=o[i];s[g].type===2&&Bm(s,n)}}let r=t.child;for(;r;)Jo(e,r,n),r=r.next}function Bm(e,t){let n=e[xe];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[g].firstChild;for(;r;)Jo(e,r,t),r=r.next}function $m(e,t,n){t.then(()=>{e[xe]?.running===t&&(e[xe].running=void 0,rn.delete(e[Se])),n(!0)})}function Xt(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ie(o)?c=o:Le(o)&&(l=!0,o=o[he]);let u=se(o);e===0&&r!==null?(hu(a,r,i,n),s==null?vd(t,r,u):Lo(t,r,u,s||null,!0)):e===1&&r!==null?(hu(a,r,i,n),Lo(t,r,u,s||null,!0),Am(i,u)):e===2?(a?.[xe]?.leave?.has(i.index)&&Rm(i,u),On.delete(u),gu(a,i,n,d=>{if(On.has(u)){On.delete(u);return}Id(t,u,l,d)})):e===3&&(On.delete(u),gu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&Jm(t,e,n,c,i,r,s)}}function Um(e,t){Cd(e,t),t[he]=null,t[Q]=null}function Wm(e,t,n,r,o,i){r[he]=o,r[Q]=t,ei(e,r,n,1,o,i)}function Cd(e,t){t[ge].changeDetectionScheduler?.notify(9),ei(e,t,t[k],2,null,null)}function qm(e){let t=e[Qt];if(!t)return ks(e[g],e);for(;t;){let n=null;if(Le(t))n=t[Qt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Le(t)&&ks(t[g],t),t=t[B];t===null&&(t=e),Le(t)&&ks(t[g],t),n=t&&t[oe]}t=n}}function xa(e,t){let n=e[It],r=n.indexOf(t);n.splice(r,1)}function Xo(e,t){if(Et(t))return;let n=t[k];n.destroyNode&&ei(e,t,n,3,null,null),qm(t)}function ks(e,t){if(Et(t))return;let n=m(null);try{t[I]&=-129,t[I]|=256,t[ne]&&$e(t[ne]),zm(e,t),Gm(e,t),t[g].type===1&&t[k].destroy();let r=t[Qe];if(r!==null&&ie(t[B])){r!==t[B]&&xa(r,t);let o=t[Ne];o!==null&&o.detachView(e)}qs(t)}finally{m(n)}}function Gm(e,t){let n=e.cleanup,r=t[zt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[zt]=null);let o=t[ke];if(o!==null){t[ke]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[qe];if(i!==null){t[qe]=null;for(let s of i)s.destroy()}}function zm(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof _t)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(M.LifecycleHookStart,a,c);try{c.call(a)}finally{R(M.LifecycleHookEnd,a,c)}}else{R(M.LifecycleHookStart,o,i);try{i.call(o)}finally{R(M.LifecycleHookEnd,o,i)}}}}}function bd(e,t,n){return Qm(e,t.parent,n)}function Qm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[he];if(Fe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Mt.None||o===Mt.Emulated)return null}return ye(r,n)}function _d(e,t,n){return Ym(e,t,n)}function Zm(e,t,n){return e.type&40?ye(e,n):null}var Ym=Zm,mu;function Aa(e,t,n,r){let o=bd(e,r,t),i=t[k],s=r.parent||t[Q],a=_d(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)du(i,o,n[c],a,!1);else du(i,o,n,a,!1);mu!==void 0&&mu(i,r,t,n,o)}function Pn(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return Js(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Pn(e,r);{let o=e[t.index];return ie(o)?Js(-1,o):se(o)}}else{if(n&128)return Pn(e,t.next);if(n&32)return _a(t,e)()||se(e[t.index]);{let r=Md(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Oe(e[K]);return Pn(o,r)}else return Pn(e,t.next)}}}return null}function Md(e,t){if(t!==null){let r=e[K][Q],o=t.projection;return r.projection[o]}return null}function Js(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return Pn(r,o)}return t[Ze]}function Ra(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Me];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&nn(se(c),r),n.flags|=2),!zo(n))if(l&8)Ra(e,t,n.child,r,o,i,!1),Xt(t,e,a,o,c,n,i,r);else if(l&32){let u=_a(n,r),d;for(;d=u();)Xt(t,e,a,o,d,n,i,r);Xt(t,e,a,o,c,n,i,r)}else l&16?Nd(e,t,r,n,o,i):Xt(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ei(e,t,n,r,o,i){Ra(n,r,e.firstChild,t,o,i,!1)}function Km(e,t,n){let r=t[k],o=bd(e,n,t),i=n.parent||t[Q],s=_d(i,n,t);Nd(r,0,t,n,o,s)}function Nd(e,t,n,r,o,i){let s=n[K],c=s[Q].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Xt(t,e,n[Me],o,u,r,i,n)}else{let l=c,u=s[B];Ku(r)&&(l.flags|=128),Ra(e,t,l,u,o,i,!0)}}function Jm(e,t,n,r,o,i,s){let a=r[Ze],c=se(r);a!==c&&Xt(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];ei(u[g],u,e,t,i,a)}}function Xm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Fo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fo.Important),e.setStyle(n,r,o,i))}}function ka(e,t,n,r,o,i,s,a,c,l,u){let d=O+r,p=d+o,f=ey(d,p),h=typeof l=="function"?l():l;return f[g]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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 i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function ey(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function ty(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ka(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Oa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[he]=o,d[I]=r|4|128|8|64|1024,(l!==null||e&&e[I]&2048)&&(d[I]|=2048),ls(d),d[B]=d[mt]=e,d[j]=n,d[ge]=s||e&&e[ge],d[k]=a||e&&e[k],d[Me]=c||e&&e[Me]||null,d[Q]=i,d[Se]=Og(),d[gt]=u,d[os]=l,d[K]=t.type==2?e[K]:d,d}function ny(e,t,n){let r=ye(t,e),o=ty(n),i=e[ge].rendererFactory,s=Pa(e,Oa(e,o,null,Sd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Sd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function xd(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Pa(e,t){return e[Qt]?e[rs][oe]=t:e[Qt]=t,e[rs]=t,t}function ry(e=1){Ad(F(),y(),ve()+e,!1)}function Ad(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Co(t,i,n)}else{let i=e.preOrderHooks;i!==null&&bo(t,i,0,n)}Ye(n)}var ti=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ti||{});function Xs(e,t,n,r){let o=m(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ti.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Fu(t,c,i,r)}finally{m(o)}}function Rd(e,t,n,r,o){let i=ve(),s=r&2;try{Ye(-1),s&&t.length>O&&Ad(e,t,O,!1);let a=s?M.TemplateUpdateStart:M.TemplateCreateStart;R(a,o,n),n(r,o)}finally{Ye(i);let a=s?M.TemplateUpdateEnd:M.TemplateCreateEnd;R(a,o,n)}}function ni(e,t,n){uy(e,t,n),(n.flags&64)===64&&dy(e,t,n)}function Yn(e,t,n=ye){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function oy(e,t,n,r){let i=r.get(id,od)||n===Mt.ShadowDom||n===Mt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return iy(s),s}function iy(e){sy(e)}var sy=()=>null;function ay(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function cy(e,t,n,r,o,i){let s=t[g];if(Va(e,s,t,n,r)){Fe(e)&&ly(t,e.index);return}e.type&3&&(n=ay(n)),kd(e,t,n,r,o,i)}function kd(e,t,n,r,o,i){if(e.type&3){let s=ye(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function ly(e,t){let n=ae(t,e);n[I]&16||(n[I]|=64)}function uy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&ny(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ko(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Fn(t,e,s,n);if(nn(c,t),i!==null&&gy(t,s-r,c,a,n,i),me(a)){let l=ae(n.index,t);l[j]=Fn(t,e,s,n)}}}function dy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ol();try{Ye(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];lo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&fy(c,l)}}finally{Ye(-1),lo(s)}}function fy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function La(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];wd(t,i.selectors,!1)&&(r??=[],me(i)?r.unshift(i):r.push(i))}return r}function py(e,t,n,r,o,i){let s=ye(e,t);hy(t[k],s,i,e.value,n,r,o)}function hy(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?Ut(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function gy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Xs(r,n,c,l)}}function Fa(e,t,n,r,o){let i=O+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,wt(e,!0);let c=e.type===2;return c?(Ed(t[k],a,e),(bl()===0||Zt(e))&&nn(a,t),_l()):nn(a,t),go()&&(!c||!zo(e))&&Aa(s,t,a,e),e}function ja(e){let t=e;return vs()?Is():(t=t.parent,wt(t,!1)),t}function my(e,t){let n=e[Me];if(!n)return;let r;try{r=n.get(bt,null)}catch(o){r=null}r?.(t)}function Va(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Xs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Xs(u,l,r,o),a=!0}return a}function yy(e,t){let n=ae(t,e),r=n[g];vy(r,n);let o=n[he];o!==null&&n[gt]===null&&(n[gt]=sd(o,n[Me])),R(M.ComponentStart);try{Ha(r,n,n[j])}finally{R(M.ComponentEnd,n[j])}}function vy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ha(e,t,n){fo(t);try{let r=e.viewQuery;r!==null&&zs(1,r,n);let o=e.template;o!==null&&Rd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&ad(e,t),e.staticViewQueries&&zs(2,e.viewQuery,n);let i=e.components;i!==null&&Iy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,po()}}function Iy(e,t){for(let n=0;n<t.length;n++)yy(e,t[n])}function Kn(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=Oa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Qe]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),Ha(i,c,n),c}finally{m(o)}}function on(e,t){return!t||t.firstChild===null||Ku(e)}function Vn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(se(i)),ie(i)&&Od(i,r);let s=n.type;if(s&8)Vn(e,t,n.child,r);else if(s&32){let a=_a(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Md(t,n);if(Array.isArray(a))r.push(...a);else{let c=Oe(t[K]);Vn(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Od(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Vn(r[g],r,o,t)}e[Ze]!==e[he]&&t.push(e[Ze])}function Pd(e){if(e[vt]!==null){for(let t of e[vt])t.impl.addSequence(t);e[vt].length=0}}var Ld=[];function Ey(e){return e[ne]??Dy(e)}function Dy(e){let t=Ld.pop()??Object.create(Ty);return t.lView=e,t}function wy(e){e.lView[ne]!==e&&(e.lView=null,Ld.push(e))}var Ty=U($({},Xe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Dt(e.lView)},consumerOnSignalRead(){this.lView[ne]=this}});function Cy(e){let t=e[ne]??Object.create(by);return t.lView=e,t}var by=U($({},Xe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Oe(e.lView);for(;t&&!Fd(t[g]);)t=Oe(t);t&&us(t)},consumerOnSignalRead(){this.lView[ne]=this}});function Fd(e){return e.type!==2}function jd(e){if(e[qe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[qe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var _y=100;function Vd(e,t=0){let r=e[ge].rendererFactory,o=!1;o||r.begin?.();try{My(e,t)}finally{o||r.end?.()}}function My(e,t){let n=Ds();try{wn(!0),ea(e,t);let r=0;for(;Rn(e);){if(r===_y)throw new b(103,!1);r++,ea(e,1)}}finally{wn(n)}}function Ny(e,t,n,r){if(Et(t))return;let o=t[I],i=!1,s=!1;fo(t);let a=!0,c=null,l=null;i||(Fd(e)?(l=Ey(t),c=Be(l)):cr()===null?(a=!1,l=Cy(t),c=Be(l)):t[ne]&&($e(t[ne]),t[ne]=null));try{ls(t),Al(e.bindingStartIndex),n!==null&&Rd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Co(t,f,null)}else{let f=e.preOrderHooks;f!==null&&bo(t,f,0,null),As(t,0)}if(s||Sy(t),jd(t),Hd(t,0),e.contentQueries!==null&&ad(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Co(t,f)}else{let f=e.contentHooks;f!==null&&bo(t,f,1),As(t,1)}Ay(e,t);let d=e.components;d!==null&&$d(t,d,0);let p=e.viewQuery;if(p!==null&&zs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Co(t,f)}else{let f=e.viewHooks;f!==null&&bo(t,f,2),As(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[eo]){for(let f of t[eo])f();t[eo]=null}i||(Pd(t),t[I]&=-73)}catch(u){throw i||Dt(t),u}finally{l!==null&&(tt(l,c),a&&wy(l)),po()}}function Hd(e,t){for(let n=Xu(e);n!==null;n=ed(n))for(let r=L;r<n.length;r++){let o=n[r];Bd(o,t)}}function Sy(e){for(let t=Xu(e);t!==null;t=ed(t)){if(!(t[I]&2))continue;let n=t[It];for(let r=0;r<n.length;r++){let o=n[r];us(o)}}}function xy(e,t,n){R(M.ComponentStart);let r=ae(t,e);try{Bd(r,n)}finally{R(M.ComponentEnd,r[j])}}function Bd(e,t){ro(e)&&ea(e,t)}function ea(e,t){let r=e[g],o=e[I],i=e[ne],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Rt(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)Ny(r,e,r.template,e[j]);else if(o&8192){let a=m(null);try{jd(e),Hd(e,1);let c=r.components;c!==null&&$d(e,c,1),Pd(e)}finally{m(a)}}}function $d(e,t,n){for(let r=0;r<t.length;r++)xy(e,t[r],n)}function Ay(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ye(~o);else{let i=o,s=n[++r],a=n[++r];kl(s,i);let c=t[i];R(M.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(M.HostBindingsUpdateEnd,c)}}}}finally{Ye(-1)}}function Ba(e,t){let n=Ds()?64:1088;for(e[ge].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=Oe(e);if(Yt(e)&&!r)return e;e=r}return null}function Ud(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Wd(e,t){let n=L+t;if(n<e.length)return e[n]}function Jn(e,t,n,r=!0){let o=t[g];if(Ry(o,t,e,n),r){let s=Js(n,e),a=t[k],c=a.parentNode(e[Ze]);c!==null&&Wm(o,e[Q],a,t,c,s)}let i=t[gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function qd(e,t){let n=Hn(e,t);return n!==void 0&&Xo(n[g],n),n}function Hn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Qe];o!==null&&o!==e&&xa(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=Nn(e,L+t);Um(r[g],r);let s=i[Ne];s!==null&&s.detachView(i[g]),r[B]=null,r[oe]=null,r[I]&=-129}return r}function Ry(e,t,n,r){let o=L+r,i=n.length;r>0&&(n[o-1][oe]=t),r<i-L?(t[oe]=n[o],Yi(n,L+r,t)):(n.push(t),t[oe]=null),t[B]=n;let s=t[Qe];s!==null&&n!==s&&Gd(s,t);let a=t[Ne];a!==null&&a.insertView(e),oo(t),t[I]|=128}function Gd(e,t){let n=e[It],r=t[B];if(Le(r))e[I]|=2;else{let o=r[B][K];t[K]!==o&&(e[I]|=2)}n===null?e[It]=[t]:n.push(t)}var Je=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Vn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Et(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(ie(t)){let n=t[xn],r=n?n.indexOf(this):-1;r>-1&&(Hn(t,r),Nn(n,r))}this._attachedToViewContainer=!1}Xo(this._lView[g],this._lView)}onDestroy(t){io(this._lView,t)}markForCheck(){Ba(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){oo(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Vd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yt(this._lView),n=this._lView[Qe];n!==null&&!t&&xa(n,this._lView),Cd(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Yt(this._lView),r=this._lView[Qe];r!==null&&!n&&Gd(r,this._lView),oo(this._lView)}};var Bn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ky;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Kn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Je(i)}}return e})();function ky(){return $a(Z(),y())}function $a(e,t){return e.type&4?new Bn(t,e,ln(e,t)):null}function At(e,t,n,r,o){let i=e.data[t];if(i===null)i=Oy(e,t,n,r,o),Rl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sl();i.injectorIndex=s===null?-1:s.injectorIndex}return wt(i,!0),i}function Oy(e,t,n,r,o){let i=ys(),s=vs(),a=s?i:i&&i.parent,c=e.data[t]=Ly(e,a,n,t,r,o);return Py(e,c,i,s),c}function Py(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 Ly(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return hs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Cs(),attrs:i,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 Fy(e){let t=e[is]??[],r=e[B][k],o=[];for(let i of t)i.data[rd]!==void 0?o.push(i):jy(i,r);e[is]=o}function jy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[nd];for(;n<o;){let i=r.nextSibling;Id(t,r,!1),r=i,n++}}}var Vy=()=>null,Hy=()=>null;function jo(e,t){return Vy(e,t)}function zd(e,t,n){return Hy(e,t,n)}var Qd=class{},$n=class{},By=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>$y()}return e})();function $y(){let e=y(),t=Z(),n=ae(t.index,e);return(Le(n)?n:e)[k]}var Zd=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function Yd(e){return e.debugInfo?.className||e.type.name||null}var Mo={},Vo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Mo,r);return o!==Mo||n===Mo?o:this.parentInjector.get(t,n,r)}};function Kd(e,t,n){return e[t]=n}function De(e,t,n){if(n===X)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Jd(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function No(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Fg(o,i);let s=Fe(e)?ae(e.index,t):t;Ba(s,5);let a=t[j],c=yu(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=yu(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function yu(e,t,n,r){let o=m(null);try{return R(M.OutputStart,t,n),n(r)!==!1}catch(i){return my(e,i),!1}finally{R(M.OutputEnd,t,n),m(o)}}function Xd(e,t,n,r,o,i,s,a){let c=Zt(e),l=!1,u=null;if(!r&&c&&(u=Wy(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ye(e,n),p=r?r(d):d;Vg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!Uy(i)){let h=r?v=>r(se(v[e.index])):e.index;ef(h,t,n,i,a,f,!1)}}return l}function Uy(e){return e.startsWith("animation")||e.startsWith("transition")}function Wy(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[zt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ef(e,t,n,r,o,i,s){let a=t.firstCreatePass?fs(t):null,c=ds(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function vu(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);ef(e.index,a,t,o,i,d,!0)}var ta=Symbol("BINDING");var tf=new x("");function Ho(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Wr(o,a);else if(i==2){let c=a,l=t[++s];r=Wr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Xn(e,t=0){let n=y();if(n===null)return be(e,t);let r=Z();return Qu(r,n,H(e),t)}function qy(){let e="invalid";throw new Error(e)}function nf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Qy(e,t,n,a,i,c,l)}i!==null&&r!==null&&Gy(n,r,i)}function Gy(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function zy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Qy(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&me(f)&&(c=f,zy(e,n,p)),Us(ko(n,t),e,f.type)}ev(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=xd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=tn(n.mergedAttrs,f.hostAttrs),Yy(e,n,t,d,f),Xy(d,f,o),s!==null&&s.has(f)){let[v,C]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,C+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Zy(e,n,i)}function Zy(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Iu(0,t,o,r),Iu(1,t,o,r),Du(t,r,!1);else{let i=n.get(o);Eu(0,t,i,r),Eu(1,t,i,r),Du(t,r,!0)}}}function Iu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),rf(t,i)}}function Eu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),rf(t,s)}}function rf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Du(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ba(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Yy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=We(o.type,!0)),s=new _t(i,me(o),Xn,null);e.blueprint[r]=s,n[r]=s,Ky(e,t,r,xd(e,n,o.hostVars,X),o)}function Ky(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Jy(s)!=a&&s.push(a),s.push(n,r,i)}}function Jy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Xy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;me(t)&&(n[""]=e)}}function ev(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ua(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=ce(l,s),d=At(c,e,n,r,u);return i&&nf(c,t,d,ce(l,a),o),d.mergedAttrs=tn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ho(d,d.attrs,!1),d.mergedAttrs!==null&&Ho(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Wa(e,t){Hu(e,t),ss(t)&&e.queries.elementEnd(t)}function tv(e,t,n,r,o,i){let s=t.consts,a=ce(s,o),c=At(t,e,n,r,a);if(c.mergedAttrs=tn(c.mergedAttrs,c.attrs),i!=null){let l=ce(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ho(c,c.attrs,!1),c.mergedAttrs!==null&&Ho(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var of=typeof ShadowRoot<"u",nv=typeof Document<"u";function rv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ti.SignalBased)!==0};return o&&(i.transform=o),i})}function ov(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function iv(e,t,n){let r=t instanceof re?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vo(n,r):n}function sv(e){let t=e.get($n,null);if(t===null)throw new b(407,!1);let n=e.get(Zd,null),r=e.get(_e,null),o=e.get(xt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function av(e,t){let n=sf(e);return yd(t,n,n==="svg"?as:n==="math"?El:null)}function sf(e){return(e.selectors[0][0]||"div").toLowerCase()}var sn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=rv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=ov(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Nm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(M.DynamicComponentStart);let a=m(null);try{let c=this.componentDef,l=iv(c,o||this.ngModule,t),u=sv(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Yd(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{m(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=cv(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?oy(l,o,a.encapsulation,n):av(a,l),d=n.get(tf,null),p=lv(u,()=>n.get(mo,null)??wa());d&&d.addHost(p);let f=s?.some(wu)||i?.some(C=>typeof C!="function"&&C.bindings.some(wu)),h=Oa(null,c,null,512|Sd(a),null,null,t,l,n,null,sd(u,n,!0));d&&of&&p instanceof ShadowRoot&&io(h,()=>{d.removeHost(p)}),h[O]=u,fo(h);let v=null;try{let C=Ua(O,h,2,"#host",()=>c.directiveRegistry,!0,0);Ed(l,u,C),nn(u,h),ni(c,h,C),Ta(c,C,h),Wa(c,C),r!==void 0&&dv(C,this.ngContentSelectors,r),v=ae(C.index,h),h[j]=v[j],Ha(c,h,null)}catch(C){throw v!==null&&qs(v),qs(h),C}finally{R(M.DynamicComponentEnd),po()}return new Bo(this.componentType,h,!!f)}};function cv(e,t,n,r){let o=e?["ng-version","22.0.1"]:Sm(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ta].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ta].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=zr(d);c.push(p)}return ka(0,null,uv(i,s),1,a,c,null,null,null,[o],null)}function lv(e,t){let n=e.getRootNode?.();return nv&&n instanceof Document?n.head:n&&of&&n instanceof ShadowRoot?n:t().head}function uv(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function wu(e){let t=e[ta].kind;return t==="input"||t==="twoWay"}var Bo=class extends Qd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=to(n[g],O),this.location=ln(this._tNode,n),this.instance=ae(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Je(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Va(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=ae(r.index,o);Ba(s,1)}get injector(){return new Ke(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function dv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ri=(()=>{class e{static __NG_ELEMENT_ID__=fv}return e})();function fv(){let e=Z();return af(e,y())}var na=class e extends ri{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ln(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ea(this._hostTNode,this._hostLView);if($u(t)){let n=Ao(t,this._hostLView),r=xo(t),o=n[g].data[r+8];return new Ke(o,n)}else return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Tu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-L}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,on(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new sn(Ge(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=this.parentInjector.get(re,null);N&&(i=N)}let p=Ge(u.componentType??{}),f=jo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,c,on(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Dl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new e(c,c[Q],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Jn(s,o,i,r),t.attachToViewContainerRef(),Yi(Os(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Tu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);r&&(Nn(Os(this._lContainer),n),Xo(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);return r&&Nn(Os(this._lContainer),n)!=null?new Je(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tu(e){return e[xn]}function Os(e){return e[xn]||(e[xn]=[])}function af(e,t){let n,r=t[e.index];return ie(r)?n=r:(n=Ud(r,t,null,e),t[e.index]=n,Pa(t,n)),hv(n,t,e,r),new na(n,e,t)}function pv(e,t){let n=e[k],r=n.createComment(""),o=ye(t,e),i=n.parentNode(o);return Lo(n,i,r,n.nextSibling(o),!1),r}var hv=yv,gv=()=>!1;function mv(e,t,n){return gv(e,t,n)}function yv(e,t,n,r){if(e[Ze])return;let o;n.type&8?o=se(r):o=pv(t,n),e[Ze]=o}var ra=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},oa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)uf(t,n).matches!==null&&this.queries[n].setDirty()}},ia=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Cv(t):this.predicate=t}},sa=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},aa=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,vv(n,i)),this.matchTNodeWithReadOption(t,n,_o(n,t,i,!1,!1))}else r===Bn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_o(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Qn||o===ri||o===Bn&&n.type&4)this.addMatch(n.index,-2);else{let i=_o(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function vv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Iv(e,t){return e.type&11?ln(e,t):e.type&4?$a(e,t):null}function Ev(e,t,n,r){return n===-1?Iv(t,e):n===-2?Dv(e,t,r):Fn(e,e[g],n,t)}function Dv(e,t,n){if(n===Qn)return ln(t,e);if(n===Bn)return $a(t,e);if(n===ri)return af(t,e)}function cf(e,t,n,r){let o=t[Ne].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Ev(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ca(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=cf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=L;d<u.length;d++){let p=u[d];p[Qe]===p[B]&&ca(p[g],p,l,r)}if(u[It]!==null){let d=u[It];for(let p=0;p<d.length;p++){let f=d[p];ca(f[g],f,l,r)}}}}}return r}function lf(e,t){return e[Ne].queries[t].queryList}function wv(e,t,n){let r=new Oo((n&4)===4);return Cl(e,t,r,r.destroy),(t[Ne]??=new oa).queries.push(new ra(r))-1}function Tv(e,t,n){let r=F();return r.firstCreatePass&&(bv(r,new ia(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),wv(r,y(),t)}function Cv(e){return e.split(",").map(t=>t.trim())}function bv(e,t,n){e.queries===null&&(e.queries=new sa),e.queries.track(new aa(t,n))}function uf(e,t){return e.queries.getByIndex(t)}function _v(e,t){let n=e[g],r=uf(n,t);return r.crossesNgTemplate?ca(n,e,t,[]):cf(n,e,r,t)}function df(e,t,n){let r,o=dn(()=>{r._dirtyCounter();let i=Nv(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[W],r._dirtyCounter=yo(0),r._flatValue=void 0,o}function ff(e){return df(!0,!1,e)}function pf(e){return df(!0,!0,e)}function Mv(e,t){let n=e[W];n._lView=y(),n._queryIndex=t,n._queryList=lf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Nv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:z;let o=lf(n,r),i=_v(n,r);return o.reset(i,Ag),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function qa(e){return!!e&&typeof e.then=="function"}function hf(e){return!!e&&typeof e.subscribe=="function"}var an=class{},gf=class{};function Sv(e,t){return new Un(e,t??null,[])}var Un=class extends an{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=il(t);this._bootstrapComponents=ym(i.bootstrap),this._r3Injector=bs(t,n,[{provide:an,useValue:this},...r],_n(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},$o=class extends gf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Un(this.moduleType,t,[])}};var Wn=class extends an{injector;instance=null;constructor(t){super();let n=new ft([...t.providers,{provide:an,useValue:this}],t.parent||Gt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function mf(e,t,n=null){return new Wn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var xv=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xi(!1,n.type),o=r.length>0?mf([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=pe({token:e,providedIn:"environment",factory:()=>new e(be(re))})}return e})();function Av(e){return zn(()=>{let t=yf(e),n=U($({},t),{type:e.type,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Da.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(xv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),vf(n);let r=e.dependencies;return n.directiveDefs=Cu(r,Rv),n.pipeDefs=Cu(r,sl),n.id=jv(n),n})}function Rv(e){return Ge(e)||zr(e)}function kv(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ov(e,t){if(e==null)return ze;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ti.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Pv(e){if(e==null)return ze;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Lv(e){return zn(()=>{let t=yf(e);return vf(t),t})}function Fv(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 yf(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||ze,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:Ov(e.inputs,t),outputs:Pv(e.outputs),debugInfo:null}}function vf(e){e.features?.forEach(t=>t(e))}function Cu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function jv(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 i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var If=new x("");var Ga=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(If,{optional:!0})??[];injector=E(fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Xr(this.injector,o);if(qa(i))n.push(i);else if(hf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function Vv(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Hv,n.hostDirectives=r?e.map(la):[e]):r?n.hostDirectives.unshift(...e.map(la)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Hv(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Ef(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&me(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{Bv(s.declaredInputs,i.inputs)}),[t,r,o]}function Ef(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)bu(la(s),t,n,r)}else bu(o,t,n,r)}function bu(e,t,n,r){let o=zr(e.directive);if(Ef(o,t,n,r),n.has(o)){let i=n.get(o);_u(i,e.inputs,"input"),_u(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function _u(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function la(e){return typeof e=="function"?{directive:H(e),inputs:{},outputs:{}}:{directive:H(e.directive),inputs:Mu(e.inputs),outputs:Mu(e.outputs)}}function Mu(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 Bv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function $v(e){return Object.getPrototypeOf(e.prototype).constructor}function Df(e){let t=$v(e.type),n=!0,r=[e];for(;t;){let o;if(me(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ps(e.inputs),s.declaredInputs=Ps(e.declaredInputs),s.outputs=Ps(e.outputs);let a=o.hostBindings;a&&zv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&qv(e,c),l&&Gv(e,l),Uv(e,o),rl(e.outputs,o.outputs),me(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Df&&(n=!1)}}t=Object.getPrototypeOf(t)}Wv(r)}function Uv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Wv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function Ps(e){return e===ze?{}:e===z?[]:e}function qv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Gv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function zv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function wf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=tn(e.mergedAttrs,e.attrs);let u=e.tView=ka(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),wt(e,!1);let c=Zv(n,t,e,r);go()&&Aa(n,t,c,e),nn(c,t);let l=Ud(c,t,c,e);t[r+O]=l,Pa(t,l),mv(l,e,t)}function Qv(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=At(t,d,4,s||null,a||null),so()&&nf(t,e,p,ce(t.consts,l),La),Hu(t,p)):p=t.data[d],wf(p,e,t,n,r,o,i,c),Zt(p)&&ni(t,e,p),l!=null&&Yn(e,p,u),p}function qn(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=At(t,d,4,s||null,a||null),l!=null){let f=ce(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return wf(p,e,t,n,r,o,i,c),l!=null&&Yn(e,p,u),p}function Tf(e,t,n,r,o,i,s,a){let c=y(),l=F(),u=ce(l.consts,i);return Qv(c,l,e,t,n,r,o,u,void 0,s,a),Tf}var Zv=Yv;function Yv(e,t,n,r){return kn(!0),t[k].createComment("")}var Kv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Cf=new x("");var bf=new x("");function _f(){hi(()=>{let e="";throw new b(600,e)})}var Jv=10;var er=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(bt);afterRenderManager=E(Ko);zonelessEnabled=E(Jt);rootEffectScheduler=E(Io);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(Ct);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ue(n=>!n))}constructor(){E(xt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=fe.NULL){return this._injector.get(q).run(()=>{if(R(M.BootstrapComponentStart),!this._injector.get(Ga).done){let N="";throw new b(405,N)}let a=Ge(n),c=this._injector.get(an),l=new sn(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=Xv(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),v=h.location.nativeElement,C=h.injector.get(Cf,null);return C?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),Ln(this.components,h),C?.unregisterApplication(v)}),this._loadComponent(h),R(M.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(M.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Yo.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw R(M.ChangeDetectionEnd),new b(101,!1);let n=m(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,m(n),this.afterTick.next(),R(M.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($n,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Jv;){R(M.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{R(M.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Rn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Vd(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Rn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ln(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(bf,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ln(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function Xv(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Ln(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Mf(e,t,n,r){let o=y(),i=Tt();if(De(o,i,t)){let s=F(),a=ho();py(a,o,e,t,n,r)}return Mf}var ua=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ls(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function eI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){m(r);let l=t.length-1;for(m(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Ls(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],v=Ls(a,f,l,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,l--;continue}let C=n(s,u),N=n(a,f),le=n(s,d);if(Object.is(le,N)){let si=n(l,h);Object.is(si,C)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Uo,i??=Su(e,s,a,n),da(e,o,s,le))e.updateValue(s,d),s++,a++;else if(i.has(le))o.set(C,e.detach(s)),a--;else{let si=e.create(s,t[s]);e.attach(s,si),s++,a++}}for(;s<=l;)Nu(e,o,n,s,t[s]),s++}else if(t!=null){m(r);let l=t[Symbol.iterator]();m(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Ls(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Uo,i??=Su(e,s,a,n);let h=n(s,p);if(da(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let v=n(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)Nu(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function da(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Nu(e,t,n,r,o){if(da(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Su(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Uo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function tI(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return qn(c,l,e,t,n,r,o,u,256,s,a),za}function za(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return qn(c,l,e,t,n,r,o,u,512,s,a),za}function nI(e,t){He("NgControlFlow");let n=y(),r=Tt(),o=n[r]!==X?n[r]:-1,i=o!==-1?Wo(n,O+o):void 0,s=0;if(De(n,r,e)){let a=m(null);try{if(i!==void 0&&qd(i,s),e!==-1){let c=O+e,l=Wo(n,c),u=ga(n[g],c),d=zd(l,u,n),p=Kn(n,u,t,{dehydratedView:d});Jn(l,p,s,on(u,d))}}finally{m(a)}}else if(i!==void 0){let a=Wd(i,s);a!==void 0&&(a[j]=t)}}var fa=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-L}};function rI(e){return e}function oI(e,t){return t}var pa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function iI(e,t,n,r,o,i,s,a,c,l,u,d,p){He("NgControlFlow");let f=y(),h=F(),v=c!==void 0,C=y(),N=a?s.bind(C[K][j]):s,le=new pa(v,N);C[O+e]=le,qn(f,h,e+1,t,n,r,o,ce(h.consts,i),256),v&&qn(f,h,e+2,c,l,u,d,ce(h.consts,p),512)}var ha=class extends ua{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-L}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[gt];this.needsIndexUpdate||=t!==this.length,Jn(this.lContainer,n,t,on(this.templateTNode,r)),aI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cI(this.lContainer,t),lI(this.lContainer,t)}create(t,n){let r=jo(this.lContainer,this.templateTNode.tView.ssrId);return Kn(this.hostLView,this.templateTNode,new fa(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Xo(t[g],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return uI(this.lContainer,t)}};function sI(e){let t=m(null),n=ve();try{let r=y(),o=r[g],i=r[n],s=n+1,a=Wo(r,s);if(i.liveCollection===void 0){let l=ga(o,s);i.liveCollection=new ha(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(eI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Tt(),u=c.length===0;if(De(r,l,u)){let d=n+2,p=Wo(r,d);if(u){let f=ga(o,d),h=zd(p,f,r),v=Kn(r,f,void 0,{dehydratedView:h});Jn(p,v,0,on(f,h))}else o.firstUpdatePass&&Fy(p),qd(p,0)}}}finally{m(t)}}function Wo(e,t){return e[t]}function aI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Me];Fm(i,o),rn.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function cI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function lI(e,t){return Hn(e,t)}function uI(e,t){return Wd(e,t)}function ga(e,t){return to(e,t)}function Nf(e,t,n){let r=y(),o=Tt();if(De(r,o,t)){let i=F(),s=ho();cy(s,r,e,t,r[k],n)}return Nf}function ma(e,t,n,r,o){Va(t,e,n,o?"class":"style",r)}function qo(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?Ua(s,o,2,t,La,so(),n,r):i.data[s];if(Fe(a)){let c=o[ge].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Yd(l),()=>(xu(e,t,o,a,r),qo))}}return xu(e,t,o,a,r),qo}function xu(e,t,n,r,o){if(Fa(r,n,e,t,Af),Zt(r)){let i=n[g];ni(i,n,r),Ta(i,r,n)}o!=null&&Yn(n,r)}function Qa(){let e=F(),t=Z(),n=ja(t);return e.firstCreatePass&&Wa(e,n),gs(n)&&ms(),ps(),n.classesWithoutHost!=null&&mg(n)&&ma(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&yg(n)&&ma(e,n,y(),n.stylesWithoutHost,!1),Qa}function Sf(e,t,n,r){return qo(e,t,n,r),Qa(),Sf}function Za(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?tv(s,i,2,t,n,r):i.data[s];return Fa(a,o,e,t,Af),r!=null&&Yn(o,a),Za}function Ya(){let e=Z(),t=ja(e);return gs(t)&&ms(),ps(),Ya}function xf(e,t,n,r){return Za(e,t,n,r),Ya(),xf}var Af=(e,t,n,r,o)=>(kn(!0),yd(t[k],r,Cs()));function Ka(e,t,n){let r=y(),o=r[g],i=e+O,s=o.firstCreatePass?Ua(i,r,8,"ng-container",La,so(),t,n):o.data[i];if(Fa(s,r,e,"ng-container",dI),Zt(s)){let a=r[g];ni(a,r,s),Ta(a,s,r)}return n!=null&&Yn(r,s),Ka}function Ja(){let e=F(),t=Z(),n=ja(t);return e.firstCreatePass&&Wa(e,n),Ja}function Rf(e,t,n){return Ka(e,t,n),Ja(),Rf}var dI=(e,t,n,r,o)=>(kn(!0),dm(t[k],""));function fI(){return y()}function kf(e,t,n){let r=y(),o=Tt();if(De(r,o,t)){let i=F(),s=ho();kd(s,r,e,t,r[k],n)}return kf}var tr="en-US";var pI=tr;function Of(e){typeof e=="string"&&(pI=e.toLowerCase().replace(/_/g,"-"))}function Pf(e,t,n){let r=y(),o=F(),i=Z();return hI(o,r,r[k],i,e,t,n),Pf}function Lf(e,t,n){let r=y(),o=F(),i=Z();return(i.type&3||n)&&Xd(i,o,r,n,r[k],e,t,No(i,r,t)),Lf}function hI(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=No(r,t,i),Xd(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=No(r,t,i),vu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=No(r,t,i),vu(r,t,d,o,o,c)}}function gI(e=1){return Hl(e)}function mI(e,t){let n=null,r=Tm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?wd(e,i,!0):_m(r,i))return o}return n}function yI(e){let t=y()[K][Q];if(!t.projection){let n=e?e.length:1,r=t.projection=fl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?mI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function vI(e,t=0,n,r,o,i){let s=y(),a=F(),c=r?e+1:null;c!==null&&qn(s,a,c,r,o,i,null,n);let l=At(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),Is();let d=!s[gt]||hs();s[K][Q].projection[l.projection]===null&&c!==null?II(s,a,c):d&&!zo(l)&&Km(a,s,l)}function II(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=jo(i,o.tView.ssrId),a=Kn(e,o,void 0,{dehydratedView:s});Jn(i,a,0,on(o,s))}function Ff(e,t,n,r){return Mv(e,Tv(t,n,r)),Ff}function EI(e=1){uo(Ll()+e)}function DI(e){let t=Es();return no(t,O+e)}function To(e,t){return e<<17|t<<2}function Nt(e){return e>>17&32767}function wI(e){return(e&2)==2}function TI(e,t){return e&131071|t<<17}function ya(e){return e|2}function cn(e){return(e&131068)>>2}function Fs(e,t){return e&-131069|t<<2}function CI(e){return(e&1)===1}function va(e){return e|1}function bI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Nt(s),c=cn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||qt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Nt(e[a+1]);e[r+1]=To(p,a),p!==0&&(e[p+1]=Fs(e[p+1],r)),e[a+1]=TI(e[a+1],r)}else e[r+1]=To(a,0),a!==0&&(e[a+1]=Fs(e[a+1],r)),a=r;else e[r+1]=To(c,0),a===0?a=r:e[c+1]=Fs(e[c+1],r),c=r;l&&(e[r+1]=ya(e[r+1])),Au(e,u,r,!0),Au(e,u,r,!1),_I(t,u,e,r,i),s=To(a,c),i?t.classBindings=s:t.styleBindings=s}function _I(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&qt(i,t)>=0&&(n[r+1]=va(n[r+1]))}function Au(e,t,n,r){let o=e[n+1],i=t===null,s=r?Nt(o):cn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];MI(c,t)&&(a=!0,e[s+1]=r?va(l):ya(l)),s=r?Nt(l):cn(l)}a&&(e[n+1]=r?ya(o):va(o))}function MI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?qt(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function NI(e){return e.substring(Ee.key,Ee.keyEnd)}function SI(e){return xI(e),jf(e,Vf(e,0,Ee.textEnd))}function jf(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=AI(e,Ee.key=t,n),Vf(e,t,n))}function xI(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Vf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function AI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Hf(e,t,n){return $f(e,t,n,!1),Hf}function Bf(e,t){return $f(e,t,null,!0),Bf}function RI(e){OI(HI,kI,e,!0)}function kI(e,t){for(let n=SI(t);n>=0;n=jf(t,n))Kr(e,NI(t),!0)}function $f(e,t,n,r){let o=y(),i=F(),s=co(2);if(i.firstUpdatePass&&Wf(i,e,s,r),t!==X&&De(o,s,t)){let a=i.data[ve()];qf(i,a,o,o[k],e,o[s+1]=$I(t,n),r,s)}}function OI(e,t,n,r){let o=F(),i=co(2);o.firstUpdatePass&&Wf(o,null,i,r);let s=y();if(n!==X&&De(s,i,n)){let a=o.data[ve()];if(Gf(a,r)&&!Uf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Wr(c,n||"")),ma(o,a,s,n,r)}else BI(o,a,s,s[k],s[i+1],s[i+1]=VI(e,t,n),r,i)}}function Uf(e,t){return t>=e.expandoStartIndex}function Wf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=Uf(e,n);Gf(i,r)&&t===null&&!s&&(t=!1),t=PI(o,i,t,r),bI(o,i,t,n,s,r)}}function PI(e,t,n,r){let o=Pl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=js(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=js(o,e,t,n,r),i===null){let c=LI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=js(null,e,t,c[1],r),c=Gn(c,t.attrs,r),FI(e,t,r,c))}else i=jI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function LI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(cn(r)!==0)return e[Nt(r)]}function FI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Nt(o)]=r}function jI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function js(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Kr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function VI(e,t,n){if(n==null||n==="")return z;let r=[],o=Zo(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function HI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Kr(e,r,n)}function BI(e,t,n,r,o,i,s,a){o===X&&(o=z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,v;u===d?(c+=2,l+=2,p!==f&&(h=d,v=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,v=f),h!==null&&qf(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function qf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=CI(l)?Ru(c,t,n,o,cn(l),s):void 0;if(!Go(u)){Go(i)||wI(l)&&(i=Ru(c,null,n,o,a,s));let d=cs(ve(),n);Xm(r,s,d,o,i)}}function Ru(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===X&&(p=d?z:void 0);let f=d?Jr(p,r):u===r?p:void 0;if(l&&!Go(f)&&(f=Jr(c,r)),Go(f)&&(a=f,s))return a;let h=e[o+1];o=s?Nt(h):cn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Jr(c,r))}return a}function Go(e){return e!==void 0}function $I(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=_n(Zo(e)))),e}function Gf(e,t){return(e.flags&(t?8:16))!==0}function UI(e,t=""){let n=y(),r=F(),o=e+O,i=r.firstCreatePass?At(r,o,1,t,null):r.data[o],s=WI(r,n,i,t);n[o]=s,go()&&Aa(r,n,s,i),wt(i,!1)}var WI=(e,t,n,r)=>(kn(!0),lm(t[k],r));function zf(e,t,n,r=""){return De(e,Tt(),n)?t+Ut(n)+r:X}function Qf(e,t,n,r,o,i=""){let s=xl(),a=Jd(e,s,n,o);return co(2),a?t+Ut(n)+r+Ut(o)+i:X}function Zf(e){return Xa("",e),Zf}function Xa(e,t,n){let r=y(),o=zf(r,e,t,n);return o!==X&&Kf(r,ve(),o),Xa}function Yf(e,t,n,r,o){let i=y(),s=Qf(i,e,t,n,r,o);return s!==X&&Kf(i,ve(),s),Yf}function Kf(e,t,n){let r=cs(t,e);um(e[k],r,n)}var Jf={};function Xf(e){He("NgLet");let t=F(),n=y(),r=e+O,o=At(t,r,128,null,null);return wt(o,!1),An(t,n,r,Jf),Xf}function qI(e){let t=F(),n=y(),r=ve();return An(t,n,r,e),e}function GI(e){let t=Es(),n=no(t,O+e);if(n===Jf)throw new b(314,!1);return n}function zI(e,t,n=""){return zf(y(),e,t,n)}function QI(e,t,n,r,o=""){return Qf(y(),e,t,n,r,o)}function ku(e,t,n){let r=F();r.firstCreatePass&&ep(t,r.data,r.blueprint,me(e),n)}function ep(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)ep(e[i],t,n,r,o);else{let i=F(),s=y(),a=Z(),c=dt(e)?e:H(e.provide),l=ns(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(dt(e)||!e.multi){let f=new _t(l,o,Xn,null),h=Hs(c,t,o?u:u+p,d);h===-1?(Us(ko(a,s),i,c),Vs(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Hs(c,t,u+p,d),h=Hs(c,t,u,u+p),v=f>=0&&n[f],C=h>=0&&n[h];if(o&&!C||!o&&!v){Us(ko(a,s),i,c);let N=KI(o?YI:ZI,n.length,o,r,l,e);!o&&C&&(n[h].providerFactory=N),Vs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=tp(n[o?h:f],l,!o&&r);Vs(i,e,f>-1?f:h,N)}!o&&r&&C&&n[h].componentProviders++}}}function Vs(e,t,n,r){let o=dt(t),i=yl(t);if(o||i){let c=(i?H(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function tp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ZI(e,t,n,r,o){return Ia(this.multi,[])}function YI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Fn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),Ia(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Ia(i,s);return s}function Ia(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KI(e,t,n,r,o,i){let s=new _t(e,n,Xn,null);return s.multi=[],s.index=t,s.componentProviders=0,tp(s,o,r&&!n),s}function JI(e,t){return n=>{n.providersResolver=(r,o)=>ku(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>ku(r,o?o(t):t,!0))}}function XI(e,t,n){return rp(y(),ao(),e,t,n)}function eE(e,t,n,r){return tE(y(),ao(),e,t,n,r)}function np(e,t){let n=e[t];return n===X?void 0:n}function rp(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?Kd(e,s+1,i?r.call(i,o):r(o)):np(e,s+1)}function tE(e,t,n,r,o,i,s){let a=t+n;return Jd(e,a,o,i)?Kd(e,a+2,s?r.call(s,o,i):r(o,i)):np(e,a+2)}function nE(e,t){let n=F(),r,o=e+O;n.firstCreatePass?(r=rE(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=We(r.type,!0)),s,a=Y(Xn);try{let c=Ro(!1),l=i();return Ro(c),An(n,y(),o,l),l}finally{Y(a)}}function rE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function oE(e,t,n){let r=e+O,o=y(),i=no(o,r);return iE(o,r)?rp(o,ao(),t,i.transform,n,i):i.transform(n)}function iE(e,t){return e[g].data[t].pure}var op=(()=>{class e{applicationErrorHandler=E(bt);appRef=E(er);taskService=E(Ct);ngZone=E(q);zonelessEnabled=E(Jt);tracing=E(xt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(vo,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){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 r=this.useMicrotaskScheduler?ql:Ms;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Tn+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function ip(){return[{provide:_e,useExisting:op},{provide:q,useClass:Cn},{provide:Jt,useValue:!0}]}var sE=(()=>{class e{compileModuleSync(n){return new $o(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function aE(){return typeof $localize<"u"&&$localize.locale||tr}var ec=new x("",{factory:()=>E(ec,{optional:!0,skipSelf:!0})||aE()});var oi=class{destroyed=!1;listeners=null;errorHandler=E(Pe,{optional:!0});destroyRef=E(je);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(bn(953,!1));return}if(this.listeners===null)return;let n=m(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{m(n)}}};function cE(e,t){return dn(e,t?.equal)}function lE(e){return hc(e)}var cp=Symbol("InputSignalNode#UNSET"),uE=U($({},fn),{transformFn:void 0,applyValueToInputSignal(e,t){Ot(e,t)}});function lp(e,t){let n=Object.create(uE);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===cp){let o=null;throw new b(-950,o)}return n.value}return r[W]=n,r}function gP(e){return dE(e)?e.default:e}function dE(e){return e&&typeof e=="object"&&"default"in e}function mP(e){return new oi}function sp(e,t){return lp(e,t)}function fE(e){return lp(cp,e)}var yP=(sp.required=fE,sp);function ap(e,t){return ff(t)}function pE(e,t){return pf(t)}var vP=(ap.required=pE,ap);var hE=1e4;var IP=hE-1e3;var EP=(()=>{class e{static __NG_ELEMENT_ID__=gE}return e})();function gE(e){return mE(Z(),y(),(e&16)===16)}function mE(e,t,n){if(Fe(e)&&!n){let r=ae(e.index,t);return new Je(r,r)}else if(e.type&175){let r=t[K];return new Je(r,t)}return null}var yE=(()=>{class e{zone=E(q);changeDetectionScheduler=E(_e);applicationRef=E(er);applicationErrorHandler=E(bt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})(),vE=new x("",{factory:()=>!1});function IE({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new q(U($({},up()),{scheduleInRootZone:t})),[{provide:Jt,useValue:!1},{provide:q,useFactory:e},{provide:ht,multi:!0,useFactory:()=>{let n=E(yE,{optional:!0});return()=>n.initialize()}},{provide:ht,multi:!0,useFactory:()=>{let n=E(EE);return()=>{n.initialize()}}},{provide:vo,useValue:t??_s}]}function DP(e){let t=e?.scheduleInRootZone,n=IE({ngZoneFactory:()=>{let r=up(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new q(r)},scheduleInRootZone:t});return Ji([{provide:vE,useValue:!0},n])}function up(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var EE=(()=>{class e{subscription=new V;initialized=!1;zone=E(q);pendingTasks=E(Ct);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();var nc=new x(""),DE=new x("");function nr(e){return!e.moduleRef}function wE(e){let t=nr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{nr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(bt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),nr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(nc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(nc);s.add(i),e.moduleRef.onDestroy(()=>{Ln(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return CE(r,n,()=>{let i=t.get(Ct),s=i.add(),a=t.get(Ga);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ec,tr);if(Of(c||tr),!t.get(DE,!0))return nr(e)?t.get(er):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(nr(e)){let u=t.get(er);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return TE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var TE;function CE(e,t,n){try{let r=n();return qa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ii=null;function bE(e=[],t){return fe.create({name:t,providers:[{provide:ts,useValue:"platform"},{provide:nc,useValue:new Set([()=>ii=null])},...e]})}function _E(e=[]){if(ii)return ii;let t=bE(e);return ii=t,_f(),ME(t),t}function ME(e){let t=e.get(Zl,null);Xr(e,()=>{t?.forEach(n=>n())})}function wP(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(M.BootstrapApplicationStart);try{let i=o?.injector??_E(r),s=[ip(),zl,...n||[]],a=new Wn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return wE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(M.BootstrapApplicationEnd)}}var tc=Symbol("NOT_SET"),dp=new Set,NE=U($({},fn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:tc,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)return this.signal;if(this.dirty=!1,this.value!==tc&&!Rt(this))return this.signal;try{for(let o of this.cleanup??dp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Be(this),r;try{r=this.userFn.apply(null,t)}finally{tt(this,n)}return(this.value===tc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),rc=class extends jn{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(je),s),this.scheduler=o;for(let a of Ma){let c=n[a];if(c===void 0)continue;let l=Object.create(NE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(et(l),l.value),l.signal[W]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??dp)n()}finally{$e(t)}}};function TP(e,t){let n=t?.injector??E(fe),r=n.get(_e),o=n.get(Ko),i=n.get(xt,null,{optional:!0});o.impl??=n.get(Na);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Kt,null,{optional:!0}),c=new rc(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function CP(e,t){let n=Ge(e),r=t.elementInjector||Gt();return new sn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{$ as a,U as b,vp as c,SE as d,xE as e,li as f,V as g,xp as h,S as i,te as j,hn as k,mn as l,it as m,Ce as n,Bp as o,$p as p,Up as q,at as r,Wp as s,Ue as t,Jp as u,ct as v,Pr as w,eh as x,Ni as y,th as z,nh as A,In as B,Uc as C,rh as D,oh as E,Lr as F,ih as G,ch as H,lh as I,uh as J,zc as K,Zc as L,dh as M,Yc as N,Kc as O,fh as P,Jc as Q,b as R,bn as S,pe as T,ol as U,gh as V,x as W,be as X,E as Y,Ji as Z,ts as _,re as $,Xr as aa,Ml as ba,Nl as ca,Bl as da,$l as ea,fe as fa,mo as ga,je as ha,Ct as ia,Re as ja,q as ka,Pe as la,bt as ma,yo as na,Ql as oa,Zl as pa,qh as qa,Gh as ra,zh as sa,_e as ta,Yl as ua,ug as va,Ng as wa,St as xa,Qn as ya,Lg as za,Mt as Aa,hm as Ba,mm as Ca,Fo as Da,rn as Ea,xt as Fa,He as Ga,km as Ha,ry as Ia,$n as Ja,By as Ka,tf as La,Xn as Ma,qy as Na,ri as Oa,qa as Pa,hf as Qa,an as Ra,gf as Sa,Sv as Ta,mf as Ua,Av as Va,kv as Wa,Lv as Xa,Fv as Ya,Vv as Za,Df as _a,Tf as $a,Kv as ab,bf as bb,er as cb,Mf as db,tI as eb,nI as fb,rI as gb,oI as hb,iI as ib,sI as jb,Nf as kb,qo as lb,Qa as mb,Sf as nb,Za as ob,Ya as pb,xf as qb,Rf as rb,fI as sb,kf as tb,Pf as ub,Lf as vb,gI as wb,yI as xb,vI as yb,Ff as zb,EI as Ab,DI as Bb,Hf as Cb,Bf as Db,RI as Eb,UI as Fb,Zf as Gb,Xa as Hb,Yf as Ib,Xf as Jb,qI as Kb,GI as Lb,zI as Mb,QI as Nb,JI as Ob,XI as Pb,eE as Qb,nE as Rb,oE as Sb,sE as Tb,cE as Ub,lE as Vb,gP as Wb,mP as Xb,yP as Yb,vP as Zb,EP as _b,DP as $b,wP as ac,TP as bc,CP as cc};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function nt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(D(r))try{r()}catch(i){t=i instanceof pr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gc(i)}catch(s){t=t??[],s instanceof pr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&nt(n,t)}remove(t){let{_finalizers:n}=this;n&&nt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Ei=V.EMPTY;function hr(e){return e instanceof V||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function gc(e){D(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gr(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function hn(){}var mc=Di("C",void 0,void 0);function yc(e){return Di("E",void 0,e)}function vc(e){return Di("N",e,void 0)}function Di(e,t,n){return{kind:e,value:t,error:n}}var rt=null;function jt(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rt;if(rt=null,n)throw r}}else e()}function Ic(e){ue.useDeprecatedSynchronousErrorHandling&&rt&&(rt.errorThrown=!0,rt.error=e)}var ot=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hr(t)&&t.add(this)):this.destination=xp}static create(t,n,r){return new de(t,n,r)}next(t){this.isStopped?Ti(vc(t),this):this._next(t)}error(t){this.isStopped?Ti(yc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ti(mc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Np=Function.prototype.bind;function wi(e,t){return Np.call(e,t)}var Ci=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mr(r)}else mr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mr(n)}}},de=class extends ot{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&wi(t.next,i),error:t.error&&wi(t.error,i),complete:t.complete&&wi(t.complete,i)}):o=t}this.destination=new Ci(o)}};function mr(e){ue.useDeprecatedSynchronousErrorHandling?Ic(e):gr(e)}function Sp(e){throw e}function Ti(e,t){let{onStoppedNotification:n}=ue;n&&Ft.setTimeout(()=>n(e,t))}var xp={closed:!0,next:hn,error:Sp,complete:hn};var Vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function Ap(...e){return bi(e)}function bi(e){return e.length===0?ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=kp(n)?n:new de(n,r,o);return jt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ec(r),new r((o,i)=>{let s=new de({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Vt](){return this}pipe(...n){return bi(n)(this)}toPromise(n){return n=Ec(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ec(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function Rp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function kp(e){return e&&e instanceof ot||Rp(e)&&hr(e)}function Op(e){return D(e?.lift)}function T(e){return t=>{if(Op(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(e,t,n,r,o){return new _i(e,t,n,r,o)}var _i=class extends ot{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Dc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Dc}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ei:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,nt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new yr(t,n),e})(),yr=class extends te{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Ei}};var gn=class extends te{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var mn={now(){return(mn.delegate||Date).now()},delegate:void 0};var yn=class extends te{constructor(t=1/0,n=1/0,r=mn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var vr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var vn={setInterval(e,t,...n){let{delegate:r}=vn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=vn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ir=class extends vr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return vn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&vn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,nt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ht=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ht.now=mn.now;var Er=class extends Ht{constructor(t,n=Ht.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var In=new Er(Ir),wc=In;var it=new S(e=>e.complete());function Dr(e){return e&&D(e.schedule)}function Mi(e){return e[e.length-1]}function Tc(e){return D(Mi(e))?e.pop():void 0}function Te(e){return Dr(Mi(e))?e.pop():void 0}function Cc(e,t){return typeof Mi(e)=="number"?e.pop():t}function _c(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function bc(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 new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function st(e){return this instanceof st?(this.v=e,this):new st(e)}function Mc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(v){return new Promise(function(C,N){i.push([f,v,C,N])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(v){p(i[0][3],v)}}function l(f){f.value instanceof st?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Nc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof bc=="function"?bc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var wr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Tr(e){return D(e?.then)}function Cr(e){return D(e[Vt])}function br(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function _r(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Pp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mr=Pp();function Nr(e){return D(e?.[Mr])}function Sr(e){return Mc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function xr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(Cr(e))return Lp(e);if(wr(e))return Fp(e);if(Tr(e))return jp(e);if(br(e))return Sc(e);if(Nr(e))return Vp(e);if(xr(e))return Hp(e)}throw _r(e)}function Lp(e){return new S(t=>{let n=e[Vt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function jp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gr)})}function Vp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Sc(e){return new S(t=>{Bp(e,t).catch(n=>t.error(n))})}function Hp(e){return Sc(Sr(e))}function Bp(e,t){var n,r,o,i;return _c(this,void 0,void 0,function*(){try{for(n=Nc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function J(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ar(e,t=0){return T((n,r)=>{n.subscribe(_(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function Rr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xc(e,t){return P(e).pipe(Rr(t),Ar(t))}function Ac(e,t){return P(e).pipe(Rr(t),Ar(t))}function Rc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function kc(e,t){return new S(n=>{let r;return J(n,t,()=>{r=e[Mr](),J(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function kr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{J(n,t,()=>{let r=e[Symbol.asyncIterator]();J(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Oc(e,t){return kr(Sr(e),t)}function Pc(e,t){if(e!=null){if(Cr(e))return xc(e,t);if(wr(e))return Rc(e,t);if(Tr(e))return Ac(e,t);if(br(e))return kr(e,t);if(Nr(e))return kc(e,t);if(xr(e))return Oc(e,t)}throw _r(e)}function Ce(e,t){return t?Pc(e,t):P(e)}function $p(...e){let t=Te(e);return Ce(e,t)}function Up(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Wp(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var at=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function qp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new de({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new at)}});e.subscribe(i)})}function Lc(e){return e instanceof Date&&!isNaN(e)}function Ue(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Gp}=Array;function zp(e,t){return Gp(t)?e(...t):e(t)}function Fc(e){return Ue(t=>zp(e,t))}var{isArray:Qp}=Array,{getPrototypeOf:Zp,prototype:Yp,keys:Kp}=Object;function jc(e){if(e.length===1){let t=e[0];if(Qp(t))return{args:t,keys:null};if(Jp(t)){let n=Kp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Jp(e){return e&&typeof e=="object"&&Zp(e)===Yp}function Vc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Xp(...e){let t=Te(e),n=Tc(e),{args:r,keys:o}=jc(e);if(r.length===0)return Ce([],t);let i=new S(eh(r,t,o?s=>Vc(o,s):ee));return n?i.pipe(Fc(n)):i}function eh(e,t,n=ee){return r=>{Hc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Hc(t,()=>{let l=Ce(e[c],t),u=!1;l.subscribe(_(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Hc(e,t,n){e?J(n,e,t):t()}function Bc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=v=>l<r?h(v):c.push(v),h=v=>{i&&t.next(v),l++;let C=!1;P(n(v,u++)).subscribe(_(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{C=!0},void 0,()=>{if(C)try{for(l--;c.length&&l<r;){let N=c.shift();s?J(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ct(e,t,n=1/0){return D(t)?ct((r,o)=>Ue((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>Bc(r,o,e,n)))}function Or(e=1/0){return ct(ee,e)}function $c(){return Or(1)}function Pr(...e){return $c()(Ce(e,Te(e)))}function th(e){return new S(t=>{P(e()).subscribe(t)})}function Ni(e=0,t,n=wc){let r=-1;return t!=null&&(Dr(t)?n=t:r=t),new S(o=>{let i=Lc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function nh(e=0,t=In){return e<0&&(e=0),Ni(e,e,t)}function rh(...e){let t=Te(e),n=Cc(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Or(n)(Ce(r,t)):it}function Bt(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Uc(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=P(e(s,Uc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Wc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(_(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function oh(e,t){return D(t)?ct(e,t,1):ct(e,1)}function ih(e,t=In){return T((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(_(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function qc(e){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Lr(e){return e<=0?()=>it:T((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Gc(e,t=ee){return e=e??sh,T((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function sh(e,t){return e===t}function zc(e=ah){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ah(){return new at}function ch(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function lh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Bt((o,i)=>e(o,i,r)):ee,Lr(1),n?qc(t):zc(()=>new at))}function uh(e){return e<=0?()=>it:T((t,n)=>{let r=[];t.subscribe(_(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Qc(e,t){return T(Wc(e,t,arguments.length>=2,!0))}function Zc(e={}){let{connector:t=()=>new te,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return T((v,C)=>{l++,!d&&!u&&p();let N=c=c??t();C.add(()=>{l--,l===0&&!d&&!u&&(a=Si(h,o))}),N.subscribe(C),!s&&l>0&&(s=new de({next:le=>N.next(le),error:le=>{d=!0,p(),a=Si(f,n,le),N.error(le)},complete:()=>{u=!0,p(),a=Si(f,r),N.complete()}}),P(v).subscribe(s))})(i)}}function Si(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new de({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Yc(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Zc({connector:()=>new yn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function dh(e){return Bt((t,n)=>e<=n)}function Kc(...e){let t=Te(e);return T((n,r)=>{(t?Pr(e,n,t):Pr(e,n)).subscribe(r)})}function Jc(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function fh(e){return T((t,n)=>{P(e).subscribe(_(n,()=>n.complete(),hn)),!n.closed&&t.subscribe(n)})}function Xc(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ee}var Ur="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(bn(t,n)),this.code=t}};function ph(e){return`NG0${Math.abs(e)}`}function bn(e,t){return`${ph(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function ol(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _n(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(_n).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 Wr(e,t){return e?t?`${e} ${t}`:e:t||""}var hh=A({__forward_ref__:A});function qr(e){return e.__forward_ref__=qr,e}function H(e){return $i(e)?e():e}function $i(e){return typeof e=="function"&&e.hasOwnProperty(hh)&&e.__forward_ref__===qr}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function il(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return mh(e,Gr)}function gh(e){return Mn(e)!==null}function mh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function yh(e){let t=e?.[Gr]??null;return t||null}function Ai(e){return e&&e.hasOwnProperty(jr)?e[jr]:null}var Gr=A({\u0275prov:A}),jr=A({\u0275inj:A}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=pe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ui(e){return e&&!!e.\u0275providers}var Wi=A({\u0275cmp:A}),qi=A({\u0275dir:A}),Gi=A({\u0275pipe:A}),zi=A({\u0275mod:A}),Dn=A({\u0275fac:A}),pt=A({__NG_ELEMENT_ID__:A}),el=A({__NG_ENV_ID__:A});function sl(e){return Qr(e,"@NgModule"),e[zi]||null}function Ge(e){return Qr(e,"@Component"),e[Wi]||null}function zr(e){return Qr(e,"@Directive"),e[qi]||null}function al(e){return Qr(e,"@Pipe"),e[Gi]||null}function Qr(e,t){if(e==null)throw new b(-919,!1)}function Wt(e){return typeof e=="string"?e:e==null?"":String(e)}var cl=A({ngErrorCode:A}),vh=A({ngErrorMessage:A}),Ih=A({ngTokenPath:A});function Qi(e,t){return ll("",-200,t)}function Zr(e,t){throw new b(-201,!1)}function ll(e,t,n){let r=new b(t,e);return r[cl]=t,r[vh]=e,n&&(r[Ih]=n),r}function Eh(e){return e[cl]}var Ri;function ul(){return Ri}function Y(e){let t=Ri;return Ri=e,t}function Zi(e,t,n){let r=Mn(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;Zr(e,"")}var qt=globalThis;var Dh={},lt=Dh,wh="__NG_DI_FLAG__",ki=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ut(n)||0;try{return this.injector.get(t,r&8?null:lt,r)}catch(o){if(Pt(o))return o;throw o}}};function Th(e,t=0){let n=fr();if(n===void 0)throw new b(-203,!1);if(n===null)return Zi(e,void 0,t);{let r=Ch(t),o=n.retrieve(e,r);if(Pt(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(ul()||Th)(H(e),t)}function E(e,t){return be(e,ut(t))}function ut(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ch(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Oi(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=bh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(be(o,i))}else t.push(be(r))}return t}function bh(e){return e[wh]}function We(e,t){let n=e.hasOwnProperty(Dn);return n?e[Dn]:null}function dl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function fl(e){return e.flat(Number.POSITIVE_INFINITY)}function Yr(e,t){e.forEach(n=>Array.isArray(n)?Yr(n,t):t(n))}function Yi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Nn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function hl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Kr(e,t,n){let r=Gt(e,t);return r>=0?e[r|1]=n:(r=~r,hl(e,r,t,n)),r}function Jr(e,t){let n=Gt(e,t);if(n>=0)return e[n|1]}function Gt(e,t){return _h(e,t,1)}function _h(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ze={},z=[],ht=new x(""),Sn=new x("",-1),Ki=new x(""),Ut=class{get(t,n=lt){if(n===lt){let o=ll("",-201);throw o.name="\u0275NotFound",o}return n}};function Ji(e){return{\u0275providers:e}}function gl(...e){return{\u0275providers:Xi(!0,e),\u0275fromNgModule:!0}}function Xi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Yr(t,s=>{let a=s;Vr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ml(o,i),n}function ml(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];es(o,i=>{t(i,r)})}}function Vr(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=Ai(e),s=!i&&Ge(e);if(!i&&!s){let c=e.ngModule;if(i=Ai(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Vr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Yr(i.imports,u=>{Vr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&ml(l,t)}if(!a){let l=We(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:Ki,useValue:o,multi:!0},o),t({provide:ht,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;es(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function es(e,t){for(let n of e)Ui(n)&&(n=n.\u0275providers),Array.isArray(n)?es(n,t):t(n)}var Mh=A({provide:String,useValue:A});function yl(e){return e!==null&&typeof e=="object"&&Mh in e}function Nh(e){return!!(e&&e.useExisting)}function Sh(e){return!!(e&&e.useFactory)}function dt(e){return typeof e=="function"}function vl(e){return!!e.useClass}var ts=new x(""),Fr={},tl={},xi;function zt(){return xi===void 0&&(xi=new Ut),xi}var re=class{},ft=class extends re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Li(t,s=>this.processProvider(s)),this.records.set(Sn,$t(void 0,this)),o.has("environment")&&this.records.set(re,$t(void 0,this));let i=this.records.get(ts);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ki,z,{self:!0}))}retrieve(t,n){let r=ut(n)||0;try{return this.get(t,lt,r)}catch(o){if(Pt(o))return o;throw o}}destroy(){En(this),this._destroyed=!0;let t=m(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),m(t)}}onDestroy(t){return En(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){En(this);let n=we(this),r=Y(void 0),o;try{return t()}finally{we(n),Y(r)}}get(t,n=lt,r){if(En(this),t.hasOwnProperty(el))return t[el](this);let o=ut(r),i,s=we(this),a=Y(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Oh(t)&&Mn(t);u&&this.injectableDefInScope(u)?l=$t(Pi(t),Fr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?zt():this.parent;return n=o&8&&n===lt?null:n,c.get(t,n)}catch(c){let l=Eh(c);throw l===-200||l===-201?new b(l,null):c}finally{Y(a),we(s)}}resolveInjectorInitializers(){let t=m(null),n=we(this),r=Y(void 0),o;try{let i=this.get(ht,z,{self:!0});for(let s of i)s()}finally{we(n),Y(r),m(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=H(t);let n=dt(t)?t:H(t&&t.provide),r=Ah(t);if(!dt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=$t(void 0,Fr,!0),o.factory=()=>Oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=m(null);try{if(n.value===tl)throw Qi("");return n.value===Fr&&(n.value=tl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&kh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Pi(e){let t=Mn(e),n=t!==null?t.factory:We(e);if(n!==null)return n;if(e instanceof x)throw new b(-204,!1);if(e instanceof Function)return xh(e);throw new b(-204,!1)}function xh(e){if(e.length>0)throw new b(-204,!1);let n=yh(e);return n!==null?()=>n.factory(e):()=>new e}function Ah(e){if(yl(e))return $t(void 0,e.useValue);{let t=ns(e);return $t(t,Fr)}}function ns(e,t,n){let r;if(dt(e)){let o=H(e);return We(o)||Pi(o)}else if(yl(e))r=()=>H(e.useValue);else if(Sh(e))r=()=>e.useFactory(...Oi(e.deps||[]));else if(Nh(e))r=(o,i)=>be(H(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=H(e&&(e.useClass||e.provide));if(Rh(e))r=()=>new o(...Oi(e.deps));else return We(o)||Pi(o)}return r}function En(e){if(e.destroyed)throw new b(-205,!1)}function $t(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rh(e){return!!e.deps}function kh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Oh(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Li(e,t){for(let n of e)Array.isArray(n)?Li(n,t):n&&Ui(n)?Li(n.\u0275providers,t):t(n)}function Xr(e,t){let n;e instanceof ft?(En(e),n=e):n=new ki(e);let r,o=we(n),i=Y(void 0);try{return t()}finally{we(o),Y(i)}}function Il(){return ul()!==void 0||fr()!=null}var he=0,g=1,I=2,B=3,oe=4,Q=5,gt=6,Qt=7,j=8,Me=9,ge=10,k=11,Zt=12,rs=13,mt=14,K=15,Qe=16,yt=17,Ne=18,Se=19,os=20,ke=21,eo=22,qe=23,ne=24,vt=25,xe=26,O=27,El=1,is=6,Ze=7,xn=8,It=9,L=10;function Le(e){return Array.isArray(e)&&typeof e[El]=="object"}function ie(e){return Array.isArray(e)&&e[El]===!0}function ss(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Yt(e){return(e.flags&1)===1}function me(e){return!!e.template}function Kt(e){return(e[I]&512)!==0}function Et(e){return(e[I]&256)===256}var as="svg",Dl="math";function se(e){for(;Array.isArray(e);)e=e[he];return e}function cs(e,t){return se(t[e])}function ye(e,t){return se(t[e.index])}function to(e,t){return e.data[t]}function no(e,t){return e[t]}function An(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ae(e,t){let n=t[e];return Le(n)?n:n[he]}function ro(e){return(e[I]&128)===128}function wl(e){return ie(e[B])}function ce(e,t){return t==null?null:e[t]}function ls(e){e[yt]=0}function us(e){e[I]&1024||(e[I]|=1024,ro(e)&&Dt(e))}function Tl(e,t){for(;e>0;)t=t[mt],e--;return t}function Rn(e){return!!(e[I]&9216||e[ne]?.dirty)}function oo(e){e[ge].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Rn(e)&&Dt(e)}function Dt(e){e[ge].changeDetectionScheduler?.notify(0);let t=Oe(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!ro(t)));)t=Oe(t)}function io(e,t){if(Et(e))throw new b(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function Cl(e,t){if(e[ke]===null)return;let n=e[ke].indexOf(t);n!==-1&&e[ke].splice(n,1)}function Oe(e){let t=e[B];return ie(t)?t[B]:t}function ds(e){return e[Qt]??=[]}function fs(e){return e.cleanup??=[]}function bl(e,t,n,r){let o=ds(t);o.push(n),e.firstCreatePass&&fs(e).push(r,o.length-1)}var w={lFrame:Vl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fi=!1;function _l(){return w.lFrame.elementDepthCount}function Ml(){w.lFrame.elementDepthCount++}function ps(){w.lFrame.elementDepthCount--}function so(){return w.bindingsEnabled}function hs(){return w.skipHydrationRootTNode!==null}function gs(e){return w.skipHydrationRootTNode===e}function ms(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function F(){return w.lFrame.tView}function Nl(e){return w.lFrame.contextLView=e,e[j]}function Sl(e){return w.lFrame.contextLView=null,e}function Z(){let e=ys();for(;e!==null&&e.type===64;)e=e.parent;return e}function ys(){return w.lFrame.currentTNode}function xl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function wt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function vs(){return w.lFrame.isParent}function Is(){w.lFrame.isParent=!1}function Es(){return w.lFrame.contextLView}function Ds(){return Fi}function wn(e){let t=Fi;return Fi=e,t}function ao(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Al(){return w.lFrame.bindingIndex}function Rl(e){return w.lFrame.bindingIndex=e}function Tt(){return w.lFrame.bindingIndex++}function co(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kl(){return w.lFrame.inI18n}function Ol(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function Pl(){return w.lFrame.currentDirectiveIndex}function lo(e){w.lFrame.currentDirectiveIndex=e}function Ll(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Fl(){return w.lFrame.currentQueryIndex}function uo(e){w.lFrame.currentQueryIndex=e}function Ph(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Q]:null}function ws(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Ph(i),o===null||(i=i[mt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=jl();return r.currentTNode=t,r.lView=e,!0}function fo(e){let t=jl(),n=e[g];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Vl(e):t}function Vl(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 Hl(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ts=Hl;function po(){let e=Hl();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 Bl(e){return(w.lFrame.contextLView=Tl(e,w.lFrame.contextLView))[j]}function ve(){return w.lFrame.selectedIndex}function Ye(e){w.lFrame.selectedIndex=e}function ho(){let e=w.lFrame;return to(e.tView,e.selectedIndex)}function $l(){w.lFrame.currentNamespace=as}function Ul(){Lh()}function Lh(){w.lFrame.currentNamespace=null}function Cs(){return w.lFrame.currentNamespace}var Wl=!0;function go(){return Wl}function kn(e){Wl=e}function ji(e,t=null,n=null,r){let o=bs(e,t,n,r);return o.resolveInjectorInitializers(),o}function bs(e,t=null,n=null,r,o=new Set){let i=[n||z,gl(e)],s;return new ft(i,t||zt(),s||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=lt;static NULL=new Ut;static create(t,n){if(Array.isArray(t))return ji({name:""},n,t,"");{let r=t.name??"";return ji({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:e,providedIn:"any",factory:()=>be(Sn)});static __NG_ELEMENT_ID__=-1},mo=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=Fh;static __NG_ENV_ID__=n=>n}return e})(),Hr=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Et(this._lView)}onDestroy(t){let n=this._lView;return io(n,t),()=>Cl(n,t)}};function Fh(){return new Hr(y())}var _s=!1,ql=new x(""),Ct=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new gn(!1);debugTaskTracker=E(ql,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vi=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Il()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(Ct,{optional:!0})??void 0)}emit(t){let n=m(null);try{super.next(t)}finally{m(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Re=Vi;function Br(...e){}function Ms(e){let t,n;function r(){e=Br;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Gl(e){return queueMicrotask(()=>e()),()=>{e=Br}}var Ns="isAngularZone",Tn=Ns+"_ID",jh=0,q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Re(!1);onMicrotaskEmpty=new Re(!1);onStable=new Re(!1);onError=new Re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=_s}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Bh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ns)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Vh,Br,Br);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Vh={};function Ss(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 Hh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ms(()=>{e.callbackScheduled=!1,Hi(e),e.isCheckStableRunning=!0,Ss(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Hi(e)}function Bh(e){let t=()=>{Hh(e)},n=jh++;e._inner=e._inner.fork({name:"angular",properties:{[Ns]:!0,[Tn]:n,[Tn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if($h(c))return r.invokeTask(i,s,a,c);try{return nl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return nl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Uh(c)&&t(),rl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hi(e),Ss(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Hi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function nl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rl(e){e._nesting--,Ss(e)}var Cn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Re;onMicrotaskEmpty=new Re;onStable=new Re;onError=new Re;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function $h(e){return zl(e,"__ignore_ng_zone__")}function Uh(e){return zl(e,"__scheduler_tick__")}function zl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Pe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},bt=new x("",{factory:()=>{let e=E(q),t=E(re),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),Ql={provide:ht,useValue:()=>{let e=E(Pe,{optional:!0})},multi:!0};function yo(e,t){let[n,r,o]=gi(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=xs.bind(i),i}function xs(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var Zl=new x("",{factory:()=>Wh}),Wh="ng";var Yl=new x(""),qh=new x("",{providedIn:"platform",factory:()=>"unknown"}),Gh=new x(""),zh=new x("",{factory:()=>E(mo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Jt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Qh}return e})();function Qh(){return new Jt(y(),Z())}var _e=class{},Xt=new x("",{factory:()=>!0});var vo=new x(""),Io=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new Bi})}return e})(),Bi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},$r=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function Kl(e,t){let n=t?.injector??E(fe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Jt,null,{optional:!0}),s=n.get(_e);return i!==null?(o=Kh(i.view,s,e),r instanceof Hr&&r._lView===i.view&&(r=null)):o=Jh(e,n.get(Io),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new $r(o)}var Jl=U($({},yi),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=wn(!1);try{vi(this)}finally{wn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=m(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],m(e)}}}),Zh=U($({},Jl),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if($e(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Yh=U($({},Jl),{consumerMarkedDirty(){this.view[I]|=8192,Dt(this.view),this.notifier.notify(13)},destroy(){if($e(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[qe]?.delete(this)}});function Kh(e,t,n){let r=Object.create(Yh);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Xl(r,n),e[qe]??=new Set,e[qe].add(r),r.consumerMarkedDirty(r),r}function Jh(e,t,n){let r=Object.create(Zh);return r.fn=Xl(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 Xl(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function zn(e){return{toString:e}.toString()}var So=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ju(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ug=(()=>{let e=()=>Vu;return e.ngInherit=!0,e})();function Vu(e){return e.type.prototype.ngOnChanges&&(e.setInput=fg),dg}function dg(){let e=Hu(this),t=e?.current;if(t){let n=e.previous;if(n===ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fg(e,t,n,r,o){let i=this.declaredInputs[r],s=Hu(e)||pg(e,{previous:ze,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new So(l&&l.currentValue,n,c===ze),ju(e,t,o,n)}var Bs="__ngSimpleChanges__";function Hu(e){return Object.hasOwn(e,Bs)&&e[Bs]||null}function pg(e,t){return e[Bs]=t}var eu=[];var R=function(e,t=null,n){for(let r=0;r<eu.length;r++){let o=eu[r];o(e,t,n)}},M=(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})(M||{});function hg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Vu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Bu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Co(e,t,n){$u(e,t,3,n)}function bo(e,t,n,r){(e[I]&3)===n&&$u(e,t,n,r)}function As(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function $u(e,t,n,r){let o=r!==void 0?e[yt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[yt]+=65536),(a<i||i==-1)&&(gg(e,n,t,c),e[yt]=(e[yt]&4294901760)+c+2),c++}function tu(e,t){R(M.LifecycleHookStart,e,t);let n=m(null);try{t.call(e)}finally{m(n),R(M.LifecycleHookEnd,e,t)}}function gg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[I]>>14<e[yt]>>16&&(e[I]&3)===t&&(e[I]+=16384,tu(a,i)):tu(a,i)}var tn=-1,_t=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function mg(e){return(e.flags&8)!==0}function yg(e){return(e.flags&16)!==0}function vg(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Eg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ig(e){return e===3||e===4||e===6}function Eg(e){return e.charCodeAt(0)===64}function nn(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 o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?nu(e,n,o,null,t[++r]):nu(e,n,o,null,null))}}return e}function nu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Uu(e){return e!==tn}function xo(e){return e&32767}function Dg(e){return e>>16}function Ao(e,t){let n=Dg(e),r=t;for(;n>0;)r=r[mt],n--;return r}var $s=!0;function Ro(e){let t=$s;return $s=e,t}var wg=256,Wu=wg-1,qu=5,Tg=0,Ae={};function Cg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(pt)&&(r=n[pt]),r==null&&(r=n[pt]=Tg++);let o=r&Wu,i=1<<o;t.data[e+(o>>qu)]|=i}function ko(e,t){let n=Gu(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Rs(r.data,e),Rs(t,null),Rs(r.blueprint,null));let o=Ea(e,t),i=e.injectorIndex;if(Uu(o)){let s=xo(o),a=Ao(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Rs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ea(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Ku(o),r===null)return tn;if(n++,o=o[mt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return tn}function Us(e,t,n){Cg(e,t,n)}function zu(e,t,n){if(n&8||e!==void 0)return e;Zr(t,"NodeInjector")}function Qu(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Me],i=Y(void 0);try{return o?o.get(t,r,n&8):Zi(t,r,n&8)}finally{Y(i)}}return zu(r,t,n)}function Zu(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=Sg(e,t,n,r,Ae);if(s!==Ae)return s}let i=Yu(e,t,n,r,Ae);if(i!==Ae)return i}return Qu(t,n,r,o)}function Yu(e,t,n,r,o){let i=_g(n);if(typeof i=="function"){if(!ws(t,e,r))return r&1?zu(o,n,r):Qu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Zr(n);else return s}finally{Ts()}}else if(typeof i=="number"){let s=null,a=Gu(e,t),c=tn,l=r&1?t[K][Q]:null;for((a===-1||r&4)&&(c=a===-1?Ea(e,t):t[a+8],c===tn||!ou(r,!1)?a=-1:(s=t[g],a=xo(c),t=Ao(c,t)));a!==-1;){let u=t[g];if(ru(i,a,u.data)){let d=bg(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==tn&&ou(r,t[g].data[a+8]===l)&&ru(i,a,t)?(s=u,a=xo(c),t=Ao(c,t)):a=-1}}return o}function bg(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&$s:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=_o(a,s,n,c,l);return u!==null?Fn(t,s,u,a,o):Ae}function _o(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&me(f)&&f.type===n)return c}return null}function Fn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof _t){let a=i;if(a.resolving)throw Qi("");let c=Ro(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=ws(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&hg(n,s[n],t)}finally{d!==null&&Y(d),Ro(c),a.resolving=!1,Ts()}}return i}function _g(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(pt)?e[pt]:void 0;return typeof t=="number"?t>=0?t&Wu:Mg:t}function ru(e,t,n){let r=1<<e;return!!(n[t+(e>>qu)]&r)}function ou(e,t){return!(e&2)&&!(e&1&&t)}var Ke=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zu(this._tNode,this._lView,t,ut(r),n)}};function Mg(){return new Ke(Z(),y())}function Ng(e){return zn(()=>{let t=e.prototype.constructor,n=t[Dn]||Ws(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Dn]||Ws(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ws(e){return $i(e)?()=>{let t=Ws(H(e));return t&&t()}:We(e)}function Sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!Kt(s);){let a=Yu(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[os];if(l){let u=l.get(n,Ae,r&-5);if(u!==Ae)return u}c=Ku(s),s=s[mt]}i=c}return o}function Ku(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Q]:null}function St(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function xg(){return un(Z(),y())}function un(e,t){return new Qn(ye(e,t))}var Qn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=xg}return e})();function Ag(e){return e instanceof Qn?e.nativeElement:e}function Rg(){return this._results[Symbol.iterator]()}var Oo=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 te}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=fl(t);(this._changesDetected=!dl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Rg};function Ju(e){return(e.flags&128)===128}var Da=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Da||{}),Xu=new Map,kg=0;function Og(){return kg++}function Pg(e){Xu.set(e[Se],e)}function qs(e){Xu.delete(e[Se])}var iu="__ngContext__";function rn(e,t){Le(t)?(e[iu]=t[Se],Pg(t)):e[iu]=t}function ed(e){return nd(e[Zt])}function td(e){return nd(e[oe])}function nd(e){for(;e!==null&&!ie(e);)e=e[oe];return e}var Gs;function Lg(e){Gs=e}function wa(){if(Gs!==void 0)return Gs;if(typeof document<"u")return document;throw new b(210,!1)}var rd="r";var od="di";var id=!1,sd=new x("",{factory:()=>id});var su=new WeakMap;function Fg(e,t){if(e==null||typeof e!="object")return;let n=su.get(e);n||(n=new WeakSet,su.set(e,n)),n.add(t)}var jg=(e,t,n,r)=>{};function Vg(e,t,n,r){jg(e,t,n,r)}function zo(e){return(e.flags&32)===32}var Hg=()=>null;function ad(e,t,n=!1){return Hg(e,t,n)}function cd(e,t){let n=e.contentQueries;if(n!==null){let r=m(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];uo(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function zs(e,t,n){uo(0);let r=m(null);try{t(e,n)}finally{m(r)}}function Ta(e,t,n){if(ss(t)){let r=m(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{m(r)}}}var Mt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Mt||{});var Eo;function Bg(){if(Eo===void 0&&(Eo=null,qt.trustedTypes))try{Eo=qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Eo}function Qo(e){return Bg()?.createHTML(e)||e}var Do;function $g(){if(Do===void 0&&(Do=null,qt.trustedTypes))try{Do=qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Do}function au(e){return $g()?.createHTML(e)||e}var Po=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ur})`}};function Zo(e){return e instanceof Po?e.changingThisBreaksApplicationSecurity:e}function ld(e,t){let n=ud(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ur})`)}return n===t}function ud(e){return e instanceof Po&&e.getTypeName()||null}function Ug(e){let t=new Zs(e);return Wg()?new Qs(t):t}var Qs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Qo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Zs=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Qo(t),n}};function Wg(){try{return!!new window.DOMParser().parseFromString(Qo(""),"text/html")}catch(e){return!1}}var qg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function dd(e){return e=String(e),e.match(qg)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Zn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fd=Ve("area,br,col,hr,img,wbr"),pd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hd=Ve("rp,rt"),Gg=Zn(hd,pd),zg=Zn(pd,Ve("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")),Qg=Zn(hd,Ve("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")),cu=Zn(fd,zg,Qg,Gg),gd=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zg=Ve("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"),Yg=Ve("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"),Kg=Zn(gd,Zg,Yg),Jg=Ve("script,style,template"),Ys=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=tm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=em(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=lu(t).toLowerCase();if(!cu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Jg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Kg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;gd[a]&&(c=dd(c)),this.buf.push(" ",s,'="',uu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=lu(t).toLowerCase();cu.hasOwnProperty(n)&&!fd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(uu(t))}};function Xg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function em(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw md(t);return t}function tm(e){let t=e.firstChild;if(t&&Xg(e,t))throw md(t);return t}function lu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function md(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rm=/([^\#-~ |!])/g;function uu(e){return e.replace(/&/g,"&amp;").replace(nm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(rm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wo;function yd(e,t){let n=null;try{wo=wo||Ug(e);let r=t?String(t):"";n=wo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=wo.getInertBodyElement(r)}while(r!==i);let a=new Ys().sanitizeChildren(du(n)||n);return Qo(a)}finally{if(n){let r=du(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function du(e){return"content"in e&&om(e)?e.content:null}function om(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var im=/^>|^->|<!--|-->|--!>|<!-$/g,sm=/(<|>)/g,am="\u200B$1\u200B";function cm(e){return e.replace(im,t=>t.replace(sm,am))}function lm(e,t){return e.createText(t)}function um(e,t,n){e.setValue(t,n)}function dm(e,t){return e.createComment(cm(t))}function vd(e,t,n){return e.createElement(t,n)}function Lo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Id(e,t,n){e.appendChild(t,n)}function fu(e,t,n,r,o){r!==null?Lo(e,t,n,r,o):Id(e,t,n)}function Ed(e,t,n,r){e.removeChild(null,t,n,r)}function fm(e,t,n){e.setAttribute(t,"style",n)}function pm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Dd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vg(e,t,r),o!==null&&pm(e,t,o),i!==null&&fm(e,t,i)}var Ca=(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})(Ca||{});function hm(e){let t=gm();return t?au(t.sanitize(Ca.HTML,e)||""):ld(e,"HTML")?au(Zo(e)):yd(wa(),Wt(e))}function gm(){let e=y();return e&&e[ge].sanitizer}function mm(e){return e.ownerDocument}function ym(e){return e instanceof Function?e():e}function vm(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var wd="ng-template";function Im(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&vm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ba(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ba(e){return e.type===4&&e.value!==wd}function Em(e,t,n){let r=e.type===4&&!n?wd:e.value;return t===r}function Dm(e,t,n){let r=4,o=e.attrs,i=o!==null?Cm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Em(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!Im(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=wm(c,o,ba(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function wm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return bm(t,e)}function Td(e,t,n=!1){for(let r=0;r<t.length;r++)if(Dm(e,t[r],n))return!0;return!1}function Tm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Cm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ig(n))return t}return e.length}function bm(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 _m(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function pu(e,t){return e?":not("+t.trim()+")":t}function Mm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=pu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=pu(i,o)),t}function Nm(e){return e.map(Mm).join(",")}function Sm(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ie(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={},Fo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Fo||{}),xm;function _a(e,t){return xm(e,t)}var BN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ks=new WeakMap,On=new WeakSet;function Am(e,t){let n=Ks.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),On.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Rm(e,t){let n=Ks.get(e);n?n.includes(t)||n.push(t):Ks.set(e,[t])}var on=new Set,Yo=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Yo||{}),xt=new x(""),hu=new Set;function He(e){hu.has(e)||(hu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ko=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ma=[0,1,2,3],Na=(()=>{class e{ngZone=E(q);scheduler=E(_e);errorHandler=E(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(xt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(M.AfterRenderHooksStart),this.executing=!0;for(let r of Ma)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(M.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[vt]??=[]).push(n),Dt(r),r[I]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Yo.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),jn=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,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 t=this.view?.[vt];t&&(this.view[vt]=t.filter(n=>n!==this))}};function km(e,t){let n=t?.injector??E(fe);return He("NgAfterNextRender"),Pm(e,n,t,!0)}function Om(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Pm(e,t,n,r){let o=t.get(Ko);o.impl??=t.get(Na);let i=t.get(xt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Jt,null,{optional:!0}),c=new jn(o.impl,Om(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Sa=new x("",{factory:()=>{let e=E(re),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Cd(e,t,n){let r=e.get(Sa);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Lm(e,t){let n=e.get(Sa);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Fm(e,t){let n=e.get(Sa);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function jm(e,t){for(let[n,r]of t)Cd(e,r.animateFns)}function gu(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&jm(r,o)}function mu(e,t,n,r){try{n.get(Sn)}catch(s){return r(!1)}let o=e?.[xe];o?.enter?.has(t.index)&&Lm(n,o.enter.get(t.index).animateFns);let i=Vm(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Jo(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&on.add(e[Se]),Cd(n,()=>Hm(e,t,o||void 0,i,r),o||void 0)}function Vm(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[g].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function Hm(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&Jo(e,t,i),i.length>0){let s=n||e?.[xe];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),$m(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&on.delete(e[Se]),o(!0)})}else e&&on.delete(e[Se]),o(!1)}function Jo(e,t,n){if(t.type&12){let o=e[t.index];if(ie(o))for(let i=L;i<o.length;i++){let s=o[i];s[g].type===2&&Bm(s,n)}}let r=t.child;for(;r;)Jo(e,r,n),r=r.next}function Bm(e,t){let n=e[xe];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[g].firstChild;for(;r;)Jo(e,r,t),r=r.next}function $m(e,t,n){t.then(()=>{e[xe]?.running===t&&(e[xe].running=void 0,on.delete(e[Se])),n(!0)})}function en(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ie(o)?c=o:Le(o)&&(l=!0,o=o[he]);let u=se(o);e===0&&r!==null?(gu(a,r,i,n),s==null?Id(t,r,u):Lo(t,r,u,s||null,!0)):e===1&&r!==null?(gu(a,r,i,n),Lo(t,r,u,s||null,!0),Am(i,u)):e===2?(a?.[xe]?.leave?.has(i.index)&&Rm(i,u),On.delete(u),mu(a,i,n,d=>{if(On.has(u)){On.delete(u);return}Ed(t,u,l,d)})):e===3&&(On.delete(u),mu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&Jm(t,e,n,c,i,r,s)}}function Um(e,t){bd(e,t),t[he]=null,t[Q]=null}function Wm(e,t,n,r,o,i){r[he]=o,r[Q]=t,ei(e,r,n,1,o,i)}function bd(e,t){t[ge].changeDetectionScheduler?.notify(9),ei(e,t,t[k],2,null,null)}function qm(e){let t=e[Zt];if(!t)return ks(e[g],e);for(;t;){let n=null;if(Le(t))n=t[Zt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Le(t)&&ks(t[g],t),t=t[B];t===null&&(t=e),Le(t)&&ks(t[g],t),n=t&&t[oe]}t=n}}function xa(e,t){let n=e[It],r=n.indexOf(t);n.splice(r,1)}function Xo(e,t){if(Et(t))return;let n=t[k];n.destroyNode&&ei(e,t,n,3,null,null),qm(t)}function ks(e,t){if(Et(t))return;let n=m(null);try{t[I]&=-129,t[I]|=256,t[ne]&&$e(t[ne]),zm(e,t),Gm(e,t),t[g].type===1&&t[k].destroy();let r=t[Qe];if(r!==null&&ie(t[B])){r!==t[B]&&xa(r,t);let o=t[Ne];o!==null&&o.detachView(e)}qs(t)}finally{m(n)}}function Gm(e,t){let n=e.cleanup,r=t[Qt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Qt]=null);let o=t[ke];if(o!==null){t[ke]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[qe];if(i!==null){t[qe]=null;for(let s of i)s.destroy()}}function zm(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof _t)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(M.LifecycleHookStart,a,c);try{c.call(a)}finally{R(M.LifecycleHookEnd,a,c)}}else{R(M.LifecycleHookStart,o,i);try{i.call(o)}finally{R(M.LifecycleHookEnd,o,i)}}}}}function _d(e,t,n){return Qm(e,t.parent,n)}function Qm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[he];if(Fe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Mt.None||o===Mt.Emulated)return null}return ye(r,n)}function Md(e,t,n){return Ym(e,t,n)}function Zm(e,t,n){return e.type&40?ye(e,n):null}var Ym=Zm,yu;function Aa(e,t,n,r){let o=_d(e,r,t),i=t[k],s=r.parent||t[Q],a=Md(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)fu(i,o,n[c],a,!1);else fu(i,o,n,a,!1);yu!==void 0&&yu(i,r,t,n,o)}function Pn(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return Js(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Pn(e,r);{let o=e[t.index];return ie(o)?Js(-1,o):se(o)}}else{if(n&128)return Pn(e,t.next);if(n&32)return _a(t,e)()||se(e[t.index]);{let r=Nd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Oe(e[K]);return Pn(o,r)}else return Pn(e,t.next)}}}return null}function Nd(e,t){if(t!==null){let r=e[K][Q],o=t.projection;return r.projection[o]}return null}function Js(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return Pn(r,o)}return t[Ze]}function Ra(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Me];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&rn(se(c),r),n.flags|=2),!zo(n))if(l&8)Ra(e,t,n.child,r,o,i,!1),en(t,e,a,o,c,n,i,r);else if(l&32){let u=_a(n,r),d;for(;d=u();)en(t,e,a,o,d,n,i,r);en(t,e,a,o,c,n,i,r)}else l&16?Sd(e,t,r,n,o,i):en(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ei(e,t,n,r,o,i){Ra(n,r,e.firstChild,t,o,i,!1)}function Km(e,t,n){let r=t[k],o=_d(e,n,t),i=n.parent||t[Q],s=Md(i,n,t);Sd(r,0,t,n,o,s)}function Sd(e,t,n,r,o,i){let s=n[K],c=s[Q].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];en(t,e,n[Me],o,u,r,i,n)}else{let l=c,u=s[B];Ju(r)&&(l.flags|=128),Ra(e,t,l,u,o,i,!0)}}function Jm(e,t,n,r,o,i,s){let a=r[Ze],c=se(r);a!==c&&en(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];ei(u[g],u,e,t,i,a)}}function Xm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Fo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fo.Important),e.setStyle(n,r,o,i))}}function ka(e,t,n,r,o,i,s,a,c,l,u){let d=O+r,p=d+o,f=ey(d,p),h=typeof l=="function"?l():l;return f[g]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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 i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function ey(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function ty(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ka(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Oa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[he]=o,d[I]=r|4|128|8|64|1024,(l!==null||e&&e[I]&2048)&&(d[I]|=2048),ls(d),d[B]=d[mt]=e,d[j]=n,d[ge]=s||e&&e[ge],d[k]=a||e&&e[k],d[Me]=c||e&&e[Me]||null,d[Q]=i,d[Se]=Og(),d[gt]=u,d[os]=l,d[K]=t.type==2?e[K]:d,d}function ny(e,t,n){let r=ye(t,e),o=ty(n),i=e[ge].rendererFactory,s=Pa(e,Oa(e,o,null,xd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function xd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ad(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Pa(e,t){return e[Zt]?e[rs][oe]=t:e[Zt]=t,e[rs]=t,t}function ry(e=1){Rd(F(),y(),ve()+e,!1)}function Rd(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Co(t,i,n)}else{let i=e.preOrderHooks;i!==null&&bo(t,i,0,n)}Ye(n)}var ti=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ti||{});function Xs(e,t,n,r){let o=m(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ti.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):ju(t,c,i,r)}finally{m(o)}}function kd(e,t,n,r,o){let i=ve(),s=r&2;try{Ye(-1),s&&t.length>O&&Rd(e,t,O,!1);let a=s?M.TemplateUpdateStart:M.TemplateCreateStart;R(a,o,n),n(r,o)}finally{Ye(i);let a=s?M.TemplateUpdateEnd:M.TemplateCreateEnd;R(a,o,n)}}function ni(e,t,n){uy(e,t,n),(n.flags&64)===64&&dy(e,t,n)}function Yn(e,t,n=ye){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function oy(e,t,n,r){let i=r.get(sd,id)||n===Mt.ShadowDom||n===Mt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return iy(s),s}function iy(e){sy(e)}var sy=()=>null;function ay(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function cy(e,t,n,r,o,i){let s=t[g];if(Va(e,s,t,n,r)){Fe(e)&&ly(t,e.index);return}e.type&3&&(n=ay(n)),Od(e,t,n,r,o,i)}function Od(e,t,n,r,o,i){if(e.type&3){let s=ye(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function ly(e,t){let n=ae(t,e);n[I]&16||(n[I]|=64)}function uy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&ny(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ko(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Fn(t,e,s,n);if(rn(c,t),i!==null&&gy(t,s-r,c,a,n,i),me(a)){let l=ae(n.index,t);l[j]=Fn(t,e,s,n)}}}function dy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Pl();try{Ye(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];lo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&fy(c,l)}}finally{Ye(-1),lo(s)}}function fy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function La(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Td(t,i.selectors,!1)&&(r??=[],me(i)?r.unshift(i):r.push(i))}return r}function py(e,t,n,r,o,i){let s=ye(e,t);hy(t[k],s,i,e.value,n,r,o)}function hy(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?Wt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function gy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Xs(r,n,c,l)}}function Fa(e,t,n,r,o){let i=O+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,wt(e,!0);let c=e.type===2;return c?(Dd(t[k],a,e),(_l()===0||Yt(e))&&rn(a,t),Ml()):rn(a,t),go()&&(!c||!zo(e))&&Aa(s,t,a,e),e}function ja(e){let t=e;return vs()?Is():(t=t.parent,wt(t,!1)),t}function my(e,t){let n=e[Me];if(!n)return;let r;try{r=n.get(bt,null)}catch(o){r=null}r?.(t)}function Va(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Xs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Xs(u,l,r,o),a=!0}return a}function yy(e,t){let n=ae(t,e),r=n[g];vy(r,n);let o=n[he];o!==null&&n[gt]===null&&(n[gt]=ad(o,n[Me])),R(M.ComponentStart);try{Ha(r,n,n[j])}finally{R(M.ComponentEnd,n[j])}}function vy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ha(e,t,n){fo(t);try{let r=e.viewQuery;r!==null&&zs(1,r,n);let o=e.template;o!==null&&kd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&cd(e,t),e.staticViewQueries&&zs(2,e.viewQuery,n);let i=e.components;i!==null&&Iy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,po()}}function Iy(e,t){for(let n=0;n<t.length;n++)yy(e,t[n])}function Kn(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=Oa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Qe]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),Ha(i,c,n),c}finally{m(o)}}function sn(e,t){return!t||t.firstChild===null||Ju(e)}function Vn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(se(i)),ie(i)&&Pd(i,r);let s=n.type;if(s&8)Vn(e,t,n.child,r);else if(s&32){let a=_a(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Nd(t,n);if(Array.isArray(a))r.push(...a);else{let c=Oe(t[K]);Vn(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Pd(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Vn(r[g],r,o,t)}e[Ze]!==e[he]&&t.push(e[Ze])}function Ld(e){if(e[vt]!==null){for(let t of e[vt])t.impl.addSequence(t);e[vt].length=0}}var Fd=[];function Ey(e){return e[ne]??Dy(e)}function Dy(e){let t=Fd.pop()??Object.create(Ty);return t.lView=e,t}function wy(e){e.lView[ne]!==e&&(e.lView=null,Fd.push(e))}var Ty=U($({},Xe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Dt(e.lView)},consumerOnSignalRead(){this.lView[ne]=this}});function Cy(e){let t=e[ne]??Object.create(by);return t.lView=e,t}var by=U($({},Xe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Oe(e.lView);for(;t&&!jd(t[g]);)t=Oe(t);t&&us(t)},consumerOnSignalRead(){this.lView[ne]=this}});function jd(e){return e.type!==2}function Vd(e){if(e[qe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[qe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var _y=100;function Hd(e,t=0){let r=e[ge].rendererFactory,o=!1;o||r.begin?.();try{My(e,t)}finally{o||r.end?.()}}function My(e,t){let n=Ds();try{wn(!0),ea(e,t);let r=0;for(;Rn(e);){if(r===_y)throw new b(103,!1);r++,ea(e,1)}}finally{wn(n)}}function Ny(e,t,n,r){if(Et(t))return;let o=t[I],i=!1,s=!1;fo(t);let a=!0,c=null,l=null;i||(jd(e)?(l=Ey(t),c=Be(l)):cr()===null?(a=!1,l=Cy(t),c=Be(l)):t[ne]&&($e(t[ne]),t[ne]=null));try{ls(t),Rl(e.bindingStartIndex),n!==null&&kd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Co(t,f,null)}else{let f=e.preOrderHooks;f!==null&&bo(t,f,0,null),As(t,0)}if(s||Sy(t),Vd(t),Bd(t,0),e.contentQueries!==null&&cd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Co(t,f)}else{let f=e.contentHooks;f!==null&&bo(t,f,1),As(t,1)}Ay(e,t);let d=e.components;d!==null&&Ud(t,d,0);let p=e.viewQuery;if(p!==null&&zs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Co(t,f)}else{let f=e.viewHooks;f!==null&&bo(t,f,2),As(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[eo]){for(let f of t[eo])f();t[eo]=null}i||(Ld(t),t[I]&=-73)}catch(u){throw i||Dt(t),u}finally{l!==null&&(tt(l,c),a&&wy(l)),po()}}function Bd(e,t){for(let n=ed(e);n!==null;n=td(n))for(let r=L;r<n.length;r++){let o=n[r];$d(o,t)}}function Sy(e){for(let t=ed(e);t!==null;t=td(t)){if(!(t[I]&2))continue;let n=t[It];for(let r=0;r<n.length;r++){let o=n[r];us(o)}}}function xy(e,t,n){R(M.ComponentStart);let r=ae(t,e);try{$d(r,n)}finally{R(M.ComponentEnd,r[j])}}function $d(e,t){ro(e)&&ea(e,t)}function ea(e,t){let r=e[g],o=e[I],i=e[ne],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Rt(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)Ny(r,e,r.template,e[j]);else if(o&8192){let a=m(null);try{Vd(e),Bd(e,1);let c=r.components;c!==null&&Ud(e,c,1),Ld(e)}finally{m(a)}}}function Ud(e,t,n){for(let r=0;r<t.length;r++)xy(e,t[r],n)}function Ay(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ye(~o);else{let i=o,s=n[++r],a=n[++r];Ol(s,i);let c=t[i];R(M.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(M.HostBindingsUpdateEnd,c)}}}}finally{Ye(-1)}}function Ba(e,t){let n=Ds()?64:1088;for(e[ge].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=Oe(e);if(Kt(e)&&!r)return e;e=r}return null}function Wd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function qd(e,t){let n=L+t;if(n<e.length)return e[n]}function Jn(e,t,n,r=!0){let o=t[g];if(Ry(o,t,e,n),r){let s=Js(n,e),a=t[k],c=a.parentNode(e[Ze]);c!==null&&Wm(o,e[Q],a,t,c,s)}let i=t[gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Gd(e,t){let n=Hn(e,t);return n!==void 0&&Xo(n[g],n),n}function Hn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Qe];o!==null&&o!==e&&xa(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=Nn(e,L+t);Um(r[g],r);let s=i[Ne];s!==null&&s.detachView(i[g]),r[B]=null,r[oe]=null,r[I]&=-129}return r}function Ry(e,t,n,r){let o=L+r,i=n.length;r>0&&(n[o-1][oe]=t),r<i-L?(t[oe]=n[o],Yi(n,L+r,t)):(n.push(t),t[oe]=null),t[B]=n;let s=t[Qe];s!==null&&n!==s&&zd(s,t);let a=t[Ne];a!==null&&a.insertView(e),oo(t),t[I]|=128}function zd(e,t){let n=e[It],r=t[B];if(Le(r))e[I]|=2;else{let o=r[B][K];t[K]!==o&&(e[I]|=2)}n===null?e[It]=[t]:n.push(t)}var Je=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Vn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Et(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(ie(t)){let n=t[xn],r=n?n.indexOf(this):-1;r>-1&&(Hn(t,r),Nn(n,r))}this._attachedToViewContainer=!1}Xo(this._lView[g],this._lView)}onDestroy(t){io(this._lView,t)}markForCheck(){Ba(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){oo(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Hd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Kt(this._lView),n=this._lView[Qe];n!==null&&!t&&xa(n,this._lView),bd(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Kt(this._lView),r=this._lView[Qe];r!==null&&!n&&zd(r,this._lView),oo(this._lView)}};var Bn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ky;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Kn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Je(i)}}return e})();function ky(){return $a(Z(),y())}function $a(e,t){return e.type&4?new Bn(t,e,un(e,t)):null}function At(e,t,n,r,o){let i=e.data[t];if(i===null)i=Oy(e,t,n,r,o),kl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=xl();i.injectorIndex=s===null?-1:s.injectorIndex}return wt(i,!0),i}function Oy(e,t,n,r,o){let i=ys(),s=vs(),a=s?i:i&&i.parent,c=e.data[t]=Ly(e,a,n,t,r,o);return Py(e,c,i,s),c}function Py(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 Ly(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return hs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Cs(),attrs:i,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 Fy(e){let t=e[is]??[],r=e[B][k],o=[];for(let i of t)i.data[od]!==void 0?o.push(i):jy(i,r);e[is]=o}function jy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[rd];for(;n<o;){let i=r.nextSibling;Ed(t,r,!1),r=i,n++}}}var Vy=()=>null,Hy=()=>null;function jo(e,t){return Vy(e,t)}function Qd(e,t,n){return Hy(e,t,n)}var Zd=class{},$n=class{},By=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>$y()}return e})();function $y(){let e=y(),t=Z(),n=ae(t.index,e);return(Le(n)?n:e)[k]}var Yd=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function Kd(e){return e.debugInfo?.className||e.type.name||null}var Mo={},Vo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Mo,r);return o!==Mo||n===Mo?o:this.parentInjector.get(t,n,r)}};function Jd(e,t,n){return e[t]=n}function De(e,t,n){if(n===X)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Xd(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function No(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Fg(o,i);let s=Fe(e)?ae(e.index,t):t;Ba(s,5);let a=t[j],c=vu(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=vu(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function vu(e,t,n,r){let o=m(null);try{return R(M.OutputStart,t,n),n(r)!==!1}catch(i){return my(e,i),!1}finally{R(M.OutputEnd,t,n),m(o)}}function ef(e,t,n,r,o,i,s,a){let c=Yt(e),l=!1,u=null;if(!r&&c&&(u=Wy(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ye(e,n),p=r?r(d):d;Vg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!Uy(i)){let h=r?v=>r(se(v[e.index])):e.index;tf(h,t,n,i,a,f,!1)}}return l}function Uy(e){return e.startsWith("animation")||e.startsWith("transition")}function Wy(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Qt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function tf(e,t,n,r,o,i,s){let a=t.firstCreatePass?fs(t):null,c=ds(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Iu(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);tf(e.index,a,t,o,i,d,!0)}var ta=Symbol("BINDING");var nf=new x("");function Ho(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Wr(o,a);else if(i==2){let c=a,l=t[++s];r=Wr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Xn(e,t=0){let n=y();if(n===null)return be(e,t);let r=Z();return Zu(r,n,H(e),t)}function qy(){let e="invalid";throw new Error(e)}function rf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Qy(e,t,n,a,i,c,l)}i!==null&&r!==null&&Gy(n,r,i)}function Gy(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function zy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Qy(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&me(f)&&(c=f,zy(e,n,p)),Us(ko(n,t),e,f.type)}ev(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Ad(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=nn(n.mergedAttrs,f.hostAttrs),Yy(e,n,t,d,f),Xy(d,f,o),s!==null&&s.has(f)){let[v,C]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,C+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Zy(e,n,i)}function Zy(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Eu(0,t,o,r),Eu(1,t,o,r),wu(t,r,!1);else{let i=n.get(o);Du(0,t,i,r),Du(1,t,i,r),wu(t,r,!0)}}}function Eu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),of(t,i)}}function Du(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),of(t,s)}}function of(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function wu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ba(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Yy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=We(o.type,!0)),s=new _t(i,me(o),Xn,null);e.blueprint[r]=s,n[r]=s,Ky(e,t,r,Ad(e,n,o.hostVars,X),o)}function Ky(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Jy(s)!=a&&s.push(a),s.push(n,r,i)}}function Jy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Xy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;me(t)&&(n[""]=e)}}function ev(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ua(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=ce(l,s),d=At(c,e,n,r,u);return i&&rf(c,t,d,ce(l,a),o),d.mergedAttrs=nn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ho(d,d.attrs,!1),d.mergedAttrs!==null&&Ho(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Wa(e,t){Bu(e,t),ss(t)&&e.queries.elementEnd(t)}function tv(e,t,n,r,o,i){let s=t.consts,a=ce(s,o),c=At(t,e,n,r,a);if(c.mergedAttrs=nn(c.mergedAttrs,c.attrs),i!=null){let l=ce(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ho(c,c.attrs,!1),c.mergedAttrs!==null&&Ho(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var sf=typeof ShadowRoot<"u",nv=typeof Document<"u";function rv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ti.SignalBased)!==0};return o&&(i.transform=o),i})}function ov(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function iv(e,t,n){let r=t instanceof re?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vo(n,r):n}function sv(e){let t=e.get($n,null);if(t===null)throw new b(407,!1);let n=e.get(Yd,null),r=e.get(_e,null),o=e.get(xt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function av(e,t){let n=af(e);return vd(t,n,n==="svg"?as:n==="math"?Dl:null)}function af(e){return(e.selectors[0][0]||"div").toLowerCase()}var an=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=rv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=ov(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Nm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(M.DynamicComponentStart);let a=m(null);try{let c=this.componentDef,l=iv(c,o||this.ngModule,t),u=sv(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Kd(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{m(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=cv(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?oy(l,o,a.encapsulation,n):av(a,l),d=n.get(nf,null),p=lv(u,()=>n.get(mo,null)??wa());d&&d.addHost(p);let f=s?.some(Tu)||i?.some(C=>typeof C!="function"&&C.bindings.some(Tu)),h=Oa(null,c,null,512|xd(a),null,null,t,l,n,null,ad(u,n,!0));d&&sf&&p instanceof ShadowRoot&&io(h,()=>{d.removeHost(p)}),h[O]=u,fo(h);let v=null;try{let C=Ua(O,h,2,"#host",()=>c.directiveRegistry,!0,0);Dd(l,u,C),rn(u,h),ni(c,h,C),Ta(c,C,h),Wa(c,C),r!==void 0&&dv(C,this.ngContentSelectors,r),v=ae(C.index,h),h[j]=v[j],Ha(c,h,null)}catch(C){throw v!==null&&qs(v),qs(h),C}finally{R(M.DynamicComponentEnd),po()}return new Bo(this.componentType,h,!!f)}};function cv(e,t,n,r){let o=e?["ng-version","22.0.1"]:Sm(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ta].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ta].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=zr(d);c.push(p)}return ka(0,null,uv(i,s),1,a,c,null,null,null,[o],null)}function lv(e,t){let n=e.getRootNode?.();return nv&&n instanceof Document?n.head:n&&sf&&n instanceof ShadowRoot?n:t().head}function uv(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Tu(e){let t=e[ta].kind;return t==="input"||t==="twoWay"}var Bo=class extends Zd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=to(n[g],O),this.location=un(this._tNode,n),this.instance=ae(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Je(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Va(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=ae(r.index,o);Ba(s,1)}get injector(){return new Ke(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function dv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ri=(()=>{class e{static __NG_ELEMENT_ID__=fv}return e})();function fv(){let e=Z();return cf(e,y())}var na=class e extends ri{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return un(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ea(this._hostTNode,this._hostLView);if(Uu(t)){let n=Ao(t,this._hostLView),r=xo(t),o=n[g].data[r+8];return new Ke(o,n)}else return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Cu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-L}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new an(Ge(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=this.parentInjector.get(re,null);N&&(i=N)}let p=Ge(u.componentType??{}),f=jo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,c,sn(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(wl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new e(c,c[Q],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Jn(s,o,i,r),t.attachToViewContainerRef(),Yi(Os(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Cu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);r&&(Nn(Os(this._lContainer),n),Xo(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);return r&&Nn(Os(this._lContainer),n)!=null?new Je(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cu(e){return e[xn]}function Os(e){return e[xn]||(e[xn]=[])}function cf(e,t){let n,r=t[e.index];return ie(r)?n=r:(n=Wd(r,t,null,e),t[e.index]=n,Pa(t,n)),hv(n,t,e,r),new na(n,e,t)}function pv(e,t){let n=e[k],r=n.createComment(""),o=ye(t,e),i=n.parentNode(o);return Lo(n,i,r,n.nextSibling(o),!1),r}var hv=yv,gv=()=>!1;function mv(e,t,n){return gv(e,t,n)}function yv(e,t,n,r){if(e[Ze])return;let o;n.type&8?o=se(r):o=pv(t,n),e[Ze]=o}var ra=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},oa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)df(t,n).matches!==null&&this.queries[n].setDirty()}},ia=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Cv(t):this.predicate=t}},sa=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},aa=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,vv(n,i)),this.matchTNodeWithReadOption(t,n,_o(n,t,i,!1,!1))}else r===Bn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_o(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Qn||o===ri||o===Bn&&n.type&4)this.addMatch(n.index,-2);else{let i=_o(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function vv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Iv(e,t){return e.type&11?un(e,t):e.type&4?$a(e,t):null}function Ev(e,t,n,r){return n===-1?Iv(t,e):n===-2?Dv(e,t,r):Fn(e,e[g],n,t)}function Dv(e,t,n){if(n===Qn)return un(t,e);if(n===Bn)return $a(t,e);if(n===ri)return cf(t,e)}function lf(e,t,n,r){let o=t[Ne].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Ev(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ca(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=lf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=L;d<u.length;d++){let p=u[d];p[Qe]===p[B]&&ca(p[g],p,l,r)}if(u[It]!==null){let d=u[It];for(let p=0;p<d.length;p++){let f=d[p];ca(f[g],f,l,r)}}}}}return r}function uf(e,t){return e[Ne].queries[t].queryList}function wv(e,t,n){let r=new Oo((n&4)===4);return bl(e,t,r,r.destroy),(t[Ne]??=new oa).queries.push(new ra(r))-1}function Tv(e,t,n){let r=F();return r.firstCreatePass&&(bv(r,new ia(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),wv(r,y(),t)}function Cv(e){return e.split(",").map(t=>t.trim())}function bv(e,t,n){e.queries===null&&(e.queries=new sa),e.queries.track(new aa(t,n))}function df(e,t){return e.queries.getByIndex(t)}function _v(e,t){let n=e[g],r=df(n,t);return r.crossesNgTemplate?ca(n,e,t,[]):lf(n,e,r,t)}function ff(e,t,n){let r,o=fn(()=>{r._dirtyCounter();let i=Nv(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[W],r._dirtyCounter=yo(0),r._flatValue=void 0,o}function pf(e){return ff(!0,!1,e)}function hf(e){return ff(!0,!0,e)}function Mv(e,t){let n=e[W];n._lView=y(),n._queryIndex=t,n._queryList=uf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Nv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:z;let o=uf(n,r),i=_v(n,r);return o.reset(i,Ag),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function qa(e){return!!e&&typeof e.then=="function"}function gf(e){return!!e&&typeof e.subscribe=="function"}var cn=class{},mf=class{};function Sv(e,t){return new Un(e,t??null,[])}var Un=class extends cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=sl(t);this._bootstrapComponents=ym(i.bootstrap),this._r3Injector=bs(t,n,[{provide:cn,useValue:this},...r],_n(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},$o=class extends mf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Un(this.moduleType,t,[])}};var Wn=class extends cn{injector;instance=null;constructor(t){super();let n=new ft([...t.providers,{provide:cn,useValue:this}],t.parent||zt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yf(e,t,n=null){return new Wn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var xv=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xi(!1,n.type),o=r.length>0?yf([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=pe({token:e,providedIn:"environment",factory:()=>new e(be(re))})}return e})();function Av(e){return zn(()=>{let t=vf(e),n=U($({},t),{type:e.type,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Da.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(xv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),If(n);let r=e.dependencies;return n.directiveDefs=bu(r,Rv),n.pipeDefs=bu(r,al),n.id=jv(n),n})}function Rv(e){return Ge(e)||zr(e)}function kv(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ov(e,t){if(e==null)return ze;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ti.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Pv(e){if(e==null)return ze;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Lv(e){return zn(()=>{let t=vf(e);return If(t),t})}function Fv(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 vf(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||ze,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:Ov(e.inputs,t),outputs:Pv(e.outputs),debugInfo:null}}function If(e){e.features?.forEach(t=>t(e))}function bu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function jv(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 i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var Ef=new x("");var Ga=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(Ef,{optional:!0})??[];injector=E(fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Xr(this.injector,o);if(qa(i))n.push(i);else if(gf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function Vv(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Hv,n.hostDirectives=r?e.map(la):[e]):r?n.hostDirectives.unshift(...e.map(la)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Hv(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Df(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&me(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{Bv(s.declaredInputs,i.inputs)}),[t,r,o]}function Df(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)_u(la(s),t,n,r)}else _u(o,t,n,r)}function _u(e,t,n,r){let o=zr(e.directive);if(Df(o,t,n,r),n.has(o)){let i=n.get(o);Mu(i,e.inputs,"input"),Mu(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function Mu(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function la(e){return typeof e=="function"?{directive:H(e),inputs:{},outputs:{}}:{directive:H(e.directive),inputs:Nu(e.inputs),outputs:Nu(e.outputs)}}function Nu(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 Bv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function $v(e){return Object.getPrototypeOf(e.prototype).constructor}function wf(e){let t=$v(e.type),n=!0,r=[e];for(;t;){let o;if(me(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ps(e.inputs),s.declaredInputs=Ps(e.declaredInputs),s.outputs=Ps(e.outputs);let a=o.hostBindings;a&&zv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&qv(e,c),l&&Gv(e,l),Uv(e,o),ol(e.outputs,o.outputs),me(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===wf&&(n=!1)}}t=Object.getPrototypeOf(t)}Wv(r)}function Uv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Wv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=nn(o.hostAttrs,n=nn(n,o.hostAttrs))}}function Ps(e){return e===ze?{}:e===z?[]:e}function qv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Gv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function zv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Tf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=nn(e.mergedAttrs,e.attrs);let u=e.tView=ka(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),wt(e,!1);let c=Zv(n,t,e,r);go()&&Aa(n,t,c,e),rn(c,t);let l=Wd(c,t,c,e);t[r+O]=l,Pa(t,l),mv(l,e,t)}function Qv(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=At(t,d,4,s||null,a||null),so()&&rf(t,e,p,ce(t.consts,l),La),Bu(t,p)):p=t.data[d],Tf(p,e,t,n,r,o,i,c),Yt(p)&&ni(t,e,p),l!=null&&Yn(e,p,u),p}function qn(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=At(t,d,4,s||null,a||null),l!=null){let f=ce(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Tf(p,e,t,n,r,o,i,c),l!=null&&Yn(e,p,u),p}function Cf(e,t,n,r,o,i,s,a){let c=y(),l=F(),u=ce(l.consts,i);return Qv(c,l,e,t,n,r,o,u,void 0,s,a),Cf}var Zv=Yv;function Yv(e,t,n,r){return kn(!0),t[k].createComment("")}var Kv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var bf=new x("");var _f=new x("");function Mf(){hi(()=>{let e="";throw new b(600,e)})}var Jv=10;var er=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(bt);afterRenderManager=E(Ko);zonelessEnabled=E(Xt);rootEffectScheduler=E(Io);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(Ct);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ue(n=>!n))}constructor(){E(xt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=fe.NULL){return this._injector.get(q).run(()=>{if(R(M.BootstrapComponentStart),!this._injector.get(Ga).done){let N="";throw new b(405,N)}let a=Ge(n),c=this._injector.get(cn),l=new an(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=Xv(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),v=h.location.nativeElement,C=h.injector.get(bf,null);return C?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),Ln(this.components,h),C?.unregisterApplication(v)}),this._loadComponent(h),R(M.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(M.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Yo.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw R(M.ChangeDetectionEnd),new b(101,!1);let n=m(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,m(n),this.afterTick.next(),R(M.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($n,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Jv;){R(M.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{R(M.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Rn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Hd(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Rn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ln(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(_f,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ln(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function Xv(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Ln(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Nf(e,t,n,r){let o=y(),i=Tt();if(De(o,i,t)){let s=F(),a=ho();py(a,o,e,t,n,r)}return Nf}var ua=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ls(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function eI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){m(r);let l=t.length-1;for(m(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Ls(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],v=Ls(a,f,l,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,l--;continue}let C=n(s,u),N=n(a,f),le=n(s,d);if(Object.is(le,N)){let si=n(l,h);Object.is(si,C)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Uo,i??=xu(e,s,a,n),da(e,o,s,le))e.updateValue(s,d),s++,a++;else if(i.has(le))o.set(C,e.detach(s)),a--;else{let si=e.create(s,t[s]);e.attach(s,si),s++,a++}}for(;s<=l;)Su(e,o,n,s,t[s]),s++}else if(t!=null){m(r);let l=t[Symbol.iterator]();m(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Ls(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Uo,i??=xu(e,s,a,n);let h=n(s,p);if(da(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let v=n(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)Su(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function da(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Su(e,t,n,r,o){if(da(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Uo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function tI(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return qn(c,l,e,t,n,r,o,u,256,s,a),za}function za(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return qn(c,l,e,t,n,r,o,u,512,s,a),za}function nI(e,t){He("NgControlFlow");let n=y(),r=Tt(),o=n[r]!==X?n[r]:-1,i=o!==-1?Wo(n,O+o):void 0,s=0;if(De(n,r,e)){let a=m(null);try{if(i!==void 0&&Gd(i,s),e!==-1){let c=O+e,l=Wo(n,c),u=ga(n[g],c),d=Qd(l,u,n),p=Kn(n,u,t,{dehydratedView:d});Jn(l,p,s,sn(u,d))}}finally{m(a)}}else if(i!==void 0){let a=qd(i,s);a!==void 0&&(a[j]=t)}}var fa=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-L}};function rI(e){return e}function oI(e,t){return t}var pa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function iI(e,t,n,r,o,i,s,a,c,l,u,d,p){He("NgControlFlow");let f=y(),h=F(),v=c!==void 0,C=y(),N=a?s.bind(C[K][j]):s,le=new pa(v,N);C[O+e]=le,qn(f,h,e+1,t,n,r,o,ce(h.consts,i),256),v&&qn(f,h,e+2,c,l,u,d,ce(h.consts,p),512)}var ha=class extends ua{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-L}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[gt];this.needsIndexUpdate||=t!==this.length,Jn(this.lContainer,n,t,sn(this.templateTNode,r)),aI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cI(this.lContainer,t),lI(this.lContainer,t)}create(t,n){let r=jo(this.lContainer,this.templateTNode.tView.ssrId);return Kn(this.hostLView,this.templateTNode,new fa(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Xo(t[g],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return uI(this.lContainer,t)}};function sI(e){let t=m(null),n=ve();try{let r=y(),o=r[g],i=r[n],s=n+1,a=Wo(r,s);if(i.liveCollection===void 0){let l=ga(o,s);i.liveCollection=new ha(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(eI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Tt(),u=c.length===0;if(De(r,l,u)){let d=n+2,p=Wo(r,d);if(u){let f=ga(o,d),h=Qd(p,f,r),v=Kn(r,f,void 0,{dehydratedView:h});Jn(p,v,0,sn(f,h))}else o.firstUpdatePass&&Fy(p),Gd(p,0)}}}finally{m(t)}}function Wo(e,t){return e[t]}function aI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Me];Fm(i,o),on.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function cI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function lI(e,t){return Hn(e,t)}function uI(e,t){return qd(e,t)}function ga(e,t){return to(e,t)}function Sf(e,t,n){let r=y(),o=Tt();if(De(r,o,t)){let i=F(),s=ho();cy(s,r,e,t,r[k],n)}return Sf}function ma(e,t,n,r,o){Va(t,e,n,o?"class":"style",r)}function qo(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?Ua(s,o,2,t,La,so(),n,r):i.data[s];if(Fe(a)){let c=o[ge].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Kd(l),()=>(Au(e,t,o,a,r),qo))}}return Au(e,t,o,a,r),qo}function Au(e,t,n,r,o){if(Fa(r,n,e,t,Rf),Yt(r)){let i=n[g];ni(i,n,r),Ta(i,r,n)}o!=null&&Yn(n,r)}function Qa(){let e=F(),t=Z(),n=ja(t);return e.firstCreatePass&&Wa(e,n),gs(n)&&ms(),ps(),n.classesWithoutHost!=null&&mg(n)&&ma(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&yg(n)&&ma(e,n,y(),n.stylesWithoutHost,!1),Qa}function xf(e,t,n,r){return qo(e,t,n,r),Qa(),xf}function Za(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?tv(s,i,2,t,n,r):i.data[s];return Fa(a,o,e,t,Rf),r!=null&&Yn(o,a),Za}function Ya(){let e=Z(),t=ja(e);return gs(t)&&ms(),ps(),Ya}function Af(e,t,n,r){return Za(e,t,n,r),Ya(),Af}var Rf=(e,t,n,r,o)=>(kn(!0),vd(t[k],r,Cs()));function Ka(e,t,n){let r=y(),o=r[g],i=e+O,s=o.firstCreatePass?Ua(i,r,8,"ng-container",La,so(),t,n):o.data[i];if(Fa(s,r,e,"ng-container",dI),Yt(s)){let a=r[g];ni(a,r,s),Ta(a,s,r)}return n!=null&&Yn(r,s),Ka}function Ja(){let e=F(),t=Z(),n=ja(t);return e.firstCreatePass&&Wa(e,n),Ja}function kf(e,t,n){return Ka(e,t,n),Ja(),kf}var dI=(e,t,n,r,o)=>(kn(!0),dm(t[k],""));function fI(){return y()}function Of(e,t,n){let r=y(),o=Tt();if(De(r,o,t)){let i=F(),s=ho();Od(s,r,e,t,r[k],n)}return Of}var tr="en-US";var pI=tr;function Pf(e){typeof e=="string"&&(pI=e.toLowerCase().replace(/_/g,"-"))}function Lf(e,t,n){let r=y(),o=F(),i=Z();return hI(o,r,r[k],i,e,t,n),Lf}function Ff(e,t,n){let r=y(),o=F(),i=Z();return(i.type&3||n)&&ef(i,o,r,n,r[k],e,t,No(i,r,t)),Ff}function hI(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=No(r,t,i),ef(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=No(r,t,i),Iu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=No(r,t,i),Iu(r,t,d,o,o,c)}}function gI(e=1){return Bl(e)}function mI(e,t){let n=null,r=Tm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Td(e,i,!0):_m(r,i))return o}return n}function yI(e){let t=y()[K][Q];if(!t.projection){let n=e?e.length:1,r=t.projection=pl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?mI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function vI(e,t=0,n,r,o,i){let s=y(),a=F(),c=r?e+1:null;c!==null&&qn(s,a,c,r,o,i,null,n);let l=At(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),Is();let d=!s[gt]||hs();s[K][Q].projection[l.projection]===null&&c!==null?II(s,a,c):d&&!zo(l)&&Km(a,s,l)}function II(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=jo(i,o.tView.ssrId),a=Kn(e,o,void 0,{dehydratedView:s});Jn(i,a,0,sn(o,s))}function jf(e,t,n,r){return Mv(e,Tv(t,n,r)),jf}function EI(e=1){uo(Fl()+e)}function DI(e){let t=Es();return no(t,O+e)}function To(e,t){return e<<17|t<<2}function Nt(e){return e>>17&32767}function wI(e){return(e&2)==2}function TI(e,t){return e&131071|t<<17}function ya(e){return e|2}function ln(e){return(e&131068)>>2}function Fs(e,t){return e&-131069|t<<2}function CI(e){return(e&1)===1}function va(e){return e|1}function bI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Nt(s),c=ln(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Gt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Nt(e[a+1]);e[r+1]=To(p,a),p!==0&&(e[p+1]=Fs(e[p+1],r)),e[a+1]=TI(e[a+1],r)}else e[r+1]=To(a,0),a!==0&&(e[a+1]=Fs(e[a+1],r)),a=r;else e[r+1]=To(c,0),a===0?a=r:e[c+1]=Fs(e[c+1],r),c=r;l&&(e[r+1]=ya(e[r+1])),Ru(e,u,r,!0),Ru(e,u,r,!1),_I(t,u,e,r,i),s=To(a,c),i?t.classBindings=s:t.styleBindings=s}function _I(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Gt(i,t)>=0&&(n[r+1]=va(n[r+1]))}function Ru(e,t,n,r){let o=e[n+1],i=t===null,s=r?Nt(o):ln(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];MI(c,t)&&(a=!0,e[s+1]=r?va(l):ya(l)),s=r?Nt(l):ln(l)}a&&(e[n+1]=r?ya(o):va(o))}function MI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Gt(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function NI(e){return e.substring(Ee.key,Ee.keyEnd)}function SI(e){return xI(e),Vf(e,Hf(e,0,Ee.textEnd))}function Vf(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=AI(e,Ee.key=t,n),Hf(e,t,n))}function xI(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Hf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function AI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Bf(e,t,n){return Uf(e,t,n,!1),Bf}function $f(e,t){return Uf(e,t,null,!0),$f}function RI(e){OI(HI,kI,e,!0)}function kI(e,t){for(let n=SI(t);n>=0;n=Vf(t,n))Kr(e,NI(t),!0)}function Uf(e,t,n,r){let o=y(),i=F(),s=co(2);if(i.firstUpdatePass&&qf(i,e,s,r),t!==X&&De(o,s,t)){let a=i.data[ve()];Gf(i,a,o,o[k],e,o[s+1]=$I(t,n),r,s)}}function OI(e,t,n,r){let o=F(),i=co(2);o.firstUpdatePass&&qf(o,null,i,r);let s=y();if(n!==X&&De(s,i,n)){let a=o.data[ve()];if(zf(a,r)&&!Wf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Wr(c,n||"")),ma(o,a,s,n,r)}else BI(o,a,s,s[k],s[i+1],s[i+1]=VI(e,t,n),r,i)}}function Wf(e,t){return t>=e.expandoStartIndex}function qf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=Wf(e,n);zf(i,r)&&t===null&&!s&&(t=!1),t=PI(o,i,t,r),bI(o,i,t,n,s,r)}}function PI(e,t,n,r){let o=Ll(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=js(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=js(o,e,t,n,r),i===null){let c=LI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=js(null,e,t,c[1],r),c=Gn(c,t.attrs,r),FI(e,t,r,c))}else i=jI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function LI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ln(r)!==0)return e[Nt(r)]}function FI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Nt(o)]=r}function jI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function js(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Kr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function VI(e,t,n){if(n==null||n==="")return z;let r=[],o=Zo(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function HI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Kr(e,r,n)}function BI(e,t,n,r,o,i,s,a){o===X&&(o=z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,v;u===d?(c+=2,l+=2,p!==f&&(h=d,v=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,v=f),h!==null&&Gf(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Gf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=CI(l)?ku(c,t,n,o,ln(l),s):void 0;if(!Go(u)){Go(i)||wI(l)&&(i=ku(c,null,n,o,a,s));let d=cs(ve(),n);Xm(r,s,d,o,i)}}function ku(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===X&&(p=d?z:void 0);let f=d?Jr(p,r):u===r?p:void 0;if(l&&!Go(f)&&(f=Jr(c,r)),Go(f)&&(a=f,s))return a;let h=e[o+1];o=s?Nt(h):ln(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Jr(c,r))}return a}function Go(e){return e!==void 0}function $I(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=_n(Zo(e)))),e}function zf(e,t){return(e.flags&(t?8:16))!==0}function UI(e,t=""){let n=y(),r=F(),o=e+O,i=r.firstCreatePass?At(r,o,1,t,null):r.data[o],s=WI(r,n,i,t);n[o]=s,go()&&Aa(r,n,s,i),wt(i,!1)}var WI=(e,t,n,r)=>(kn(!0),lm(t[k],r));function Qf(e,t,n,r=""){return De(e,Tt(),n)?t+Wt(n)+r:X}function Zf(e,t,n,r,o,i=""){let s=Al(),a=Xd(e,s,n,o);return co(2),a?t+Wt(n)+r+Wt(o)+i:X}function Yf(e){return Xa("",e),Yf}function Xa(e,t,n){let r=y(),o=Qf(r,e,t,n);return o!==X&&Jf(r,ve(),o),Xa}function Kf(e,t,n,r,o){let i=y(),s=Zf(i,e,t,n,r,o);return s!==X&&Jf(i,ve(),s),Kf}function Jf(e,t,n){let r=cs(t,e);um(e[k],r,n)}var Xf={};function ep(e){He("NgLet");let t=F(),n=y(),r=e+O,o=At(t,r,128,null,null);return wt(o,!1),An(t,n,r,Xf),ep}function qI(e){let t=F(),n=y(),r=ve();return An(t,n,r,e),e}function GI(e){let t=Es(),n=no(t,O+e);if(n===Xf)throw new b(314,!1);return n}function zI(e,t,n=""){return Qf(y(),e,t,n)}function QI(e,t,n,r,o=""){return Zf(y(),e,t,n,r,o)}function Ou(e,t,n){let r=F();r.firstCreatePass&&tp(t,r.data,r.blueprint,me(e),n)}function tp(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)tp(e[i],t,n,r,o);else{let i=F(),s=y(),a=Z(),c=dt(e)?e:H(e.provide),l=ns(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(dt(e)||!e.multi){let f=new _t(l,o,Xn,null),h=Hs(c,t,o?u:u+p,d);h===-1?(Us(ko(a,s),i,c),Vs(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Hs(c,t,u+p,d),h=Hs(c,t,u,u+p),v=f>=0&&n[f],C=h>=0&&n[h];if(o&&!C||!o&&!v){Us(ko(a,s),i,c);let N=KI(o?YI:ZI,n.length,o,r,l,e);!o&&C&&(n[h].providerFactory=N),Vs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=np(n[o?h:f],l,!o&&r);Vs(i,e,f>-1?f:h,N)}!o&&r&&C&&n[h].componentProviders++}}}function Vs(e,t,n,r){let o=dt(t),i=vl(t);if(o||i){let c=(i?H(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function np(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ZI(e,t,n,r,o){return Ia(this.multi,[])}function YI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Fn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),Ia(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Ia(i,s);return s}function Ia(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KI(e,t,n,r,o,i){let s=new _t(e,n,Xn,null);return s.multi=[],s.index=t,s.componentProviders=0,np(s,o,r&&!n),s}function JI(e,t){return n=>{n.providersResolver=(r,o)=>Ou(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Ou(r,o?o(t):t,!0))}}function XI(e,t,n){return op(y(),ao(),e,t,n)}function eE(e,t,n,r){return tE(y(),ao(),e,t,n,r)}function rp(e,t){let n=e[t];return n===X?void 0:n}function op(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?Jd(e,s+1,i?r.call(i,o):r(o)):rp(e,s+1)}function tE(e,t,n,r,o,i,s){let a=t+n;return Xd(e,a,o,i)?Jd(e,a+2,s?r.call(s,o,i):r(o,i)):rp(e,a+2)}function nE(e,t){let n=F(),r,o=e+O;n.firstCreatePass?(r=rE(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=We(r.type,!0)),s,a=Y(Xn);try{let c=Ro(!1),l=i();return Ro(c),An(n,y(),o,l),l}finally{Y(a)}}function rE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function oE(e,t,n){let r=e+O,o=y(),i=no(o,r);return iE(o,r)?op(o,ao(),t,i.transform,n,i):i.transform(n)}function iE(e,t){return e[g].data[t].pure}var ip=(()=>{class e{applicationErrorHandler=E(bt);appRef=E(er);taskService=E(Ct);ngZone=E(q);zonelessEnabled=E(Xt);tracing=E(xt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(vo,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){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 r=this.useMicrotaskScheduler?Gl:Ms;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Tn+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function sp(){return[{provide:_e,useExisting:ip},{provide:q,useClass:Cn},{provide:Xt,useValue:!0}]}var sE=(()=>{class e{compileModuleSync(n){return new $o(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function aE(){return typeof $localize<"u"&&$localize.locale||tr}var ec=new x("",{factory:()=>E(ec,{optional:!0,skipSelf:!0})||aE()});var oi=class{destroyed=!1;listeners=null;errorHandler=E(Pe,{optional:!0});destroyRef=E(je);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(bn(953,!1));return}if(this.listeners===null)return;let n=m(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{m(n)}}};function cE(e,t){return fn(e,t?.equal)}function lE(e){return hc(e)}var lp=Symbol("InputSignalNode#UNSET"),uE=U($({},pn),{transformFn:void 0,applyValueToInputSignal(e,t){Ot(e,t)}});function up(e,t){let n=Object.create(uE);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===lp){let o=null;throw new b(-950,o)}return n.value}return r[W]=n,r}function yP(e){return dE(e)?e.default:e}function dE(e){return e&&typeof e=="object"&&"default"in e}function vP(e){return new oi}function ap(e,t){return up(e,t)}function fE(e){return up(lp,e)}var IP=(ap.required=fE,ap);function cp(e,t){return pf(t)}function pE(e,t){return hf(t)}var EP=(cp.required=pE,cp);var hE=1e4;var DP=hE-1e3;var wP=(()=>{class e{static __NG_ELEMENT_ID__=gE}return e})();function gE(e){return mE(Z(),y(),(e&16)===16)}function mE(e,t,n){if(Fe(e)&&!n){let r=ae(e.index,t);return new Je(r,r)}else if(e.type&175){let r=t[K];return new Je(r,t)}return null}var yE=(()=>{class e{zone=E(q);changeDetectionScheduler=E(_e);applicationRef=E(er);applicationErrorHandler=E(bt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})(),vE=new x("",{factory:()=>!1});function IE({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new q(U($({},dp()),{scheduleInRootZone:t})),[{provide:Xt,useValue:!1},{provide:q,useFactory:e},{provide:ht,multi:!0,useFactory:()=>{let n=E(yE,{optional:!0});return()=>n.initialize()}},{provide:ht,multi:!0,useFactory:()=>{let n=E(EE);return()=>{n.initialize()}}},{provide:vo,useValue:t??_s}]}function TP(e){let t=e?.scheduleInRootZone,n=IE({ngZoneFactory:()=>{let r=dp(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new q(r)},scheduleInRootZone:t});return Ji([{provide:vE,useValue:!0},n])}function dp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var EE=(()=>{class e{subscription=new V;initialized=!1;zone=E(q);pendingTasks=E(Ct);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();var nc=new x(""),DE=new x("");function nr(e){return!e.moduleRef}function wE(e){let t=nr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{nr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(bt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),nr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(nc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(nc);s.add(i),e.moduleRef.onDestroy(()=>{Ln(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return CE(r,n,()=>{let i=t.get(Ct),s=i.add(),a=t.get(Ga);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ec,tr);if(Pf(c||tr),!t.get(DE,!0))return nr(e)?t.get(er):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(nr(e)){let u=t.get(er);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return TE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var TE;function CE(e,t,n){try{let r=n();return qa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ii=null;function bE(e=[],t){return fe.create({name:t,providers:[{provide:ts,useValue:"platform"},{provide:nc,useValue:new Set([()=>ii=null])},...e]})}function _E(e=[]){if(ii)return ii;let t=bE(e);return ii=t,Mf(),ME(t),t}function ME(e){let t=e.get(Yl,null);Xr(e,()=>{t?.forEach(n=>n())})}function CP(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(M.BootstrapApplicationStart);try{let i=o?.injector??_E(r),s=[sp(),Ql,...n||[]],a=new Wn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return wE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(M.BootstrapApplicationEnd)}}var tc=Symbol("NOT_SET"),fp=new Set,NE=U($({},pn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:tc,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)return this.signal;if(this.dirty=!1,this.value!==tc&&!Rt(this))return this.signal;try{for(let o of this.cleanup??fp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Be(this),r;try{r=this.userFn.apply(null,t)}finally{tt(this,n)}return(this.value===tc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),rc=class extends jn{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(je),s),this.scheduler=o;for(let a of Ma){let c=n[a];if(c===void 0)continue;let l=Object.create(NE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(et(l),l.value),l.signal[W]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??fp)n()}finally{$e(t)}}};function bP(e,t){let n=t?.injector??E(fe),r=n.get(_e),o=n.get(Ko),i=n.get(xt,null,{optional:!0});o.impl??=n.get(Na);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Jt,null,{optional:!0}),c=new rc(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function _P(e,t){let n=Ge(e),r=t.elementInjector||zt();return new an(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{$ as a,U as b,Ip as c,SE as d,xE as e,li as f,V as g,Ap as h,S as i,te as j,gn as k,yn as l,it as m,Ce as n,$p as o,Up as p,Wp as q,at as r,qp as s,Ue as t,Xp as u,ct as v,Pr as w,th as x,Ni as y,nh as z,rh as A,Bt as B,Uc as C,oh as D,ih as E,Lr as F,Gc as G,ch as H,lh as I,uh as J,Qc as K,Yc as L,dh as M,Kc as N,Jc as O,fh as P,Xc as Q,b as R,bn as S,pe as T,il as U,gh as V,x as W,be as X,E as Y,Ji as Z,ts as _,re as $,Xr as aa,Nl as ba,Sl as ca,$l as da,Ul as ea,fe as fa,mo as ga,je as ha,Ct as ia,Re as ja,q as ka,Pe as la,bt as ma,yo as na,Zl as oa,Yl as pa,qh as qa,Gh as ra,zh as sa,_e as ta,Kl as ua,ug as va,Ng as wa,St as xa,Qn as ya,Lg as za,Mt as Aa,hm as Ba,mm as Ca,Fo as Da,on as Ea,xt as Fa,He as Ga,km as Ha,ry as Ia,$n as Ja,By as Ka,nf as La,Xn as Ma,qy as Na,ri as Oa,qa as Pa,gf as Qa,cn as Ra,mf as Sa,Sv as Ta,yf as Ua,Av as Va,kv as Wa,Lv as Xa,Fv as Ya,Vv as Za,wf as _a,Cf as $a,Kv as ab,_f as bb,er as cb,Nf as db,tI as eb,nI as fb,rI as gb,oI as hb,iI as ib,sI as jb,Sf as kb,qo as lb,Qa as mb,xf as nb,Za as ob,Ya as pb,Af as qb,kf as rb,fI as sb,Of as tb,Lf as ub,Ff as vb,gI as wb,yI as xb,vI as yb,jf as zb,EI as Ab,DI as Bb,Bf as Cb,$f as Db,RI as Eb,UI as Fb,Yf as Gb,Xa as Hb,Kf as Ib,ep as Jb,qI as Kb,GI as Lb,zI as Mb,QI as Nb,JI as Ob,XI as Pb,eE as Qb,nE as Rb,oE as Sb,sE as Tb,cE as Ub,lE as Vb,yP as Wb,vP as Xb,IP as Yb,EP as Zb,wP as _b,TP as $b,CP as ac,bP as bc,_P as cc};