@yinuo-ngm/server 1.0.14 → 1.0.16

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 (257) hide show
  1. package/lib/app.js +2 -0
  2. package/lib/plugins/error-handler.plugin.js +5 -0
  3. package/lib/plugins/nginx.binding.store.d.ts +4 -0
  4. package/lib/plugins/nginx.binding.store.js +39 -0
  5. package/lib/plugins/nginx.plugin.d.ts +3 -0
  6. package/lib/plugins/nginx.plugin.js +23 -0
  7. package/lib/plugins/ws/topics/index.d.ts +1 -0
  8. package/lib/plugins/ws/topics/index.js +1 -0
  9. package/lib/plugins/ws/topics/nginx.ws.d.ts +7 -0
  10. package/lib/plugins/ws/topics/nginx.ws.js +59 -0
  11. package/lib/plugins/ws/ws.plugin.js +3 -0
  12. package/lib/routes/api-client/hub-cookie-jar.d.ts +3 -0
  13. package/lib/routes/api-client/hub-cookie-jar.js +54 -0
  14. package/lib/routes/api-client/hub-token.routes.d.ts +2 -0
  15. package/lib/routes/api-client/hub-token.routes.js +284 -0
  16. package/lib/routes/api-client/index.d.ts +1 -0
  17. package/lib/routes/api-client/index.js +1 -0
  18. package/lib/routes/api-client/send.routes.js +60 -1
  19. package/lib/routes/hub.routes.d.ts +2 -0
  20. package/lib/routes/hub.routes.js +103 -0
  21. package/lib/routes/index.js +7 -0
  22. package/lib/routes/nginx/nginx-config.routes.d.ts +2 -0
  23. package/lib/routes/nginx/nginx-config.routes.js +94 -0
  24. package/lib/routes/nginx/nginx-lifecycle.routes.d.ts +2 -0
  25. package/lib/routes/nginx/nginx-lifecycle.routes.js +108 -0
  26. package/lib/routes/nginx/nginx-log.routes.d.ts +2 -0
  27. package/lib/routes/nginx/nginx-log.routes.js +47 -0
  28. package/lib/routes/nginx/nginx-module.routes.d.ts +2 -0
  29. package/lib/routes/nginx/nginx-module.routes.js +123 -0
  30. package/lib/routes/nginx/nginx-route.context.d.ts +9 -0
  31. package/lib/routes/nginx/nginx-route.context.js +36 -0
  32. package/lib/routes/nginx/nginx-server.routes.d.ts +2 -0
  33. package/lib/routes/nginx/nginx-server.routes.js +97 -0
  34. package/lib/routes/nginx.routes.d.ts +2 -0
  35. package/lib/routes/nginx.routes.js +17 -0
  36. package/lib/routes/node-version.routes.d.ts +2 -0
  37. package/lib/routes/node-version.routes.js +56 -0
  38. package/lib/routes/project.routes.js +5 -0
  39. package/lib/routes/sprite-browse.routes.js +19 -5
  40. package/lib/routes/sprite.routes.js +17 -11
  41. package/lib/routes/static-files.routes.js +16 -0
  42. package/lib/routes/task.routes.js +7 -0
  43. package/package.json +5 -4
  44. package/www/3rdpartylicenses.txt +75 -0
  45. package/www/browser/assets/vs/_commonjsHelpers-CT9FvmAN.js +1 -0
  46. package/www/browser/assets/vs/abap-D-t0cyap.js +1 -0
  47. package/www/browser/assets/vs/apex-CcIm7xu6.js +1 -0
  48. package/www/browser/assets/vs/assets/css.worker-HnVq6Ewq.js +93 -0
  49. package/www/browser/assets/vs/assets/editor.worker-Be8ye1pW.js +26 -0
  50. package/www/browser/assets/vs/assets/html.worker-B51mlPHg.js +470 -0
  51. package/www/browser/assets/vs/assets/json.worker-DKiEKt88.js +58 -0
  52. package/www/browser/assets/vs/assets/ts.worker-CMbG-7ft.js +67731 -0
  53. package/www/browser/assets/vs/azcli-BA0tQDCg.js +1 -0
  54. package/www/browser/assets/vs/basic-languages/monaco.contribution.js +1 -0
  55. package/www/browser/assets/vs/bat-C397hTD6.js +1 -0
  56. package/www/browser/assets/vs/bicep-DF5aW17k.js +2 -0
  57. package/www/browser/assets/vs/cameligo-plsz8qhj.js +1 -0
  58. package/www/browser/assets/vs/clojure-Y2auQMzK.js +1 -0
  59. package/www/browser/assets/vs/coffee-Bu45yuWE.js +1 -0
  60. package/www/browser/assets/vs/cpp-CkKPQIni.js +1 -0
  61. package/www/browser/assets/vs/csharp-CX28MZyh.js +1 -0
  62. package/www/browser/assets/vs/csp-D8uWnyxW.js +1 -0
  63. package/www/browser/assets/vs/css-CaeNmE3S.js +3 -0
  64. package/www/browser/assets/vs/cssMode-CjiAH6dQ.js +1 -0
  65. package/www/browser/assets/vs/cypher-DVThT8BS.js +1 -0
  66. package/www/browser/assets/vs/dart-CmGfCvrO.js +1 -0
  67. package/www/browser/assets/vs/dockerfile-CZqqYdch.js +1 -0
  68. package/www/browser/assets/vs/ecl-30fUercY.js +1 -0
  69. package/www/browser/assets/vs/editor/editor.main.css +1 -0
  70. package/www/browser/assets/vs/editor/editor.main.js +5 -0
  71. package/www/browser/assets/vs/editor.api-CalNCsUg.js +903 -0
  72. package/www/browser/assets/vs/elixir-xjPaIfzF.js +1 -0
  73. package/www/browser/assets/vs/flow9-DqtmStfK.js +1 -0
  74. package/www/browser/assets/vs/freemarker2-Cz_sV6Md.js +3 -0
  75. package/www/browser/assets/vs/fsharp-BOMdg4U1.js +1 -0
  76. package/www/browser/assets/vs/go-D_hbi-Jt.js +1 -0
  77. package/www/browser/assets/vs/graphql-CKUU4kLG.js +1 -0
  78. package/www/browser/assets/vs/handlebars-OwglfO-1.js +1 -0
  79. package/www/browser/assets/vs/hcl-DTaboeZW.js +1 -0
  80. package/www/browser/assets/vs/html-Pa1xEWsY.js +1 -0
  81. package/www/browser/assets/vs/htmlMode-Bz67EXwp.js +1 -0
  82. package/www/browser/assets/vs/ini-CsNwO04R.js +1 -0
  83. package/www/browser/assets/vs/java-CI4ZMsH9.js +1 -0
  84. package/www/browser/assets/vs/javascript-PczUCGdz.js +1 -0
  85. package/www/browser/assets/vs/jsonMode-DULH5oaX.js +7 -0
  86. package/www/browser/assets/vs/julia-BwzEvaQw.js +1 -0
  87. package/www/browser/assets/vs/kotlin-IUYPiTV8.js +1 -0
  88. package/www/browser/assets/vs/language/css/monaco.contribution.js +1 -0
  89. package/www/browser/assets/vs/language/html/monaco.contribution.js +1 -0
  90. package/www/browser/assets/vs/language/json/monaco.contribution.js +1 -0
  91. package/www/browser/assets/vs/language/typescript/monaco.contribution.js +1 -0
  92. package/www/browser/assets/vs/less-C0eDYdqa.js +2 -0
  93. package/www/browser/assets/vs/lexon-iON-Kj97.js +1 -0
  94. package/www/browser/assets/vs/liquid-DqKjdPGy.js +1 -0
  95. package/www/browser/assets/vs/loader.js +1368 -0
  96. package/www/browser/assets/vs/lspLanguageFeatures-kM9O9rjY.js +4 -0
  97. package/www/browser/assets/vs/lua-DtygF91M.js +1 -0
  98. package/www/browser/assets/vs/m3-CsR4AuFi.js +1 -0
  99. package/www/browser/assets/vs/markdown-C_rD0bIw.js +1 -0
  100. package/www/browser/assets/vs/mdx-DEWtB1K5.js +1 -0
  101. package/www/browser/assets/vs/mips-CiYP61RB.js +1 -0
  102. package/www/browser/assets/vs/monaco.contribution-D2OdxNBt.js +1 -0
  103. package/www/browser/assets/vs/monaco.contribution-DO3azKX8.js +1 -0
  104. package/www/browser/assets/vs/monaco.contribution-EcChJV6a.js +1 -0
  105. package/www/browser/assets/vs/monaco.contribution-qLAYrEOP.js +1 -0
  106. package/www/browser/assets/vs/msdax-C38-sJlp.js +1 -0
  107. package/www/browser/assets/vs/mysql-CdtbpvbG.js +1 -0
  108. package/www/browser/assets/vs/nls.messages-loader.js +1 -0
  109. package/www/browser/assets/vs/nls.messages.cs.js.js +17 -0
  110. package/www/browser/assets/vs/nls.messages.de.js.js +17 -0
  111. package/www/browser/assets/vs/nls.messages.es.js.js +17 -0
  112. package/www/browser/assets/vs/nls.messages.fr.js.js +15 -0
  113. package/www/browser/assets/vs/nls.messages.it.js.js +15 -0
  114. package/www/browser/assets/vs/nls.messages.ja.js.js +17 -0
  115. package/www/browser/assets/vs/nls.messages.js.js +10 -0
  116. package/www/browser/assets/vs/nls.messages.ko.js.js +25 -0
  117. package/www/browser/assets/vs/nls.messages.pl.js.js +17 -0
  118. package/www/browser/assets/vs/nls.messages.pt-br.js.js +6 -0
  119. package/www/browser/assets/vs/nls.messages.ru.js.js +17 -0
  120. package/www/browser/assets/vs/nls.messages.tr.js.js +15 -0
  121. package/www/browser/assets/vs/nls.messages.zh-cn.js.js +17 -0
  122. package/www/browser/assets/vs/nls.messages.zh-tw.js.js +15 -0
  123. package/www/browser/assets/vs/objective-c-CntZFaHX.js +1 -0
  124. package/www/browser/assets/vs/pascal-r6kuqfl_.js +1 -0
  125. package/www/browser/assets/vs/pascaligo-BiXoTmXh.js +1 -0
  126. package/www/browser/assets/vs/perl-DABw_TcH.js +1 -0
  127. package/www/browser/assets/vs/pgsql-me_jFXeX.js +1 -0
  128. package/www/browser/assets/vs/php-D_kh-9LK.js +1 -0
  129. package/www/browser/assets/vs/pla-VfZjczW0.js +1 -0
  130. package/www/browser/assets/vs/postiats-BBSzz8Pk.js +1 -0
  131. package/www/browser/assets/vs/powerquery-Dt-g_2cc.js +1 -0
  132. package/www/browser/assets/vs/powershell-B-7ap1zc.js +1 -0
  133. package/www/browser/assets/vs/protobuf-BmtuEB1A.js +2 -0
  134. package/www/browser/assets/vs/pug-BRpRNeEb.js +1 -0
  135. package/www/browser/assets/vs/python-Cr0UkIbn.js +1 -0
  136. package/www/browser/assets/vs/qsharp-BzsFaUU9.js +1 -0
  137. package/www/browser/assets/vs/r-f8dDdrp4.js +1 -0
  138. package/www/browser/assets/vs/razor-BYAHOTkz.js +1 -0
  139. package/www/browser/assets/vs/redis-fvZQY4PI.js +1 -0
  140. package/www/browser/assets/vs/redshift-45Et0LQi.js +1 -0
  141. package/www/browser/assets/vs/restructuredtext-C7UUFKFD.js +1 -0
  142. package/www/browser/assets/vs/ruby-CZO8zYTz.js +1 -0
  143. package/www/browser/assets/vs/rust-Bfetafyc.js +1 -0
  144. package/www/browser/assets/vs/sb-3GYllVck.js +1 -0
  145. package/www/browser/assets/vs/scala-foMgrKo1.js +1 -0
  146. package/www/browser/assets/vs/scheme-CHdMtr7p.js +1 -0
  147. package/www/browser/assets/vs/scss-C1cmLt9V.js +3 -0
  148. package/www/browser/assets/vs/shell-ClXCKCEW.js +1 -0
  149. package/www/browser/assets/vs/solidity-MZ6ExpPy.js +1 -0
  150. package/www/browser/assets/vs/sophia-DWkuSsPQ.js +1 -0
  151. package/www/browser/assets/vs/sparql-AUGFYSyk.js +1 -0
  152. package/www/browser/assets/vs/sql-32GpJSV2.js +1 -0
  153. package/www/browser/assets/vs/st-CuDFIVZ_.js +1 -0
  154. package/www/browser/assets/vs/swift-n-2HociN.js +3 -0
  155. package/www/browser/assets/vs/systemverilog-Ch4vA8Yt.js +1 -0
  156. package/www/browser/assets/vs/tcl-D74tq1nH.js +1 -0
  157. package/www/browser/assets/vs/tsMode-CZz1Umrk.js +11 -0
  158. package/www/browser/assets/vs/twig-C6taOxMV.js +1 -0
  159. package/www/browser/assets/vs/typescript-DfOrAzoV.js +1 -0
  160. package/www/browser/assets/vs/typespec-D-PIh9Xw.js +1 -0
  161. package/www/browser/assets/vs/vb-Dyb2648j.js +1 -0
  162. package/www/browser/assets/vs/wgsl-BhLXMOR0.js +298 -0
  163. package/www/browser/assets/vs/workers-DcJshg-q.js +1 -0
  164. package/www/browser/assets/vs/xml-CdsdnY8S.js +1 -0
  165. package/www/browser/assets/vs/yaml-DYGvmE88.js +1 -0
  166. package/www/browser/chunk-2BZRE4G7.js +1 -0
  167. package/www/browser/chunk-2X3MRS27.js +1 -0
  168. package/www/browser/chunk-4KETC6EB.js +1 -0
  169. package/www/browser/{chunk-SNCDDYQR.js → chunk-5T5KA5PG.js} +1 -1
  170. package/www/browser/chunk-6CGHNKJI.js +1 -0
  171. package/www/browser/chunk-76TVIB33.js +63 -0
  172. package/www/browser/chunk-7J24TP36.js +1 -0
  173. package/www/browser/chunk-ACAZUX6C.js +1 -0
  174. package/www/browser/chunk-B6MBYCXI.js +1 -0
  175. package/www/browser/chunk-BYEU6KGP.js +2 -0
  176. package/www/browser/chunk-CZ5AZ3VW.js +1 -0
  177. package/www/browser/chunk-DW7F5PEA.js +1 -0
  178. package/www/browser/chunk-DXF7BVK5.js +1 -0
  179. package/www/browser/{chunk-HEKO7RQP.js → chunk-EEVPZGEY.js} +1 -1
  180. package/www/browser/chunk-G2W3B7TJ.js +1 -0
  181. package/www/browser/chunk-GDWS2L66.js +1 -0
  182. package/www/browser/chunk-HGONFYP6.js +1 -0
  183. package/www/browser/chunk-HHBPULJW.js +2 -0
  184. package/www/browser/chunk-HRXCR3IN.js +1 -0
  185. package/www/browser/chunk-INL2PELS.js +1 -0
  186. package/www/browser/chunk-JHMEKUZ5.js +1 -0
  187. package/www/browser/{chunk-OC62FHHS.js → chunk-JU3TEDBV.js} +2 -2
  188. package/www/browser/chunk-JZULA5JV.js +1 -0
  189. package/www/browser/{chunk-HZ73CM45.js → chunk-KVFR7GFV.js} +1 -1
  190. package/www/browser/chunk-L5D75AMV.js +1 -0
  191. package/www/browser/chunk-L7TMCSHV.js +1 -0
  192. package/www/browser/{chunk-E6LF4XBJ.js → chunk-LQ5OXSW7.js} +2 -2
  193. package/www/browser/chunk-MVQTKINJ.js +1 -0
  194. package/www/browser/chunk-N4LRZJBP.js +1 -0
  195. package/www/browser/chunk-O2EYEF7J.js +1 -0
  196. package/www/browser/chunk-OMDHJIUB.js +1 -0
  197. package/www/browser/chunk-OWUAAOHW.js +2 -0
  198. package/www/browser/chunk-PIK5YPIB.js +1 -0
  199. package/www/browser/chunk-RHLQRQDK.js +9 -0
  200. package/www/browser/chunk-RW2JPJV7.js +1 -0
  201. package/www/browser/chunk-S3SJ4VVM.js +11 -0
  202. package/www/browser/chunk-SPRWNZHF.js +15 -0
  203. package/www/browser/chunk-SQQNR223.js +1 -0
  204. package/www/browser/chunk-SVQWPHF5.js +1 -0
  205. package/www/browser/{chunk-56SDBJDG.js → chunk-SYCNSLAW.js} +4 -4
  206. package/www/browser/chunk-T3KK7ZXB.js +2 -0
  207. package/www/browser/chunk-TMX5TTV3.js +1 -0
  208. package/www/browser/chunk-UFY3FLDK.js +1 -0
  209. package/www/browser/chunk-UJOHBN2Y.js +1 -0
  210. package/www/browser/chunk-UQGCUFNM.js +1 -0
  211. package/www/browser/chunk-UXXWRMM6.js +1 -0
  212. package/www/browser/chunk-UZRJGJTD.js +2 -0
  213. package/www/browser/chunk-WD4IAQR3.js +1 -0
  214. package/www/browser/chunk-WF2QTF5L.js +1 -0
  215. package/www/browser/chunk-WI67LAOV.js +4 -0
  216. package/www/browser/chunk-WNCM6QKB.js +1 -0
  217. package/www/browser/chunk-XJ5KZQNN.js +1 -0
  218. package/www/browser/chunk-YETDFSQE.js +1 -0
  219. package/www/browser/chunk-YMTC5GZK.js +1 -0
  220. package/www/browser/chunk-YVZHJ76K.js +1 -0
  221. package/www/browser/chunk-ZNTJRLVH.js +1 -0
  222. package/www/browser/favicon.ico +0 -0
  223. package/www/browser/index.html +2 -2
  224. package/www/browser/main-6LN5C22E.js +34 -0
  225. package/www/browser/scripts-U25HCVEI.js +6 -0
  226. package/www/browser/chunk-25RT7L2O.js +0 -1
  227. package/www/browser/chunk-2P5WKSWB.js +0 -5
  228. package/www/browser/chunk-2XZHN52E.js +0 -1
  229. package/www/browser/chunk-3MBM5AMR.js +0 -1
  230. package/www/browser/chunk-3V5PIKHE.js +0 -11
  231. package/www/browser/chunk-42JVTVYH.js +0 -1
  232. package/www/browser/chunk-4IQIZX7Y.js +0 -1
  233. package/www/browser/chunk-4UAHOL42.js +0 -1
  234. package/www/browser/chunk-5DD65JMJ.js +0 -1
  235. package/www/browser/chunk-5EQOKH7G.js +0 -12
  236. package/www/browser/chunk-6JH45SUC.js +0 -1
  237. package/www/browser/chunk-6X6PEDE5.js +0 -1
  238. package/www/browser/chunk-AI6SNMEH.js +0 -1
  239. package/www/browser/chunk-AMXCOT2F.js +0 -1
  240. package/www/browser/chunk-DP3VTELD.js +0 -1
  241. package/www/browser/chunk-EMK65RIU.js +0 -1
  242. package/www/browser/chunk-EYGWZTTT.js +0 -1
  243. package/www/browser/chunk-GKY4LJF4.js +0 -1
  244. package/www/browser/chunk-HJC5MNP5.js +0 -1
  245. package/www/browser/chunk-ITXWAN4J.js +0 -1
  246. package/www/browser/chunk-IZNTCWTR.js +0 -1
  247. package/www/browser/chunk-KN3WZJH7.js +0 -1
  248. package/www/browser/chunk-KPO75P5E.js +0 -1
  249. package/www/browser/chunk-LWBZC6ZL.js +0 -2
  250. package/www/browser/chunk-NYXWJKSW.js +0 -1
  251. package/www/browser/chunk-QM5ROT66.js +0 -1
  252. package/www/browser/chunk-SJG2JCPL.js +0 -4
  253. package/www/browser/chunk-W633D3VG.js +0 -1
  254. package/www/browser/chunk-X3HFJACM.js +0 -2
  255. package/www/browser/chunk-YFAKNLWB.js +0 -2
  256. package/www/browser/chunk-ZSPNEYSK.js +0 -1
  257. package/www/browser/main-O5GAJRDW.js +0 -34
