marketplacepos 5.44.2 → 5.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/Marketplace/3rdpartylicenses.txt +31 -31
  2. package/Marketplace/{chunk-IA6KOBDJ.js → chunk-2HNZ6XV3.js} +1 -1
  3. package/Marketplace/chunk-2I7ZZ3F2.js +1 -0
  4. package/Marketplace/chunk-2LK24YA5.js +1 -0
  5. package/Marketplace/chunk-2TN45S53.js +1 -0
  6. package/Marketplace/{chunk-M7HQIICB.js → chunk-37L3YDKT.js} +1 -1
  7. package/Marketplace/chunk-3E7JHNVC.js +5 -0
  8. package/Marketplace/{chunk-YTL4RBBS.js → chunk-3FPEQHTI.js} +1 -1
  9. package/Marketplace/{chunk-KCH7AGAT.js → chunk-3LN6RMRN.js} +1 -1
  10. package/Marketplace/{chunk-5JQJRPL3.js → chunk-3TYYN7ZX.js} +1 -1
  11. package/Marketplace/{chunk-CUB2QFUO.js → chunk-3UN6FPMN.js} +1 -1
  12. package/Marketplace/{chunk-SYUFPF3D.js → chunk-3YP6ORBR.js} +1 -1
  13. package/Marketplace/chunk-42MFOGHP.js +5 -0
  14. package/Marketplace/{chunk-E4Z7OR75.js → chunk-4KHHGHFJ.js} +1 -1
  15. package/Marketplace/chunk-4Q5ZSKVO.js +1 -0
  16. package/Marketplace/{chunk-MS3ZBCON.js → chunk-4VITMSIA.js} +1 -1
  17. package/Marketplace/{chunk-3DMGCQAD.js → chunk-4ZQCJGTZ.js} +1 -1
  18. package/Marketplace/{chunk-IIZDEGGW.js → chunk-5LQRO4AI.js} +1 -1
  19. package/Marketplace/{chunk-6QYD6NIJ.js → chunk-5PS6ZS3N.js} +1 -1
  20. package/Marketplace/{chunk-35XX6SQT.js → chunk-6KBMGQMI.js} +1 -1
  21. package/Marketplace/{chunk-IL5JIRWJ.js → chunk-6L7TD5DW.js} +1 -1
  22. package/Marketplace/{chunk-KX7FIURR.js → chunk-6NUQGKRV.js} +1 -1
  23. package/Marketplace/{chunk-PNITO7BE.js → chunk-6RLISMEX.js} +1 -1
  24. package/Marketplace/{chunk-VK3NG4L3.js → chunk-6V4LFY52.js} +1 -1
  25. package/Marketplace/chunk-6VDV7CA2.js +2 -0
  26. package/Marketplace/chunk-6VHVQEVM.js +3 -0
  27. package/Marketplace/chunk-6WCXK7FR.js +2 -0
  28. package/Marketplace/chunk-6ZOHSFR5.js +1 -0
  29. package/Marketplace/{chunk-G7R7LUW4.js → chunk-74ELVGDK.js} +1 -1
  30. package/Marketplace/{chunk-LZCEM2PC.js → chunk-7AE3725T.js} +1 -1
  31. package/Marketplace/{chunk-H3IVI3LN.js → chunk-A44LN77B.js} +1 -1
  32. package/Marketplace/{chunk-IMK2JGZA.js → chunk-A64VIOKR.js} +1 -1
  33. package/Marketplace/{chunk-L3FX4O3H.js → chunk-B67DSLBY.js} +1 -1
  34. package/Marketplace/{chunk-BXW7N3ER.js → chunk-B7JSVIVV.js} +1 -1
  35. package/Marketplace/{chunk-PFIBU2IX.js → chunk-BBQGPXDH.js} +1 -1
  36. package/Marketplace/{chunk-NXOXSOUJ.js → chunk-BERZDE6Y.js} +1 -1
  37. package/Marketplace/{chunk-5SYAYUVP.js → chunk-BFPMFJI7.js} +1 -1
  38. package/Marketplace/{chunk-EQIFZBRG.js → chunk-BJUPMCEP.js} +2 -2
  39. package/Marketplace/{chunk-DL66NZ2A.js → chunk-BQIB3N6V.js} +1 -1
  40. package/Marketplace/chunk-BYSLV4DQ.js +2 -0
  41. package/Marketplace/chunk-BZBQHO76.js +1 -0
  42. package/Marketplace/{chunk-LA6B2JGP.js → chunk-CHWXOJDB.js} +1 -1
  43. package/Marketplace/chunk-CNJDARBM.js +1 -0
  44. package/Marketplace/{chunk-IBCRFNV4.js → chunk-D5YID4W4.js} +1 -1
  45. package/Marketplace/{chunk-Q6P7MEKT.js → chunk-DDVDUCPY.js} +1 -1
  46. package/Marketplace/{chunk-SM3P57SO.js → chunk-DFGZ4L65.js} +1 -1
  47. package/Marketplace/chunk-DSQSL5VX.js +15 -0
  48. package/Marketplace/{chunk-YM4TJJMM.js → chunk-DZYBXWL2.js} +1 -1
  49. package/Marketplace/{chunk-CZDUJH26.js → chunk-ELSSXU6Y.js} +1 -1
  50. package/Marketplace/{chunk-SWQXSJ7O.js → chunk-ERXVXBTU.js} +1 -1
  51. package/Marketplace/chunk-EVQLTXB7.js +1 -0
  52. package/Marketplace/{chunk-QINTIYLK.js → chunk-FAMP5PPX.js} +1 -1
  53. package/Marketplace/{chunk-WMFWJNS5.js → chunk-FESS3PG3.js} +1 -1
  54. package/Marketplace/{chunk-WW22F76D.js → chunk-FFCWYWBW.js} +1 -1
  55. package/Marketplace/{chunk-ZOKAF4JQ.js → chunk-FJ455ZYZ.js} +1 -1
  56. package/Marketplace/{chunk-UGVEAL7H.js → chunk-FO7G4GMY.js} +1 -1
  57. package/Marketplace/{chunk-74U7L3IP.js → chunk-FOFXARTB.js} +1 -1
  58. package/Marketplace/{chunk-OC2FBL33.js → chunk-FPYZBABH.js} +1 -1
  59. package/Marketplace/{chunk-Z5GRNGHJ.js → chunk-FVORY74O.js} +1 -1
  60. package/Marketplace/{chunk-M2FCTYGU.js → chunk-FXQKRJWU.js} +1 -1
  61. package/Marketplace/{chunk-B5VBBEEN.js → chunk-G7T42LFR.js} +1 -1
  62. package/Marketplace/{chunk-AJL3CYNX.js → chunk-GH5FTODR.js} +1 -1
  63. package/Marketplace/{chunk-PAMSUURJ.js → chunk-GLVYOZA4.js} +1 -1
  64. package/Marketplace/chunk-H46SHHXR.js +1 -0
  65. package/Marketplace/{chunk-B5V5KFQU.js → chunk-HFCAD7GH.js} +1 -1
  66. package/Marketplace/{chunk-UWAXFTHD.js → chunk-HPFBJL3A.js} +1 -1
  67. package/Marketplace/{chunk-3LRWABHB.js → chunk-HVCIQI7B.js} +1 -1
  68. package/Marketplace/{chunk-GCDQNJQN.js → chunk-ID2YZPRH.js} +1 -1
  69. package/Marketplace/{chunk-UTCTTFIM.js → chunk-IML3KYQE.js} +1 -1
  70. package/Marketplace/{chunk-CIAZIJGR.js → chunk-IQ4AFE6X.js} +1 -1
  71. package/Marketplace/{chunk-AEOSNAHH.js → chunk-J53BPEDH.js} +1 -1
  72. package/Marketplace/{chunk-6JUVLRWS.js → chunk-JBNND5FL.js} +1 -1
  73. package/Marketplace/chunk-JFS634DA.js +1 -0
  74. package/Marketplace/{chunk-UYYAK364.js → chunk-JJKMVDXR.js} +1 -1
  75. package/Marketplace/{chunk-CMTBBXR5.js → chunk-JVNHFIYT.js} +1 -1
  76. package/Marketplace/{chunk-U7I4JXN6.js → chunk-KUUDZPGN.js} +1 -1
  77. package/Marketplace/{chunk-OAOQONOA.js → chunk-KXEADFBM.js} +1 -1
  78. package/Marketplace/{chunk-M6UMLTY2.js → chunk-L7EQZACZ.js} +1 -1
  79. package/Marketplace/{chunk-DXEJKRNB.js → chunk-L7KCZLIM.js} +1 -1
  80. package/Marketplace/chunk-LBXSZJDS.js +1 -0
  81. package/Marketplace/{chunk-HVLMIZAB.js → chunk-LCRPUAWG.js} +1 -1
  82. package/Marketplace/{chunk-OLOIQI4D.js → chunk-LDD4NVMB.js} +1 -1
  83. package/Marketplace/{chunk-KALG6D6L.js → chunk-LDPDLCRL.js} +1 -1
  84. package/Marketplace/{chunk-GGSB6FC2.js → chunk-LF6HWNC2.js} +1 -1
  85. package/Marketplace/chunk-LHX4ZOLA.js +2 -0
  86. package/Marketplace/chunk-LK2PMDRL.js +1 -0
  87. package/Marketplace/chunk-LQ2NLQKV.js +1 -0
  88. package/Marketplace/{chunk-E3ROEHBW.js → chunk-LRUVI2Z3.js} +1 -1
  89. package/Marketplace/{chunk-SB7NWPDS.js → chunk-M7V7A7Z6.js} +1 -1
  90. package/Marketplace/{chunk-R46PZJM7.js → chunk-MBBQZFI4.js} +1 -1
  91. package/Marketplace/{chunk-FIXI7CJ5.js → chunk-MMUSTFHH.js} +1 -1
  92. package/Marketplace/chunk-MO53T3IK.js +1 -0
  93. package/Marketplace/chunk-MWTFYMKY.js +1 -0
  94. package/Marketplace/{chunk-PAEIUO2F.js → chunk-N2SPK2VI.js} +1 -1
  95. package/Marketplace/{chunk-IHNN4Q2N.js → chunk-NNRBGHXB.js} +1 -1
  96. package/Marketplace/{chunk-W6FZQ6XT.js → chunk-OFZOAEW5.js} +1 -1
  97. package/Marketplace/{chunk-B7KTCPKC.js → chunk-OJMQBH6T.js} +3 -3
  98. package/Marketplace/{chunk-K5GEJ2GZ.js → chunk-OK3LLCAK.js} +1 -1
  99. package/Marketplace/{chunk-EPVCMYCI.js → chunk-OLANEXLB.js} +1 -1
  100. package/Marketplace/{chunk-E2SXYIML.js → chunk-ORDCBJ4G.js} +1 -1
  101. package/Marketplace/{chunk-2ODVHD2K.js → chunk-PFXOFSJG.js} +1 -1
  102. package/Marketplace/{chunk-YPWHTELF.js → chunk-PPHTN2H6.js} +1 -1
  103. package/Marketplace/{chunk-M6UQ3NJ3.js → chunk-PQGPOOCK.js} +1 -1
  104. package/Marketplace/{chunk-5JVEEL2T.js → chunk-PYXL7UF7.js} +1 -1
  105. package/Marketplace/{chunk-AYPY47VM.js → chunk-QBL6V7QF.js} +1 -1
  106. package/Marketplace/{chunk-WQ3GDXQW.js → chunk-QE3IIBDW.js} +1 -1
  107. package/Marketplace/{chunk-CCWNSX4Y.js → chunk-QHE3PKRD.js} +1 -1
  108. package/Marketplace/{chunk-AO46RPZ4.js → chunk-QK4BGDSS.js} +1 -1
  109. package/Marketplace/chunk-QP4C4R4W.js +1 -0
  110. package/Marketplace/{chunk-74IXJYWO.js → chunk-QS22J2SC.js} +1 -1
  111. package/Marketplace/chunk-QUKRHI5J.js +1 -0
  112. package/Marketplace/{chunk-SNPFU5TF.js → chunk-R7INAZCD.js} +1 -1
  113. package/Marketplace/{chunk-OWQ3RWNF.js → chunk-RDRNWLJI.js} +1 -1
  114. package/Marketplace/chunk-RHF7TPRF.js +1 -0
  115. package/Marketplace/{chunk-M5XGP4SG.js → chunk-RHHHL4OR.js} +1 -1
  116. package/Marketplace/{chunk-KPGKJKR5.js → chunk-RLBTXXCD.js} +1 -1
  117. package/Marketplace/{chunk-6BIM4KEI.js → chunk-RNTPX24O.js} +1 -1
  118. package/Marketplace/{chunk-PH6H2XX4.js → chunk-RQEQPIMI.js} +1 -1
  119. package/Marketplace/{chunk-M7NQID2Z.js → chunk-RTT3JVJM.js} +1 -1
  120. package/Marketplace/chunk-SHRLQGK3.js +1 -0
  121. package/Marketplace/{chunk-VPWALMDU.js → chunk-TC4JRJQL.js} +1 -1
  122. package/Marketplace/{chunk-E4KNET2R.js → chunk-TH6VZX34.js} +1 -1
  123. package/Marketplace/{chunk-WUHNNJ2C.js → chunk-TYG67JH3.js} +1 -1
  124. package/Marketplace/{chunk-AVT3WVH4.js → chunk-TZEINVZY.js} +1 -1
  125. package/Marketplace/chunk-UHJEXTOG.js +1 -0
  126. package/Marketplace/{chunk-ECRWEMEV.js → chunk-UHTMVOX6.js} +1 -1
  127. package/Marketplace/{chunk-UEPQYAWE.js → chunk-UIFPDTMW.js} +1 -1
  128. package/Marketplace/{chunk-GYPJGQYN.js → chunk-UML74HNB.js} +1 -1
  129. package/Marketplace/{chunk-D6URDVES.js → chunk-UXPULNCR.js} +1 -1
  130. package/Marketplace/{chunk-SN4AOGQK.js → chunk-UYLSZYOD.js} +1 -1
  131. package/Marketplace/{chunk-ATZ475FN.js → chunk-V3USB3ZU.js} +1 -1
  132. package/Marketplace/{chunk-77JJJNRM.js → chunk-V5KHEF77.js} +1 -1
  133. package/Marketplace/chunk-VVX6LRMW.js +1 -0
  134. package/Marketplace/{chunk-5OHRA4AS.js → chunk-W3JTS22H.js} +1 -1
  135. package/Marketplace/{chunk-JXSBFTQM.js → chunk-W5L6FMO3.js} +1 -1
  136. package/Marketplace/{chunk-EH6HWI3G.js → chunk-WFT47MCY.js} +1 -1
  137. package/Marketplace/{chunk-NS46QSCM.js → chunk-WJAE4LW2.js} +1 -1
  138. package/Marketplace/{chunk-MH4SJTQX.js → chunk-WLRPCY65.js} +1 -1
  139. package/Marketplace/{chunk-VIMB2VWB.js → chunk-WPELZYFP.js} +1 -1
  140. package/Marketplace/{chunk-RECNBAEB.js → chunk-WWISWZF5.js} +1 -1
  141. package/Marketplace/{chunk-NAT7HRBS.js → chunk-XNVULGQ3.js} +1 -1
  142. package/Marketplace/{chunk-6EH5RQIV.js → chunk-XP6R2ZYJ.js} +1 -1
  143. package/Marketplace/{chunk-5KS4WK6H.js → chunk-XXWBR6S5.js} +1 -1
  144. package/Marketplace/{chunk-ZQ5EGXEB.js → chunk-YIXZLIPA.js} +1 -1
  145. package/Marketplace/{chunk-4GW36MPQ.js → chunk-YNJPF4PB.js} +1 -1
  146. package/Marketplace/{chunk-3IIKX554.js → chunk-YWSUS64O.js} +1 -1
  147. package/Marketplace/{chunk-QJJ2WFVX.js → chunk-Z3ZYINRX.js} +1 -1
  148. package/Marketplace/chunk-ZBKUZ4CN.js +1 -0
  149. package/Marketplace/{chunk-EYBZQLBT.js → chunk-ZKXPDUO4.js} +1 -1
  150. package/Marketplace/index.html +2 -2
  151. package/Marketplace/{main-QWLBNOBB.js → main-ZZ76NVAH.js} +1 -1
  152. package/Marketplace/{styles-X3FXEB7T.css → styles-EW2SXTVD.css} +1 -1
  153. package/package.json +1 -1
  154. package/Marketplace/chunk-2TXL3UEN.js +0 -1
  155. package/Marketplace/chunk-3OIE7ARG.js +0 -1
  156. package/Marketplace/chunk-3YNS3PF3.js +0 -1
  157. package/Marketplace/chunk-4J4NGUMH.js +0 -1
  158. package/Marketplace/chunk-5UGNYVSK.js +0 -1
  159. package/Marketplace/chunk-66N77XWP.js +0 -1
  160. package/Marketplace/chunk-6RKA4STM.js +0 -1
  161. package/Marketplace/chunk-7YA3MQOI.js +0 -1
  162. package/Marketplace/chunk-AQTXFEBA.js +0 -1
  163. package/Marketplace/chunk-BAUHJDSM.js +0 -1
  164. package/Marketplace/chunk-BU5LUO3S.js +0 -1
  165. package/Marketplace/chunk-DUEZ2ZYL.js +0 -2
  166. package/Marketplace/chunk-GIRXMYNI.js +0 -1
  167. package/Marketplace/chunk-GLZJR5RB.js +0 -1
  168. package/Marketplace/chunk-IT3DTSKV.js +0 -1
  169. package/Marketplace/chunk-L6WNU54G.js +0 -1
  170. package/Marketplace/chunk-LDHQNVI5.js +0 -1
  171. package/Marketplace/chunk-LZQRF7OP.js +0 -1
  172. package/Marketplace/chunk-MMLMRH2X.js +0 -1
  173. package/Marketplace/chunk-MS4AQ6UA.js +0 -0
  174. package/Marketplace/chunk-NRNXUMZX.js +0 -1
  175. package/Marketplace/chunk-O6GXF2YS.js +0 -4
  176. package/Marketplace/chunk-O75DCJY4.js +0 -1
  177. package/Marketplace/chunk-OPFENZ3W.js +0 -1
  178. package/Marketplace/chunk-P7NATRFC.js +0 -1
  179. package/Marketplace/chunk-QANQWW5Y.js +0 -15
  180. package/Marketplace/chunk-ROEKFCHJ.js +0 -2
  181. package/Marketplace/chunk-S25SHAFH.js +0 -5
  182. package/Marketplace/chunk-SLI26GUH.js +0 -1
  183. package/Marketplace/chunk-UBXKO4QI.js +0 -1
  184. package/Marketplace/chunk-UD3DLFU3.js +0 -1
  185. package/Marketplace/chunk-V5BKQSAT.js +0 -1
  186. package/Marketplace/chunk-VA7FHRY6.js +0 -2
  187. package/Marketplace/chunk-X3TNRXVW.js +0 -5
  188. package/Marketplace/chunk-YZKPQRLO.js +0 -2
  189. package/Marketplace/chunk-ZKZ5DIIR.js +0 -3
