@selvakumaresra/specship 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/.claude-plugin/plugin.json +6 -0
  2. package/LICENSE +21 -0
  3. package/README.md +573 -0
  4. package/agents/specship-explorer.md +29 -0
  5. package/commands/cg-drifted.md +23 -0
  6. package/commands/cg-explore.md +13 -0
  7. package/commands/cg-fix.md +21 -0
  8. package/commands/cg-impact.md +13 -0
  9. package/commands/cg-implement.md +23 -0
  10. package/commands/cg-relink.md +21 -0
  11. package/commands/cg-spec.md +19 -0
  12. package/commands/cg-sync.md +8 -0
  13. package/commands/cg-trace.md +13 -0
  14. package/dist/bin/node-version-check.d.ts +37 -0
  15. package/dist/bin/node-version-check.d.ts.map +1 -0
  16. package/dist/bin/node-version-check.js +79 -0
  17. package/dist/bin/node-version-check.js.map +1 -0
  18. package/dist/bin/specship.d.ts +25 -0
  19. package/dist/bin/specship.d.ts.map +1 -0
  20. package/dist/bin/specship.js +2018 -0
  21. package/dist/bin/specship.js.map +1 -0
  22. package/dist/bin/uninstall.d.ts +13 -0
  23. package/dist/bin/uninstall.d.ts.map +1 -0
  24. package/dist/bin/uninstall.js +35 -0
  25. package/dist/bin/uninstall.js.map +1 -0
  26. package/dist/context/formatter.d.ts +30 -0
  27. package/dist/context/formatter.d.ts.map +1 -0
  28. package/dist/context/formatter.js +263 -0
  29. package/dist/context/formatter.js.map +1 -0
  30. package/dist/context/index.d.ts +119 -0
  31. package/dist/context/index.d.ts.map +1 -0
  32. package/dist/context/index.js +1289 -0
  33. package/dist/context/index.js.map +1 -0
  34. package/dist/context/markers.d.ts +19 -0
  35. package/dist/context/markers.d.ts.map +1 -0
  36. package/dist/context/markers.js +22 -0
  37. package/dist/context/markers.js.map +1 -0
  38. package/dist/db/index.d.ts +101 -0
  39. package/dist/db/index.d.ts.map +1 -0
  40. package/dist/db/index.js +276 -0
  41. package/dist/db/index.js.map +1 -0
  42. package/dist/db/migrations.d.ts +44 -0
  43. package/dist/db/migrations.d.ts.map +1 -0
  44. package/dist/db/migrations.js +427 -0
  45. package/dist/db/migrations.js.map +1 -0
  46. package/dist/db/queries.d.ts +357 -0
  47. package/dist/db/queries.d.ts.map +1 -0
  48. package/dist/db/queries.js +1504 -0
  49. package/dist/db/queries.js.map +1 -0
  50. package/dist/db/schema.sql +410 -0
  51. package/dist/db/spec-queries.d.ts +101 -0
  52. package/dist/db/spec-queries.d.ts.map +1 -0
  53. package/dist/db/spec-queries.js +675 -0
  54. package/dist/db/spec-queries.js.map +1 -0
  55. package/dist/db/sqlite-adapter.d.ts +65 -0
  56. package/dist/db/sqlite-adapter.d.ts.map +1 -0
  57. package/dist/db/sqlite-adapter.js +214 -0
  58. package/dist/db/sqlite-adapter.js.map +1 -0
  59. package/dist/directory.d.ts +57 -0
  60. package/dist/directory.d.ts.map +1 -0
  61. package/dist/directory.js +253 -0
  62. package/dist/directory.js.map +1 -0
  63. package/dist/errors.d.ts +136 -0
  64. package/dist/errors.d.ts.map +1 -0
  65. package/dist/errors.js +219 -0
  66. package/dist/errors.js.map +1 -0
  67. package/dist/extraction/dfm-extractor.d.ts +31 -0
  68. package/dist/extraction/dfm-extractor.d.ts.map +1 -0
  69. package/dist/extraction/dfm-extractor.js +151 -0
  70. package/dist/extraction/dfm-extractor.js.map +1 -0
  71. package/dist/extraction/generated-detection.d.ts +30 -0
  72. package/dist/extraction/generated-detection.d.ts.map +1 -0
  73. package/dist/extraction/generated-detection.js +80 -0
  74. package/dist/extraction/generated-detection.js.map +1 -0
  75. package/dist/extraction/grammars.d.ts +100 -0
  76. package/dist/extraction/grammars.d.ts.map +1 -0
  77. package/dist/extraction/grammars.js +426 -0
  78. package/dist/extraction/grammars.js.map +1 -0
  79. package/dist/extraction/index.d.ts +138 -0
  80. package/dist/extraction/index.d.ts.map +1 -0
  81. package/dist/extraction/index.js +1394 -0
  82. package/dist/extraction/index.js.map +1 -0
  83. package/dist/extraction/languages/c-cpp.d.ts +4 -0
  84. package/dist/extraction/languages/c-cpp.d.ts.map +1 -0
  85. package/dist/extraction/languages/c-cpp.js +171 -0
  86. package/dist/extraction/languages/c-cpp.js.map +1 -0
  87. package/dist/extraction/languages/csharp.d.ts +3 -0
  88. package/dist/extraction/languages/csharp.d.ts.map +1 -0
  89. package/dist/extraction/languages/csharp.js +73 -0
  90. package/dist/extraction/languages/csharp.js.map +1 -0
  91. package/dist/extraction/languages/dart.d.ts +3 -0
  92. package/dist/extraction/languages/dart.d.ts.map +1 -0
  93. package/dist/extraction/languages/dart.js +192 -0
  94. package/dist/extraction/languages/dart.js.map +1 -0
  95. package/dist/extraction/languages/go.d.ts +3 -0
  96. package/dist/extraction/languages/go.d.ts.map +1 -0
  97. package/dist/extraction/languages/go.js +74 -0
  98. package/dist/extraction/languages/go.js.map +1 -0
  99. package/dist/extraction/languages/index.d.ts +10 -0
  100. package/dist/extraction/languages/index.d.ts.map +1 -0
  101. package/dist/extraction/languages/index.js +51 -0
  102. package/dist/extraction/languages/index.js.map +1 -0
  103. package/dist/extraction/languages/java.d.ts +3 -0
  104. package/dist/extraction/languages/java.d.ts.map +1 -0
  105. package/dist/extraction/languages/java.js +70 -0
  106. package/dist/extraction/languages/java.js.map +1 -0
  107. package/dist/extraction/languages/javascript.d.ts +3 -0
  108. package/dist/extraction/languages/javascript.d.ts.map +1 -0
  109. package/dist/extraction/languages/javascript.js +90 -0
  110. package/dist/extraction/languages/javascript.js.map +1 -0
  111. package/dist/extraction/languages/kotlin.d.ts +3 -0
  112. package/dist/extraction/languages/kotlin.d.ts.map +1 -0
  113. package/dist/extraction/languages/kotlin.js +259 -0
  114. package/dist/extraction/languages/kotlin.js.map +1 -0
  115. package/dist/extraction/languages/lua.d.ts +3 -0
  116. package/dist/extraction/languages/lua.d.ts.map +1 -0
  117. package/dist/extraction/languages/lua.js +150 -0
  118. package/dist/extraction/languages/lua.js.map +1 -0
  119. package/dist/extraction/languages/luau.d.ts +3 -0
  120. package/dist/extraction/languages/luau.d.ts.map +1 -0
  121. package/dist/extraction/languages/luau.js +37 -0
  122. package/dist/extraction/languages/luau.js.map +1 -0
  123. package/dist/extraction/languages/objc.d.ts +3 -0
  124. package/dist/extraction/languages/objc.d.ts.map +1 -0
  125. package/dist/extraction/languages/objc.js +133 -0
  126. package/dist/extraction/languages/objc.js.map +1 -0
  127. package/dist/extraction/languages/pascal.d.ts +3 -0
  128. package/dist/extraction/languages/pascal.d.ts.map +1 -0
  129. package/dist/extraction/languages/pascal.js +66 -0
  130. package/dist/extraction/languages/pascal.js.map +1 -0
  131. package/dist/extraction/languages/php.d.ts +3 -0
  132. package/dist/extraction/languages/php.d.ts.map +1 -0
  133. package/dist/extraction/languages/php.js +107 -0
  134. package/dist/extraction/languages/php.js.map +1 -0
  135. package/dist/extraction/languages/python.d.ts +3 -0
  136. package/dist/extraction/languages/python.d.ts.map +1 -0
  137. package/dist/extraction/languages/python.js +56 -0
  138. package/dist/extraction/languages/python.js.map +1 -0
  139. package/dist/extraction/languages/ruby.d.ts +3 -0
  140. package/dist/extraction/languages/ruby.d.ts.map +1 -0
  141. package/dist/extraction/languages/ruby.js +114 -0
  142. package/dist/extraction/languages/ruby.js.map +1 -0
  143. package/dist/extraction/languages/rust.d.ts +3 -0
  144. package/dist/extraction/languages/rust.d.ts.map +1 -0
  145. package/dist/extraction/languages/rust.js +109 -0
  146. package/dist/extraction/languages/rust.js.map +1 -0
  147. package/dist/extraction/languages/scala.d.ts +3 -0
  148. package/dist/extraction/languages/scala.d.ts.map +1 -0
  149. package/dist/extraction/languages/scala.js +139 -0
  150. package/dist/extraction/languages/scala.js.map +1 -0
  151. package/dist/extraction/languages/swift.d.ts +3 -0
  152. package/dist/extraction/languages/swift.d.ts.map +1 -0
  153. package/dist/extraction/languages/swift.js +91 -0
  154. package/dist/extraction/languages/swift.js.map +1 -0
  155. package/dist/extraction/languages/typescript.d.ts +3 -0
  156. package/dist/extraction/languages/typescript.d.ts.map +1 -0
  157. package/dist/extraction/languages/typescript.js +129 -0
  158. package/dist/extraction/languages/typescript.js.map +1 -0
  159. package/dist/extraction/liquid-extractor.d.ts +52 -0
  160. package/dist/extraction/liquid-extractor.d.ts.map +1 -0
  161. package/dist/extraction/liquid-extractor.js +313 -0
  162. package/dist/extraction/liquid-extractor.js.map +1 -0
  163. package/dist/extraction/mybatis-extractor.d.ts +48 -0
  164. package/dist/extraction/mybatis-extractor.d.ts.map +1 -0
  165. package/dist/extraction/mybatis-extractor.js +198 -0
  166. package/dist/extraction/mybatis-extractor.js.map +1 -0
  167. package/dist/extraction/parse-worker.d.ts +8 -0
  168. package/dist/extraction/parse-worker.d.ts.map +1 -0
  169. package/dist/extraction/parse-worker.js +94 -0
  170. package/dist/extraction/parse-worker.js.map +1 -0
  171. package/dist/extraction/specs/markdown-spec-extractor.d.ts +59 -0
  172. package/dist/extraction/specs/markdown-spec-extractor.d.ts.map +1 -0
  173. package/dist/extraction/specs/markdown-spec-extractor.js +327 -0
  174. package/dist/extraction/specs/markdown-spec-extractor.js.map +1 -0
  175. package/dist/extraction/specs/types.d.ts +39 -0
  176. package/dist/extraction/specs/types.d.ts.map +1 -0
  177. package/dist/extraction/specs/types.js +8 -0
  178. package/dist/extraction/specs/types.js.map +1 -0
  179. package/dist/extraction/svelte-extractor.d.ts +56 -0
  180. package/dist/extraction/svelte-extractor.d.ts.map +1 -0
  181. package/dist/extraction/svelte-extractor.js +272 -0
  182. package/dist/extraction/svelte-extractor.js.map +1 -0
  183. package/dist/extraction/tree-sitter-helpers.d.ts +28 -0
  184. package/dist/extraction/tree-sitter-helpers.d.ts.map +1 -0
  185. package/dist/extraction/tree-sitter-helpers.js +103 -0
  186. package/dist/extraction/tree-sitter-helpers.js.map +1 -0
  187. package/dist/extraction/tree-sitter-types.d.ts +193 -0
  188. package/dist/extraction/tree-sitter-types.d.ts.map +1 -0
  189. package/dist/extraction/tree-sitter-types.js +10 -0
  190. package/dist/extraction/tree-sitter-types.js.map +1 -0
  191. package/dist/extraction/tree-sitter.d.ts +317 -0
  192. package/dist/extraction/tree-sitter.d.ts.map +1 -0
  193. package/dist/extraction/tree-sitter.js +3092 -0
  194. package/dist/extraction/tree-sitter.js.map +1 -0
  195. package/dist/extraction/vue-extractor.d.ts +51 -0
  196. package/dist/extraction/vue-extractor.d.ts.map +1 -0
  197. package/dist/extraction/vue-extractor.js +251 -0
  198. package/dist/extraction/vue-extractor.js.map +1 -0
  199. package/dist/extraction/wasm/tree-sitter-lua.wasm +0 -0
  200. package/dist/extraction/wasm/tree-sitter-luau.wasm +0 -0
  201. package/dist/extraction/wasm/tree-sitter-pascal.wasm +0 -0
  202. package/dist/extraction/wasm/tree-sitter-scala.wasm +0 -0
  203. package/dist/extraction/wasm-runtime-flags.d.ts +38 -0
  204. package/dist/extraction/wasm-runtime-flags.d.ts.map +1 -0
  205. package/dist/extraction/wasm-runtime-flags.js +106 -0
  206. package/dist/extraction/wasm-runtime-flags.js.map +1 -0
  207. package/dist/graph/index.d.ts +8 -0
  208. package/dist/graph/index.d.ts.map +1 -0
  209. package/dist/graph/index.js +13 -0
  210. package/dist/graph/index.js.map +1 -0
  211. package/dist/graph/queries.d.ts +106 -0
  212. package/dist/graph/queries.d.ts.map +1 -0
  213. package/dist/graph/queries.js +366 -0
  214. package/dist/graph/queries.js.map +1 -0
  215. package/dist/graph/traversal.d.ts +127 -0
  216. package/dist/graph/traversal.d.ts.map +1 -0
  217. package/dist/graph/traversal.js +531 -0
  218. package/dist/graph/traversal.js.map +1 -0
  219. package/dist/index.d.ts +551 -0
  220. package/dist/index.d.ts.map +1 -0
  221. package/dist/index.js +1165 -0
  222. package/dist/index.js.map +1 -0
  223. package/dist/installer/config-writer.d.ts +28 -0
  224. package/dist/installer/config-writer.d.ts.map +1 -0
  225. package/dist/installer/config-writer.js +91 -0
  226. package/dist/installer/config-writer.js.map +1 -0
  227. package/dist/installer/index.d.ts +87 -0
  228. package/dist/installer/index.d.ts.map +1 -0
  229. package/dist/installer/index.js +409 -0
  230. package/dist/installer/index.js.map +1 -0
  231. package/dist/installer/instructions-template.d.ts +18 -0
  232. package/dist/installer/instructions-template.d.ts.map +1 -0
  233. package/dist/installer/instructions-template.js +21 -0
  234. package/dist/installer/instructions-template.js.map +1 -0
  235. package/dist/installer/targets/claude.d.ts +88 -0
  236. package/dist/installer/targets/claude.d.ts.map +1 -0
  237. package/dist/installer/targets/claude.js +582 -0
  238. package/dist/installer/targets/claude.js.map +1 -0
  239. package/dist/installer/targets/registry.d.ts +19 -0
  240. package/dist/installer/targets/registry.d.ts.map +1 -0
  241. package/dist/installer/targets/registry.js +31 -0
  242. package/dist/installer/targets/registry.js.map +1 -0
  243. package/dist/installer/targets/shared.d.ts +62 -0
  244. package/dist/installer/targets/shared.d.ts.map +1 -0
  245. package/dist/installer/targets/shared.js +207 -0
  246. package/dist/installer/targets/shared.js.map +1 -0
  247. package/dist/installer/targets/types.d.ts +76 -0
  248. package/dist/installer/targets/types.d.ts.map +1 -0
  249. package/dist/installer/targets/types.js +12 -0
  250. package/dist/installer/targets/types.js.map +1 -0
  251. package/dist/isolation/worktree.d.ts +65 -0
  252. package/dist/isolation/worktree.d.ts.map +1 -0
  253. package/dist/isolation/worktree.js +231 -0
  254. package/dist/isolation/worktree.js.map +1 -0
  255. package/dist/mcp/daemon-paths.d.ts +46 -0
  256. package/dist/mcp/daemon-paths.d.ts.map +1 -0
  257. package/dist/mcp/daemon-paths.js +125 -0
  258. package/dist/mcp/daemon-paths.js.map +1 -0
  259. package/dist/mcp/daemon.d.ts +161 -0
  260. package/dist/mcp/daemon.d.ts.map +1 -0
  261. package/dist/mcp/daemon.js +403 -0
  262. package/dist/mcp/daemon.js.map +1 -0
  263. package/dist/mcp/engine.d.ts +105 -0
  264. package/dist/mcp/engine.d.ts.map +1 -0
  265. package/dist/mcp/engine.js +270 -0
  266. package/dist/mcp/engine.js.map +1 -0
  267. package/dist/mcp/index.d.ts +112 -0
  268. package/dist/mcp/index.d.ts.map +1 -0
  269. package/dist/mcp/index.js +477 -0
  270. package/dist/mcp/index.js.map +1 -0
  271. package/dist/mcp/proxy.d.ts +81 -0
  272. package/dist/mcp/proxy.d.ts.map +1 -0
  273. package/dist/mcp/proxy.js +510 -0
  274. package/dist/mcp/proxy.js.map +1 -0
  275. package/dist/mcp/server-instructions.d.ts +18 -0
  276. package/dist/mcp/server-instructions.d.ts.map +1 -0
  277. package/dist/mcp/server-instructions.js +77 -0
  278. package/dist/mcp/server-instructions.js.map +1 -0
  279. package/dist/mcp/session.d.ts +77 -0
  280. package/dist/mcp/session.d.ts.map +1 -0
  281. package/dist/mcp/session.js +294 -0
  282. package/dist/mcp/session.js.map +1 -0
  283. package/dist/mcp/spec-tools.d.ts +39 -0
  284. package/dist/mcp/spec-tools.d.ts.map +1 -0
  285. package/dist/mcp/spec-tools.js +326 -0
  286. package/dist/mcp/spec-tools.js.map +1 -0
  287. package/dist/mcp/tools.d.ts +404 -0
  288. package/dist/mcp/tools.d.ts.map +1 -0
  289. package/dist/mcp/tools.js +3066 -0
  290. package/dist/mcp/tools.js.map +1 -0
  291. package/dist/mcp/transport.d.ts +188 -0
  292. package/dist/mcp/transport.d.ts.map +1 -0
  293. package/dist/mcp/transport.js +343 -0
  294. package/dist/mcp/transport.js.map +1 -0
  295. package/dist/mcp/version.d.ts +19 -0
  296. package/dist/mcp/version.d.ts.map +1 -0
  297. package/dist/mcp/version.js +71 -0
  298. package/dist/mcp/version.js.map +1 -0
  299. package/dist/resolution/callback-synthesizer.d.ts +10 -0
  300. package/dist/resolution/callback-synthesizer.d.ts.map +1 -0
  301. package/dist/resolution/callback-synthesizer.js +1300 -0
  302. package/dist/resolution/callback-synthesizer.js.map +1 -0
  303. package/dist/resolution/frameworks/cargo-workspace.d.ts +18 -0
  304. package/dist/resolution/frameworks/cargo-workspace.d.ts.map +1 -0
  305. package/dist/resolution/frameworks/cargo-workspace.js +225 -0
  306. package/dist/resolution/frameworks/cargo-workspace.js.map +1 -0
  307. package/dist/resolution/frameworks/csharp.d.ts +8 -0
  308. package/dist/resolution/frameworks/csharp.d.ts.map +1 -0
  309. package/dist/resolution/frameworks/csharp.js +241 -0
  310. package/dist/resolution/frameworks/csharp.js.map +1 -0
  311. package/dist/resolution/frameworks/drupal.d.ts +51 -0
  312. package/dist/resolution/frameworks/drupal.d.ts.map +1 -0
  313. package/dist/resolution/frameworks/drupal.js +367 -0
  314. package/dist/resolution/frameworks/drupal.js.map +1 -0
  315. package/dist/resolution/frameworks/expo-modules.d.ts +3 -0
  316. package/dist/resolution/frameworks/expo-modules.d.ts.map +1 -0
  317. package/dist/resolution/frameworks/expo-modules.js +143 -0
  318. package/dist/resolution/frameworks/expo-modules.js.map +1 -0
  319. package/dist/resolution/frameworks/express.d.ts +8 -0
  320. package/dist/resolution/frameworks/express.d.ts.map +1 -0
  321. package/dist/resolution/frameworks/express.js +308 -0
  322. package/dist/resolution/frameworks/express.js.map +1 -0
  323. package/dist/resolution/frameworks/fabric.d.ts +3 -0
  324. package/dist/resolution/frameworks/fabric.d.ts.map +1 -0
  325. package/dist/resolution/frameworks/fabric.js +354 -0
  326. package/dist/resolution/frameworks/fabric.js.map +1 -0
  327. package/dist/resolution/frameworks/go.d.ts +8 -0
  328. package/dist/resolution/frameworks/go.d.ts.map +1 -0
  329. package/dist/resolution/frameworks/go.js +161 -0
  330. package/dist/resolution/frameworks/go.js.map +1 -0
  331. package/dist/resolution/frameworks/index.d.ts +48 -0
  332. package/dist/resolution/frameworks/index.d.ts.map +1 -0
  333. package/dist/resolution/frameworks/index.js +161 -0
  334. package/dist/resolution/frameworks/index.js.map +1 -0
  335. package/dist/resolution/frameworks/java.d.ts +8 -0
  336. package/dist/resolution/frameworks/java.d.ts.map +1 -0
  337. package/dist/resolution/frameworks/java.js +504 -0
  338. package/dist/resolution/frameworks/java.js.map +1 -0
  339. package/dist/resolution/frameworks/laravel.d.ts +13 -0
  340. package/dist/resolution/frameworks/laravel.d.ts.map +1 -0
  341. package/dist/resolution/frameworks/laravel.js +257 -0
  342. package/dist/resolution/frameworks/laravel.js.map +1 -0
  343. package/dist/resolution/frameworks/nestjs.d.ts +26 -0
  344. package/dist/resolution/frameworks/nestjs.d.ts.map +1 -0
  345. package/dist/resolution/frameworks/nestjs.js +698 -0
  346. package/dist/resolution/frameworks/nestjs.js.map +1 -0
  347. package/dist/resolution/frameworks/play.d.ts +19 -0
  348. package/dist/resolution/frameworks/play.d.ts.map +1 -0
  349. package/dist/resolution/frameworks/play.js +111 -0
  350. package/dist/resolution/frameworks/play.js.map +1 -0
  351. package/dist/resolution/frameworks/python.d.ts +10 -0
  352. package/dist/resolution/frameworks/python.d.ts.map +1 -0
  353. package/dist/resolution/frameworks/python.js +396 -0
  354. package/dist/resolution/frameworks/python.js.map +1 -0
  355. package/dist/resolution/frameworks/react-native.d.ts +3 -0
  356. package/dist/resolution/frameworks/react-native.d.ts.map +1 -0
  357. package/dist/resolution/frameworks/react-native.js +360 -0
  358. package/dist/resolution/frameworks/react-native.js.map +1 -0
  359. package/dist/resolution/frameworks/react.d.ts +8 -0
  360. package/dist/resolution/frameworks/react.d.ts.map +1 -0
  361. package/dist/resolution/frameworks/react.js +365 -0
  362. package/dist/resolution/frameworks/react.js.map +1 -0
  363. package/dist/resolution/frameworks/ruby.d.ts +8 -0
  364. package/dist/resolution/frameworks/ruby.d.ts.map +1 -0
  365. package/dist/resolution/frameworks/ruby.js +302 -0
  366. package/dist/resolution/frameworks/ruby.js.map +1 -0
  367. package/dist/resolution/frameworks/rust.d.ts +8 -0
  368. package/dist/resolution/frameworks/rust.d.ts.map +1 -0
  369. package/dist/resolution/frameworks/rust.js +304 -0
  370. package/dist/resolution/frameworks/rust.js.map +1 -0
  371. package/dist/resolution/frameworks/svelte.d.ts +9 -0
  372. package/dist/resolution/frameworks/svelte.d.ts.map +1 -0
  373. package/dist/resolution/frameworks/svelte.js +249 -0
  374. package/dist/resolution/frameworks/svelte.js.map +1 -0
  375. package/dist/resolution/frameworks/swift-objc.d.ts +37 -0
  376. package/dist/resolution/frameworks/swift-objc.d.ts.map +1 -0
  377. package/dist/resolution/frameworks/swift-objc.js +252 -0
  378. package/dist/resolution/frameworks/swift-objc.js.map +1 -0
  379. package/dist/resolution/frameworks/swift.d.ts +10 -0
  380. package/dist/resolution/frameworks/swift.d.ts.map +1 -0
  381. package/dist/resolution/frameworks/swift.js +400 -0
  382. package/dist/resolution/frameworks/swift.js.map +1 -0
  383. package/dist/resolution/frameworks/vue.d.ts +9 -0
  384. package/dist/resolution/frameworks/vue.d.ts.map +1 -0
  385. package/dist/resolution/frameworks/vue.js +306 -0
  386. package/dist/resolution/frameworks/vue.js.map +1 -0
  387. package/dist/resolution/go-module.d.ts +26 -0
  388. package/dist/resolution/go-module.d.ts.map +1 -0
  389. package/dist/resolution/go-module.js +78 -0
  390. package/dist/resolution/go-module.js.map +1 -0
  391. package/dist/resolution/import-resolver.d.ts +68 -0
  392. package/dist/resolution/import-resolver.d.ts.map +1 -0
  393. package/dist/resolution/import-resolver.js +1275 -0
  394. package/dist/resolution/import-resolver.js.map +1 -0
  395. package/dist/resolution/index.d.ts +117 -0
  396. package/dist/resolution/index.d.ts.map +1 -0
  397. package/dist/resolution/index.js +895 -0
  398. package/dist/resolution/index.js.map +1 -0
  399. package/dist/resolution/lru-cache.d.ts +24 -0
  400. package/dist/resolution/lru-cache.d.ts.map +1 -0
  401. package/dist/resolution/lru-cache.js +62 -0
  402. package/dist/resolution/lru-cache.js.map +1 -0
  403. package/dist/resolution/name-matcher.d.ts +32 -0
  404. package/dist/resolution/name-matcher.d.ts.map +1 -0
  405. package/dist/resolution/name-matcher.js +596 -0
  406. package/dist/resolution/name-matcher.js.map +1 -0
  407. package/dist/resolution/path-aliases.d.ts +68 -0
  408. package/dist/resolution/path-aliases.d.ts.map +1 -0
  409. package/dist/resolution/path-aliases.js +238 -0
  410. package/dist/resolution/path-aliases.js.map +1 -0
  411. package/dist/resolution/spec-link-resolver.d.ts +103 -0
  412. package/dist/resolution/spec-link-resolver.d.ts.map +1 -0
  413. package/dist/resolution/spec-link-resolver.js +259 -0
  414. package/dist/resolution/spec-link-resolver.js.map +1 -0
  415. package/dist/resolution/strip-comments.d.ts +27 -0
  416. package/dist/resolution/strip-comments.d.ts.map +1 -0
  417. package/dist/resolution/strip-comments.js +441 -0
  418. package/dist/resolution/strip-comments.js.map +1 -0
  419. package/dist/resolution/swift-objc-bridge.d.ts +134 -0
  420. package/dist/resolution/swift-objc-bridge.d.ts.map +1 -0
  421. package/dist/resolution/swift-objc-bridge.js +256 -0
  422. package/dist/resolution/swift-objc-bridge.js.map +1 -0
  423. package/dist/resolution/types.d.ts +216 -0
  424. package/dist/resolution/types.d.ts.map +1 -0
  425. package/dist/resolution/types.js +8 -0
  426. package/dist/resolution/types.js.map +1 -0
  427. package/dist/resolution/workspace-packages.d.ts +48 -0
  428. package/dist/resolution/workspace-packages.d.ts.map +1 -0
  429. package/dist/resolution/workspace-packages.js +208 -0
  430. package/dist/resolution/workspace-packages.js.map +1 -0
  431. package/dist/search/query-parser.d.ts +57 -0
  432. package/dist/search/query-parser.d.ts.map +1 -0
  433. package/dist/search/query-parser.js +177 -0
  434. package/dist/search/query-parser.js.map +1 -0
  435. package/dist/search/query-utils.d.ts +71 -0
  436. package/dist/search/query-utils.d.ts.map +1 -0
  437. package/dist/search/query-utils.js +380 -0
  438. package/dist/search/query-utils.js.map +1 -0
  439. package/dist/server/cli.js +152 -0
  440. package/dist/server/index.js +12 -0
  441. package/dist/server/ingest/index.js +18 -0
  442. package/dist/server/ingest/ingestor.js +406 -0
  443. package/dist/server/ingest/parser.js +104 -0
  444. package/dist/server/ingest/pricing.js +78 -0
  445. package/dist/server/ingest/types.js +9 -0
  446. package/dist/server/ingest/watcher.js +77 -0
  447. package/dist/server/package.json +3 -0
  448. package/dist/server/project-registry.js +101 -0
  449. package/dist/server/routes/claude.js +480 -0
  450. package/dist/server/routes/graph.js +149 -0
  451. package/dist/server/routes/memory.js +272 -0
  452. package/dist/server/routes/projects.js +197 -0
  453. package/dist/server/routes/spec.js +105 -0
  454. package/dist/server/routes/status.js +35 -0
  455. package/dist/server/routes/workflow.js +184 -0
  456. package/dist/server/server.js +202 -0
  457. package/dist/sync/git-hooks.d.ts +45 -0
  458. package/dist/sync/git-hooks.d.ts.map +1 -0
  459. package/dist/sync/git-hooks.js +225 -0
  460. package/dist/sync/git-hooks.js.map +1 -0
  461. package/dist/sync/index.d.ts +19 -0
  462. package/dist/sync/index.d.ts.map +1 -0
  463. package/dist/sync/index.js +35 -0
  464. package/dist/sync/index.js.map +1 -0
  465. package/dist/sync/watch-policy.d.ts +48 -0
  466. package/dist/sync/watch-policy.d.ts.map +1 -0
  467. package/dist/sync/watch-policy.js +124 -0
  468. package/dist/sync/watch-policy.js.map +1 -0
  469. package/dist/sync/watcher.d.ts +283 -0
  470. package/dist/sync/watcher.d.ts.map +1 -0
  471. package/dist/sync/watcher.js +606 -0
  472. package/dist/sync/watcher.js.map +1 -0
  473. package/dist/sync/worktree.d.ts +54 -0
  474. package/dist/sync/worktree.d.ts.map +1 -0
  475. package/dist/sync/worktree.js +137 -0
  476. package/dist/sync/worktree.js.map +1 -0
  477. package/dist/types.d.ts +623 -0
  478. package/dist/types.d.ts.map +1 -0
  479. package/dist/types.js +108 -0
  480. package/dist/types.js.map +1 -0
  481. package/dist/ui/glyphs.d.ts +42 -0
  482. package/dist/ui/glyphs.d.ts.map +1 -0
  483. package/dist/ui/glyphs.js +78 -0
  484. package/dist/ui/glyphs.js.map +1 -0
  485. package/dist/ui/shimmer-progress.d.ts +11 -0
  486. package/dist/ui/shimmer-progress.d.ts.map +1 -0
  487. package/dist/ui/shimmer-progress.js +90 -0
  488. package/dist/ui/shimmer-progress.js.map +1 -0
  489. package/dist/ui/shimmer-worker.d.ts +2 -0
  490. package/dist/ui/shimmer-worker.d.ts.map +1 -0
  491. package/dist/ui/shimmer-worker.js +118 -0
  492. package/dist/ui/shimmer-worker.js.map +1 -0
  493. package/dist/ui/types.d.ts +17 -0
  494. package/dist/ui/types.d.ts.map +1 -0
  495. package/dist/ui/types.js +3 -0
  496. package/dist/ui/types.js.map +1 -0
  497. package/dist/utils.d.ts +205 -0
  498. package/dist/utils.d.ts.map +1 -0
  499. package/dist/utils.js +549 -0
  500. package/dist/utils.js.map +1 -0
  501. package/dist/web/chunk-2YZXEHZ2.js +1 -0
  502. package/dist/web/chunk-3GIC555L.js +18 -0
  503. package/dist/web/chunk-3IIIGRMT.js +1 -0
  504. package/dist/web/chunk-47QYKLE5.js +1 -0
  505. package/dist/web/chunk-4LHBWWP7.js +1 -0
  506. package/dist/web/chunk-4OAZLD5W.js +1 -0
  507. package/dist/web/chunk-5OQKAJAE.js +1 -0
  508. package/dist/web/chunk-7B525GKQ.js +1 -0
  509. package/dist/web/chunk-BPDXCOOZ.js +1 -0
  510. package/dist/web/chunk-DT37HTZB.js +1 -0
  511. package/dist/web/chunk-EIMUHJND.js +1 -0
  512. package/dist/web/chunk-FTESTUEO.js +1 -0
  513. package/dist/web/chunk-GLJZV6MU.js +1 -0
  514. package/dist/web/chunk-I7LS67U5.js +1 -0
  515. package/dist/web/chunk-L4TVIPSR.js +1 -0
  516. package/dist/web/chunk-MASCULC2.js +1 -0
  517. package/dist/web/chunk-MW7ICSRM.js +1 -0
  518. package/dist/web/chunk-OI5VP2A3.js +1 -0
  519. package/dist/web/chunk-RA6EBF6I.js +1 -0
  520. package/dist/web/chunk-RP3WU5Y6.js +1 -0
  521. package/dist/web/chunk-RQDRMTXN.js +1 -0
  522. package/dist/web/chunk-TQMT6UDU.js +1 -0
  523. package/dist/web/chunk-U7IYOV7T.js +1 -0
  524. package/dist/web/chunk-UE227MWF.js +1 -0
  525. package/dist/web/chunk-WV573J4K.js +1 -0
  526. package/dist/web/chunk-WVCKOJZL.js +4 -0
  527. package/dist/web/chunk-XZKLVPHE.js +1 -0
  528. package/dist/web/chunk-ZABKKHJ3.js +1 -0
  529. package/dist/web/favicon-16.png +0 -0
  530. package/dist/web/favicon-180.png +0 -0
  531. package/dist/web/favicon-32.png +0 -0
  532. package/dist/web/favicon-512.png +0 -0
  533. package/dist/web/favicon-small.svg +15 -0
  534. package/dist/web/favicon.ico +0 -0
  535. package/dist/web/favicon.svg +20 -0
  536. package/dist/web/index.html +145 -0
  537. package/dist/web/main-RI5CO5Z4.js +1 -0
  538. package/dist/web/styles-CYN7IKT4.css +1 -0
  539. package/dist/workflows/condition-evaluator.d.ts +75 -0
  540. package/dist/workflows/condition-evaluator.d.ts.map +1 -0
  541. package/dist/workflows/condition-evaluator.js +282 -0
  542. package/dist/workflows/condition-evaluator.js.map +1 -0
  543. package/dist/workflows/defaults/index.d.ts +26 -0
  544. package/dist/workflows/defaults/index.d.ts.map +1 -0
  545. package/dist/workflows/defaults/index.js +94 -0
  546. package/dist/workflows/defaults/index.js.map +1 -0
  547. package/dist/workflows/defaults/spec-fix.yaml +110 -0
  548. package/dist/workflows/defaults/spec-implement.yaml +150 -0
  549. package/dist/workflows/defaults/spec-relink.yaml +81 -0
  550. package/dist/workflows/defaults/spec-verify.yaml +51 -0
  551. package/dist/workflows/discovery.d.ts +46 -0
  552. package/dist/workflows/discovery.d.ts.map +1 -0
  553. package/dist/workflows/discovery.js +193 -0
  554. package/dist/workflows/discovery.js.map +1 -0
  555. package/dist/workflows/executor.d.ts +83 -0
  556. package/dist/workflows/executor.d.ts.map +1 -0
  557. package/dist/workflows/executor.js +623 -0
  558. package/dist/workflows/executor.js.map +1 -0
  559. package/dist/workflows/runners/approval.d.ts +18 -0
  560. package/dist/workflows/runners/approval.d.ts.map +1 -0
  561. package/dist/workflows/runners/approval.js +34 -0
  562. package/dist/workflows/runners/approval.js.map +1 -0
  563. package/dist/workflows/runners/bash.d.ts +13 -0
  564. package/dist/workflows/runners/bash.d.ts.map +1 -0
  565. package/dist/workflows/runners/bash.js +143 -0
  566. package/dist/workflows/runners/bash.js.map +1 -0
  567. package/dist/workflows/runners/cancel.d.ts +10 -0
  568. package/dist/workflows/runners/cancel.d.ts.map +1 -0
  569. package/dist/workflows/runners/cancel.js +19 -0
  570. package/dist/workflows/runners/cancel.js.map +1 -0
  571. package/dist/workflows/runners/prompt.d.ts +28 -0
  572. package/dist/workflows/runners/prompt.d.ts.map +1 -0
  573. package/dist/workflows/runners/prompt.js +212 -0
  574. package/dist/workflows/runners/prompt.js.map +1 -0
  575. package/dist/workflows/runners/script.d.ts +17 -0
  576. package/dist/workflows/runners/script.d.ts.map +1 -0
  577. package/dist/workflows/runners/script.js +155 -0
  578. package/dist/workflows/runners/script.js.map +1 -0
  579. package/dist/workflows/runners/types.d.ts +51 -0
  580. package/dist/workflows/runners/types.d.ts.map +1 -0
  581. package/dist/workflows/runners/types.js +13 -0
  582. package/dist/workflows/runners/types.js.map +1 -0
  583. package/dist/workflows/schemas/workflow.d.ts +166 -0
  584. package/dist/workflows/schemas/workflow.d.ts.map +1 -0
  585. package/dist/workflows/schemas/workflow.js +437 -0
  586. package/dist/workflows/schemas/workflow.js.map +1 -0
  587. package/hooks/hooks.json +27 -0
  588. package/package.json +67 -0
  589. package/scripts/add-lang/bench.sh +60 -0
  590. package/scripts/add-lang/check-grammar.mjs +75 -0
  591. package/scripts/add-lang/dump-ast.mjs +103 -0
  592. package/scripts/add-lang/verify-extraction.mjs +70 -0
  593. package/scripts/agent-eval/arms-F.sh +21 -0
  594. package/scripts/agent-eval/arms-matrix.sh +37 -0
  595. package/scripts/agent-eval/audit.sh +68 -0
  596. package/scripts/agent-eval/bench-readme.sh +28 -0
  597. package/scripts/agent-eval/bench-why-repo.sh +22 -0
  598. package/scripts/agent-eval/block-read-hook.sh +19 -0
  599. package/scripts/agent-eval/hook-settings.json +15 -0
  600. package/scripts/agent-eval/itrun.sh +120 -0
  601. package/scripts/agent-eval/parse-arms.mjs +116 -0
  602. package/scripts/agent-eval/parse-bench-readme.mjs +84 -0
  603. package/scripts/agent-eval/parse-run.mjs +45 -0
  604. package/scripts/agent-eval/parse-session.mjs +93 -0
  605. package/scripts/agent-eval/probe-context.mjs +21 -0
  606. package/scripts/agent-eval/probe-explore.mjs +40 -0
  607. package/scripts/agent-eval/probe-node.mjs +20 -0
  608. package/scripts/agent-eval/probe-sweep.mjs +119 -0
  609. package/scripts/agent-eval/probe-trace.mjs +20 -0
  610. package/scripts/agent-eval/run-agent.sh +34 -0
  611. package/scripts/agent-eval/run-all.sh +67 -0
  612. package/scripts/agent-eval/run-arms.sh +56 -0
  613. package/scripts/agent-eval/seq-matrix.mjs +137 -0
  614. package/scripts/build-bundle.sh +118 -0
  615. package/scripts/build-server-bundle.mjs +80 -0
  616. package/scripts/build-web-bundle.mjs +66 -0
  617. package/scripts/extract-release-notes.mjs +130 -0
  618. package/scripts/local-install.sh +41 -0
  619. package/scripts/npm-sdk.js +75 -0
  620. package/scripts/npm-shim.js +246 -0
  621. package/scripts/offline-install.ps1 +148 -0
  622. package/scripts/offline-install.sh +136 -0
  623. package/scripts/pack-npm.sh +119 -0
  624. package/scripts/prepare-release.mjs +270 -0