@@ -1,2 +0,0 @@
1
- import{$a as Le,Aa as Ke,Ab as cn,B as C,Ba as I,C as rn,Ca as sn,Cb as Zi,D as V,Da as dr,Db as ln,E as ar,Ea as Xe,Eb as Yi,F as bi,Fb as Ue,G as on,Gb as Ee,Ha as an,Hb as St,Ja as Oi,Ka as Fi,M as ee,Mb as yr,Nb as dn,O as Fe,Oa as Je,Ob as Ki,P as fe,Pa as hr,Qa as fr,Qb as wr,R as ur,Ra as Qe,Rb as Cr,S as Ze,Sb as Er,Ta as Ni,Tb as Xi,Ua as pr,V as Ye,Va as Pi,W as we,Wa as un,X as cr,Y as Ai,Ya as gr,Za as mr,_ as Ti,_a as vr,a as h,ab as et,b as U,bb as Li,bd as to,ca as _i,cb as ki,da as k,db as xi,dc as Ji,dd as no,ea as lr,eb as Ui,ed as te,fb as Bi,g as Ci,ga as N,gb as ji,h as Ei,hb as $i,i as nn,ib as ke,id as ro,j as or,ja as v,k as sr,ka as Ne,l as Q,lb as zi,ld as io,m as Z,ma as g,na as Pe,nb as xe,nc as Qi,oa as Ii,ob as Vi,oc as Y,pa as w,pb as Hi,pc as O,q as he,qa as p,qb as Dr,qc as eo,ra as l,rb as tt,rd as rt,sa as Et,sb as Ce,t as z,td as oo,u as f,ua as Mi,ub as Gi,ud as so,v as Ct,va as pe,vd as Rt,w as Si,wa as H,wb as qi,x as Ri,xb as nt,yb as P,yd as ao,zb as Wi}from"./chunk-SJG2JCPL.js";var lo=null;function ge(){return lo}function Sr(t){lo??=t}var bt=class{},At=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>l(ho),providedIn:"platform"})}return t})(),Rr=new w(""),ho=(()=>{class t extends At{_location;_history;_doc=l(I);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ge().getBaseHref(this._doc)}onPopState(e){let r=ge().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=ge().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function hn(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function uo(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function ne(t){return t&&t[0]!=="?"?`?${t}`:t}var re=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>l(pn),providedIn:"root"})}return t})(),fn=new w(""),pn=(()=>{class t extends re{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??l(I).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return hn(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+ne(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(p(At),p(fn,8))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Se=(()=>{class t{_subject=new Q;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=ta(uo(co(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+ne(r))}normalize(e){return t.stripTrailingSlash(ea(this._basePath,co(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=ne;static joinWithSlash=hn;static stripTrailingSlash=uo;static \u0275fac=function(r){return new(r||t)(p(re))};static \u0275prov=g({token:t,factory:()=>Qs(),providedIn:"root"})}return t})();function Qs(){return new Se(p(re))}function ea(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function co(t){return t.replace(/\/index.html$/,"")}function ta(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Or=(()=>{class t extends re{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=hn(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(p(At),p(fn,8))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();var x=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(x||{}),b=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(b||{}),G=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(G||{}),ve={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function go(t){return Y(t)[O.LocaleId]}function mo(t,n,e){let r=Y(t),i=[r[O.DayPeriodsFormat],r[O.DayPeriodsStandalone]],o=K(i,n);return K(o,e)}function vo(t,n,e){let r=Y(t),i=[r[O.DaysFormat],r[O.DaysStandalone]],o=K(i,n);return K(o,e)}function Do(t,n,e){let r=Y(t),i=[r[O.MonthsFormat],r[O.MonthsStandalone]],o=K(i,n);return K(o,e)}function yo(t,n){let r=Y(t)[O.Eras];return K(r,n)}function Tt(t,n){let e=Y(t);return K(e[O.DateFormat],n)}function _t(t,n){let e=Y(t);return K(e[O.TimeFormat],n)}function It(t,n){let r=Y(t)[O.DateTimeFormat];return K(r,n)}function Mt(t,n){let e=Y(t),r=e[O.NumberSymbols][n];if(typeof r>"u"){if(n===ve.CurrencyDecimal)return e[O.NumberSymbols][ve.Decimal];if(n===ve.CurrencyGroup)return e[O.NumberSymbols][ve.Group]}return r}function wo(t){if(!t[O.ExtraData])throw new v(2303,!1)}function Co(t){let n=Y(t);return wo(n),(n[O.ExtraData][2]||[]).map(r=>typeof r=="string"?br(r):[br(r[0]),br(r[1])])}function Eo(t,n,e){let r=Y(t);wo(r);let i=[r[O.ExtraData][0],r[O.ExtraData][1]],o=K(i,n)||[];return K(o,e)||[]}function K(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new v(2304,!1)}function br(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var na=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gn={},ra=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function So(t,n,e,r){let i=ha(t);n=me(e,n)||n;let s=[],a;for(;n;)if(a=ra.exec(n),a){s=s.concat(a.slice(1));let d=s.pop();if(!d)break;n=d}else{s.push(n);break}let u=i.getTimezoneOffset();r&&(u=bo(r,u),i=da(i,r));let c="";return s.forEach(d=>{let D=ca(d);c+=D?D(i,e,u):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function wn(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function me(t,n){let e=go(t);if(gn[e]??={},gn[e][n])return gn[e][n];let r="";switch(n){case"shortDate":r=Tt(t,G.Short);break;case"mediumDate":r=Tt(t,G.Medium);break;case"longDate":r=Tt(t,G.Long);break;case"fullDate":r=Tt(t,G.Full);break;case"shortTime":r=_t(t,G.Short);break;case"mediumTime":r=_t(t,G.Medium);break;case"longTime":r=_t(t,G.Long);break;case"fullTime":r=_t(t,G.Full);break;case"short":let i=me(t,"shortTime"),o=me(t,"shortDate");r=mn(It(t,G.Short),[i,o]);break;case"medium":let s=me(t,"mediumTime"),a=me(t,"mediumDate");r=mn(It(t,G.Medium),[s,a]);break;case"long":let u=me(t,"longTime"),c=me(t,"longDate");r=mn(It(t,G.Long),[u,c]);break;case"full":let d=me(t,"fullTime"),D=me(t,"fullDate");r=mn(It(t,G.Full),[d,D]);break}return r&&(gn[e][n]=r),r}function mn(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function ie(t,n,e="-",r,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),o+s}function ia(t,n){return ie(t,3).substring(0,n)}function M(t,n,e=0,r=!1,i=!1){return function(o,s){let a=oa(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return ia(a,n);let u=Mt(s,ve.MinusSign);return ie(a,n,u,r,i)}}function oa(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new v(2301,!1)}}function A(t,n,e=x.Format,r=!1){return function(i,o){return sa(i,o,t,n,e,r)}}function sa(t,n,e,r,i,o){switch(e){case 2:return Do(n,i,r)[t.getMonth()];case 1:return vo(n,i,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=Co(n),d=Eo(n,i,r),D=c.findIndex(E=>{if(Array.isArray(E)){let[T,_]=E,j=s>=T.hours&&a>=T.minutes,y=s<_.hours||s===_.hours&&a<_.minutes;if(T.hours<_.hours){if(j&&y)return!0}else if(j||y)return!0}else if(E.hours===s&&E.minutes===a)return!0;return!1});if(D!==-1)return d[D]}return mo(n,i,r)[s<12?0:1];case 3:return yo(n,r)[t.getFullYear()<=0?0:1];default:let u=e;throw new v(2302,!1)}}function vn(t){return function(n,e,r){let i=-1*r,o=Mt(e,ve.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+ie(s,2,o)+ie(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+ie(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+ie(s,2,o)+":"+ie(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+ie(s,2,o)+":"+ie(Math.abs(i%60),2,o);default:throw new v(2310,!1)}}}var aa=0,yn=4;function ua(t){let n=wn(t,aa,1).getDay();return wn(t,0,1+(n<=yn?yn:yn+7)-n)}function Ro(t){let n=t.getDay(),e=n===0?-3:yn-n;return wn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Ar(t,n=!1){return function(e,r){let i;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Ro(e),s=ua(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ie(i,t,Mt(r,ve.MinusSign))}}function Dn(t,n=!1){return function(e,r){let o=Ro(e).getFullYear();return ie(o,t,Mt(r,ve.MinusSign),n)}}var Tr={};function ca(t){if(Tr[t])return Tr[t];let n;switch(t){case"G":case"GG":case"GGG":n=A(3,b.Abbreviated);break;case"GGGG":n=A(3,b.Wide);break;case"GGGGG":n=A(3,b.Narrow);break;case"y":n=M(0,1,0,!1,!0);break;case"yy":n=M(0,2,0,!0,!0);break;case"yyy":n=M(0,3,0,!1,!0);break;case"yyyy":n=M(0,4,0,!1,!0);break;case"Y":n=Dn(1);break;case"YY":n=Dn(2,!0);break;case"YYY":n=Dn(3);break;case"YYYY":n=Dn(4);break;case"M":case"L":n=M(1,1,1);break;case"MM":case"LL":n=M(1,2,1);break;case"MMM":n=A(2,b.Abbreviated);break;case"MMMM":n=A(2,b.Wide);break;case"MMMMM":n=A(2,b.Narrow);break;case"LLL":n=A(2,b.Abbreviated,x.Standalone);break;case"LLLL":n=A(2,b.Wide,x.Standalone);break;case"LLLLL":n=A(2,b.Narrow,x.Standalone);break;case"w":n=Ar(1);break;case"ww":n=Ar(2);break;case"W":n=Ar(1,!0);break;case"d":n=M(2,1);break;case"dd":n=M(2,2);break;case"c":case"cc":n=M(7,1);break;case"ccc":n=A(1,b.Abbreviated,x.Standalone);break;case"cccc":n=A(1,b.Wide,x.Standalone);break;case"ccccc":n=A(1,b.Narrow,x.Standalone);break;case"cccccc":n=A(1,b.Short,x.Standalone);break;case"E":case"EE":case"EEE":n=A(1,b.Abbreviated);break;case"EEEE":n=A(1,b.Wide);break;case"EEEEE":n=A(1,b.Narrow);break;case"EEEEEE":n=A(1,b.Short);break;case"a":case"aa":case"aaa":n=A(0,b.Abbreviated);break;case"aaaa":n=A(0,b.Wide);break;case"aaaaa":n=A(0,b.Narrow);break;case"b":case"bb":case"bbb":n=A(0,b.Abbreviated,x.Standalone,!0);break;case"bbbb":n=A(0,b.Wide,x.Standalone,!0);break;case"bbbbb":n=A(0,b.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":n=A(0,b.Abbreviated,x.Format,!0);break;case"BBBB":n=A(0,b.Wide,x.Format,!0);break;case"BBBBB":n=A(0,b.Narrow,x.Format,!0);break;case"h":n=M(3,1,-12);break;case"hh":n=M(3,2,-12);break;case"H":n=M(3,1);break;case"HH":n=M(3,2);break;case"m":n=M(4,1);break;case"mm":n=M(4,2);break;case"s":n=M(5,1);break;case"ss":n=M(5,2);break;case"S":n=M(6,1);break;case"SS":n=M(6,2);break;case"SSS":n=M(6,3);break;case"Z":case"ZZ":case"ZZZ":n=vn(0);break;case"ZZZZZ":n=vn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=vn(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=vn(2);break;default:return null}return Tr[t]=n,n}function bo(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function la(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function da(t,n,e){let i=t.getTimezoneOffset(),o=bo(n,i);return la(t,-1*(o-i))}function ha(t){if(fo(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return wn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(na))return fa(r)}let n=new Date(t);if(!fo(n))throw new v(2311,!1);return n}function fa(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,s,a,u,c),n}function fo(t){return t instanceof Date&&!isNaN(t.valueOf())}var _r=/\s+/,po=[],pa=(()=>{class t{_ngEl;_renderer;initialClasses=po;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(_r):po}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(_r):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(_r).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(P(Qe),P(nt))};static \u0275dir=Ee({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var ga=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:xe.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(P(Qe),P(oo),P(nt))};static \u0275dir=Ee({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),ma=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(P(cn))};static \u0275dir=Ee({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Je]})}return t})();function Cn(t,n){return new v(2100,!1)}var Ir=class{createSubscription(n,e,r){return te(()=>n.subscribe({next:e,error:r}))}dispose(n){te(()=>n.unsubscribe())}},Mr=class{createSubscription(n,e,r){return n.then(i=>e?.(i),i=>r?.(i)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},va=new Mr,Da=new Ir,ya=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=l(Xe);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r),r=>this.applicationErrorHandler(r))}_selectStrategy(e){if(dn(e))return va;if(Ki(e))return Da;throw Cn(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(P(rt,16))};static \u0275pipe=St({name:"async",type:t,pure:!1})}return t})();var wa=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Ca=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Cn(t,e);return e.replace(wa,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=St({name:"titlecase",type:t,pure:!0})}return t})(),Ea=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Cn(t,e);return e.toUpperCase()}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=St({name:"uppercase",type:t,pure:!0})}return t})(),Sa="mediumDate",Ao=new w(""),To=new w(""),Ra=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,o){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??Sa,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return So(e,s,o||this.locale,a)}catch(s){throw Cn(t,s.message)}}static \u0275fac=function(r){return new(r||t)(P(no,16),P(Ao,24),P(To,24))};static \u0275pipe=St({name:"date",type:t,pure:!0})}return t})();var _o=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ue({type:t});static \u0275inj=Pe({})}return t})();function Ot(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var je=class{};function Sd(t,n,e){return Qi(t,n,e)}var Nr="browser";function Rd(t){return t===Nr}var Io=(()=>{class t{static \u0275prov=g({token:t,providedIn:"root",factory:()=>new Fr(l(I),window)})}return t})(),Fr=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(U(h({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=_a(this.document,n);r&&(this.scrollToElement(r,e),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Ne(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),i=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(U(h({},e),{left:i-s[0],top:o-s[1]}))}};function _a(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var Ft=class{_doc;constructor(n){this._doc=n}manager},En=(()=>{class t extends Ft{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(p(I))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Rn=new w(""),Ur=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof En));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof En);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(p(Rn),p(Ce))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Pr="ng-app-id";function Mo(t){for(let n of t)n.remove()}function Oo(t,n){let e=n.createElement("style");return e.textContent=t,e}function Ma(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Pr}="${n}"],link[${Pr}="${n}"]`);if(i)for(let o of i)o.removeAttribute(Pr),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function kr(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Br=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,Ma(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,Oo);r?.forEach(i=>this.addUsage(i,this.external,kr))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Mo(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Mo(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Oo(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,kr(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(p(I),p(pr),p(gr,8),p(un))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Lr={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},jr=/%COMP%/g;var No="%COMP%",Oa=`_nghost-${No}`,Fa=`_ngcontent-${No}`,Na=!0,Pa=new w("",{providedIn:"root",factory:()=>Na});function La(t){return Fa.replace(jr,t)}function ka(t){return Oa.replace(jr,t)}function Po(t,n){return n.map(e=>e.replace(jr,t))}var $r=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,u=null,c=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=u,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new Nt(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof Sn?i.applyToHost(e):i instanceof Pt&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,D=this.platformIsServer,E=this.tracingService;switch(r.encapsulation){case vr.Emulated:o=new Sn(u,c,r,this.appId,d,s,a,D,E);break;case vr.ShadowDom:return new xr(u,c,e,r,s,a,this.nonce,D,E);default:o=new Pt(u,c,r,d,s,a,D,E);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(p(Ur),p(Br),p(pr),p(Pa),p(I),p(Ce),p(gr),p(Hi,8))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Nt=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Lr[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Fo(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Fo(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new v(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=Lr[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Lr[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(xe.DashCase|xe.Important)?n.style.setProperty(e,r,i&xe.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&xe.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=ge().getGlobalEventTarget(this.doc,n),!n))throw new v(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Fo(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xr=class extends Nt{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,o,s,a,u,c){super(n,o,s,u,c),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=Po(i.id,d);for(let E of d){let T=document.createElement("style");a&&T.setAttribute("nonce",a),T.textContent=E,this.shadowRoot.appendChild(T)}let D=i.getExternalStyles?.();if(D)for(let E of D){let T=kr(E,o);a&&T.setAttribute("nonce",a),this.shadowRoot.appendChild(T)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Pt=class extends Nt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,u,c){super(n,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=c?Po(c,d):d,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Vi.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Sn=class extends Pt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,u,c){let d=i+"-"+r.id;super(n,e,r,o,s,a,u,c,d),this.contentAttr=La(d),this.hostAttr=ka(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var bn=class t extends bt{supportsDOMEvents=!0;static makeCurrent(){Sr(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ua();return e==null?null:Ba(e)}resetBaseElement(){Lt=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ot(document.cookie,n)}},Lt=null;function Ua(){return Lt=Lt||document.head.querySelector("base"),Lt?Lt.getAttribute("href"):null}function Ba(t){return new URL(t,document.baseURI).pathname}var ja=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Lo=["alt","control","meta","shift"],$a={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},za={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ko=(()=>{class t extends Ft{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ge().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Lo.forEach(c=>{let d=r.indexOf(c);d>-1&&(r.splice(d,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,r){let i=$a[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Lo.forEach(s=>{if(s!==i){let a=za[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(p(I))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();function Va(t,n,e){let r=h({rootComponent:t,platformRef:e?.platformRef},Ha(n));return so(r)}function Ha(t){return{appProviders:[...Ya,...t?.providers??[]],platformProviders:Za}}function Ga(){bn.makeCurrent()}function qa(){return new dr}function Wa(){return Ni(document),document}var Za=[{provide:un,useValue:Nr},{provide:Pi,useValue:Ga,multi:!0},{provide:I,useFactory:Wa}];var Ya=[{provide:Mi,useValue:"root"},{provide:dr,useFactory:qa},{provide:Rn,useClass:En,multi:!0,deps:[I]},{provide:Rn,useClass:ko,multi:!0,deps:[I]},$r,Br,Ur,{provide:qi,useExisting:$r},{provide:je,useClass:ja},[]];var st=class{},kt=class{},Re=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
2
- `).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Tn=class{encodeKey(n){return xo(n)}encodeValue(n){return xo(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Ka(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var Xa=/%(\d[a-f0-9])/gi,Ja={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xo(t){return encodeURIComponent(t).replace(Xa,(n,e)=>Ja[e]??n)}function An(t){return`${t}`}var De=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Tn,n.fromString){if(n.fromObject)throw new v(2805,!1);this.map=Ka(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(An):[An(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(An(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(An(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var _n=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Qa(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Uo(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Bo(t){return typeof Blob<"u"&&t instanceof Blob}function jo(t){return typeof FormData<"u"&&t instanceof FormData}function eu(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var $o="Content-Type",zo="Accept",Vo="X-Request-URL",Ho="text/plain",Go="application/json",tu=`${Go}, ${Ho}, */*`,it=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(Qa(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new v(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new Re,this.context??=new _n,!this.params)this.params=new De,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Uo(this.body)||Bo(this.body)||jo(this.body)||eu(this.body)?this.body:this.body instanceof De?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||jo(this.body)?null:Bo(this.body)?this.body.type||null:Uo(this.body)?null:typeof this.body=="string"?Ho:this.body instanceof De?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Go:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,u=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,D=n.referrer||this.referrer,E=n.integrity||this.integrity,T=n.transferCache??this.transferCache,_=n.timeout??this.timeout,j=n.body!==void 0?n.body:this.body,y=n.withCredentials??this.withCredentials,R=n.reportProgress??this.reportProgress,$=n.headers||this.headers,J=n.params||this.params,L=n.context??this.context;return n.setHeaders!==void 0&&($=Object.keys(n.setHeaders).reduce((Me,Oe)=>Me.set(Oe,n.setHeaders[Oe]),$)),n.setParams&&(J=Object.keys(n.setParams).reduce((Me,Oe)=>Me.set(Oe,n.setParams[Oe]),J)),new t(e,r,j,{params:J,headers:$,context:L,reportProgress:R,responseType:i,withCredentials:y,transferCache:T,keepalive:o,cache:a,priority:s,timeout:_,mode:u,redirect:c,credentials:d,referrer:D,integrity:E})}},$e=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})($e||{}),at=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,r="OK"){this.headers=n.headers||new Re,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},In=class t extends at{constructor(n={}){super(n)}type=$e.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},xt=class t extends at{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=$e.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}},ot=class extends at{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},nu=200,ru=204;function zr(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var qo=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof it)o=e;else{let u;i.headers instanceof Re?u=i.headers:u=new Re(i.headers);let c;i.params&&(i.params instanceof De?c=i.params:c=new De({fromObject:i.params})),o=new it(e,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=f(o).pipe(fe(u=>this.handler.handle(u)));if(e instanceof it||i.observe==="events")return s;let a=s.pipe(ee(u=>u instanceof xt));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(C(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new v(2806,!1);return u.body}));case"blob":return a.pipe(C(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new v(2807,!1);return u.body}));case"text":return a.pipe(C(u=>{if(u.body!==null&&typeof u.body!="string")throw new v(2808,!1);return u.body}));case"json":default:return a.pipe(C(u=>u.body))}case"response":return a;default:throw new v(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new De().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,zr(i,r))}post(e,r,i={}){return this.request("POST",e,zr(i,r))}put(e,r,i={}){return this.request("PUT",e,zr(i,r))}static \u0275fac=function(r){return new(r||t)(p(st))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();var iu=new w("");function ou(t,n){return n(t)}function su(t,n,e){return(r,i)=>H(e,()=>n(r,o=>t(o,i)))}var Hr=new w(""),Wo=new w(""),Zo=new w("",{providedIn:"root",factory:()=>!0});var Mn=(()=>{class t extends st{backend;injector;chain=null;pendingTasks=l(Fi);contributeToStability=l(Zo);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Hr),...this.injector.get(Wo,[])]));this.chain=r.reduceRight((i,o)=>su(i,o,this.injector),ou)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Ye(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(p(kt),p(pe))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();var au=/^\)\]\}',?\n/,uu=RegExp(`^${Vo}:`,"m");function cu(t){return"responseURL"in t&&t.responseURL?t.responseURL:uu.test(t.getAllResponseHeaders())?t.getResponseHeader(Vo):null}var Vr=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return f(null).pipe(k(()=>new nn(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,R)=>s.setRequestHeader(y,R.join(","))),e.headers.has(zo)||s.setRequestHeader(zo,tu),!e.headers.has($o)){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader($o,y)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let y=s.statusText||"OK",R=new Re(s.getAllResponseHeaders()),$=cu(s)||e.url;return u=new In({headers:R,status:s.status,statusText:y,url:$}),u},d=()=>{let{headers:y,status:R,statusText:$,url:J}=c(),L=null;R!==ru&&(L=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=L?nu:0);let Me=R>=200&&R<300;if(e.responseType==="json"&&typeof L=="string"){let Oe=L;L=L.replace(au,"");try{L=L!==""?JSON.parse(L):null}catch(Js){L=Oe,Me&&(Me=!1,L={error:Js,text:L})}}Me?(o.next(new xt({body:L,headers:y,status:R,statusText:$,url:J||void 0})),o.complete()):o.error(new ot({error:L,headers:y,status:R,statusText:$,url:J||void 0}))},D=y=>{let{url:R}=c(),$=new ot({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});o.error($)},E=D;e.timeout&&(E=y=>{let{url:R}=c(),$=new ot({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:R||void 0});o.error($)});let T=!1,_=y=>{T||(o.next(c()),T=!0);let R={type:$e.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(R.total=y.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),o.next(R)},j=y=>{let R={type:$e.UploadProgress,loaded:y.loaded};y.lengthComputable&&(R.total=y.total),o.next(R)};return s.addEventListener("load",d),s.addEventListener("error",D),s.addEventListener("timeout",E),s.addEventListener("abort",D),e.reportProgress&&(s.addEventListener("progress",_),a!==null&&s.upload&&s.upload.addEventListener("progress",j)),s.send(a),o.next({type:$e.Sent}),()=>{s.removeEventListener("error",D),s.removeEventListener("abort",D),s.removeEventListener("load",d),s.removeEventListener("timeout",E),e.reportProgress&&(s.removeEventListener("progress",_),a!==null&&s.upload&&s.upload.removeEventListener("progress",j)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(p(je))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),Yo=new w(""),lu="XSRF-TOKEN",du=new w("",{providedIn:"root",factory:()=>lu}),hu="X-XSRF-TOKEN",fu=new w("",{providedIn:"root",factory:()=>hu}),Ut=class{},pu=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r){this.doc=e,this.cookieName=r}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ot(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(p(I),p(du))};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),gu=/^(?:https?:)?\/\//i;function mu(t,n){if(!l(Yo)||t.method==="GET"||t.method==="HEAD"||gu.test(t.url))return n(t);let e=l(Ut).getToken(),r=l(fu);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var Gr=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Gr||{});function vu(t,n){return{\u0275kind:t,\u0275providers:n}}function Du(...t){let n=[qo,Vr,Mn,{provide:st,useExisting:Mn},{provide:kt,useFactory:()=>l(iu,{optional:!0})??l(Vr)},{provide:Hr,useValue:mu,multi:!0},{provide:Yo,useValue:!0},{provide:Ut,useClass:pu}];for(let e of t)n.push(...e.\u0275providers);return Et(n)}function yu(t){return vu(Gr.Interceptors,t.map(n=>({provide:Hr,useValue:n,multi:!0})))}var Ko=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(p(I))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Cu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=p(Eu),i},providedIn:"root"})}return t})(),Eu=(()=>{class t extends Cu{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case ke.NONE:return r;case ke.HTML:return et(r,"HTML")?Le(r):$i(this._doc,String(r)).toString();case ke.STYLE:return et(r,"Style")?Le(r):r;case ke.SCRIPT:if(et(r,"Script"))return Le(r);throw new v(5200,!1);case ke.URL:return et(r,"URL")?Le(r):ji(String(r));case ke.RESOURCE_URL:if(et(r,"ResourceURL"))return Le(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(e){return Li(e)}bypassSecurityTrustStyle(e){return ki(e)}bypassSecurityTrustScript(e){return xi(e)}bypassSecurityTrustUrl(e){return Ui(e)}bypassSecurityTrustResourceUrl(e){return Bi(e)}static \u0275fac=function(r){return new(r||t)(p(I))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var m="primary",Xt=Symbol("RouteTitle"),Kr=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function He(t){return new Kr(t)}function is(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function Ru(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!se(t[e],n[e]))return!1;return!0}function se(t,n){let e=t?Xr(t):void 0,r=n?Xr(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!os(t[i],n[i]))return!1;return!0}function Xr(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function os(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function ss(t){return t.length>0?t[t.length-1]:null}function ye(t){return Si(t)?t:dn(t)?z(Promise.resolve(t)):f(t)}var bu={exact:us,subset:cs},as={exact:Au,subset:Tu,ignored:()=>!0};function Xo(t,n,e){return bu[e.paths](t.root,n.root,e.matrixParams)&&as[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Au(t,n){return se(t,n)}function us(t,n,e){if(!ze(t.segments,n.segments)||!Nn(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!us(t.children[r],n.children[r],e))return!1;return!0}function Tu(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>os(t[e],n[e]))}function cs(t,n,e){return ls(t,n,n.segments,e)}function ls(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ze(i,e)||n.hasChildren()||!Nn(i,e,r))}else if(t.segments.length===e.length){if(!ze(t.segments,e)||!Nn(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!cs(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!ze(t.segments,i)||!Nn(t.segments,i,r)||!t.children[m]?!1:ls(t.children[m],n,o,r)}}function Nn(t,n,e){return n.every((r,i)=>as[e](t[i].parameters,r.parameters))}var ue=class{root;queryParams;fragment;_queryParamMap;constructor(n=new S([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=He(this.queryParams),this._queryParamMap}toString(){return Mu.serialize(this)}},S=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pn(this)}},be=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=He(this.parameters),this._parameterMap}toString(){return hs(this)}};function _u(t,n){return ze(t,n)&&t.every((e,r)=>se(e.parameters,n[r].parameters))}function ze(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Iu(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===m&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==m&&(e=e.concat(n(i,r)))}),e}var Ge=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>new Ae,providedIn:"root"})}return t})(),Ae=class{parse(n){let e=new Qr(n);return new ue(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Bt(n.root,!0)}`,r=Nu(n.queryParams),i=typeof n.fragment=="string"?`#${Ou(n.fragment)}`:"";return`${e}${r}${i}`}},Mu=new Ae;function Pn(t){return t.segments.map(n=>hs(n)).join("/")}function Bt(t,n){if(!t.hasChildren())return Pn(t);if(n){let e=t.children[m]?Bt(t.children[m],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==m&&r.push(`${i}:${Bt(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Iu(t,(r,i)=>i===m?[Bt(t.children[m],!1)]:[`${i}:${Bt(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[m]!=null?`${Pn(t)}/${e[0]}`:`${Pn(t)}/(${e.join("//")})`}}function ds(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function On(t){return ds(t).replace(/%3B/gi,";")}function Ou(t){return encodeURI(t)}function Jr(t){return ds(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ln(t){return decodeURIComponent(t)}function Jo(t){return Ln(t.replace(/\+/g,"%20"))}function hs(t){return`${Jr(t.path)}${Fu(t.parameters)}`}function Fu(t){return Object.entries(t).map(([n,e])=>`;${Jr(n)}=${Jr(e)}`).join("")}function Nu(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${On(e)}=${On(i)}`).join("&"):`${On(e)}=${On(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Pu=/^[^\/()?;#]+/;function qr(t){let n=t.match(Pu);return n?n[0]:""}var Lu=/^[^\/()?;=#]+/;function ku(t){let n=t.match(Lu);return n?n[0]:""}var xu=/^[^=?&#]+/;function Uu(t){let n=t.match(xu);return n?n[0]:""}var Bu=/^[^&#]+/;function ju(t){let n=t.match(Bu);return n?n[0]:""}var Qr=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new S([],{}):new S([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[m]=new S(n,e)),r}parseSegment(){let n=qr(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(n),new be(Ln(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=ku(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=qr(this.remaining);i&&(r=i,this.capture(r))}n[Ln(e)]=Ln(r)}parseQueryParam(n){let e=Uu(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=ju(this.remaining);s&&(r=s,this.capture(r))}let i=Jo(e),o=Jo(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=qr(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=m);let s=this.parseChildren();e[o??m]=Object.keys(s).length===1&&s[m]?s[m]:new S([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new v(4011,!1)}};function fs(t){return t.segments.length>0?new S([],{[m]:t}):t}function ps(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=ps(i);if(r===m&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new S(t.segments,n);return $u(e)}function $u(t){if(t.numberOfChildren===1&&t.children[m]){let n=t.children[m];return new S(t.segments.concat(n.segments),n.children)}return t}function Te(t){return t instanceof ue}function gs(t,n,e=null,r=null){let i=ms(t);return vs(i,n,e,r)}function ms(t){let n;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new S(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=fs(r);return n??i}function vs(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Wr(i,i,i,e,r);let o=zu(n);if(o.toRoot())return Wr(i,i,new S([],{}),e,r);let s=Vu(o,i,t),a=s.processChildren?$t(s.segmentGroup,s.index,o.commands):ys(s.segmentGroup,s.index,o.commands);return Wr(i,s.segmentGroup,a,e,r)}function kn(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Vt(t){return typeof t=="object"&&t!=null&&t.outlets}function Wr(t,n,e,r,i){let o={};r&&Object.entries(r).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=Ds(t,n,e);let a=fs(ps(s));return new ue(a,o,i)}function Ds(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Ds(o,n,e)}),new S(t.segments,r)}var xn=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&kn(r[0]))throw new v(4003,!1);let i=r.find(Vt);if(i&&i!==ss(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zu(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new xn(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new xn(e,n,r)}var lt=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Vu(t,n,e){if(t.isAbsolute)return new lt(n,!0,0);if(!e)return new lt(n,!1,NaN);if(e.parent===null)return new lt(e,!0,0);let r=kn(t.commands[0])?0:1,i=e.segments.length-1+r;return Hu(e,i,t.numberOfDoubleDots)}function Hu(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new v(4005,!1);i=r.segments.length}return new lt(r,!1,i-o)}function Gu(t){return Vt(t[0])?t[0].outlets:{[m]:t}}function ys(t,n,e){if(t??=new S([],{}),t.segments.length===0&&t.hasChildren())return $t(t,n,e);let r=qu(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new S(t.segments.slice(0,r.pathIndex),{});return o.children[m]=new S(t.segments.slice(r.pathIndex),t.children),$t(o,0,i)}else return r.match&&i.length===0?new S(t.segments,{}):r.match&&!t.hasChildren()?ei(t,n,e):r.match?$t(t,0,i):ei(t,n,e)}function $t(t,n,e){if(e.length===0)return new S(t.segments,{});{let r=Gu(e),i={};if(Object.keys(r).some(o=>o!==m)&&t.children[m]&&t.numberOfChildren===1&&t.children[m].segments.length===0){let o=$t(t.children[m],n,e);return new S(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ys(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new S(t.segments,i)}}function qu(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],a=e[r];if(Vt(a))break;let u=`${a}`,c=r<e.length-1?e[r+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!es(u,c,s))return o;r+=2}else{if(!es(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function ei(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Vt(o)){let u=Wu(o.outlets);return new S(r,u)}if(i===0&&kn(e[0])){let u=t.segments[n];r.push(new be(u.path,Qo(e[0]))),i++;continue}let s=Vt(o)?o.outlets[m]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&kn(a)?(r.push(new be(s,Qo(a))),i+=2):(r.push(new be(s,{})),i++)}return new S(r,{})}function Wu(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=ei(new S([],{}),0,r))}),n}function Qo(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function es(t,n,e){return t==e.path&&se(n,e.parameters)}var dt="imperative",F=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(F||{}),W=class{id;url;constructor(n,e){this.id=n,this.url=e}},_e=class extends W{type=F.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},X=class extends W{urlAfterRedirects;type=F.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},B=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(B||{}),ft=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(ft||{}),ae=class extends W{reason;code;type=F.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ce=class extends W{reason;code;type=F.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},pt=class extends W{error;target;type=F.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ht=class extends W{urlAfterRedirects;state;type=F.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Un=class extends W{urlAfterRedirects;state;type=F.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bn=class extends W{urlAfterRedirects;state;shouldActivate;type=F.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},jn=class extends W{urlAfterRedirects;state;type=F.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$n=class extends W{urlAfterRedirects;state;type=F.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zn=class{route;type=F.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vn=class{route;type=F.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Hn=class{snapshot;type=F.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gn=class{snapshot;type=F.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qn=class{snapshot;type=F.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wn=class{snapshot;type=F.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gt=class{routerEvent;position;anchor;type=F.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Gt=class{},mt=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Zu(t){return!(t instanceof Gt)&&!(t instanceof mt)}function Yu(t,n){return t.providers&&!t._injector&&(t._injector=ln(t.providers,n,`Route: ${t.path}`)),t._injector??n}function oe(t){return t.outlet||m}function Ku(t,n){let e=t.filter(r=>oe(r)===n);return e.push(...t.filter(r=>oe(r)!==n)),e}function yt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Zn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return yt(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new qe(this.rootInjector)}},qe=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Zn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(p(pe))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yn=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=ti(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=ti(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=ni(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return ni(n,this._root).map(e=>e.value)}};function ti(t,n){if(t===n.value)return n;for(let e of n.children){let r=ti(t,e);if(r)return r}return null}function ni(t,n){if(t===n.value)return[n];for(let e of n.children){let r=ni(t,e);if(r.length)return r.unshift(n),r}return[]}var q=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ct(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var qt=class extends Yn{snapshot;constructor(n,e){super(n),this.snapshot=e,li(this,n)}toString(){return this.snapshot.toString()}};function ws(t){let n=Xu(t),e=new Z([new be("",{})]),r=new Z({}),i=new Z({}),o=new Z({}),s=new Z(""),a=new le(e,r,o,s,i,m,t,n.root);return a.snapshot=n.root,new qt(new q(a,[]),n)}function Xu(t){let n={},e={},r={},o=new Ve([],n,r,"",e,m,t,null,{});return new Wt("",new q(o,[]))}var le=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,u){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(C(c=>c[Xt]))??f(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(C(n=>He(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(C(n=>He(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Kn(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:h(h({},n.params),t.params),data:h(h({},n.data),t.data),resolve:h(h(h(h({},t.data),n.data),i?.data),t._resolvedData)}:r={params:h({},t.params),data:h({},t.data),resolve:h(h({},t.data),t._resolvedData??{})},i&&Es(i)&&(r.resolve[Xt]=i.title),r}var Ve=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Xt]}constructor(n,e,r,i,o,s,a,u,c){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=He(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=He(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Wt=class extends Yn{url;constructor(n,e){super(e),this.url=n,li(this,e)}toString(){return Cs(this._root)}};function li(t,n){n.value._routerState=t,n.children.forEach(e=>li(t,e))}function Cs(t){let n=t.children.length>0?` { ${t.children.map(Cs).join(", ")} } `:"";return`${t.value}${n}`}function Zr(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,se(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),se(n.params,e.params)||t.paramsSubject.next(e.params),Ru(n.url,e.url)||t.urlSubject.next(e.url),se(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ri(t,n){let e=se(t.params,n.params)&&_u(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||ri(t.parent,n.parent))}function Es(t){return typeof t.title=="string"||t.title===null}var Ss=new w(""),di=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=m;activateEvents=new tt;deactivateEvents=new tt;attachEvents=new tt;detachEvents=new tt;routerOutletData=io();parentContexts=l(qe);location=l(cn);changeDetector=l(rt);inputBinder=l(Jt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new ii(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Ee({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Je]})}return t})(),ii=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===le?this.route:n===qe?this.childContexts:n===Ss?this.outletData:this.parent.get(n,e)}},Jt=new w(""),hi=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=rn([r.queryParams,r.params,r.data]).pipe(k(([o,s,a],u)=>(a=h(h(h({},o),s),a),u===0?f(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=ao(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})(),fi=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Yi({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Ji(0,"router-outlet")},dependencies:[di],encapsulation:2})}return t})();function pi(t){let n=t.children&&t.children.map(pi),e=n?U(h({},t),{children:n}):h({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==m&&(e.component=fi),e}function Ju(t,n,e){let r=Zt(t,n._root,e?e._root:void 0);return new qt(r,n)}function Zt(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=Qu(t,n,e);return new q(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Zt(t,a)),s}}let r=ec(n.value),i=n.children.map(o=>Zt(t,o));return new q(r,i)}}function Qu(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Zt(t,r,i);return Zt(t,r)})}function ec(t){return new le(new Z(t.url),new Z(t.params),new Z(t.queryParams),new Z(t.fragment),new Z(t.data),t.outlet,t.component,t)}var vt=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},Rs="ngNavigationCancelingError";function Xn(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Te(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=bs(!1,B.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function bs(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Rs]=!0,e.cancellationCode=n,e}function tc(t){return As(t)&&Te(t.url)}function As(t){return!!t&&t[Rs]}var nc=(t,n,e,r)=>C(i=>(new oi(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),oi=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Zr(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ct(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ct(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ct(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=ct(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Wn(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Gn(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Zr(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Zr(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Jn=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ht=class{component;route;constructor(n,e){this.component=n,this.route=e}};function rc(t,n,e){let r=t._root,i=n?n._root:null;return jt(r,i,e,[r.value])}function ic(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function wt(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Ii(t)?t:n.get(t):r}function jt(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ct(n);return t.children.forEach(s=>{oc(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>zt(a,e.getContext(s),i)),i}function oc(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=sc(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Jn(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?jt(t,n,a?a.children:null,r,i):jt(t,n,e,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ht(a.outlet.component,s))}else s&&zt(n,a,i),i.canActivateChecks.push(new Jn(r)),o.component?jt(t,null,a?a.children:null,r,i):jt(t,null,e,r,i);return i}function sc(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!ze(t.url,n.url);case"pathParamsOrQueryParamsChange":return!ze(t.url,n.url)||!se(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ri(t,n)||!se(t.queryParams,n.queryParams);case"paramsChange":default:return!ri(t,n)}}function zt(t,n,e){let r=ct(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?zt(s,n.children.getContext(o),e):zt(s,null,e):zt(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new ht(n.outlet.component,i)):e.canDeactivateChecks.push(new ht(null,i)):e.canDeactivateChecks.push(new ht(null,i))}function Qt(t){return typeof t=="function"}function ac(t){return typeof t=="boolean"}function uc(t){return t&&Qt(t.canLoad)}function cc(t){return t&&Qt(t.canActivate)}function lc(t){return t&&Qt(t.canActivateChild)}function dc(t){return t&&Qt(t.canDeactivate)}function hc(t){return t&&Qt(t.canMatch)}function Ts(t){return t instanceof Ri||t?.name==="EmptyError"}var Fn=Symbol("INITIAL_VALUE");function Dt(){return k(t=>rn(t.map(n=>n.pipe(Ze(1),_i(Fn)))).pipe(C(n=>{for(let e of n)if(e!==!0){if(e===Fn)return Fn;if(e===!1||fc(e))return e}return!0}),ee(n=>n!==Fn),Ze(1)))}function fc(t){return Te(t)||t instanceof vt}function pc(t,n){return V(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?f(U(h({},e),{guardsResult:!0})):gc(s,r,i,t).pipe(V(a=>a&&ac(a)?mc(r,o,t,n):f(a)),C(a=>U(h({},e),{guardsResult:a})))})}function gc(t,n,e,r){return z(t).pipe(V(i=>Cc(i.component,i.route,e,n,r)),we(i=>i!==!0,!0))}function mc(t,n,e,r){return z(n).pipe(fe(i=>bi(Dc(i.route.parent,r),vc(i.route,r),wc(t,i.path,e),yc(t,i.route,e))),we(i=>i!==!0,!0))}function vc(t,n){return t!==null&&n&&n(new qn(t)),f(!0)}function Dc(t,n){return t!==null&&n&&n(new Hn(t)),f(!0)}function yc(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return f(!0);let i=r.map(o=>on(()=>{let s=yt(n)??e,a=wt(o,s),u=cc(a)?a.canActivate(n,t):H(s,()=>a(n,t));return ye(u).pipe(we())}));return f(i).pipe(Dt())}function wc(t,n,e){let r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>ic(s)).filter(s=>s!==null).map(s=>on(()=>{let a=s.guards.map(u=>{let c=yt(s.node)??e,d=wt(u,c),D=lc(d)?d.canActivateChild(r,t):H(c,()=>d(r,t));return ye(D).pipe(we())});return f(a).pipe(Dt())}));return f(o).pipe(Dt())}function Cc(t,n,e,r,i){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return f(!0);let s=o.map(a=>{let u=yt(n)??i,c=wt(a,u),d=dc(c)?c.canDeactivate(t,n,e,r):H(u,()=>c(t,n,e,r));return ye(d).pipe(we())});return f(s).pipe(Dt())}function Ec(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return f(!0);let o=i.map(s=>{let a=wt(s,t),u=uc(a)?a.canLoad(n,e):H(t,()=>a(n,e));return ye(u)});return f(o).pipe(Dt(),_s(r))}function _s(t){return Ei(N(n=>{if(typeof n!="boolean")throw Xn(t,n)}),C(n=>n===!0))}function Sc(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return f(!0);let o=i.map(s=>{let a=wt(s,t),u=hc(a)?a.canMatch(n,e):H(t,()=>a(n,e));return ye(u)});return f(o).pipe(Dt(),_s(r))}var Yt=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Kt=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function ut(t){return Ct(new Yt(t))}function Rc(t){return Ct(new v(4e3,!1))}function bc(t){return Ct(bs(!1,B.GuardRejected))}var si=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return f(r);if(i.numberOfChildren>1||!i.children[m])return Rc(`${n.redirectTo}`);i=i.children[m]}}applyRedirectCommands(n,e,r,i,o){return Ac(e,i,o).pipe(C(s=>{if(s instanceof ue)throw new Kt(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Kt(a);return a}))}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new ue(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(n,u,r,i)}),new S(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Ac(t,n,e){if(typeof t=="string")return f(t);let r=t,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,params:c,data:d,title:D}=n;return ye(H(e,()=>r({params:c,data:d,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,title:D})))}var ai={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tc(t,n,e,r,i){let o=Is(t,n,e);return o.matched?(r=Yu(n,r),Sc(r,n,e,i).pipe(C(s=>s===!0?o:h({},ai)))):f(o)}function Is(t,n,e){if(n.path==="**")return _c(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},ai):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||is)(e,t,n);if(!i)return h({},ai);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?h(h({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function _c(t){return{matched:!0,parameters:t.length>0?ss(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ts(t,n,e,r){return e.length>0&&Oc(t,e,r)?{segmentGroup:new S(n,Mc(r,new S(e,t.children))),slicedSegments:[]}:e.length===0&&Fc(t,e,r)?{segmentGroup:new S(t.segments,Ic(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new S(t.segments,t.children),slicedSegments:e}}function Ic(t,n,e,r){let i={};for(let o of e)if(er(t,n,o)&&!r[oe(o)]){let s=new S([],{});i[oe(o)]=s}return h(h({},r),i)}function Mc(t,n){let e={};e[m]=n;for(let r of t)if(r.path===""&&oe(r)!==m){let i=new S([],{});e[oe(r)]=i}return e}function Oc(t,n,e){return e.some(r=>er(t,n,r)&&oe(r)!==m)}function Fc(t,n,e){return e.some(r=>er(t,n,r))}function er(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Nc(t,n,e){return n.length===0&&!t.children[e]}var ui=class{};function Pc(t,n,e,r,i,o,s="emptyOnly"){return new ci(t,n,e,r,i,s,o).recognize()}var Lc=31,ci=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new si(this.urlSerializer,this.urlTree)}noMatchError(n){return new v(4002,`'${n.segmentGroup}'`)}recognize(){let n=ts(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(C(({children:e,rootSnapshot:r})=>{let i=new q(r,e),o=new Wt("",i),s=gs(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new Ve([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),m,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,m,e).pipe(C(r=>({children:r,rootSnapshot:e})),Fe(r=>{if(r instanceof Kt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Yt?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,o):this.processSegment(n,e,r,r.segments,i,!0,o).pipe(C(s=>s instanceof q?[s]:[]))}processChildren(n,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return z(o).pipe(fe(s=>{let a=r.children[s],u=Ku(e,s);return this.processSegmentGroup(n,u,a,s,i)}),Ti((s,a)=>(s.push(...a),s)),ur(null),Ai(),V(s=>{if(s===null)return ut(r);let a=Ms(s);return kc(a),f(a)}))}processSegment(n,e,r,i,o,s,a){return z(e).pipe(fe(u=>this.processSegmentAgainstRoute(u._injector??n,e,u,r,i,o,s,a).pipe(Fe(c=>{if(c instanceof Yt)return f(null);throw c}))),we(u=>!!u),Fe(u=>{if(Ts(u))return Nc(r,i,o)?f(new ui):ut(r);throw u}))}processSegmentAgainstRoute(n,e,r,i,o,s,a,u){return oe(r)!==s&&(s===m||!er(i,o,r))?ut(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,u):ut(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){let{matched:u,parameters:c,consumedSegments:d,positionalParamSegments:D,remainingSegments:E}=Is(e,i,o);if(!u)return ut(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Lc&&(this.allowRedirects=!1));let T=new Ve(o,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ns(i),oe(i),i.component??i._loadedComponent??null,i,rs(i)),_=Kn(T,a,this.paramsInheritanceStrategy);return T.params=Object.freeze(_.params),T.data=Object.freeze(_.data),this.applyRedirects.applyRedirectCommands(d,i.redirectTo,D,T,n).pipe(k(y=>this.applyRedirects.lineralizeSegments(i,y)),V(y=>this.processSegment(n,r,e,y.concat(E),s,!1,a)))}matchSegmentAgainstRoute(n,e,r,i,o,s){let a=Tc(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(k(u=>u.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(k(({routes:c})=>{let d=r._loadedInjector??n,{parameters:D,consumedSegments:E,remainingSegments:T}=u,_=new Ve(E,D,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ns(r),oe(r),r.component??r._loadedComponent??null,r,rs(r)),j=Kn(_,s,this.paramsInheritanceStrategy);_.params=Object.freeze(j.params),_.data=Object.freeze(j.data);let{segmentGroup:y,slicedSegments:R}=ts(e,E,T,c);if(R.length===0&&y.hasChildren())return this.processChildren(d,c,y,_).pipe(C(J=>new q(_,J)));if(c.length===0&&R.length===0)return f(new q(_,[]));let $=oe(r)===o;return this.processSegment(d,c,y,R,$?m:o,!0,_).pipe(C(J=>new q(_,J instanceof q?[J]:[])))}))):ut(e)))}getChildConfig(n,e,r){return e.children?f({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?f({routes:e._loadedRoutes,injector:e._loadedInjector}):Ec(n,e,r,this.urlSerializer).pipe(V(i=>i?this.configLoader.loadChildren(n,e).pipe(N(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):bc(e))):f({routes:[],injector:n})}};function kc(t){t.sort((n,e)=>n.value.outlet===m?-1:e.value.outlet===m?1:n.value.outlet.localeCompare(e.value.outlet))}function xc(t){let n=t.value.routeConfig;return n&&n.path===""}function Ms(t){let n=[],e=new Set;for(let r of t){if(!xc(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=Ms(r.children);n.push(new q(r.value,i))}return n.filter(r=>!e.has(r))}function ns(t){return t.data||{}}function rs(t){return t.resolve||{}}function Uc(t,n,e,r,i,o){return V(s=>Pc(t,n,e,r,s.extractedUrl,i,o).pipe(C(({state:a,tree:u})=>U(h({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function Bc(t,n){return V(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return f(e);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of Os(u))s.add(c);let a=0;return z(s).pipe(fe(u=>o.has(u)?jc(u,r,t,n):(u.data=Kn(u,u.parent,t).resolve,f(void 0))),N(()=>a++),cr(1),V(u=>a===s.size?f(e):he))})}function Os(t){let n=t.children.map(e=>Os(e)).flat();return[t,...n]}function jc(t,n,e,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Es(i)&&(o[Xt]=i.title),on(()=>(t.data=Kn(t,t.parent,e).resolve,$c(o,t,n,r).pipe(C(s=>(t._resolvedData=s,t.data=h(h({},t.data),s),null)))))}function $c(t,n,e,r){let i=Xr(t);if(i.length===0)return f({});let o={};return z(i).pipe(V(s=>zc(t[s],n,e,r).pipe(we(),N(a=>{if(a instanceof vt)throw Xn(new Ae,a);o[s]=a}))),cr(1),C(()=>o),Fe(s=>Ts(s)?he:Ct(s)))}function zc(t,n,e,r){let i=yt(n)??r,o=wt(t,i),s=o.resolve?o.resolve(n,e):H(i,()=>o(n,e));return ye(s)}function Yr(t){return k(n=>{let e=t(n);return e?z(e).pipe(C(()=>n)):f(n)})}var gi=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===m);return r}getResolvedTitleForRoute(e){return e.data[Xt]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>l(Fs),providedIn:"root"})}return t})(),Fs=(()=>{class t extends gi{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(p(Ko))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ie=new w("",{providedIn:"root",factory:()=>({})}),We=new w(""),tr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(to);loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return f(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=ye(H(e,()=>r.loadComponent())).pipe(C(Ps),k(Ls),N(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Ye(()=>{this.componentLoaders.delete(r)})),o=new sr(i,()=>new Q).pipe(or());return this.componentLoaders.set(r,o),o}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return f({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Ns(r,this.compiler,e,this.onLoadEndListener).pipe(Ye(()=>{this.childrenLoaders.delete(r)})),s=new sr(o,()=>new Q).pipe(or());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ns(t,n,e,r){return ye(H(e,()=>t.loadChildren())).pipe(C(Ps),k(Ls),V(i=>i instanceof Zi||Array.isArray(i)?f(i):z(n.compileModuleAsync(i))),C(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(We,[],{optional:!0,self:!0}).flat()),{routes:s.map(pi),injector:o}}))}function Vc(t){return t&&typeof t=="object"&&"default"in t}function Ps(t){return Vc(t)?t.default:t}function Ls(t){return f(t)}var nr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>l(Hc),providedIn:"root"})}return t})(),Hc=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mi=new w(""),vi=new w("");function ks(t,n,e){let r=t.get(vi),i=t.get(I);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),Gc(t)));a.ready.catch(c=>{});let{onViewTransitionCreated:u}=r;return u&&H(t,()=>u({transition:a,from:n,to:e})),s}function Gc(t){return new Promise(n=>{Gi({read:()=>setTimeout(n)},{injector:t})})}var Di=new w(""),rr=(()=>{class t{currentNavigation=an(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new Q;transitionAbortWithErrorSubject=new Q;configLoader=l(tr);environmentInjector=l(pe);destroyRef=l(sn);urlSerializer=l(Ge);rootContexts=l(qe);location=l(Se);inputBindingEnabled=l(Jt,{optional:!0})!==null;titleStrategy=l(gi);options=l(Ie,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=l(nr);createViewTransition=l(mi,{optional:!0});navigationErrorHandler=l(Di,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>f(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new zn(i)),r=i=>this.events.next(new Vn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;te(()=>{this.transitions?.next(U(h({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(e){return this.transitions=new Z(null),this.transitions.pipe(ee(r=>r!==null),k(r=>{let i=!1;return f(r).pipe(k(o=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",B.SupersededByNewNavigation),he;this.currentTransition=r,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?U(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new ce(o.id,this.urlSerializer.serialize(o.rawUrl),"",ft.IgnoredSameUrlNavigation)),o.resolve(!1),he;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return f(o).pipe(k(u=>(this.events.next(new _e(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?he:Promise.resolve(u))),Uc(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),N(u=>{r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation.update(d=>(d.finalUrl=u.urlAfterRedirects,d));let c=new Ht(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:u,extractedUrl:c,source:d,restoredState:D,extras:E}=o,T=new _e(u,this.urlSerializer.serialize(c),d,D);this.events.next(T);let _=ws(this.rootComponentType).snapshot;return this.currentTransition=r=U(h({},o),{targetSnapshot:_,urlAfterRedirects:c,extras:U(h({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(j=>(j.finalUrl=c,j)),f(r)}else return this.events.next(new ce(o.id,this.urlSerializer.serialize(o.extractedUrl),"",ft.IgnoredByUrlHandlingStrategy)),o.resolve(!1),he}),N(o=>{let s=new Un(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),C(o=>(this.currentTransition=r=U(h({},o),{guards:rc(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),r)),pc(this.environmentInjector,o=>this.events.next(o)),N(o=>{if(r.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Xn(this.urlSerializer,o.guardsResult);let s=new Bn(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),ee(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",B.GuardRejected),!1)),Yr(o=>{if(o.guards.canActivateChecks.length!==0)return f(o).pipe(N(s=>{let a=new jn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),k(s=>{let a=!1;return f(s).pipe(Bc(this.paramsInheritanceStrategy,this.environmentInjector),N({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",B.NoDataFromResolver)}}))}),N(s=>{let a=new $n(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Yr(o=>{let s=a=>{let u=[];if(a.routeConfig?.loadComponent){let c=yt(a)??this.environmentInjector;u.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(N(d=>{a.component=d}),C(()=>{})))}for(let c of a.children)u.push(...s(c));return u};return rn(s(o.targetSnapshot.root)).pipe(ur(null),Ze(1))}),Yr(()=>this.afterPreactivation()),k(()=>{let{currentSnapshot:o,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?z(a).pipe(C(()=>r)):f(r)}),C(o=>{let s=Ju(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=r=U(h({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),N(()=>{this.events.next(new Gt)}),nc(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),Ze(1),lr(new nn(o=>{let s=r.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ee(()=>!i&&!r.targetRouterState),N(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",B.Aborted)}))),N({next:o=>{i=!0,this.lastSuccessfulNavigation=te(this.currentNavigation),this.events.next(new X(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),lr(this.transitionAbortWithErrorSubject.pipe(N(o=>{throw o}))),Ye(()=>{i||this.cancelNavigationTransition(r,"",B.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Fe(o=>{if(this.destroyed)return r.resolve(!1),he;if(i=!0,As(o))this.events.next(new ae(r.id,this.urlSerializer.serialize(r.extractedUrl),o.message,o.cancellationCode)),tc(o)?this.events.next(new mt(o.url,o.navigationBehaviorOptions)):r.resolve(!1);else{let s=new pt(r.id,this.urlSerializer.serialize(r.extractedUrl),o,r.targetSnapshot??void 0);try{let a=H(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof vt){let{message:u,cancellationCode:c}=Xn(this.urlSerializer,a);this.events.next(new ae(r.id,this.urlSerializer.serialize(r.extractedUrl),u,c)),this.events.next(new mt(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return he}))}))}cancelNavigationTransition(e,r,i){let o=new ae(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=te(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function qc(t){return t!==dt}var xs=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>l(Wc),providedIn:"root"})}return t})(),Qn=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Wc=(()=>{class t extends Qn{static \u0275fac=(()=>{let e;return function(i){return(e||(e=hr(t)))(i||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Us=(()=>{class t{urlSerializer=l(Ge);options=l(Ie,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(Se);urlHandlingStrategy=l(nr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ue;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof ue?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=ws(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:()=>l(Zc),providedIn:"root"})}return t})(),Zc=(()=>{class t extends Us{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate")})})}handleRouterEvent(e,r){e instanceof _e?this.updateStateMemento():e instanceof ce?this.commitTransition(r):e instanceof Ht?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Gt?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ae&&e.code!==B.SupersededByNewNavigation&&e.code!==B.Redirect?this.restoreHistory(r):e instanceof pt?this.restoreHistory(r,!0):e instanceof X&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=h(h({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=h(h({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hr(t)))(i||t)}})();static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ir(t,n){t.events.pipe(ee(e=>e instanceof X||e instanceof ae||e instanceof pt||e instanceof ce),C(e=>e instanceof X||e instanceof ce?0:(e instanceof ae?e.code===B.Redirect||e.code===B.SupersededByNewNavigation:!1)?2:1),ee(e=>e!==2),Ze(1)).subscribe(()=>{n()})}var Yc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Kc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},de=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l(yr);stateManager=l(Us);options=l(Ie,{optional:!0})||{};pendingTasks=l(Oi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(rr);urlSerializer=l(Ge);location=l(Se);urlHandlingStrategy=l(nr);injector=l(pe);_events=new Q;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(xs);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(We,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(Jt,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ci;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=te(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof ae&&r.code!==B.Redirect&&r.code!==B.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof X)this.navigated=!0;else if(r instanceof mt){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u=h({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||qc(i.source)},s);this.scheduleNavigation(a,dt,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Zu(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),dt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=h({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o).catch(u=>{this.disposed||this.injector.get(Xe)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return te(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(pi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let D;try{let E=i?i.snapshot:this.routerState.snapshot.root;D=ms(E)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),D=this.currentUrlTree.root}return vs(D,e,d,c??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Te(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,dt,null,r)}navigate(e,r={skipLocationChange:!1}){return Xc(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Ne(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=h({},Yc):r===!1?i=h({},Kc):i=r,Te(e))return Xo(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Xo(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((D,E)=>{a=D,u=E});let d=this.pendingTasks.add();return ir(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(D=>Promise.reject(D))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Xc(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new v(4008,!1)}var Bs=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=an(null);get href(){return te(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Q;applicationErrorHandler=l(Xe);options=l(Ie,{optional:!0});constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(l(new ro("href"),{optional:!0}));let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area"||!!(typeof customElements=="object"&&customElements.get(u)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,r=i=>i==="merge"||i==="preserve";e||=r(this.queryParamsHandling),e||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(i=>{i instanceof X&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Te(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Te(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||t)(P(de),P(le),fr("tabindex"),P(nt),P(Qe),P(re))};static \u0275dir=Ee({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&eo("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Xi("href",i.reactiveHref(),zi)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Rt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Rt],replaceUrl:[2,"replaceUrl","replaceUrl",Rt],routerLink:"routerLink"},features:[Je]})}return t})();var en=class{};var js=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ee(e=>e instanceof X),fe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=ln(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return z(i).pipe(ar())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=f(null);let o=i.pipe(V(s=>s===null?f(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return z([o,s]).pipe(ar())}else return o})}static \u0275fac=function(r){return new(r||t)(p(de),p(pe),p(en),p(tr))};static \u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$s=new w(""),Jc=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=dt;restoredId=0;store={};constructor(e,r,i,o,s={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _e?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof X?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ce&&e.code===ft.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof gt))return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(async()=>{await new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new gt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Wi()};static \u0275prov=g({token:t,factory:t.\u0275fac})}return t})();function Qc(t,...n){return Et([{provide:We,multi:!0,useValue:t},[],{provide:le,useFactory:zs,deps:[de]},{provide:Cr,multi:!0,useFactory:Vs},n.map(e=>e.\u0275providers)])}function zs(t){return t.routerState.root}function tn(t,n){return{\u0275kind:t,\u0275providers:n}}function Vs(){let t=l(Ke);return n=>{let e=t.get(Er);if(n!==e.components[0])return;let r=t.get(de),i=t.get(Hs);t.get(wi)===1&&r.initialNavigation(),t.get(Ws,null,{optional:!0})?.setUpPreloading(),t.get($s,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Hs=new w("",{factory:()=>new Q}),wi=new w("",{providedIn:"root",factory:()=>1});function Gs(){let t=[{provide:mr,useValue:!0},{provide:wi,useValue:0},wr(()=>{let n=l(Ke);return n.get(Rr,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(de),o=n.get(Hs);ir(i,()=>{r(!0)}),n.get(rr).afterPreactivation=()=>(r(!0),o.closed?f(void 0):o),i.initialNavigation()}))})];return tn(2,t)}function qs(){let t=[wr(()=>{l(de).setUpLocationChangeListener()}),{provide:wi,useValue:2}];return tn(3,t)}var Ws=new w("");function Zs(t){return tn(0,[{provide:Ws,useExisting:js},{provide:en,useExisting:t}])}function Ys(){return tn(8,[hi,{provide:Jt,useExisting:hi}])}function Ks(t){Dr("NgRouterViewTransitions");let n=[{provide:mi,useValue:ks},{provide:vi,useValue:h({skipNextTransition:!!t?.skipInitialTransition},t)}];return tn(9,n)}var Xs=[Se,{provide:Ge,useClass:Ae},de,qe,{provide:le,useFactory:zs,deps:[de]},tr,[]],el=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Xs,[],{provide:We,multi:!0,useValue:e},[],r?.errorHandler?{provide:Di,useValue:r.errorHandler}:[],{provide:Ie,useValue:r||{}},r?.useHash?nl():rl(),tl(),r?.preloadingStrategy?Zs(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?il(r):[],r?.bindToComponentInputs?Ys().\u0275providers:[],r?.enableViewTransitions?Ks().\u0275providers:[],ol()]}}static forChild(e){return{ngModule:t,providers:[{provide:We,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Ue({type:t});static \u0275inj=Pe({})}return t})();function tl(){return{provide:$s,useFactory:()=>{let t=l(Io),n=l(Ce),e=l(Ie),r=l(rr),i=l(Ge);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Jc(i,r,t,n,e)}}}function nl(){return{provide:re,useClass:Or}}function rl(){return{provide:re,useClass:pn}}function il(t){return[t.initialNavigation==="disabled"?qs().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Gs().\u0275providers:[]]}var yi=new w("");function ol(){return[{provide:yi,useFactory:Vs},{provide:Cr,multi:!0,useExisting:yi}]}export{ge as a,Se as b,pa as c,ga as d,ma as e,ya as f,Ca as g,Ea as h,Ra as i,_o as j,Sd as k,Rd as l,$r as m,Va as n,kt as o,De as p,ot as q,qo as r,Du as s,yu as t,Cu as u,m as v,X as w,le as x,di as y,de as z,Bs as A,Qc as B,el as C};
@@ -1,2 +0,0 @@
1
- import{a as k,b as f}from"./chunk-6JH45SUC.js";import{b as v}from"./chunk-SNCDDYQR.js";import{Ha as m,a as n,b as u,fd as c,gd as j,l as S,ma as g,qa as T,ra as l,z as b}from"./chunk-SJG2JCPL.js";var y=class p{constructor(t,e){this.ws=t;this.runtimeStore=e;this.ws.messages().subscribe(s=>this.onMessage(s)),this.ws.stateChanges().subscribe(s=>{s==="open"&&this.lastWsState!=="open"&&this.replaySubs(),this.lastWsState=s})}outputByTaskId=new Map;event$=new S;subs=new Map;lastWsState="idle";ensureConnected(){this.ws.connect()}subscribeTask(t,e=200){let s=t.trim();if(!s)return;let r=Math.max(0,Math.min(5e3,e|0));this.subs.get(s)!==r&&(this.subs.set(s,r),this.ws.isOpen()&&this.ws.send({op:"sub",topic:"task",taskId:s,tail:r}))}unsubscribeTask(t){let e=t.trim();this.subs.has(e)&&(this.subs.delete(e),this.ws.isOpen()&&this.ws.send({op:"unsub",topic:"task",taskId:e}))}resize(t,e,s){let r=String(t??"").trim();r&&this.ws.isOpen()&&this.ws.send({op:"resize",topic:"task",taskId:r,cols:e,rows:s})}output$(t){return this.ensureOutput(t).asObservable()}events$(){return this.event$.asObservable()}status$(t){return this.runtimeStore.status$(t)}replaySubs(){for(let[t,e]of this.subs.entries())this.ws.send({op:"sub",topic:"task",taskId:t,tail:e})}onMessage(t){let e=t?.op;if(e==="task.output"){let s=t.payload,r=String(s.taskId??"").trim();if(!r)return;this.ensureOutput(r).next(t);return}if(e==="task.event"){let s=t.payload,r=t.type,d=String(s.taskId??"").trim();if(!d)return;this.event$.next(t);let i=this.applyEventToRuntime(r,s);if(i&&this.runtimeStore.setRuntime(i),(r==="exited"||r==="failed")&&setTimeout(()=>this.outputByTaskId.delete(d),300*1e3),r==="failed"){let a=s,h=`[failed] ${a?.error??""}`.trim(),o={runId:a.runId,taskId:d,stream:"stderr",text:h+`
2
- `};this.ensureOutput(d).next({op:"task.output",payload:o,ts:t.ts})}}}ensureOutput(t){let e=String(t??"").trim();return this.outputByTaskId.has(e)||this.outputByTaskId.set(e,new S),this.outputByTaskId.get(e)}applyEventToRuntime(t,e){let s=String(e?.taskId??"").trim(),r=String(e?.runId??"").trim();if(!s||!r)return null;let d=this.runtimeStore.runtimeSignal(s)(),i=d&&d.runId===r?n({},d):{taskId:s,runId:r,projectId:String(e?.projectId??d?.projectId??"").trim(),status:"idle"};switch(t){case"snapshot":let a=e;return i.projectId=String(a?.projectId??i.projectId??"").trim(),i.status=a.status,i.startedAt=a.startedAt,i.stoppedAt=a.stoppedAt,i.pid=a.pid,i.exitCode=a.exitCode,i.signal=a.signal,i;case"started":return i.projectId=String(e?.projectId??i.projectId??"").trim(),i.status="running",i.pid=e?.pid??i.pid,i.startedAt=e?.startedAt??i.startedAt??Date.now(),i.stoppedAt=void 0,i.exitCode=void 0,i.signal=void 0,i;case"stopRequested":return i.status="stopping",i;case"exited":return i.status="stopped",i.exitCode=e?.exitCode??null,i.signal=e?.signal??null,i.stoppedAt=e?.stoppedAt??Date.now(),i;case"failed":return i.status="failed",i.stoppedAt=i.stoppedAt??Date.now(),i.exitCode=i.exitCode??null,i.signal=i.signal??null,i;default:return null}}static \u0275fac=function(e){return new(e||p)(T(v),T(f))};static \u0275prov=g({token:p,factory:p.\u0275fac,providedIn:"root"})};var w=class p{api=l(k);runtimeStore=l(f);state=m({rowsByProject:{},loadingByProject:{},loadedAtByProject:{}});rowsOf(t){let e=(t??"").trim();return c(()=>this.state().rowsByProject[e]??[])}isLoading(t){let e=(t??"").trim();return c(()=>!!this.state().loadingByProject[e])}isLoaded(t){let e=(t??"").trim();return c(()=>this.state().loadedAtByProject[e]!=null)}async ensureLoaded(t,e){let s=(t??"").trim();if(!s)return;let r=this.state(),d=r.loadedAtByProject[s]!=null,i=!!r.loadingByProject[s];if(!(!e?.force&&(d||i))){this.state.update(a=>u(n({},a),{loadingByProject:u(n({},a.loadingByProject),{[s]:!0})}));try{let h=(await b(this.api.getViews(s))??[]).map(o=>({spec:o.spec,runtime:o.runtime?{taskId:o.runtime.taskId,projectId:o.runtime.projectId,runId:o.runtime.runId,status:o.runtime.status,pid:o.runtime.pid,startedAt:o.runtime.startedAt,stoppedAt:o.runtime.stoppedAt,exitCode:o.runtime.exitCode,signal:o.runtime.signal}:void 0}));for(let o of h)o.runtime&&this.runtimeStore.setRuntime(o.runtime);this.state.update(o=>u(n({},o),{rowsByProject:u(n({},o.rowsByProject),{[s]:h}),loadedAtByProject:u(n({},o.loadedAtByProject),{[s]:Date.now()})}))}finally{this.state.update(a=>u(n({},a),{loadingByProject:u(n({},a.loadingByProject),{[s]:!1})}))}}}setRows(t,e){let s=(t??"").trim();if(s){for(let r of e??[])r.runtime&&this.runtimeStore.setRuntime(r.runtime);this.state.update(r=>u(n({},r),{rowsByProject:u(n({},r.rowsByProject),{[s]:e??[]}),loadedAtByProject:u(n({},r.loadedAtByProject),{[s]:Date.now()})}))}}clear(t){let e=(t??"").trim();e&&this.state.update(s=>{let r=n({},s.rowsByProject),d=n({},s.loadingByProject),i=n({},s.loadedAtByProject);return delete r[e],delete d[e],delete i[e],{rowsByProject:r,loadingByProject:d,loadedAtByProject:i}})}static \u0275fac=function(e){return new(e||p)};static \u0275prov=g({token:p,factory:p.\u0275fac,providedIn:"root"})};var P=class p{api=l(k);stream=l(y);runtimeStore=l(f);catalog=l(w);projectId=m("");keyword=m("");loading=m(!1);selectedTaskId=m("");rows=c(()=>{let t=this.projectId();return t?this.catalog.rowsOf(t)():[]});rowsView=c(()=>this.rows().map(e=>{let s=e.spec.id,r=this.getRuntimeSignal(s);return u(n({},e),{runtime:r??e.runtime})}));rowsViewFiltered=c(()=>{let t=this.keyword().trim().toLowerCase(),e=this.rowsView();return t?e.filter(s=>s.spec.name?.toLowerCase().includes(t)):e});selectedRow=c(()=>{let t=this.selectedTaskId();return this.rowsView().find(e=>e.spec.id===t)??null});selectedRuntimeStatus=c(()=>{let t=this.selectedTaskId();return t?this.getRuntime(t):{status:"idle"}});isRunning=c(()=>this.selectedRuntimeStatus().status==="running");isStopping=c(()=>this.selectedRuntimeStatus().status==="stopping");isStopped=c(()=>{let t=this.selectedRuntimeStatus().status;return t==="idle"||t==="stopped"||t==="failed"||t==="success"});constructor(){j(t=>{let e=this.selectedTaskId();if(!e)return;this.stream.ensureConnected(),this.stream.subscribeTask(e,200);let s=this.runtimeStore.status$(e).subscribe();t(()=>{s.unsubscribe(),this.stream.unsubscribeTask(e)})})}getRuntime(t){return this.runtimeStore.statusSignal(t)()}getRuntimeSignal(t){return this.runtimeStore.runtimeSignal(t)()}async setProject(t){let e=t?.trim();if(!e||this.projectId()===e)return;this.projectId.set(e),this.selectedTaskId.set(""),this.keyword.set(""),await this.catalog.ensureLoaded(e);let s=this.rows()[0];s&&this.select(s.spec.id)}refresh(){let t=this.projectId();t&&(this.loading.set(!0),this.api.refresh(t).subscribe({next:e=>{this.catalog.setRows(t,e??[]),this.loading.set(!1)},error:e=>{this.loading.set(!1)}}))}select(t){this.selectedTaskId.set(t)}toggleTask(){this.isRunning()?this.stopSelected():this.isStopped()&&this.startSelected()}startSelected(t){t=t?.trim()||this.selectedRow()?.spec?.id,t&&this.api.start(t).subscribe()}stopSelected(t){if(t=t?.trim()||this.selectedTaskId(),!t)return;let e=this.getRuntimeSignal(t);e&&this.runtimeStore.setRuntime(u(n({},e),{status:"stopping"})),this.api.stop(t).subscribe({next:()=>{},error:()=>{e&&e.status==="running"&&this.runtimeStore.setRuntime(e)}})}rowsViewOf(t){return c(()=>{let e=t?.trim();return e?this.catalog.rowsOf(e)().map(r=>{let d=r.spec.id,i=this.getRuntime(d);return u(n({},r),{runtime:u(n({},r.runtime??{}),{status:i.status})})}):[]})}ensureProjectLoaded(t){return this.catalog.ensureLoaded(t)}static \u0275fac=function(e){return new(e||p)};static \u0275prov=g({token:p,factory:p.\u0275fac,providedIn:"root"})};export{y as a,P as b};
@@ -1 +0,0 @@
1
- import{a as A,b as B}from"./chunk-IZNTCWTR.js";import{M as T,N as y,T as k,U as b,V as x,W as S,Y as E,Z as v}from"./chunk-5EQOKH7G.js";import{Eb as C,Ic as r,Vb as g,Xb as _,bc as i,cc as o,dc as s,kc as c,mb as z,qc as l,rb as d,tc as f,xa as m,ya as u}from"./chunk-SJG2JCPL.js";function N(n,p){if(n&1){let t=c();i(0,"button",3),l("click",function(){m(t);let a=f();return u(a.toggle.emit())}),s(1,"span",4),r(2," \u8FD0\u884C "),o()}}function F(n,p){n&1&&(i(0,"button",1),s(1,"span",5),r(2," \u505C\u6B62\u4E2D... "),o())}function w(n,p){if(n&1){let t=c();i(0,"button",6),l("nzOnConfirm",function(){m(t);let a=f();return u(a.stopTask())}),s(1,"span",7),r(2," \u505C\u6B62 "),o()}}var D=class n{isRunning=!1;isStopping=!1;isStopped=!1;toggle=new d;stopTask(){this.toggle.emit()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=C({type:n,selectors:[["app-task-actions"]],inputs:{isRunning:"isRunning",isStopping:"isStopping",isStopped:"isStopped"},outputs:{toggle:"toggle"},decls:4,vars:1,consts:[["nz-button","","nzType","primary"],["nz-button","","nzType","primary","nzDanger",""],["nz-button","","nzType","primary","nzDanger","","nz-popconfirm","","nzPopconfirmTitle","\u786E\u5B9A\u8981\u505C\u6B62\u8BE5\u4EFB\u52A1\u5417\uFF1F"],["nz-button","","nzType","primary",3,"click"],["nz-icon","","nzType","play-circle"],["nz-icon","","nzType","loading"],["nz-button","","nzType","primary","nzDanger","","nz-popconfirm","","nzPopconfirmTitle","\u786E\u5B9A\u8981\u505C\u6B62\u8BE5\u4EFB\u52A1\u5417\uFF1F",3,"nzOnConfirm"],["nz-icon","","nzType","pause"]],template:function(t,e){t&1&&(i(0,"nz-space"),g(1,N,3,0,"button",0)(2,F,3,0,"button",1)(3,w,3,0,"button",2),o()),t&2&&(z(),_(e.isStopped?1:e.isStopping?2:e.isRunning?3:-1))},dependencies:[b,k,v,E,x,S,y,T,B,A],styles:["[_nghost-%COMP%]{padding:0 16px;display:flex;flex-direction:row;align-items:center;position:relative}"]})};export{D as a};
@@ -1,34 +0,0 @@
1
- import{a as bn,b as xn,c as wn,d as Sn,e as Pn,f as R}from"./chunk-AI6SNMEH.js";import{a as on,b as rn,c as an}from"./chunk-42JVTVYH.js";import{a as Nn,b as Tn,c as On}from"./chunk-DP3VTELD.js";import"./chunk-HZ73CM45.js";import{a as yn,b as be}from"./chunk-6JH45SUC.js";import{a as zn,b as Mn}from"./chunk-KPO75P5E.js";import{b as Me}from"./chunk-SNCDDYQR.js";import{A as Cn,B as ze,C as _n,D as vn,I as te,a as qt,b as Jt,j as Z,k as dn,l as Q,m as un,n as fn,o as A,p as K,q as ve,r as ye,s as ee,y as gn,z as hn}from"./chunk-2P5WKSWB.js";import{A as Zt,Ab as sn,Cb as cn,Db as pn,Eb as mn,Hb as Ce,Jb as _e,L as Qt,M as S,N as b,O as Kt,P as en,T as tn,U as nn,V as F,W as ue,Y as k,Z as B,a as Yt,kb as ln,mb as fe,qb as ge,x as Xt,xb as he,z as Ue}from"./chunk-5EQOKH7G.js";import"./chunk-HFZLJHYR.js";import{A as X,B as Gt,C as D,e as me,h as Ft,i as kt,j as L,k as Bt,m as At,n as Rt,s as Vt,t as Wt,v as Ht,w as de,x as Ut,y as $t,z as G}from"./chunk-X3HFJACM.js";import{$b as j,$c as He,Aa as ae,Ba as st,Bc as wt,Ca as ct,Cc as St,Dc as T,Eb as _,Fa as pt,Fb as yt,Fc as I,Ha as M,Ia as mt,Ic as m,Jc as N,Kb as P,Kc as $,M as q,Mc as Pt,Nc as Nt,Oc as Tt,Pb as zt,Ra as dt,Tb as Mt,Ub as bt,Uc as Ot,Vb as v,Vc as pe,Wc as Ve,Xa as ut,Xb as y,Zb as xt,Zc as oe,_b as E,_c as We,ac as d,ad as J,bc as r,ca as tt,cc as l,cd as Dt,dc as p,fd as O,gd as ie,hc as H,ic as U,ja as nt,jc as Re,kb as ft,kc as z,la as ot,ma as w,mb as s,md as Et,na as it,pa as rt,pd as jt,qa as re,qb as gt,qc as C,ra as f,rd as It,sa as at,sb as ht,ta as lt,tc as c,uc as se,vc as ce,vd as Lt,wb as Ct,xa as g,xb as _t,ya as h,yb as le,z as et,zb as vt}from"./chunk-SJG2JCPL.js";function Jn(t){let n=t;return 5}var Dn=["zh",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"]],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CNY:["\xA5"],ILR:["ILS"],JPY:["JP\xA5","\xA5"],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",Jn];var Xn="@",Zn=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=f(ae);loadingSchedulerFn=f(Qn,{optional:!0});_engine;constructor(e,o,i,a,u){this.doc=e,this.delegate=o,this.zone=i,this.animationType=a,this.moduleImpl=u}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-HEKO7RQP.js").then(i=>i),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(i=>{throw new nt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:a})=>{this._engine=i(this.animationType,this.doc);let u=new a(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,o){let i=this.delegate.createRenderer(e,o);if(i.\u0275type===0)return i;typeof i.throwOnSyntheticProps=="boolean"&&(i.throwOnSyntheticProps=!1);let a=new $e(i);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let W=u.createRenderer(e,o);a.use(W),this.scheduler??=this.injector.get(mt,null,{optional:!0}),this.scheduler?.notify(10)}).catch(u=>{a.use(i)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(o){vt()};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),$e=class{delegate;replay=[];\u0275type=1;constructor(n){this.delegate=n}use(n){if(this.delegate=n,this.replay!==null){for(let e of this.replay)e(n);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}get destroyNode(){return this.delegate.destroyNode}appendChild(n,e){this.delegate.appendChild(n,e)}insertBefore(n,e,o,i){this.delegate.insertBefore(n,e,o,i)}removeChild(n,e,o,i){this.delegate.removeChild(n,e,o,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,o,i){this.delegate.setAttribute(n,e,o,i)}removeAttribute(n,e,o){this.delegate.removeAttribute(n,e,o)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,o,i){this.delegate.setStyle(n,e,o,i)}removeStyle(n,e,o){this.delegate.removeStyle(n,e,o)}setProperty(n,e,o){this.shouldReplay(e)&&this.replay.push(i=>i.setProperty(n,e,o)),this.delegate.setProperty(n,e,o)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,o,i){return this.shouldReplay(e)&&this.replay.push(a=>a.listen(n,e,o,i)),this.delegate.listen(n,e,o,i)}shouldReplay(n){return this.replay!==null&&n.startsWith(Xn)}},Qn=new rt("");function En(t="animations"){return gt("NgAsyncAnimations"),at([{provide:Ct,useFactory:(n,e,o)=>new Zn(n,e,o,t),deps:[st,At,ht]},{provide:ut,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var xe=class t{currentTheme="default";constructor(){}reverseTheme(n){return n==="dark"?"default":"dark"}removeUnusedTheme(n){document.documentElement.classList.remove(n);let e=document.getElementById(n);e&&document.head.removeChild(e)}loadCss(n,e){return new Promise((o,i)=>{let a=document.createElement("link");a.rel="stylesheet",a.href=n,a.id=e,a.onload=o,a.onerror=i,document.head.append(a)})}loadTheme(n=!0){let e=this.currentTheme;return n&&document.documentElement.classList.add(e),new Promise((o,i)=>{this.loadCss(`${e}.css`,e).then(a=>{n||document.documentElement.classList.add(e),this.removeUnusedTheme(this.reverseTheme(e)),o(a)},a=>i(a))})}toggleTheme(){return this.currentTheme=this.reverseTheme(this.currentTheme),this.loadTheme(!1)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var jn={provide:zt,useFactory:t=>()=>t.loadTheme(),deps:[xe],multi:!0};var In=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadChildren:()=>import("./chunk-4UAHOL42.js").then(t=>t.DashboardModule)},{path:"tasks",loadChildren:()=>import("./chunk-5DD65JMJ.js").then(t=>t.TasksModule)},{path:"projects",loadChildren:()=>import("./chunk-4IQIZX7Y.js").then(t=>t.ProjectsModule)},{path:"settings",loadChildren:()=>import("./chunk-HJC5MNP5.js").then(t=>t.SettingModule)},{path:"configuration",loadChildren:()=>import("./chunk-3V5PIKHE.js").then(t=>t.ConfigurationModule)},{path:"dependencies",loadChildren:()=>import("./chunk-3MBM5AMR.js").then(t=>t.DependenciesModule)},{path:"rquest",loadChildren:()=>import("./chunk-AMXCOT2F.js").then(t=>t.ApiClientModule)},{path:"sprite",loadChildren:()=>import("./chunk-LWBZC6ZL.js").then(t=>t.SpriteModule)},{path:"about",loadChildren:()=>import("./chunk-KN3WZJH7.js").then(t=>t.AboutRoutingModule)},{path:"**",redirectTo:"dashboard"}];Bt(Dn);var Ln={providers:[jn,pt(),Dt(),Gt(In),Jt(qt),En(),lt(ze),Vt(Wt([On]))]};var Ge=["*"];function Kn(t,n){}function eo(t,n){if(t&1&&(r(0,"span",1),P(1,Kn,0,0,"ng-template",2),p(2,"nz-icon",3),l()),t&2){let e=c(),o=T(4);d("nzDropdownMenu",e.nzOverlay),s(),d("ngTemplateOutlet",o)}}function to(t,n){}function no(t,n){if(t&1&&P(0,to,0,0,"ng-template",2),t&2){c();let e=T(4);d("ngTemplateOutlet",e)}}function oo(t,n){if(t&1&&(H(0),m(1),U()),t&2){let e=c(2);s(),$(" ",e.nzBreadCrumbComponent.nzSeparator," ")}}function io(t,n){if(t&1&&(r(0,"nz-breadcrumb-separator"),P(1,oo,2,1,"ng-container",4),l()),t&2){let e=c();s(),d("nzStringTemplateOutlet",e.nzBreadCrumbComponent.nzSeparator)}}function ro(t,n){t&1&&(r(0,"span",5),ce(1),l())}var ao=(t,n)=>n.url;function lo(t,n){if(t&1){let e=z();r(0,"nz-breadcrumb-item")(1,"a",0),C("click",function(i){let a=g(e).$implicit,u=c(2);return h(u.navigate(a.url,i))}),m(2),l()()}if(t&2){let e=n.$implicit;s(),Mt("href",e.url,ft),s(),N(e.label)}}function so(t,n){if(t&1&&E(0,lo,3,2,"nz-breadcrumb-item",null,ao),t&2){let e=c();j(e.breadcrumbs)}}var we=class{},co=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275cmp=_({type:t,selectors:[["nz-breadcrumb-separator"]],hostAttrs:[1,"ant-breadcrumb-separator"],exportAs:["nzBreadcrumbSeparator"],ngContentSelectors:Ge,decls:1,vars:0,template:function(o,i){o&1&&(se(),ce(0))},encapsulation:2})}return t})(),kn=(()=>{class t{nzBreadCrumbComponent=f(we);nzOverlay;static \u0275fac=function(o){return new(o||t)};static \u0275cmp=_({type:t,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:Ge,decls:5,vars:2,consts:[["noMenuTpl",""],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nzType","down"],[4,"nzStringTemplateOutlet"],[1,"ant-breadcrumb-link"]],template:function(o,i){o&1&&(se(),v(0,eo,3,2,"span",1)(1,no,1,1,null,2),v(2,io,2,1,"nz-breadcrumb-separator"),P(3,ro,2,0,"ng-template",null,0,J)),o&2&&(y(i.nzOverlay?0:1),s(2),y(i.nzBreadCrumbComponent.nzSeparator?2:-1))},dependencies:[me,co,ee,K,b,S,en,Kt],encapsulation:2,changeDetection:0})}return t})(),po=(()=>{class t{injector=f(ae);cdr=f(It);elementRef=f(dt);renderer=f(_t);directionality=f(Xt);destroyRef=f(ct);nzAutoGenerate=!1;nzSeparator="/";nzRouteLabel="breadcrumb";nzRouteLabelFn=e=>e;nzRouteFn=e=>e;breadcrumbs=[];dir="ltr";ngOnInit(){this.nzAutoGenerate&&this.registerRouterChange(),this.directionality.change?.pipe(Ue(this.destroyRef)).subscribe(e=>{this.dir=e,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}navigate(e,o){o.preventDefault(),this.injector.get(G).navigateByUrl(e)}registerRouterChange(){try{let e=this.injector.get(G),o=this.injector.get(Ut);e.events.pipe(q(i=>i instanceof de),Ue(this.destroyRef),tt(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(o.root),this.cdr.markForCheck()})}catch{throw new Error(`${Yt} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(e,o="",i=[]){let a=e.children;if(a.length===0)return i;for(let u of a)if(u.outlet===Ht){let W=u.snapshot.url.map(ne=>ne.path).filter(ne=>ne).join("/"),Qe=W?`${o}/${W}`:o,Ke=this.nzRouteLabelFn(u.snapshot.data[this.nzRouteLabel]),qn=this.nzRouteFn(Qe);if(W&&Ke){let ne={label:Ke,params:u.snapshot.params,url:qn};i.push(ne)}return this.getBreadcrumbs(u,Qe,i)}return i}prepareComponentForRtl(){this.dir==="rtl"?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=_({type:t,selectors:[["nz-breadcrumb"]],hostAttrs:[1,"ant-breadcrumb"],inputs:{nzAutoGenerate:[2,"nzAutoGenerate","nzAutoGenerate",Lt],nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn",nzRouteFn:"nzRouteFn"},exportAs:["nzBreadcrumb"],features:[Ot([{provide:we,useExisting:ot(()=>t)}])],ngContentSelectors:Ge,decls:2,vars:1,consts:[[3,"click"]],template:function(o,i){o&1&&(se(),ce(0),v(1,so,2,0)),o&2&&(s(),y(i.nzAutoGenerate&&i.breadcrumbs.length?1:-1))},dependencies:[kn],encapsulation:2,changeDetection:0})}return t})(),Bn=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=yt({type:t});static \u0275inj=it({imports:[po,kn]})}return t})();function mo(t){return t.op==="syslog.tail"}function uo(t){return t.op==="syslog.append"}function Ye(t,n){return n?!(n.scope!==void 0&&t?.scope!==n.scope||n.level!==void 0&&t?.level!==n.level||n.source!==void 0&&t?.source!==n.source||n.refId!==void 0&&t?.refId!==n.refId):!0}var Se=class t{constructor(n){this.ws=n;this.msgSub=this.ws.messages().pipe(q(e=>mo(e)||uo(e))).subscribe(e=>this.onWsMessage(e)),this.wsStateSub=this.ws.stateChanges().subscribe(e=>{let o=this.lastWsState==="open",i=e==="open";!o&&i&&(this.subSentForCurrentConnection=!1,this.sendSubIfNeeded()),o&&!i&&(this.subSentForCurrentConnection=!1),this.lastWsState=e})}msgSub;wsStateSub;enabled=M(!1);filter=M({});logs=M([]);unread=M(0);drawerOpen=M(!1);capacity=2e3;tail=300;subSentForCurrentConnection=!1;lastWsState="idle";setDrawerOpen(n){this.drawerOpen.set(n),n&&this.unread.set(0)}setFilter(n){this.filter.set(n??{});let e=this.logs();if(!e.length)return;let o=e.filter(i=>Ye(i,this.filter()));this.logs.set(o.slice(-this.capacity))}enable(n=300){let e=Math.max(0,Math.min(5e3,n|0));if(this.tail=e,this.enabled()){this.ws.isOpen()&&(this.subSentForCurrentConnection=!1,this.sendSubIfNeeded());return}this.enabled.set(!0),this.ws.connect(),this.sendSubIfNeeded()}disable(){this.enabled.set(!1),this.subSentForCurrentConnection=!1}markRead(){this.unread.set(0)}clear(){this.logs.set([]),this.unread.set(0)}sendSubIfNeeded(){this.enabled()&&this.ws.isOpen()&&(this.subSentForCurrentConnection||(this.ws.send({op:"sub",topic:"syslog",tail:this.tail}),this.subSentForCurrentConnection=!0))}onWsMessage(n){let e=this.filter();if(n.op==="syslog.tail"){let u=(n.entries??[]).filter(W=>Ye(W,e));this.logs.set(u.slice(-this.capacity));return}let o=n.entry;if(!Ye(o,e))return;let i=this.logs(),a=i.length>=this.capacity?i.slice(1):i.slice();a.push(o),this.logs.set(a),this.drawerOpen()||this.unread.set(this.unread()+1)}static \u0275fac=function(e){return new(e||t)(re(Me))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var go=["logBox"],ho=()=>({padding:"0px",overflow:"hidden"});function Co(t,n){if(t&1&&(r(0,"nz-tag",12),m(1),oe(2,"uppercase"),l(),r(3,"div",13),m(4),l(),r(5,"div",14),m(6),oe(7,"date"),l()),t&2){let e,o,i,a,u=c();d("nzColor",u.getColor((e=u.lastLine())==null?null:e.level)),s(),$(" ",We(2,4,(o=u.lastLine())==null?null:o.level)," "),s(3),N((i=u.lastLine())==null?null:i.text),s(2),N(He(7,6,(a=u.lastLine())==null?null:a.ts,"yyyy-MM-dd HH:mm:ss"))}}function _o(t,n){t&1&&(r(0,"nz-tag",15),m(1,"INFO"),l(),r(2,"div",13),m(3,"\u6682\u65E0\u65E5\u5FD7"),l(),r(4,"div",14),m(5,"--"),l())}function vo(t,n){if(t&1&&m(0),t&2){let e=c().$implicit;$(" ",e.data==null?null:e.data.icon," ")}}function yo(t,n){if(t&1&&(r(0,"div",18)(1,"nz-tag",12),m(2),oe(3,"uppercase"),l(),r(4,"span",14),m(5),oe(6,"date"),l(),r(7,"span",19),v(8,vo,1,1),m(9),l()()),t&2){let e=n.$implicit,o=c(2);I("err",e.level==="error")("warn",e.level==="warn")("info",e.level==="info")("debug",e.level==="debug")("success",e.level==="success"),s(),d("nzColor",o.getColor(e.level)),s(),$(" ",We(3,15,e.level)," "),s(3),N(He(6,17,e.ts,"yyyy-MM-dd HH:mm:ss")),s(3),y(e.data!=null&&e.data.icon?8:-1),s(),$(" ",e.text," ")}}function zo(t,n){if(t&1&&(H(0),r(1,"div",16,1),E(3,yo,10,20,"div",17,bt().trackByLine,!0),l(),U()),t&2){let e=c();s(3),j(e.lines())}}function Mo(t,n){if(t&1){let e=z();r(0,"nz-space",20)(1,"button",21),C("click",function(){g(e);let i=c();return h(i.clearLog())}),p(2,"nz-icon",22),l(),r(3,"button",23),C("click",function(){g(e);let i=c();return h(i.toBottom())}),p(4,"nz-icon",24),l()()}}var Pe=class t{sysLogStream=f(Se);projectState=f(te);logBox=Et("logBox");autoFollow=M(!0);isOpen=M(!1);curProjectPath=O(()=>this.projectState.currentProject()?.root||"");lines=O(()=>this.sysLogStream.logs());lastLine=O(()=>{let n=this.sysLogStream.logs();return n.length?n[n.length-1]:null});unread=O(()=>this.sysLogStream.unread());constructor(){ie(()=>{this.sysLogStream.setDrawerOpen(this.isOpen()),this.isOpen()&&queueMicrotask(()=>this.toBottom())}),ie(()=>{this.lines(),this.isOpen()&&this.autoFollow()&&queueMicrotask(()=>this.toBottom())})}ngOnInit(){this.sysLogStream.enable(300)}openLog(){this.isOpen.set(!0)}closeLog(){this.isOpen.set(!1)}clearLog(){this.sysLogStream.clear()}toBottom(){let n=this.logBox()?.nativeElement;n&&(n.scrollTop=n.scrollHeight)}trackByLine=(n,e)=>`${e.ts}-${e.refId??""}-${e.text}`;getColor(n){if(!n)return"#000000";switch(n){case"success":return"#22c55e";case"info":return"#18bdfd";case"debug":return"#94a3b8";case"error":return"#ef4444";case"warn":return"#f59e0b";default:return"#000000"}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["app-system-log"]],viewQuery:function(e,o){e&1&&wt(o.logBox,go,5),e&2&&St()},decls:16,vars:10,consts:[["extra",""],["logBox",""],[1,"status-bar"],[1,"project-path"],["nz-button","","nzType","text","routerLink","/projects","nz-tooltip","\u9879\u76EE\u7BA1\u7406","nzTooltipPlacement","top",1,"home"],["nzType","home","nzTheme","outline",1,"icon"],["nz-button","","nzType","text","nzTooltipPlacement","top",1,"path",3,"nz-tooltip"],["nzType","folder","nzTheme","outline",1,"icon"],["nz-tooltip","\u6253\u5F00\u65E5\u5FD7",1,"last-log",3,"click"],["nzType","profile","nzTheme","outline",1,"icon"],["nzTitle","\u65E5\u5FD7","nzPlacement","bottom",3,"nzOnClose","nzVisible","nzMaskClosable","nzMask","nzExtra","nzHeight","nzBodyStyle"],[4,"nzDrawerContent"],[1,"level-tag",3,"nzColor"],[1,"info"],[1,"time"],["nzColor","default"],[1,"log"],[1,"line",3,"err","warn","info","debug","success"],[1,"line"],[1,"msg"],["nzAlign","center"],["nz-button","","nzType","text","nz-tooltip","\u6E05\u7A7A\u65E5\u5FD7",3,"click"],["nzType","clear","nzTheme","outline"],["nz-button","","nzType","text","nz-tooltip","\u6EDA\u52A8\u5230\u5E95\u90E8",3,"click"],["nzType","vertical-align-bottom","nzTheme","outline"]],template:function(e,o){if(e&1){let i=z();r(0,"div",2)(1,"div",3)(2,"a",4),p(3,"nz-icon",5),l(),r(4,"button",6),p(5,"nz-icon",7),r(6,"span"),m(7),l()()(),r(8,"div",8),C("click",function(){return g(i),h(o.openLog())}),p(9,"nz-icon",9),v(10,Co,8,9)(11,_o,6,0),l()(),r(12,"nz-drawer",10),C("nzOnClose",function(){return g(i),h(o.closeLog())}),P(13,zo,5,0,"ng-container",11),l(),P(14,Mo,5,0,"ng-template",null,0,J)}if(e&2){let i=T(15);s(4),d("nz-tooltip",o.curProjectPath()),s(3),N(o.curProjectPath()),s(3),y(o.lastLine()?10:11),s(2),d("nzVisible",o.isOpen())("nzMaskClosable",!1)("nzMask",!1)("nzExtra",i)("nzHeight",300)("nzBodyStyle",pe(9,ho))}},dependencies:[L,Tn,Nn,an,rn,on,B,k,F,nn,tn,b,S,_e,Ce,D,X,Ft,kt],styles:["[_nghost-%COMP%]{display:block;position:relative;z-index:3;flex:0 0 auto}.status-bar[_ngcontent-%COMP%]{height:32px;display:flex;align-items:center;width:100%;-webkit-user-select:none;user-select:none}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;padding:0 8px;gap:4px}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .home[_ngcontent-%COMP%], .status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0;max-width:360px}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .home[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .path[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .home[_ngcontent-%COMP%]{justify-content:center}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{min-width:240px;justify-content:flex-start}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%]{cursor:pointer;flex:1;display:flex;align-items:center;padding:0 12px;gap:8px;width:0}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{flex:0 0 auto;opacity:.75;font-size:14px}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%]:hover{background:#f5f7fa}.icon[_ngcontent-%COMP%]{margin-right:8px;font-size:18px;display:inline-flex}.log[_ngcontent-%COMP%]{height:100%;overflow:auto;padding:8px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;line-height:18px}.line[_ngcontent-%COMP%]{display:flex;gap:12px;padding:2px 0;align-items:center}.line[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{flex:0 0 auto;opacity:.65;font-variant-numeric:tabular-nums}.line[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.line.err[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{font-weight:600}.line.warn[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{font-weight:500}.level-tag[_ngcontent-%COMP%]{font-size:12px;padding:0 4px;line-height:1.5;display:inline-flex;align-items:center;justify-content:center;min-width:58px;border-radius:4px}"],changeDetection:0})};var Ne=class t{static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["ngm-footer"]],decls:2,vars:0,template:function(e,o){e&1&&(r(0,"nz-footer"),p(1,"app-system-log"),l())},dependencies:[R,xn,Pe],styles:["nz-footer[_ngcontent-%COMP%]{padding:0;align-items:center;display:flex}app-system-log[_ngcontent-%COMP%]{width:100%}"]})};var Te=class t{static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["ngm-header"]],decls:4,vars:0,consts:[[1,"app-header"],["nzType","disconnect","nzTheme","outline"]],template:function(e,o){e&1&&(r(0,"nz-header",0),p(1,"nz-icon",1),r(2,"span"),m(3,"\u8FDE\u63A5\u5DF2\u65AD\u5F00"),l()())},dependencies:[L,R,wn,b,S],styles:["nz-header.app-header[_ngcontent-%COMP%]{padding:0;width:100%;position:relative;height:48px;line-height:48px;background:var(--header-error-background);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;gap:8px}"],changeDetection:0})};var Oe=class t{isCollapsed=M(!1);static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var De=class t{currentMenu=M(null);router=f(G);menus=[{title:"\u4EEA\u8868\u76D8",path:"/dashboard",icon:"dashboard",level:1},{title:"\u4F9D\u8D56",path:"/dependencies",icon:"codepen",level:1},{title:"\u4EFB\u52A1",path:"/tasks",icon:"schedule",level:1,taskCountBadge:!0},{title:"\u914D\u7F6E",path:"/configuration",icon:"setting",level:1},{title:"API",path:"/rquest",icon:"api",level:1},{title:"\u96EA\u78A7\u56FE",path:"/sprite",icon:"smile",level:1}];constructor(){this.syncByUrl(this.router.url),this.router.events.pipe(q(n=>n instanceof de)).subscribe(n=>this.syncByUrl(n.urlAfterRedirects))}isActive(n){return this.router.isActive(n,{paths:"subset",queryParams:"ignored",fragment:"ignored",matrixParams:"ignored"})}getMenus(){return this.menus}clickMenu(n){n.path&&this.router.navigateByUrl(n.path),this.currentMenu.set(n)}syncByUrl(n){let e=this.normalizeUrl(n),o=this.findBestMatch(this.menus,e);this.currentMenu.set(o)}normalizeUrl(n){return n.split("?")[0].split("#")[0]}findBestMatch(n,e){let o=this.flatten(n).filter(a=>!!a.path),i=null;for(let a of o){let u=a.path;(e===u||e.startsWith(u+"/"))&&(!i||u.length>i.path.length)&&(i=a)}return i}flatten(n){let e=[];for(let o of n)e.push(o),o.children?.length&&e.push(...this.flatten(o.children));return e}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ee=class t{api=f(yn);runtimeStore=f(be);async initActiveSnapshot(){let n=await et(this.api.active());for(let e of n??[])this.runtimeStore.setRuntime(e)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var Rn=t=>({$implicit:t});function bo(t,n){t&1&&Re(0)}function xo(t,n){if(t&1&&p(0,"nz-icon",6),t&2){let e=c(2).$implicit;d("nzType",e.icon)}}function wo(t,n){t&1&&p(0,"nz-badge",7)}function So(t,n){if(t&1){let e=z();r(0,"li",5),C("click",function(){g(e);let i=c().$implicit,a=c(2);return h(a.menuService.clickMenu(i))}),v(1,xo,1,1,"nz-icon",6),r(2,"span"),m(3),l(),v(4,wo,1,0,"nz-badge",7),l()}if(t&2){let e=c().$implicit,o=c(2);d("nzPaddingLeft",e.level*24)("nzDisabled",e.disabled)("nzSelected",o.menuService.isActive(e.path))("nz-tooltip",e.taskCountBadge===!0&&o.runningTaskCount()>0?o.runningTaskCount()+"\u4E2A\u4EFB\u52A1\u6B63\u5728\u8FD0\u884C":null),s(),y(e.icon?1:-1),s(2),N(e.title),s(),y(e.taskCountBadge===!0&&o.runningTaskCount()>0?4:-1)}}function Po(t,n){t&1&&Re(0)}function No(t,n){if(t&1&&(r(0,"li",4)(1,"ul"),P(2,Po,1,0,"ng-container",2),l()()),t&2){let e=c().$implicit;c(2);let o=T(3);d("nzPaddingLeft",e.level*24)("nzOpen",e.open)("nzTitle",e.title)("nzIcon",e.icon)("nzDisabled",e.disabled),s(2),d("ngTemplateOutlet",o)("ngTemplateOutletContext",Ve(7,Rn,e.children))}}function To(t,n){if(t&1&&v(0,So,5,7,"li",3)(1,No,3,9,"li",4),t&2){let e=n.$implicit;y(e.children?1:0)}}function Oo(t,n){if(t&1&&E(0,To,2,1,null,null,xt),t&2){let e=n.$implicit;j(e)}}var je=class t{isCollapsed=!1;menus=[];menuService=f(De);taskBootstrap=f(Ee);runtimeStore=f(be);runningTaskCount=O(()=>this.runtimeStore.totalRunningCountSignal()());ngOnInit(){this.menus=this.menuService.getMenus(),this.taskBootstrap.initActiveSnapshot()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["ngm-menu"]],inputs:{isCollapsed:"isCollapsed"},decls:4,vars:5,consts:[["menuTpl",""],["nz-menu","","nzMode","inline",3,"nzInlineCollapsed"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-menu-item","","nzTooltipPlacement","right",3,"nzPaddingLeft","nzDisabled","nzSelected","nz-tooltip"],["nz-submenu","",3,"nzPaddingLeft","nzOpen","nzTitle","nzIcon","nzDisabled"],["nz-menu-item","","nzTooltipPlacement","right",3,"click","nzPaddingLeft","nzDisabled","nzSelected","nz-tooltip"],["nzTheme","outline",2,"font-size","18px",3,"nzType"],["nzStatus","processing",2,"margin-left","12px"]],template:function(e,o){if(e&1&&(r(0,"ul",1),P(1,bo,1,0,"ng-container",2)(2,Oo,2,0,"ng-template",null,0,J),l()),e&2){let i=T(3);d("nzInlineCollapsed",o.isCollapsed),s(),d("ngTemplateOutlet",i)("ngTemplateOutletContext",Ve(3,Rn,o.menus))}},dependencies:[me,A,Q,Z,dn,b,S,D,_e,Ce,Mn,zn],encapsulation:2})};function jo(t,n){if(t&1){let e=z();r(0,"div",3)(1,"label",4),m(2,"\u540D\u79F0"),l(),r(3,"nz-input-wrapper")(4,"input",5),C("ngModelChange",function(i){g(e);let a=c(2);return h(a.projectState.editingProject().name=i)})("keydown.enter",function(){g(e);let i=c(2);return h(i.projectState.confirmEditProject())}),l(),p(5,"nz-icon",6),l(),r(6,"div",7),m(7,"\u8F93\u5165\u65B0\u540D\u79F0\uFF0C\u5C06\u540C\u6B65\u66F4\u65B0\u9879\u76EE\u663E\u793A\u540D\u79F0\uFF08\u4E0D\u4F1A\u91CD\u547D\u540D\u78C1\u76D8\u76EE\u5F55\uFF09\u3002"),l(),r(8,"label",4),m(9,"Git\u4ED3\u5E93\u5730\u5740"),l(),r(10,"nz-input-wrapper")(11,"input",8),C("ngModelChange",function(i){g(e);let a=c(2);return h(a.projectState.editingProject().repoPageUrl=i)}),l(),p(12,"nz-icon",9),l(),r(13,"label",4),m(14,"\u63CF\u8FF0"),l(),r(15,"nz-input-wrapper")(16,"textarea",10),C("ngModelChange",function(i){g(e);let a=c(2);return h(a.projectState.editingProject().description=i)})("keydown.enter",function(){g(e);let i=c(2);return h(i.projectState.confirmEditProject())}),l()()()}if(t&2){let e=c(2);s(4),d("ngModel",e.editingProject().name),s(7),d("ngModel",e.editingProject().repoPageUrl),s(5),d("ngModel",e.editingProject().description)}}function Io(t,n){if(t&1&&(H(0),v(1,jo,17,3,"div",3),U()),t&2){let e=c();s(),y(e.editingProject()?1:-1)}}function Lo(t,n){if(t&1){let e=z();H(0),r(1,"button",11),C("click",function(){g(e);let i=c();return h(i.projectState.closeEditModal())}),m(2,"\u53D6\u6D88"),l(),r(3,"button",12),C("click",function(){g(e);let i=c();return h(i.projectState.confirmEditProject())}),m(4," \u786E\u5B9A "),l(),U()}if(t&2){let e,o=c();s(3),d("disabled",!(!((e=o.projectState.editingProject())==null||e.name==null)&&e.name.trim())||o.projectState.isEditSaving())("nzLoading",o.projectState.isEditSaving())}}var Ie=class t{projectState=f(te);editingProject=this.projectState.editingProject;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["app-project-edit-modal"]],decls:3,vars:3,consts:[["nzTitle","\u7F16\u8F91\u9879\u76EE",3,"nzOnCancel","nzClosable","nzMaskClosable","nzVisible"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"modal-body"],[1,"label"],["nz-input","","placeholder","\u8BF7\u8F93\u5165\u65B0\u540D\u79F0","autofocus","",3,"ngModelChange","keydown.enter","ngModel"],["nzInputPrefix","","nzType","folder","nzTheme","fill"],[1,"hint"],["nz-input","","placeholder","Git\u4ED3\u5E93\u5730\u5740",3,"ngModelChange","ngModel"],["nzInputPrefix","","nzType","github","nzTheme","outline"],["nz-input","","rows","3","placeholder","\u8BF7\u8F93\u5165\u65B0\u63CF\u8FF0",2,"resize","none",3,"ngModelChange","keydown.enter","ngModel"],["nz-button","",3,"click"],["nz-button","","nzType","primary",3,"click","disabled","nzLoading"]],template:function(e,o){e&1&&(r(0,"nz-modal",0),C("nzOnCancel",function(){return o.projectState.closeEditModal()}),P(1,Io,2,1,"ng-container",1)(2,Lo,5,2,"ng-container",2),l()),e&2&&d("nzClosable",!1)("nzMaskClosable",!1)("nzVisible",o.projectState.isEditModalVisible())},dependencies:[L,he,ln,fe,ge,mn,cn,pn,sn,B,k,F,ue,ze,Cn,hn,gn,b,S],styles:[".modal-body[_ngcontent-%COMP%]{display:grid;gap:12px}.hint[_ngcontent-%COMP%]{font-size:12px;opacity:.75}"]})};var Fo=()=>({width:"100%"}),Vn=(t,n)=>n.id;function ko(t,n){t&1&&p(0,"nz-icon",2)}function Bo(t,n){if(t&1){let e=z();r(0,"li",7),p(1,"nz-icon",11),r(2,"span"),m(3,"\u6DFB\u52A0/\u53D6\u6D88\u6536\u85CF"),l(),r(4,"nz-switch",12),C("ngModelChange",function(){let i;g(e);let a=c();return h(a.projectState.toggleFavorite((i=a.projectState.currentProject())==null?null:i.id))}),l()(),r(5,"li",13),C("click",function(){let i;g(e);let a=c();return h(a.projectState.openInEditor((i=a.projectState.currentProject())==null?null:i.id))}),p(6,"nz-icon",14),r(7,"span"),m(8,"\u5728\u7F16\u8F91\u5668\u4E2D\u6253\u5F00"),l()(),r(9,"li",13),C("click",function(){g(e);let i=c();return h(i.projectState.openEditModal(i.projectState.currentProject()))}),p(10,"nz-icon",15),r(11,"span"),m(12,"\u7F16\u8F91\u9879\u76EE"),l()()}if(t&2){let e,o,i,a=c();s(),d("nzTheme",(e=a.projectState.currentProject())!=null&&e.isFavorite?"fill":"outline"),s(3),d("nzDisabled",!((o=a.projectState.currentProject())!=null&&o.id))("ngModel",(i=a.projectState.currentProject())==null?null:i.isFavorite)}}function Ao(t,n){if(t&1){let e=z();r(0,"li",13),C("click",function(){let i=g(e).$implicit,a=c();return h(a.projectState.selectProject(i))}),p(1,"nz-icon",16),r(2,"span"),m(3),l()()}if(t&2){let e=n.$implicit;s(3),N(e.name)}}function Ro(t,n){if(t&1){let e=z();r(0,"li",13),C("click",function(){let i=g(e).$implicit,a=c();return h(a.projectState.selectProject(i))}),p(1,"nz-icon",11),r(2,"span"),m(3),l()()}if(t&2){let e=n.$implicit;s(),d("nzTheme",e.isFavorite?"fill":"outline"),s(2),N(e.name)}}var Le=class t{constructor(n){this.projectState=n}isCollapsed=jt(!1);curProjectName=O(()=>{let n=this.projectState.currentProject()?.name||"\u8BF7\u9009\u62E9\u9879\u76EE";return this.isCollapsed()?n?.charAt(0).toUpperCase():n});ngOnInit(){this.projectState.getProjects()}static \u0275fac=function(e){return new(e||t)(le(te))};static \u0275cmp=_({type:t,selectors:[["ngm-project-nav"]],inputs:{isCollapsed:[1,"isCollapsed"]},outputs:{isCollapsed:"isCollapsedChange"},decls:23,vars:9,consts:[["menu","nzDropdownMenu"],["nz-button","","nzType","primary","nzSize","large","nz-dropdown","","nzTrigger","click",1,"project-quick-dropdown",3,"nzDropdownMenu","nzPlacement","nzOverlayStyle"],["nzType","down"],[2,"width","100%"],["nz-menu",""],["nz-menu-divider",""],["nz-menu-group","","nzTitle","\u6536\u85CF\u7684\u9879\u76EE"],["nz-menu-item","",1,"item"],["nz-menu-group","","nzTitle","\u6700\u8FD1\u4F7F\u7528"],["routerLink","/projects"],["nzType","project"],["nzType","star",3,"nzTheme"],[2,"margin-left","6px",3,"ngModelChange","nzDisabled","ngModel"],["nz-menu-item","",1,"item",3,"click"],["nzType","code"],["nzType","edit"],["nzType","star","nzTheme","fill"]],template:function(e,o){if(e&1&&(r(0,"button",1)(1,"span"),m(2),l(),v(3,ko,1,0,"nz-icon",2),l(),r(4,"nz-dropdown-menu",3,0)(6,"ul",4),v(7,Bo,13,3),p(8,"li",5)(9,"li",6),E(10,Ao,4,1,"li",7,Vn),p(12,"li",5)(13,"li",8),E(14,Ro,4,2,"li",7,Vn),p(16,"li",5),r(17,"li",7)(18,"a",9),p(19,"nz-icon",10),r(20,"span"),m(21,"\u9879\u76EE\u7BA1\u7406"),l()()()()(),p(22,"app-project-edit-modal")),e&2){let i=T(5);I("collapsed",o.isCollapsed()),d("nzDropdownMenu",i)("nzPlacement","bottomCenter")("nzOverlayStyle",pe(8,Fo)),s(2),N(o.curProjectName()),s(),y(o.isCollapsed()?-1:3),s(4),y(o.projectState.currentProject()?7:-1),s(3),j(o.projectState.favoriteProjects()),s(4),j(o.projectState.recentProjects())}},dependencies:[L,he,fe,ge,ee,Q,Z,fn,un,K,ye,ve,A,b,S,vn,_n,B,k,F,ue,D,X,Ie],styles:["[_nghost-%COMP%]{display:flex;padding:16px}[_nghost-%COMP%] .project-quick-dropdown[_ngcontent-%COMP%]{flex:1;width:100%;display:flex;align-items:center;gap:8px;justify-content:center;border-radius:20px;font-weight:500}[_nghost-%COMP%] .project-quick-dropdown[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item[_ngcontent-%COMP%] .ant-menu-title-content{display:flex;align-items:center;gap:8px;overflow:hidden}.item[_ngcontent-%COMP%] .ant-menu-title-content span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--app-text-color);display:flex;width:100%;align-items:center;gap:8px}"]})};var Fe=class t{router=f(G);state=f(Oe);isCollapsed=this.state.isCollapsed;constructor(){}isActive(n){return this.router.url.startsWith(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["ngm-sidebar"]],hostVars:4,hostBindings:function(e,o){e&2&&I("collapsed",o.isCollapsed())("ant-layout-sider",!0)},decls:20,vars:5,consts:[["menu","nzDropdownMenu"],["nzCollapsible","","nzWidth","256px","nzBreakpoint","md",1,"menu-sidebar",3,"nzCollapsedChange","nzCollapsed","nzTrigger"],[1,"header"],[3,"isCollapsed"],[1,"content"],["nz-button","","nzType","link","nz-dropdown","","nzPlacement","bottomRight","nzTrigger","click",1,"more-btn",3,"nzDropdownMenu"],["nzType","more"],["nz-menu",""],["nz-menu-item","",1,"item"],["routerLink","/projects"],["nzType","project","nzTheme","outline"],["routerLink","/about"],["nzType","info-circle","nzTheme","outline"]],template:function(e,o){if(e&1){let i=z();r(0,"nz-sider",1),Tt("nzCollapsedChange",function(u){return g(i),Nt(o.isCollapsed,u)||(o.isCollapsed=u),h(u)}),r(1,"div",2),p(2,"ngm-project-nav",3),l(),r(3,"div",4),p(4,"ngm-menu",3),r(5,"button",5),p(6,"nz-icon",6),l()()(),r(7,"nz-dropdown-menu",null,0)(9,"ul",7)(10,"li",8)(11,"a",9),p(12,"nz-icon",10),r(13,"span"),m(14,"\u9879\u76EE\u7BA1\u7406"),l()()(),r(15,"li",8)(16,"a",11),p(17,"nz-icon",12),r(18,"span"),m(19,"\u5173\u4E8E"),l()()()()()}if(e&2){let i=T(8);Pt("nzCollapsed",o.isCollapsed),d("nzTrigger",null),s(2),d("isCollapsed",o.isCollapsed()),s(2),d("isCollapsed",o.isCollapsed()),s(),d("nzDropdownMenu",i)}},dependencies:[R,Sn,b,S,A,Q,Z,je,Le,B,k,F,ee,K,ye,ve,D,X],styles:["html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--app-gray: #e6f7ff;--app-primary: #1890ff;--app-primary-1: #e6f7ff;--app-primary-2: #bae7ff;--app-primary-3: #91d5ff;--app-primary-4: #69c0ff;--app-primary-5: #40a9ff;--app-primary-6: #1890ff;--app-text-color: rgba(0, 0, 0, .85);--app-text-secondary: rgba(0, 0, 0, .45);--text-color-primary: #1890ff;--app-component-bg: #fff;--app-border-color: #d9d9d9;--header-error-background: #ff4d4f}html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #888}html.default [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%]{background:var(--ant-primary-1)}html.default [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--ant-text-color)}html.dark[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #bbb}html.dark [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%]{background:var(--ant-primary-1)}html.dark [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--ant-text-color)}[_nghost-%COMP%]{display:block;box-sizing:border-box;position:relative;z-index:10;box-shadow:2px 0 6px #00152959;width:256px;transition:all .2s;flex:0 0 auto}.collapsed[_nghost-%COMP%]{width:80px}.menu-sidebar[_ngcontent-%COMP%]{height:100%}.menu-sidebar[_ngcontent-%COMP%] .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.menu-sidebar[_ngcontent-%COMP%] .ant-menu-inline{border-right:none}.menu-sidebar[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{flex:0 0 auto}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex:1 1 auto;height:0;display:flex;flex-direction:column}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ngm-menu[_ngcontent-%COMP%]{flex:1 1 auto;height:0}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:12px;flex:0 0 auto}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--app-primary-2)}.sidebar-logo[_ngcontent-%COMP%]{position:relative;height:64px;padding-left:24px;overflow:hidden;line-height:64px;transition:all .3s}.sidebar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;height:32px;width:32px;vertical-align:middle}.sidebar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:inline-block;margin:0 0 0 20px;font-weight:600;font-size:14px;font-family:Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;vertical-align:middle}.item[_ngcontent-%COMP%] .ant-menu-title-content{display:flex;align-items:center;gap:8px}.item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--app-text-color);display:flex;width:100%;align-items:center;gap:8px}"]})};function Vo(t,n){if(t&1){let e=z();r(0,"div",4),C("transitionend",function(i){g(e);let a=c();return h(a.onWrapTransitionEnd(i))}),r(1,"div",5),C("animationend",function(i){g(e);let a=c();return h(a.onInnerAnimationEnd(i))}),p(2,"ngm-header"),l()()}if(t&2){let e=c();I("leaving",e.leaving()),s(),I("leaving",e.leaving())}}var ke=class t{ws=f(Me);constructor(){this.ws.connect(),ie(()=>this.syncVisible())}wsState=Zt(this.ws.stateChanges(),{initialValue:"idle"});shouldShow=O(()=>this.wsState()!=="open");visible=M(!1);leaving=M(!1);SHOW_DELAY_MS=200;showTimer;removed=!1;syncVisible(){if(this.shouldShow()){if(this.removed=!1,this.visible()){this.leaving.set(!1);return}this.startShowDelay();return}this.clearShowDelay(),this.visible()&&!this.leaving()&&this.leaving.set(!0)}startShowDelay(){this.showTimer||(this.showTimer=setTimeout(()=>{this.showTimer=void 0,this.shouldShow()&&(this.visible.set(!0),this.leaving.set(!1),this.removed=!1)},this.SHOW_DELAY_MS))}clearShowDelay(){this.showTimer&&(clearTimeout(this.showTimer),this.showTimer=void 0)}onInnerAnimationEnd(n){}onWrapTransitionEnd(n){n.propertyName==="height"&&(this.removed||!this.shouldShow()&&this.leaving()&&(this.removed=!0,this.visible.set(!1),this.leaving.set(!1)))}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=_({type:t,selectors:[["ngm-layout"]],decls:9,vars:1,consts:[[1,"app-layout"],[1,"ws-banner-wrap",3,"leaving"],[1,"app-content"],[1,"inner-content"],[1,"ws-banner-wrap",3,"transitionend"],[1,"ws-banner-inner",3,"animationend"]],template:function(e,o){e&1&&(r(0,"nz-layout",0),v(1,Vo,3,4,"div",1),r(2,"nz-layout",2),p(3,"ngm-sidebar"),r(4,"nz-layout")(5,"nz-content")(6,"div",3),p(7,"router-outlet"),l()()()(),p(8,"ngm-footer"),l()),e&2&&(s(),y(o.visible()?1:-1))},dependencies:[D,$t,R,Pn,bn,Bn,b,A,Fe,Te,Ne],styles:["html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--app-gray: #e6f7ff;--app-primary: #1890ff;--app-primary-1: #e6f7ff;--app-primary-2: #bae7ff;--app-primary-3: #91d5ff;--app-primary-4: #69c0ff;--app-primary-5: #40a9ff;--app-primary-6: #1890ff;--app-text-color: rgba(0, 0, 0, .85);--app-text-secondary: rgba(0, 0, 0, .45);--text-color-primary: #1890ff;--app-component-bg: #fff;--app-border-color: #d9d9d9;--header-error-background: #ff4d4f}html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #888}html.default [_nghost-%COMP%] .inner-content[_ngcontent-%COMP%]{background:#fff}html.dark[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #bbb}html.dark [_nghost-%COMP%] .inner-content[_ngcontent-%COMP%]{background:#141414}[_nghost-%COMP%]{display:flex;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[_nghost-%COMP%] .app-layout[_ngcontent-%COMP%]{height:100vh;width:100%}[_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] ngm-header[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .app-content[_ngcontent-%COMP%]{flex-direction:row}[_nghost-%COMP%] nz-content[_ngcontent-%COMP%] .inner-content[_ngcontent-%COMP%]{border-radius:8px;height:100%}[_nghost-%COMP%] nz-footer[_ngcontent-%COMP%]{text-align:center}.ws-banner-wrap[_ngcontent-%COMP%]{height:48px;overflow:hidden;transition:height .35s ease}.ws-banner-wrap.leaving[_ngcontent-%COMP%]{height:0}.ws-banner-inner[_ngcontent-%COMP%]{height:48px;display:flex;align-items:stretch}.ws-banner-inner.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOutUpSoft .35s ease forwards}@keyframes _ngcontent-%COMP%_fadeOutUpSoft{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-30%)}}"]})};var Wn=`
2
- <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M435.8 536.2H512V353z" fill="#DD0031"/>
4
- <path d="M400.9 616.8l-52.4 130.8h-97.2L512 163V64L94.9 212.7l63.6 551.5L512 960V616.8z" fill="#DD0031"/>
5
- <path d="M512 353v183.2h76.2z" fill="#C3002F"/>
6
- <path d="M512 64v99l259.8 584.6h-97.2l-52.4-130.8H512V960l353.5-195.8 63.6-551.5z" fill="#C3002F"/>
7
- </svg>
8
- `,Hn=`
9
- <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M615.6 123.6h165.5L512 589.7 242.9 123.6H63.5L512 900.4l448.5-776.9z" fill="#41B883"/>
11
- <path d="M781.1 123.6H615.6L512 303 408.4 123.6H242.9L512 589.7z" fill="#34495E"/>
12
- </svg>
13
- `,Un=`
14
- <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
15
- <svg t="1767603739899" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9231" width="200" height="200">
16
- <path d="M512 511.8m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z" fill="#61DAFB" p-id="9232"></path>
17
- <path d="M960.5 511.8c0-62.8-73.8-117.2-188.5-150.1 28.9-115.8 18.7-206.9-35.7-238.3-54.5-31.4-138.5 5.3-224.3 88.2-85.8-82.9-169.8-119.6-224.3-88.2-54.4 31.4-64.6 122.6-35.7 238.3C137.3 394.6 63.5 449 63.5 511.8S137.3 629 252 661.9c-28.9 115.7-18.7 206.9 35.7 238.3 13.4 7.8 28.6 11.6 45.2 11.6 39.7 0 87.8-21.8 140-64.2 13-10.6 26.1-22.6 39.1-35.2 13 12.6 26.1 24.6 39.1 35.2 52.2 42.4 100.2 64.2 140 64.2 16.6 0 31.8-3.8 45.2-11.6 54.4-31.4 64.6-122.5 35.7-238.3 114.7-32.9 188.5-87.3 188.5-150.1zM716.8 157.2c35.3 20.4 42.7 94.3 17.6 194.8-36.7-8.4-76.7-14.7-119.3-18.6-24.7-34.9-50.2-66.4-75.8-94 59.2-57.3 114.2-88.4 152-88.4 9.6-0.1 18.2 2 25.5 6.2zM637 584c-13.8 24-28.4 47-43.3 69-26.1 2-53.3 3.1-81.7 3.1-28.3 0-55.5-1.1-81.6-3.1-15-22-29.5-45.1-43.3-69-14.1-24.5-26.7-48.6-38.1-72.2 11.4-23.6 24-47.7 38.1-72.2 14.1-24.5 28.7-47.4 43.4-69.1 26.1-2 53.3-3.1 81.6-3.1 28.3 0 55.5 1.1 81.6 3.1 14.7 21.6 29.3 44.6 43.4 69 14.1 24.5 26.7 48.6 38.1 72.2-11.5 23.7-24.1 47.8-38.2 72.3z m58.8-26.4c11.2 26.6 20.4 52.1 28 76.5-24.9 5.6-51.7 10.4-80.3 14 9.3-14.5 18.4-29.3 27.3-44.6 8.8-15.4 17.1-30.7 25-45.9zM512 756.5c-17.7-19.2-35.1-40.1-52.2-62.6 17.1 0.8 34.5 1.3 52.2 1.3 17.7 0 35.1-0.5 52.2-1.3-17.1 22.5-34.5 43.4-52.2 62.6zM380.5 648.1c-28.6-3.6-55.3-8.4-80.3-14 7.6-24.4 16.8-49.9 28-76.5 7.9 15.2 16.1 30.5 25 45.9 8.9 15.2 18 30 27.3 44.6zM328.2 466c-11.2-26.6-20.4-52.1-28-76.5 24.9-5.6 51.6-10.4 80.2-14-9.2 14.4-18.4 29.2-27.2 44.6-8.8 15.4-17.1 30.7-25 45.9zM512 267.1c17.3 18.7 34.8 39.8 52.1 62.7-17.1-0.8-34.4-1.3-52.1-1.3-17.7 0-35 0.5-52.1 1.3 17.3-22.9 34.8-44 52.1-62.7z m158.7 153c-8.9-15.3-18-30.1-27.2-44.6 28.6 3.6 55.3 8.4 80.2 14-7.6 24.4-16.8 49.9-28 76.5-7.8-15.2-16.1-30.5-25-45.9zM307.2 157.2c7.2-4.2 15.8-6.2 25.6-6.2 37.8 0 92.7 31.1 151.9 88.4-25.6 27.6-51.1 59.2-75.8 94-42.5 3.9-82.6 10.2-119.3 18.6-25.1-100.6-17.6-174.5 17.6-194.8zM102.5 511.8c0-40.8 60.3-84.2 160-112.6 11.1 36 25.6 73.8 43.5 112.6-17.8 38.8-32.4 76.6-43.5 112.6-99.7-28.4-160-71.9-160-112.6z m345.8 305.5c-59.7 48.5-111.1 66.4-141.1 49.2-35.3-20.4-42.7-94.3-17.6-194.8 36.7 8.4 76.7 14.7 119.3 18.6 24.4 34.5 49.9 66.1 75.8 94.2-12.1 11.7-24.2 22.9-36.4 32.8z m268.5 49.2c-29.9 17.3-81.4-0.6-141.1-49.2-12.1-9.9-24.3-21.1-36.5-32.8 26-28.1 51.4-59.7 75.8-94.2 42.5-3.9 82.6-10.2 119.3-18.7 25.2 100.6 17.7 174.5-17.5 194.9z m44.8-242.1c-11.1-36-25.6-73.8-43.5-112.6 17.8-38.8 32.4-76.6 43.5-112.6 99.7 28.5 160 71.9 160 112.6-0.1 40.7-60.4 84.2-160 112.6z" fill="#61DAFB" p-id="9233"></path></svg>
18
- </svg>
19
- `,$n=`
20
- <svg t="1767598826450" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8231" width="200" height="200">
21
- <path d="M875.2 262.3L546.7 72.7c-20.7-11.8-48.3-11.8-69 0L148.8 262.3c-21.5 12.2-34.5 34.9-34.5 59.7v379.2c0 24.8 13.4 47.9 34.5 60.1l86.1 49.5c41.8 20.7 56.8 20.7 75.9 20.7 62.1 0 97.4-37.8 97.4-102.7V354.4c0-5.3-4.1-9.3-9.3-9.3h-41.4c-5.3 0-9.3 4.1-9.3 9.3v374.3c0 28.8-30 57.7-78.8 33.3l-90.1-52c-3.2-2-5.3-5.3-5.3-8.9V321.9c0-3.7 2-7.3 5.3-8.9l328.1-190c3.2-1.6 7.3-1.6 10.2 0l328.5 189.6c3.2 1.6 5.3 5.3 5.3 8.9v379.2c0 3.7-2 7.3-4.9 8.9L517.9 899.3c-2.8 1.6-7.3 1.6-10.2 0l-84.4-49.9c-2.4-1.2-5.7-1.6-8.1-0.4-23.1 13.4-27.6 15-49.5 22.7-5.7 1.6-13.4 4.9 2.8 14.2l109.6 65c10.6 6.1 22.3 9.3 34.5 9.3 11.8-0.4 24-3.2 34.1-9.7l328.5-189.6c21.1-12.2 34.5-34.9 34.5-59.7V321.9c0-24.3-13.4-47.5-34.5-59.6z" fill="#689F63" p-id="8232"></path>
22
- <path d="M614.1 641.1c-86.9 0-106-21.9-112.5-65-0.8-4.9-4.5-8.1-9.3-8.1h-42.6c-5.3 0-9.3 4.1-9.3 9.3 0 55.2 30 121.4 173.8 121.4l-0.4-0.4c103.9 0 163.6-41 163.6-112.5 0-70.6-47.9-89.7-149-103.1-101.9-13.4-112.5-20.3-112.5-44.3 0-19.5 8.9-45.9 84.4-45.9 67.8 0 92.6 14.6 102.7 60.1 1.2 4.1 4.9 7.3 9.3 7.3H755c2.4 0 5.3-0.8 6.9-2.8 1.6-2 2.8-4.5 2.4-7.3-6.9-78.4-58.9-114.9-164-114.9-93.4 0-149.4 39.4-149.4 105.6 0 71.9 55.6 91.8 145.8 100.7 107.6 10.6 116.1 26.4 116.1 47.5 0 36.5-29.3 52.4-98.7 52.4z" fill="#689F63" p-id="8233"></path>
23
- </svg>
24
- `,Gn=`
25
- <svg t="1768726164973" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4725" width="200" height="200">
26
- <path d="M332.72493 412.535453l171.001167-98.72725a13.830826 13.830826 0 0 1 13.83424 0l171.007994 98.72725a13.841066 13.841066 0 0 1 6.915413 11.9808v197.4545a13.858133 13.858133 0 0 1-6.918826 11.980799l-171.004581 98.72725a13.830826 13.830826 0 0 1-13.83424 0l-171.001167-98.72725a13.841066 13.841066 0 0 1-6.915413-11.980799V424.516253a13.847893 13.847893 0 0 1 6.915413-11.9808" fill="#7986CB" p-id="4726"></path>
27
- <path d="M955.265709 502.476783L750.950409 147.036155c-7.420586-12.8512-21.128533-22.330026-35.969705-22.330026H306.329624c-14.844586 0-28.555946 9.478826-35.976532 22.330026L66.037792 501.701957c-7.420586 12.854613-7.420586 29.081599 0 41.932798L270.353092 896.170637c7.420586 12.8512 21.131946 19.421866 35.976532 19.421866h408.65108c14.83776 0 28.552532-6.372693 35.969705-19.227306l204.3153-353.109322c7.427413-12.847786 7.427413-27.921066 0-40.768852m-169.181861 170.922661c0 5.2224-3.14368 10.059093-7.676586 12.673706l-260.249592 150.152529a14.80704 14.80704 0 0 1-14.725119 0l-260.450978-150.152529c-4.52608-2.614613-7.693653-7.44448-7.693653-12.673706v-300.30847c0-5.229226 3.119787-10.059093 7.649279-12.677119l260.242765-150.152529a14.779733 14.779733 0 0 1 14.71488 0l260.471458 150.152529c4.529493 2.618027 7.717546 7.447893 7.717546 12.677119z" fill="#3F51B5" p-id="4727"></path>
28
- </svg>
29
- `,Yn=`
30
- <svg t="1772087297160" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12394" data-spm-anchor-id="a313x.search_index.0.i16.3dc23a81kNbNJb" width="48" height="48">
31
- <path d="M0 512c0 282.848 229.312 512 512 512 282.848 0 512-229.312 512-512 0-282.848-229.312-512-512-512C229.152 0 0 229.152 0 512z" fill="#333333" p-id="12395" data-spm-anchor-id="a313x.search_index.0.i13.3dc23a81kNbNJb" class="selected"></path>
32
- <path d="M948.48 449.824c-34.912 45.408-101.056 22.272-131.456 40.032-44.288 26.016-42.88 89.152-151.264 173.952-26.336 20.64 27.968 128.768 4.48 152.928-23.872 24.544-119.84 25.792-143.104 12.384-34.08-19.808-7.36-71.2 0.192-146.304-70.016 7.232-92.672 5.984-162.912 3.104 10.816 56.96 26.336 120.512 3.68 141.376-18.592 16.928-108.608 18.784-136.768 0.192-35.328-23.328 25.504-156 4.896-158.272-23.68-2.464-168.416 3.296-142.88-155.808 27.136 40.032 73.28 77.792 126.368 60.864 3.072-58.208 20-113.92 48.384-158.496 37.568-58.624 95.328-97.824 168.416-97.824 72.256 0 132.48 31.776 171.872 81.728 30.816 39.2 48.8 89.984 48.992 145.088 76.352-58.208 20.224-200.8 111.648-254.24 65.12-37.984 141.248-18.368 177.6 41.888 19.392 31.584 25.312 87.072 1.824 117.408z" fill="#ffffff" p-id="12396" data-spm-anchor-id="a313x.search_index.0.i14.3dc23a81kNbNJb" class=""></path>
33
- </svg>
34
- `;var Be=class t{constructor(n){this.icons=n}inited=!1;init(){this.inited||(this.inited=!0,this.icons.addIconLiteral("proj:angular",Wn),this.icons.addIconLiteral("proj:vue",Hn),this.icons.addIconLiteral("proj:react",Un),this.icons.addIconLiteral("proj:node",$n),this.icons.addIconLiteral("proj:eslint",Gn),this.icons.addIconLiteral("proj:svn",Yn))}static \u0275fac=function(e){return new(e||t)(re(Qt))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ae=class t{constructor(n){n.init()}static \u0275fac=function(e){return new(e||t)(le(Be))};static \u0275cmp=_({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(e,o){e&1&&p(0,"ngm-layout")},dependencies:[ke],styles:["[_nghost-%COMP%]{display:block;height:100vh}"]})};Rt(Ae,Ln).catch(t=>console.error(t));