@@ -1,2 +1,2 @@
1
- import{$ as $i,$a as Ki,A as fr,Bc as Co,Ca as vr,Cb as uo,Cc as Eo,Da as Dr,Db as co,Ea as $e,Eb as lo,Fb as an,G as se,Ga as yr,Gb as ho,Hb as _e,Ia as wt,Ib as $,J as Be,Jb as Et,K as me,Ka as ze,La as J,Ma as wr,N as pr,Nb as Rr,O as et,Oa as Gi,Ob as fo,Pa as be,Pb as un,Qb as cn,Rb as br,S as je,Sb as ln,T as Ee,Ta as qi,Tb as po,U as gr,Ua as Cr,Ub as Ar,V as Bi,Va as Wi,Vb as go,Wa as tt,Wb as Tr,X as ji,Xb as mo,Ya as Er,Za as Zi,Zb as vo,_a as Yi,a as Pi,aa as G,ab as sn,b as Ni,c as Li,ca as zi,cb as Xi,d as dr,db as Ct,e as hr,ea as x,eb as Ae,f as te,fb as nt,fd as So,g as K,ga as w,gb as Ji,gd as _r,ha as ve,hb as Qi,hd as Ro,ib as eo,ja as D,jb as to,jd as Ie,ka as Se,kb as no,kc as Do,kd as bo,la as Vi,lb as ro,ld as Ao,m as ge,ma as C,mb as io,md as To,na as mr,nb as Ve,nd as _o,oa as m,od as De,p as L,pa as d,pd as Ir,q as p,qb as oo,qd as Mr,r as Dt,rc as q,s as ki,sa as on,sb as He,sc as F,t as xi,ta as Hi,tb as Sr,tc as yo,ua as Re,ud as Io,v as b,va as X,vb as so,w as rn,wb as Te,x as j,xa as ae,xb as T,y as yt,yb as ao,z as Ui,zb as Ge,zc as wo}from"./chunk-B7KTCPKC.js";import{a as f,b as k}from"./chunk-66YHNWRR.js";var O=new C("");var Oo=null;function ue(){return Oo}function Fr(t){Oo??=t}var St=class{},Rt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Po),providedIn:"platform"})}return t})(),Or=new C(""),Po=(()=>{class t extends Rt{_location;_history;_doc=d(O);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ue().getBaseHref(this._doc)}onPopState(e){let n=ue().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=ue().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.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,n,i){this._history.pushState(e,n,i)}replaceState(e,n,i){this._history.replaceState(e,n,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function dn(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function Mo(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function ne(t){return t&&t[0]!=="?"?`?${t}`:t}var re=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(fn),providedIn:"root"})}return t})(),hn=new C(""),fn=(()=>{class t extends re{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??d(O).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 dn(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ne(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(m(Rt),m(hn,8))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fe=(()=>{class t{_subject=new te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Fa(Mo(Fo(n))),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,n=""){return this.path()==this.normalize(e+ne(n))}normalize(e){return t.stripTrailingSlash(Ma(this._basePath,Fo(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(n)),i)}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(n)),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(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n))}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=ne;static joinWithSlash=dn;static stripTrailingSlash=Mo;static \u0275fac=function(n){return new(n||t)(m(re))};static \u0275prov=D({token:t,factory:()=>Ia(),providedIn:"root"})}return t})();function Ia(){return new Fe(m(re))}function Ma(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Fo(t){return t.replace(/\/index.html$/,"")}function Fa(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var $r=(()=>{class t extends re{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}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 n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=dn(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(m(Rt),m(hn,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var zr=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(zr||{});var U=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(U||{}),_=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(_||{}),z=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(z||{}),V={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 jo(t){return q(t)[F.LocaleId]}function $o(t,r,e){let n=q(t),i=[n[F.DayPeriodsFormat],n[F.DayPeriodsStandalone]],o=Q(i,r);return Q(o,e)}function zo(t,r,e){let n=q(t),i=[n[F.DaysFormat],n[F.DaysStandalone]],o=Q(i,r);return Q(o,e)}function Vo(t,r,e){let n=q(t),i=[n[F.MonthsFormat],n[F.MonthsStandalone]],o=Q(i,r);return Q(o,e)}function Ho(t,r){let n=q(t)[F.Eras];return Q(n,r)}function bt(t,r){let e=q(t);return Q(e[F.DateFormat],r)}function At(t,r){let e=q(t);return Q(e[F.TimeFormat],r)}function Tt(t,r){let n=q(t)[F.DateTimeFormat];return Q(n,r)}function ce(t,r){let e=q(t),n=e[F.NumberSymbols][r];if(typeof n>"u"){if(r===V.CurrencyDecimal)return e[F.NumberSymbols][V.Decimal];if(r===V.CurrencyGroup)return e[F.NumberSymbols][V.Group]}return n}function Go(t,r){return q(t)[F.NumberFormats][r]}function qo(t){if(!t[F.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[F.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wo(t){let r=q(t);return qo(r),(r[F.ExtraData][2]||[]).map(n=>typeof n=="string"?Pr(n):[Pr(n[0]),Pr(n[1])])}function Zo(t,r,e){let n=q(t);qo(n);let i=[n[F.ExtraData][0],n[F.ExtraData][1]],o=Q(i,r)||[];return Q(o,e)||[]}function Q(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function Pr(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e}}var Oa=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pn={},Pa=/((?:[^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 Yo(t,r,e,n){let i=za(t);r=ye(e,r)||r;let s=[],a;for(;r;)if(a=Pa.exec(r),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;r=l}else{s.push(r);break}let u=i.getTimezoneOffset();n&&(u=Xo(n,u),i=$a(i,n));let c="";return s.forEach(l=>{let h=Ba(l);c+=h?h(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function yn(t,r,e){let n=new Date(0);return n.setFullYear(t,r,e),n.setHours(0,0,0),n}function ye(t,r){let e=jo(t);if(pn[e]??={},pn[e][r])return pn[e][r];let n="";switch(r){case"shortDate":n=bt(t,z.Short);break;case"mediumDate":n=bt(t,z.Medium);break;case"longDate":n=bt(t,z.Long);break;case"fullDate":n=bt(t,z.Full);break;case"shortTime":n=At(t,z.Short);break;case"mediumTime":n=At(t,z.Medium);break;case"longTime":n=At(t,z.Long);break;case"fullTime":n=At(t,z.Full);break;case"short":let i=ye(t,"shortTime"),o=ye(t,"shortDate");n=gn(Tt(t,z.Short),[i,o]);break;case"medium":let s=ye(t,"mediumTime"),a=ye(t,"mediumDate");n=gn(Tt(t,z.Medium),[s,a]);break;case"long":let u=ye(t,"longTime"),c=ye(t,"longDate");n=gn(Tt(t,z.Long),[u,c]);break;case"full":let l=ye(t,"fullTime"),h=ye(t,"fullDate");n=gn(Tt(t,z.Full),[l,h]);break}return n&&(pn[e][r]=n),n}function gn(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return r!=null&&n in r?r[n]:e})),t}function ie(t,r,e="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<r;)s="0"+s;return n&&(s=s.slice(s.length-r)),o+s}function Na(t,r){return ie(t,3).substring(0,r)}function P(t,r,e=0,n=!1,i=!1){return function(o,s){let a=La(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Na(a,r);let u=ce(s,V.MinusSign);return ie(a,r,u,n,i)}}function La(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function I(t,r,e=U.Format,n=!1){return function(i,o){return ka(i,o,t,r,e,n)}}function ka(t,r,e,n,i,o){switch(e){case 2:return Vo(r,i,n)[t.getMonth()];case 1:return zo(r,i,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=Wo(r),l=Zo(r,i,n),h=c.findIndex(v=>{if(Array.isArray(v)){let[g,R]=v,S=s>=g.hours&&a>=g.minutes,E=s<R.hours||s===R.hours&&a<R.minutes;if(g.hours<R.hours){if(S&&E)return!0}else if(S||E)return!0}else if(v.hours===s&&v.minutes===a)return!0;return!1});if(h!==-1)return l[h]}return $o(r,i,n)[s<12?0:1];case 3:return Ho(r,n)[t.getFullYear()<=0?0:1];default:let u=e;throw new Error(`unexpected translation type ${u}`)}}function mn(t){return function(r,e,n){let i=-1*n,o=ce(e,V.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 n===0?"Z":(i>=0?"+":"")+ie(s,2,o)+":"+ie(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var xa=0,Dn=4;function Ua(t){let r=yn(t,xa,1).getDay();return yn(t,0,1+(r<=Dn?Dn:Dn+7)-r)}function Ko(t){let r=t.getDay(),e=r===0?-3:Dn-r;return yn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Nr(t,r=!1){return function(e,n){let i;if(r){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Ko(e),s=Ua(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ie(i,t,ce(n,V.MinusSign))}}function vn(t,r=!1){return function(e,n){let o=Ko(e).getFullYear();return ie(o,t,ce(n,V.MinusSign),r)}}var Lr={};function Ba(t){if(Lr[t])return Lr[t];let r;switch(t){case"G":case"GG":case"GGG":r=I(3,_.Abbreviated);break;case"GGGG":r=I(3,_.Wide);break;case"GGGGG":r=I(3,_.Narrow);break;case"y":r=P(0,1,0,!1,!0);break;case"yy":r=P(0,2,0,!0,!0);break;case"yyy":r=P(0,3,0,!1,!0);break;case"yyyy":r=P(0,4,0,!1,!0);break;case"Y":r=vn(1);break;case"YY":r=vn(2,!0);break;case"YYY":r=vn(3);break;case"YYYY":r=vn(4);break;case"M":case"L":r=P(1,1,1);break;case"MM":case"LL":r=P(1,2,1);break;case"MMM":r=I(2,_.Abbreviated);break;case"MMMM":r=I(2,_.Wide);break;case"MMMMM":r=I(2,_.Narrow);break;case"LLL":r=I(2,_.Abbreviated,U.Standalone);break;case"LLLL":r=I(2,_.Wide,U.Standalone);break;case"LLLLL":r=I(2,_.Narrow,U.Standalone);break;case"w":r=Nr(1);break;case"ww":r=Nr(2);break;case"W":r=Nr(1,!0);break;case"d":r=P(2,1);break;case"dd":r=P(2,2);break;case"c":case"cc":r=P(7,1);break;case"ccc":r=I(1,_.Abbreviated,U.Standalone);break;case"cccc":r=I(1,_.Wide,U.Standalone);break;case"ccccc":r=I(1,_.Narrow,U.Standalone);break;case"cccccc":r=I(1,_.Short,U.Standalone);break;case"E":case"EE":case"EEE":r=I(1,_.Abbreviated);break;case"EEEE":r=I(1,_.Wide);break;case"EEEEE":r=I(1,_.Narrow);break;case"EEEEEE":r=I(1,_.Short);break;case"a":case"aa":case"aaa":r=I(0,_.Abbreviated);break;case"aaaa":r=I(0,_.Wide);break;case"aaaaa":r=I(0,_.Narrow);break;case"b":case"bb":case"bbb":r=I(0,_.Abbreviated,U.Standalone,!0);break;case"bbbb":r=I(0,_.Wide,U.Standalone,!0);break;case"bbbbb":r=I(0,_.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":r=I(0,_.Abbreviated,U.Format,!0);break;case"BBBB":r=I(0,_.Wide,U.Format,!0);break;case"BBBBB":r=I(0,_.Narrow,U.Format,!0);break;case"h":r=P(3,1,-12);break;case"hh":r=P(3,2,-12);break;case"H":r=P(3,1);break;case"HH":r=P(3,2);break;case"m":r=P(4,1);break;case"mm":r=P(4,2);break;case"s":r=P(5,1);break;case"ss":r=P(5,2);break;case"S":r=P(6,1);break;case"SS":r=P(6,2);break;case"SSS":r=P(6,3);break;case"Z":case"ZZ":case"ZZZ":r=mn(0);break;case"ZZZZZ":r=mn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=mn(1);break;case"OOOO":case"ZZZZ":case"zzzz":r=mn(2);break;default:return null}return Lr[t]=r,r}function Xo(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e}function ja(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t}function $a(t,r,e){let i=t.getTimezoneOffset(),o=Xo(r,i);return ja(t,-1*(o-i))}function za(t){if(No(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 yn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Oa))return Va(n)}let r=new Date(t);if(!No(r))throw new Error(`Unable to convert "${t}" into a date`);return r}function Va(t){let r=new Date(0),e=0,n=0,i=t[8]?r.setUTCFullYear:r.setFullYear,o=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(r,s,a,u,c),r}function No(t){return t instanceof Date&&!isNaN(t.valueOf())}var Ha=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Lo=22,wn=".",_t="0",Ga=";",qa=",",kr="#";function Wa(t,r,e,n,i,o,s=!1){let a="",u=!1;if(!isFinite(t))a=ce(e,V.Infinity);else{let c=Ka(t);s&&(c=Ya(c));let l=r.minInt,h=r.minFrac,v=r.maxFrac;if(o){let ee=o.match(Ha);if(ee===null)throw new Error(`${o} is not a valid digit info`);let M=ee[1],Ue=ee[3],nn=ee[5];M!=null&&(l=xr(M)),Ue!=null&&(h=xr(Ue)),nn!=null?v=xr(nn):Ue!=null&&h>v&&(v=h)}Xa(c,h,v);let g=c.digits,R=c.integerLen,S=c.exponent,E=[];for(u=g.every(ee=>!ee);R<l;R++)g.unshift(0);for(;R<0;R++)g.unshift(0);R>0?E=g.splice(R,g.length):(E=g,g=[0]);let B=[];for(g.length>=r.lgSize&&B.unshift(g.splice(-r.lgSize,g.length).join(""));g.length>r.gSize;)B.unshift(g.splice(-r.gSize,g.length).join(""));g.length&&B.unshift(g.join("")),a=B.join(ce(e,n)),E.length&&(a+=ce(e,i)+E.join("")),S&&(a+=ce(e,V.Exponential)+"+"+S)}return t<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function Jo(t,r,e){let n=Go(r,zr.Decimal),i=Za(n,ce(r,V.MinusSign));return Wa(t,i,r,V.Group,V.Decimal,e)}function Za(t,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Ga),i=n[0],o=n[1],s=i.indexOf(wn)!==-1?i.split(wn):[i.substring(0,i.lastIndexOf(_t)+1),i.substring(i.lastIndexOf(_t)+1)],a=s[0],u=s[1]||"";e.posPre=a.substring(0,a.indexOf(kr));for(let l=0;l<u.length;l++){let h=u.charAt(l);h===_t?e.minFrac=e.maxFrac=l+1:h===kr?e.maxFrac=l+1:e.posSuf+=h}let c=a.split(qa);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let l=i.length-e.posPre.length-e.posSuf.length,h=o.indexOf(kr);e.negPre=o.substring(0,h).replace(/'/g,""),e.negSuf=o.slice(h+l).replace(/'/g,"")}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function Ya(t){if(t.digits[0]===0)return t;let r=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(r===0?t.digits.push(0,0):r===1&&t.digits.push(0),t.integerLen+=2),t}function Ka(t){let r=Math.abs(t)+"",e=0,n,i,o,s,a;for((i=r.indexOf(wn))>-1&&(r=r.replace(wn,"")),(o=r.search(/e/i))>0?(i<0&&(i=o),i+=+r.slice(o+1),r=r.substring(0,o)):i<0&&(i=r.length),o=0;r.charAt(o)===_t;o++);if(o===(a=r.length))n=[0],i=1;else{for(a--;r.charAt(a)===_t;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(r.charAt(o))}return i>Lo&&(n=n.splice(0,Lo-1),e=i-1,i=1),{digits:n,exponent:e,integerLen:i}}function Xa(t,r,e){if(r>e)throw new Error(`The minimum number of digits after fraction (${r}) is higher than the maximum (${e}).`);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(r,i),e),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let h=s;h<n.length;h++)n[h]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let h=1;h<s;h++)n[h]=0}if(a>=5)if(s-1<0){for(let h=0;h>s;h--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let u=o!==0,c=r+t.integerLen,l=n.reduceRight(function(h,v,g,R){return v=v+h,R[g]=v<10?v:v-10,u&&(R[g]===0&&g>=c?R.pop():u=!1),v>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function xr(t){let r=parseInt(t);if(isNaN(r))throw new Error("Invalid integer literal when parsing "+t);return r}var Ur=/\s+/,ko=[],Ja=(()=>{class t{_ngEl;_renderer;initialClasses=ko;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Ur):ko}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ur):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==n&&(i.changed=!0,i.enabled=n),i.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],i=e[1];i.changed?(this._toggleClass(n,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),i.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Ur).forEach(i=>{n?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(T(be),T(Te))};static \u0275dir=$({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),Qa=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0||e.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=lo(this.ngComponentOutletNgModule,xo(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(xo(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[n,i]of this._inputsUsed)i?(e.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(e.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||t)(T(Ge))};static \u0275dir=$({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[ae]})}return t})();function xo(t){return t.get(uo).injector}var Cn=class{$implicit;ngForOf;index;count;constructor(r,e,n,i){this.$implicit=r,this.ngForOf=e,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Qo=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,i){this._viewContainer=e,this._template=n,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)n.createEmbeddedView(this._template,new Cn(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),Uo(a,i)}});for(let i=0,o=n.length;i<o;i++){let a=n.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=n.get(i.currentIndex);Uo(o,i)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ge),T(Sr),T(bo))};static \u0275dir=$({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Uo(t,r){t.context.$implicit=r.item}var eu=(()=>{class t{_viewContainer;_context=new En;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Bo(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Bo(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ge),T(Sr))};static \u0275dir=$({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),En=class{$implicit=null;ngIf=null};function Bo(t,r){if(t&&!t.createEmbeddedView)throw new w(2020,!1)}var tu=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,i){this._ngEl=e,this._differs=n,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,n){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:He.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(T(be),T(Ao),T(Te))};static \u0275dir=$({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),nu=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):!1,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(T(Ge))};static \u0275dir=$({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ae]})}return t})();function Vr(t,r){return new w(2100,!1)}var Br=class{createSubscription(r,e){return Mr(()=>r.subscribe({next:e,error:n=>{throw n}}))}dispose(r){Mr(()=>r.unsubscribe())}},jr=class{createSubscription(r,e){return r.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(r){r.unsubscribe()}},ru=new jr,iu=new Br,ou=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;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,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(ln(e))return ru;if(po(e))return iu;throw Vr(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(T(Ie,16))};static \u0275pipe=Et({name:"async",type:t,pure:!1})}return t})();var su="mediumDate",es=new C(""),ts=new C(""),au=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,i){this.locale=e,this.defaultTimezone=n,this.defaultOptions=i}transform(e,n,i,o){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??su,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Yo(e,s,o||this.locale,a)}catch(s){throw Vr(t,s.message)}}static \u0275fac=function(n){return new(n||t)(T(_r,16),T(es,24),T(ts,24))};static \u0275pipe=Et({name:"date",type:t,pure:!0})}return t})();var uu=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Et({name:"json",type:t,pure:!1})}return t})();var cu=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,i){if(!lu(e))return null;i||=this._locale;try{let o=du(e);return Jo(o,i,n)}catch(o){throw Vr(t,o.message)}}static \u0275fac=function(n){return new(n||t)(T(_r,16))};static \u0275pipe=Et({name:"number",type:t,pure:!0})}return t})();function lu(t){return!(t==null||t===""||t!==t)}function du(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Hr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({})}return t})();function It(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var Sn="browser",ns="server";function hu(t){return t===Sn}function Rn(t){return t===ns}var qe=class{};var is=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new Gr(d(O),window)})}return t})(),Gr=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r){this.window.scrollTo(r[0],r[1])}scrollToAnchor(r){let e=mu(this.document,r);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(r){this.window.history.scrollRestoration=r}scrollToElement(r){let e=r.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function mu(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(r)||o.querySelector(`[name="${r}"]`);if(s)return s}i=n.nextNode()}}return null}var vu="20";function Du(t){return/^https?:\/\//.test(t)}function yu(t){if(!(typeof t=="string")||t.trim()==="")return!1;try{let e=new URL(t);return!0}catch{return!1}}function wu(t){return t.endsWith("/")?t.slice(0,-1):t}function Cu(t){return t.startsWith("/")?t.slice(1):t}var os=t=>t.src,ss=new C("",{providedIn:"root",factory:()=>os});function Eu(t,r){return function(n){return yu(n)||Su(n,r||[]),n=wu(n),[{provide:ss,useValue:s=>(Du(s.src)&&Ru(n,s.src),t(n,k(f({},s),{src:Cu(s.src)})))}]}}function Su(t,r){throw new w(2959,!1)}function Ru(t,r){throw new w(2959,!1)}var Rh=Eu(bu,void 0);function bu(t,r){let e=new URL(`${t}/${r.src}`);return e.searchParams.set("auto","format"),r.width&&e.searchParams.set("w",r.width.toString()),r.isPlaceholder&&e.searchParams.set("q",vu),e.href}var rs=/^((\s*\d+w\s*(,|$)){1,})$/;var Au=[1,2],Tu=640;var _u=1920,Iu=1080;var bh=(()=>{class t{imageLoader=d(ss);config=Mu(d(Yi));renderer=d(Te);imgElement=d(be).nativeElement;injector=d($e);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){sn("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&rs.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(e){let n=e;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=rs.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(o=>o>=Tu)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return Au.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>_u||this.height>Iu),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==os&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof e=="string"?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let s=this.injector.get(Ie);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);Fu(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,i){n&2&&vo("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ou],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ir],height:[2,"height","height",Ir],loading:"loading",priority:[2,"priority","priority",De],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",De],fill:[2,"fill","fill",De],placeholder:[2,"placeholder","placeholder",Pu],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ae]})}return t})();function Mu(t){let r={};return t.breakpoints&&(r.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},Zi,t,r)}function Fu(t,r){t.complete&&t.naturalWidth&&r()}function Ou(t){return typeof t=="string"?t:Ae(t)}function Pu(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:De(t)}var Tn=new C(""),Yr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new w(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(m(Tn),m(J))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Mt=class{_doc;constructor(r){this._doc=r}manager},bn="ng-app-id";function as(t){for(let r of t)r.remove()}function us(t,r){let e=r.createElement("style");return e.textContent=t,e}function Lu(t,r,e,n){let i=t.head?.querySelectorAll(`style[${bn}="${r}"],link[${bn}="${r}"]`);if(i)for(let o of i)o.removeAttribute(bn),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Wr(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Kr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,this.isServer=Rn(o),Lu(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,us);n?.forEach(i=>this.addUsage(i,this.external,Wr))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(as(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])as(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,us(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,Wr(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(bn,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(m(O),m(Cr),m(Er,8),m(tt))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),qr={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"},Xr=/%COMP%/g;var ls="%COMP%",ku=`_nghost-${ls}`,xu=`_ngcontent-${ls}`,Uu=!0,Bu=new C("",{providedIn:"root",factory:()=>Uu});function ju(t){return xu.replace(Xr,t)}function $u(t){return ku.replace(Xr,t)}function ds(t,r){return r.map(e=>e.replace(Xr,t))}var Jr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,i,o,s,a,u,c=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.tracingService=l,this.platformIsServer=Rn(a),this.defaultRenderer=new Ft(e,s,u,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Ct.ShadowDom&&(n=k(f({},n),{encapsulation:Ct.Emulated}));let i=this.getOrCreateRenderer(e,n);return i instanceof An?i.applyToHost(e):i instanceof Ot&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer,v=this.tracingService;switch(n.encapsulation){case Ct.Emulated:o=new An(u,c,n,this.appId,l,s,a,h,v);break;case Ct.ShadowDom:return new Zr(u,c,e,n,s,a,this.nonce,h,v);default:o=new Ot(u,c,n,l,s,a,h,v);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(m(Yr),m(Kr),m(Cr),m(Bu),m(O),m(tt),m(J),m(Er),m(Ki,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Ft=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,o){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(qr[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(cs(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(cs(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new w(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=qr[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=qr[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(He.DashCase|He.Important)?r.style.setProperty(e,n,i&He.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&He.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=ue().getGlobalEventTarget(this.doc,r),!r))throw new w(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function cs(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Zr=class extends Ft{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,u,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=ds(i.id,l);for(let v of l){let g=document.createElement("style");a&&g.setAttribute("nonce",a),g.textContent=v,this.shadowRoot.appendChild(g)}let h=i.getExternalStyles?.();if(h)for(let v of h){let g=Wr(v,o);a&&g.setAttribute("nonce",a),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ot=class extends Ft{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=c?ds(c,l):l,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},An=class extends Ot{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,u,c){let l=i+"-"+n.id;super(r,e,n,o,s,a,u,c,l),this.contentAttr=ju(l),this.hostAttr=$u(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var _n=class t extends St{supportsDOMEvents=!0;static makeCurrent(){Fr(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=zu();return e==null?null:Vu(e)}resetBaseElement(){Pt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return It(document.cookie,r)}},Pt=null;function zu(){return Pt=Pt||document.head.querySelector("base"),Pt?Pt.getAttribute("href"):null}function Vu(t){return new URL(t,document.baseURI).pathname}var In=class{addToWindow(r){ve.getAngularTestability=(n,i=!0)=>{let o=r.findTestabilityInTree(n,i);if(o==null)throw new w(5103,!1);return o},ve.getAllAngularTestabilities=()=>r.getAllTestabilities(),ve.getAllAngularRootElements=()=>r.getAllRootElements();let e=n=>{let i=ve.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,n){if(e==null)return null;let i=r.getTestability(e);return i??(n?ue().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Hu=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),fs=(()=>{class t extends Mt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),hs=["alt","control","meta","shift"],Gu={"\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"},qu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ps=(()=>{class t extends Mt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ue().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),hs.forEach(c=>{let l=n.indexOf(c);l>-1&&(n.splice(l,1),s+=c+".")}),s+=o,n.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,n){let i=Gu[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),hs.forEach(s=>{if(s!==i){let a=qu[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Wu(){_n.makeCurrent()}function Zu(){return new wr}function Yu(){return qi(document),document}var Ku=[{provide:tt,useValue:Sn},{provide:Wi,useValue:Wu,multi:!0},{provide:O,useFactory:Yu}],Xu=Ro(To,"browser",Ku);var Ju=[{provide:un,useClass:In},{provide:fo,useClass:cn,deps:[J,br,un]},{provide:cn,useClass:cn,deps:[J,br,un]}],Qu=[{provide:Hi,useValue:"root"},{provide:wr,useFactory:Zu},{provide:Tn,useClass:fs,multi:!0,deps:[O]},{provide:Tn,useClass:ps,multi:!0,deps:[O]},Jr,Kr,Yr,{provide:so,useExisting:Jr},{provide:qe,useClass:Hu},[]],ec=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({providers:[...Qu,...Ju],imports:[Hr,_o]})}return t})();var it=class{},Nt=class{},Oe=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
1
+ import{$ as $i,$a as Ki,A as fr,Bc as Co,Ca as vr,Cb as uo,Cc as Eo,Da as Dr,Db as co,Ea as $e,Eb as lo,Fb as an,G as se,Ga as yr,Gb as ho,Hb as _e,Ia as wt,Ib as $,J as Be,Jb as Et,K as me,Ka as ze,La as J,Ma as wr,N as pr,Nb as Rr,O as et,Oa as Gi,Ob as fo,Pa as be,Pb as un,Qb as cn,Rb as br,S as je,Sb as ln,T as Ee,Ta as qi,Tb as po,U as gr,Ua as Cr,Ub as Ar,V as Bi,Va as Wi,Vb as go,Wa as tt,Wb as Tr,X as ji,Xb as mo,Ya as Er,Za as Zi,Zb as vo,_a as Yi,a as Pi,aa as G,ab as sn,b as Ni,c as Li,ca as zi,cb as Xi,d as dr,db as Ct,e as hr,ea as x,eb as Ae,f as te,fb as nt,fd as So,g as K,ga as w,gb as Ji,gd as _r,ha as ve,hb as Qi,hd as Ro,ib as eo,ja as D,jb as to,jd as Ie,ka as Se,kb as no,kc as Do,kd as bo,la as Vi,lb as ro,ld as Ao,m as ge,ma as C,mb as io,md as To,na as mr,nb as Ve,nd as _o,oa as m,od as De,p as L,pa as d,pd as Ir,q as p,qb as oo,qd as Mr,r as Dt,rc as q,s as ki,sa as on,sb as He,sc as F,t as xi,ta as Hi,tb as Sr,tc as yo,ua as Re,ud as Io,v as b,va as X,vb as so,w as rn,wb as Te,x as j,xa as ae,xb as T,y as yt,yb as ao,z as Ui,zb as Ge,zc as wo}from"./chunk-OJMQBH6T.js";import{a as f,b as k}from"./chunk-66YHNWRR.js";var O=new C("");var Oo=null;function ue(){return Oo}function Fr(t){Oo??=t}var St=class{},Rt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Po),providedIn:"platform"})}return t})(),Or=new C(""),Po=(()=>{class t extends Rt{_location;_history;_doc=d(O);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ue().getBaseHref(this._doc)}onPopState(e){let n=ue().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=ue().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.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,n,i){this._history.pushState(e,n,i)}replaceState(e,n,i){this._history.replaceState(e,n,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function dn(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function Mo(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function ne(t){return t&&t[0]!=="?"?`?${t}`:t}var re=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(fn),providedIn:"root"})}return t})(),hn=new C(""),fn=(()=>{class t extends re{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??d(O).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 dn(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ne(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(m(Rt),m(hn,8))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fe=(()=>{class t{_subject=new te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Fa(Mo(Fo(n))),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,n=""){return this.path()==this.normalize(e+ne(n))}normalize(e){return t.stripTrailingSlash(Ma(this._basePath,Fo(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(n)),i)}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(n)),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(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n))}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=ne;static joinWithSlash=dn;static stripTrailingSlash=Mo;static \u0275fac=function(n){return new(n||t)(m(re))};static \u0275prov=D({token:t,factory:()=>Ia(),providedIn:"root"})}return t})();function Ia(){return new Fe(m(re))}function Ma(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Fo(t){return t.replace(/\/index.html$/,"")}function Fa(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var $r=(()=>{class t extends re{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}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 n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=dn(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(m(Rt),m(hn,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var zr=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(zr||{});var U=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(U||{}),_=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(_||{}),z=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(z||{}),V={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 jo(t){return q(t)[F.LocaleId]}function $o(t,r,e){let n=q(t),i=[n[F.DayPeriodsFormat],n[F.DayPeriodsStandalone]],o=Q(i,r);return Q(o,e)}function zo(t,r,e){let n=q(t),i=[n[F.DaysFormat],n[F.DaysStandalone]],o=Q(i,r);return Q(o,e)}function Vo(t,r,e){let n=q(t),i=[n[F.MonthsFormat],n[F.MonthsStandalone]],o=Q(i,r);return Q(o,e)}function Ho(t,r){let n=q(t)[F.Eras];return Q(n,r)}function bt(t,r){let e=q(t);return Q(e[F.DateFormat],r)}function At(t,r){let e=q(t);return Q(e[F.TimeFormat],r)}function Tt(t,r){let n=q(t)[F.DateTimeFormat];return Q(n,r)}function ce(t,r){let e=q(t),n=e[F.NumberSymbols][r];if(typeof n>"u"){if(r===V.CurrencyDecimal)return e[F.NumberSymbols][V.Decimal];if(r===V.CurrencyGroup)return e[F.NumberSymbols][V.Group]}return n}function Go(t,r){return q(t)[F.NumberFormats][r]}function qo(t){if(!t[F.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[F.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wo(t){let r=q(t);return qo(r),(r[F.ExtraData][2]||[]).map(n=>typeof n=="string"?Pr(n):[Pr(n[0]),Pr(n[1])])}function Zo(t,r,e){let n=q(t);qo(n);let i=[n[F.ExtraData][0],n[F.ExtraData][1]],o=Q(i,r)||[];return Q(o,e)||[]}function Q(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function Pr(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e}}var Oa=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pn={},Pa=/((?:[^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 Yo(t,r,e,n){let i=za(t);r=ye(e,r)||r;let s=[],a;for(;r;)if(a=Pa.exec(r),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;r=l}else{s.push(r);break}let u=i.getTimezoneOffset();n&&(u=Xo(n,u),i=$a(i,n));let c="";return s.forEach(l=>{let h=Ba(l);c+=h?h(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function yn(t,r,e){let n=new Date(0);return n.setFullYear(t,r,e),n.setHours(0,0,0),n}function ye(t,r){let e=jo(t);if(pn[e]??={},pn[e][r])return pn[e][r];let n="";switch(r){case"shortDate":n=bt(t,z.Short);break;case"mediumDate":n=bt(t,z.Medium);break;case"longDate":n=bt(t,z.Long);break;case"fullDate":n=bt(t,z.Full);break;case"shortTime":n=At(t,z.Short);break;case"mediumTime":n=At(t,z.Medium);break;case"longTime":n=At(t,z.Long);break;case"fullTime":n=At(t,z.Full);break;case"short":let i=ye(t,"shortTime"),o=ye(t,"shortDate");n=gn(Tt(t,z.Short),[i,o]);break;case"medium":let s=ye(t,"mediumTime"),a=ye(t,"mediumDate");n=gn(Tt(t,z.Medium),[s,a]);break;case"long":let u=ye(t,"longTime"),c=ye(t,"longDate");n=gn(Tt(t,z.Long),[u,c]);break;case"full":let l=ye(t,"fullTime"),h=ye(t,"fullDate");n=gn(Tt(t,z.Full),[l,h]);break}return n&&(pn[e][r]=n),n}function gn(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return r!=null&&n in r?r[n]:e})),t}function ie(t,r,e="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<r;)s="0"+s;return n&&(s=s.slice(s.length-r)),o+s}function Na(t,r){return ie(t,3).substring(0,r)}function P(t,r,e=0,n=!1,i=!1){return function(o,s){let a=La(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Na(a,r);let u=ce(s,V.MinusSign);return ie(a,r,u,n,i)}}function La(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function I(t,r,e=U.Format,n=!1){return function(i,o){return ka(i,o,t,r,e,n)}}function ka(t,r,e,n,i,o){switch(e){case 2:return Vo(r,i,n)[t.getMonth()];case 1:return zo(r,i,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=Wo(r),l=Zo(r,i,n),h=c.findIndex(v=>{if(Array.isArray(v)){let[g,R]=v,S=s>=g.hours&&a>=g.minutes,E=s<R.hours||s===R.hours&&a<R.minutes;if(g.hours<R.hours){if(S&&E)return!0}else if(S||E)return!0}else if(v.hours===s&&v.minutes===a)return!0;return!1});if(h!==-1)return l[h]}return $o(r,i,n)[s<12?0:1];case 3:return Ho(r,n)[t.getFullYear()<=0?0:1];default:let u=e;throw new Error(`unexpected translation type ${u}`)}}function mn(t){return function(r,e,n){let i=-1*n,o=ce(e,V.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 n===0?"Z":(i>=0?"+":"")+ie(s,2,o)+":"+ie(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var xa=0,Dn=4;function Ua(t){let r=yn(t,xa,1).getDay();return yn(t,0,1+(r<=Dn?Dn:Dn+7)-r)}function Ko(t){let r=t.getDay(),e=r===0?-3:Dn-r;return yn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Nr(t,r=!1){return function(e,n){let i;if(r){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Ko(e),s=Ua(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ie(i,t,ce(n,V.MinusSign))}}function vn(t,r=!1){return function(e,n){let o=Ko(e).getFullYear();return ie(o,t,ce(n,V.MinusSign),r)}}var Lr={};function Ba(t){if(Lr[t])return Lr[t];let r;switch(t){case"G":case"GG":case"GGG":r=I(3,_.Abbreviated);break;case"GGGG":r=I(3,_.Wide);break;case"GGGGG":r=I(3,_.Narrow);break;case"y":r=P(0,1,0,!1,!0);break;case"yy":r=P(0,2,0,!0,!0);break;case"yyy":r=P(0,3,0,!1,!0);break;case"yyyy":r=P(0,4,0,!1,!0);break;case"Y":r=vn(1);break;case"YY":r=vn(2,!0);break;case"YYY":r=vn(3);break;case"YYYY":r=vn(4);break;case"M":case"L":r=P(1,1,1);break;case"MM":case"LL":r=P(1,2,1);break;case"MMM":r=I(2,_.Abbreviated);break;case"MMMM":r=I(2,_.Wide);break;case"MMMMM":r=I(2,_.Narrow);break;case"LLL":r=I(2,_.Abbreviated,U.Standalone);break;case"LLLL":r=I(2,_.Wide,U.Standalone);break;case"LLLLL":r=I(2,_.Narrow,U.Standalone);break;case"w":r=Nr(1);break;case"ww":r=Nr(2);break;case"W":r=Nr(1,!0);break;case"d":r=P(2,1);break;case"dd":r=P(2,2);break;case"c":case"cc":r=P(7,1);break;case"ccc":r=I(1,_.Abbreviated,U.Standalone);break;case"cccc":r=I(1,_.Wide,U.Standalone);break;case"ccccc":r=I(1,_.Narrow,U.Standalone);break;case"cccccc":r=I(1,_.Short,U.Standalone);break;case"E":case"EE":case"EEE":r=I(1,_.Abbreviated);break;case"EEEE":r=I(1,_.Wide);break;case"EEEEE":r=I(1,_.Narrow);break;case"EEEEEE":r=I(1,_.Short);break;case"a":case"aa":case"aaa":r=I(0,_.Abbreviated);break;case"aaaa":r=I(0,_.Wide);break;case"aaaaa":r=I(0,_.Narrow);break;case"b":case"bb":case"bbb":r=I(0,_.Abbreviated,U.Standalone,!0);break;case"bbbb":r=I(0,_.Wide,U.Standalone,!0);break;case"bbbbb":r=I(0,_.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":r=I(0,_.Abbreviated,U.Format,!0);break;case"BBBB":r=I(0,_.Wide,U.Format,!0);break;case"BBBBB":r=I(0,_.Narrow,U.Format,!0);break;case"h":r=P(3,1,-12);break;case"hh":r=P(3,2,-12);break;case"H":r=P(3,1);break;case"HH":r=P(3,2);break;case"m":r=P(4,1);break;case"mm":r=P(4,2);break;case"s":r=P(5,1);break;case"ss":r=P(5,2);break;case"S":r=P(6,1);break;case"SS":r=P(6,2);break;case"SSS":r=P(6,3);break;case"Z":case"ZZ":case"ZZZ":r=mn(0);break;case"ZZZZZ":r=mn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=mn(1);break;case"OOOO":case"ZZZZ":case"zzzz":r=mn(2);break;default:return null}return Lr[t]=r,r}function Xo(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e}function ja(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t}function $a(t,r,e){let i=t.getTimezoneOffset(),o=Xo(r,i);return ja(t,-1*(o-i))}function za(t){if(No(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 yn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Oa))return Va(n)}let r=new Date(t);if(!No(r))throw new Error(`Unable to convert "${t}" into a date`);return r}function Va(t){let r=new Date(0),e=0,n=0,i=t[8]?r.setUTCFullYear:r.setFullYear,o=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(r,s,a,u,c),r}function No(t){return t instanceof Date&&!isNaN(t.valueOf())}var Ha=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Lo=22,wn=".",_t="0",Ga=";",qa=",",kr="#";function Wa(t,r,e,n,i,o,s=!1){let a="",u=!1;if(!isFinite(t))a=ce(e,V.Infinity);else{let c=Ka(t);s&&(c=Ya(c));let l=r.minInt,h=r.minFrac,v=r.maxFrac;if(o){let ee=o.match(Ha);if(ee===null)throw new Error(`${o} is not a valid digit info`);let M=ee[1],Ue=ee[3],nn=ee[5];M!=null&&(l=xr(M)),Ue!=null&&(h=xr(Ue)),nn!=null?v=xr(nn):Ue!=null&&h>v&&(v=h)}Xa(c,h,v);let g=c.digits,R=c.integerLen,S=c.exponent,E=[];for(u=g.every(ee=>!ee);R<l;R++)g.unshift(0);for(;R<0;R++)g.unshift(0);R>0?E=g.splice(R,g.length):(E=g,g=[0]);let B=[];for(g.length>=r.lgSize&&B.unshift(g.splice(-r.lgSize,g.length).join(""));g.length>r.gSize;)B.unshift(g.splice(-r.gSize,g.length).join(""));g.length&&B.unshift(g.join("")),a=B.join(ce(e,n)),E.length&&(a+=ce(e,i)+E.join("")),S&&(a+=ce(e,V.Exponential)+"+"+S)}return t<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function Jo(t,r,e){let n=Go(r,zr.Decimal),i=Za(n,ce(r,V.MinusSign));return Wa(t,i,r,V.Group,V.Decimal,e)}function Za(t,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Ga),i=n[0],o=n[1],s=i.indexOf(wn)!==-1?i.split(wn):[i.substring(0,i.lastIndexOf(_t)+1),i.substring(i.lastIndexOf(_t)+1)],a=s[0],u=s[1]||"";e.posPre=a.substring(0,a.indexOf(kr));for(let l=0;l<u.length;l++){let h=u.charAt(l);h===_t?e.minFrac=e.maxFrac=l+1:h===kr?e.maxFrac=l+1:e.posSuf+=h}let c=a.split(qa);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let l=i.length-e.posPre.length-e.posSuf.length,h=o.indexOf(kr);e.negPre=o.substring(0,h).replace(/'/g,""),e.negSuf=o.slice(h+l).replace(/'/g,"")}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function Ya(t){if(t.digits[0]===0)return t;let r=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(r===0?t.digits.push(0,0):r===1&&t.digits.push(0),t.integerLen+=2),t}function Ka(t){let r=Math.abs(t)+"",e=0,n,i,o,s,a;for((i=r.indexOf(wn))>-1&&(r=r.replace(wn,"")),(o=r.search(/e/i))>0?(i<0&&(i=o),i+=+r.slice(o+1),r=r.substring(0,o)):i<0&&(i=r.length),o=0;r.charAt(o)===_t;o++);if(o===(a=r.length))n=[0],i=1;else{for(a--;r.charAt(a)===_t;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(r.charAt(o))}return i>Lo&&(n=n.splice(0,Lo-1),e=i-1,i=1),{digits:n,exponent:e,integerLen:i}}function Xa(t,r,e){if(r>e)throw new Error(`The minimum number of digits after fraction (${r}) is higher than the maximum (${e}).`);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(r,i),e),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let h=s;h<n.length;h++)n[h]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let h=1;h<s;h++)n[h]=0}if(a>=5)if(s-1<0){for(let h=0;h>s;h--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let u=o!==0,c=r+t.integerLen,l=n.reduceRight(function(h,v,g,R){return v=v+h,R[g]=v<10?v:v-10,u&&(R[g]===0&&g>=c?R.pop():u=!1),v>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function xr(t){let r=parseInt(t);if(isNaN(r))throw new Error("Invalid integer literal when parsing "+t);return r}var Ur=/\s+/,ko=[],Ja=(()=>{class t{_ngEl;_renderer;initialClasses=ko;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Ur):ko}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ur):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==n&&(i.changed=!0,i.enabled=n),i.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],i=e[1];i.changed?(this._toggleClass(n,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),i.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Ur).forEach(i=>{n?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(T(be),T(Te))};static \u0275dir=$({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),Qa=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0||e.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=lo(this.ngComponentOutletNgModule,xo(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(xo(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[n,i]of this._inputsUsed)i?(e.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(e.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||t)(T(Ge))};static \u0275dir=$({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[ae]})}return t})();function xo(t){return t.get(uo).injector}var Cn=class{$implicit;ngForOf;index;count;constructor(r,e,n,i){this.$implicit=r,this.ngForOf=e,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Qo=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,i){this._viewContainer=e,this._template=n,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)n.createEmbeddedView(this._template,new Cn(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),Uo(a,i)}});for(let i=0,o=n.length;i<o;i++){let a=n.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=n.get(i.currentIndex);Uo(o,i)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ge),T(Sr),T(bo))};static \u0275dir=$({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Uo(t,r){t.context.$implicit=r.item}var eu=(()=>{class t{_viewContainer;_context=new En;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Bo(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Bo(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ge),T(Sr))};static \u0275dir=$({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),En=class{$implicit=null;ngIf=null};function Bo(t,r){if(t&&!t.createEmbeddedView)throw new w(2020,!1)}var tu=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,i){this._ngEl=e,this._differs=n,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,n){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:He.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(T(be),T(Ao),T(Te))};static \u0275dir=$({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),nu=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):!1,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(T(Ge))};static \u0275dir=$({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ae]})}return t})();function Vr(t,r){return new w(2100,!1)}var Br=class{createSubscription(r,e){return Mr(()=>r.subscribe({next:e,error:n=>{throw n}}))}dispose(r){Mr(()=>r.unsubscribe())}},jr=class{createSubscription(r,e){return r.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(r){r.unsubscribe()}},ru=new jr,iu=new Br,ou=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;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,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(ln(e))return ru;if(po(e))return iu;throw Vr(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(T(Ie,16))};static \u0275pipe=Et({name:"async",type:t,pure:!1})}return t})();var su="mediumDate",es=new C(""),ts=new C(""),au=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,i){this.locale=e,this.defaultTimezone=n,this.defaultOptions=i}transform(e,n,i,o){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??su,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Yo(e,s,o||this.locale,a)}catch(s){throw Vr(t,s.message)}}static \u0275fac=function(n){return new(n||t)(T(_r,16),T(es,24),T(ts,24))};static \u0275pipe=Et({name:"date",type:t,pure:!0})}return t})();var uu=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Et({name:"json",type:t,pure:!1})}return t})();var cu=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,i){if(!lu(e))return null;i||=this._locale;try{let o=du(e);return Jo(o,i,n)}catch(o){throw Vr(t,o.message)}}static \u0275fac=function(n){return new(n||t)(T(_r,16))};static \u0275pipe=Et({name:"number",type:t,pure:!0})}return t})();function lu(t){return!(t==null||t===""||t!==t)}function du(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Hr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({})}return t})();function It(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var Sn="browser",ns="server";function hu(t){return t===Sn}function Rn(t){return t===ns}var qe=class{};var is=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new Gr(d(O),window)})}return t})(),Gr=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r){this.window.scrollTo(r[0],r[1])}scrollToAnchor(r){let e=mu(this.document,r);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(r){this.window.history.scrollRestoration=r}scrollToElement(r){let e=r.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function mu(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(r)||o.querySelector(`[name="${r}"]`);if(s)return s}i=n.nextNode()}}return null}var vu="20";function Du(t){return/^https?:\/\//.test(t)}function yu(t){if(!(typeof t=="string")||t.trim()==="")return!1;try{let e=new URL(t);return!0}catch{return!1}}function wu(t){return t.endsWith("/")?t.slice(0,-1):t}function Cu(t){return t.startsWith("/")?t.slice(1):t}var os=t=>t.src,ss=new C("",{providedIn:"root",factory:()=>os});function Eu(t,r){return function(n){return yu(n)||Su(n,r||[]),n=wu(n),[{provide:ss,useValue:s=>(Du(s.src)&&Ru(n,s.src),t(n,k(f({},s),{src:Cu(s.src)})))}]}}function Su(t,r){throw new w(2959,!1)}function Ru(t,r){throw new w(2959,!1)}var Rh=Eu(bu,void 0);function bu(t,r){let e=new URL(`${t}/${r.src}`);return e.searchParams.set("auto","format"),r.width&&e.searchParams.set("w",r.width.toString()),r.isPlaceholder&&e.searchParams.set("q",vu),e.href}var rs=/^((\s*\d+w\s*(,|$)){1,})$/;var Au=[1,2],Tu=640;var _u=1920,Iu=1080;var bh=(()=>{class t{imageLoader=d(ss);config=Mu(d(Yi));renderer=d(Te);imgElement=d(be).nativeElement;injector=d($e);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){sn("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&rs.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(e){let n=e;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=rs.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(o=>o>=Tu)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return Au.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>_u||this.height>Iu),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==os&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof e=="string"?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let s=this.injector.get(Ie);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);Fu(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,i){n&2&&vo("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ou],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ir],height:[2,"height","height",Ir],loading:"loading",priority:[2,"priority","priority",De],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",De],fill:[2,"fill","fill",De],placeholder:[2,"placeholder","placeholder",Pu],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ae]})}return t})();function Mu(t){let r={};return t.breakpoints&&(r.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},Zi,t,r)}function Fu(t,r){t.complete&&t.naturalWidth&&r()}function Ou(t){return typeof t=="string"?t:Ae(t)}function Pu(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:De(t)}var Tn=new C(""),Yr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new w(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(m(Tn),m(J))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Mt=class{_doc;constructor(r){this._doc=r}manager},bn="ng-app-id";function as(t){for(let r of t)r.remove()}function us(t,r){let e=r.createElement("style");return e.textContent=t,e}function Lu(t,r,e,n){let i=t.head?.querySelectorAll(`style[${bn}="${r}"],link[${bn}="${r}"]`);if(i)for(let o of i)o.removeAttribute(bn),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Wr(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Kr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,this.isServer=Rn(o),Lu(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,us);n?.forEach(i=>this.addUsage(i,this.external,Wr))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(as(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])as(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,us(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,Wr(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(bn,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(m(O),m(Cr),m(Er,8),m(tt))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),qr={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"},Xr=/%COMP%/g;var ls="%COMP%",ku=`_nghost-${ls}`,xu=`_ngcontent-${ls}`,Uu=!0,Bu=new C("",{providedIn:"root",factory:()=>Uu});function ju(t){return xu.replace(Xr,t)}function $u(t){return ku.replace(Xr,t)}function ds(t,r){return r.map(e=>e.replace(Xr,t))}var Jr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,i,o,s,a,u,c=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.tracingService=l,this.platformIsServer=Rn(a),this.defaultRenderer=new Ft(e,s,u,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Ct.ShadowDom&&(n=k(f({},n),{encapsulation:Ct.Emulated}));let i=this.getOrCreateRenderer(e,n);return i instanceof An?i.applyToHost(e):i instanceof Ot&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer,v=this.tracingService;switch(n.encapsulation){case Ct.Emulated:o=new An(u,c,n,this.appId,l,s,a,h,v);break;case Ct.ShadowDom:return new Zr(u,c,e,n,s,a,this.nonce,h,v);default:o=new Ot(u,c,n,l,s,a,h,v);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(m(Yr),m(Kr),m(Cr),m(Bu),m(O),m(tt),m(J),m(Er),m(Ki,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Ft=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,o){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(qr[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(cs(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(cs(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new w(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=qr[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=qr[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(He.DashCase|He.Important)?r.style.setProperty(e,n,i&He.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&He.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=ue().getGlobalEventTarget(this.doc,r),!r))throw new w(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function cs(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Zr=class extends Ft{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,u,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=ds(i.id,l);for(let v of l){let g=document.createElement("style");a&&g.setAttribute("nonce",a),g.textContent=v,this.shadowRoot.appendChild(g)}let h=i.getExternalStyles?.();if(h)for(let v of h){let g=Wr(v,o);a&&g.setAttribute("nonce",a),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ot=class extends Ft{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=c?ds(c,l):l,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},An=class extends Ot{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,u,c){let l=i+"-"+n.id;super(r,e,n,o,s,a,u,c,l),this.contentAttr=ju(l),this.hostAttr=$u(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var _n=class t extends St{supportsDOMEvents=!0;static makeCurrent(){Fr(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=zu();return e==null?null:Vu(e)}resetBaseElement(){Pt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return It(document.cookie,r)}},Pt=null;function zu(){return Pt=Pt||document.head.querySelector("base"),Pt?Pt.getAttribute("href"):null}function Vu(t){return new URL(t,document.baseURI).pathname}var In=class{addToWindow(r){ve.getAngularTestability=(n,i=!0)=>{let o=r.findTestabilityInTree(n,i);if(o==null)throw new w(5103,!1);return o},ve.getAllAngularTestabilities=()=>r.getAllTestabilities(),ve.getAllAngularRootElements=()=>r.getAllRootElements();let e=n=>{let i=ve.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,n){if(e==null)return null;let i=r.getTestability(e);return i??(n?ue().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Hu=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),fs=(()=>{class t extends Mt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),hs=["alt","control","meta","shift"],Gu={"\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"},qu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ps=(()=>{class t extends Mt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ue().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),hs.forEach(c=>{let l=n.indexOf(c);l>-1&&(n.splice(l,1),s+=c+".")}),s+=o,n.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,n){let i=Gu[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),hs.forEach(s=>{if(s!==i){let a=qu[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Wu(){_n.makeCurrent()}function Zu(){return new wr}function Yu(){return qi(document),document}var Ku=[{provide:tt,useValue:Sn},{provide:Wi,useValue:Wu,multi:!0},{provide:O,useFactory:Yu}],Xu=Ro(To,"browser",Ku);var Ju=[{provide:un,useClass:In},{provide:fo,useClass:cn,deps:[J,br,un]},{provide:cn,useClass:cn,deps:[J,br,un]}],Qu=[{provide:Hi,useValue:"root"},{provide:wr,useFactory:Zu},{provide:Tn,useClass:fs,multi:!0,deps:[O]},{provide:Tn,useClass:ps,multi:!0,deps:[O]},Jr,Kr,Yr,{provide:so,useExisting:Jr},{provide:qe,useClass:Hu},[]],ec=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({providers:[...Qu,...Ju],imports:[Hr,_o]})}return t})();var it=class{},Nt=class{},Oe=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
2
2
  `).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let o=r.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(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var Fn=class{encodeKey(r){return gs(r)}encodeValue(r){return gs(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function tc(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var nc=/%(\d[a-f0-9])/gi,rc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function gs(t){return encodeURIComponent(t).replace(nc,(r,e)=>rc[e]??r)}function Mn(t){return`${t}`}var we=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new Fn,r.fromString){if(r.fromObject)throw new w(2805,!1);this.map=tc(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(Mn):[Mn(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Mn(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(Mn(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var On=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function ic(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ms(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function vs(t){return typeof Blob<"u"&&t instanceof Blob}function Ds(t){return typeof FormData<"u"&&t instanceof FormData}function oc(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ys="Content-Type",ws="Accept",Es="X-Request-URL",Ss="text/plain",Rs="application/json",sc=`${Rs}, ${Ss}, */*`,rt=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(ic(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Oe,this.context??=new On,!this.params)this.params=new we,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"||ms(this.body)||vs(this.body)||Ds(this.body)||oc(this.body)?this.body:this.body instanceof we?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||Ds(this.body)?null:vs(this.body)?this.body.type||null:ms(this.body)?null:typeof this.body=="string"?Ss:this.body instanceof we?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Rs:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.transferCache??this.transferCache,s=r.body!==void 0?r.body:this.body,a=r.withCredentials??this.withCredentials,u=r.reportProgress??this.reportProgress,c=r.headers||this.headers,l=r.params||this.params,h=r.context??this.context;return r.setHeaders!==void 0&&(c=Object.keys(r.setHeaders).reduce((v,g)=>v.set(g,r.setHeaders[g]),c)),r.setParams&&(l=Object.keys(r.setParams).reduce((v,g)=>v.set(g,r.setParams[g]),l)),new t(e,n,s,{params:l,headers:c,context:h,reportProgress:u,responseType:i,withCredentials:a,transferCache:o})}},We=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}(We||{}),ot=class{headers;status;statusText;url;ok;type;constructor(r,e=200,n="OK"){this.headers=r.headers||new Oe,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}},Pn=class t extends ot{constructor(r={}){super(r)}type=We.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Lt=class t extends ot{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=We.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},kt=class extends ot{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},ac=200,uc=204;function Qr(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var bs=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let o;if(e instanceof rt)o=e;else{let u;i.headers instanceof Oe?u=i.headers:u=new Oe(i.headers);let c;i.params&&(i.params instanceof we?c=i.params:c=new we({fromObject:i.params})),o=new rt(e,n,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})}let s=p(o).pipe(me(u=>this.handler.handle(u)));if(e instanceof rt||i.observe==="events")return s;let a=s.pipe(se(u=>u instanceof Lt));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new w(2806,!1);return u.body}));case"blob":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new w(2807,!1);return u.body}));case"text":return a.pipe(b(u=>{if(u.body!==null&&typeof u.body!="string")throw new w(2808,!1);return u.body}));case"json":default:return a.pipe(b(u=>u.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new we().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,Qr(i,n))}post(e,n,i={}){return this.request("POST",e,Qr(i,n))}put(e,n,i={}){return this.request("PUT",e,Qr(i,n))}static \u0275fac=function(n){return new(n||t)(m(it))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var cc=new C("");function As(t,r){return r(t)}function lc(t,r){return(e,n)=>r.intercept(e,{handle:i=>t(i,n)})}function dc(t,r,e){return(n,i)=>X(e,()=>r(n,o=>t(o,i)))}var Ts=new C(""),ti=new C(""),_s=new C(""),ni=new C("",{providedIn:"root",factory:()=>!0});function hc(){let t=null;return(r,e)=>{t===null&&(t=(d(Ts,{optional:!0})??[]).reduceRight(lc,As));let n=d(wt);if(d(ni)){let o=n.add();return t(r,e).pipe(je(()=>n.remove(o)))}else return t(r,e)}}var Nn=(()=>{class t extends it{backend;injector;chain=null;pendingTasks=d(wt);contributeToStability=d(ni);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(ti),...this.injector.get(_s,[])]));this.chain=n.reduceRight((i,o)=>dc(i,o,this.injector),As)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(je(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(m(Nt),m(Re))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var fc=/^\)\]\}',?\n/,pc=RegExp(`^${Es}:`,"m");function gc(t){return"responseURL"in t&&t.responseURL?t.responseURL:pc.test(t.getAllResponseHeaders())?t.getResponseHeader(Es):null}var ei=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?L(n.\u0275loadImpl()):p(null)).pipe(G(()=>new Li(o=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((S,E)=>s.setRequestHeader(S,E.join(","))),e.headers.has(ws)||s.setRequestHeader(ws,sc),!e.headers.has(ys)){let S=e.detectContentTypeHeader();S!==null&&s.setRequestHeader(ys,S)}if(e.responseType){let S=e.responseType.toLowerCase();s.responseType=S!=="json"?S:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let S=s.statusText||"OK",E=new Oe(s.getAllResponseHeaders()),B=gc(s)||e.url;return u=new Pn({headers:E,status:s.status,statusText:S,url:B}),u},l=()=>{let{headers:S,status:E,statusText:B,url:ee}=c(),M=null;E!==uc&&(M=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=M?ac:0);let Ue=E>=200&&E<300;if(e.responseType==="json"&&typeof M=="string"){let nn=M;M=M.replace(fc,"");try{M=M!==""?JSON.parse(M):null}catch(_a){M=nn,Ue&&(Ue=!1,M={error:_a,text:M})}}Ue?(o.next(new Lt({body:M,headers:S,status:E,statusText:B,url:ee||void 0})),o.complete()):o.error(new kt({error:M,headers:S,status:E,statusText:B,url:ee||void 0}))},h=S=>{let{url:E}=c(),B=new kt({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(B)},v=!1,g=S=>{v||(o.next(c()),v=!0);let E={type:We.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(E.total=S.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)},R=S=>{let E={type:We.UploadProgress,loaded:S.loaded};S.lengthComputable&&(E.total=S.total),o.next(E)};return s.addEventListener("load",l),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",R)),s.send(a),o.next({type:We.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",l),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",R)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(m(qe))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Is=new C(""),mc="XSRF-TOKEN",vc=new C("",{providedIn:"root",factory:()=>mc}),Dc="X-XSRF-TOKEN",yc=new C("",{providedIn:"root",factory:()=>Dc}),xt=class{},wc=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=It(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(m(O),m(vc))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Cc(t,r){let e=t.url.toLowerCase();if(!d(Is)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let n=d(xt).getToken(),i=d(yc);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),r(t)}var ri=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}(ri||{});function Ec(t,r){return{\u0275kind:t,\u0275providers:r}}function Sc(...t){let r=[bs,ei,Nn,{provide:it,useExisting:Nn},{provide:Nt,useFactory:()=>d(cc,{optional:!0})??d(ei)},{provide:ti,useValue:Cc,multi:!0},{provide:Is,useValue:!0},{provide:xt,useClass:wc}];for(let e of t)r.push(...e.\u0275providers);return on(r)}var Cs=new C("");function Rc(){return Ec(ri.LegacyInterceptors,[{provide:Cs,useFactory:hc},{provide:ti,useExisting:Cs,multi:!0}])}var Ms=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ac=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=m(Tc),i},providedIn:"root"})}return t})(),Tc=(()=>{class t extends Ac{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Ve.NONE:return n;case Ve.HTML:return nt(n,"HTML")?Ae(n):io(this._doc,String(n)).toString();case Ve.STYLE:return nt(n,"Style")?Ae(n):n;case Ve.SCRIPT:if(nt(n,"Script"))return Ae(n);throw new w(5200,!1);case Ve.URL:return nt(n,"URL")?Ae(n):ro(String(n));case Ve.RESOURCE_URL:if(nt(n,"ResourceURL"))return Ae(n);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return Ji(e)}bypassSecurityTrustStyle(e){return Qi(e)}bypassSecurityTrustScript(e){return eo(e)}bypassSecurityTrustUrl(e){return to(e)}bypassSecurityTrustResourceUrl(e){return no(e)}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y="primary",Kt=Symbol("RouteTitle"),ui=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ke(t){return new ui(t)}function Us(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Ic(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!le(t[e],r[e]))return!1;return!0}function le(t,r){let e=t?ci(t):void 0,n=r?ci(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Bs(t[i],r[i]))return!1;return!0}function ci(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Bs(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function js(t){return t.length>0?t[t.length-1]:null}function xe(t){return ki(t)?t:ln(t)?L(Promise.resolve(t)):p(t)}var Mc={exact:zs,subset:Vs},$s={exact:Fc,subset:Oc,ignored:()=>!0};function Fs(t,r,e){return Mc[e.paths](t.root,r.root,e.matrixParams)&&$s[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Fc(t,r){return le(t,r)}function zs(t,r,e){if(!Ze(t.segments,r.segments)||!xn(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!zs(t.children[n],r.children[n],e))return!1;return!0}function Oc(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Bs(t[e],r[e]))}function Vs(t,r,e){return Hs(t,r,r.segments,e)}function Hs(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Ze(i,e)||r.hasChildren()||!xn(i,e,n))}else if(t.segments.length===e.length){if(!Ze(t.segments,e)||!xn(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Vs(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Ze(t.segments,i)||!xn(t.segments,i,n)||!t.children[y]?!1:Hs(t.children[y],r,o,n)}}function xn(t,r,e){return r.every((n,i)=>$s[e](t[i].parameters,n.parameters))}var he=class{root;queryParams;fragment;_queryParamMap;constructor(r=new A([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ke(this.queryParams),this._queryParamMap}toString(){return Lc.serialize(this)}},A=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Un(this)}},Pe=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=Ke(this.parameters),this._parameterMap}toString(){return qs(this)}};function Pc(t,r){return Ze(t,r)&&t.every((e,n)=>le(e.parameters,r[n].parameters))}function Ze(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Nc(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===y&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==y&&(e=e.concat(r(i,n)))}),e}var Xe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new Ne,providedIn:"root"})}return t})(),Ne=class{parse(r){let e=new di(r);return new he(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Ut(r.root,!0)}`,n=Uc(r.queryParams),i=typeof r.fragment=="string"?`#${kc(r.fragment)}`:"";return`${e}${n}${i}`}},Lc=new Ne;function Un(t){return t.segments.map(r=>qs(r)).join("/")}function Ut(t,r){if(!t.hasChildren())return Un(t);if(r){let e=t.children[y]?Ut(t.children[y],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==y&&n.push(`${i}:${Ut(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Nc(t,(n,i)=>i===y?[Ut(t.children[y],!1)]:[`${i}:${Ut(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[y]!=null?`${Un(t)}/${e[0]}`:`${Un(t)}/(${e.join("//")})`}}function Gs(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ln(t){return Gs(t).replace(/%3B/gi,";")}function kc(t){return encodeURI(t)}function li(t){return Gs(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bn(t){return decodeURIComponent(t)}function Os(t){return Bn(t.replace(/\+/g,"%20"))}function qs(t){return`${li(t.path)}${xc(t.parameters)}`}function xc(t){return Object.entries(t).map(([r,e])=>`;${li(r)}=${li(e)}`).join("")}function Uc(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Ln(e)}=${Ln(i)}`).join("&"):`${Ln(e)}=${Ln(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Bc=/^[^\/()?;#]+/;function ii(t){let r=t.match(Bc);return r?r[0]:""}var jc=/^[^\/()?;=#]+/;function $c(t){let r=t.match(jc);return r?r[0]:""}var zc=/^[^=?&#]+/;function Vc(t){let r=t.match(zc);return r?r[0]:""}var Hc=/^[^&#]+/;function Gc(t){let r=t.match(Hc);return r?r[0]:""}var di=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new A([],{}):new A([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[y]=new A(r,e)),n}parseSegment(){let r=ii(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(r),new Pe(Bn(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=$c(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=ii(this.remaining);i&&(n=i,this.capture(n))}r[Bn(e)]=Bn(n)}parseQueryParam(r){let e=Vc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=Gc(this.remaining);s&&(n=s,this.capture(n))}let i=Os(e),o=Os(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=ii(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=y);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[y]:new A([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new w(4011,!1)}};function Ws(t){return t.segments.length>0?new A([],{[y]:t}):t}function Zs(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=Zs(i);if(n===y&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new A(t.segments,r);return qc(e)}function qc(t){if(t.numberOfChildren===1&&t.children[y]){let r=t.children[y];return new A(t.segments.concat(r.segments),r.children)}return t}function Le(t){return t instanceof he}function Ys(t,r,e=null,n=null){let i=Ks(t);return Xs(i,r,e,n)}function Ks(t){let r;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new A(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=Ws(n);return r??i}function Xs(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return oi(i,i,i,e,n);let o=Wc(r);if(o.toRoot())return oi(i,i,new A([],{}),e,n);let s=Zc(o,i,t),a=s.processChildren?jt(s.segmentGroup,s.index,o.commands):Qs(s.segmentGroup,s.index,o.commands);return oi(i,s.segmentGroup,a,e,n)}function $n(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function zt(t){return typeof t=="object"&&t!=null&&t.outlets}function oi(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===r?s=e:s=Js(t,r,e);let a=Ws(Zs(s));return new he(a,o,i)}function Js(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=Js(o,r,e)}),new A(t.segments,n)}var zn=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&$n(n[0]))throw new w(4003,!1);let i=n.find(zt);if(i&&i!==js(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Wc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new zn(!0,0,t);let r=0,e=!1,n=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===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new zn(e,r,n)}var ut=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Zc(t,r,e){if(t.isAbsolute)return new ut(r,!0,0);if(!e)return new ut(r,!1,NaN);if(e.parent===null)return new ut(e,!0,0);let n=$n(t.commands[0])?0:1,i=e.segments.length-1+n;return Yc(e,i,t.numberOfDoubleDots)}function Yc(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new ut(n,!1,i-o)}function Kc(t){return zt(t[0])?t[0].outlets:{[y]:t}}function Qs(t,r,e){if(t??=new A([],{}),t.segments.length===0&&t.hasChildren())return jt(t,r,e);let n=Xc(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new A(t.segments.slice(0,n.pathIndex),{});return o.children[y]=new A(t.segments.slice(n.pathIndex),t.children),jt(o,0,i)}else return n.match&&i.length===0?new A(t.segments,{}):n.match&&!t.hasChildren()?hi(t,r,e):n.match?jt(t,0,i):hi(t,r,e)}function jt(t,r,e){if(e.length===0)return new A(t.segments,{});{let n=Kc(e),i={};if(Object.keys(n).some(o=>o!==y)&&t.children[y]&&t.numberOfChildren===1&&t.children[y].segments.length===0){let o=jt(t.children[y],r,e);return new A(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Qs(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new A(t.segments,i)}}function Xc(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(zt(a))break;let u=`${a}`,c=n<e.length-1?e[n+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Ns(u,c,s))return o;n+=2}else{if(!Ns(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function hi(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(zt(o)){let u=Jc(o.outlets);return new A(n,u)}if(i===0&&$n(e[0])){let u=t.segments[r];n.push(new Pe(u.path,Ps(e[0]))),i++;continue}let s=zt(o)?o.outlets[y]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&$n(a)?(n.push(new Pe(s,Ps(a))),i+=2):(n.push(new Pe(s,{})),i++)}return new A(n,{})}function Jc(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=hi(new A([],{}),0,n))}),r}function Ps(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function Ns(t,r,e){return t==e.path&&le(r,e.parameters)}var jn="imperative",N=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}(N||{}),Z=class{id;url;constructor(r,e){this.id=r,this.url=e}},ke=class extends Z{type=N.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Y=class extends Z{urlAfterRedirects;type=N.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},H=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(H||{}),lt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(lt||{}),de=class extends Z{reason;code;type=N.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},fe=class extends Z{reason;code;type=N.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},dt=class extends Z{error;target;type=N.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Vt=class extends Z{urlAfterRedirects;state;type=N.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vn=class extends Z{urlAfterRedirects;state;type=N.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hn=class extends Z{urlAfterRedirects;state;shouldActivate;type=N.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gn=class extends Z{urlAfterRedirects;state;type=N.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qn=class extends Z{urlAfterRedirects;state;type=N.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wn=class{route;type=N.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Zn=class{route;type=N.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Yn=class{snapshot;type=N.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kn=class{snapshot;type=N.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xn=class{snapshot;type=N.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jn=class{snapshot;type=N.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ht=class{routerEvent;position;anchor;type=N.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Ht=class{},ft=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Qc(t,r){return t.providers&&!t._injector&&(t._injector=an(t.providers,r,`Route: ${t.path}`)),t._injector??r}function oe(t){return t.outlet||y}function el(t,r){let e=t.filter(n=>oe(n)===r);return e.push(...t.filter(n=>oe(n)!==r)),e}function Xt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Qn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Xt(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Je(this.rootInjector)}},Je=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Qn(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(m(Re))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),er=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=fi(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=fi(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=pi(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return pi(r,this._root).map(e=>e.value)}};function fi(t,r){if(t===r.value)return r;for(let e of r.children){let n=fi(t,e);if(n)return n}return null}function pi(t,r){if(t===r.value)return[r];for(let e of r.children){let n=pi(t,e);if(n.length)return n.unshift(r),n}return[]}var W=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function at(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Gt=class extends er{snapshot;constructor(r,e){super(r),this.snapshot=e,Ei(this,r)}toString(){return this.snapshot.toString()}};function ea(t){let r=tl(t),e=new K([new Pe("",{})]),n=new K({}),i=new K({}),o=new K({}),s=new K(""),a=new Ce(e,n,o,s,i,y,t,r.root);return a.snapshot=r.root,new Gt(new W(a,[]),r)}function tl(t){let r={},e={},n={},i="",o=new Ye([],r,n,i,e,y,t,null,{});return new qt("",new W(o,[]))}var Ce=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(b(c=>c[Kt]))??p(void 0),this.url=r,this.params=e,this.queryParams=n,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(b(r=>Ke(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(r=>Ke(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function tr(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:f(f({},r.params),t.params),data:f(f({},r.data),t.data),resolve:f(f(f(f({},t.data),r.data),i?.data),t._resolvedData)}:n={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&na(i)&&(n.resolve[Kt]=i.title),n}var Ye=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Kt]}constructor(r,e,n,i,o,s,a,u,c){this.url=r,this.params=e,this.queryParams=n,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??=Ke(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ke(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},qt=class extends er{url;constructor(r,e){super(e),this.url=r,Ei(this,e)}toString(){return ta(this._root)}};function Ei(t,r){r.value._routerState=t,r.children.forEach(e=>Ei(t,e))}function ta(t){let r=t.children.length>0?` { ${t.children.map(ta).join(", ")} } `:"";return`${t.value}${r}`}function si(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,le(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),le(r.params,e.params)||t.paramsSubject.next(e.params),Ic(r.url,e.url)||t.urlSubject.next(e.url),le(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function gi(t,r){let e=le(t.params,r.params)&&Pc(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||gi(t.parent,r.parent))}function na(t){return typeof t.title=="string"||t.title===null}var ra=new C(""),Si=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=y;activateEvents=new ze;deactivateEvents=new ze;attachEvents=new ze;detachEvents=new ze;routerOutletData=Gi(void 0);parentContexts=d(Je);location=d(Ge);changeDetector=d(Ie);inputBinder=d(Jt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)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 w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,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,n){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new mi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ae]})}return t})(),mi=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Ce?this.route:r===Je?this.childContexts:r===ra?this.outletData:this.parent.get(r,e)}},Jt=new C(""),Ri=(()=>{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:n}=e,i=rn([n.queryParams,n.params,n.data]).pipe(G(([o,s,a],u)=>(a=f(f(f({},o),s),a),u===0?p(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Io(n.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(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),bi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=ho({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&Do(0,"router-outlet")},dependencies:[Si],encapsulation:2})}return t})();function Ai(t){let r=t.children&&t.children.map(Ai),e=r?k(f({},t),{children:r}):f({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==y&&(e.component=bi),e}function nl(t,r,e){let n=Wt(t,r._root,e?e._root:void 0);return new Gt(n,r)}function Wt(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=rl(t,r,e);return new W(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>Wt(t,a)),s}}let n=il(r.value),i=r.children.map(o=>Wt(t,o));return new W(n,i)}}function rl(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Wt(t,n,i);return Wt(t,n)})}function il(t){return new Ce(new K(t.url),new K(t.params),new K(t.queryParams),new K(t.fragment),new K(t.data),t.outlet,t.component,t)}var pt=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},ia="ngNavigationCancelingError";function nr(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=Le(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=oa(!1,H.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function oa(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ia]=!0,e.cancellationCode=r,e}function ol(t){return sa(t)&&Le(t.url)}function sa(t){return!!t&&t[ia]}var sl=(t,r,e,n)=>b(i=>(new vi(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),vi=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),si(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=at(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=at(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=at(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=at(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Jn(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Kn(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(si(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.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),si(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},rr=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},ct=class{component;route;constructor(r,e){this.component=r,this.route=e}};function al(t,r,e){let n=t._root,i=r?r._root:null;return Bt(n,i,e,[n.value])}function ul(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function mt(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Vi(t)?t:r.get(t):n}function Bt(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=at(r);return t.children.forEach(s=>{cl(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>$t(a,e.getContext(s),i)),i}function cl(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=ll(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new rr(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Bt(t,r,a?a.children:null,n,i):Bt(t,r,e,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ct(a.outlet.component,s))}else s&&$t(r,a,i),i.canActivateChecks.push(new rr(n)),o.component?Bt(t,null,a?a.children:null,n,i):Bt(t,null,e,n,i);return i}function ll(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Ze(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Ze(t.url,r.url)||!le(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gi(t,r)||!le(t.queryParams,r.queryParams);case"paramsChange":default:return!gi(t,r)}}function $t(t,r,e){let n=at(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?$t(s,r.children.getContext(o),e):$t(s,null,e):$t(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new ct(r.outlet.component,i)):e.canDeactivateChecks.push(new ct(null,i)):e.canDeactivateChecks.push(new ct(null,i))}function Qt(t){return typeof t=="function"}function dl(t){return typeof t=="boolean"}function hl(t){return t&&Qt(t.canLoad)}function fl(t){return t&&Qt(t.canActivate)}function pl(t){return t&&Qt(t.canActivateChild)}function gl(t){return t&&Qt(t.canDeactivate)}function ml(t){return t&&Qt(t.canMatch)}function aa(t){return t instanceof xi||t?.name==="EmptyError"}var kn=Symbol("INITIAL_VALUE");function gt(){return G(t=>rn(t.map(r=>r.pipe(et(1),$i(kn)))).pipe(b(r=>{for(let e of r)if(e!==!0){if(e===kn)return kn;if(e===!1||vl(e))return e}return!0}),se(r=>r!==kn),et(1)))}function vl(t){return Le(t)||t instanceof pt}function Dl(t,r){return j(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?p(k(f({},e),{guardsResult:!0})):yl(s,n,i,t).pipe(j(a=>a&&dl(a)?wl(n,o,t,r):p(a)),b(a=>k(f({},e),{guardsResult:a})))})}function yl(t,r,e,n){return L(t).pipe(j(i=>bl(i.component,i.route,e,r,n)),Ee(i=>i!==!0,!0))}function wl(t,r,e,n){return L(r).pipe(me(i=>Ui(El(i.route.parent,n),Cl(i.route,n),Rl(t,i.path,e),Sl(t,i.route,e))),Ee(i=>i!==!0,!0))}function Cl(t,r){return t!==null&&r&&r(new Xn(t)),p(!0)}function El(t,r){return t!==null&&r&&r(new Yn(t)),p(!0)}function Sl(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return p(!0);let i=n.map(o=>fr(()=>{let s=Xt(r)??e,a=mt(o,s),u=fl(a)?a.canActivate(r,t):X(s,()=>a(r,t));return xe(u).pipe(Ee())}));return p(i).pipe(gt())}function Rl(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>ul(s)).filter(s=>s!==null).map(s=>fr(()=>{let a=s.guards.map(u=>{let c=Xt(s.node)??e,l=mt(u,c),h=pl(l)?l.canActivateChild(n,t):X(c,()=>l(n,t));return xe(h).pipe(Ee())});return p(a).pipe(gt())}));return p(o).pipe(gt())}function bl(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return p(!0);let s=o.map(a=>{let u=Xt(r)??i,c=mt(a,u),l=gl(c)?c.canDeactivate(t,r,e,n):X(u,()=>c(t,r,e,n));return xe(l).pipe(Ee())});return p(s).pipe(gt())}function Al(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return p(!0);let o=i.map(s=>{let a=mt(s,t),u=hl(a)?a.canLoad(r,e):X(t,()=>a(r,e));return xe(u)});return p(o).pipe(gt(),ua(n))}function ua(t){return Ni(x(r=>{if(typeof r!="boolean")throw nr(t,r)}),b(r=>r===!0))}function Tl(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=mt(s,t),u=ml(a)?a.canMatch(r,e):X(t,()=>a(r,e));return xe(u)});return p(o).pipe(gt(),ua(n))}var Zt=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},Yt=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function st(t){return Dt(new Zt(t))}function _l(t){return Dt(new w(4e3,!1))}function Il(t){return Dt(oa(!1,H.GuardRejected))}var Di=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return p(n);if(i.numberOfChildren>1||!i.children[y])return _l(`${r.redirectTo}`);i=i.children[y]}}applyRedirectCommands(r,e,n,i,o){if(typeof e!="string"){let a=e,{queryParams:u,fragment:c,routeConfig:l,url:h,outlet:v,params:g,data:R,title:S}=i,E=X(o,()=>a({params:g,data:R,queryParams:u,fragment:c,routeConfig:l,url:h,outlet:v,title:S}));if(E instanceof he)throw new Yt(E);e=E}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new Yt(s);return s}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new he(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(r,u,n,i)}),new A(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},yi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ml(t,r,e,n,i){let o=ca(t,r,e);return o.matched?(n=Qc(r,n),Tl(n,r,e,i).pipe(b(s=>s===!0?o:f({},yi)))):p(o)}function ca(t,r,e){if(r.path==="**")return Fl(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},yi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Us)(e,t,r);if(!i)return f({},yi);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?f(f({},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 Fl(t){return{matched:!0,parameters:t.length>0?js(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Ls(t,r,e,n){return e.length>0&&Nl(t,e,n)?{segmentGroup:new A(r,Pl(n,new A(e,t.children))),slicedSegments:[]}:e.length===0&&Ll(t,e,n)?{segmentGroup:new A(t.segments,Ol(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new A(t.segments,t.children),slicedSegments:e}}function Ol(t,r,e,n){let i={};for(let o of e)if(or(t,r,o)&&!n[oe(o)]){let s=new A([],{});i[oe(o)]=s}return f(f({},n),i)}function Pl(t,r){let e={};e[y]=r;for(let n of t)if(n.path===""&&oe(n)!==y){let i=new A([],{});e[oe(n)]=i}return e}function Nl(t,r,e){return e.some(n=>or(t,r,n)&&oe(n)!==y)}function Ll(t,r,e){return e.some(n=>or(t,r,n))}function or(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function kl(t,r,e){return r.length===0&&!t.children[e]}var wi=class{};function xl(t,r,e,n,i,o,s="emptyOnly"){return new Ci(t,r,e,n,i,s,o).recognize()}var Ul=31,Ci=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Di(this.urlSerializer,this.urlTree)}noMatchError(r){return new w(4002,`'${r.segmentGroup}'`)}recognize(){let r=Ls(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(b(({children:e,rootSnapshot:n})=>{let i=new W(n,e),o=new qt("",i),s=Ys(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new Ye([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),y,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,y,e).pipe(b(n=>({children:n,rootSnapshot:e})),Be(n=>{if(n instanceof Yt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Zt?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(b(s=>s instanceof W?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return L(o).pipe(me(s=>{let a=n.children[s],u=el(e,s);return this.processSegmentGroup(r,u,a,s,i)}),ji((s,a)=>(s.push(...a),s)),pr(null),Bi(),j(s=>{if(s===null)return st(n);let a=la(s);return Bl(a),p(a)}))}processSegment(r,e,n,i,o,s,a){return L(e).pipe(me(u=>this.processSegmentAgainstRoute(u._injector??r,e,u,n,i,o,s,a).pipe(Be(c=>{if(c instanceof Zt)return p(null);throw c}))),Ee(u=>!!u),Be(u=>{if(aa(u))return kl(n,i,o)?p(new wi):st(n);throw u}))}processSegmentAgainstRoute(r,e,n,i,o,s,a,u){return oe(n)!==s&&(s===y||!or(i,o,n))?st(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,u):st(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:h,remainingSegments:v}=ca(e,i,o);if(!u)return st(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ul&&(this.allowRedirects=!1));let g=new Ye(o,c,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,ks(i),oe(i),i.component??i._loadedComponent??null,i,xs(i)),R=tr(g,a,this.paramsInheritanceStrategy);g.params=Object.freeze(R.params),g.data=Object.freeze(R.data);let S=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,g,r);return this.applyRedirects.lineralizeSegments(i,S).pipe(j(E=>this.processSegment(r,n,e,E.concat(v),s,!1,a)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let a=Ml(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(G(u=>u.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(G(({routes:c})=>{let l=n._loadedInjector??r,{parameters:h,consumedSegments:v,remainingSegments:g}=u,R=new Ye(v,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,ks(n),oe(n),n.component??n._loadedComponent??null,n,xs(n)),S=tr(R,s,this.paramsInheritanceStrategy);R.params=Object.freeze(S.params),R.data=Object.freeze(S.data);let{segmentGroup:E,slicedSegments:B}=Ls(e,v,g,c);if(B.length===0&&E.hasChildren())return this.processChildren(l,c,E,R).pipe(b(M=>new W(R,M)));if(c.length===0&&B.length===0)return p(new W(R,[]));let ee=oe(n)===o;return this.processSegment(l,c,E,B,ee?y:o,!0,R).pipe(b(M=>new W(R,M instanceof W?[M]:[])))}))):st(e)))}getChildConfig(r,e,n){return e.children?p({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Al(r,e,n,this.urlSerializer).pipe(j(i=>i?this.configLoader.loadChildren(r,e).pipe(x(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):Il(e))):p({routes:[],injector:r})}};function Bl(t){t.sort((r,e)=>r.value.outlet===y?-1:e.value.outlet===y?1:r.value.outlet.localeCompare(e.value.outlet))}function jl(t){let r=t.value.routeConfig;return r&&r.path===""}function la(t){let r=[],e=new Set;for(let n of t){if(!jl(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=la(n.children);r.push(new W(n.value,i))}return r.filter(n=>!e.has(n))}function ks(t){return t.data||{}}function xs(t){return t.resolve||{}}function $l(t,r,e,n,i,o){return j(s=>xl(t,r,e,n,s.extractedUrl,i,o).pipe(b(({state:a,tree:u})=>k(f({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function zl(t,r){return j(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return p(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 da(u))s.add(c);let a=0;return L(s).pipe(me(u=>o.has(u)?Vl(u,n,t,r):(u.data=tr(u,u.parent,t).resolve,p(void 0))),x(()=>a++),gr(1),j(u=>a===s.size?p(e):ge))})}function da(t){let r=t.children.map(e=>da(e)).flat();return[t,...r]}function Vl(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!na(i)&&(o[Kt]=i.title),Hl(o,t,r,n).pipe(b(s=>(t._resolvedData=s,t.data=tr(t,t.parent,e).resolve,null)))}function Hl(t,r,e,n){let i=ci(t);if(i.length===0)return p({});let o={};return L(i).pipe(j(s=>Gl(t[s],r,e,n).pipe(Ee(),x(a=>{if(a instanceof pt)throw nr(new Ne,a);o[s]=a}))),gr(1),b(()=>o),Be(s=>aa(s)?ge:Dt(s)))}function Gl(t,r,e,n){let i=Xt(r)??n,o=mt(t,i),s=o.resolve?o.resolve(r,e):X(i,()=>o(r,e));return xe(s)}function ai(t){return G(r=>{let e=t(r);return e?L(e).pipe(b(()=>r)):p(r)})}var Ti=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===y);return n}getResolvedTitleForRoute(e){return e.data[Kt]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(ha),providedIn:"root"})}return t})(),ha=(()=>{class t extends Ti{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(m(Ms))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qe=new C("",{providedIn:"root",factory:()=>({})}),vt=new C(""),sr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(So);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=xe(e.loadComponent()).pipe(b(pa),x(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),je(()=>{this.componentLoaders.delete(e)})),i=new hr(n,()=>new te).pipe(dr());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return p({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=fa(n,this.compiler,e,this.onLoadEndListener).pipe(je(()=>{this.childrenLoaders.delete(n)})),s=new hr(o,()=>new te).pipe(dr());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fa(t,r,e,n){return xe(t.loadChildren()).pipe(b(pa),j(i=>i instanceof co||Array.isArray(i)?p(i):L(r.compileModuleAsync(i))),b(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(vt,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ai),injector:o}}))}function ql(t){return t&&typeof t=="object"&&"default"in t}function pa(t){return ql(t)?t.default:t}var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Wl),providedIn:"root"})}return t})(),Wl=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_i=new C(""),Ii=new C("");function ga(t,r,e){let n=t.get(Ii),i=t.get(O);return t.get(J).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),Zl(t))),{onViewTransitionCreated:u}=n;return u&&X(t,()=>u({transition:a,from:r,to:e})),s})}function Zl(t){return new Promise(r=>{Xi({read:()=>setTimeout(r)},{injector:t})})}var Mi=new C(""),ur=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new te;transitionAbortSubject=new te;configLoader=d(sr);environmentInjector=d(Re);destroyRef=d(yr);urlSerializer=d(Xe);rootContexts=d(Je);location=d(Fe);inputBindingEnabled=d(Jt,{optional:!0})!==null;titleStrategy=d(Ti);options=d(Qe,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(ar);createViewTransition=d(_i,{optional:!0});navigationErrorHandler=d(Mi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Wn(i)),n=i=>this.events.next(new Zn(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(k(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))}setupNavigations(e){return this.transitions=new K(null),this.transitions.pipe(se(n=>n!==null),G(n=>{let i=!1,o=!1;return p(n).pipe(G(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",H.SupersededByNewNavigation),ge;this.currentTransition=n,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?k(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&u!=="reload"){let c="";return this.events.next(new fe(s.id,this.urlSerializer.serialize(s.rawUrl),c,lt.IgnoredSameUrlNavigation)),s.resolve(!1),ge}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return p(s).pipe(G(c=>(this.events.next(new ke(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ge:Promise.resolve(c))),$l(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),x(c=>{n.targetSnapshot=c.targetSnapshot,n.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=k(f({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let l=new Vt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:l,source:h,restoredState:v,extras:g}=s,R=new ke(c,this.urlSerializer.serialize(l),h,v);this.events.next(R);let S=ea(this.rootComponentType).snapshot;return this.currentTransition=n=k(f({},s),{targetSnapshot:S,urlAfterRedirects:l,extras:k(f({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,p(n)}else{let c="";return this.events.next(new fe(s.id,this.urlSerializer.serialize(s.extractedUrl),c,lt.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ge}}),x(s=>{let a=new Vn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),b(s=>(this.currentTransition=n=k(f({},s),{guards:al(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n)),Dl(this.environmentInjector,s=>this.events.next(s)),x(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw nr(this.urlSerializer,s.guardsResult);let a=new Hn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),se(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",H.GuardRejected),!1)),ai(s=>{if(s.guards.canActivateChecks.length!==0)return p(s).pipe(x(a=>{let u=new Gn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),G(a=>{let u=!1;return p(a).pipe(zl(this.paramsInheritanceStrategy,this.environmentInjector),x({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(a,"",H.NoDataFromResolver)}}))}),x(a=>{let u=new qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),ai(s=>{let a=u=>{let c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(x(l=>{u.component=l}),b(()=>{})));for(let l of u.children)c.push(...a(l));return c};return rn(a(s.targetSnapshot.root)).pipe(pr(null),et(1))}),ai(()=>this.afterPreactivation()),G(()=>{let{currentSnapshot:s,targetSnapshot:a}=n,u=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return u?L(u).pipe(b(()=>n)):p(n)}),b(s=>{let a=nl(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=n=k(f({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,n}),x(()=>{this.events.next(new Ht)}),sl(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),et(1),x({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Y(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),zi(this.transitionAbortSubject.pipe(x(s=>{throw s}))),je(()=>{!i&&!o&&this.cancelNavigationTransition(n,"",H.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null)}),Be(s=>{if(this.destroyed)return n.resolve(!1),ge;if(o=!0,sa(s))this.events.next(new de(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),ol(s)?this.events.next(new ft(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let a=new dt(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let u=X(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(u instanceof pt){let{message:c,cancellationCode:l}=nr(this.urlSerializer,u);this.events.next(new de(n.id,this.urlSerializer.serialize(n.extractedUrl),c,l)),this.events.next(new ft(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(u){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(u)}}return ge}))}))}cancelNavigationTransition(e,n,i){let o=new de(e.id,this.urlSerializer.serialize(e.extractedUrl),n,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))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yl(t){return t!==jn}var ma=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Kl),providedIn:"root"})}return t})(),ir=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Kl=(()=>{class t extends ir{static \u0275fac=(()=>{let e;return function(i){return(e||(e=vr(t)))(i||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),va=(()=>{class t{urlSerializer=d(Xe);options=d(Qe,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Fe);urlHandlingStrategy=d(ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new he;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof he?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=ea(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(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Xl),providedIn:"root"})}return t})(),Xl=(()=>{class t extends va{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(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof ke?this.updateStateMemento():e instanceof fe?this.commitTransition(n):e instanceof Vt?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Ht?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof de&&(e.code===H.GuardRejected||e.code===H.NoDataFromResolver)?this.restoreHistory(n):e instanceof dt?this.restoreHistory(n,!0):e instanceof Y&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:o,state:s}=n;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=f(f({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=f(f({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,n=!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"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=vr(t)))(i||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cr(t,r){t.events.pipe(se(e=>e instanceof Y||e instanceof de||e instanceof dt||e instanceof fe),b(e=>e instanceof Y||e instanceof fe?0:(e instanceof de?e.code===H.Redirect||e.code===H.SupersededByNewNavigation:!1)?2:1),se(e=>e!==2),et(1)).subscribe(()=>{r()})}var Jl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ql={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},pe=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(Rr);stateManager=d(va);options=d(Qe,{optional:!0})||{};pendingTasks=d(wt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(ur);urlSerializer=d(Xe);location=d(Fe);urlHandlingStrategy=d(ar);_events=new te;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(ma);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(vt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(Jt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Pi;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof de&&n.code!==H.Redirect&&n.code!==H.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Y)this.navigated=!0;else if(n instanceof ft){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),u=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Yl(i.source)},s);this.scheduleNavigation(a,jn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}td(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.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),jn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=f({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ai),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,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=n,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let v=i?i.snapshot:this.routerState.snapshot.root;h=Ks(v)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return Xs(h,e,l,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=Le(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,jn,null,n)}navigate(e,n={skipLocationChange:!1}){return ed(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=f({},Jl):n===!1?i=f({},Ql):i=n,Le(e))return Fs(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Fs(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,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((h,v)=>{a=h,u=v});let l=this.pendingTasks.add();return cr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,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(h=>Promise.reject(h))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ed(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new w(4008,!1)}function td(t){return!(t instanceof Ht)&&!(t instanceof ft)}var lr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new te;constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Y&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Le(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||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),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:oo(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Le(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(n){return new(n||t)(T(pe),T(Ce),Dr("tabindex"),T(Te),T(be),T(re))};static \u0275dir=$({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&yo("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&mo("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",De],skipLocationChange:[2,"skipLocationChange","skipLocationChange",De],replaceUrl:[2,"replaceUrl","replaceUrl",De],routerLink:"routerLink"},features:[ae]})}return t})(),nd=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ze;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof Y&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(yt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=L(e).pipe(yt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=rd(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(T(pe),T(be),T(Te),T(Ie),T(lr,8))};static \u0275dir=$({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&wo(o,lr,5),n&2){let s;Co(s=Eo())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ae]})}return t})();function rd(t){return!!t.paths}var en=class{};var Da=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,o){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(se(e=>e instanceof Y),me(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let i=[];for(let o of n){o.providers&&!o._injector&&(o._injector=an(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 L(i).pipe(yt())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=p(null);let o=i.pipe(j(s=>s===null?p(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return L([o,s]).pipe(yt())}else return o})}static \u0275fac=function(n){return new(n||t)(m(pe),m(Re),m(en),m(sr))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ya=new C(""),id=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,i,o,s={}){this.urlSerializer=e,this.transitions=n,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 ke?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Y?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof fe&&e.code===lt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ht&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ht(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){ao()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function od(t){return t.routerState.root}function tn(t,r){return{\u0275kind:t,\u0275providers:r}}function sd(){let t=d($e);return r=>{let e=t.get(Tr);if(r!==e.components[0])return;let n=t.get(pe),i=t.get(wa);t.get(Oi)===1&&n.initialNavigation(),t.get(Sa,null,mr.Optional)?.setUpPreloading(),t.get(ya,null,mr.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var wa=new C("",{factory:()=>new te}),Oi=new C("",{providedIn:"root",factory:()=>1});function Ca(){let t=[{provide:Oi,useValue:0},Ar(()=>{let r=d($e);return r.get(Or,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(pe),o=r.get(wa);cr(i,()=>{n(!0)}),r.get(ur).afterPreactivation=()=>(n(!0),o.closed?p(void 0):o),i.initialNavigation()}))})];return tn(2,t)}function Ea(){let t=[Ar(()=>{d(pe).setUpLocationChangeListener()}),{provide:Oi,useValue:2}];return tn(3,t)}var Sa=new C("");function Ra(t){return tn(0,[{provide:Sa,useExisting:Da},{provide:en,useExisting:t}])}function ba(){return tn(8,[Ri,{provide:Jt,useExisting:Ri}])}function Aa(t){sn("NgRouterViewTransitions");let r=[{provide:_i,useValue:ga},{provide:Ii,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return tn(9,r)}var Ta=[Fe,{provide:Xe,useClass:Ne},pe,Je,{provide:Ce,useFactory:od,deps:[pe]},sr,[]],ad=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Ta,[],{provide:vt,multi:!0,useValue:e},[],n?.errorHandler?{provide:Mi,useValue:n.errorHandler}:[],{provide:Qe,useValue:n||{}},n?.useHash?cd():ld(),ud(),n?.preloadingStrategy?Ra(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?dd(n):[],n?.bindToComponentInputs?ba().\u0275providers:[],n?.enableViewTransitions?Aa().\u0275providers:[],hd()]}}static forChild(e){return{ngModule:t,providers:[{provide:vt,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({})}return t})();function ud(){return{provide:ya,useFactory:()=>{let t=d(is),r=d(J),e=d(Qe),n=d(ur),i=d(Xe);return e.scrollOffset&&t.setOffset(e.scrollOffset),new id(i,n,t,r,e)}}}function cd(){return{provide:re,useClass:$r}}function ld(){return{provide:re,useClass:fn}}function dd(t){return[t.initialNavigation==="disabled"?Ea().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ca().\u0275providers:[]]}var Fi=new C("");function hd(){return[{provide:Fi,useFactory:sd},{provide:go,multi:!0,useExisting:Fi}]}export{O as a,ue as b,Fe as c,Ja as d,Qa as e,Qo as f,eu as g,tu as h,nu as i,ou as j,au as k,uu as l,cu as m,Hr as n,hu as o,Rn as p,Rh as q,bh as r,Jr as s,Xu as t,ec as u,Oe as v,we as w,bs as x,Ts as y,Sc as z,Rc as A,Ms as B,Ac as C,Y as D,Ce as E,Si as F,pe as G,lr as H,nd as I,ad as J};
@@ -1 +1 @@
1
- import{a as d}from"./chunk-SM3P57SO.js";import{Aa as o,Ca as a,Gb as r,Kb as s,Xb as l,ac as C,ic as c,jc as f,kc as m}from"./chunk-B7KTCPKC.js";var u=(()=>{class t extends d{static \u0275fac=(()=>{let n;return function(e){return(n||(n=a(t)))(e||t)}})();static \u0275cmp=r({type:t,selectors:[["ChevronLeftIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,e){i&1&&(o(),c(0,"svg",0),m(1,"path",1),f()),i&2&&(C(e.getClassNames()),l("aria-label",e.ariaLabel)("aria-hidden",e.ariaHidden)("role",e.role))},encapsulation:2})}return t})();export{u as a};
1
+ import{a as d}from"./chunk-DFGZ4L65.js";import{Aa as o,Ca as a,Gb as r,Kb as s,Xb as l,ac as C,ic as c,jc as f,kc as m}from"./chunk-OJMQBH6T.js";var u=(()=>{class t extends d{static \u0275fac=(()=>{let n;return function(e){return(n||(n=a(t)))(e||t)}})();static \u0275cmp=r({type:t,selectors:[["ChevronLeftIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,e){i&1&&(o(),c(0,"svg",0),m(1,"path",1),f()),i&2&&(C(e.getClassNames()),l("aria-label",e.ariaLabel)("aria-hidden",e.ariaHidden)("role",e.role))},encapsulation:2})}return t})();export{u as a};
@@ -1 +1 @@
1
- import{g as k,m as y,n as S}from"./chunk-M2FCTYGU.js";import{$c as b,Gb as P,Gc as f,Hc as v,Jc as N,Ka as l,Mb as h,Oa as x,Yb as c,ad as _,dc as w,ic as i,jc as o,kc as d,oc as g,rb as r,tc as p,uc as s,ya as u,za as m}from"./chunk-B7KTCPKC.js";function T(n,C){if(n&1){let t=g();i(0,"span",10),p("click",function(){u(t);let e=s();return e.getTotal(),m(e.hasClicked=!0)}),i(1,"i",11),f(2,"?"),o()()}}function M(n,C){if(n&1&&(i(0,"span"),f(1),b(2,"number"),o()),n&2){let t=s();r(),v(_(2,1,t.paginationTotal))}}function E(n,C){if(n&1){let t=g();i(0,"button",12),p("click",function(){u(t);let e=s();return m(e.NextPage())}),d(1,"i",13),o()}}function I(n,C){if(n&1){let t=g();i(0,"button",14),p("click",function(){u(t);let e=s();return m(e.NextPage())}),d(1,"i",13),o()}if(n&2){let t=s();c("disabled",t.filter.PageSize*(t.filter.PageNumber-1)+t.totaldata==t.paginationTotal||t.totaldata<t.filter.PageSize)}}var q=(()=>{class n{constructor(){this.get=new l,this.change=new l,this.next=new l,this.previous=new l,this.total=new l,this.hasClicked=!1,this.alwaysShowNextButton=x(!1)}changePage(t){this.filter.PageNumber=t.pageIndex+1,this.change.emit(this.filter)}getTotal(){this.total.emit()}PreviousPage(){this.previous.emit()}NextPage(){this.next.emit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=P({type:n,selectors:[["app-mat-paginator-no-count"]],inputs:{filter:"filter",paginationTotal:"paginationTotal",totaldata:"totaldata",hasClicked:"hasClicked",alwaysShowNextButton:[1,"alwaysShowNextButton"]},outputs:{get:"get",change:"change",next:"next",previous:"previous",total:"total"},decls:13,vars:10,consts:[[1,"d-flex","justify-content-end","mt-5"],[1,"d-sm-block","collapse","mt-3","me-5"],[1,"text-dark","hidden-xxs"],["style","cursor: pointer",3,"click",4,"ngIf"],[4,"ngIf"],[1,"btn-group"],["role","button",1,"btn","btn-outline-secondary","btn-sm","me-3","border-0",3,"click","disabled"],[1,"fa-solid","fa-chevron-left"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"disabled"],[2,"cursor","pointer",3,"click"],["title","Retreive rows count",1,"border","p-3"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"click"],[1,"fa-solid","fa-chevron-right"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"click","disabled"]],template:function(a,e){a&1&&(i(0,"div",0)(1,"div",1)(2,"div",2),f(3),b(4,"number"),b(5,"number"),h(6,T,3,0,"span",3)(7,M,3,3,"span",4),o()(),i(8,"div",5)(9,"button",6),p("click",function(){return e.PreviousPage()}),d(10,"i",7),o(),h(11,E,2,0,"button",8)(12,I,2,1,"button",9),o()()),a&2&&(r(3),N(" Showing ",_(4,6,e.filter.PageSize*(e.filter.PageNumber-1)+1)," - ",_(5,8,e.filter.PageSize*(e.filter.PageNumber-1)+e.totaldata)," of "),r(3),c("ngIf",!e.hasClicked),r(),c("ngIf",e.hasClicked),r(2),c("disabled",e.filter.PageNumber==1),r(2),w(e.alwaysShowNextButton()?11:12))},dependencies:[S,k,y],encapsulation:2})}}return n})();export{q as a};
1
+ import{g as k,m as y,n as S}from"./chunk-FXQKRJWU.js";import{$c as b,Gb as P,Gc as f,Hc as v,Jc as N,Ka as l,Mb as h,Oa as x,Yb as c,ad as _,dc as w,ic as i,jc as o,kc as d,oc as g,rb as r,tc as p,uc as s,ya as u,za as m}from"./chunk-OJMQBH6T.js";function T(n,C){if(n&1){let t=g();i(0,"span",10),p("click",function(){u(t);let e=s();return e.getTotal(),m(e.hasClicked=!0)}),i(1,"i",11),f(2,"?"),o()()}}function M(n,C){if(n&1&&(i(0,"span"),f(1),b(2,"number"),o()),n&2){let t=s();r(),v(_(2,1,t.paginationTotal))}}function E(n,C){if(n&1){let t=g();i(0,"button",12),p("click",function(){u(t);let e=s();return m(e.NextPage())}),d(1,"i",13),o()}}function I(n,C){if(n&1){let t=g();i(0,"button",14),p("click",function(){u(t);let e=s();return m(e.NextPage())}),d(1,"i",13),o()}if(n&2){let t=s();c("disabled",t.filter.PageSize*(t.filter.PageNumber-1)+t.totaldata==t.paginationTotal||t.totaldata<t.filter.PageSize)}}var q=(()=>{class n{constructor(){this.get=new l,this.change=new l,this.next=new l,this.previous=new l,this.total=new l,this.hasClicked=!1,this.alwaysShowNextButton=x(!1)}changePage(t){this.filter.PageNumber=t.pageIndex+1,this.change.emit(this.filter)}getTotal(){this.total.emit()}PreviousPage(){this.previous.emit()}NextPage(){this.next.emit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=P({type:n,selectors:[["app-mat-paginator-no-count"]],inputs:{filter:"filter",paginationTotal:"paginationTotal",totaldata:"totaldata",hasClicked:"hasClicked",alwaysShowNextButton:[1,"alwaysShowNextButton"]},outputs:{get:"get",change:"change",next:"next",previous:"previous",total:"total"},decls:13,vars:10,consts:[[1,"d-flex","justify-content-end","mt-5"],[1,"d-sm-block","collapse","mt-3","me-5"],[1,"text-dark","hidden-xxs"],["style","cursor: pointer",3,"click",4,"ngIf"],[4,"ngIf"],[1,"btn-group"],["role","button",1,"btn","btn-outline-secondary","btn-sm","me-3","border-0",3,"click","disabled"],[1,"fa-solid","fa-chevron-left"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"disabled"],[2,"cursor","pointer",3,"click"],["title","Retreive rows count",1,"border","p-3"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"click"],[1,"fa-solid","fa-chevron-right"],["role","button",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"click","disabled"]],template:function(a,e){a&1&&(i(0,"div",0)(1,"div",1)(2,"div",2),f(3),b(4,"number"),b(5,"number"),h(6,T,3,0,"span",3)(7,M,3,3,"span",4),o()(),i(8,"div",5)(9,"button",6),p("click",function(){return e.PreviousPage()}),d(10,"i",7),o(),h(11,E,2,0,"button",8)(12,I,2,1,"button",9),o()()),a&2&&(r(3),N(" Showing ",_(4,6,e.filter.PageSize*(e.filter.PageNumber-1)+1)," - ",_(5,8,e.filter.PageSize*(e.filter.PageNumber-1)+e.totaldata)," of "),r(3),c("ngIf",!e.hasClicked),r(),c("ngIf",e.hasClicked),r(2),c("disabled",e.filter.PageNumber==1),r(2),w(e.alwaysShowNextButton()?11:12))},dependencies:[S,k,y],encapsulation:2})}}return n})();export{q as a};
@@ -1 +1 @@
1
- import{a as ae}from"./chunk-2ODVHD2K.js";import{a as ie}from"./chunk-EPVCMYCI.js";import"./chunk-DL66NZ2A.js";import"./chunk-L3FX4O3H.js";import{a as oe,b as re}from"./chunk-B5V5KFQU.js";import"./chunk-E4Z7OR75.js";import"./chunk-PNITO7BE.js";import"./chunk-E4KNET2R.js";import"./chunk-3LRWABHB.js";import"./chunk-74IXJYWO.js";import"./chunk-GIRXMYNI.js";import"./chunk-IIZDEGGW.js";import"./chunk-AQTXFEBA.js";import"./chunk-SDUUFQUI.js";import"./chunk-5OHRA4AS.js";import"./chunk-IL5JIRWJ.js";import"./chunk-MH4SJTQX.js";import"./chunk-3RK6DDJD.js";import"./chunk-CUB2QFUO.js";import"./chunk-KALG6D6L.js";import"./chunk-CMTBBXR5.js";import{h as Q}from"./chunk-ZKZ5DIIR.js";import"./chunk-Z3ITXK3D.js";import"./chunk-ACIMXBIC.js";import"./chunk-AEOSNAHH.js";import"./chunk-TGMCGROM.js";import"./chunk-OWQ3RWNF.js";import{e as K}from"./chunk-JXSBFTQM.js";import"./chunk-K5XRGNWG.js";import{a as X,b as Z,d as $,e as ee}from"./chunk-5JVEEL2T.js";import{c as J}from"./chunk-PW42BQIY.js";import{m as te,n as ne}from"./chunk-UGVEAL7H.js";import{A as Y,c as U,h as j,m as q,o as G}from"./chunk-6QYD6NIJ.js";import"./chunk-ATZ475FN.js";import"./chunk-SWQXSJ7O.js";import"./chunk-IHNN4Q2N.js";import"./chunk-EQIFZBRG.js";import{H as A,J as H,f as W,g as F,k as B,m as k,n as z}from"./chunk-M2FCTYGU.js";import{$c as L,Fc as P,Gb as T,Gc as l,Hc as S,Ic as y,Kc as c,Lc as u,Mb as w,Mc as h,Sc as I,Yb as m,ad as N,bd as V,cd as R,ic as t,jc as n,kc as C,lc as M,mc as x,oc as O,pb as b,rb as r,tc as E,uc as v,xb as D,ya as p,za as s}from"./chunk-B7KTCPKC.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var le=a=>({ID:a});function de(a,f){if(a&1&&(t(0,"span",17),C(1,"img",18),n(),l(2)),a&2){let e=f.item;r(),m("src",e.Img,b)("alt",e.Name),r(),y(" ",e.Name," ")}}function me(a,f){if(a&1&&(t(0,"tr")(1,"td"),l(2),n(),t(3,"td"),C(4,"img",28),n(),t(5,"td"),l(6),n(),t(7,"td",29)(8,"a",30),l(9),L(10,"number"),n()(),t(11,"td"),l(12),n(),t(13,"td"),l(14),L(15,"date"),n()()),a&2){let e=f.$implicit;r(2),S(e._source.ChannelName),r(2),m("src",e.logo,b),r(2),S(e._source.DateRange),r(2),m("queryParams",I(12,le,e._source.ID)),r(),y(" ",N(10,7,e._source.CountOrder)," "),r(3),S(e._source.UserLogin),r(2),y(" ",V(15,9,e._source["@timestamp_received"],"dd MMM yyyy HH:mm")," ")}}function pe(a,f){if(a&1){let e=O();M(0),t(1,"div",19)(2,"table",20)(3,"thead")(4,"tr",21)(5,"th",22),l(6,"Channel"),n(),t(7,"th",23),l(8,"Type"),n(),t(9,"th",24),l(10,"Download Date Range"),n(),t(11,"th",25),l(12,"Count"),n(),t(13,"th"),l(14,"User Login"),n(),t(15,"th"),l(16,"Created"),n()()(),t(17,"tbody"),w(18,me,16,14,"tr",26),n()(),t(19,"mat-paginator",27),E("page",function(i){p(e);let d=v();return s(d.onPaginationChange(i))}),n()(),x()}if(a&2){let e=v();r(18),m("ngForOf",e.downloadOrders),r(),m("length",e.paginationTotal)("pageSize",e.paginationPageSize)("pageIndex",(e.filter==null?null:e.filter.PageNumber)==0?0:(e.filter==null?null:e.filter.PageNumber)-1)}}function se(a,f){a&1&&(t(0,"div",31),C(1,"app-empty-state"),n())}var xe=(()=>{class a{constructor(e,g){this.http=e,this.authService=g,this.filter={PageNumber:0,RowCount:20,ChannelID:"",From:"",To:""},this.channelOptions=this.authService.getChannels(),this.onGetLoader()}onGetLoader(){this.http.post("/api/OrdersLoader/OrderLogsLoader",{}).subscribe(e=>{this.filter=e.Filter,this.getDownloadOrders()})}getDownloadOrders(){this.http.post("api/Orders/OrderLogsPaged",this.filter).subscribe(e=>{this.downloadOrders=e.hits,this.setChannelLogo(),this.paginationTotal=e.total.value,this.paginationPageSize=this.filter.RowCount>this.paginationTotal?this.paginationTotal:this.filter.RowCount})}setChannelLogo(){this.downloadOrders=this.downloadOrders.map(e=>(e.logo=J.getChannelLogoByTypeId(e._source.TypeID),e))}onPaginationChange(e){this.filter.PageNumber=e.pageIndex+1,this.getDownloadOrders()}static{this.\u0275fac=function(g){return new(g||a)(D(K),D(Q))}}static{this.\u0275cmp=T({type:a,selectors:[["app-download-order-log"]],decls:29,vars:10,consts:[["EMPTY_STATE",""],["headerTitle","Download Order Log",3,"onSubmit","hideSearchBox"],[1,"fw-bold","mb-2"],["bindLabel","Name","name","channelid","bindValue","ID","placeholder","Select Channel","appendTo","body",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[1,"mt-5"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","RowCount",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[4,"ngIf","ngIfElse"],[1,"me-2"],[2,"width","18px",3,"src","alt"],[1,"table-responsive"],[1,"table","table-hover"],[1,"table-light"],[2,"width","250px"],[2,"width","150px"],[2,"width","200px"],[1,"text-end",2,"width","200px"],[4,"ngFor","ngForOf"],[3,"page","length","pageSize","pageIndex"],[2,"width","25px",3,"src"],[1,"text-end"],["routerLink","/menu/Order/Download_Order_Log/Detail",3,"queryParams"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"]],template:function(g,i){if(g&1){let d=O();t(0,"mainpanel",1),E("onSubmit",function(){return p(d),s(i.getDownloadOrders())}),t(1,"filters")(2,"div")(3,"label",2),l(4,"Channel"),n(),t(5,"ng-select",3),h("ngModelChange",function(o){return p(d),u(i.filter.ChannelID,o)||(i.filter.ChannelID=o),s(o)}),w(6,de,3,3,"ng-template",4),n()(),t(7,"div",5)(8,"label",6),l(9,"From/To"),n(),t(10,"div",7)(11,"datepicker",8),h("dateChange",function(o){return p(d),u(i.filter.From,o)||(i.filter.From=o),s(o)}),n()(),t(12,"div")(13,"datepicker",9),h("dateChange",function(o){return p(d),u(i.filter.To,o)||(i.filter.To=o),s(o)}),n()()(),t(14,"div",5)(15,"label",10),l(16,"Page Number"),n(),t(17,"input",11),h("ngModelChange",function(o){return p(d),u(i.filter.PageNumber,o)||(i.filter.PageNumber=o),s(o)}),n()(),t(18,"div",5)(19,"label",10),l(20,"Page Size"),n(),t(21,"input",12),h("ngModelChange",function(o){return p(d),u(i.filter.RowCount,o)||(i.filter.RowCount=o),s(o)}),n()()(),t(22,"content")(23,"div",13)(24,"div",14)(25,"div",15),w(26,pe,20,4,"ng-container",16)(27,se,2,0,"ng-template",null,0,R),n()()()()()}if(g&2){let d=P(28);m("hideSearchBox",!0),r(5),m("clearable",!0)("items",i.channelOptions),c("ngModel",i.filter.ChannelID),r(6),c("date",i.filter.From),r(2),c("date",i.filter.To),r(4),c("ngModel",i.filter.PageNumber),r(4),c("ngModel",i.filter.RowCount),r(5),m("ngIf",(i.downloadOrders==null?null:i.downloadOrders.length)>0)("ngIfElse",d)}},dependencies:[z,W,F,k,B,re,oe,ne,te,ee,$,X,Z,Y,U,G,j,q,ae,H,A,ie],encapsulation:2})}}return a})();export{xe as DownloadOrderLogComponent};
1
+ import{a as ae}from"./chunk-PFXOFSJG.js";import{a as ie}from"./chunk-OLANEXLB.js";import"./chunk-BQIB3N6V.js";import"./chunk-B67DSLBY.js";import{a as oe,b as re}from"./chunk-HFCAD7GH.js";import"./chunk-4KHHGHFJ.js";import"./chunk-HVCIQI7B.js";import"./chunk-6RLISMEX.js";import"./chunk-TH6VZX34.js";import"./chunk-QS22J2SC.js";import"./chunk-QP4C4R4W.js";import"./chunk-5LQRO4AI.js";import"./chunk-MO53T3IK.js";import"./chunk-W3JTS22H.js";import"./chunk-SDUUFQUI.js";import"./chunk-6L7TD5DW.js";import"./chunk-WLRPCY65.js";import"./chunk-3RK6DDJD.js";import"./chunk-3UN6FPMN.js";import"./chunk-LDPDLCRL.js";import"./chunk-JVNHFIYT.js";import{h as Q}from"./chunk-6VHVQEVM.js";import"./chunk-Z3ITXK3D.js";import"./chunk-ACIMXBIC.js";import"./chunk-J53BPEDH.js";import"./chunk-TGMCGROM.js";import"./chunk-RDRNWLJI.js";import{e as K}from"./chunk-W5L6FMO3.js";import"./chunk-K5XRGNWG.js";import{a as X,b as Z,d as $,e as ee}from"./chunk-PYXL7UF7.js";import{c as J}from"./chunk-PW42BQIY.js";import{m as te,n as ne}from"./chunk-FO7G4GMY.js";import{A as Y,c as U,h as j,m as q,o as G}from"./chunk-5PS6ZS3N.js";import"./chunk-V3USB3ZU.js";import"./chunk-ERXVXBTU.js";import"./chunk-NNRBGHXB.js";import"./chunk-BJUPMCEP.js";import{H as A,J as H,f as W,g as F,k as B,m as k,n as z}from"./chunk-FXQKRJWU.js";import{$c as L,Fc as P,Gb as T,Gc as l,Hc as S,Ic as y,Kc as c,Lc as u,Mb as w,Mc as h,Sc as I,Yb as m,ad as N,bd as V,cd as R,ic as t,jc as n,kc as C,lc as M,mc as x,oc as O,pb as b,rb as r,tc as E,uc as v,xb as D,ya as p,za as s}from"./chunk-OJMQBH6T.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var le=a=>({ID:a});function de(a,f){if(a&1&&(t(0,"span",17),C(1,"img",18),n(),l(2)),a&2){let e=f.item;r(),m("src",e.Img,b)("alt",e.Name),r(),y(" ",e.Name," ")}}function me(a,f){if(a&1&&(t(0,"tr")(1,"td"),l(2),n(),t(3,"td"),C(4,"img",28),n(),t(5,"td"),l(6),n(),t(7,"td",29)(8,"a",30),l(9),L(10,"number"),n()(),t(11,"td"),l(12),n(),t(13,"td"),l(14),L(15,"date"),n()()),a&2){let e=f.$implicit;r(2),S(e._source.ChannelName),r(2),m("src",e.logo,b),r(2),S(e._source.DateRange),r(2),m("queryParams",I(12,le,e._source.ID)),r(),y(" ",N(10,7,e._source.CountOrder)," "),r(3),S(e._source.UserLogin),r(2),y(" ",V(15,9,e._source["@timestamp_received"],"dd MMM yyyy HH:mm")," ")}}function pe(a,f){if(a&1){let e=O();M(0),t(1,"div",19)(2,"table",20)(3,"thead")(4,"tr",21)(5,"th",22),l(6,"Channel"),n(),t(7,"th",23),l(8,"Type"),n(),t(9,"th",24),l(10,"Download Date Range"),n(),t(11,"th",25),l(12,"Count"),n(),t(13,"th"),l(14,"User Login"),n(),t(15,"th"),l(16,"Created"),n()()(),t(17,"tbody"),w(18,me,16,14,"tr",26),n()(),t(19,"mat-paginator",27),E("page",function(i){p(e);let d=v();return s(d.onPaginationChange(i))}),n()(),x()}if(a&2){let e=v();r(18),m("ngForOf",e.downloadOrders),r(),m("length",e.paginationTotal)("pageSize",e.paginationPageSize)("pageIndex",(e.filter==null?null:e.filter.PageNumber)==0?0:(e.filter==null?null:e.filter.PageNumber)-1)}}function se(a,f){a&1&&(t(0,"div",31),C(1,"app-empty-state"),n())}var xe=(()=>{class a{constructor(e,g){this.http=e,this.authService=g,this.filter={PageNumber:0,RowCount:20,ChannelID:"",From:"",To:""},this.channelOptions=this.authService.getChannels(),this.onGetLoader()}onGetLoader(){this.http.post("/api/OrdersLoader/OrderLogsLoader",{}).subscribe(e=>{this.filter=e.Filter,this.getDownloadOrders()})}getDownloadOrders(){this.http.post("api/Orders/OrderLogsPaged",this.filter).subscribe(e=>{this.downloadOrders=e.hits,this.setChannelLogo(),this.paginationTotal=e.total.value,this.paginationPageSize=this.filter.RowCount>this.paginationTotal?this.paginationTotal:this.filter.RowCount})}setChannelLogo(){this.downloadOrders=this.downloadOrders.map(e=>(e.logo=J.getChannelLogoByTypeId(e._source.TypeID),e))}onPaginationChange(e){this.filter.PageNumber=e.pageIndex+1,this.getDownloadOrders()}static{this.\u0275fac=function(g){return new(g||a)(D(K),D(Q))}}static{this.\u0275cmp=T({type:a,selectors:[["app-download-order-log"]],decls:29,vars:10,consts:[["EMPTY_STATE",""],["headerTitle","Download Order Log",3,"onSubmit","hideSearchBox"],[1,"fw-bold","mb-2"],["bindLabel","Name","name","channelid","bindValue","ID","placeholder","Select Channel","appendTo","body",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[1,"mt-5"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","RowCount",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[4,"ngIf","ngIfElse"],[1,"me-2"],[2,"width","18px",3,"src","alt"],[1,"table-responsive"],[1,"table","table-hover"],[1,"table-light"],[2,"width","250px"],[2,"width","150px"],[2,"width","200px"],[1,"text-end",2,"width","200px"],[4,"ngFor","ngForOf"],[3,"page","length","pageSize","pageIndex"],[2,"width","25px",3,"src"],[1,"text-end"],["routerLink","/menu/Order/Download_Order_Log/Detail",3,"queryParams"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"]],template:function(g,i){if(g&1){let d=O();t(0,"mainpanel",1),E("onSubmit",function(){return p(d),s(i.getDownloadOrders())}),t(1,"filters")(2,"div")(3,"label",2),l(4,"Channel"),n(),t(5,"ng-select",3),h("ngModelChange",function(o){return p(d),u(i.filter.ChannelID,o)||(i.filter.ChannelID=o),s(o)}),w(6,de,3,3,"ng-template",4),n()(),t(7,"div",5)(8,"label",6),l(9,"From/To"),n(),t(10,"div",7)(11,"datepicker",8),h("dateChange",function(o){return p(d),u(i.filter.From,o)||(i.filter.From=o),s(o)}),n()(),t(12,"div")(13,"datepicker",9),h("dateChange",function(o){return p(d),u(i.filter.To,o)||(i.filter.To=o),s(o)}),n()()(),t(14,"div",5)(15,"label",10),l(16,"Page Number"),n(),t(17,"input",11),h("ngModelChange",function(o){return p(d),u(i.filter.PageNumber,o)||(i.filter.PageNumber=o),s(o)}),n()(),t(18,"div",5)(19,"label",10),l(20,"Page Size"),n(),t(21,"input",12),h("ngModelChange",function(o){return p(d),u(i.filter.RowCount,o)||(i.filter.RowCount=o),s(o)}),n()()(),t(22,"content")(23,"div",13)(24,"div",14)(25,"div",15),w(26,pe,20,4,"ng-container",16)(27,se,2,0,"ng-template",null,0,R),n()()()()()}if(g&2){let d=P(28);m("hideSearchBox",!0),r(5),m("clearable",!0)("items",i.channelOptions),c("ngModel",i.filter.ChannelID),r(6),c("date",i.filter.From),r(2),c("date",i.filter.To),r(4),c("ngModel",i.filter.PageNumber),r(4),c("ngModel",i.filter.RowCount),r(5),m("ngIf",(i.downloadOrders==null?null:i.downloadOrders.length)>0)("ngIfElse",d)}},dependencies:[z,W,F,k,B,re,oe,ne,te,ee,$,X,Z,Y,U,G,j,q,ae,H,A,ie],encapsulation:2})}}return a})();export{xe as DownloadOrderLogComponent};
@@ -0,0 +1 @@
1
+ import{e as L}from"./chunk-6VHVQEVM.js";import{c as o}from"./chunk-PW42BQIY.js";import{H as y,J as D,n as b}from"./chunk-FXQKRJWU.js";import{Gb as v,Gc as u,Ic as d,Mb as I,Oa as _,Tc as C,Yb as s,dc as x,ic as m,ja as h,jc as c,pa as i,pb as k,rb as l,rd as f,uc as p}from"./chunk-OJMQBH6T.js";var O=(()=>{class e{constructor(){this.localDataService=i(L),this.baseUrl=this.localDataService.getHostName()}getBaseUrl(r){let t="";return o.IsNotEmpty(r.ID)?t=`https://${this.baseUrl}/menu/Orders/Orders/Customer_Invoice/Info?ID=${r.ID}`:t="/menu/Order/detail",t}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var S=(e,a)=>({Number:e,Outlet:a});function U(e,a){if(e&1&&(m(0,"a",0),u(1),c()),e&2){let r,t=p();s("href",t.baseUrl(),k),l(),d(" ",(r=t.order())==null?null:r.Number," ")}}function N(e,a){if(e&1&&(m(0,"a",1),u(1),c()),e&2){let r,t,n=p();s("routerLink",n.baseUrl())("queryParams",C(3,S,(r=n.order())==null?null:r.Number,(r=n.order())==null?null:r.Outlet)),l(),d(" ",(t=n.order())==null?null:t.Number," ")}}var G=(()=>{class e{constructor(){this.order=_(),this.generateLinkService=i(O),this.baseUrl=f(()=>this.generateLinkService.getBaseUrl(this.order())),this.hasOrderID=f(()=>o.IsNotEmpty(this.order()?.ID))}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=v({type:e,selectors:[["order-link"]],inputs:{order:[1,"order"]},decls:2,vars:1,consts:[["target","_blank",3,"href"],["target","_blank",3,"routerLink","queryParams"]],template:function(t,n){t&1&&I(0,U,2,2,"a",0)(1,N,2,6,"a",1),t&2&&x(n.hasOrderID()?0:1)},dependencies:[b,D,y],encapsulation:2})}}return e})();export{G as a};