@@ -0,0 +1,4 @@
1
+ var Pf=Object.defineProperty,Lf=Object.defineProperties;var Ff=Object.getOwnPropertyDescriptors;var ka=Object.getOwnPropertySymbols;var jf=Object.prototype.hasOwnProperty,Vf=Object.prototype.propertyIsEnumerable;var Oa=(e,t,n)=>t in e?Pf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})jf.call(t,n)&&Oa(e,n,t[n]);if(ka)for(var n of ka(t))Vf.call(t,n)&&Oa(e,n,t[n]);return e},U=(e,t)=>Lf(e,Ff(t));var W=null,Gn=!1,Wo=1,Hf=null,F=Symbol("SIGNAL");function g(e){let t=W;return W=e,t}function qn(){return W}var Oe={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 Ke(e){if(Gn)throw new Error("");if(W===null)return;W.consumerOnSignalRead(e);let t=W.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=W.recomputing;if(r&&(n=t!==void 0?t.nextProducer:W.producers,n!==void 0&&n.producer===e)){W.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===W&&(!r||$f(o,W)))return;let i=Mt(W),s={producer:e,consumer:W,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};W.producersTail=s,t!==void 0?t.nextProducer=s:W.producers=s,i&&ja(e,s)}function Pa(){Wo++}function Je(e){if(!(Mt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Wo)){if(!e.producerMustRecompute(e)&&!Jt(e)){bt(e);return}e.producerRecomputeValue(e),bt(e)}}function Go(e){if(e.consumers===void 0)return;let t=Gn;Gn=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Bf(r)}}finally{Gn=t}}function qo(){return W?.consumerAllowSignalWrites!==!1}function Bf(e){e.dirty=!0,Go(e),e.consumerMarkedDirty?.(e)}function bt(e){e.dirty=!1,e.lastCleanEpoch=Wo}function Pe(e){return e&&La(e),g(e)}function La(e){e.producersTail=void 0,e.recomputing=!0}function Xe(e,t){g(t),e&&Fa(e)}function Fa(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Mt(e))do n=zo(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Jt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Je(n),r!==n.version))return!0}return!1}function et(e){if(Mt(e)){let t=e.producers;for(;t!==void 0;)t=zo(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ja(e,t){let n=e.consumersTail,r=Mt(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)ja(o.producer,o)}function zo(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,!Mt(t)){let i=t.producers;for(;i!==void 0;)i=zo(i)}return n}function Mt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Xt(e){Hf?.(e)}function $f(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 en(e,t){return Object.is(e,t)}function tn(e,t){let n=Object.create(Uf);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Je(n),Ke(n),n.value===ge)throw n.error;return n.value};return r[F]=n,Xt(n),r}var Ze=Symbol("UNSET"),Ye=Symbol("COMPUTING"),ge=Symbol("ERRORED"),Uf=U($({},Oe),{value:Ze,dirty:!0,error:null,equal:en,kind:"computed",producerMustRecompute(e){return e.value===Ze||e.value===Ye},producerRecomputeValue(e){if(e.value===Ye)throw new Error("");let t=e.value;e.value=Ye;let n=Pe(e),r,o=!1;try{r=e.computation(),g(null),o=t!==Ze&&t!==ge&&r!==ge&&e.equal(t,r)}catch(i){r=ge,e.error=i}finally{Xe(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Wf(){throw new Error}var Va=Wf;function Ha(e){Va(e)}function Qo(e){Va=e}var Gf=null;function Zo(e,t){let n=Object.create(Qn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ba(n);return r[F]=n,Xt(n),[r,s=>tt(n,s),s=>zn(n,s)]}function Ba(e){return Ke(e),e.value}function tt(e,t){qo()||Ha(e),e.equal(e.value,t)||(e.value=t,qf(e))}function zn(e,t){qo()||Ha(e),tt(e,t(e.value))}var Qn=U($({},Oe),{equal:en,value:void 0,kind:"signal"});function qf(e){e.version++,Pa(),Go(e),Gf?.(e)}var Yo=U($({},Oe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ko(e){if(e.dirty=!1,e.version>0&&!Jt(e))return;e.version++;let t=Pe(e);try{e.cleanup(),e.fn()}finally{Xe(e,t)}}function E(e){return typeof e=="function"}function _t(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 Zn=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function nn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var q=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(E(r))try{r()}catch(i){t=i instanceof Zn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{$a(i)}catch(s){t=t??[],s instanceof Zn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Zn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)$a(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)&&nn(n,t)}remove(t){let{_finalizers:n}=this;n&&nn(n,t),t instanceof e&&t._removeParent(this)}};q.EMPTY=(()=>{let e=new q;return e.closed=!0,e})();var Jo=q.EMPTY;function Yn(e){return e instanceof q||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function $a(e){E(e)?e():e.unsubscribe()}var se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nt={setTimeout(e,t,...n){let{delegate:r}=Nt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Nt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Kn(e){Nt.setTimeout(()=>{let{onUnhandledError:t}=se;if(t)t(e);else throw e})}function rn(){}var Ua=Xo("C",void 0,void 0);function Wa(e){return Xo("E",void 0,e)}function Ga(e){return Xo("N",e,void 0)}function Xo(e,t,n){return{kind:e,value:t,error:n}}var nt=null;function St(e){if(se.useDeprecatedSynchronousErrorHandling){let t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=nt;if(nt=null,n)throw r}}else e()}function qa(e){se.useDeprecatedSynchronousErrorHandling&&nt&&(nt.errorThrown=!0,nt.error=e)}var rt=class extends q{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Yn(t)&&t.add(this)):this.destination=Zf}static create(t,n,r){return new xt(t,n,r)}next(t){this.isStopped?ti(Ga(t),this):this._next(t)}error(t){this.isStopped?ti(Wa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ti(Ua,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()}}},zf=Function.prototype.bind;function ei(e,t){return zf.call(e,t)}var ni=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Jn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Jn(r)}else Jn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Jn(n)}}},xt=class extends rt{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&se.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ei(t.next,i),error:t.error&&ei(t.error,i),complete:t.complete&&ei(t.complete,i)}):o=t}this.destination=new ni(o)}};function Jn(e){se.useDeprecatedSynchronousErrorHandling?qa(e):Kn(e)}function Qf(e){throw e}function ti(e,t){let{onStoppedNotification:n}=se;n&&Nt.setTimeout(()=>n(e,t))}var Zf={closed:!0,next:rn,error:Qf,complete:rn};var At=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ae(e){return e}function Yf(...e){return ri(e)}function ri(e){return e.length===0?ae:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=Jf(n)?n:new xt(n,r,o);return St(()=>{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=za(r),new r((o,i)=>{let s=new xt({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)}[At](){return this}pipe(...n){return ri(n)(this)}toPromise(n){return n=za(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 za(e){var t;return(t=e??se.Promise)!==null&&t!==void 0?t:Promise}function Kf(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Jf(e){return e&&e instanceof rt||Kf(e)&&Yn(e)}function Xf(e){return E(e?.lift)}function b(e){return t=>{if(Xf(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 N(e,t,n,r,o){return new oi(e,t,n,r,o)}var oi=class extends rt{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 Qa=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Te=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Xn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Qa}next(n){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){St(()=>{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(){St(()=>{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?Jo:(this.currentObservers=null,i.push(n),new q(()=>{this.currentObservers=null,nn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new Xn(t,n),e})(),Xn=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:Jo}};var on=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 sn=new _(e=>e.complete());function Za(e){return e&&E(e.schedule)}function Ya(e){return e[e.length-1]}function Ka(e){return E(Ya(e))?e.pop():void 0}function Le(e){return Za(Ya(e))?e.pop():void 0}function Xa(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 Ja(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 ot(e){return this instanceof ot?(this.v=e,this):new ot(e)}function ec(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(T){return new Promise(function(O,B){i.push([f,T,O,B])>1||c(f,T)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(T){p(i[0][3],T)}}function l(f){f.value instanceof ot?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 tc(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 Ja=="function"?Ja(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 er=e=>e&&typeof e.length=="number"&&typeof e!="function";function tr(e){return E(e?.then)}function nr(e){return E(e[At])}function rr(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function or(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 ep(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ir=ep();function sr(e){return E(e?.[ir])}function ar(e){return ec(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ot(n.read());if(o)return yield ot(void 0);yield yield ot(r)}}finally{n.releaseLock()}})}function cr(e){return E(e?.getReader)}function V(e){if(e instanceof _)return e;if(e!=null){if(nr(e))return tp(e);if(er(e))return np(e);if(tr(e))return rp(e);if(rr(e))return nc(e);if(sr(e))return op(e);if(cr(e))return ip(e)}throw or(e)}function tp(e){return new _(t=>{let n=e[At]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function np(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function rp(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Kn)})}function op(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function nc(e){return new _(t=>{sp(e,t).catch(n=>t.error(n))})}function ip(e){return nc(ar(e))}function sp(e,t){var n,r,o,i;return Xa(this,void 0,void 0,function*(){try{for(n=tc(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 Q(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 lr(e,t=0){return b((n,r)=>{n.subscribe(N(r,o=>Q(r,e,()=>r.next(o),t),()=>Q(r,e,()=>r.complete(),t),o=>Q(r,e,()=>r.error(o),t)))})}function ur(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function rc(e,t){return V(e).pipe(ur(t),lr(t))}function oc(e,t){return V(e).pipe(ur(t),lr(t))}function ic(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function sc(e,t){return new _(n=>{let r;return Q(n,t,()=>{r=e[ir](),Q(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)}),()=>E(r?.return)&&r.return()})}function dr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{Q(n,t,()=>{let r=e[Symbol.asyncIterator]();Q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ac(e,t){return dr(ar(e),t)}function cc(e,t){if(e!=null){if(nr(e))return rc(e,t);if(er(e))return ic(e,t);if(tr(e))return oc(e,t);if(rr(e))return dr(e,t);if(sr(e))return sc(e,t);if(cr(e))return ac(e,t)}throw or(e)}function Fe(e,t){return t?cc(e,t):V(e)}function ap(...e){let t=Le(e);return Fe(e,t)}function cp(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function lp(e){return!!e&&(e instanceof _||E(e.lift)&&E(e.subscribe))}var an=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function it(e,t){return b((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:up}=Array;function dp(e,t){return up(t)?e(...t):e(t)}function lc(e){return it(t=>dp(e,t))}var{isArray:fp}=Array,{getPrototypeOf:pp,prototype:hp,keys:gp}=Object;function uc(e){if(e.length===1){let t=e[0];if(fp(t))return{args:t,keys:null};if(mp(t)){let n=gp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function mp(e){return e&&typeof e=="object"&&pp(e)===hp}function dc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function yp(...e){let t=Le(e),n=Ka(e),{args:r,keys:o}=uc(e);if(r.length===0)return Fe([],t);let i=new _(vp(r,t,o?s=>dc(o,s):ae));return n?i.pipe(lc(n)):i}function vp(e,t,n=ae){return r=>{fc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)fc(t,()=>{let l=Fe(e[c],t),u=!1;l.subscribe(N(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function fc(e,t,n){e?Q(n,e,t):t()}function pc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=T=>l<r?h(T):c.push(T),h=T=>{i&&t.next(T),l++;let O=!1;V(n(T,u++)).subscribe(N(t,B=>{o?.(B),i?f(B):t.next(B)},()=>{O=!0},void 0,()=>{if(O)try{for(l--;c.length&&l<r;){let B=c.shift();s?Q(t,s,()=>h(B)):h(B)}p()}catch(B){t.error(B)}}))};return e.subscribe(N(t,f,()=>{d=!0,p()})),()=>{a?.()}}function st(e,t,n=1/0){return E(t)?st((r,o)=>it((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>pc(r,o,e,n)))}function ii(e=1/0){return st(ae,e)}function hc(){return ii(1)}function fr(...e){return hc()(Fe(e,Le(e)))}function Ep(e){return new _(t=>{V(e()).subscribe(t)})}function si(e,t){return b((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function gc(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=V(e(s,gc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ip(e,t){return E(t)?st(e,t,1):st(e,1)}function mc(e){return b((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ai(e){return e<=0?()=>sn:b((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function yc(e=Dp){return b((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Dp(){return new an}function Cp(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Tp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?si((o,i)=>e(o,i,r)):ae,ai(1),n?mc(t):yc(()=>new an))}function wp(e){return e<=0?()=>sn:b((t,n)=>{let r=[];t.subscribe(N(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 bp(...e){let t=Le(e);return b((n,r)=>{(t?fr(e,n,t):fr(e,n)).subscribe(r)})}function Mp(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let l=0,u=i++;V(e(c,u)).subscribe(o=N(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _p(e){return b((t,n)=>{V(e).subscribe(N(n,()=>n.complete(),rn)),!n.closed&&t.subscribe(n)})}function Np(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):ae}var ci;function pr(){return ci}function me(e){let t=ci;return ci=e,t}var vc=Symbol("NotFound");function Rt(e){return e===vc||e?.name==="\u0275NotFound"}function li(e,t,n){let r=Object.create(Sp);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Je(r),Ke(r),r.value===ge)throw r.error;return r.value};return i[F]=r,Xt(r),i}function Ec(e,t){Je(e),tt(e,t),bt(e)}function Ic(e,t){if(Je(e),e.value===ge)throw e.error;zn(e,t),bt(e)}var Sp=U($({},Oe),{value:Ze,dirty:!0,error:null,equal:en,kind:"linkedSignal",producerMustRecompute(e){return e.value===Ze||e.value===Ye},producerRecomputeValue(e){if(e.value===Ye)throw new Error("");let t=e.value;e.value=Ye;let n=Pe(e),r,o=!1;try{let i=e.source(),s=t!==Ze&&t!==ge,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,g(null),o=s&&r!==ge&&e.equal(t,r)}catch(i){r=ge,e.error=i}finally{Xe(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Dc(e){let t=g(null);try{return e()}finally{g(t)}}var Dr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(hn(t,n)),this.code=t}};function xp(e){return`NG0${Math.abs(e)}`}function hn(e,t){return`${xp(e)}${t?": "+t:""}`}var ve=globalThis;function M(e){for(let t in e)if(e[t]===M)return t;throw Error("")}function gn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(gn).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 Cr(e,t){return e?t?`${e} ${t}`:e:t||""}var Ap=M({__forward_ref__:M});function Tr(e){return e.__forward_ref__=Tr,e}function Z(e){return Ci(e)?e():e}function Ci(e){return typeof e=="function"&&e.hasOwnProperty(Ap)&&e.__forward_ref__===Tr}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mn(e){return kp(e,wr)}function Rp(e){return mn(e)!==null}function kp(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Op(e){let t=e?.[wr]??null;return t||null}function di(e){return e&&e.hasOwnProperty(gr)?e[gr]:null}var wr=M({\u0275prov:M}),gr=M({\u0275inj:M}),S=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=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ti(e){return e&&!!e.\u0275providers}var wi=M({\u0275cmp:M}),bi=M({\u0275dir:M}),Mi=M({\u0275pipe:M}),_i=M({\u0275mod:M}),ln=M({\u0275fac:M}),dt=M({__NG_ELEMENT_ID__:M}),Cc=M({__NG_ENV_ID__:M});function Ni(e){return br(e,"@NgModule"),e[_i]||null}function $e(e){return br(e,"@Component"),e[wi]||null}function Si(e){return br(e,"@Directive"),e[bi]||null}function Mc(e){return br(e,"@Pipe"),e[Mi]||null}function br(e,t){if(e==null)throw new D(-919,!1)}function Ee(e){return typeof e=="string"?e:e==null?"":String(e)}var _c=M({ngErrorCode:M}),Pp=M({ngErrorMessage:M}),Lp=M({ngTokenPath:M});function xi(e,t){return Nc("",-200,t)}function Mr(e,t){throw new D(-201,!1)}function Nc(e,t,n){let r=new D(t,e);return r[_c]=t,r[Pp]=e,n&&(r[Lp]=n),r}function Fp(e){return e[_c]}var fi;function Sc(){return fi}function z(e){let t=fi;return fi=e,t}function Ai(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;Mr(e,"")}var jp={},at=jp,Vp="__NG_DI_FLAG__",pi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ct(n)||0;try{return this.injector.get(t,r&8?null:at,r)}catch(o){if(Rt(o))return o;throw o}}};function Hp(e,t=0){let n=pr();if(n===void 0)throw new D(-203,!1);if(n===null)return Ai(e,void 0,t);{let r=Bp(t),o=n.retrieve(e,r);if(Rt(o)){if(r.optional)return null;throw o}return o}}function ye(e,t=0){return(Sc()||Hp)(Z(e),t)}function C(e,t){return ye(e,ct(t))}function ct(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bp(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function hi(e){let t=[];for(let n=0;n<e.length;n++){let r=Z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=$p(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(ye(o,i))}else t.push(ye(r))}return t}function $p(e){return e[Vp]}function je(e,t){let n=e.hasOwnProperty(ln);return n?e[ln]:null}function xc(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 Ac(e){return e.flat(Number.POSITIVE_INFINITY)}function _r(e,t){e.forEach(n=>Array.isArray(n)?_r(n,t):t(n))}function Ri(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function yn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Rc(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 Nr(e,t,n){let r=Ot(e,t);return r>=0?e[r|1]=n:(r=~r,Rc(e,r,t,n)),r}function Sr(e,t){let n=Ot(e,t);if(n>=0)return e[n|1]}function Ot(e,t){return Up(e,t,1)}function Up(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 ft={},ce=[],Pt=new S(""),ki=new S("",-1),Oi=new S(""),un=class{get(t,n=at){if(n===at){let o=Nc("",-201);throw o.name="\u0275NotFound",o}return n}};function xr(e){return{\u0275providers:e}}function kc(e){return xr([{provide:Pt,multi:!0,useValue:e}])}function Oc(...e){return{\u0275providers:Pi(!0,e),\u0275fromNgModule:!0}}function Pi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return _r(t,s=>{let a=s;mr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Pc(o,i),n}function Pc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Li(o,i=>{t(i,r)})}}function mr(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=di(e),s=!i&&$e(e);if(!i&&!s){let c=e.ngModule;if(i=di(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)mr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;_r(i.imports,u=>{mr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Pc(l,t)}if(!a){let l=je(o)||(()=>new o);t({provide:o,useFactory:l,deps:ce},o),t({provide:Oi,useValue:o,multi:!0},o),t({provide:Pt,useValue:()=>ye(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Li(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Li(e,t){for(let n of e)Ti(n)&&(n=n.\u0275providers),Array.isArray(n)?Li(n,t):t(n)}var Wp=M({provide:String,useValue:M});function Lc(e){return e!==null&&typeof e=="object"&&Wp in e}function Gp(e){return!!(e&&e.useExisting)}function qp(e){return!!(e&&e.useFactory)}function yr(e){return typeof e=="function"}var Fi=new S(""),hr={},Tc={},ui;function vn(){return ui===void 0&&(ui=new un),ui}var X=class{},lt=class extends X{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,mi(t,s=>this.processProvider(s)),this.records.set(ki,kt(void 0,this)),o.has("environment")&&this.records.set(X,kt(void 0,this));let i=this.records.get(Fi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Oi,ce,{self:!0}))}retrieve(t,n){let r=ct(n)||0;try{return this.get(t,at,r)}catch(o){if(Rt(o))return o;throw o}}destroy(){cn(this),this._destroyed=!0;let t=g(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(),g(t)}}onDestroy(t){return cn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){cn(this);let n=me(this),r=z(void 0),o;try{return t()}finally{me(n),z(r)}}get(t,n=at,r){if(cn(this),t.hasOwnProperty(Cc))return t[Cc](this);let o=ct(r),i,s=me(this),a=z(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Kp(t)&&mn(t);u&&this.injectableDefInScope(u)?l=kt(gi(t),hr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?vn():this.parent;return n=o&8&&n===at?null:n,c.get(t,n)}catch(c){let l=Fp(c);throw l===-200||l===-201?new D(l,null):c}finally{z(a),me(s)}}resolveInjectorInitializers(){let t=g(null),n=me(this),r=z(void 0),o;try{let i=this.get(Pt,ce,{self:!0});for(let s of i)s()}finally{me(n),z(r),g(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Z(t);let n=yr(t)?t:Z(t&&t.provide),r=Qp(t);if(!yr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=kt(void 0,hr,!0),o.factory=()=>hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=g(null);try{if(n.value===Tc)throw xi("");return n.value===hr&&(n.value=Tc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Yp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{g(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(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 gi(e){let t=mn(e),n=t!==null?t.factory:je(e);if(n!==null)return n;if(e instanceof S)throw new D(-204,!1);if(e instanceof Function)return zp(e);throw new D(-204,!1)}function zp(e){if(e.length>0)throw new D(-204,!1);let n=Op(e);return n!==null?()=>n.factory(e):()=>new e}function Qp(e){if(Lc(e))return kt(void 0,e.useValue);{let t=Fc(e);return kt(t,hr)}}function Fc(e,t,n){let r;if(yr(e)){let o=Z(e);return je(o)||gi(o)}else if(Lc(e))r=()=>Z(e.useValue);else if(qp(e))r=()=>e.useFactory(...hi(e.deps||[]));else if(Gp(e))r=(o,i)=>ye(Z(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Z(e&&(e.useClass||e.provide));if(Zp(e))r=()=>new o(...hi(e.deps));else return je(o)||gi(o)}return r}function cn(e){if(e.destroyed)throw new D(-205,!1)}function kt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zp(e){return!!e.deps}function Yp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Kp(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function mi(e,t){for(let n of e)Array.isArray(n)?mi(n,t):n&&Ti(n)?mi(n.\u0275providers,t):t(n)}function Ar(e,t){let n;e instanceof lt?(cn(e),n=e):n=new pi(e);let r,o=me(n),i=z(void 0);try{return t()}finally{me(o),z(i)}}function jc(){return Sc()!==void 0||pr()!=null}var le=0,m=1,v=2,j=3,ee=4,te=5,Lt=6,Ft=7,P=8,Ne=9,ue=10,A=11,jt=12,ji=13,pt=14,K=15,Ue=16,ht=17,Ie=18,Se=19,Vi=20,be=21,Rr=22,Ve=23,J=24,kr=25,We=26,R=27,Vc=1,Hi=6,Ge=7,En=8,gt=9,k=10;function xe(e){return Array.isArray(e)&&typeof e[Vc]=="object"}function de(e){return Array.isArray(e)&&e[Vc]===!0}function Bi(e){return(e.flags&4)!==0}function Ae(e){return e.componentOffset>-1}function Or(e){return(e.flags&1)===1}function mt(e){return!!e.template}function Vt(e){return(e[v]&512)!==0}function yt(e){return(e[v]&256)===256}var $i="svg",Hc="math";function ne(e){for(;Array.isArray(e);)e=e[le];return e}function Ui(e,t){return ne(t[e])}function fe(e,t){return ne(t[e.index])}function Pr(e,t){return e.data[t]}function Lr(e,t){return e[t]}function In(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function re(e,t){let n=t[e];return xe(n)?n:n[le]}function Bc(e){return(e[v]&4)===4}function Fr(e){return(e[v]&128)===128}function $c(e){return de(e[j])}function De(e,t){return t==null?null:e[t]}function Wi(e){e[ht]=0}function Gi(e){e[v]&1024||(e[v]|=1024,Fr(e)&&Ht(e))}function Uc(e,t){for(;e>0;)t=t[pt],e--;return t}function Dn(e){return!!(e[v]&9216||e[J]?.dirty)}function jr(e){e[ue].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),Dn(e)&&Ht(e)}function Ht(e){e[ue].changeDetectionScheduler?.notify(0);let t=He(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!Fr(t)));)t=He(t)}function qi(e,t){if(yt(e))throw new D(911,!1);e[be]===null&&(e[be]=[]),e[be].push(t)}function Wc(e,t){if(e[be]===null)return;let n=e[be].indexOf(t);n!==-1&&e[be].splice(n,1)}function He(e){let t=e[j];return de(t)?t[j]:t}function zi(e){return e[Ft]??=[]}function Qi(e){return e.cleanup??=[]}function Gc(e,t,n,r){let o=zi(t);o.push(n),e.firstCreatePass&&Qi(e).push(r,o.length-1)}var I={lFrame:al(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var yi=!1;function qc(){return I.lFrame.elementDepthCount}function zc(){I.lFrame.elementDepthCount++}function Zi(){I.lFrame.elementDepthCount--}function Qc(){return I.bindingsEnabled}function Zc(){return I.skipHydrationRootTNode!==null}function Yi(e){return I.skipHydrationRootTNode===e}function Ki(){I.skipHydrationRootTNode=null}function y(){return I.lFrame.lView}function L(){return I.lFrame.tView}function Yc(e){return I.lFrame.contextLView=e,e[P]}function Kc(e){return I.lFrame.contextLView=null,e}function G(){let e=Ji();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ji(){return I.lFrame.currentTNode}function Jc(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function vt(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function Xi(){return I.lFrame.isParent}function Xc(){I.lFrame.isParent=!1}function el(){return I.lFrame.contextLView}function es(){return yi}function dn(e){let t=yi;return yi=e,t}function Bt(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ts(){return I.lFrame.bindingIndex}function tl(e){return I.lFrame.bindingIndex=e}function Et(){return I.lFrame.bindingIndex++}function Cn(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nl(){return I.lFrame.inI18n}function rl(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vr(t)}function ol(){return I.lFrame.currentDirectiveIndex}function Vr(e){I.lFrame.currentDirectiveIndex=e}function il(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Hr(){return I.lFrame.currentQueryIndex}function Tn(e){I.lFrame.currentQueryIndex=e}function Jp(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[te]:null}function ns(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Jp(i),o===null||(i=i[pt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=sl();return r.currentTNode=t,r.lView=e,!0}function Br(e){let t=sl(),n=e[m];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function sl(){let e=I.lFrame,t=e===null?null:e.child;return t===null?al(e):t}function al(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 cl(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var rs=cl;function $r(){let e=cl();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 ll(e){return(I.lFrame.contextLView=Uc(e,I.lFrame.contextLView))[P]}function oe(){return I.lFrame.selectedIndex}function qe(e){I.lFrame.selectedIndex=e}function Ur(){let e=I.lFrame;return Pr(e.tView,e.selectedIndex)}function ul(){I.lFrame.currentNamespace=$i}function dl(){Xp()}function Xp(){I.lFrame.currentNamespace=null}function os(){return I.lFrame.currentNamespace}var fl=!0;function Wr(){return fl}function Gr(e){fl=e}function vi(e,t=null,n=null,r){let o=is(e,t,n,r);return o.resolveInjectorInitializers(),o}function is(e,t=null,n=null,r,o=new Set){let i=[n||ce,Oc(e)],s;return new lt(i,t||vn(),s||null,o)}var Me=class e{static THROW_IF_NOT_FOUND=at;static NULL=new un;static create(t,n){if(Array.isArray(t))return vi({name:""},n,t,"");{let r=t.name??"";return vi({name:r},t.parent,t.providers,r)}}static \u0275prov=Y({token:e,providedIn:"any",factory:()=>ye(ki)});static __NG_ELEMENT_ID__=-1},qr=new S(""),ze=(()=>{class e{static __NG_ELEMENT_ID__=eh;static __NG_ENV_ID__=n=>n}return e})(),vr=class extends ze{_lView;constructor(t){super(),this._lView=t}get destroyed(){return yt(this._lView)}onDestroy(t){let n=this._lView;return qi(n,t),()=>Wc(n,t)}};function eh(){return new vr(y())}var pl=!1,hl=new S(""),$t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new on(!1);debugTaskTracker=C(hl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _(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=Y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ei=class extends Te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,jc()&&(this.destroyRef=C(ze,{optional:!0})??void 0,this.pendingTasks=C($t,{optional:!0})??void 0)}emit(t){let n=g(null);try{super.next(t)}finally{g(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 q&&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)}})}}},we=Ei;function Er(...e){}function ss(e){let t,n;function r(){e=Er;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function gl(e){return queueMicrotask(()=>e()),()=>{e=Er}}var as="isAngularZone",fn=as+"_ID",th=0,_e=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new we(!1);onMicrotaskEmpty=new we(!1);onStable=new we(!1);onError=new we(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=pl}=t;if(typeof Zone>"u")throw new D(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,oh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(as)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,nh,Er,Er);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)}},nh={};function cs(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 rh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ss(()=>{e.callbackScheduled=!1,Ii(e),e.isCheckStableRunning=!0,cs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ii(e)}function oh(e){let t=()=>{rh(e)},n=th++;e._inner=e._inner.fork({name:"angular",properties:{[as]:!0,[fn]:n,[fn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(ih(c))return r.invokeTask(i,s,a,c);try{return wc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),bc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return wc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sh(c)&&t(),bc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ii(e),cs(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 Ii(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function wc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bc(e){e._nesting--,cs(e)}var pn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new we;onMicrotaskEmpty=new we;onStable=new we;onError=new we;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 ih(e){return ml(e,"__ignore_ng_zone__")}function sh(e){return ml(e,"__scheduler_tick__")}function ml(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},It=new S("",{factory:()=>{let e=C(_e),t=C(X),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Be),n.handleError(r))})}}}),yl={provide:Pt,useValue:()=>{let e=C(Be,{optional:!0})},multi:!0},ah=new S("",{factory:()=>{let e=C(qr).defaultView;if(!e)return;let t=C(It),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),C(ze).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function ch(){return xr([kc(()=>{C(ah)})])}function zr(e,t){let[n,r,o]=Zo(e,t?.equal),i=n,s=i[F];return i.set=r,i.update=o,i.asReadonly=Qr.bind(i),i}function Qr(){let e=this[F];if(e.readonlyFn===void 0){let t=()=>this();t[F]=e,e.readonlyFn=t}return e.readonlyFn}var Zr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=lh}return e})();function lh(){return new Zr(y(),G())}var ut=class{},wn=new S("",{factory:()=>!0});var ls=new S("");var Yr=(()=>{class e{static \u0275prov=Y({token:e,providedIn:"root",factory:()=>new Di})}return e})(),Di=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}},Ir=class{[F];constructor(t){this[F]=t}destroy(){this[F].destroy()}};function vl(e,t){let n=t?.injector??C(Me),r=t?.manualCleanup!==!0?n.get(ze):null,o,i=n.get(Zr,null,{optional:!0}),s=n.get(ut);return i!==null?(o=fh(i.view,s,e),r instanceof vr&&r._lView===i.view&&(r=null)):o=ph(e,n.get(Yr),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ir(o)}var El=U($({},Yo),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=dn(!1);try{Ko(this)}finally{dn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=g(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],g(e)}}}),uh=U($({},El),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(et(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),dh=U($({},El),{consumerMarkedDirty(){this.view[v]|=8192,Ht(this.view),this.notifier.notify(13)},destroy(){if(et(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ve]?.delete(this)}});function fh(e,t,n){let r=Object.create(dh);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Il(r,n),e[Ve]??=new Set,e[Ve].add(r),r.consumerMarkedDirty(r),r}function ph(e,t,n){let r=Object.create(uh);return r.fn=Il(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 Il(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function _o(e){return{toString:e}.toString()}function Ch(e){return typeof e=="function"}function tu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var so=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Th=(()=>{let e=()=>nu;return e.ngInherit=!0,e})();function nu(e){return e.type.prototype.ngOnChanges&&(e.setInput=bh),wh}function wh(){let e=ou(this),t=e?.current;if(t){let n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bh(e,t,n,r,o){let i=this.declaredInputs[r],s=ou(e)||Mh(e,{previous:ft,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new so(l&&l.currentValue,n,c===ft),tu(e,t,o,n)}var ru="__ngSimpleChanges__";function ou(e){return e[ru]||null}function Mh(e,t){return e[ru]=t}var Dl=[];var x=function(e,t=null,n){for(let r=0;r<Dl.length;r++){let o=Dl[r];o(e,t,n)}},w=(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})(w||{});function _h(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=nu(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 Nh(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 to(e,t,n){iu(e,t,3,n)}function no(e,t,n,r){(e[v]&3)===n&&iu(e,t,n,r)}function us(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function iu(e,t,n,r){let o=r!==void 0?e[ht]&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[ht]+=65536),(a<i||i==-1)&&(Sh(e,n,t,c),e[ht]=(e[ht]&4294901760)+c+2),c++}function Cl(e,t){x(w.LifecycleHookStart,e,t);let n=g(null);try{t.call(e)}finally{g(n),x(w.LifecycleHookEnd,e,t)}}function Sh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[ht]>>16&&(e[v]&3)===t&&(e[v]+=16384,Cl(a,i)):Cl(a,i)}var Wt=-1,Sn=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 xh(e){return(e.flags&8)!==0}function Ah(e){return(e.flags&16)!==0}function Rh(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];kh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function su(e){return e===3||e===4||e===6}function kh(e){return e.charCodeAt(0)===64}function No(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?Tl(e,n,o,null,t[++r]):Tl(e,n,o,null,null))}}return e}function Tl(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 au(e){return e!==Wt}function ao(e){return e&32767}function Oh(e){return e>>16}function co(e,t){let n=Oh(e),r=t;for(;n>0;)r=r[pt],n--;return r}var vs=!0;function lo(e){let t=vs;return vs=e,t}var Ph=256,cu=Ph-1,lu=5,Lh=0,Ce={};function Fh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(dt)&&(r=n[dt]),r==null&&(r=n[dt]=Lh++);let o=r&cu,i=1<<o;t.data[e+(o>>lu)]|=i}function uu(e,t){let n=du(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,ds(r.data,e),ds(t,null),ds(r.blueprint,null));let o=ea(e,t),i=e.injectorIndex;if(au(o)){let s=ao(o),a=co(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ds(e,t){e.push(0,0,0,0,0,0,0,0,t)}function du(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=mu(o),r===null)return Wt;if(n++,o=o[pt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wt}function jh(e,t,n){Fh(e,t,n)}function Vh(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(su(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function fu(e,t,n){if(n&8||e!==void 0)return e;Mr(t,"NodeInjector")}function pu(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ne],i=z(void 0);try{return o?o.get(t,r,n&8):Ai(t,r,n&8)}finally{z(i)}}return fu(r,t,n)}function hu(e,t,n,r=0,o){if(e!==null){if(t[v]&2048&&!(r&2)){let s=Wh(e,t,n,r,Ce);if(s!==Ce)return s}let i=gu(e,t,n,r,Ce);if(i!==Ce)return i}return pu(t,n,r,o)}function gu(e,t,n,r,o){let i=Bh(n);if(typeof i=="function"){if(!ns(t,e,r))return r&1?fu(o,n,r):pu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Mr(n);else return s}finally{rs()}}else if(typeof i=="number"){let s=null,a=du(e,t),c=Wt,l=r&1?t[K][te]:null;for((a===-1||r&4)&&(c=a===-1?ea(e,t):t[a+8],c===Wt||!bl(r,!1)?a=-1:(s=t[m],a=ao(c),t=co(c,t)));a!==-1;){let u=t[m];if(wl(i,a,u.data)){let d=Hh(a,t,n,s,r,l);if(d!==Ce)return d}c=t[a+8],c!==Wt&&bl(r,t[m].data[a+8]===l)&&wl(i,a,t)?(s=u,a=ao(c),t=co(c,t)):a=-1}}return o}function Hh(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?Ae(a)&&vs:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ro(a,s,n,c,l);return u!==null?uo(t,s,u,a,o):Ce}function ro(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&&mt(f)&&f.type===n)return c}return null}function uo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Sn){let a=i;if(a.resolving)throw xi("");let c=lo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?z(a.injectImpl):null,p=ns(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&_h(n,s[n],t)}finally{d!==null&&z(d),lo(c),a.resolving=!1,rs()}}return i}function Bh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(dt)?e[dt]:void 0;return typeof t=="number"?t>=0?t&cu:$h:t}function wl(e,t,n){let r=1<<e;return!!(n[t+(e>>lu)]&r)}function bl(e,t){return!(e&2)&&!(e&1&&t)}var Dt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hu(this._tNode,this._lView,t,ct(r),n)}};function $h(){return new Dt(G(),y())}function Uh(e){return _o(()=>{let t=e.prototype.constructor,n=t[ln]||Es(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[ln]||Es(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Es(e){return Ci(e)?()=>{let t=Es(Z(e));return t&&t()}:je(e)}function Wh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!Vt(s);){let a=gu(i,s,n,r|2,Ce);if(a!==Ce)return a;let c=i.parent;if(!c){let l=s[Vi];if(l){let u=l.get(n,Ce,r&-5);if(u!==Ce)return u}c=mu(s),s=s[pt]}i=c}return o}function mu(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[te]:null}function yu(e){return Vh(G(),e)}function Gh(){return Zt(G(),y())}function Zt(e,t){return new jn(fe(e,t))}var jn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Gh}return e})();function vu(e){return e instanceof jn?e.nativeElement:e}function qh(){return this._results[Symbol.iterator]()}var fo=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=Ac(t);(this._changesDetected=!xc(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]=qh};function Eu(e){return(e.flags&128)===128}var ta=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(ta||{}),Iu=new Map,zh=0;function Qh(){return zh++}function Zh(e){Iu.set(e[Se],e)}function Is(e){Iu.delete(e[Se])}var Ml="__ngContext__";function Gt(e,t){xe(t)?(e[Ml]=t[Se],Zh(t)):e[Ml]=t}function Du(e){return Tu(e[jt])}function Cu(e){return Tu(e[ee])}function Tu(e){for(;e!==null&&!de(e);)e=e[ee];return e}var Ds;function Yh(e){Ds=e}function wu(){if(Ds!==void 0)return Ds;if(typeof document<"u")return document;throw new D(210,!1)}var Kh=new S("",{factory:()=>Jh}),Jh="ng";var bu=new S(""),Xh=new S("",{providedIn:"platform",factory:()=>"unknown"});var eg=new S("",{factory:()=>C(qr).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Mu="r";var _u="di";var Nu=!1,Su=new S("",{factory:()=>Nu});var _l=new WeakMap;function tg(e,t){if(e==null||typeof e!="object")return;let n=_l.get(e);n||(n=new WeakSet,_l.set(e,n)),n.add(t)}var ng=(e,t,n,r)=>{};function rg(e,t,n,r){ng(e,t,n,r)}function na(e){return(e.flags&32)===32}var og=()=>null;function xu(e,t,n=!1){return og(e,t,n)}function Au(e,t){let n=e.contentQueries;if(n!==null){let r=g(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];Tn(i),a.contentQueries(2,t[s],s)}}}finally{g(r)}}}function Cs(e,t,n){Tn(0);let r=g(null);try{t(e,n)}finally{g(r)}}function Ru(e,t,n){if(Bi(t)){let r=g(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{g(r)}}}var Ct=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ct||{});var Kr;function ig(){if(Kr===void 0&&(Kr=null,ve.trustedTypes))try{Kr=ve.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kr}function So(e){return ig()?.createHTML(e)||e}var Jr;function ku(){if(Jr===void 0&&(Jr=null,ve.trustedTypes))try{Jr=ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Jr}function Nl(e){return ku()?.createHTML(e)||e}function Sl(e){return ku()?.createScriptURL(e)||e}var Re=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dr})`}},Ts=class extends Re{getTypeName(){return"HTML"}},ws=class extends Re{getTypeName(){return"Style"}},bs=class extends Re{getTypeName(){return"Script"}},Ms=class extends Re{getTypeName(){return"URL"}},_s=class extends Re{getTypeName(){return"ResourceURL"}};function Yt(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function xo(e,t){let n=Ou(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Dr})`)}return n===t}function Ou(e){return e instanceof Re&&e.getTypeName()||null}function sg(e){return new Ts(e)}function ag(e){return new ws(e)}function cg(e){return new bs(e)}function lg(e){return new Ms(e)}function ug(e){return new _s(e)}function dg(e){let t=new Ss(e);return fg()?new Ns(t):t}var Ns=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(So(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ss=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=So(t),n}};function fg(){try{return!!new window.DOMParser().parseFromString(So(""),"text/html")}catch{return!1}}var pg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ra(e){return e=String(e),e.match(pg)?e:"unsafe:"+e}function ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Vn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Pu=ke("area,br,col,hr,img,wbr"),Lu=ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fu=ke("rp,rt"),hg=Vn(Fu,Lu),gg=Vn(Lu,ke("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")),mg=Vn(Fu,ke("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")),xl=Vn(Pu,gg,mg,hg),ju=ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yg=ke("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"),vg=ke("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"),Eg=Vn(ju,yg,vg),Ig=ke("script,style,template"),xs=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=Tg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Cg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Al(t).toLowerCase();if(!xl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ig.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(!Eg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ju[a]&&(c=ra(c)),this.buf.push(" ",s,'="',Rl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Al(t).toLowerCase();xl.hasOwnProperty(n)&&!Pu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Rl(t))}};function Dg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Cg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Vu(t);return t}function Tg(e){let t=e.firstChild;if(t&&Dg(e,t))throw Vu(t);return t}function Al(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Vu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var wg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bg=/([^\#-~ |!])/g;function Rl(e){return e.replace(/&/g,"&amp;").replace(wg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(bg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Xr;function Hu(e,t){let n=null;try{Xr=Xr||dg(e);let r=t?String(t):"";n=Xr.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=Xr.getInertBodyElement(r)}while(r!==i);let a=new xs().sanitizeChildren(kl(n)||n);return So(a)}finally{if(n){let r=kl(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function kl(e){return"content"in e&&Mg(e)?e.content:null}function Mg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function _g(e,t){return e.createText(t)}function Ng(e,t,n){e.setValue(t,n)}function Bu(e,t,n){return e.createElement(t,n)}function po(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $u(e,t,n){e.appendChild(t,n)}function Ol(e,t,n,r,o){r!==null?po(e,t,n,r,o):$u(e,t,n)}function Uu(e,t,n,r){e.removeChild(null,t,n,r)}function Sg(e,t,n){e.setAttribute(t,"style",n)}function xg(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Wu(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Rh(e,t,r),o!==null&&xg(e,t,o),i!==null&&Sg(e,t,i)}var Hn=(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})(Hn||{});function Ag(e){let t=oa();return t?Nl(t.sanitize(Hn.HTML,e)||""):xo(e,"HTML")?Nl(Yt(e)):Hu(wu(),Ee(e))}function Gu(e){let t=oa();return t?t.sanitize(Hn.URL,e)||"":xo(e,"URL")?Yt(e):ra(Ee(e))}function qu(e){let t=oa();if(t)return Sl(t.sanitize(Hn.RESOURCE_URL,e)||"");if(xo(e,"ResourceURL"))return Sl(Yt(e));throw new D(904,!1)}var Rg={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function kg(e,t){return Rg[e.toLowerCase()]?.[t.toLowerCase()]===!0?qu:Gu}function Og(e,t,n){return kg(t,n)(e)}function oa(){let e=y();return e&&e[ue].sanitizer}function Pg(e){return e.ownerDocument.defaultView}function Lg(e){return e.ownerDocument}function zu(e){return e instanceof Function?e():e}function Fg(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 Qu="ng-template";function jg(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Fg(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ia(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 ia(e){return e.type===4&&e.value!==Qu}function Vg(e,t,n){let r=e.type===4&&!n?Qu:e.value;return t===r}function Hg(e,t,n){let r=4,o=e.attrs,i=o!==null?Ug(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!pe(r)&&!pe(c))return!1;if(s&&pe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Vg(e,c,n)||c===""&&t.length===1){if(pe(r))return!1;s=!0}}else if(r&8){if(o===null||!jg(e,o,c,n)){if(pe(r))return!1;s=!0}}else{let l=t[++a],u=Bg(c,o,ia(e),n);if(u===-1){if(pe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(pe(r))return!1;s=!0}}}}return pe(r)||s}function pe(e){return(e&1)===0}function Bg(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 Wg(t,e)}function $g(e,t,n=!1){for(let r=0;r<t.length;r++)if(Hg(e,t[r],n))return!0;return!1}function Ug(e){for(let t=0;t<e.length;t++){let n=e[t];if(su(n))return t}return e.length}function Wg(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 Pl(e,t){return e?":not("+t.trim()+")":t}function Gg(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!==""&&!pe(s)&&(t+=Pl(i,o),o=""),r=s,i=i||!pe(r);n++}return o!==""&&(t+=Pl(i,o)),t}function qg(e){return e.map(Gg).join(",")}function zg(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(!pe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var H={};function sa(e,t,n,r,o,i,s,a,c,l,u){let d=R+r,p=d+o,f=Qg(d,p),h=typeof l=="function"?l():l;return f[m]={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 Qg(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:H);return n}function Zg(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=sa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function aa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[le]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),Wi(d),d[j]=d[pt]=e,d[P]=n,d[ue]=s||e&&e[ue],d[A]=a||e&&e[A],d[Ne]=c||e&&e[Ne]||null,d[te]=i,d[Se]=Qh(),d[Lt]=u,d[Vi]=l,d[K]=t.type==2?e[K]:d,d}function Yg(e,t,n){let r=fe(t,e),o=Zg(n),i=e[ue].rendererFactory,s=ca(e,aa(e,o,null,Zu(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Zu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Yu(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 ca(e,t){return e[jt]?e[ji][ee]=t:e[jt]=t,e[ji]=t,t}function Kg(e=1){Ku(L(),y(),oe()+e,!1)}function Ku(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&to(t,i,n)}else{let i=e.preOrderHooks;i!==null&&no(t,i,0,n)}qe(n)}var Ao=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ao||{});function As(e,t,n,r){let o=g(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ao.SignalBased)!==0&&(c=t[i][F]),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):tu(t,c,i,r)}finally{g(o)}}var ho=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ho||{}),Jg;function la(e,t){return Jg(e,t)}var lM=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Rs=new WeakMap,Mn=new WeakSet;function Xg(e,t){let n=Rs.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),Mn.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 em(e,t){let n=Rs.get(e);n?n.includes(t)||n.push(t):Rs.set(e,[t])}var xn=new Set,ua=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ua||{}),Ro=new S(""),Ll=new Set;function wt(e){Ll.has(e)||(Ll.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ju=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Y({token:e,providedIn:"root",factory:()=>new e})}return e})();var Xu=new S("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:C(X)})});function ed(e,t,n){let r=e.get(Xu);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 tm(e,t){let n=e.get(Xu);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function nm(e,t){for(let[n,r]of t)ed(e,r.animateFns)}function Fl(e,t,n,r){let o=e?.[We]?.enter;t!==null&&o&&o.has(n.index)&&nm(r,o)}function Ut(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;de(o)?c=o:xe(o)&&(l=!0,o=o[le]);let u=ne(o);e===0&&r!==null?(Fl(a,r,i,n),s==null?$u(t,r,u):po(t,r,u,s||null,!0)):e===1&&r!==null?(Fl(a,r,i,n),po(t,r,u,s||null,!0),Xg(i,u)):e===2?(a?.[We]?.leave?.has(i.index)&&em(i,u),Mn.delete(u),jl(a,i,n,d=>{if(Mn.has(u)){Mn.delete(u);return}Uu(t,u,l,d)})):e===3&&(Mn.delete(u),jl(a,i,n,()=>{t.destroyNode(u)})),c!=null&&gm(t,e,n,c,i,r,s)}}function rm(e,t){td(e,t),t[le]=null,t[te]=null}function om(e,t,n,r,o,i){r[le]=o,r[te]=t,Oo(e,r,n,1,o,i)}function td(e,t){t[ue].changeDetectionScheduler?.notify(9),Oo(e,t,t[A],2,null,null)}function im(e){let t=e[jt];if(!t)return fs(e[m],e);for(;t;){let n=null;if(xe(t))n=t[jt];else{let r=t[k];r&&(n=r)}if(!n){for(;t&&!t[ee]&&t!==e;)xe(t)&&fs(t[m],t),t=t[j];t===null&&(t=e),xe(t)&&fs(t[m],t),n=t&&t[ee]}t=n}}function da(e,t){let n=e[gt],r=n.indexOf(t);n.splice(r,1)}function ko(e,t){if(yt(t))return;let n=t[A];n.destroyNode&&Oo(e,t,n,3,null,null),im(t)}function fs(e,t){if(yt(t))return;let n=g(null);try{t[v]&=-129,t[v]|=256,t[J]&&et(t[J]),cm(e,t),am(e,t),t[m].type===1&&t[A].destroy();let r=t[Ue];if(r!==null&&de(t[j])){r!==t[j]&&da(r,t);let o=t[Ie];o!==null&&o.detachView(e)}Is(t)}finally{g(n)}}function jl(e,t,n,r){let o=e?.[We];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&xn.add(e[Se]),ed(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),sm(e,r)}else e&&xn.delete(e[Se]),r(!1)},o)}function sm(e,t){let n=e[We]?.running;if(n){n.then(()=>{e[We].running=void 0,xn.delete(e[Se]),t(!0)});return}t(!1)}function am(e,t){let n=e.cleanup,r=t[Ft];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[Ft]=null);let o=t[be];if(o!==null){t[be]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ve];if(i!==null){t[Ve]=null;for(let s of i)s.destroy()}}function cm(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 Sn)){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];x(w.LifecycleHookStart,a,c);try{c.call(a)}finally{x(w.LifecycleHookEnd,a,c)}}else{x(w.LifecycleHookStart,o,i);try{i.call(o)}finally{x(w.LifecycleHookEnd,o,i)}}}}}function lm(e,t,n){return um(e,t.parent,n)}function um(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[le];if(Ae(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ct.None||o===Ct.Emulated)return null}return fe(r,n)}function dm(e,t,n){return pm(e,t,n)}function fm(e,t,n){return e.type&40?fe(e,n):null}var pm=fm,Vl;function fa(e,t,n,r){let o=lm(e,r,t),i=t[A],s=r.parent||t[te],a=dm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ol(i,o,n[c],a,!1);else Ol(i,o,n,a,!1);Vl!==void 0&&Vl(i,r,t,n,o)}function _n(e,t){if(t!==null){let n=t.type;if(n&3)return fe(t,e);if(n&4)return ks(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return _n(e,r);{let o=e[t.index];return de(o)?ks(-1,o):ne(o)}}else{if(n&128)return _n(e,t.next);if(n&32)return la(t,e)()||ne(e[t.index]);{let r=nd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=He(e[K]);return _n(o,r)}else return _n(e,t.next)}}}return null}function nd(e,t){if(t!==null){let r=e[K][te],o=t.projection;return r.projection[o]}return null}function ks(e,t){let n=k+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return _n(r,o)}return t[Ge]}function pa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ne];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Gt(ne(c),r),n.flags|=2),!na(n))if(l&8)pa(e,t,n.child,r,o,i,!1),Ut(t,e,a,o,c,n,i,r);else if(l&32){let u=la(n,r),d;for(;d=u();)Ut(t,e,a,o,d,n,i,r);Ut(t,e,a,o,c,n,i,r)}else l&16?hm(e,t,r,n,o,i):Ut(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Oo(e,t,n,r,o,i){pa(n,r,e.firstChild,t,o,i,!1)}function hm(e,t,n,r,o,i){let s=n[K],c=s[te].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ut(t,e,n[Ne],o,u,r,i,n)}else{let l=c,u=s[j];Eu(r)&&(l.flags|=128),pa(e,t,l,u,o,i,!0)}}function gm(e,t,n,r,o,i,s){let a=r[Ge],c=ne(r);a!==c&&Ut(t,e,n,i,a,o,s);for(let l=k;l<r.length;l++){let u=r[l];Oo(u[m],u,e,t,i,a)}}function mm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ho.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ho.Important),e.setStyle(n,r,o,i))}}function rd(e,t,n,r,o){let i=oe(),s=r&2;try{qe(-1),s&&t.length>R&&Ku(e,t,R,!1);let a=s?w.TemplateUpdateStart:w.TemplateCreateStart;x(a,o,n),n(r,o)}finally{qe(i);let a=s?w.TemplateUpdateEnd:w.TemplateCreateEnd;x(a,o,n)}}function od(e,t,n){Tm(e,t,n),(n.flags&64)===64&&wm(e,t,n)}function ha(e,t,n=fe){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 ym(e,t,n,r){let i=r.get(Su,Nu)||n===Ct.ShadowDom||n===Ct.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new D(905,!1);return vm(s),s}function vm(e){Em(e)}var Em=()=>null;function Im(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Dm(e,t,n,r,o,i){let s=t[m];if(ga(e,s,t,n,r)){Ae(e)&&Cm(t,e.index);return}e.type&3&&(n=Im(n)),id(e,t,n,r,o,i)}function id(e,t,n,r,o,i){if(e.type&3){let s=fe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Cm(e,t){let n=re(t,e);n[v]&16||(n[v]|=64)}function Tm(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ae(n)&&Yg(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||uu(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=uo(t,e,s,n);if(Gt(c,t),i!==null&&Sm(t,s-r,c,a,n,i),mt(a)){let l=re(n.index,t);l[P]=uo(t,e,s,n)}}}function wm(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ol();try{qe(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Vr(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&bm(c,l)}}finally{qe(-1),Vr(s)}}function bm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Mm(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];$g(t,i.selectors,!1)&&(r??=[],mt(i)?r.unshift(i):r.push(i))}return r}function _m(e,t,n,r,o,i){let s=fe(e,t);Nm(t[A],s,i,e.value,n,r,o)}function Nm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ee(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Sm(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];As(r,n,c,l)}}function sd(e,t,n,r,o){let i=R+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,vt(e,!0);let c=e.type===2;return c?(Wu(t[A],a,e),(qc()===0||Or(e))&&Gt(a,t),zc()):Gt(a,t),Wr()&&(!c||!na(e))&&fa(s,t,a,e),e}function ad(e){let t=e;return Xi()?Xc():(t=t.parent,vt(t,!1)),t}function xm(e,t){let n=e[Ne];if(!n)return;let r;try{r=n.get(It,null)}catch{r=null}r?.(t)}function ga(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];As(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];As(u,l,r,o),a=!0}return a}function Am(e,t){let n=re(t,e),r=n[m];Rm(r,n);let o=n[le];o!==null&&n[Lt]===null&&(n[Lt]=xu(o,n[Ne])),x(w.ComponentStart);try{ma(r,n,n[P])}finally{x(w.ComponentEnd,n[P])}}function Rm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ma(e,t,n){Br(t);try{let r=e.viewQuery;r!==null&&Cs(1,r,n);let o=e.template;o!==null&&rd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ie]?.finishViewCreation(e),e.staticContentQueries&&Au(e,t),e.staticViewQueries&&Cs(2,e.viewQuery,n);let i=e.components;i!==null&&km(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,$r()}}function km(e,t){for(let n=0;n<t.length;n++)Am(e,t[n])}function Po(e,t,n,r){let o=g(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=aa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ue]=l;let u=e[Ie];return u!==null&&(c[Ie]=u.createEmbeddedView(i)),ma(i,c,n),c}finally{g(o)}}function An(e,t){return!t||t.firstChild===null||Eu(e)}function Rn(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(ne(i)),de(i)&&cd(i,r);let s=n.type;if(s&8)Rn(e,t,n.child,r);else if(s&32){let a=la(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=He(t[K]);Rn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function cd(e,t){for(let n=k;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Rn(r[m],r,o,t)}e[Ge]!==e[le]&&t.push(e[Ge])}function ld(e){if(e[kr]!==null){for(let t of e[kr])t.impl.addSequence(t);e[kr].length=0}}var ud=[];function Om(e){return e[J]??Pm(e)}function Pm(e){let t=ud.pop()??Object.create(Fm);return t.lView=e,t}function Lm(e){e.lView[J]!==e&&(e.lView=null,ud.push(e))}var Fm=U($({},Oe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ht(e.lView)},consumerOnSignalRead(){this.lView[J]=this}});function jm(e){let t=e[J]??Object.create(Vm);return t.lView=e,t}var Vm=U($({},Oe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=He(e.lView);for(;t&&!dd(t[m]);)t=He(t);t&&Gi(t)},consumerOnSignalRead(){this.lView[J]=this}});function dd(e){return e.type!==2}function fd(e){if(e[Ve]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ve])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var Hm=100;function pd(e,t=0){let r=e[ue].rendererFactory,o=!1;o||r.begin?.();try{Bm(e,t)}finally{o||r.end?.()}}function Bm(e,t){let n=es();try{dn(!0),Os(e,t);let r=0;for(;Dn(e);){if(r===Hm)throw new D(103,!1);r++,Os(e,1)}}finally{dn(n)}}function $m(e,t,n,r){if(yt(t))return;let o=t[v],i=!1,s=!1;Br(t);let a=!0,c=null,l=null;i||(dd(e)?(l=Om(t),c=Pe(l)):qn()===null?(a=!1,l=jm(t),c=Pe(l)):t[J]&&(et(t[J]),t[J]=null));try{Wi(t),tl(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&&to(t,f,null)}else{let f=e.preOrderHooks;f!==null&&no(t,f,0,null),us(t,0)}if(s||Um(t),fd(t),hd(t,0),e.contentQueries!==null&&Au(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&to(t,f)}else{let f=e.contentHooks;f!==null&&no(t,f,1),us(t,1)}Gm(e,t);let d=e.components;d!==null&&md(t,d,0);let p=e.viewQuery;if(p!==null&&Cs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&to(t,f)}else{let f=e.viewHooks;f!==null&&no(t,f,2),us(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Rr]){for(let f of t[Rr])f();t[Rr]=null}i||(ld(t),t[v]&=-73)}catch(u){throw i||Ht(t),u}finally{l!==null&&(Xe(l,c),a&&Lm(l)),$r()}}function hd(e,t){for(let n=Du(e);n!==null;n=Cu(n))for(let r=k;r<n.length;r++){let o=n[r];gd(o,t)}}function Um(e){for(let t=Du(e);t!==null;t=Cu(t)){if(!(t[v]&2))continue;let n=t[gt];for(let r=0;r<n.length;r++){let o=n[r];Gi(o)}}}function Wm(e,t,n){x(w.ComponentStart);let r=re(t,e);try{gd(r,n)}finally{x(w.ComponentEnd,r[P])}}function gd(e,t){Fr(e)&&Os(e,t)}function Os(e,t){let r=e[m],o=e[v],i=e[J],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Jt(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)$m(r,e,r.template,e[P]);else if(o&8192){let a=g(null);try{fd(e),hd(e,1);let c=r.components;c!==null&&md(e,c,1),ld(e)}finally{g(a)}}}function md(e,t,n){for(let r=0;r<t.length;r++)Wm(e,t[r],n)}function Gm(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)qe(~o);else{let i=o,s=n[++r],a=n[++r];rl(s,i);let c=t[i];x(w.HostBindingsUpdateStart,c);try{a(2,c)}finally{x(w.HostBindingsUpdateEnd,c)}}}}finally{qe(-1)}}function ya(e,t){let n=es()?64:1088;for(e[ue].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=He(e);if(Vt(e)&&!r)return e;e=r}return null}function yd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function vd(e,t){let n=k+t;if(n<e.length)return e[n]}function Lo(e,t,n,r=!0){let o=t[m];if(qm(o,t,e,n),r){let s=ks(n,e),a=t[A],c=a.parentNode(e[Ge]);c!==null&&om(o,e[te],a,t,c,s)}let i=t[Lt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ed(e,t){let n=kn(e,t);return n!==void 0&&ko(n[m],n),n}function kn(e,t){if(e.length<=k)return;let n=k+t,r=e[n];if(r){let o=r[Ue];o!==null&&o!==e&&da(o,r),t>0&&(e[n-1][ee]=r[ee]);let i=yn(e,k+t);rm(r[m],r);let s=i[Ie];s!==null&&s.detachView(i[m]),r[j]=null,r[ee]=null,r[v]&=-129}return r}function qm(e,t,n,r){let o=k+r,i=n.length;r>0&&(n[o-1][ee]=t),r<i-k?(t[ee]=n[o],Ri(n,k+r,t)):(n.push(t),t[ee]=null),t[j]=n;let s=t[Ue];s!==null&&n!==s&&Id(s,t);let a=t[Ie];a!==null&&a.insertView(e),jr(t),t[v]|=128}function Id(e,t){let n=e[gt],r=t[j];if(xe(r))e[v]|=2;else{let o=r[j][K];t[K]!==o&&(e[v]|=2)}n===null?e[gt]=[t]:n.push(t)}var Qe=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Rn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[P]}set context(t){this._lView[P]=t}get destroyed(){return yt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[j];if(de(t)){let n=t[En],r=n?n.indexOf(this):-1;r>-1&&(kn(t,r),yn(n,r))}this._attachedToViewContainer=!1}ko(this._lView[m],this._lView)}onDestroy(t){qi(this._lView,t)}markForCheck(){ya(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){jr(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,pd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Vt(this._lView),n=this._lView[Ue];n!==null&&!t&&da(n,this._lView),td(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=Vt(this._lView),r=this._lView[Ue];r!==null&&!n&&Id(r,this._lView),jr(this._lView)}};var On=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=zm;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=Po(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Qe(i)}}return e})();function zm(){return va(G(),y())}function va(e,t){return e.type&4?new On(t,e,Zt(e,t)):null}function Bn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Qm(e,t,n,r,o),nl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Jc();i.injectorIndex=s===null?-1:s.injectorIndex}return vt(i,!0),i}function Qm(e,t,n,r,o){let i=Ji(),s=Xi(),a=s?i:i&&i.parent,c=e.data[t]=Ym(e,a,n,t,r,o);return Zm(e,c,i,s),c}function Zm(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 Ym(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zc()&&(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:os(),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 Km(e){let t=e[Hi]??[],r=e[j][A],o=[];for(let i of t)i.data[_u]!==void 0?o.push(i):Jm(i,r);e[Hi]=o}function Jm(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Mu];for(;n<o;){let i=r.nextSibling;Uu(t,r,!1),r=i,n++}}}var Xm=()=>null,ey=()=>null;function Ps(e,t){return Xm(e,t)}function Dd(e,t,n){return ey(e,t,n)}var Cd=class{},Fo=class{},Ls=class{resolveComponentFactory(t){throw new D(917,!1)}},$n=class{static NULL=new Ls},Pn=class{},ty=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ny()}return e})();function ny(){let e=y(),t=G(),n=re(t.index,e);return(xe(n)?n:e)[A]}var Td=(()=>{class e{static \u0275prov=Y({token:e,providedIn:"root",factory:()=>null})}return e})();var oo={},Fs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,oo,r);return o!==oo||n===oo?o:this.parentInjector.get(t,n,r)}};function go(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=Cr(o,a);else if(i==2){let c=a,l=t[++s];r=Cr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ea(e,t=0){let n=y();if(n===null)return ye(e,t);let r=G();return hu(r,n,Z(e),t)}function ry(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}sy(e,t,n,a,i,c,l)}i!==null&&r!==null&&oy(n,r,i)}function oy(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 D(-301,!1);r.push(t[o],i)}}function iy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function sy(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&&mt(f)&&(c=f,iy(e,n,p)),jh(uu(n,t),e,f.type)}fy(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=Yu(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=No(n.mergedAttrs,f.hostAttrs),cy(e,n,t,d,f),dy(d,f,o),s!==null&&s.has(f)){let[T,O]=s.get(f);n.directiveToIndex.set(f.type,[d,T+n.directiveStart,O+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++}ay(e,n,i)}function ay(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Hl(0,t,o,r),Hl(1,t,o,r),$l(t,r,!1);else{let i=n.get(o);Bl(0,t,i,r),Bl(1,t,i,r),$l(t,r,!0)}}}function Hl(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),wd(t,i)}}function Bl(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),wd(t,s)}}function wd(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function $l(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ia(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 cy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=je(o.type,!0)),s=new Sn(i,mt(o),Ea,null);e.blueprint[r]=s,n[r]=s,ly(e,t,r,Yu(e,n,o.hostVars,H),o)}function ly(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;uy(s)!=a&&s.push(a),s.push(n,r,i)}}function uy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function dy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mt(t)&&(n[""]=e)}}function fy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function bd(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=De(l,s),d=Bn(c,e,n,r,u);return i&&ry(c,t,d,De(l,a),o),d.mergedAttrs=No(d.mergedAttrs,d.attrs),d.attrs!==null&&go(d,d.attrs,!1),d.mergedAttrs!==null&&go(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Md(e,t){Nh(e,t),Bi(t)&&e.queries.elementEnd(t)}function py(e,t,n,r,o,i){let s=t.consts,a=De(s,o),c=Bn(t,e,n,r,a);if(c.mergedAttrs=No(c.mergedAttrs,c.attrs),i!=null){let l=De(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&go(c,c.attrs,!1),c.mergedAttrs!==null&&go(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function jo(e,t,n){return e[t]=n}function _d(e,t){return e[t]}function ie(e,t,n){if(n===H)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ia(e,t,n,r){let o=ie(e,t,n);return ie(e,t+1,r)||o}function hy(e,t,n,r,o){let i=Ia(e,t,n,r);return ie(e,t+2,o)||i}function io(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&tg(o,i);let s=Ae(e)?re(e.index,t):t;ya(s,5);let a=t[P],c=Ul(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Ul(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Ul(e,t,n,r){let o=g(null);try{return x(w.OutputStart,t,n),n(r)!==!1}catch(i){return xm(e,i),!1}finally{x(w.OutputEnd,t,n),g(o)}}function Nd(e,t,n,r,o,i,s,a){let c=Or(e),l=!1,u=null;if(!r&&c&&(u=my(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=fe(e,n),p=r?r(d):d;rg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!gy(i)){let h=r?T=>r(ne(T[e.index])):e.index;Sd(h,t,n,i,a,f,!1)}}return l}function gy(e){return e.startsWith("animation")||e.startsWith("transition")}function my(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[Ft],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Sd(e,t,n,r,o,i,s){let a=t.firstCreatePass?Qi(t):null,c=zi(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Wl(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);Sd(e.index,a,t,o,i,d,!0)}var js=Symbol("BINDING");function xd(e){return e.debugInfo?.className||e.type.name||null}var mo=class extends $n{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=$e(t);return new qt(n,this.ngModule)}};function yy(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ao.SignalBased)!==0};return o&&(i.transform=o),i})}function vy(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Ey(e,t,n){let r=t instanceof X?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Fs(n,r):n}function Iy(e){let t=e.get(Pn,null);if(t===null)throw new D(407,!1);let n=e.get(Td,null),r=e.get(ut,null),o=e.get(Ro,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Dy(e,t){let n=Ad(e);return Bu(t,n,n==="svg"?$i:n==="math"?Hc:null)}function Ad(e){return(e.selectors[0][0]||"div").toLowerCase()}var qt=class extends Fo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=yy(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=vy(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=qg(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){x(w.DynamicComponentStart);let a=g(null);try{let c=this.componentDef,l=Ey(c,o||this.ngModule,t),u=Iy(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(xd(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{g(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Cy(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?ym(l,o,a.encapsulation,n):Dy(a,l),d=s?.some(Gl)||i?.some(h=>typeof h!="function"&&h.bindings.some(Gl)),p=aa(null,c,null,512|Zu(a),null,null,t,l,n,null,xu(u,n,!0));p[R]=u,Br(p);let f=null;try{let h=bd(R,p,2,"#host",()=>c.directiveRegistry,!0,0);Wu(l,u,h),Gt(u,p),od(c,p,h),Ru(c,h,p),Md(c,h),r!==void 0&&wy(h,this.ngContentSelectors,r),f=re(h.index,p),p[P]=f[P],ma(c,p,null)}catch(h){throw f!==null&&Is(f),Is(p),h}finally{x(w.DynamicComponentEnd),$r()}return new yo(this.componentType,p,!!d)}};function Cy(e,t,n,r){let o=e?["ng-version","21.2.16"]:zg(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[js].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[js].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=Si(d);c.push(p)}return sa(0,null,Ty(i,s),1,a,c,null,null,null,[o],null)}function Ty(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 Gl(e){let t=e[js].kind;return t==="input"||t==="twoWay"}var yo=class extends Cd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Pr(n[m],R),this.location=Zt(this._tNode,n),this.instance=re(this._tNode.index,n)[P],this.hostView=this.changeDetectorRef=new Qe(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=ga(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=re(r.index,o);ya(s,1)}get injector(){return new Dt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function wy(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 Vo=(()=>{class e{static __NG_ELEMENT_ID__=by}return e})();function by(){let e=G();return Rd(e,y())}var Vs=class e extends Vo{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zt(this._hostTNode,this._hostLView)}get injector(){return new Dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ea(this._hostTNode,this._hostLView);if(au(t)){let n=co(t,this._hostLView),r=ao(t),o=n[m].data[r+8];return new Dt(o,n)}else return new Dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ql(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-k}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ps(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,An(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Ch(t),l;if(c)l=n;else{let O=n||{};l=O.index,r=O.injector,o=O.projectableNodes,i=O.environmentInjector||O.ngModuleRef,s=O.directives,a=O.bindings}let u=c?t:new qt($e(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let B=(c?d:this.parentInjector).get(X,null);B&&(i=B)}let p=$e(u.componentType??{}),f=Ps(this._lContainer,p?.id??null),h=f?.firstChild??null,T=u.create(d,o,h,i,s,a);return this.insertImpl(T.hostView,l,An(this._hostTNode,f)),T}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if($c(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[j],l=new e(c,c[te],c[j]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Lo(s,o,i,r),t.attachToViewContainerRef(),Ri(ps(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ql(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=kn(this._lContainer,n);r&&(yn(ps(this._lContainer),n),ko(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=kn(this._lContainer,n);return r&&yn(ps(this._lContainer),n)!=null?new Qe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ql(e){return e[En]}function ps(e){return e[En]||(e[En]=[])}function Rd(e,t){let n,r=t[e.index];return de(r)?n=r:(n=yd(r,t,null,e),t[e.index]=n,ca(t,n)),_y(n,t,e,r),new Vs(n,e,t)}function My(e,t){let n=e[A],r=n.createComment(""),o=fe(t,e),i=n.parentNode(o);return po(n,i,r,n.nextSibling(o),!1),r}var _y=xy,Ny=()=>!1;function Sy(e,t,n){return Ny(e,t,n)}function xy(e,t,n,r){if(e[Ge])return;let o;n.type&8?o=ne(r):o=My(t,n),e[Ge]=o}var Hs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Bs=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++)Ca(t,n).matches!==null&&this.queries[n].setDirty()}},vo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Fy(t):this.predicate=t}},$s=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)}},Us=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,Ay(n,i)),this.matchTNodeWithReadOption(t,n,ro(n,t,i,!1,!1))}else r===On?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ro(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===jn||o===Vo||o===On&&n.type&4)this.addMatch(n.index,-2);else{let i=ro(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 Ay(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 Ry(e,t){return e.type&11?Zt(e,t):e.type&4?va(e,t):null}function ky(e,t,n,r){return n===-1?Ry(t,e):n===-2?Oy(e,t,r):uo(e,e[m],n,t)}function Oy(e,t,n){if(n===jn)return Zt(t,e);if(n===On)return va(t,e);if(n===Vo)return Rd(t,e)}function kd(e,t,n,r){let o=t[Ie].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(ky(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ws(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=kd(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=k;d<u.length;d++){let p=u[d];p[Ue]===p[j]&&Ws(p[m],p,l,r)}if(u[gt]!==null){let d=u[gt];for(let p=0;p<d.length;p++){let f=d[p];Ws(f[m],f,l,r)}}}}}return r}function Da(e,t){return e[Ie].queries[t].queryList}function Od(e,t,n){let r=new fo((n&4)===4);return Gc(e,t,r,r.destroy),(t[Ie]??=new Bs).queries.push(new Hs(r))-1}function Py(e,t,n){let r=L();return r.firstCreatePass&&(Pd(r,new vo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Od(r,y(),t)}function Ly(e,t,n,r){let o=L();if(o.firstCreatePass){let i=G();Pd(o,new vo(t,n,r),i.index),jy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Od(o,y(),n)}function Fy(e){return e.split(",").map(t=>t.trim())}function Pd(e,t,n){e.queries===null&&(e.queries=new $s),e.queries.track(new Us(t,n))}function jy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ca(e,t){return e.queries.getByIndex(t)}function Ld(e,t){let n=e[m],r=Ca(n,t);return r.crossesNgTemplate?Ws(n,e,t,[]):kd(n,e,r,t)}function Fd(e,t,n){let r,o=tn(()=>{r._dirtyCounter();let i=Hy(r,e);if(t&&i===void 0)throw new D(-951,!1);return i});return r=o[F],r._dirtyCounter=zr(0),r._flatValue=void 0,o}function jd(e){return Fd(!0,!1,e)}function Vd(e){return Fd(!0,!0,e)}function Vy(e,t){let n=e[F];n._lView=y(),n._queryIndex=t,n._queryList=Da(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Hy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:ce;let o=Da(n,r),i=Ld(n,r);return o.reset(i,vu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var zt=class{},Hd=class{};var Eo=class extends zt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new mo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ni(t);this._bootstrapComponents=zu(i.bootstrap),this._r3Injector=is(t,n,[{provide:zt,useValue:this},{provide:$n,useValue:this.componentFactoryResolver},...r],gn(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)}},Io=class extends Hd{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Eo(this.moduleType,t,[])}};var Ln=class extends zt{injector;componentFactoryResolver=new mo(this);instance=null;constructor(t){super();let n=new lt([...t.providers,{provide:zt,useValue:this},{provide:$n,useValue:this.componentFactoryResolver}],t.parent||vn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Bd(e,t,n=null){return new Ln({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var By=(()=>{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=Pi(!1,n.type),o=r.length>0?Bd([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=Y({token:e,providedIn:"environment",factory:()=>new e(ye(X))})}return e})();function $y(e){return _o(()=>{let t=$d(e),n=U($({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ta.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(By).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||ce,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wt("NgStandalone"),Ud(n);let r=e.dependencies;return n.directiveDefs=zl(r,Uy),n.pipeDefs=zl(r,Mc),n.id=Qy(n),n})}function Uy(e){return $e(e)||Si(e)}function Wy(e,t){if(e==null)return ft;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=Ao.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Gy(e){if(e==null)return ft;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function qy(e){return _o(()=>{let t=$d(e);return Ud(t),t})}function zy(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 $d(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||ft,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ce,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Wy(e.inputs,t),outputs:Gy(e.outputs),debugInfo:null}}function Ud(e){e.features?.forEach(t=>t(e))}function zl(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 Qy(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}function Zy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=No(e.mergedAttrs,e.attrs);let u=e.tView=sa(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),vt(e,!1);let c=Yy(n,t,e,r);Wr()&&fa(n,t,c,e),Gt(c,t);let l=yd(c,t,c,e);t[r+R]=l,ca(t,l),Sy(l,e,t)}function Do(e,t,n,r,o,i,s,a,c,l,u){let d=n+R,p;if(t.firstCreatePass){if(p=Bn(t,d,4,s||null,a||null),l!=null){let f=De(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 Zy(p,e,t,n,r,o,i,c),l!=null&&ha(e,p,u),p}var Yy=Ky;function Ky(e,t,n,r){return Gr(!0),t[A].createComment("")}var Jy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Wd=new S("");function Ta(e){return!!e&&typeof e.then=="function"}function Gd(e){return!!e&&typeof e.subscribe=="function"}var qd=new S("");var wa=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(qd,{optional:!0})??[];injector=C(Me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ar(this.injector,o);if(Ta(i))n.push(i);else if(Gd(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=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zd=new S("");function Qd(){Qo(()=>{let e="";throw new D(600,e)})}function Zd(e){return e.isBoundToModule}var Xy=10;var Ho=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(It);afterRenderManager=C(Ju);zonelessEnabled=C(wn);rootEffectScheduler=C(Yr);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=C($t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(it(n=>!n))}constructor(){C(Ro,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(X);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Me.NULL){return this._injector.get(_e).run(()=>{x(w.BootstrapComponentStart);let s=n instanceof Fo;if(!this._injector.get(wa).done){let h="";throw new D(405,h)}let c;s?c=n:c=this._injector.get($n).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Zd(c)?void 0:this._injector.get(zt),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Wd,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Nn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),x(w.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){x(w.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ua.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw x(w.ChangeDetectionEnd),new D(101,!1);let n=g(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,g(n),this.afterTick.next(),x(w.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Pn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Xy;){x(w.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{x(w.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&&!Dn(o))continue;let i=r&&!this.zonelessEnabled?0:1;pd(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})=>Dn(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;Nn(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(zd,[]).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),()=>Nn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(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=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Nn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Yd(e,t,n,r){let o=y(),i=Et();if(ie(o,i,t)){let s=L(),a=Ur();_m(a,o,e,t,n,r)}return Yd}var Gs=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 hs(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ev(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){g(r);let l=t.length-1;for(g(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=hs(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],T=hs(a,f,l,h,n);if(T!==0){T<0&&e.updateValue(a,h),a--,l--;continue}let O=n(s,u),B=n(a,f),Kt=n(s,d);if(Object.is(Kt,B)){let Uo=n(l,h);Object.is(Uo,O)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Co,i??=Zl(e,s,a,n),qs(e,o,s,Kt))e.updateValue(s,d),s++,a++;else if(i.has(Kt))o.set(O,e.detach(s)),a--;else{let Uo=e.create(s,t[s]);e.attach(s,Uo),s++,a++}}for(;s<=l;)Ql(e,o,n,s,t[s]),s++}else if(t!=null){g(r);let l=t[Symbol.iterator]();g(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=hs(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Co,i??=Zl(e,s,a,n);let h=n(s,p);if(qs(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 T=n(s,d);o.set(T,e.detach(s)),a--}}}for(;!u.done;)Ql(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 qs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ql(e,t,n,r,o){if(qs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Zl(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 Co=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 tv(e,t,n,r,o,i,s,a){wt("NgControlFlow");let c=y(),l=L(),u=De(l.consts,i);return Do(c,l,e,t,n,r,o,u,256,s,a),ba}function ba(e,t,n,r,o,i,s,a){wt("NgControlFlow");let c=y(),l=L(),u=De(l.consts,i);return Do(c,l,e,t,n,r,o,u,512,s,a),ba}function nv(e,t){wt("NgControlFlow");let n=y(),r=Et(),o=n[r]!==H?n[r]:-1,i=o!==-1?To(n,R+o):void 0,s=0;if(ie(n,r,e)){let a=g(null);try{if(i!==void 0&&Ed(i,s),e!==-1){let c=R+e,l=To(n,c),u=Ys(n[m],c),d=Dd(l,u,n),p=Po(n,u,t,{dehydratedView:d});Lo(l,p,s,An(u,d))}}finally{g(a)}}else if(i!==void 0){let a=vd(i,s);a!==void 0&&(a[P]=t)}}var zs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-k}};function rv(e){return e}function ov(e,t){return t}var Qs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function iv(e,t,n,r,o,i,s,a,c,l,u,d,p){wt("NgControlFlow");let f=y(),h=L(),T=c!==void 0,O=y(),B=a?s.bind(O[K][P]):s,Kt=new Qs(T,B);O[R+e]=Kt,Do(f,h,e+1,t,n,r,o,De(h.consts,i),256),T&&Do(f,h,e+2,c,l,u,d,De(h.consts,p),512)}var Zs=class extends Gs{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-k}at(t){return this.getLView(t)[P].$implicit}attach(t,n){let r=n[Lt];this.needsIndexUpdate||=t!==this.length,Lo(this.lContainer,n,t,An(this.templateTNode,r)),av(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cv(this.lContainer,t),lv(this.lContainer,t)}create(t,n){let r=Ps(this.lContainer,this.templateTNode.tView.ssrId);return Po(this.hostLView,this.templateTNode,new zs(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ko(t[m],t)}updateValue(t,n){this.getLView(t)[P].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[P].$index=t}getLView(t){return uv(this.lContainer,t)}};function sv(e){let t=g(null),n=oe();try{let r=y(),o=r[m],i=r[n],s=n+1,a=To(r,s);if(i.liveCollection===void 0){let l=Ys(o,s);i.liveCollection=new Zs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(ev(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Et(),u=c.length===0;if(ie(r,l,u)){let d=n+2,p=To(r,d);if(u){let f=Ys(o,d),h=Dd(p,f,r),T=Po(r,f,void 0,{dehydratedView:h});Lo(p,T,0,An(f,h))}else o.firstUpdatePass&&Km(p),Ed(p,0)}}}finally{g(t)}}function To(e,t){return e[t]}function av(e,t){if(e.length<=k)return;let n=k+t,r=e[n],o=r?r[We]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ne];tm(i,o),xn.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function cv(e,t){if(e.length<=k)return;let n=k+t,r=e[n],o=r?r[We]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function lv(e,t){return kn(e,t)}function uv(e,t){return vd(e,t)}function Ys(e,t){return Pr(e,t)}function Kd(e,t,n){let r=y(),o=Et();if(ie(r,o,t)){let i=L(),s=Ur();Dm(s,r,e,t,r[A],n)}return Kd}function Ks(e,t,n,r,o){ga(t,e,n,o?"class":"style",r)}function wo(e,t,n,r){let o=y(),i=o[m],s=e+R,a=i.firstCreatePass?bd(s,o,2,t,Mm,Qc(),n,r):i.data[s];if(Ae(a)){let c=o[ue].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(xd(l),()=>(Yl(e,t,o,a,r),wo))}}return Yl(e,t,o,a,r),wo}function Yl(e,t,n,r,o){if(sd(r,n,e,t,ef),Or(r)){let i=n[m];od(i,n,r),Ru(i,r,n)}o!=null&&ha(n,r)}function Ma(){let e=L(),t=G(),n=ad(t);return e.firstCreatePass&&Md(e,n),Yi(n)&&Ki(),Zi(),n.classesWithoutHost!=null&&xh(n)&&Ks(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Ah(n)&&Ks(e,n,y(),n.stylesWithoutHost,!1),Ma}function Jd(e,t,n,r){return wo(e,t,n,r),Ma(),Jd}function _a(e,t,n,r){let o=y(),i=o[m],s=e+R,a=i.firstCreatePass?py(s,i,2,t,n,r):i.data[s];return sd(a,o,e,t,ef),r!=null&&ha(o,a),_a}function Na(){let e=G(),t=ad(e);return Yi(t)&&Ki(),Zi(),Na}function Xd(e,t,n,r){return _a(e,t,n,r),Na(),Xd}var ef=(e,t,n,r,o)=>(Gr(!0),Bu(t[A],r,os()));function dv(){return y()}function tf(e,t,n){let r=y(),o=Et();if(ie(r,o,t)){let i=L(),s=Ur();id(s,r,e,t,r[A],n)}return tf}var bn=void 0;function fv(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var pv=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],bn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],bn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",bn,bn,bn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",fv],gs=Object.create(null);function hv(e){let t=gv(e),n=Kl(t);if(n)return n;let r=t.split("-")[0];if(n=Kl(r),n)return n;if(r==="en")return pv;throw new D(701,!1)}function Kl(e){return e in gs||(gs[e]=ve.ng&&ve.ng.common&&ve.ng.common.locales&&ve.ng.common.locales[e]),gs[e]}var nf=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(nf||{});function gv(e){return e.toLowerCase().replace(/_/g,"-")}var Un="en-US";var mv=Un;function rf(e){typeof e=="string"&&(mv=e.toLowerCase().replace(/_/g,"-"))}function of(e,t,n){let r=y(),o=L(),i=G();return yv(o,r,r[A],i,e,t,n),of}function sf(e,t,n){let r=y(),o=L(),i=G();return(i.type&3||n)&&Nd(i,o,r,n,r[A],e,t,io(i,r,t)),sf}function yv(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=io(r,t,i),Nd(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??=io(r,t,i),Wl(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=io(r,t,i),Wl(r,t,d,o,o,c)}}function vv(e=1){return ll(e)}function af(e,t,n,r){return Ly(e,t,n,r),af}function Ev(e){let t=y(),n=L(),r=Hr();Tn(r+1);let o=Ca(n,r);if(e.dirty&&Bc(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Ld(t,r);e.reset(i,vu),e.notifyOnChanges()}return!0}return!1}function Iv(){return Da(y(),Hr())}function cf(e,t,n,r){return Vy(e,Py(t,n,r)),cf}function Dv(e=1){Tn(Hr()+e)}function eo(e,t){return e<<17|t<<2}function Tt(e){return e>>17&32767}function Cv(e){return(e&2)==2}function Tv(e,t){return e&131071|t<<17}function Js(e){return e|2}function Qt(e){return(e&131068)>>2}function ms(e,t){return e&-131069|t<<2}function wv(e){return(e&1)===1}function Xs(e){return e|1}function bv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Tt(s),c=Qt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ot(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Tt(e[a+1]);e[r+1]=eo(p,a),p!==0&&(e[p+1]=ms(e[p+1],r)),e[a+1]=Tv(e[a+1],r)}else e[r+1]=eo(a,0),a!==0&&(e[a+1]=ms(e[a+1],r)),a=r;else e[r+1]=eo(c,0),a===0?a=r:e[c+1]=ms(e[c+1],r),c=r;l&&(e[r+1]=Js(e[r+1])),Jl(e,u,r,!0),Jl(e,u,r,!1),Mv(t,u,e,r,i),s=eo(a,c),i?t.classBindings=s:t.styleBindings=s}function Mv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ot(i,t)>=0&&(n[r+1]=Xs(n[r+1]))}function Jl(e,t,n,r){let o=e[n+1],i=t===null,s=r?Tt(o):Qt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];_v(c,t)&&(a=!0,e[s+1]=r?Xs(l):Js(l)),s=r?Tt(l):Qt(l)}a&&(e[n+1]=r?Js(o):Xs(o))}function _v(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ot(e,t)>=0:!1}var he={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nv(e){return e.substring(he.key,he.keyEnd)}function Sv(e){return xv(e),lf(e,uf(e,0,he.textEnd))}function lf(e,t){let n=he.textEnd;return n===t?-1:(t=he.keyEnd=Av(e,he.key=t,n),uf(e,t,n))}function xv(e){he.key=0,he.keyEnd=0,he.value=0,he.valueEnd=0,he.textEnd=e.length}function uf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Av(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function df(e,t,n){return pf(e,t,n,!1),df}function ff(e,t){return pf(e,t,null,!0),ff}function Rv(e){Ov(Hv,kv,e,!0)}function kv(e,t){for(let n=Sv(t);n>=0;n=lf(t,n))Nr(e,Nv(t),!0)}function pf(e,t,n,r){let o=y(),i=L(),s=Cn(2);if(i.firstUpdatePass&&gf(i,e,s,r),t!==H&&ie(o,s,t)){let a=i.data[oe()];mf(i,a,o,o[A],e,o[s+1]=$v(t,n),r,s)}}function Ov(e,t,n,r){let o=L(),i=Cn(2);o.firstUpdatePass&&gf(o,null,i,r);let s=y();if(n!==H&&ie(s,i,n)){let a=o.data[oe()];if(yf(a,r)&&!hf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Cr(c,n||"")),Ks(o,a,s,n,r)}else Bv(o,a,s,s[A],s[i+1],s[i+1]=Vv(e,t,n),r,i)}}function hf(e,t){return t>=e.expandoStartIndex}function gf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[oe()],s=hf(e,n);yf(i,r)&&t===null&&!s&&(t=!1),t=Pv(o,i,t,r),bv(o,i,t,n,s,r)}}function Pv(e,t,n,r){let o=il(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ys(null,e,t,n,r),n=Fn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ys(o,e,t,n,r),i===null){let c=Lv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ys(null,e,t,c[1],r),c=Fn(c,t.attrs,r),Fv(e,t,r,c))}else i=jv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Lv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Qt(r)!==0)return e[Tt(r)]}function Fv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Tt(o)]=r}function jv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Fn(r,s,n)}return Fn(r,t.attrs,n)}function ys(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=Fn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Fn(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]),Nr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Vv(e,t,n){if(n==null||n==="")return ce;let r=[],o=Yt(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)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Hv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Nr(e,r,n)}function Bv(e,t,n,r,o,i,s,a){o===H&&(o=ce);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,T;u===d?(c+=2,l+=2,p!==f&&(h=d,T=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,T=f),h!==null&&mf(e,t,n,r,h,T,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function mf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=wv(l)?Xl(c,t,n,o,Qt(l),s):void 0;if(!bo(u)){bo(i)||Cv(l)&&(i=Xl(c,null,n,o,a,s));let d=Ui(oe(),n);mm(r,s,d,o,i)}}function Xl(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===H&&(p=d?ce:void 0);let f=d?Sr(p,r):u===r?p:void 0;if(l&&!bo(f)&&(f=Sr(c,r)),bo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Tt(h):Qt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Sr(c,r))}return a}function bo(e){return e!==void 0}function $v(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=gn(Yt(e)))),e}function yf(e,t){return(e.flags&(t?8:16))!==0}function Uv(e,t=""){let n=y(),r=L(),o=e+R,i=r.firstCreatePass?Bn(r,o,1,t,null):r.data[o],s=Wv(r,n,i,t);n[o]=s,Wr()&&fa(r,n,s,i),vt(i,!1)}var Wv=(e,t,n,r)=>(Gr(!0),_g(t[A],r));function vf(e,t,n,r=""){return ie(e,Et(),n)?t+Ee(n)+r:H}function Gv(e,t,n,r,o,i=""){let s=ts(),a=Ia(e,s,n,o);return Cn(2),a?t+Ee(n)+r+Ee(o)+i:H}function qv(e,t,n,r,o,i,s,a=""){let c=ts(),l=hy(e,c,n,o,s);return Cn(3),l?t+Ee(n)+r+Ee(o)+i+Ee(s)+a:H}function Ef(e){return Sa("",e),Ef}function Sa(e,t,n){let r=y(),o=vf(r,e,t,n);return o!==H&&xa(r,oe(),o),Sa}function If(e,t,n,r,o){let i=y(),s=Gv(i,e,t,n,r,o);return s!==H&&xa(i,oe(),s),If}function Df(e,t,n,r,o,i,s){let a=y(),c=qv(a,e,t,n,r,o,i,s);return c!==H&&xa(a,oe(),c),Df}function xa(e,t,n){let r=Ui(t,e);Ng(e[A],r,n)}var Cf={};function Tf(e){wt("NgLet");let t=L(),n=y(),r=e+R,o=Bn(t,r,128,null,null);return vt(o,!1),In(t,n,r,Cf),Tf}function zv(e){let t=L(),n=y(),r=oe();return In(t,n,r,e),e}function Qv(e){let t=el(),n=Lr(t,R+e);if(n===Cf)throw new D(314,!1);return n}function Zv(e,t,n=""){return vf(y(),e,t,n)}function Yv(e,t,n){let r=Bt()+e,o=y();return o[r]===H?jo(o,r,t(n,o)):_d(o,r)}function Kv(e,t){let n=Bt()+e,r=y();return r[n]===H?jo(r,n,t()):_d(r,n)}function Jv(e,t,n){return bf(y(),Bt(),e,t,n)}function wf(e,t){let n=e[t];return n===H?void 0:n}function bf(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?jo(e,s+1,i?r.call(i,o):r(o)):wf(e,s+1)}function Xv(e,t,n,r,o,i,s){let a=t+n;return Ia(e,a,o,i)?jo(e,a+2,s?r.call(s,o,i):r(o,i)):wf(e,a+2)}function eE(e,t){let n=L(),r,o=e+R;n.firstCreatePass?(r=tE(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=je(r.type,!0)),s,a=z(Ea);try{let c=lo(!1),l=i();return lo(c),In(n,y(),o,l),l}finally{z(a)}}function tE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function nE(e,t,n){let r=e+R,o=y(),i=Lr(o,r);return Mf(o,r)?bf(o,Bt(),t,i.transform,n,i):i.transform(n)}function rE(e,t,n,r){let o=e+R,i=y(),s=Lr(i,o);return Mf(i,o)?Xv(i,Bt(),t,s.transform,n,r,s):s.transform(n,r)}function Mf(e,t){return e[m].data[t].pure}var Mo=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},oE=(()=>{class e{compileModuleSync(n){return new Io(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ni(n),i=zu(o.declarations).reduce((s,a)=>{let c=$e(a);return c&&s.push(new qt(c)),s},[]);return new Mo(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _f=(()=>{class e{applicationErrorHandler=C(It);appRef=C(Ho);taskService=C($t);ngZone=C(_e);zonelessEnabled=C(wn);tracing=C(Ro,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(ls,{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:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;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:ss;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(fn+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=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Nf(){return[{provide:ut,useExisting:_f},{provide:_e,useClass:pn},{provide:wn,useValue:!0}]}function iE(){return typeof $localize<"u"&&$localize.locale||Un}var Aa=new S("",{factory:()=>C(Aa,{optional:!0,skipSelf:!0})||iE()});var Bo=class{destroyed=!1;listeners=null;errorHandler=C(Be,{optional:!0});destroyRef=C(ze);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(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(hn(953,!1));return}if(this.listeners===null)return;let n=g(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{g(n)}}};function sE(e){return Dc(e)}function aE(e,t){return tn(e,t?.equal)}var cE=e=>e;function lE(e,t){if(typeof e=="function"){let n=li(e,cE,t?.equal);return Sf(n,t?.debugName)}else{let n=li(e.source,e.computation,e.equal);return Sf(n,e.debugName)}}function Sf(e,t){let n=e[F],r=e;return r.set=o=>Ec(n,o),r.update=o=>Ic(n,o),r.asReadonly=Qr.bind(e),r}var kf=Symbol("InputSignalNode#UNSET"),uE=U($({},Qn),{transformFn:void 0,applyValueToInputSignal(e,t){tt(e,t)}});function Of(e,t){let n=Object.create(uE);n.value=e,n.transformFn=t?.transform;function r(){if(Ke(n),n.value===kf){let o=null;throw new D(-950,o)}return n.value}return r[F]=n,r}var xf=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>yu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function RR(e){return new Bo}function Af(e,t){return Of(e,t)}function dE(e){return Of(kf,e)}var kR=(Af.required=dE,Af);function Rf(e,t){return jd(t)}function fE(e,t){return Vd(t)}var OR=(Rf.required=fE,Rf);var Ra=new S(""),pE=new S("");function Wn(e){return!e.moduleRef}function hE(e){let t=Wn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(_e);return n.run(()=>{Wn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(It),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Wn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ra);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ra);s.add(i),e.moduleRef.onDestroy(()=>{Nn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return mE(r,n,()=>{let i=t.get($t),s=i.add(),a=t.get(wa);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Aa,Un);if(rf(c||Un),!t.get(pE,!0))return Wn(e)?t.get(Ho):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Wn(e)){let u=t.get(Ho);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return gE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var gE;function mE(e,t,n){try{let r=n();return Ta(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var $o=null;function yE(e=[],t){return Me.create({name:t,providers:[{provide:Fi,useValue:"platform"},{provide:Ra,useValue:new Set([()=>$o=null])},...e]})}function vE(e=[]){if($o)return $o;let t=yE(e);return $o=t,Qd(),EE(t),t}function EE(e){let t=e.get(bu,null);Ar(e,()=>{t?.forEach(n=>n())})}var IE=1e4;var PR=IE-1e3;var LR=(()=>{class e{static __NG_ELEMENT_ID__=DE}return e})();function DE(e){return CE(G(),y(),(e&16)===16)}function CE(e,t,n){if(Ae(e)&&!n){let r=re(e.index,t);return new Qe(r,r)}else if(e.type&175){let r=t[K];return new Qe(r,t)}return null}function FR(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;x(w.BootstrapApplicationStart);try{let i=o?.injector??vE(r),s=[Nf(),yl,...n||[]],a=new Ln({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return hE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{x(w.BootstrapApplicationEnd)}}function jR(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}export{$ as a,U as b,q as c,Yf as d,_ as e,Te as f,on as g,sn as h,Fe as i,ap as j,cp as k,lp as l,an as m,it as n,yp as o,st as p,ii as q,fr as r,Ep as s,si as t,gc as u,Ip as v,ai as w,Cp as x,Tp as y,wp as z,bp as A,Mp as B,_p as C,Np as D,D as E,hn as F,Y as G,Rp as H,S as I,ye as J,C as K,xr as L,Fi as M,X as N,Ar as O,Yc as P,Kc as Q,ul as R,dl as S,Me as T,qr as U,ze as V,$t as W,we as X,_e as Y,Be as Z,It as _,ch as $,zr as aa,vl as ba,Th as ca,Uh as da,yu as ea,jn as fa,Yh as ga,Kh as ha,bu as ia,Xh as ja,eg as ka,Ct as la,Yt as ma,xo as na,sg as oa,ag as pa,cg as qa,lg as ra,ug as sa,ra as ta,Hu as ua,Hn as va,Ag as wa,Og as xa,Pg as ya,Lg as za,Kg as Aa,ho as Ba,xn as Ca,Ro as Da,Pn as Ea,ty as Fa,Ea as Ga,Vo as Ha,Hd as Ia,Bd as Ja,$y as Ka,qy as La,zy as Ma,Jy as Na,Ta as Oa,zd as Pa,Ho as Qa,Yd as Ra,tv as Sa,nv as Ta,rv as Ua,ov as Va,iv as Wa,sv as Xa,Kd as Ya,wo as Za,Ma as _a,Jd as $a,_a as ab,Na as bb,Xd as cb,dv as db,tf as eb,hv as fb,nf as gb,of as hb,sf as ib,vv as jb,af as kb,Ev as lb,Iv as mb,cf as nb,Dv as ob,df as pb,ff as qb,Rv as rb,Uv as sb,Ef as tb,Sa as ub,If as vb,Df as wb,Tf as xb,zv as yb,Qv as zb,Zv as Ab,Yv as Bb,Kv as Cb,Jv as Db,eE as Eb,nE as Fb,rE as Gb,oE as Hb,Aa as Ib,sE as Jb,aE as Kb,lE as Lb,xf as Mb,RR as Nb,kR as Ob,OR as Pb,LR as Qb,FR as Rb,jR as Sb};
@@ -0,0 +1 @@
1
+ import{a as E}from"./chunk-5OQKAJAE.js";import{a as O}from"./chunk-4LHBWWP7.js";import"./chunk-FTESTUEO.js";import{a as w}from"./chunk-47QYKLE5.js";import{a as k}from"./chunk-ZABKKHJ3.js";import"./chunk-L4TVIPSR.js";import"./chunk-RP3WU5Y6.js";import{$a as f,Aa as r,K as g,Ka as h,Kb as v,P as C,Q as y,Ra as _,Sa as s,Ta as m,Wa as x,Xa as u,Za as i,_a as o,aa as b,db as S,hb as P,jb as d,qb as M,sb as a,tb as l}from"./chunk-WVCKOJZL.js";var I=(t,n)=>n.path,j=(t,n)=>n.id;function D(t,n){t&1&&f(0,"app-pick-project-empty",0)}function F(t,n){t&1&&(i(0,"div",8),a(1,"No specs found. Run "),i(2,"code",11),a(3,"specship init -i"),o(),a(4," against a project with a "),i(5,"code",11),a(6,"specs/"),o(),a(7," directory."),o())}function N(t,n){if(t&1){let e=S();i(0,"button",15),P("click",function(){let c=C(e).$implicit,z=d(4);return y(z.select(c.id))}),f(1,"span",16),i(2,"span",17),a(3),o(),i(4,"span",18),a(5),o()()}if(t&2){let e=n.$implicit,p=d(4);M("active",p.sel()===e.id),r(),_("data-kind",e.kind),r(2),l(e.id),r(2),l(e.title)}}function $(t,n){if(t&1&&(i(0,"div",12)(1,"div",13),a(2),o(),x(3,N,6,5,"button",14,j),o()),t&2){let e=n.$implicit;r(2),l(e.title),r(),u(e.specs)}}function R(t,n){if(t&1&&x(0,$,5,1,"div",12,I),t&2){let e=d(2);u(e.groups())}}function G(t,n){if(t&1&&(i(0,"span",24),a(1),o()),t&2){let e=d();r(),l(e.priority)}}function V(t,n){if(t&1&&(i(0,"span",25),a(1,"owner: "),i(2,"span",11),a(3),o()()),t&2){let e=d();r(3),l(e.owner)}}function A(t,n){if(t&1&&(i(0,"div",19)(1,"div",20),a(2),o(),i(3,"div",21),a(4),o(),i(5,"div",22)(6,"span",23),a(7),o(),s(8,G,2,1,"span",24),s(9,V,4,1,"span",25),o()(),i(10,"div",26),a(11),o()),t&2){let e=n;r(2),l(e.id),r(2),l(e.title),r(2),_("data-kind",e.kind),r(),l(e.kind),r(),m(e.priority?8:-1),r(),m(e.owner?9:-1),r(2),l(e.body)}}function Q(t,n){t&1&&(i(0,"div",10),a(1,"Pick a spec from the left."),o())}function q(t,n){if(t&1&&(i(0,"div",1)(1,"header",2)(2,"div",3)(3,"div",4),a(4,"Specs"),o(),i(5,"div",5),a(6),o()()(),i(7,"div",6)(8,"aside",7),s(9,F,8,0,"div",8)(10,R,2,0),o(),i(11,"main",9),s(12,A,12,7)(13,Q,2,0,"div",10),o()()()),t&2){let e,p,c=d();r(6),l(c.resource.state().loading?"loading\u2026":(((e=c.resource.state().data)==null||e.specs==null?null:e.specs.length)??0)+" specs"),r(3),m(c.groups().length===0&&!c.resource.state().loading?9:10),r(3),m((p=c.selectedSpec())?12:13,p)}}var T=class t{api=g(k);projects=g(w);resource=O(this.api,()=>`/api/specs${this.projects.projectQuery()}`);sel=b(null);groups=v(()=>{let n=this.resource.state().data?.specs??[],e=new Map;for(let p of n){let c=p.sourcePath||"(unknown)";e.has(c)||e.set(c,{path:c,title:c.split("/").pop()||c,specs:[]}),e.get(c).specs.push(p)}return[...e.values()]});selectedSpec=v(()=>{let n=this.sel();if(!n)return null;for(let e of this.groups())for(let p of e.specs)if(p.id===n)return p;return null});select(n){this.sel.set(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=h({type:t,selectors:[["app-specs"]],decls:2,vars:1,consts:[["surface","Specs"],[1,"page"],[1,"page-head"],[1,"title-block"],[1,"title"],[1,"sub"],[1,"split"],[1,"tree","scroll-y"],[1,"empty"],[1,"detail","scroll-y"],[1,"empty","centered"],[1,"mono"],[1,"group"],[1,"group-head","mono"],["type","button",1,"spec-item",3,"active"],["type","button",1,"spec-item",3,"click"],[1,"kind-pill"],[1,"spec-id","mono"],[1,"spec-title"],[1,"detail-head"],[1,"d-id","mono"],[1,"d-title"],[1,"d-meta"],[1,"pill"],[1,"pill","pill-priority"],[1,"d-owner"],[1,"d-body"]],template:function(e,p){e&1&&s(0,D,1,0,"app-pick-project-empty",0)(1,q,14,3,"div",1),e&2&&m(p.resource.state().noProject?0:1)},dependencies:[E],styles:["[_nghost-%COMP%]{display:contents}.page[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;min-height:0;padding:16px 18px 0}.title[_ngcontent-%COMP%]{font-size:var(--fs-title);font-weight:600;letter-spacing:-.01em}.sub[_ngcontent-%COMP%]{color:var(--text-secondary);margin-top:2px}.page-head[_ngcontent-%COMP%]{margin-bottom:12px}.mono[_ngcontent-%COMP%]{font-family:var(--font-mono)}.muted[_ngcontent-%COMP%]{color:var(--text-muted)}.split[_ngcontent-%COMP%]{display:grid;grid-template-columns:320px 1fr;gap:0;flex:1;min-height:0;border-top:1px solid var(--border-subtle);margin:0 -18px}.tree[_ngcontent-%COMP%]{border-right:1px solid var(--border-subtle);padding:8px 0}.group[_ngcontent-%COMP%]{padding:8px 0}.group-head[_ngcontent-%COMP%]{padding:6px 16px;font-size:11px;color:var(--text-muted);font-weight:600}.spec-item[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;width:100%;padding:6px 16px;background:transparent;border:none;cursor:pointer;text-align:left;font-family:inherit;color:var(--text-primary);font-size:12.5px}.spec-item[_ngcontent-%COMP%]:hover{background:var(--bg-hover)}.spec-item.active[_ngcontent-%COMP%]{background:var(--bg-active)}.kind-pill[_ngcontent-%COMP%]{width:6px;height:6px;border-radius:50%;flex-shrink:0;background:var(--node-spec)}.kind-pill[data-kind=document][_ngcontent-%COMP%]{background:var(--accent)}.kind-pill[data-kind=acceptance][_ngcontent-%COMP%]{background:var(--node-test)}.spec-id[_ngcontent-%COMP%]{font-size:11.5px;color:var(--accent);flex-shrink:0}.spec-title[_ngcontent-%COMP%]{font-size:12px;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail[_ngcontent-%COMP%]{padding:20px 24px}.detail-head[_ngcontent-%COMP%]{margin-bottom:16px}.d-id[_ngcontent-%COMP%]{font-size:12px;color:var(--accent);margin-bottom:4px}.d-title[_ngcontent-%COMP%]{font-size:22px;font-weight:600;margin-bottom:8px;letter-spacing:-.01em}.d-meta[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center}.d-owner[_ngcontent-%COMP%]{font-size:12px;color:var(--text-secondary)}.pill[_ngcontent-%COMP%]{font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:var(--r-pill);background:var(--node-spec-soft);color:var(--node-spec);text-transform:capitalize}.pill[data-kind=document][_ngcontent-%COMP%]{background:var(--accent-soft);color:var(--accent)}.pill[data-kind=acceptance][_ngcontent-%COMP%]{background:var(--node-test-soft);color:var(--node-test)}.pill-priority[_ngcontent-%COMP%]{background:var(--warn-soft);color:var(--warn);text-transform:uppercase}.d-body[_ngcontent-%COMP%]{font-size:13.5px;line-height:1.6;color:var(--text-secondary);white-space:pre-wrap}.empty[_ngcontent-%COMP%]{padding:30px 18px;color:var(--text-muted);font-size:12.5px}.empty.centered[_ngcontent-%COMP%]{display:grid;place-items:center;height:100%;text-align:center}"],changeDetection:0})};export{T as Specs};
@@ -0,0 +1 @@
1
+ import{G as p}from"./chunk-WVCKOJZL.js";var g="specship.api",f=class i{base;constructor(){this.base=this.resolveBase()}resolveBase(){if(typeof window>"u")return null;try{let t=new URLSearchParams(window.location.search).get("api");if(t){try{window.localStorage.setItem(g,t)}catch{}return t.replace(/\/$/,"")}}catch{}try{let t=window.localStorage.getItem(g);if(t)return t.replace(/\/$/,"")}catch{}let e=window.SPECSHIP_API_URL;if(typeof e=="string")return e.replace(/\/$/,"");let n=window.location.hostname;return n==="localhost"||n==="127.0.0.1"?"http://localhost:4242":null}get apiBase(){return this.base}get isConfigured(){return this.base!==null}async get(e,n){if(!this.base)throw new Error("no API base configured");let t=this.base+(e.startsWith("/")?e:"/"+e),r=await fetch(t,{method:"GET",headers:{Accept:"application/json"},signal:n});if(!r.ok)throw await w("GET",e,r);return r.json()}async post(e,n,t){if(!this.base)throw new Error("no API base configured");let r=this.base+(e.startsWith("/")?e:"/"+e),a=await fetch(r,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:n==null?void 0:JSON.stringify(n),signal:t});if(!a.ok)throw await w("POST",e,a);return a.json()}openEventStream(e,n,t,r){if(!this.base)return t?.(new Error("no API base configured")),()=>{};let a=this.base+(e.startsWith("/")?e:"/"+e),o=new EventSource(a),h=r??b,u=s=>{try{return JSON.parse(s.data)}catch{return s.data}},d=[];for(let s of h){let c=y=>n(s,u(y));o.addEventListener(s,c),d.push([s,c])}return o.onmessage=s=>n("message",u(s)),o.onerror=s=>{t?.(s)},()=>{for(let[s,c]of d)o.removeEventListener(s,c);o.close()}}static \u0275fac=function(n){return new(n||i)};static \u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})},l=class extends Error{constructor(n,t,r,a,o){super(o);this.status=n;this.code=t;this.path=r;this.payload=a}name="ApiError"};async function w(i,e,n){let t=await n.text().catch(()=>""),r=null,a=null;if(t)try{if(r=JSON.parse(t),r&&typeof r=="object"&&"code"in r){let o=r.code;typeof o=="string"&&(a=o)}}catch{r=t}return new l(n.status,a,e,r,`${i} ${e} \u2192 ${n.status} ${t.slice(0,200)}`)}var b=["run_started","run_completed","run_failed","run_cancelled","run_paused","step_started","step_completed","step_failed","step_skipped","tool_called","artifact_created","approval_requested","approval_granted","approval_rejected","done"];export{f as a,l as b};
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,15 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs>
3
+ <linearGradient id="tile" x1="0" y1="0" x2="32" y2="32" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#12161E"></stop><stop offset="1" stop-color="#0B0D11"></stop>
5
+ </linearGradient>
6
+ </defs>
7
+ <rect width="32" height="32" rx="7" fill="url(#tile)"></rect>
8
+ <g transform="translate(16 16) scale(1.18) translate(-16 -16)">
9
+ <path d="M10 10 L22 16 L10 22" stroke="rgba(160,175,205,0.6)" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
10
+ <line x1="10" y1="10" x2="10" y2="22" stroke="rgba(160,175,205,0.45)" stroke-width="2.3" stroke-linecap="round"></line>
11
+ <circle cx="22" cy="16" r="4.1" fill="#5B93F2"></circle>
12
+ <circle cx="10" cy="10" r="3.3" fill="#A586F5"></circle>
13
+ <circle cx="10" cy="22" r="3.3" fill="#46C26B"></circle>
14
+ </g>
15
+ </svg>
Binary file
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32">
2
+ <defs>
3
+ <linearGradient id="t" x1="0" y1="0" x2="32" y2="32" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#12161E"/><stop offset="1" stop-color="#0B0D11"/>
5
+ </linearGradient>
6
+ <linearGradient id="l" x1="18" y1="11" x2="26" y2="21" gradientUnits="userSpaceOnUse">
7
+ <stop stop-color="#6FA0F6"/><stop offset="1" stop-color="#5B93F2"/>
8
+ </linearGradient>
9
+ </defs>
10
+ <rect width="32" height="32" rx="7.2" fill="url(#t)"/>
11
+ <rect x="0.5" y="0.5" width="31" height="31" rx="6.7" fill="none" stroke="rgba(255,255,255,0.08)"/>
12
+ <g transform="translate(4.6 4.6) scale(0.715)">
13
+ <path d="M5 16 H11 M11 9 L23 16 L11 23" stroke="rgba(150,165,200,0.5)" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
14
+ <line x1="11" y1="9" x2="11" y2="23" stroke="rgba(150,165,200,0.4)" stroke-width="1.9" stroke-linecap="round"/>
15
+ <circle cx="23" cy="16" r="3.6" fill="url(#l)"/>
16
+ <circle cx="11" cy="9" r="2.9" fill="#A586F5"/>
17
+ <circle cx="11" cy="23" r="2.9" fill="#46C26B"/>
18
+ <circle cx="5" cy="16" r="2.1" fill="#29D2BE"/>
19
+ </g>
20
+ </svg>