@yinuo-ngm/server 1.0.22 → 1.0.24

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 (97) hide show
  1. package/lib/modules/agent-connections/agent-connections.schema.d.ts +4 -0
  2. package/lib/modules/agent-connections/agent-connections.schema.js +112 -0
  3. package/lib/modules/agent-connections/agent-connections.service.d.ts +18 -0
  4. package/lib/modules/agent-connections/agent-connections.service.js +209 -0
  5. package/lib/modules/agent-connections/agent-connections.types.d.ts +57 -0
  6. package/lib/modules/agent-connections/agent-connections.types.js +2 -0
  7. package/lib/modules/agent-connections/atomic-json-file.d.ts +8 -0
  8. package/lib/modules/agent-connections/atomic-json-file.js +44 -0
  9. package/lib/modules/agent-connections/token-mask.d.ts +1 -0
  10. package/lib/modules/agent-connections/token-mask.js +12 -0
  11. package/lib/routes/agent-connections.routes.d.ts +3 -0
  12. package/lib/routes/agent-connections.routes.js +28 -0
  13. package/lib/routes/index.js +2 -0
  14. package/package.json +7 -6
  15. package/www/3rdpartylicenses.txt +5 -5
  16. package/www/browser/chunk-2EB7UV3S.js +15 -0
  17. package/www/browser/{chunk-3I7BQCXS.js → chunk-2S6Y2RQI.js} +1 -1
  18. package/www/browser/{chunk-U3EUR236.js → chunk-2SYBXRWK.js} +1 -1
  19. package/www/browser/{chunk-OUGN4APK.js → chunk-365ZCRSD.js} +1 -1
  20. package/www/browser/{chunk-6UFDNETG.js → chunk-3MPEGFKP.js} +1 -1
  21. package/www/browser/{chunk-WCHN62X6.js → chunk-4PSSTE76.js} +1 -1
  22. package/www/browser/{chunk-DENFXXOY.js → chunk-5HVK6MON.js} +1 -1
  23. package/www/browser/{chunk-TXAXE73U.js → chunk-5Y7KNVNN.js} +1 -1
  24. package/www/browser/chunk-6L2CHHFV.js +1 -0
  25. package/www/browser/{chunk-NNOWADVM.js → chunk-6ZXQKFRQ.js} +1 -1
  26. package/www/browser/chunk-735SLX4X.js +1 -0
  27. package/www/browser/chunk-7KLACOZT.js +2 -0
  28. package/www/browser/chunk-7VJKEZTT.js +20 -0
  29. package/www/browser/{chunk-CO3CQHKV.js → chunk-7X4X4YHI.js} +1 -1
  30. package/www/browser/chunk-ACYCDF6M.js +1 -0
  31. package/www/browser/{chunk-UJKK4A7Y.js → chunk-AQYHNHJ3.js} +1 -1
  32. package/www/browser/chunk-BHKSOTOM.js +1 -0
  33. package/www/browser/{chunk-3ODVU46S.js → chunk-BXZVX5KD.js} +1 -1
  34. package/www/browser/{chunk-TCBOC5FF.js → chunk-C5DOE7UG.js} +1 -1
  35. package/www/browser/{chunk-7AKVG375.js → chunk-C6GC5OOE.js} +1 -1
  36. package/www/browser/{chunk-SSCUT2GF.js → chunk-D5W7J3FS.js} +1 -1
  37. package/www/browser/chunk-DPGKZHEW.js +1 -0
  38. package/www/browser/chunk-DRV2KPHO.js +1 -0
  39. package/www/browser/chunk-E2WRB7KQ.js +2 -0
  40. package/www/browser/{chunk-MPLGMTLT.js → chunk-EAFAHVBG.js} +1 -1
  41. package/www/browser/{chunk-WWIPELAV.js → chunk-ERH36Q6S.js} +1 -1
  42. package/www/browser/chunk-GSUKZOEV.js +1 -0
  43. package/www/browser/chunk-GYXK6ZZT.js +1 -0
  44. package/www/browser/{chunk-PDI3HSSH.js → chunk-H27FQ6OP.js} +3 -3
  45. package/www/browser/chunk-I7RTVSMK.js +1 -0
  46. package/www/browser/{chunk-SD2HFD54.js → chunk-IVX3LVU4.js} +1 -1
  47. package/www/browser/{chunk-U2YWR3HF.js → chunk-IX6UZA7J.js} +1 -1
  48. package/www/browser/{chunk-CPJTSA6E.js → chunk-JFR7U5DE.js} +1 -1
  49. package/www/browser/chunk-JIVQNGBJ.js +1 -0
  50. package/www/browser/{chunk-PY3AUTHC.js → chunk-KDMWEV46.js} +1 -1
  51. package/www/browser/{chunk-JM6DCZP6.js → chunk-LRHJZDWY.js} +1 -1
  52. package/www/browser/chunk-NVN2P466.js +1 -0
  53. package/www/browser/{chunk-NREWZQVN.js → chunk-O64FT2TA.js} +1 -1
  54. package/www/browser/{chunk-YVRGRFK2.js → chunk-OZONPLGN.js} +1 -1
  55. package/www/browser/chunk-PC7TJLCL.js +2 -0
  56. package/www/browser/{chunk-7GLWEFTM.js → chunk-PNFC3J4Z.js} +1 -1
  57. package/www/browser/chunk-PRKDURHI.js +1 -0
  58. package/www/browser/{chunk-RMIYLAEM.js → chunk-PUHSNEN6.js} +1 -1
  59. package/www/browser/{chunk-442QFABJ.js → chunk-RKKAY5CD.js} +1 -1
  60. package/www/browser/{chunk-M6NZ6C2R.js → chunk-RLH7DAA2.js} +1 -1
  61. package/www/browser/chunk-S6BY2OTR.js +1 -0
  62. package/www/browser/{chunk-KRYMOHYF.js → chunk-SIKDYQOR.js} +1 -1
  63. package/www/browser/{chunk-RKK4I2RT.js → chunk-SVRGVAFE.js} +1 -1
  64. package/www/browser/chunk-TPVKLECM.js +1 -0
  65. package/www/browser/{chunk-UPOORT3S.js → chunk-VBMHQZWH.js} +1 -1
  66. package/www/browser/chunk-WVRMU265.js +1 -0
  67. package/www/browser/chunk-X6PRUZ5G.js +1 -0
  68. package/www/browser/{chunk-PUG3VNTI.js → chunk-XQQ6PT2E.js} +1 -1
  69. package/www/browser/chunk-XUUNCF53.js +1 -0
  70. package/www/browser/{chunk-4BRW6LCZ.js → chunk-YGWA6NUS.js} +1 -1
  71. package/www/browser/{chunk-2VJVGBXG.js → chunk-YNYWN7QI.js} +1 -1
  72. package/www/browser/chunk-Z4T3LTE2.js +1 -0
  73. package/www/browser/chunk-Z7GYTPTP.js +1 -0
  74. package/www/browser/chunk-ZZN3NP7F.js +1 -0
  75. package/www/browser/index.html +1 -1
  76. package/www/browser/main-HMOP3OWL.js +38 -0
  77. package/www/browser/chunk-6J6G7JEP.js +0 -1
  78. package/www/browser/chunk-7QR6RHLA.js +0 -1
  79. package/www/browser/chunk-H2USFIYR.js +0 -1
  80. package/www/browser/chunk-HC5KLPHD.js +0 -1
  81. package/www/browser/chunk-HJAP6WBI.js +0 -1
  82. package/www/browser/chunk-K6C5ZIV2.js +0 -20
  83. package/www/browser/chunk-MBPB43C6.js +0 -1
  84. package/www/browser/chunk-PB2LGZNW.js +0 -1
  85. package/www/browser/chunk-R4HSZU2J.js +0 -1
  86. package/www/browser/chunk-RZA3IFQV.js +0 -2
  87. package/www/browser/chunk-SEJGGBE2.js +0 -1
  88. package/www/browser/chunk-TS5ZQYYY.js +0 -1
  89. package/www/browser/chunk-TVJHI463.js +0 -1
  90. package/www/browser/chunk-UKCMUTYL.js +0 -1
  91. package/www/browser/chunk-VW3S7C2Z.js +0 -1
  92. package/www/browser/chunk-VZYJ3MSW.js +0 -15
  93. package/www/browser/chunk-WUA5JFDD.js +0 -1
  94. package/www/browser/chunk-WYNERG74.js +0 -2
  95. package/www/browser/chunk-XJDJL3TQ.js +0 -1
  96. package/www/browser/chunk-YV6QPLF5.js +0 -1
  97. package/www/browser/main-7GYUOEJY.js +0 -38
@@ -1 +1 @@
1
- import{Ea as Ne,Fa as ke,Ga as ae,Ha as de,I as j,J as we,K as ye,L as u,Y as _e,a as _,c as Ie,gb as Ae,lb as Re,ob as Pe,qb as ce,ua as a,ya as Te}from"./chunk-VZYJ3MSW.js";import{b as Se,e as Oe,f as le}from"./chunk-WUA5JFDD.js";import{i as ue}from"./chunk-KRYMOHYF.js";import{Ac as g,B as L,C as F,D as me,Da as b,Ec as V,Fb as C,Fc as oe,Gb as ge,Gc as m,Hb as x,Ic as De,Jc as se,Kc as re,L as G,Lb as D,M as U,N as he,Oa as R,Ra as X,V as ze,Wb as v,Xc as W,Yb as S,bc as p,cc as O,da as Z,dc as I,dd as ve,ea as fe,ec as $,fc as be,gc as Ce,ic as ee,jc as ne,l as N,lc as Q,m as z,na as J,nb as d,nc as te,oa as Me,qa as K,rc as w,sa as s,sb as P,uc as c,ud as H,vc as B,wc as y,xc as E,ya as k,yb as Y,yc as ie,yd as h,za as A,zc as M}from"./chunk-4BRW6LCZ.js";var Qe=["nz-menu-item",""],Ee=["*"],Ve=["nz-submenu-inline-child",""];function We(i,l){}var je=["nz-submenu-none-inline-child",""];function qe(i,l){}var Ge=["nz-submenu-title",""];function Ue(i,l){if(i&1&&$(0,"nz-icon",0),i&2){let n=c();p("nzType",n.nzIcon)}}function Ze(i,l){if(i&1&&(ee(0),O(1,"span",4),se(2),I(),ne()),i&2){let n=c();d(2),re(n.nzTitle)}}function Je(i,l){i&1&&$(0,"nz-icon",5)}function Ke(i,l){i&1&&$(0,"nz-icon",6)}function Xe(i,l){if(i&1&&(O(0,"span",2),v(1,Je,1,0,"nz-icon",5)(2,Ke,1,0,"nz-icon",6),I()),i&2){let n,t=c();d(),S((n=t.dir)==="rtl"?1:2)}}function Ye(i,l){i&1&&$(0,"span",3)}var xe=["nz-submenu",""],en=[[["","title",""]],"*"],nn=["[title]","*"];function tn(i,l){i&1&&y(0)}function on(i,l){if(i&1&&$(0,"div",3),i&2){let n=c(),t=V(6);p("mode",n.mode)("nzOpen",n.nzOpen)("@.disabled",!!(n.noAnimation!=null&&n.noAnimation.nzNoAnimation))("nzNoAnimation",n.noAnimation==null?null:n.noAnimation.nzNoAnimation)("menuClass",n.nzMenuClassName)("templateOutlet",t)}}function sn(i,l){if(i&1){let n=Q();O(0,"div",6),w("subMenuMouseState",function(e){k(n);let o=c(2);return A(o.setMouseEnterState(e))}),I()}if(i&2){let n=c(2),t=V(6);p("theme",n.theme)("mode",n.mode)("nzOpen",n.nzOpen)("position",n.position)("nzDisabled",n.nzDisabled)("isMenuInsideDropDown",n.isMenuInsideDropDown)("nzTriggerSubMenuAction",n.nzTriggerSubMenuAction)("templateOutlet",t)("menuClass",n.nzMenuClassName)("@.disabled",!!(n.noAnimation!=null&&n.noAnimation.nzNoAnimation))("nzNoAnimation",n.noAnimation==null?null:n.noAnimation.nzNoAnimation)}}function rn(i,l){if(i&1){let n=Q();D(0,sn,1,11,"ng-template",5),w("positionChange",function(e){k(n);let o=c();return A(o.onPositionChange(e))})("overlayOutsideClick",function(){k(n);let e=c();return A(e.setMouseEnterState(!1))})}if(i&2){let n=c(),t=V(1);p("cdkConnectedOverlayPositions",n.overlayPositions)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayWidth",n.triggerWidth)("cdkConnectedOverlayOpen",n.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function un(i,l){i&1&&y(0,1)}var ln=["titleElement"],an=["nz-menu-group",""],dn=["*",[["","title",""]]],cn=["*","[title]"];function pn(i,l){if(i&1&&(ee(0),se(1),ne()),i&2){let n=c();d(),re(n.nzTitle)}}function mn(i,l){i&1&&y(0,1)}var T=(()=>{class i{descendantMenuItemClick$=new N;childMenuItemClick$=new N;theme$=new z("light");mode$=new z("vertical");inlineIndent$=new z(24);isChildSubMenuOpen$=new z(!1);onDescendantMenuItemClick(n){this.descendantMenuItemClick$.next(n)}onChildMenuItemClick(n){this.childMenuItemClick$.next(n)}setMode(n){this.mode$.next(n)}setTheme(n){this.theme$.next(n)}setInlineIndent(n){this.inlineIndent$.next(n)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),f=new K(""),Le=new K(""),pe=(()=>{class i{nzMenuService=s(T);nzHostSubmenuService=s(i,{optional:!0,skipSelf:!0});mode$=this.nzMenuService.mode$.pipe(L(n=>n==="inline"?"inline":n==="vertical"||this.nzHostSubmenuService?"vertical":"horizontal"));level=1;isMenuInsideDropDown=s(f);isCurrentSubMenuOpen$=new z(!1);isChildSubMenuOpen$=new z(!1);isMouseEnterTitleOrOverlay$=new N;childMenuItemClick$=new N;onChildMenuItemClick(n){this.childMenuItemClick$.next(n)}setOpenStateWithoutDebounce(n){this.isCurrentSubMenuOpen$.next(n)}setMouseEnterTitleOrOverlayState(n){this.isMouseEnterTitleOrOverlay$.next(n)}constructor(){this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);let n=this.childMenuItemClick$.pipe(me(()=>this.mode$),U(o=>o!=="inline"||this.isMenuInsideDropDown),L(()=>!1)),t=G(this.isMouseEnterTitleOrOverlay$,n);F([this.isChildSubMenuOpen$,t]).pipe(L(([o,r])=>o||r),he(150)).pipe(ze(),u()).subscribe(o=>{this.setOpenStateWithoutDebounce(o),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(o):this.nzMenuService.isChildSubMenuOpen$.next(o)})}static \u0275fac=function(t){return new(t||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),Fe=(()=>{class i{nzMenuService=s(T);destroyRef=s(b);cdr=s(H);nzSubmenuService=s(pe,{optional:!0});directionality=s(_);routerLink=s(le,{optional:!0});router=s(Oe,{optional:!0});isMenuInsideDropDown=s(f);level=this.nzSubmenuService?this.nzSubmenuService.level+1:1;selected$=new N;inlinePaddingLeft=null;dir="ltr";nzPaddingLeft;nzDisabled=!1;nzSelected=!1;nzDanger=!1;nzMatchRouterExact=!1;nzMatchRouter=!1;listOfRouterLink;clickMenuItem(n){if(this.nzDisabled){n.preventDefault(),n.stopPropagation();return}this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this)}setSelectedState(n){this.nzSelected=n,this.selected$.next(n)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{let n=this.hasActiveLinks();this.nzSelected!==n&&(this.nzSelected=n,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.routerLink&&n(this.routerLink)||this.listOfRouterLink.some(n)}isLinkActive(n){return t=>n.isActive(t.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(){this.router?.events.pipe(u(),U(n=>n instanceof Se)).subscribe(()=>this.updateRouterActive())}ngOnInit(){F([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(u(this.destroyRef)).subscribe(([n,t])=>{this.inlinePaddingLeft=n==="inline"?this.level*t:null}),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(u(this.destroyRef)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(n){let{nzSelected:t}=n;t&&this.setSelectedState(this.nzSelected)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-menu-item",""]],contentQueries:function(t,e,o){if(t&1&&E(o,le,5),t&2){let r;M(r=g())&&(e.listOfRouterLink=r)}},hostVars:20,hostBindings:function(t,e){t&1&&w("click",function(r){return e.clickMenuItem(r)}),t&2&&(oe("padding-left",e.dir==="rtl"?null:e.nzPaddingLeft||e.inlinePaddingLeft,"px")("padding-right",e.dir==="rtl"?e.nzPaddingLeft||e.inlinePaddingLeft:null,"px"),m("ant-dropdown-menu-item",e.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",e.isMenuInsideDropDown&&e.nzSelected)("ant-dropdown-menu-item-danger",e.isMenuInsideDropDown&&e.nzDanger)("ant-dropdown-menu-item-disabled",e.isMenuInsideDropDown&&e.nzDisabled)("ant-menu-item",!e.isMenuInsideDropDown)("ant-menu-item-selected",!e.isMenuInsideDropDown&&e.nzSelected)("ant-menu-item-danger",!e.isMenuInsideDropDown&&e.nzDanger)("ant-menu-item-disabled",!e.isMenuInsideDropDown&&e.nzDisabled))},inputs:{nzPaddingLeft:[2,"nzPaddingLeft","nzPaddingLeft",_e],nzDisabled:[2,"nzDisabled","nzDisabled",h],nzSelected:[2,"nzSelected","nzSelected",h],nzDanger:[2,"nzDanger","nzDanger",h],nzMatchRouterExact:[2,"nzMatchRouterExact","nzMatchRouterExact",h],nzMatchRouter:[2,"nzMatchRouter","nzMatchRouter",h]},exportAs:["nzMenuItem"],features:[R],attrs:Qe,ngContentSelectors:Ee,decls:2,vars:0,consts:[[1,"ant-menu-title-content"]],template:function(t,e){t&1&&(B(),be(0,"span",0),y(1),Ce())},encapsulation:2,changeDetection:0})}return i})(),hn=(()=>{class i{elementRef=s(X);renderer=s(Y);directionality=s(_);destroyRef=s(b);templateOutlet=null;menuClass="";mode="vertical";nzOpen=!1;listOfCacheClassName=[];expandState="collapsed";dir="ltr";calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n})}ngOnChanges(n){let{mode:t,nzOpen:e,menuClass:o}=n;(t||e)&&this.calcMotionState(),o&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.forEach(r=>{r&&this.renderer.removeClass(this.elementRef.nativeElement,r)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.forEach(r=>{r&&this.renderer.addClass(this.elementRef.nativeElement,r)})))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(t,e){t&2&&(te("@collapseMotion",e.expandState),m("ant-menu-rtl",e.dir==="rtl"))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[R],attrs:Ve,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(t,e){t&1&&D(0,We,0,0,"ng-template",0),t&2&&p("ngTemplateOutlet",e.templateOutlet)},dependencies:[ue],encapsulation:2,data:{animation:[Ae]},changeDetection:0})}return i})(),zn=(()=>{class i{directionality=s(_);destroyRef=s(b);menuClass="";theme="light";templateOutlet=null;isMenuInsideDropDown=!1;mode="vertical";nzTriggerSubMenuAction="hover";position="right";nzDisabled=!1;nzOpen=!1;subMenuMouseState=new P;expandState="collapsed";dir="ltr";setMouseState(n){!this.nzDisabled&&this.nzTriggerSubMenuAction==="hover"&&this.subMenuMouseState.next(n)}calcMotionState(){this.nzOpen?this.mode==="horizontal"?this.expandState="bottom":this.mode==="vertical"&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n})}ngOnChanges(n){let{mode:t,nzOpen:e}=n;(t||e)&&this.calcMotionState()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(t,e){t&1&&w("mouseenter",function(){return e.setMouseState(!0)})("mouseleave",function(){return e.setMouseState(!1)}),t&2&&(te("@slideMotion",e.expandState)("@zoomBigMotion",e.expandState),m("ant-menu-light",e.theme==="light")("ant-menu-dark",e.theme==="dark")("ant-menu-submenu-placement-bottom",e.mode==="horizontal")("ant-menu-submenu-placement-right",e.mode==="vertical"&&e.position==="right")("ant-menu-submenu-placement-left",e.mode==="vertical"&&e.position==="left")("ant-menu-submenu-rtl",e.dir==="rtl"))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[R],attrs:je,decls:2,vars:17,consts:[[3,"ngTemplateOutlet"]],template:function(t,e){t&1&&(O(0,"div"),D(1,qe,0,0,"ng-template",0),I()),t&2&&(De(e.menuClass),m("ant-dropdown-menu",e.isMenuInsideDropDown)("ant-menu",!e.isMenuInsideDropDown)("ant-dropdown-menu-vertical",e.isMenuInsideDropDown)("ant-menu-vertical",!e.isMenuInsideDropDown)("ant-dropdown-menu-sub",e.isMenuInsideDropDown)("ant-menu-sub",!e.isMenuInsideDropDown)("ant-menu-rtl",e.dir==="rtl"),d(),p("ngTemplateOutlet",e.templateOutlet))},dependencies:[ue],encapsulation:2,data:{animation:[Pe,Re]},changeDetection:0})}return i})(),Be=(()=>{class i{destroyRef=s(b);cdr=s(H);directionality=s(_);nzIcon=null;nzTitle=null;isMenuInsideDropDown=!1;nzDisabled=!1;paddingLeft=null;mode="vertical";nzTriggerSubMenuAction="hover";toggleSubMenu=new P;subMenuMouseState=new P;dir="ltr";ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()})}setMouseState(n){!this.nzDisabled&&this.nzTriggerSubMenuAction==="hover"&&this.subMenuMouseState.next(n)}clickTitle(){(this.mode==="inline"||this.nzTriggerSubMenuAction==="click")&&!this.nzDisabled&&(this.subMenuMouseState.next(!0),this.toggleSubMenu.emit())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(t,e){t&1&&w("click",function(){return e.clickTitle()})("mouseenter",function(){return e.setMouseState(!0)})("mouseleave",function(){return e.setMouseState(!1)}),t&2&&(oe("padding-left",e.dir==="rtl"?null:e.paddingLeft,"px")("padding-right",e.dir==="rtl"?e.paddingLeft:null,"px"),m("ant-dropdown-menu-submenu-title",e.isMenuInsideDropDown)("ant-menu-submenu-title",!e.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:Ge,ngContentSelectors:Ee,decls:5,vars:3,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"],[1,"ant-dropdown-menu-submenu-expand-icon"],[1,"ant-menu-submenu-arrow"],[1,"ant-menu-title-content"],["nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"]],template:function(t,e){t&1&&(B(),v(0,Ue,1,1,"nz-icon",0),D(1,Ze,3,1,"ng-container",1),y(2),v(3,Xe,3,1,"span",2)(4,Ye,1,0,"span",3)),t&2&&(S(e.nzIcon?0:-1),d(),p("nzStringTemplateOutlet",e.nzTitle),d(2),S(e.isMenuInsideDropDown?3:4))},dependencies:[ke,Ne,de,ae],encapsulation:2,changeDetection:0})}return i})(),$e=[a.rightTop,a.right,a.rightBottom,a.leftTop,a.left,a.leftBottom],fn=[a.bottomLeft,a.bottomRight,a.topRight,a.topLeft],He=(()=>{class i{nzSubmenuService=s(pe);isMenuInsideDropDown=s(f);noAnimation=s(ce,{optional:!0,host:!0});directionality=s(_);destroyRef=s(b);nzMenuService=s(T);cdr=s(H);platform=s(Ie);nzMenuClassName="";nzPaddingLeft=null;nzTitle=null;nzIcon=null;nzTriggerSubMenuAction="hover";nzOpen=!1;nzDisabled=!1;nzPlacement="bottomLeft";nzOpenChange=new P;cdkOverlayOrigin=null;listOfNzSubMenuComponent=null;listOfNzMenuItemDirective=null;level=this.nzSubmenuService.level;position="right";triggerWidth=null;theme="light";mode="vertical";inlinePaddingLeft=null;overlayPositions=$e;isSelected=!1;isActive=!1;dir="ltr";setOpenStateWithoutDebounce(n){this.nzSubmenuService.setOpenStateWithoutDebounce(n)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(n){this.isActive=n,this.mode!=="inline"&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(n)}setTriggerWidth(){this.mode==="horizontal"&&this.platform.isBrowser&&this.cdkOverlayOrigin&&this.nzPlacement==="bottomLeft"&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(n){let t=Te(n);t==="rightTop"||t==="rightBottom"||t==="right"?this.position="right":(t==="leftTop"||t==="leftBottom"||t==="left")&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe(u(this.destroyRef)).subscribe(n=>{this.theme=n,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(u(this.destroyRef)).subscribe(n=>{this.mode=n,n==="horizontal"?this.overlayPositions=[a[this.nzPlacement],...fn]:n==="vertical"&&(this.overlayPositions=$e),this.cdr.markForCheck()}),F([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(u(this.destroyRef)).subscribe(([n,t])=>{this.inlinePaddingLeft=n==="inline"?this.level*t:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(u(this.destroyRef)).subscribe(n=>{this.isActive=n,n!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=n,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();let n=this.listOfNzMenuItemDirective,t=n.changes,e=G(t,...n.map(o=>o.selected$));t.pipe(Z(n),fe(()=>e),Z(!0),L(()=>n.some(o=>o.nzSelected)),u(this.destroyRef)).subscribe(o=>{this.isSelected=o,this.cdr.markForCheck()})}ngOnChanges(n){let{nzOpen:t}=n;t&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu",""]],contentQueries:function(t,e,o){if(t&1&&(E(o,i,5),E(o,Fe,5)),t&2){let r;M(r=g())&&(e.listOfNzSubMenuComponent=r),M(r=g())&&(e.listOfNzMenuItemDirective=r)}},viewQuery:function(t,e){if(t&1&&ie(j,7,X),t&2){let o;M(o=g())&&(e.cdkOverlayOrigin=o.first)}},hostVars:34,hostBindings:function(t,e){t&2&&m("ant-dropdown-menu-submenu",e.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",e.isMenuInsideDropDown&&e.nzDisabled)("ant-dropdown-menu-submenu-open",e.isMenuInsideDropDown&&e.nzOpen)("ant-dropdown-menu-submenu-selected",e.isMenuInsideDropDown&&e.isSelected)("ant-dropdown-menu-submenu-vertical",e.isMenuInsideDropDown&&e.mode==="vertical")("ant-dropdown-menu-submenu-horizontal",e.isMenuInsideDropDown&&e.mode==="horizontal")("ant-dropdown-menu-submenu-inline",e.isMenuInsideDropDown&&e.mode==="inline")("ant-dropdown-menu-submenu-active",e.isMenuInsideDropDown&&e.isActive)("ant-menu-submenu",!e.isMenuInsideDropDown)("ant-menu-submenu-disabled",!e.isMenuInsideDropDown&&e.nzDisabled)("ant-menu-submenu-open",!e.isMenuInsideDropDown&&e.nzOpen)("ant-menu-submenu-selected",!e.isMenuInsideDropDown&&e.isSelected)("ant-menu-submenu-vertical",!e.isMenuInsideDropDown&&e.mode==="vertical")("ant-menu-submenu-horizontal",!e.isMenuInsideDropDown&&e.mode==="horizontal")("ant-menu-submenu-inline",!e.isMenuInsideDropDown&&e.mode==="inline")("ant-menu-submenu-active",!e.isMenuInsideDropDown&&e.isActive)("ant-menu-submenu-rtl",e.dir==="rtl")},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",nzOpen:[2,"nzOpen","nzOpen",h],nzDisabled:[2,"nzDisabled","nzDisabled",h],nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[W([pe]),R],attrs:xe,ngContentSelectors:nn,decls:7,vars:9,consts:[["origin","cdkOverlayOrigin"],["subMenuTemplate",""],["nz-submenu-title","","cdkOverlayOrigin","",3,"subMenuMouseState","toggleSubMenu","nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","nzTriggerSubMenuAction"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["cdkConnectedOverlay","",3,"positionChange","overlayOutsideClick","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["nz-submenu-none-inline-child","",3,"subMenuMouseState","theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","nzTriggerSubMenuAction","templateOutlet","menuClass","nzNoAnimation"]],template:function(t,e){if(t&1){let o=Q();B(en),O(0,"div",2,0),w("subMenuMouseState",function(q){return k(o),A(e.setMouseEnterState(q))})("toggleSubMenu",function(){return k(o),A(e.toggleSubMenu())}),v(2,tn,1,0),I(),v(3,on,1,6,"div",3)(4,rn,1,5,null,4),D(5,un,1,0,"ng-template",null,1,ve)}t&2&&(p("nzIcon",e.nzIcon)("nzTitle",e.nzTitle)("mode",e.mode)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("paddingLeft",e.nzPaddingLeft||e.inlinePaddingLeft)("nzTriggerSubMenuAction",e.nzTriggerSubMenuAction),d(2),S(e.nzTitle?-1:2),d(),S(e.mode==="inline"?3:4))},dependencies:[Be,hn,ce,zn,ye,we,j],encapsulation:2,changeDetection:0})}return i})();function Mn(){let i=s(T,{skipSelf:!0,optional:!0}),l=s(Le);return i??l}function gn(){return s(f,{skipSelf:!0,optional:!0})??!1}var Xn=(()=>{class i{nzMenuService=s(T);destroyRef=s(b);cdr=s(H);directionality=s(_);listOfNzMenuItemDirective;isMenuInsideDropDown=s(f);listOfNzSubMenuComponent;nzInlineIndent=24;nzTheme="light";nzMode="vertical";nzInlineCollapsed=!1;nzSelectable=!this.isMenuInsideDropDown;nzClick=new P;actualMode="vertical";dir="ltr";inlineCollapsed$=new z(this.nzInlineCollapsed);mode$=new z(this.nzMode);listOfOpenedNzSubMenuComponent=[];setInlineCollapsed(n){this.nzInlineCollapsed=n,this.inlineCollapsed$.next(n)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(n=>n.nzOpen),this.listOfNzSubMenuComponent.forEach(n=>n.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(n=>n.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){F([this.inlineCollapsed$,this.mode$]).pipe(u(this.destroyRef)).subscribe(([n,t])=>{this.actualMode=n?"vertical":t,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(u(this.destroyRef)).subscribe(n=>{this.nzClick.emit(n),this.nzSelectable&&!n.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(t=>t.setSelectedState(t===n))}),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(u(this.destroyRef)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(n){let{nzInlineCollapsed:t,nzInlineIndent:e,nzTheme:o,nzMode:r}=n;t&&this.inlineCollapsed$.next(this.nzInlineCollapsed),e&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),o&&this.nzMenuService.setTheme(this.nzTheme),r&&(this.mode$.next(this.nzMode),!r.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(q=>q.setOpenStateWithoutDebounce(!1)))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["","nz-menu",""]],contentQueries:function(t,e,o){if(t&1&&(E(o,Fe,5),E(o,He,5)),t&2){let r;M(r=g())&&(e.listOfNzMenuItemDirective=r),M(r=g())&&(e.listOfNzSubMenuComponent=r)}},hostVars:34,hostBindings:function(t,e){t&2&&m("ant-dropdown-menu",e.isMenuInsideDropDown)("ant-dropdown-menu-root",e.isMenuInsideDropDown)("ant-dropdown-menu-light",e.isMenuInsideDropDown&&e.nzTheme==="light")("ant-dropdown-menu-dark",e.isMenuInsideDropDown&&e.nzTheme==="dark")("ant-dropdown-menu-vertical",e.isMenuInsideDropDown&&e.actualMode==="vertical")("ant-dropdown-menu-horizontal",e.isMenuInsideDropDown&&e.actualMode==="horizontal")("ant-dropdown-menu-inline",e.isMenuInsideDropDown&&e.actualMode==="inline")("ant-dropdown-menu-inline-collapsed",e.isMenuInsideDropDown&&e.nzInlineCollapsed)("ant-menu",!e.isMenuInsideDropDown)("ant-menu-root",!e.isMenuInsideDropDown)("ant-menu-light",!e.isMenuInsideDropDown&&e.nzTheme==="light")("ant-menu-dark",!e.isMenuInsideDropDown&&e.nzTheme==="dark")("ant-menu-vertical",!e.isMenuInsideDropDown&&e.actualMode==="vertical")("ant-menu-horizontal",!e.isMenuInsideDropDown&&e.actualMode==="horizontal")("ant-menu-inline",!e.isMenuInsideDropDown&&e.actualMode==="inline")("ant-menu-inline-collapsed",!e.isMenuInsideDropDown&&e.nzInlineCollapsed)("ant-menu-rtl",e.dir==="rtl")},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:[2,"nzInlineCollapsed","nzInlineCollapsed",h],nzSelectable:[2,"nzSelectable","nzSelectable",h]},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[W([{provide:Le,useClass:T},{provide:T,useFactory:Mn},{provide:f,useFactory:gn}]),R]})}return i})();function bn(){return s(f,{optional:!0,skipSelf:!0})??!1}var Cn=(()=>{class i{renderer=s(Y);isMenuInsideDropDown=s(f);nzTitle;titleElement;ngAfterViewInit(){let n=this.titleElement.nativeElement.nextElementSibling;if(n){let t=this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list";this.renderer.addClass(n,t)}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-menu-group",""]],viewQuery:function(t,e){if(t&1&&ie(ln,5),t&2){let o;M(o=g())&&(e.titleElement=o.first)}},hostVars:4,hostBindings:function(t,e){t&2&&m("ant-menu-item-group",!e.isMenuInsideDropDown)("ant-dropdown-menu-item-group",e.isMenuInsideDropDown)},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[W([{provide:f,useFactory:bn}])],attrs:an,ngContentSelectors:cn,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"]],template:function(t,e){t&1&&(B(dn),O(0,"div",null,0),D(2,pn,2,1,"ng-container",1),v(3,mn,1,0),I(),y(4)),t&2&&(m("ant-menu-item-group-title",!e.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",e.isMenuInsideDropDown),d(2),p("nzStringTemplateOutlet",e.nzTitle),d(),S(e.nzTitle?-1:3))},dependencies:[de,ae],encapsulation:2,changeDetection:0})}return i})(),Yn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["","nz-menu-divider",""]],hostAttrs:[1,"ant-dropdown-menu-item-divider"],exportAs:["nzMenuDivider"]})}return i})(),xn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=ge({type:i});static \u0275inj=Me({imports:[He,Cn,Be]})}return i})();export{T as a,f as b,Fe as c,He as d,Xn as e,Cn as f,Yn as g,xn as h};
1
+ import{Ba as Te,Ia as Ne,J as j,Ja as ke,K as we,Ka as ae,L as ye,La as de,M as u,Z as _e,a as _,c as Ie,kb as Ae,pb as Re,sb as Pe,ub as ce,wa as a}from"./chunk-2EB7UV3S.js";import{b as Se,e as Oe,f as le}from"./chunk-X6PRUZ5G.js";import{i as ue}from"./chunk-SIKDYQOR.js";import{Ac as M,B as L,Bc as g,C as F,D as me,Da as b,Fc as V,Gb as C,Gc as oe,Hb as ge,Hc as m,Ib as x,Jc as De,Kc as se,L as G,Lc as re,M as U,Mb as D,N as he,Oa as R,Ra as X,V as ze,Xb as v,Yc as W,Zb as S,cc as p,da as Z,dc as O,ea as fe,ec as I,ed as ve,fc as $,gc as be,hc as Ce,jc as ee,kc as ne,l as N,m as z,mc as Q,na as J,oa as Me,ob as d,oc as te,qa as K,sa as s,sc as w,tb as P,vc as c,vd as H,wc as B,xc as y,ya as k,yc as E,za as A,zb as Y,zc as ie,zd as h}from"./chunk-YGWA6NUS.js";var Qe=["nz-menu-item",""],Ee=["*"],Ve=["nz-submenu-inline-child",""];function We(i,l){}var je=["nz-submenu-none-inline-child",""];function qe(i,l){}var Ge=["nz-submenu-title",""];function Ue(i,l){if(i&1&&$(0,"nz-icon",0),i&2){let n=c();p("nzType",n.nzIcon)}}function Ze(i,l){if(i&1&&(ee(0),O(1,"span",4),se(2),I(),ne()),i&2){let n=c();d(2),re(n.nzTitle)}}function Je(i,l){i&1&&$(0,"nz-icon",5)}function Ke(i,l){i&1&&$(0,"nz-icon",6)}function Xe(i,l){if(i&1&&(O(0,"span",2),v(1,Je,1,0,"nz-icon",5)(2,Ke,1,0,"nz-icon",6),I()),i&2){let n,t=c();d(),S((n=t.dir)==="rtl"?1:2)}}function Ye(i,l){i&1&&$(0,"span",3)}var xe=["nz-submenu",""],en=[[["","title",""]],"*"],nn=["[title]","*"];function tn(i,l){i&1&&y(0)}function on(i,l){if(i&1&&$(0,"div",3),i&2){let n=c(),t=V(6);p("mode",n.mode)("nzOpen",n.nzOpen)("@.disabled",!!(n.noAnimation!=null&&n.noAnimation.nzNoAnimation))("nzNoAnimation",n.noAnimation==null?null:n.noAnimation.nzNoAnimation)("menuClass",n.nzMenuClassName)("templateOutlet",t)}}function sn(i,l){if(i&1){let n=Q();O(0,"div",6),w("subMenuMouseState",function(e){k(n);let o=c(2);return A(o.setMouseEnterState(e))}),I()}if(i&2){let n=c(2),t=V(6);p("theme",n.theme)("mode",n.mode)("nzOpen",n.nzOpen)("position",n.position)("nzDisabled",n.nzDisabled)("isMenuInsideDropDown",n.isMenuInsideDropDown)("nzTriggerSubMenuAction",n.nzTriggerSubMenuAction)("templateOutlet",t)("menuClass",n.nzMenuClassName)("@.disabled",!!(n.noAnimation!=null&&n.noAnimation.nzNoAnimation))("nzNoAnimation",n.noAnimation==null?null:n.noAnimation.nzNoAnimation)}}function rn(i,l){if(i&1){let n=Q();D(0,sn,1,11,"ng-template",5),w("positionChange",function(e){k(n);let o=c();return A(o.onPositionChange(e))})("overlayOutsideClick",function(){k(n);let e=c();return A(e.setMouseEnterState(!1))})}if(i&2){let n=c(),t=V(1);p("cdkConnectedOverlayPositions",n.overlayPositions)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayWidth",n.triggerWidth)("cdkConnectedOverlayOpen",n.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function un(i,l){i&1&&y(0,1)}var ln=["titleElement"],an=["nz-menu-group",""],dn=["*",[["","title",""]]],cn=["*","[title]"];function pn(i,l){if(i&1&&(ee(0),se(1),ne()),i&2){let n=c();d(),re(n.nzTitle)}}function mn(i,l){i&1&&y(0,1)}var T=(()=>{class i{descendantMenuItemClick$=new N;childMenuItemClick$=new N;theme$=new z("light");mode$=new z("vertical");inlineIndent$=new z(24);isChildSubMenuOpen$=new z(!1);onDescendantMenuItemClick(n){this.descendantMenuItemClick$.next(n)}onChildMenuItemClick(n){this.childMenuItemClick$.next(n)}setMode(n){this.mode$.next(n)}setTheme(n){this.theme$.next(n)}setInlineIndent(n){this.inlineIndent$.next(n)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),f=new K(""),Le=new K(""),pe=(()=>{class i{nzMenuService=s(T);nzHostSubmenuService=s(i,{optional:!0,skipSelf:!0});mode$=this.nzMenuService.mode$.pipe(L(n=>n==="inline"?"inline":n==="vertical"||this.nzHostSubmenuService?"vertical":"horizontal"));level=1;isMenuInsideDropDown=s(f);isCurrentSubMenuOpen$=new z(!1);isChildSubMenuOpen$=new z(!1);isMouseEnterTitleOrOverlay$=new N;childMenuItemClick$=new N;onChildMenuItemClick(n){this.childMenuItemClick$.next(n)}setOpenStateWithoutDebounce(n){this.isCurrentSubMenuOpen$.next(n)}setMouseEnterTitleOrOverlayState(n){this.isMouseEnterTitleOrOverlay$.next(n)}constructor(){this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);let n=this.childMenuItemClick$.pipe(me(()=>this.mode$),U(o=>o!=="inline"||this.isMenuInsideDropDown),L(()=>!1)),t=G(this.isMouseEnterTitleOrOverlay$,n);F([this.isChildSubMenuOpen$,t]).pipe(L(([o,r])=>o||r),he(150)).pipe(ze(),u()).subscribe(o=>{this.setOpenStateWithoutDebounce(o),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(o):this.nzMenuService.isChildSubMenuOpen$.next(o)})}static \u0275fac=function(t){return new(t||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),Fe=(()=>{class i{nzMenuService=s(T);destroyRef=s(b);cdr=s(H);nzSubmenuService=s(pe,{optional:!0});directionality=s(_);routerLink=s(le,{optional:!0});router=s(Oe,{optional:!0});isMenuInsideDropDown=s(f);level=this.nzSubmenuService?this.nzSubmenuService.level+1:1;selected$=new N;inlinePaddingLeft=null;dir="ltr";nzPaddingLeft;nzDisabled=!1;nzSelected=!1;nzDanger=!1;nzMatchRouterExact=!1;nzMatchRouter=!1;listOfRouterLink;clickMenuItem(n){if(this.nzDisabled){n.preventDefault(),n.stopPropagation();return}this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this)}setSelectedState(n){this.nzSelected=n,this.selected$.next(n)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{let n=this.hasActiveLinks();this.nzSelected!==n&&(this.nzSelected=n,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.routerLink&&n(this.routerLink)||this.listOfRouterLink.some(n)}isLinkActive(n){return t=>n.isActive(t.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(){this.router?.events.pipe(u(),U(n=>n instanceof Se)).subscribe(()=>this.updateRouterActive())}ngOnInit(){F([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(u(this.destroyRef)).subscribe(([n,t])=>{this.inlinePaddingLeft=n==="inline"?this.level*t:null}),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(u(this.destroyRef)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(n){let{nzSelected:t}=n;t&&this.setSelectedState(this.nzSelected)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-menu-item",""]],contentQueries:function(t,e,o){if(t&1&&E(o,le,5),t&2){let r;M(r=g())&&(e.listOfRouterLink=r)}},hostVars:20,hostBindings:function(t,e){t&1&&w("click",function(r){return e.clickMenuItem(r)}),t&2&&(oe("padding-left",e.dir==="rtl"?null:e.nzPaddingLeft||e.inlinePaddingLeft,"px")("padding-right",e.dir==="rtl"?e.nzPaddingLeft||e.inlinePaddingLeft:null,"px"),m("ant-dropdown-menu-item",e.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",e.isMenuInsideDropDown&&e.nzSelected)("ant-dropdown-menu-item-danger",e.isMenuInsideDropDown&&e.nzDanger)("ant-dropdown-menu-item-disabled",e.isMenuInsideDropDown&&e.nzDisabled)("ant-menu-item",!e.isMenuInsideDropDown)("ant-menu-item-selected",!e.isMenuInsideDropDown&&e.nzSelected)("ant-menu-item-danger",!e.isMenuInsideDropDown&&e.nzDanger)("ant-menu-item-disabled",!e.isMenuInsideDropDown&&e.nzDisabled))},inputs:{nzPaddingLeft:[2,"nzPaddingLeft","nzPaddingLeft",_e],nzDisabled:[2,"nzDisabled","nzDisabled",h],nzSelected:[2,"nzSelected","nzSelected",h],nzDanger:[2,"nzDanger","nzDanger",h],nzMatchRouterExact:[2,"nzMatchRouterExact","nzMatchRouterExact",h],nzMatchRouter:[2,"nzMatchRouter","nzMatchRouter",h]},exportAs:["nzMenuItem"],features:[R],attrs:Qe,ngContentSelectors:Ee,decls:2,vars:0,consts:[[1,"ant-menu-title-content"]],template:function(t,e){t&1&&(B(),be(0,"span",0),y(1),Ce())},encapsulation:2,changeDetection:0})}return i})(),hn=(()=>{class i{elementRef=s(X);renderer=s(Y);directionality=s(_);destroyRef=s(b);templateOutlet=null;menuClass="";mode="vertical";nzOpen=!1;listOfCacheClassName=[];expandState="collapsed";dir="ltr";calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n})}ngOnChanges(n){let{mode:t,nzOpen:e,menuClass:o}=n;(t||e)&&this.calcMotionState(),o&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.forEach(r=>{r&&this.renderer.removeClass(this.elementRef.nativeElement,r)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.forEach(r=>{r&&this.renderer.addClass(this.elementRef.nativeElement,r)})))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(t,e){t&2&&(te("@collapseMotion",e.expandState),m("ant-menu-rtl",e.dir==="rtl"))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[R],attrs:Ve,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(t,e){t&1&&D(0,We,0,0,"ng-template",0),t&2&&p("ngTemplateOutlet",e.templateOutlet)},dependencies:[ue],encapsulation:2,data:{animation:[Ae]},changeDetection:0})}return i})(),zn=(()=>{class i{directionality=s(_);destroyRef=s(b);menuClass="";theme="light";templateOutlet=null;isMenuInsideDropDown=!1;mode="vertical";nzTriggerSubMenuAction="hover";position="right";nzDisabled=!1;nzOpen=!1;subMenuMouseState=new P;expandState="collapsed";dir="ltr";setMouseState(n){!this.nzDisabled&&this.nzTriggerSubMenuAction==="hover"&&this.subMenuMouseState.next(n)}calcMotionState(){this.nzOpen?this.mode==="horizontal"?this.expandState="bottom":this.mode==="vertical"&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n})}ngOnChanges(n){let{mode:t,nzOpen:e}=n;(t||e)&&this.calcMotionState()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(t,e){t&1&&w("mouseenter",function(){return e.setMouseState(!0)})("mouseleave",function(){return e.setMouseState(!1)}),t&2&&(te("@slideMotion",e.expandState)("@zoomBigMotion",e.expandState),m("ant-menu-light",e.theme==="light")("ant-menu-dark",e.theme==="dark")("ant-menu-submenu-placement-bottom",e.mode==="horizontal")("ant-menu-submenu-placement-right",e.mode==="vertical"&&e.position==="right")("ant-menu-submenu-placement-left",e.mode==="vertical"&&e.position==="left")("ant-menu-submenu-rtl",e.dir==="rtl"))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[R],attrs:je,decls:2,vars:17,consts:[[3,"ngTemplateOutlet"]],template:function(t,e){t&1&&(O(0,"div"),D(1,qe,0,0,"ng-template",0),I()),t&2&&(De(e.menuClass),m("ant-dropdown-menu",e.isMenuInsideDropDown)("ant-menu",!e.isMenuInsideDropDown)("ant-dropdown-menu-vertical",e.isMenuInsideDropDown)("ant-menu-vertical",!e.isMenuInsideDropDown)("ant-dropdown-menu-sub",e.isMenuInsideDropDown)("ant-menu-sub",!e.isMenuInsideDropDown)("ant-menu-rtl",e.dir==="rtl"),d(),p("ngTemplateOutlet",e.templateOutlet))},dependencies:[ue],encapsulation:2,data:{animation:[Pe,Re]},changeDetection:0})}return i})(),Be=(()=>{class i{destroyRef=s(b);cdr=s(H);directionality=s(_);nzIcon=null;nzTitle=null;isMenuInsideDropDown=!1;nzDisabled=!1;paddingLeft=null;mode="vertical";nzTriggerSubMenuAction="hover";toggleSubMenu=new P;subMenuMouseState=new P;dir="ltr";ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()})}setMouseState(n){!this.nzDisabled&&this.nzTriggerSubMenuAction==="hover"&&this.subMenuMouseState.next(n)}clickTitle(){(this.mode==="inline"||this.nzTriggerSubMenuAction==="click")&&!this.nzDisabled&&(this.subMenuMouseState.next(!0),this.toggleSubMenu.emit())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(t,e){t&1&&w("click",function(){return e.clickTitle()})("mouseenter",function(){return e.setMouseState(!0)})("mouseleave",function(){return e.setMouseState(!1)}),t&2&&(oe("padding-left",e.dir==="rtl"?null:e.paddingLeft,"px")("padding-right",e.dir==="rtl"?e.paddingLeft:null,"px"),m("ant-dropdown-menu-submenu-title",e.isMenuInsideDropDown)("ant-menu-submenu-title",!e.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:Ge,ngContentSelectors:Ee,decls:5,vars:3,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"],[1,"ant-dropdown-menu-submenu-expand-icon"],[1,"ant-menu-submenu-arrow"],[1,"ant-menu-title-content"],["nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"]],template:function(t,e){t&1&&(B(),v(0,Ue,1,1,"nz-icon",0),D(1,Ze,3,1,"ng-container",1),y(2),v(3,Xe,3,1,"span",2)(4,Ye,1,0,"span",3)),t&2&&(S(e.nzIcon?0:-1),d(),p("nzStringTemplateOutlet",e.nzTitle),d(2),S(e.isMenuInsideDropDown?3:4))},dependencies:[ke,Ne,de,ae],encapsulation:2,changeDetection:0})}return i})(),$e=[a.rightTop,a.right,a.rightBottom,a.leftTop,a.left,a.leftBottom],fn=[a.bottomLeft,a.bottomRight,a.topRight,a.topLeft],He=(()=>{class i{nzSubmenuService=s(pe);isMenuInsideDropDown=s(f);noAnimation=s(ce,{optional:!0,host:!0});directionality=s(_);destroyRef=s(b);nzMenuService=s(T);cdr=s(H);platform=s(Ie);nzMenuClassName="";nzPaddingLeft=null;nzTitle=null;nzIcon=null;nzTriggerSubMenuAction="hover";nzOpen=!1;nzDisabled=!1;nzPlacement="bottomLeft";nzOpenChange=new P;cdkOverlayOrigin=null;listOfNzSubMenuComponent=null;listOfNzMenuItemDirective=null;level=this.nzSubmenuService.level;position="right";triggerWidth=null;theme="light";mode="vertical";inlinePaddingLeft=null;overlayPositions=$e;isSelected=!1;isActive=!1;dir="ltr";setOpenStateWithoutDebounce(n){this.nzSubmenuService.setOpenStateWithoutDebounce(n)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(n){this.isActive=n,this.mode!=="inline"&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(n)}setTriggerWidth(){this.mode==="horizontal"&&this.platform.isBrowser&&this.cdkOverlayOrigin&&this.nzPlacement==="bottomLeft"&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(n){let t=Te(n);t==="rightTop"||t==="rightBottom"||t==="right"?this.position="right":(t==="leftTop"||t==="leftBottom"||t==="left")&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe(u(this.destroyRef)).subscribe(n=>{this.theme=n,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(u(this.destroyRef)).subscribe(n=>{this.mode=n,n==="horizontal"?this.overlayPositions=[a[this.nzPlacement],...fn]:n==="vertical"&&(this.overlayPositions=$e),this.cdr.markForCheck()}),F([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(u(this.destroyRef)).subscribe(([n,t])=>{this.inlinePaddingLeft=n==="inline"?this.level*t:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(u(this.destroyRef)).subscribe(n=>{this.isActive=n,n!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=n,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();let n=this.listOfNzMenuItemDirective,t=n.changes,e=G(t,...n.map(o=>o.selected$));t.pipe(Z(n),fe(()=>e),Z(!0),L(()=>n.some(o=>o.nzSelected)),u(this.destroyRef)).subscribe(o=>{this.isSelected=o,this.cdr.markForCheck()})}ngOnChanges(n){let{nzOpen:t}=n;t&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-submenu",""]],contentQueries:function(t,e,o){if(t&1&&(E(o,i,5),E(o,Fe,5)),t&2){let r;M(r=g())&&(e.listOfNzSubMenuComponent=r),M(r=g())&&(e.listOfNzMenuItemDirective=r)}},viewQuery:function(t,e){if(t&1&&ie(j,7,X),t&2){let o;M(o=g())&&(e.cdkOverlayOrigin=o.first)}},hostVars:34,hostBindings:function(t,e){t&2&&m("ant-dropdown-menu-submenu",e.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",e.isMenuInsideDropDown&&e.nzDisabled)("ant-dropdown-menu-submenu-open",e.isMenuInsideDropDown&&e.nzOpen)("ant-dropdown-menu-submenu-selected",e.isMenuInsideDropDown&&e.isSelected)("ant-dropdown-menu-submenu-vertical",e.isMenuInsideDropDown&&e.mode==="vertical")("ant-dropdown-menu-submenu-horizontal",e.isMenuInsideDropDown&&e.mode==="horizontal")("ant-dropdown-menu-submenu-inline",e.isMenuInsideDropDown&&e.mode==="inline")("ant-dropdown-menu-submenu-active",e.isMenuInsideDropDown&&e.isActive)("ant-menu-submenu",!e.isMenuInsideDropDown)("ant-menu-submenu-disabled",!e.isMenuInsideDropDown&&e.nzDisabled)("ant-menu-submenu-open",!e.isMenuInsideDropDown&&e.nzOpen)("ant-menu-submenu-selected",!e.isMenuInsideDropDown&&e.isSelected)("ant-menu-submenu-vertical",!e.isMenuInsideDropDown&&e.mode==="vertical")("ant-menu-submenu-horizontal",!e.isMenuInsideDropDown&&e.mode==="horizontal")("ant-menu-submenu-inline",!e.isMenuInsideDropDown&&e.mode==="inline")("ant-menu-submenu-active",!e.isMenuInsideDropDown&&e.isActive)("ant-menu-submenu-rtl",e.dir==="rtl")},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",nzOpen:[2,"nzOpen","nzOpen",h],nzDisabled:[2,"nzDisabled","nzDisabled",h],nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[W([pe]),R],attrs:xe,ngContentSelectors:nn,decls:7,vars:9,consts:[["origin","cdkOverlayOrigin"],["subMenuTemplate",""],["nz-submenu-title","","cdkOverlayOrigin","",3,"subMenuMouseState","toggleSubMenu","nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","nzTriggerSubMenuAction"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["cdkConnectedOverlay","",3,"positionChange","overlayOutsideClick","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["nz-submenu-none-inline-child","",3,"subMenuMouseState","theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","nzTriggerSubMenuAction","templateOutlet","menuClass","nzNoAnimation"]],template:function(t,e){if(t&1){let o=Q();B(en),O(0,"div",2,0),w("subMenuMouseState",function(q){return k(o),A(e.setMouseEnterState(q))})("toggleSubMenu",function(){return k(o),A(e.toggleSubMenu())}),v(2,tn,1,0),I(),v(3,on,1,6,"div",3)(4,rn,1,5,null,4),D(5,un,1,0,"ng-template",null,1,ve)}t&2&&(p("nzIcon",e.nzIcon)("nzTitle",e.nzTitle)("mode",e.mode)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("paddingLeft",e.nzPaddingLeft||e.inlinePaddingLeft)("nzTriggerSubMenuAction",e.nzTriggerSubMenuAction),d(2),S(e.nzTitle?-1:2),d(),S(e.mode==="inline"?3:4))},dependencies:[Be,hn,ce,zn,ye,we,j],encapsulation:2,changeDetection:0})}return i})();function Mn(){let i=s(T,{skipSelf:!0,optional:!0}),l=s(Le);return i??l}function gn(){return s(f,{skipSelf:!0,optional:!0})??!1}var Xn=(()=>{class i{nzMenuService=s(T);destroyRef=s(b);cdr=s(H);directionality=s(_);listOfNzMenuItemDirective;isMenuInsideDropDown=s(f);listOfNzSubMenuComponent;nzInlineIndent=24;nzTheme="light";nzMode="vertical";nzInlineCollapsed=!1;nzSelectable=!this.isMenuInsideDropDown;nzClick=new P;actualMode="vertical";dir="ltr";inlineCollapsed$=new z(this.nzInlineCollapsed);mode$=new z(this.nzMode);listOfOpenedNzSubMenuComponent=[];setInlineCollapsed(n){this.nzInlineCollapsed=n,this.inlineCollapsed$.next(n)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(n=>n.nzOpen),this.listOfNzSubMenuComponent.forEach(n=>n.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(n=>n.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){F([this.inlineCollapsed$,this.mode$]).pipe(u(this.destroyRef)).subscribe(([n,t])=>{this.actualMode=n?"vertical":t,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(u(this.destroyRef)).subscribe(n=>{this.nzClick.emit(n),this.nzSelectable&&!n.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(t=>t.setSelectedState(t===n))}),this.dir=this.directionality.value,this.directionality.change?.pipe(u(this.destroyRef)).subscribe(n=>{this.dir=n,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(u(this.destroyRef)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(n){let{nzInlineCollapsed:t,nzInlineIndent:e,nzTheme:o,nzMode:r}=n;t&&this.inlineCollapsed$.next(this.nzInlineCollapsed),e&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),o&&this.nzMenuService.setTheme(this.nzTheme),r&&(this.mode$.next(this.nzMode),!r.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(q=>q.setOpenStateWithoutDebounce(!1)))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["","nz-menu",""]],contentQueries:function(t,e,o){if(t&1&&(E(o,Fe,5),E(o,He,5)),t&2){let r;M(r=g())&&(e.listOfNzMenuItemDirective=r),M(r=g())&&(e.listOfNzSubMenuComponent=r)}},hostVars:34,hostBindings:function(t,e){t&2&&m("ant-dropdown-menu",e.isMenuInsideDropDown)("ant-dropdown-menu-root",e.isMenuInsideDropDown)("ant-dropdown-menu-light",e.isMenuInsideDropDown&&e.nzTheme==="light")("ant-dropdown-menu-dark",e.isMenuInsideDropDown&&e.nzTheme==="dark")("ant-dropdown-menu-vertical",e.isMenuInsideDropDown&&e.actualMode==="vertical")("ant-dropdown-menu-horizontal",e.isMenuInsideDropDown&&e.actualMode==="horizontal")("ant-dropdown-menu-inline",e.isMenuInsideDropDown&&e.actualMode==="inline")("ant-dropdown-menu-inline-collapsed",e.isMenuInsideDropDown&&e.nzInlineCollapsed)("ant-menu",!e.isMenuInsideDropDown)("ant-menu-root",!e.isMenuInsideDropDown)("ant-menu-light",!e.isMenuInsideDropDown&&e.nzTheme==="light")("ant-menu-dark",!e.isMenuInsideDropDown&&e.nzTheme==="dark")("ant-menu-vertical",!e.isMenuInsideDropDown&&e.actualMode==="vertical")("ant-menu-horizontal",!e.isMenuInsideDropDown&&e.actualMode==="horizontal")("ant-menu-inline",!e.isMenuInsideDropDown&&e.actualMode==="inline")("ant-menu-inline-collapsed",!e.isMenuInsideDropDown&&e.nzInlineCollapsed)("ant-menu-rtl",e.dir==="rtl")},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:[2,"nzInlineCollapsed","nzInlineCollapsed",h],nzSelectable:[2,"nzSelectable","nzSelectable",h]},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[W([{provide:Le,useClass:T},{provide:T,useFactory:Mn},{provide:f,useFactory:gn}]),R]})}return i})();function bn(){return s(f,{optional:!0,skipSelf:!0})??!1}var Cn=(()=>{class i{renderer=s(Y);isMenuInsideDropDown=s(f);nzTitle;titleElement;ngAfterViewInit(){let n=this.titleElement.nativeElement.nextElementSibling;if(n){let t=this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list";this.renderer.addClass(n,t)}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=C({type:i,selectors:[["","nz-menu-group",""]],viewQuery:function(t,e){if(t&1&&ie(ln,5),t&2){let o;M(o=g())&&(e.titleElement=o.first)}},hostVars:4,hostBindings:function(t,e){t&2&&m("ant-menu-item-group",!e.isMenuInsideDropDown)("ant-dropdown-menu-item-group",e.isMenuInsideDropDown)},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[W([{provide:f,useFactory:bn}])],attrs:an,ngContentSelectors:cn,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"]],template:function(t,e){t&1&&(B(dn),O(0,"div",null,0),D(2,pn,2,1,"ng-container",1),v(3,mn,1,0),I(),y(4)),t&2&&(m("ant-menu-item-group-title",!e.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",e.isMenuInsideDropDown),d(2),p("nzStringTemplateOutlet",e.nzTitle),d(),S(e.nzTitle?-1:3))},dependencies:[de,ae],encapsulation:2,changeDetection:0})}return i})(),Yn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["","nz-menu-divider",""]],hostAttrs:[1,"ant-dropdown-menu-item-divider"],exportAs:["nzMenuDivider"]})}return i})(),xn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=ge({type:i});static \u0275inj=Me({imports:[He,Cn,Be]})}return i})();export{T as a,f as b,Fe as c,He as d,Xn as e,Cn as f,Yn as g,xn as h};
@@ -1 +1 @@
1
- import{k as c}from"./chunk-K6C5ZIV2.js";import{u as r}from"./chunk-KRYMOHYF.js";import{Ha as a,m,na as i,sa as k}from"./chunk-4BRW6LCZ.js";var R=class e{api=k(c);refresh(t){return this.api.post(`/api/tasks/refresh/${t}`,{})}refreshProjectScripts(t){return this.api.post(`/api/projects/refreshScripts/${t}`,{})}getViews(t){return this.api.get(`/api/tasks/list/${t}`)}getStatus(t){return this.api.get(`/api/tasks/status/${t}`)}start(t){let s={taskId:t};return this.api.post("/api/tasks/start",s)}stop(t){let s={taskId:t};return this.api.post("/api/tasks/stop",s)}restart(t){let s={taskId:t};return this.api.post("/api/tasks/restart",s)}active(){return this.api.get("/api/tasks/active")}getRunLog(t,s=200){let n=new r().set("tail",s.toString());return this.api.get(`/api/tasks/log/run/${t}`,n)}getLatestReport(t){return this.api.get(`/api/tasks/report/latest/${t}`)}getLatestDiagnostics(t){return this.api.get(`/api/tasks/diagnostics/latest/${t}`)}getReportSummariesByTask(t,s=10){let n=new r().set("limit",String(s));return this.api.get(`/api/tasks/report/summary/task/${t}`,n)}getDashboard(t){return this.api.get(`/api/tasks/dashboard/${t}`)}getSyslog(t=200){let s=new r().set("tail",t.toString());return this.api.get("/api/tasks/syslog",s)}static \u0275fac=function(s){return new(s||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};var T=class e{statusByTask=new Map;sigByTask=new Map;runtimeByTask=new Map;runningCountByProject=new Map;totalRunningCount=a(0);totalRunningCountSignal(){return this.totalRunningCount}setRuntime(t){let s=this.norm(t.taskId),n=this.norm(t.projectId);if(!s||!n)return;let h=this.ensureTaskSignal(s)(),o=this.isBusy(h.status),d=this.isBusy(t.status),u=this.toStatus(t);if(this.ensureTaskSubject(s).next(u),this.ensureTaskSignal(s).set(u),this.ensureRuntimeSignal(s).set(t),o!==d){let p=this.ensureProjectCount(n),g=p();p.set(o?Math.max(0,g-1):g+1);let l=this.totalRunningCount();this.totalRunningCount.set(o?Math.max(0,l-1):l+1)}}status$(t){return this.ensureTaskSubject(t).asObservable()}statusSignal(t){return this.ensureTaskSignal(t)}runtimeSignal(t){return this.ensureRuntimeSignal(t)}hasRunning(t){return this.ensureProjectCount(t)()>0}runningCountSignal(t){return this.ensureProjectCount(t)}snapshot(t){return this.ensureTaskSignal(t)()}toStatus(t){switch(t.status){case"idle":return{status:"idle"};case"running":return{status:"running",pid:t.pid,startedAt:t.startedAt};case"stopping":return{status:"stopping"};case"failed":return{status:"failed",exitCode:t.exitCode??null,signal:t.signal??null,stoppedAt:t.stoppedAt};case"success":return{status:"success",exitCode:t.exitCode??null,signal:t.signal??null,stoppedAt:t.stoppedAt};case"stopped":return{status:"stopped",exitCode:t.exitCode??null,signal:t.signal??null,stoppedAt:t.stoppedAt};default:return{status:"idle"}}}isBusy(t){return t==="running"||t==="stopping"}norm(t){return(t??"").trim()}ensureTaskSubject(t){let s=this.norm(t);return this.statusByTask.has(s)||this.statusByTask.set(s,new m({status:"idle"})),this.statusByTask.get(s)}ensureTaskSignal(t){let s=this.norm(t);return this.sigByTask.has(s)||this.sigByTask.set(s,a({status:"idle"})),this.sigByTask.get(s)}ensureProjectCount(t){let s=this.norm(t);return this.runningCountByProject.has(s)||this.runningCountByProject.set(s,a(0)),this.runningCountByProject.get(s)}ensureRuntimeSignal(t){let s=this.norm(t);return this.runtimeByTask.has(s)||this.runtimeByTask.set(s,a(void 0)),this.runtimeByTask.get(s)}static \u0275fac=function(s){return new(s||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};export{R as a,T as b};
1
+ import{k as c}from"./chunk-JIVQNGBJ.js";import{u as r}from"./chunk-SIKDYQOR.js";import{Ha as a,m,na as i,sa as k}from"./chunk-YGWA6NUS.js";var R=class e{api=k(c);refresh(t){return this.api.post(`/api/tasks/refresh/${t}`,{})}refreshProjectScripts(t){return this.api.post(`/api/projects/refreshScripts/${t}`,{})}getViews(t){return this.api.get(`/api/tasks/list/${t}`)}getStatus(t){return this.api.get(`/api/tasks/status/${t}`)}start(t){let s={taskId:t};return this.api.post("/api/tasks/start",s)}stop(t){let s={taskId:t};return this.api.post("/api/tasks/stop",s)}restart(t){let s={taskId:t};return this.api.post("/api/tasks/restart",s)}active(){return this.api.get("/api/tasks/active")}getRunLog(t,s=200){let n=new r().set("tail",s.toString());return this.api.get(`/api/tasks/log/run/${t}`,n)}getLatestReport(t){return this.api.get(`/api/tasks/report/latest/${t}`)}getLatestDiagnostics(t){return this.api.get(`/api/tasks/diagnostics/latest/${t}`)}getReportSummariesByTask(t,s=10){let n=new r().set("limit",String(s));return this.api.get(`/api/tasks/report/summary/task/${t}`,n)}getDashboard(t){return this.api.get(`/api/tasks/dashboard/${t}`)}getSyslog(t=200){let s=new r().set("tail",t.toString());return this.api.get("/api/tasks/syslog",s)}static \u0275fac=function(s){return new(s||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};var T=class e{statusByTask=new Map;sigByTask=new Map;runtimeByTask=new Map;runningCountByProject=new Map;totalRunningCount=a(0);totalRunningCountSignal(){return this.totalRunningCount}setRuntime(t){let s=this.norm(t.taskId),n=this.norm(t.projectId);if(!s||!n)return;let h=this.ensureTaskSignal(s)(),o=this.isBusy(h.status),d=this.isBusy(t.status),u=this.toStatus(t);if(this.ensureTaskSubject(s).next(u),this.ensureTaskSignal(s).set(u),this.ensureRuntimeSignal(s).set(t),o!==d){let p=this.ensureProjectCount(n),g=p();p.set(o?Math.max(0,g-1):g+1);let l=this.totalRunningCount();this.totalRunningCount.set(o?Math.max(0,l-1):l+1)}}status$(t){return this.ensureTaskSubject(t).asObservable()}statusSignal(t){return this.ensureTaskSignal(t)}runtimeSignal(t){return this.ensureRuntimeSignal(t)}hasRunning(t){return this.ensureProjectCount(t)()>0}runningCountSignal(t){return this.ensureProjectCount(t)}snapshot(t){return this.ensureTaskSignal(t)()}toStatus(t){switch(t.status){case"idle":return{status:"idle"};case"running":return{status:"running",pid:t.pid,startedAt:t.startedAt};case"stopping":return{status:"stopping"};case"failed":return{status:"failed",exitCode:t.exitCode??null,signal:t.signal??null,stoppedAt:t.stoppedAt};case"success":return{status:"success",exitCode:t.exitCode??null,signal:t.signal??null,stoppedAt:t.stoppedAt};case"stopped":return{status:"stopped",exitCode:t.exitCode??null,signal:t.signal??null,stoppedAt:t.stoppedAt};default:return{status:"idle"}}}isBusy(t){return t==="running"||t==="stopping"}norm(t){return(t??"").trim()}ensureTaskSubject(t){let s=this.norm(t);return this.statusByTask.has(s)||this.statusByTask.set(s,new m({status:"idle"})),this.statusByTask.get(s)}ensureTaskSignal(t){let s=this.norm(t);return this.sigByTask.has(s)||this.sigByTask.set(s,a({status:"idle"})),this.sigByTask.get(s)}ensureProjectCount(t){let s=this.norm(t);return this.runningCountByProject.has(s)||this.runningCountByProject.set(s,a(0)),this.runningCountByProject.get(s)}ensureRuntimeSignal(t){let s=this.norm(t);return this.runtimeByTask.has(s)||this.runtimeByTask.set(s,a(void 0)),this.runtimeByTask.get(s)}static \u0275fac=function(s){return new(s||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};export{R as a,T as b};
@@ -1,2 +1,2 @@
1
- import{a as v,b as y}from"./chunk-442QFABJ.js";import{a as N}from"./chunk-PB2LGZNW.js";import{e as C,k as V,l as b,m as w}from"./chunk-K6C5ZIV2.js";import{Ha as c,a,b as l,id as g,jd as R,l as I,na as f,ra as P,sa as m,y as h,z as x}from"./chunk-4BRW6LCZ.js";var k=class p{constructor(e,t){this.ws=e;this.runtimeStore=t;this.ws.messages().subscribe(r=>this.onMessage(r)),this.ws.stateChanges().subscribe(r=>{r==="open"&&this.lastWsState!=="open"&&this.replaySubs(),this.lastWsState=r})}outputByTaskId=new Map;event$=new I;subs=new Map;lastWsState="idle";ensureConnected(){this.ws.connect()}subscribeTask(e,t=200,r){let i=e.trim();if(!i)return;let n=Math.max(0,Math.min(5e3,t|0)),o=this.subs.get(i),s=!!r?.replay;if(!o){this.subs.set(i,{tail:n,refs:1}),this.ws.isOpen()&&this.ws.send({op:"sub",topic:"task",taskId:i,tail:n});return}let d=Math.max(o.tail,n);this.subs.set(i,{tail:d,refs:o.refs+1}),this.ws.isOpen()&&(d!==o.tail||s)&&this.ws.send({op:"sub",topic:"task",taskId:i,tail:d})}unsubscribeTask(e){let t=e.trim(),r=this.subs.get(t);if(!r)return;let i=r.refs-1;if(i>0){this.subs.set(t,l(a({},r),{refs:i}));return}this.subs.delete(t),this.ws.isOpen()&&this.ws.send({op:"unsub",topic:"task",taskId:t})}replayTask(e,t=200){let r=String(e??"").trim();if(!r)return;let i=Math.max(0,Math.min(5e3,t|0)),n=this.subs.get(r),o=Math.max(n?.tail??0,i);n&&o!==n.tail&&this.subs.set(r,l(a({},n),{tail:o})),this.ws.isOpen()&&this.ws.send({op:"sub",topic:"task",taskId:r,tail:o||i})}resize(e,t,r){let i=String(e??"").trim();i&&this.ws.isOpen()&&this.ws.send({op:"resize",topic:"task",taskId:i,cols:t,rows:r})}output$(e){return this.ensureOutput(e).asObservable()}events$(){return this.event$.asObservable()}status$(e){return this.runtimeStore.status$(e)}replaySubs(){for(let[e,t]of this.subs.entries())this.ws.send({op:"sub",topic:"task",taskId:e,tail:t.tail})}onMessage(e){let t=e?.op;if(t==="task.output"){let r=e.payload,i=String(r.taskId??"").trim();if(!i)return;this.ensureOutput(i).next(e);return}if(t==="task.event"){let r=e.payload,i=e.type,n=String(r.taskId??"").trim();if(!n)return;this.event$.next(e);let o=this.applyEventToRuntime(i,r,e.ts);if(o&&this.runtimeStore.setRuntime(o),(i==="exited"||i==="failed")&&setTimeout(()=>this.outputByTaskId.delete(n),300*1e3),i==="failed"){let s=r,d=`[failed] ${s?.error??""}`.trim(),u={runId:s.runId,taskId:n,stream:"stderr",text:d+`
1
+ import{a as v,b as y}from"./chunk-RKKAY5CD.js";import{a as N}from"./chunk-GYXK6ZZT.js";import{a as w}from"./chunk-7VJKEZTT.js";import{e as C,k as V,l as b}from"./chunk-JIVQNGBJ.js";import{Ha as c,a,b as l,jd as g,kd as R,l as I,na as f,ra as P,sa as m,y as h,z as x}from"./chunk-YGWA6NUS.js";var k=class p{constructor(e,t){this.ws=e;this.runtimeStore=t;this.ws.messages().subscribe(r=>this.onMessage(r)),this.ws.stateChanges().subscribe(r=>{r==="open"&&this.lastWsState!=="open"&&this.replaySubs(),this.lastWsState=r})}outputByTaskId=new Map;event$=new I;subs=new Map;lastWsState="idle";ensureConnected(){this.ws.connect()}subscribeTask(e,t=200,r){let i=e.trim();if(!i)return;let n=Math.max(0,Math.min(5e3,t|0)),o=this.subs.get(i),s=!!r?.replay;if(!o){this.subs.set(i,{tail:n,refs:1}),this.ws.isOpen()&&this.ws.send({op:"sub",topic:"task",taskId:i,tail:n});return}let d=Math.max(o.tail,n);this.subs.set(i,{tail:d,refs:o.refs+1}),this.ws.isOpen()&&(d!==o.tail||s)&&this.ws.send({op:"sub",topic:"task",taskId:i,tail:d})}unsubscribeTask(e){let t=e.trim(),r=this.subs.get(t);if(!r)return;let i=r.refs-1;if(i>0){this.subs.set(t,l(a({},r),{refs:i}));return}this.subs.delete(t),this.ws.isOpen()&&this.ws.send({op:"unsub",topic:"task",taskId:t})}replayTask(e,t=200){let r=String(e??"").trim();if(!r)return;let i=Math.max(0,Math.min(5e3,t|0)),n=this.subs.get(r),o=Math.max(n?.tail??0,i);n&&o!==n.tail&&this.subs.set(r,l(a({},n),{tail:o})),this.ws.isOpen()&&this.ws.send({op:"sub",topic:"task",taskId:r,tail:o||i})}resize(e,t,r){let i=String(e??"").trim();i&&this.ws.isOpen()&&this.ws.send({op:"resize",topic:"task",taskId:i,cols:t,rows:r})}output$(e){return this.ensureOutput(e).asObservable()}events$(){return this.event$.asObservable()}status$(e){return this.runtimeStore.status$(e)}replaySubs(){for(let[e,t]of this.subs.entries())this.ws.send({op:"sub",topic:"task",taskId:e,tail:t.tail})}onMessage(e){let t=e?.op;if(t==="task.output"){let r=e.payload,i=String(r.taskId??"").trim();if(!i)return;this.ensureOutput(i).next(e);return}if(t==="task.event"){let r=e.payload,i=e.type,n=String(r.taskId??"").trim();if(!n)return;this.event$.next(e);let o=this.applyEventToRuntime(i,r,e.ts);if(o&&this.runtimeStore.setRuntime(o),(i==="exited"||i==="failed")&&setTimeout(()=>this.outputByTaskId.delete(n),300*1e3),i==="failed"){let s=r,d=`[failed] ${s?.error??""}`.trim(),u={runId:s.runId,taskId:n,stream:"stderr",text:d+`
2
2
  `};this.ensureOutput(n).next({op:"task.output",payload:u,ts:e.ts})}}}ensureOutput(e){let t=String(e??"").trim();return this.outputByTaskId.has(t)||this.outputByTaskId.set(t,new I),this.outputByTaskId.get(t)}applyEventToRuntime(e,t,r){let i=String(t?.taskId??"").trim(),n=String(t?.runId??"").trim();if(!i||!n)return null;let o=this.runtimeStore.runtimeSignal(i)(),s=o&&o.runId===n?a({},o):{taskId:i,runId:n,projectId:String(t?.projectId??o?.projectId??"").trim(),status:"idle"};switch(e){case"snapshot":let d=t;return s.projectId=String(d?.projectId??s.projectId??"").trim(),s.status=d.status,s.startedAt=d.startedAt,s.stoppedAt=d.stoppedAt,s.pid=d.pid,s.exitCode=d.exitCode,s.signal=d.signal,s.urls=d.urls,s.lastOutputAt=d.lastOutputAt,s.readyAt=d.readyAt,s.rebuildDurationMs=d.rebuildDurationMs,s.warningsCount=d.warningsCount,s.errorsCount=d.errorsCount,s;case"started":if(o&&o.runId===n){let T=o.status;if(T==="success"||T==="failed"||T==="stopped")return o}return s.projectId=String(t?.projectId??s.projectId??"").trim(),s.status="running",s.pid=t?.pid??s.pid,s.startedAt=t?.startedAt??s.startedAt??r??Date.now(),s.stoppedAt=void 0,s.exitCode=void 0,s.signal=void 0,s;case"stopRequested":return s.status="stopping",s;case"exited":if(s.status==="success"||s.status==="stopped"||s.status==="failed")return s.exitCode=t?.exitCode??s.exitCode??null,s.signal=t?.signal??s.signal??null,s.stoppedAt=t?.stoppedAt??s.stoppedAt??r??Date.now(),s;let u=s.status==="stopping";return s.exitCode=t?.exitCode??null,s.signal=t?.signal??null,u||s.signal?s.status="stopped":s.exitCode===0?s.status="success":s.exitCode==null?s.status="stopped":s.status="failed",s.stoppedAt=t?.stoppedAt??r??Date.now(),s;case"failed":return s.status="failed",s.stoppedAt=s.stoppedAt??Date.now(),s.exitCode=s.exitCode??null,s.signal=s.signal??null,s;default:return null}}static \u0275fac=function(t){return new(t||p)(P(N),P(y))};static \u0275prov=f({token:p,factory:p.\u0275fac,providedIn:"root"})};var S=class p{api=m(v);runtimeStore=m(y);state=c({rowsByProject:{},loadingByProject:{},loadedAtByProject:{}});rowsOf(e){let t=(e??"").trim();return g(()=>this.state().rowsByProject[t]??[])}isLoading(e){let t=(e??"").trim();return g(()=>!!this.state().loadingByProject[t])}isLoaded(e){let t=(e??"").trim();return g(()=>this.state().loadedAtByProject[t]!=null)}async ensureLoaded(e,t){let r=(e??"").trim();if(!r)return;let i=this.state(),n=i.loadedAtByProject[r]!=null,o=!!i.loadingByProject[r];if(!(!t?.force&&(n||o))){this.state.update(s=>l(a({},s),{loadingByProject:l(a({},s.loadingByProject),{[r]:!0})}));try{let d=(await x(this.api.getViews(r))??[]).map(u=>({spec:u.spec,runtime:u.runtime?{taskId:u.runtime.taskId,projectId:u.runtime.projectId,runId:u.runtime.runId,status:u.runtime.status,pid:u.runtime.pid,startedAt:u.runtime.startedAt,stoppedAt:u.runtime.stoppedAt,exitCode:u.runtime.exitCode,signal:u.runtime.signal}:void 0}));for(let u of d)u.runtime&&this.runtimeStore.setRuntime(u.runtime);this.state.update(u=>l(a({},u),{rowsByProject:l(a({},u.rowsByProject),{[r]:d}),loadedAtByProject:l(a({},u.loadedAtByProject),{[r]:Date.now()})}))}finally{this.state.update(s=>l(a({},s),{loadingByProject:l(a({},s.loadingByProject),{[r]:!1})}))}}}setRows(e,t){let r=(e??"").trim();if(r){for(let i of t??[]){if(!i.runtime)continue;this.runtimeStore.runtimeSignal(i.runtime.taskId)()||this.runtimeStore.setRuntime(i.runtime)}this.state.update(i=>l(a({},i),{rowsByProject:l(a({},i.rowsByProject),{[r]:t??[]}),loadedAtByProject:l(a({},i.loadedAtByProject),{[r]:Date.now()})}))}}clear(e){let t=(e??"").trim();t&&this.state.update(r=>{let i=a({},r.rowsByProject),n=a({},r.loadingByProject),o=a({},r.loadedAtByProject);return delete i[t],delete n[t],delete o[t],{rowsByProject:i,loadingByProject:n,loadedAtByProject:o}})}static \u0275fac=function(t){return new(t||p)};static \u0275prov=f({token:p,factory:p.\u0275fac,providedIn:"root"})};var j=class p{api=m(V);projectContext=m(w);currentVersion=c(null);availableVersions=c([]);manager=c("none");loading=c(!1);error=c(null);switching=c(!1);switchError=c(null);projectRequirement=c(null);hasVersionManager=c(!1);recommendedVersions=c([]);alreadyInstalled=c(!1);canSwitch=c(!1);getNoManagerMessage(){return"\u8BF7\u5148\u5B89\u88C5 NVM \u6216 Volta \u624D\u80FD\u4F7F\u7528\u81EA\u52A8\u5207\u6362 Node \u7248\u672C\u529F\u80FD"}async getCurrentVersion(){this.loading.set(!0),this.error.set(null);try{let e=await h(this.api.get("/api/node-version/current"));e&&(this.currentVersion.set(e.current),this.availableVersions.set(e.available),this.manager.set(e.manager),this.hasVersionManager.set(e.manager!=="none"),this.canSwitch.set(e.manager!=="none"))}catch(e){this.error.set(e?.message||"\u83B7\u53D6 Node \u7248\u672C\u4FE1\u606F\u5931\u8D25")}finally{this.loading.set(!1)}}async loadProjectRequirement(){let e=this.projectContext.currentProject()?.root;if(!e){this.projectRequirement.set(null);return}try{let t=await h(this.api.post("/api/node-version/project-requirement",{projectPath:e}));this.projectRequirement.set(t)}catch(t){console.error("\u52A0\u8F7D\u9879\u76EE Node \u7248\u672C\u8981\u6C42\u5931\u8D25:",t),this.projectRequirement.set(null)}}async switchVersion(e){if(this.manager()==="none")return this.switchError.set(this.getNoManagerMessage()),!1;this.switching.set(!0),this.switchError.set(null);try{let t=await h(this.api.post("/api/node-version/switch",{version:e}));return t?(this.currentVersion.set(t.current),this.availableVersions.set(t.available),this.manager.set(t.manager),!0):!1}catch(t){let r=b(t,"\u5207\u6362 Node \u7248\u672C\u5931\u8D25");return this.switchError.set(r),!1}finally{this.switching.set(!1)}}clearSwitchError(){this.switchError.set(null)}clearError(){this.error.set(null)}generateRecommendedVersions(e){if(!e)return this.getCommonLTSVersions();let t=n=>{let s=n.replace(/^[\^~>=<]+/,"").match(/^(\d+)\.(\d+)\.(\d+)/);return s?`v${s[1]}.${s[2]}.${s[3]}`:null},r=e.split("||").map(n=>n.trim()),i=new Set;for(let n of r){let o=t(n);o&&i.add(o)}return i.size===0?this.getCommonLTSVersions():Array.from(i)}getCommonLTSVersions(){return["v18.20.0","v20.11.0","v22.11.0"]}async installVersion(e){if(this.manager()==="none")return this.switchError.set(this.getNoManagerMessage()),!1;this.error.set(null);try{let t=await h(this.api.post("/api/node-version/install",{version:e}));return t.success?(this.alreadyInstalled.set(!!t.alreadyInstalled),!0):(this.error.set(t.error||"\u5B89\u88C5\u5931\u8D25"),!1)}catch(t){let r=b(t,"\u5B89\u88C5 Node \u7248\u672C\u5931\u8D25");return this.error.set(r),!1}}async loadRecommendedVersions(){try{let e=await h(this.api.get("/api/node-version/recommended"));this.recommendedVersions.set(e)}catch(e){console.error("\u83B7\u53D6\u63A8\u8350\u7248\u672C\u5931\u8D25:",e),this.recommendedVersions.set(this.getFallbackVersions())}}getFallbackVersions(){return["v18.20.0","v20.11.0","v22.11.0"]}refresh(){this.getCurrentVersion(),this.loadProjectRequirement()}async deleteVersion(e){if(this.manager()==="none")return this.error.set("\u6CA1\u6709\u5B89\u88C5 Node \u7248\u672C\u7BA1\u7406\u5668"),!1;try{return await h(this.api.post("/api/node-version/uninstall",{version:e}))}catch(t){return this.error.set(b(t,"\u5220\u9664\u7248\u672C\u5931\u8D25")),!1}}async writeEngineConfig(e){let t=this.projectContext.currentProject()?.root;if(!t)return this.error.set("\u672A\u627E\u5230\u5F53\u524D\u9879\u76EE"),!1;try{return await h(this.api.post("/api/node-version/write-engine-config",{projectPath:t,version:e}))}catch(r){return this.error.set(b(r,"\u5199\u5165\u914D\u7F6E\u5931\u8D25")),!1}}static \u0275fac=function(t){return new(t||p)};static \u0275prov=f({token:p,factory:p.\u0275fac,providedIn:"root"})};var A=class p{api=m(v);stream=m(k);runtimeStore=m(y);catalog=m(S);nodeVersion=m(j);projectContext=m(w);notify=m(C);subscribedTaskIds=new Set;projectId=c("");keyword=c("");loading=c(!1);selectedTaskId=c("");rows=g(()=>{let e=this.projectId();return e?this.catalog.rowsOf(e)():[]});rowsView=g(()=>this.rows().map(t=>{let r=t.spec.id,i=this.getRuntimeSignal(r);return l(a({},t),{runtime:i??t.runtime})}));rowsViewFiltered=g(()=>{let e=this.keyword().trim().toLowerCase(),t=this.rowsView();return e?t.filter(r=>r.spec.name?.toLowerCase().includes(e)):t});selectedRow=g(()=>{let e=this.selectedTaskId();return this.rowsView().find(t=>t.spec.id===e)??null});selectedRuntimeStatus=g(()=>{let e=this.selectedTaskId();return e?this.getRuntime(e):{status:"idle"}});isRunning=g(()=>this.selectedRuntimeStatus().status==="running");isStopping=g(()=>this.selectedRuntimeStatus().status==="stopping");isStartable=g(()=>{let e=this.selectedRuntimeStatus().status;return e==="idle"||e==="stopped"||e==="failed"||e==="success"});constructor(){R(()=>{let e=this.projectId(),t=new Set;if(e)for(let r of this.rows()){let i=r?.spec?.id?.trim();i&&t.add(i)}this.syncTaskSubs(t),t.size>0&&this.stream.ensureConnected()}),R(e=>{let t=this.selectedTaskId();t&&(this.stream.subscribeTask(t,200),e(()=>{this.stream.unsubscribeTask(t)}))})}syncTaskSubs(e){for(let t of this.subscribedTaskIds)e.has(t)||this.stream.unsubscribeTask(t);for(let t of e)this.subscribedTaskIds.has(t)||this.stream.subscribeTask(t,0);this.subscribedTaskIds=e}getRuntime(e){return this.runtimeStore.statusSignal(e)()}getRuntimeSignal(e){return this.runtimeStore.runtimeSignal(e)()}async setProject(e){let t=e?.trim();if(!t||this.projectId()===t)return;this.projectId.set(t),this.selectedTaskId.set(""),this.keyword.set(""),await this.catalog.ensureLoaded(t);let r=this.rows()[0];r&&this.select(r.spec.id)}refresh(){let e=this.projectId();e&&(this.loading.set(!0),this.api.refresh(e).subscribe({next:t=>{this.catalog.setRows(e,t??[]);let r=this.selectedTaskId();if(r){if(!(t??[]).some(n=>n?.spec?.id===r)){let n=(t??[])[0];this.selectedTaskId.set(n?.spec?.id??"")}}else{let i=(t??[])[0];i&&this.selectedTaskId.set(i.spec.id)}this.loading.set(!1)},error:t=>{this.loading.set(!1)}}),this.api.refreshProjectScripts(e).subscribe({next:t=>{this.projectContext.patchProject(t)},error:()=>{}}))}select(e){this.selectedTaskId.set(e)}toggleTask(){this.isRunning()?this.stopSelected():this.isStartable()&&this.startSelected()}startSelected(e){e=e?.trim()||this.selectedRow()?.spec?.id,e&&this.api.start(e).subscribe({next:()=>{this.nodeVersion.refresh()},error:t=>{this.notify.error(t?.message||"\u4EFB\u52A1\u542F\u52A8\u5931\u8D25")}})}stopSelected(e){if(e=e?.trim()||this.selectedTaskId(),!e)return;let t=this.getRuntimeSignal(e);t?.status==="running"&&this.runtimeStore.setRuntime(l(a({},t),{status:"stopping"})),this.api.stop(e).subscribe({next:()=>{},error:()=>{let r=this.getRuntimeSignal(e);t&&t.status==="running"&&(!r||r.runId===t.runId&&r.status==="stopping")&&this.runtimeStore.setRuntime(t)}})}restartSelected(e){e=e?.trim()||this.selectedTaskId(),e&&this.api.restart(e).subscribe({error:t=>{this.notify.error(t?.message||"\u4EFB\u52A1\u91CD\u542F\u5931\u8D25")}})}rowsViewOf(e){return g(()=>{let t=e?.trim();return t?this.catalog.rowsOf(t)().map(i=>{let n=i.spec.id,o=this.getRuntime(n);return l(a({},i),{runtime:l(a({},i.runtime??{}),{status:o.status})})}):[]})}ensureProjectLoaded(e){return this.catalog.ensureLoaded(e)}static \u0275fac=function(t){return new(t||p)};static \u0275prov=f({token:p,factory:p.\u0275fac,providedIn:"root"})};export{k as a,j as b,A as c};
@@ -0,0 +1 @@
1
+ import{Ba as me,Ca as ge,Da as ve,Ea as fe,K as le,Ka as Ce,L as ae,La as ze,M as m,Q as pe,V as ce,Y as he,a as re,e as se,sb as Te,ta as de,ub as g,wa as ye,xa as ue,ya as N}from"./chunk-2EB7UV3S.js";import{p as oe}from"./chunk-SIKDYQOR.js";import{Ab as F,Ac as X,Bc as Y,Cb as $,Da as z,Gb as j,Hb as Q,Hc as M,Ib as d,Ic as u,Jc as Z,Kb as O,Kc as ee,Lc as te,M as C,Mb as P,Na as V,Oa as x,Pa as R,Ra as T,U as A,V as E,Wa as L,a as s,b as p,cc as y,dc as b,ec as K,ed as ie,fc as U,jc as q,kc as H,l as f,mc as W,o as k,oa as S,ob as l,sa as o,sc as G,tb as _,vc as D,vd as ne,xb as B,ya as c,za as h,zb as I,zc as J,zd as w}from"./chunk-YGWA6NUS.js";var Pe=["overlay"];function be(n,Oe){if(n&1&&(q(0),ee(1),H()),n&2){let e=D(2);l(),te(e.nzTitle)}}function De(n,Oe){if(n&1&&(b(0,"div",2),U(1,"div",3),b(2,"div",4)(3,"div",5),P(4,be,2,1,"ng-container",6),K()()()),n&2){let e=D();u(e.nzOverlayStyle),Z(e._classMap),M("ant-tooltip-rtl",e.dir==="rtl"),y("@.disabled",!!(e.noAnimation!=null&&e.noAnimation.nzNoAnimation))("nzNoAnimation",e.noAnimation==null?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),l(),u(e._arrowStyleMap),l(2),u(e._contentStyleMap),l(),y("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext)}}var Me=(()=>{class n{componentType;config;cdkConnectedOverlayPush;visibleChange=new _;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){let e=this.placement;return Array.isArray(e)&&e.length>0?e:typeof e=="string"&&e?[e]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??!0}internalVisible=!1;getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new f;triggerDisposables=[];delayTimer;elementRef=o(T);hostView=o($);renderer=o(I);noAnimation=o(g,{host:!0,optional:!0});nzConfigService=o(de);destroyRef=o(z);platformId=o(L);constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners()})}ngAfterViewInit(){oe(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(e){let{trigger:t}=e;t&&!t.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){let e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();let t=this.component.nzVisibleChange.pipe(E());t.pipe(m(this.destroyRef)).subscribe(i=>{this.internalVisible=i,this.visibleChange.emit(i)}),t.pipe(C(i=>i),A(0,k),C(()=>!!this.component?.overlay?.overlayRef),m(this.destroyRef)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){let e=this.elementRef.nativeElement,t=this.trigger;if(this.removeTriggerListeners(),t==="hover"){let i;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!i&&(i=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(i,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(i,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else t==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):t==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",i=>{i.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){let t=s({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush]},this.getProxyPropertyMap());(e||Object.keys(t).filter(i=>!i.startsWith("directive"))).forEach(i=>{if(t[i]){let[r,a]=t[i];this.updateComponentValue(r,a())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,t){typeof t<"u"&&(this.component[e]=t)}delayEnterLeave(e,t,i=-1){this.delayTimer?this.clearTogglingTimer():i>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,t?this.show():this.hide()},i*1e3):t&&e?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static \u0275fac=function(t){return new(t||n)(F(V))};static \u0275dir=d({type:n,features:[x]})}return n})(),we=(()=>{class n{overlay;noAnimation=o(g,{host:!0,optional:!0});directionality=o(re);cdr=o(ne);elementRef=o(T);destroyRef=o(z);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new f;set nzVisible(e){let t=he(e);this._visible!==t&&(this._visible=t,this.nzVisibleChange.next(t))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let t=e.map(i=>ge(ye[i],ue[i]));this._positions=[...t,...N]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...N];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete()})}ngOnInit(){this.directionality.change?.pipe(m(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.getDirection()==="rtl"&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=me(e),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){if(!this.nzOverlayClickable)return;let t=se(e);!this.origin.nativeElement.contains(t)&&this.nzTrigger!==null&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap=p(s({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0})}transformClassListToMap(e){let t={};return(e!==null?e.split(/\s+/):[]).forEach(r=>t[r]=!0),t}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,viewQuery:function(t,i){if(t&1&&J(Pe,5),t&2){let r;X(r=Y())&&(i.overlay=r.first)}}})}return n})();function Ne(n){return n instanceof B?!1:n===""||!ce(n)}var nt=(()=>{class n extends Me{title;titleContext=null;directiveTitle;trigger="hover";placement="top";origin;visible;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;arrowPointAtCenter;cdkConnectedOverlayPush=!0;nzTooltipColor;directiveContent=null;content=null;overlayClickable;visibleChange=new _;constructor(){super(_e)}getProxyPropertyMap(){return p(s({},super.getProxyPropertyMap()),{nzTooltipColor:["nzColor",()=>this.nzTooltipColor],titleContext:["nzTitleContext",()=>this.titleContext]})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(t,i){t&2&&M("ant-tooltip-open",i.visible)},inputs:{title:[0,"nzTooltipTitle","title"],titleContext:[0,"nzTooltipTitleContext","titleContext"],directiveTitle:[0,"nz-tooltip","directiveTitle"],trigger:[0,"nzTooltipTrigger","trigger"],placement:[0,"nzTooltipPlacement","placement"],origin:[0,"nzTooltipOrigin","origin"],visible:[0,"nzTooltipVisible","visible"],mouseEnterDelay:[0,"nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzTooltipOverlayClassName","overlayClassName"],overlayStyle:[0,"nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:[2,"nzTooltipArrowPointAtCenter","arrowPointAtCenter",w],cdkConnectedOverlayPush:[2,"cdkConnectedOverlayPush","cdkConnectedOverlayPush",w],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[O]})}return n})(),_e=(()=>{class n extends we{nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};isEmpty(){return Ne(this.nzTitle)}updateStyles(){let e=this.nzColor&&pe(this.nzColor);this._classMap=p(s({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e}),this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!e?this.nzColor:null}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=R(n)))(i||n)}})();static \u0275cmp=j({type:n,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[O],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(t,i){if(t&1){let r=W();P(0,De,5,15,"ng-template",1,0,ie),G("overlayOutsideClick",function(v){return c(r),h(i.onClickOutside(v))})("detach",function(){return c(r),h(i.hide())})("positionChange",function(v){return c(r),h(i.onPositionChange(v))})}t&2&&y("cdkConnectedOverlayOrigin",i.origin)("cdkConnectedOverlayOpen",i._visible)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayPush",i.cdkConnectedOverlayPush)("nzArrowPointAtCenter",i.nzArrowPointAtCenter)},dependencies:[ae,le,g,ze,Ce,fe,ve],encapsulation:2,data:{animation:[Te]},changeDetection:0})}return n})();var ot=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=Q({type:n});static \u0275inj=S({imports:[_e]})}return n})();export{Me as a,Ne as b,nt as c,_e as d,ot as e};
@@ -1,2 +1,2 @@
1
- import{$a as G,B as ie,Bb as Zt,Ca as w,Ea as Xe,Fa as It,Gb as ae,Hb as Fe,Ib as ue,Ka as Ot,M as At,Oa as Pt,Ob as Yt,P as bt,Pb as Wt,Ra as be,Ta as Lt,Ua as Ke,Va as Nt,W as St,Wa as Se,Ya as Je,_a as qe,a as j,ab as J,b as Ae,bb as kt,cb as Bt,db as xt,ea as Tt,eb as Ut,fb as jt,gb as $t,gd as Kt,hb as zt,hd as Qe,i as Ct,ib as Z,ka as g,l as _t,la as oe,na as p,oa as se,ob as Y,oc as Xt,pb as Vt,pc as M,qa as E,qb as Ht,qc as _,ra as c,sa as A,ta as We,tb as q,u as Ye,ud as et,va as Ft,wa as Rt,wd as Jt,xa as Mt,xb as Gt,xd as qt,yb as Te,zb as O}from"./chunk-4BRW6LCZ.js";var tn=null;function k(){return tn}function tt(t){tn??=t}var ce=class{},le=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:()=>A(nn),providedIn:"platform"})}return t})(),Hn=new E(""),nn=(()=>{class t extends le{_location;_history;_doc=A(w);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(e){let r=k().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=k().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Re(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function Qt(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function P(t){return t&&t[0]!=="?"?`?${t}`:t}var Q=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:()=>A(rn),providedIn:"root"})}return t})(),Me=new E(""),rn=(()=>{class t extends Q{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??A(w).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 Re(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+P(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(c(le),c(Me,8))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),on=(()=>{class t{_subject=new _t;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=Yn(Qt(en(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+P(r))}normalize(e){return t.stripTrailingSlash(Zn(this._basePath,en(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+P(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+P(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=P;static joinWithSlash=Re;static stripTrailingSlash=Qt;static \u0275fac=function(r){return new(r||t)(c(Q))};static \u0275prov=p({token:t,factory:()=>Gn(),providedIn:"root"})}return t})();function Gn(){return new on(c(Q))}function Zn(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function en(t){return t.replace(/\/index.html$/,"")}function Yn(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Wn=(()=>{class t extends Q{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=Re(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(c(le),c(Me,8))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})();var S=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(S||{}),h=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(h||{}),F=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(F||{}),x={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 un(t){return M(t)[_.LocaleId]}function cn(t,n,e){let r=M(t),i=[r[_.DayPeriodsFormat],r[_.DayPeriodsStandalone]],o=I(i,n);return I(o,e)}function dn(t,n,e){let r=M(t),i=[r[_.DaysFormat],r[_.DaysStandalone]],o=I(i,n);return I(o,e)}function ln(t,n,e){let r=M(t),i=[r[_.MonthsFormat],r[_.MonthsStandalone]],o=I(i,n);return I(o,e)}function fn(t,n){let r=M(t)[_.Eras];return I(r,n)}function fe(t,n){let e=M(t);return I(e[_.DateFormat],n)}function he(t,n){let e=M(t);return I(e[_.TimeFormat],n)}function pe(t,n){let r=M(t)[_.DateTimeFormat];return I(r,n)}function ge(t,n){let e=M(t),r=e[_.NumberSymbols][n];if(typeof r>"u"){if(n===x.CurrencyDecimal)return e[_.NumberSymbols][x.Decimal];if(n===x.CurrencyGroup)return e[_.NumberSymbols][x.Group]}return r}function hn(t){if(!t[_.ExtraData])throw new g(2303,!1)}function pn(t){let n=M(t);return hn(n),(n[_.ExtraData][2]||[]).map(r=>typeof r=="string"?nt(r):[nt(r[0]),nt(r[1])])}function gn(t,n,e){let r=M(t);hn(r);let i=[r[_.ExtraData][0],r[_.ExtraData][1]],o=I(i,n)||[];return I(o,e)||[]}function I(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new g(2304,!1)}function nt(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var Xn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ie={},Kn=/((?:[^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 mn(t,n,e,r){let i=or(t);n=B(e,n)||n;let s=[],a;for(;n;)if(a=Kn.exec(n),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let u=i.getTimezoneOffset();r&&(u=yn(r,u),i=ir(i,r));let d="";return s.forEach(l=>{let y=nr(l);d+=y?y(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function ke(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function B(t,n){let e=un(t);if(Ie[e]??={},Ie[e][n])return Ie[e][n];let r="";switch(n){case"shortDate":r=fe(t,F.Short);break;case"mediumDate":r=fe(t,F.Medium);break;case"longDate":r=fe(t,F.Long);break;case"fullDate":r=fe(t,F.Full);break;case"shortTime":r=he(t,F.Short);break;case"mediumTime":r=he(t,F.Medium);break;case"longTime":r=he(t,F.Long);break;case"fullTime":r=he(t,F.Full);break;case"short":let i=B(t,"shortTime"),o=B(t,"shortDate");r=Oe(pe(t,F.Short),[i,o]);break;case"medium":let s=B(t,"mediumTime"),a=B(t,"mediumDate");r=Oe(pe(t,F.Medium),[s,a]);break;case"long":let u=B(t,"longTime"),d=B(t,"longDate");r=Oe(pe(t,F.Long),[u,d]);break;case"full":let l=B(t,"fullTime"),y=B(t,"fullDate");r=Oe(pe(t,F.Full),[l,y]);break}return r&&(Ie[e][n]=r),r}function Oe(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function L(t,n,e="-",r,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),o+s}function Jn(t,n){return L(t,3).substring(0,n)}function v(t,n,e=0,r=!1,i=!1){return function(o,s){let a=qn(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Jn(a,n);let u=ge(s,x.MinusSign);return L(a,n,u,r,i)}}function qn(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new g(2301,!1)}}function m(t,n,e=S.Format,r=!1){return function(i,o){return Qn(i,o,t,n,e,r)}}function Qn(t,n,e,r,i,o){switch(e){case 2:return ln(n,i,r)[t.getMonth()];case 1:return dn(n,i,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let d=pn(n),l=gn(n,i,r),y=d.findIndex(C=>{if(Array.isArray(C)){let[T,N]=C,z=s>=T.hours&&a>=T.minutes,f=s<N.hours||s===N.hours&&a<N.minutes;if(T.hours<N.hours){if(z&&f)return!0}else if(z||f)return!0}else if(C.hours===s&&C.minutes===a)return!0;return!1});if(y!==-1)return l[y]}return cn(n,i,r)[s<12?0:1];case 3:return fn(n,r)[t.getFullYear()<=0?0:1];default:let u=e;throw new g(2302,!1)}}function Pe(t){return function(n,e,r){let i=-1*r,o=ge(e,x.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+L(s,2,o)+L(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+L(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+L(s,2,o)+":"+L(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+L(s,2,o)+":"+L(Math.abs(i%60),2,o);default:throw new g(2310,!1)}}}var er=0,Ne=4;function tr(t){let n=ke(t,er,1).getDay();return ke(t,0,1+(n<=Ne?Ne:Ne+7)-n)}function Dn(t){let n=t.getDay(),e=n===0?-3:Ne-n;return ke(t.getFullYear(),t.getMonth(),t.getDate()+e)}function rt(t,n=!1){return function(e,r){let i;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Dn(e),s=tr(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return L(i,t,ge(r,x.MinusSign))}}function Le(t,n=!1){return function(e,r){let o=Dn(e).getFullYear();return L(o,t,ge(r,x.MinusSign),n)}}var it={};function nr(t){if(it[t])return it[t];let n;switch(t){case"G":case"GG":case"GGG":n=m(3,h.Abbreviated);break;case"GGGG":n=m(3,h.Wide);break;case"GGGGG":n=m(3,h.Narrow);break;case"y":n=v(0,1,0,!1,!0);break;case"yy":n=v(0,2,0,!0,!0);break;case"yyy":n=v(0,3,0,!1,!0);break;case"yyyy":n=v(0,4,0,!1,!0);break;case"Y":n=Le(1);break;case"YY":n=Le(2,!0);break;case"YYY":n=Le(3);break;case"YYYY":n=Le(4);break;case"M":case"L":n=v(1,1,1);break;case"MM":case"LL":n=v(1,2,1);break;case"MMM":n=m(2,h.Abbreviated);break;case"MMMM":n=m(2,h.Wide);break;case"MMMMM":n=m(2,h.Narrow);break;case"LLL":n=m(2,h.Abbreviated,S.Standalone);break;case"LLLL":n=m(2,h.Wide,S.Standalone);break;case"LLLLL":n=m(2,h.Narrow,S.Standalone);break;case"w":n=rt(1);break;case"ww":n=rt(2);break;case"W":n=rt(1,!0);break;case"d":n=v(2,1);break;case"dd":n=v(2,2);break;case"c":case"cc":n=v(7,1);break;case"ccc":n=m(1,h.Abbreviated,S.Standalone);break;case"cccc":n=m(1,h.Wide,S.Standalone);break;case"ccccc":n=m(1,h.Narrow,S.Standalone);break;case"cccccc":n=m(1,h.Short,S.Standalone);break;case"E":case"EE":case"EEE":n=m(1,h.Abbreviated);break;case"EEEE":n=m(1,h.Wide);break;case"EEEEE":n=m(1,h.Narrow);break;case"EEEEEE":n=m(1,h.Short);break;case"a":case"aa":case"aaa":n=m(0,h.Abbreviated);break;case"aaaa":n=m(0,h.Wide);break;case"aaaaa":n=m(0,h.Narrow);break;case"b":case"bb":case"bbb":n=m(0,h.Abbreviated,S.Standalone,!0);break;case"bbbb":n=m(0,h.Wide,S.Standalone,!0);break;case"bbbbb":n=m(0,h.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":n=m(0,h.Abbreviated,S.Format,!0);break;case"BBBB":n=m(0,h.Wide,S.Format,!0);break;case"BBBBB":n=m(0,h.Narrow,S.Format,!0);break;case"h":n=v(3,1,-12);break;case"hh":n=v(3,2,-12);break;case"H":n=v(3,1);break;case"HH":n=v(3,2);break;case"m":n=v(4,1);break;case"mm":n=v(4,2);break;case"s":n=v(5,1);break;case"ss":n=v(5,2);break;case"S":n=v(6,1);break;case"SS":n=v(6,2);break;case"SSS":n=v(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Pe(0);break;case"ZZZZZ":n=Pe(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Pe(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Pe(2);break;default:return null}return it[t]=n,n}function yn(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function rr(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function ir(t,n,e){let i=t.getTimezoneOffset(),o=yn(n,i);return rr(t,-1*(o-i))}function or(t){if(sn(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 ke(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(Xn))return sr(r)}let n=new Date(t);if(!sn(n))throw new g(2311,!1);return n}function sr(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,u=Number(t[6]||0),d=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,s,a,u,d),n}function sn(t){return t instanceof Date&&!isNaN(t.valueOf())}var ot=/\s+/,an=[],ar=(()=>{class t{_ngEl;_renderer;initialClasses=an;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(ot):an}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(ot):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(ot).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(O(be),O(Te))};static \u0275dir=Fe({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var ur=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:Y.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(O(be),O(Jt),O(Te))};static \u0275dir=Fe({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),cr=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(O(Zt))};static \u0275dir=Fe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Pt]})}return t})();function Be(t,n){return new g(2100,!1)}var st=class{createSubscription(n,e,r){return Qe(()=>n.subscribe({next:e,error:r}))}dispose(n){Qe(()=>n.unsubscribe())}},at=class{createSubscription(n,e,r){return n.then(i=>e?.(i),i=>r?.(i)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},dr=new at,lr=new st,fr=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=A(It);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r),r=>this.applicationErrorHandler(r))}_selectStrategy(e){if(Yt(e))return dr;if(Wt(e))return lr;throw Be(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(O(et,16))};static \u0275pipe=ue({name:"async",type:t,pure:!1})}return t})();var hr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,pr=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Be(t,e);return e.replace(hr,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ue({name:"titlecase",type:t,pure:!0})}return t})(),gr=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Be(t,e);return e.toUpperCase()}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ue({name:"uppercase",type:t,pure:!0})}return t})(),mr="mediumDate",En=new E(""),wn=new E(""),Dr=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,o){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??mr,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return mn(e,s,o||this.locale,a)}catch(s){throw Be(t,s.message)}}static \u0275fac=function(r){return new(r||t)(O(Kt,16),O(En,24),O(wn,24))};static \u0275pipe=ue({name:"date",type:t,pure:!0})}return t})();var vn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ae({type:t});static \u0275inj=se({})}return t})();function me(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var W=class{};function ko(t,n,e){return Xt(t,n,e)}var ct="browser";function Bo(t){return t===ct}var xo=(()=>{class t{static \u0275prov=p({token:t,providedIn:"root",factory:()=>new ut(A(w),window)})}return t})(),ut=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(Ae(j({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=Cr(this.document,n);r&&(this.scrollToElement(r,e),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(oe(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),i=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(Ae(j({},e),{left:i-s[0],top:o-s[1]}))}};function Cr(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var De=class{_doc;constructor(n){this._doc=n}manager},xe=(()=>{class t extends De{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(c(w))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),je=new E(""),pt=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof xe));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof xe);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new g(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(c(je),c(q))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),dt="ng-app-id";function _n(t){for(let n of t)n.remove()}function An(t,n){let e=n.createElement("style");return e.textContent=t,e}function _r(t,n,e,r){let i=t.head?.querySelectorAll(`style[${dt}="${n}"],link[${dt}="${n}"]`);if(i)for(let o of i)o.removeAttribute(dt),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function ft(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var gt=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,_r(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,An);r?.forEach(i=>this.addUsage(i,this.external,ft))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(_n(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])_n(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,An(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,ft(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(c(w),c(Ke),c(Je,8),c(Se))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),lt={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"},mt=/%COMP%/g;var Sn="%COMP%",Ar=`_nghost-${Sn}`,br=`_ngcontent-${Sn}`,Sr=!0,Tr=new E("",{providedIn:"root",factory:()=>Sr});function Fr(t){return br.replace(mt,t)}function Rr(t){return Ar.replace(mt,t)}function Tn(t,n){return n.map(e=>e.replace(mt,t))}var Dt=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,u=null,d=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=u,this.tracingService=d,this.platformIsServer=!1,this.defaultRenderer=new ye(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof Ue?i.applyToHost(e):i instanceof Ee&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,y=this.platformIsServer,C=this.tracingService;switch(r.encapsulation){case qe.Emulated:o=new Ue(u,d,r,this.appId,l,s,a,y,C);break;case qe.ShadowDom:return new ht(u,d,e,r,s,a,this.nonce,y,C);default:o=new Ee(u,d,r,l,s,a,y,C);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(c(pt),c(gt),c(Ke),c(Tr),c(w),c(q),c(Je),c(Ht,8))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),ye=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(lt[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(bn(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(bn(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new g(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=lt[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=lt[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Y.DashCase|Y.Important)?n.style.setProperty(e,r,i&Y.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Y.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=k().getGlobalEventTarget(this.doc,n),!n))throw new g(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function bn(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ht=class extends ye{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,o,s,a,u,d){super(n,o,s,u,d),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Tn(i.id,l);for(let C of l){let T=document.createElement("style");a&&T.setAttribute("nonce",a),T.textContent=C,this.shadowRoot.appendChild(T)}let y=i.getExternalStyles?.();if(y)for(let C of y){let T=ft(C,o);a&&T.setAttribute("nonce",a),this.shadowRoot.appendChild(T)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ee=class extends ye{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,u,d){super(n,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles;this.styles=d?Tn(d,l):l,this.styleUrls=r.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Vt.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ue=class extends Ee{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,u,d){let l=i+"-"+r.id;super(n,e,r,o,s,a,u,d,l),this.contentAttr=Fr(l),this.hostAttr=Rr(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var $e=class t extends ce{supportsDOMEvents=!0;static makeCurrent(){tt(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ir();return e==null?null:Or(e)}resetBaseElement(){we=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return me(document.cookie,n)}},we=null;function Ir(){return we=we||document.head.querySelector("base"),we?we.getAttribute("href"):null}function Or(t){return new URL(t,document.baseURI).pathname}var Pr=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),Fn=["alt","control","meta","shift"],Lr={"\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"},Nr={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Rn=(()=>{class t extends De{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>k().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Fn.forEach(d=>{let l=r.indexOf(d);l>-1&&(r.splice(l,1),s+=d+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,r){let i=Lr[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Fn.forEach(s=>{if(s!==i){let a=Nr[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(c(w))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})();function kr(t,n,e){let r=j({rootComponent:t,platformRef:e?.platformRef},Br(n));return qt(r)}function Br(t){return{appProviders:[...zr,...t?.providers??[]],platformProviders:$r}}function xr(){$e.makeCurrent()}function Ur(){return new Xe}function jr(){return Lt(document),document}var $r=[{provide:Se,useValue:ct},{provide:Nt,useValue:xr,multi:!0},{provide:w,useFactory:jr}];var zr=[{provide:Ft,useValue:"root"},{provide:Xe,useFactory:Ur},{provide:je,useClass:xe,multi:!0,deps:[w]},{provide:je,useClass:Rn,multi:!0,deps:[w]},Dt,gt,pt,{provide:Gt,useExisting:Dt},{provide:W,useClass:Pr},[]];var ne=class{},ve=class{},$=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
1
+ import{$a as G,Ab as O,B as ie,Ca as w,Cb as Zt,Ea as Xe,Fa as It,Hb as ae,Ib as Fe,Jb as ue,Ka as Ot,M as At,Oa as Pt,P as bt,Pb as Yt,Qb as Wt,Ra as be,Ta as Lt,Ua as Ke,Va as Nt,W as St,Wa as Se,Ya as Je,_a as qe,a as j,ab as J,b as Ae,bb as kt,cb as Bt,db as xt,ea as Tt,eb as Ut,fb as jt,gb as $t,hb as zt,hd as Kt,i as Ct,ib as Z,id as Qe,ka as g,l as _t,la as oe,na as p,oa as se,pb as Y,pc as Xt,qa as E,qb as Vt,qc as M,ra as c,rb as Ht,rc as _,sa as A,ta as We,u as Ye,ub as q,va as Ft,vd as et,wa as Rt,xa as Mt,xd as Jt,yb as Gt,yd as qt,zb as Te}from"./chunk-YGWA6NUS.js";var tn=null;function k(){return tn}function tt(t){tn??=t}var ce=class{},le=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:()=>A(nn),providedIn:"platform"})}return t})(),Hn=new E(""),nn=(()=>{class t extends le{_location;_history;_doc=A(w);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(e){let r=k().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=k().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Re(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function Qt(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function P(t){return t&&t[0]!=="?"?`?${t}`:t}var Q=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:()=>A(rn),providedIn:"root"})}return t})(),Me=new E(""),rn=(()=>{class t extends Q{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??A(w).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 Re(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+P(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(c(le),c(Me,8))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),on=(()=>{class t{_subject=new _t;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=Yn(Qt(en(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+P(r))}normalize(e){return t.stripTrailingSlash(Zn(this._basePath,en(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+P(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+P(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=P;static joinWithSlash=Re;static stripTrailingSlash=Qt;static \u0275fac=function(r){return new(r||t)(c(Q))};static \u0275prov=p({token:t,factory:()=>Gn(),providedIn:"root"})}return t})();function Gn(){return new on(c(Q))}function Zn(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function en(t){return t.replace(/\/index.html$/,"")}function Yn(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Wn=(()=>{class t extends Q{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=Re(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+P(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(c(le),c(Me,8))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})();var S=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(S||{}),h=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(h||{}),F=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(F||{}),x={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 un(t){return M(t)[_.LocaleId]}function cn(t,n,e){let r=M(t),i=[r[_.DayPeriodsFormat],r[_.DayPeriodsStandalone]],o=I(i,n);return I(o,e)}function dn(t,n,e){let r=M(t),i=[r[_.DaysFormat],r[_.DaysStandalone]],o=I(i,n);return I(o,e)}function ln(t,n,e){let r=M(t),i=[r[_.MonthsFormat],r[_.MonthsStandalone]],o=I(i,n);return I(o,e)}function fn(t,n){let r=M(t)[_.Eras];return I(r,n)}function fe(t,n){let e=M(t);return I(e[_.DateFormat],n)}function he(t,n){let e=M(t);return I(e[_.TimeFormat],n)}function pe(t,n){let r=M(t)[_.DateTimeFormat];return I(r,n)}function ge(t,n){let e=M(t),r=e[_.NumberSymbols][n];if(typeof r>"u"){if(n===x.CurrencyDecimal)return e[_.NumberSymbols][x.Decimal];if(n===x.CurrencyGroup)return e[_.NumberSymbols][x.Group]}return r}function hn(t){if(!t[_.ExtraData])throw new g(2303,!1)}function pn(t){let n=M(t);return hn(n),(n[_.ExtraData][2]||[]).map(r=>typeof r=="string"?nt(r):[nt(r[0]),nt(r[1])])}function gn(t,n,e){let r=M(t);hn(r);let i=[r[_.ExtraData][0],r[_.ExtraData][1]],o=I(i,n)||[];return I(o,e)||[]}function I(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new g(2304,!1)}function nt(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var Xn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ie={},Kn=/((?:[^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 mn(t,n,e,r){let i=or(t);n=B(e,n)||n;let s=[],a;for(;n;)if(a=Kn.exec(n),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let u=i.getTimezoneOffset();r&&(u=yn(r,u),i=ir(i,r));let d="";return s.forEach(l=>{let y=nr(l);d+=y?y(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function ke(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function B(t,n){let e=un(t);if(Ie[e]??={},Ie[e][n])return Ie[e][n];let r="";switch(n){case"shortDate":r=fe(t,F.Short);break;case"mediumDate":r=fe(t,F.Medium);break;case"longDate":r=fe(t,F.Long);break;case"fullDate":r=fe(t,F.Full);break;case"shortTime":r=he(t,F.Short);break;case"mediumTime":r=he(t,F.Medium);break;case"longTime":r=he(t,F.Long);break;case"fullTime":r=he(t,F.Full);break;case"short":let i=B(t,"shortTime"),o=B(t,"shortDate");r=Oe(pe(t,F.Short),[i,o]);break;case"medium":let s=B(t,"mediumTime"),a=B(t,"mediumDate");r=Oe(pe(t,F.Medium),[s,a]);break;case"long":let u=B(t,"longTime"),d=B(t,"longDate");r=Oe(pe(t,F.Long),[u,d]);break;case"full":let l=B(t,"fullTime"),y=B(t,"fullDate");r=Oe(pe(t,F.Full),[l,y]);break}return r&&(Ie[e][n]=r),r}function Oe(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function L(t,n,e="-",r,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),o+s}function Jn(t,n){return L(t,3).substring(0,n)}function v(t,n,e=0,r=!1,i=!1){return function(o,s){let a=qn(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Jn(a,n);let u=ge(s,x.MinusSign);return L(a,n,u,r,i)}}function qn(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new g(2301,!1)}}function m(t,n,e=S.Format,r=!1){return function(i,o){return Qn(i,o,t,n,e,r)}}function Qn(t,n,e,r,i,o){switch(e){case 2:return ln(n,i,r)[t.getMonth()];case 1:return dn(n,i,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let d=pn(n),l=gn(n,i,r),y=d.findIndex(C=>{if(Array.isArray(C)){let[T,N]=C,z=s>=T.hours&&a>=T.minutes,f=s<N.hours||s===N.hours&&a<N.minutes;if(T.hours<N.hours){if(z&&f)return!0}else if(z||f)return!0}else if(C.hours===s&&C.minutes===a)return!0;return!1});if(y!==-1)return l[y]}return cn(n,i,r)[s<12?0:1];case 3:return fn(n,r)[t.getFullYear()<=0?0:1];default:let u=e;throw new g(2302,!1)}}function Pe(t){return function(n,e,r){let i=-1*r,o=ge(e,x.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+L(s,2,o)+L(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+L(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+L(s,2,o)+":"+L(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+L(s,2,o)+":"+L(Math.abs(i%60),2,o);default:throw new g(2310,!1)}}}var er=0,Ne=4;function tr(t){let n=ke(t,er,1).getDay();return ke(t,0,1+(n<=Ne?Ne:Ne+7)-n)}function Dn(t){let n=t.getDay(),e=n===0?-3:Ne-n;return ke(t.getFullYear(),t.getMonth(),t.getDate()+e)}function rt(t,n=!1){return function(e,r){let i;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Dn(e),s=tr(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return L(i,t,ge(r,x.MinusSign))}}function Le(t,n=!1){return function(e,r){let o=Dn(e).getFullYear();return L(o,t,ge(r,x.MinusSign),n)}}var it={};function nr(t){if(it[t])return it[t];let n;switch(t){case"G":case"GG":case"GGG":n=m(3,h.Abbreviated);break;case"GGGG":n=m(3,h.Wide);break;case"GGGGG":n=m(3,h.Narrow);break;case"y":n=v(0,1,0,!1,!0);break;case"yy":n=v(0,2,0,!0,!0);break;case"yyy":n=v(0,3,0,!1,!0);break;case"yyyy":n=v(0,4,0,!1,!0);break;case"Y":n=Le(1);break;case"YY":n=Le(2,!0);break;case"YYY":n=Le(3);break;case"YYYY":n=Le(4);break;case"M":case"L":n=v(1,1,1);break;case"MM":case"LL":n=v(1,2,1);break;case"MMM":n=m(2,h.Abbreviated);break;case"MMMM":n=m(2,h.Wide);break;case"MMMMM":n=m(2,h.Narrow);break;case"LLL":n=m(2,h.Abbreviated,S.Standalone);break;case"LLLL":n=m(2,h.Wide,S.Standalone);break;case"LLLLL":n=m(2,h.Narrow,S.Standalone);break;case"w":n=rt(1);break;case"ww":n=rt(2);break;case"W":n=rt(1,!0);break;case"d":n=v(2,1);break;case"dd":n=v(2,2);break;case"c":case"cc":n=v(7,1);break;case"ccc":n=m(1,h.Abbreviated,S.Standalone);break;case"cccc":n=m(1,h.Wide,S.Standalone);break;case"ccccc":n=m(1,h.Narrow,S.Standalone);break;case"cccccc":n=m(1,h.Short,S.Standalone);break;case"E":case"EE":case"EEE":n=m(1,h.Abbreviated);break;case"EEEE":n=m(1,h.Wide);break;case"EEEEE":n=m(1,h.Narrow);break;case"EEEEEE":n=m(1,h.Short);break;case"a":case"aa":case"aaa":n=m(0,h.Abbreviated);break;case"aaaa":n=m(0,h.Wide);break;case"aaaaa":n=m(0,h.Narrow);break;case"b":case"bb":case"bbb":n=m(0,h.Abbreviated,S.Standalone,!0);break;case"bbbb":n=m(0,h.Wide,S.Standalone,!0);break;case"bbbbb":n=m(0,h.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":n=m(0,h.Abbreviated,S.Format,!0);break;case"BBBB":n=m(0,h.Wide,S.Format,!0);break;case"BBBBB":n=m(0,h.Narrow,S.Format,!0);break;case"h":n=v(3,1,-12);break;case"hh":n=v(3,2,-12);break;case"H":n=v(3,1);break;case"HH":n=v(3,2);break;case"m":n=v(4,1);break;case"mm":n=v(4,2);break;case"s":n=v(5,1);break;case"ss":n=v(5,2);break;case"S":n=v(6,1);break;case"SS":n=v(6,2);break;case"SSS":n=v(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Pe(0);break;case"ZZZZZ":n=Pe(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Pe(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Pe(2);break;default:return null}return it[t]=n,n}function yn(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function rr(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function ir(t,n,e){let i=t.getTimezoneOffset(),o=yn(n,i);return rr(t,-1*(o-i))}function or(t){if(sn(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 ke(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(Xn))return sr(r)}let n=new Date(t);if(!sn(n))throw new g(2311,!1);return n}function sr(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,u=Number(t[6]||0),d=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,s,a,u,d),n}function sn(t){return t instanceof Date&&!isNaN(t.valueOf())}var ot=/\s+/,an=[],ar=(()=>{class t{_ngEl;_renderer;initialClasses=an;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(ot):an}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(ot):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(ot).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(O(be),O(Te))};static \u0275dir=Fe({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var ur=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:Y.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(O(be),O(Jt),O(Te))};static \u0275dir=Fe({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),cr=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(O(Zt))};static \u0275dir=Fe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Pt]})}return t})();function Be(t,n){return new g(2100,!1)}var st=class{createSubscription(n,e,r){return Qe(()=>n.subscribe({next:e,error:r}))}dispose(n){Qe(()=>n.unsubscribe())}},at=class{createSubscription(n,e,r){return n.then(i=>e?.(i),i=>r?.(i)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},dr=new at,lr=new st,fr=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=A(It);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r),r=>this.applicationErrorHandler(r))}_selectStrategy(e){if(Yt(e))return dr;if(Wt(e))return lr;throw Be(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(O(et,16))};static \u0275pipe=ue({name:"async",type:t,pure:!1})}return t})();var hr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,pr=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Be(t,e);return e.replace(hr,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ue({name:"titlecase",type:t,pure:!0})}return t})(),gr=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Be(t,e);return e.toUpperCase()}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ue({name:"uppercase",type:t,pure:!0})}return t})(),mr="mediumDate",En=new E(""),wn=new E(""),Dr=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,o){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??mr,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return mn(e,s,o||this.locale,a)}catch(s){throw Be(t,s.message)}}static \u0275fac=function(r){return new(r||t)(O(Kt,16),O(En,24),O(wn,24))};static \u0275pipe=ue({name:"date",type:t,pure:!0})}return t})();var vn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=ae({type:t});static \u0275inj=se({})}return t})();function me(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var W=class{};function ko(t,n,e){return Xt(t,n,e)}var ct="browser";function Bo(t){return t===ct}var xo=(()=>{class t{static \u0275prov=p({token:t,providedIn:"root",factory:()=>new ut(A(w),window)})}return t})(),ut=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(Ae(j({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=Cr(this.document,n);r&&(this.scrollToElement(r,e),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(oe(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),i=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(Ae(j({},e),{left:i-s[0],top:o-s[1]}))}};function Cr(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var De=class{_doc;constructor(n){this._doc=n}manager},xe=(()=>{class t extends De{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(c(w))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),je=new E(""),pt=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof xe));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof xe);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new g(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(c(je),c(q))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),dt="ng-app-id";function _n(t){for(let n of t)n.remove()}function An(t,n){let e=n.createElement("style");return e.textContent=t,e}function _r(t,n,e,r){let i=t.head?.querySelectorAll(`style[${dt}="${n}"],link[${dt}="${n}"]`);if(i)for(let o of i)o.removeAttribute(dt),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function ft(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var gt=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,_r(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,An);r?.forEach(i=>this.addUsage(i,this.external,ft))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(_n(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])_n(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,An(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,ft(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(c(w),c(Ke),c(Je,8),c(Se))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),lt={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"},mt=/%COMP%/g;var Sn="%COMP%",Ar=`_nghost-${Sn}`,br=`_ngcontent-${Sn}`,Sr=!0,Tr=new E("",{providedIn:"root",factory:()=>Sr});function Fr(t){return br.replace(mt,t)}function Rr(t){return Ar.replace(mt,t)}function Tn(t,n){return n.map(e=>e.replace(mt,t))}var Dt=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,u=null,d=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=u,this.tracingService=d,this.platformIsServer=!1,this.defaultRenderer=new ye(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof Ue?i.applyToHost(e):i instanceof Ee&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,y=this.platformIsServer,C=this.tracingService;switch(r.encapsulation){case qe.Emulated:o=new Ue(u,d,r,this.appId,l,s,a,y,C);break;case qe.ShadowDom:return new ht(u,d,e,r,s,a,this.nonce,y,C);default:o=new Ee(u,d,r,l,s,a,y,C);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(c(pt),c(gt),c(Ke),c(Tr),c(w),c(q),c(Je),c(Ht,8))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),ye=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(lt[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(bn(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(bn(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new g(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=lt[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=lt[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Y.DashCase|Y.Important)?n.style.setProperty(e,r,i&Y.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Y.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=k().getGlobalEventTarget(this.doc,n),!n))throw new g(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function bn(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ht=class extends ye{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,o,s,a,u,d){super(n,o,s,u,d),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Tn(i.id,l);for(let C of l){let T=document.createElement("style");a&&T.setAttribute("nonce",a),T.textContent=C,this.shadowRoot.appendChild(T)}let y=i.getExternalStyles?.();if(y)for(let C of y){let T=ft(C,o);a&&T.setAttribute("nonce",a),this.shadowRoot.appendChild(T)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ee=class extends ye{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,u,d){super(n,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles;this.styles=d?Tn(d,l):l,this.styleUrls=r.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Vt.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ue=class extends Ee{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,u,d){let l=i+"-"+r.id;super(n,e,r,o,s,a,u,d,l),this.contentAttr=Fr(l),this.hostAttr=Rr(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var $e=class t extends ce{supportsDOMEvents=!0;static makeCurrent(){tt(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ir();return e==null?null:Or(e)}resetBaseElement(){we=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return me(document.cookie,n)}},we=null;function Ir(){return we=we||document.head.querySelector("base"),we?we.getAttribute("href"):null}function Or(t){return new URL(t,document.baseURI).pathname}var Pr=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),Fn=["alt","control","meta","shift"],Lr={"\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"},Nr={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Rn=(()=>{class t extends De{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>k().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Fn.forEach(d=>{let l=r.indexOf(d);l>-1&&(r.splice(l,1),s+=d+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,r){let i=Lr[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Fn.forEach(s=>{if(s!==i){let a=Nr[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(c(w))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})();function kr(t,n,e){let r=j({rootComponent:t,platformRef:e?.platformRef},Br(n));return qt(r)}function Br(t){return{appProviders:[...zr,...t?.providers??[]],platformProviders:$r}}function xr(){$e.makeCurrent()}function Ur(){return new Xe}function jr(){return Lt(document),document}var $r=[{provide:Se,useValue:ct},{provide:Nt,useValue:xr,multi:!0},{provide:w,useFactory:jr}];var zr=[{provide:Ft,useValue:"root"},{provide:Xe,useFactory:Ur},{provide:je,useClass:xe,multi:!0,deps:[w]},{provide:je,useClass:Rn,multi:!0,deps:[w]},Dt,gt,pt,{provide:Gt,useExisting:Dt},{provide:W,useClass:Pr},[]];var ne=class{},ve=class{},$=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
2
2
  `).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Ve=class{encodeKey(n){return Mn(n)}encodeValue(n){return Mn(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Vr(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var Hr=/%(\d[a-f0-9])/gi,Gr={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Mn(t){return encodeURIComponent(t).replace(Hr,(n,e)=>Gr[e]??n)}function ze(t){return`${t}`}var U=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Ve,n.fromString){if(n.fromObject)throw new g(2805,!1);this.map=Vr(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(ze):[ze(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(ze(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(ze(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var He=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Zr(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function In(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function On(t){return typeof Blob<"u"&&t instanceof Blob}function Pn(t){return typeof FormData<"u"&&t instanceof FormData}function Yr(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ln="Content-Type",Nn="Accept",kn="X-Request-URL",Bn="text/plain",xn="application/json",Wr=`${xn}, ${Bn}, */*`,ee=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(Zr(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new g(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new $,this.context??=new He,!this.params)this.params=new U,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"||In(this.body)||On(this.body)||Pn(this.body)||Yr(this.body)?this.body:this.body instanceof U?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||Pn(this.body)?null:On(this.body)?this.body.type||null:In(this.body)?null:typeof this.body=="string"?Bn:this.body instanceof U?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?xn:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,u=n.mode||this.mode,d=n.redirect||this.redirect,l=n.credentials||this.credentials,y=n.referrer||this.referrer,C=n.integrity||this.integrity,T=n.transferCache??this.transferCache,N=n.timeout??this.timeout,z=n.body!==void 0?n.body:this.body,f=n.withCredentials??this.withCredentials,D=n.reportProgress??this.reportProgress,R=n.headers||this.headers,K=n.params||this.params,b=n.context??this.context;return n.setHeaders!==void 0&&(R=Object.keys(n.setHeaders).reduce((V,H)=>V.set(H,n.setHeaders[H]),R)),n.setParams&&(K=Object.keys(n.setParams).reduce((V,H)=>V.set(H,n.setParams[H]),K)),new t(e,r,z,{params:K,headers:R,context:b,reportProgress:D,responseType:i,withCredentials:f,transferCache:T,keepalive:o,cache:a,priority:s,timeout:N,mode:u,redirect:d,credentials:l,referrer:y,integrity:C})}},X=(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})(X||{}),re=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,r="OK"){this.headers=n.headers||new $,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},Ge=class t extends re{constructor(n={}){super(n)}type=X.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ce=class t extends re{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=X.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}},te=class extends re{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Xr=200,Kr=204;function yt(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var Un=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof ee)o=e;else{let u;i.headers instanceof $?u=i.headers:u=new $(i.headers);let d;i.params&&(i.params instanceof U?d=i.params:d=new U({fromObject:i.params})),o=new ee(e,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=Ye(o).pipe(bt(u=>this.handler.handle(u)));if(e instanceof ee||i.observe==="events")return s;let a=s.pipe(At(u=>u instanceof Ce));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ie(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new g(2806,!1);return u.body}));case"blob":return a.pipe(ie(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new g(2807,!1);return u.body}));case"text":return a.pipe(ie(u=>{if(u.body!==null&&typeof u.body!="string")throw new g(2808,!1);return u.body}));case"json":default:return a.pipe(ie(u=>u.body))}case"response":return a;default:throw new g(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new U().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,yt(i,r))}post(e,r,i={}){return this.request("POST",e,yt(i,r))}put(e,r,i={}){return this.request("PUT",e,yt(i,r))}static \u0275fac=function(r){return new(r||t)(c(ne))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})();var Jr=new E("");function qr(t,n){return n(t)}function Qr(t,n,e){return(r,i)=>Mt(e,()=>n(r,o=>t(o,i)))}var wt=new E(""),jn=new E(""),$n=new E("",{providedIn:"root",factory:()=>!0});var Ze=(()=>{class t extends ne{backend;injector;chain=null;pendingTasks=A(Ot);contributeToStability=A($n);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(wt),...this.injector.get(jn,[])]));this.chain=r.reduceRight((i,o)=>Qr(i,o,this.injector),qr)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(St(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(c(ve),c(Rt))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})();var ei=/^\)\]\}',?\n/,ti=RegExp(`^${kn}:`,"m");function ni(t){return"responseURL"in t&&t.responseURL?t.responseURL:ti.test(t.getAllResponseHeaders())?t.getResponseHeader(kn):null}var Et=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new g(-2800,!1);let r=this.xhrFactory;return Ye(null).pipe(Tt(()=>new Ct(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((f,D)=>s.setRequestHeader(f,D.join(","))),e.headers.has(Nn)||s.setRequestHeader(Nn,Wr),!e.headers.has(Ln)){let f=e.detectContentTypeHeader();f!==null&&s.setRequestHeader(Ln,f)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let f=e.responseType.toLowerCase();s.responseType=f!=="json"?f:"text"}let a=e.serializeBody(),u=null,d=()=>{if(u!==null)return u;let f=s.statusText||"OK",D=new $(s.getAllResponseHeaders()),R=ni(s)||e.url;return u=new Ge({headers:D,status:s.status,statusText:f,url:R}),u},l=()=>{let{headers:f,status:D,statusText:R,url:K}=d(),b=null;D!==Kr&&(b=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=b?Xr:0);let V=D>=200&&D<300;if(e.responseType==="json"&&typeof b=="string"){let H=b;b=b.replace(ei,"");try{b=b!==""?JSON.parse(b):null}catch(Vn){b=H,V&&(V=!1,b={error:Vn,text:b})}}V?(o.next(new Ce({body:b,headers:f,status:D,statusText:R,url:K||void 0})),o.complete()):o.error(new te({error:b,headers:f,status:D,statusText:R,url:K||void 0}))},y=f=>{let{url:D}=d(),R=new te({error:f,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});o.error(R)},C=y;e.timeout&&(C=f=>{let{url:D}=d(),R=new te({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});o.error(R)});let T=!1,N=f=>{T||(o.next(d()),T=!0);let D={type:X.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(D.total=f.total),e.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),o.next(D)},z=f=>{let D={type:X.UploadProgress,loaded:f.loaded};f.lengthComputable&&(D.total=f.total),o.next(D)};return s.addEventListener("load",l),s.addEventListener("error",y),s.addEventListener("timeout",C),s.addEventListener("abort",y),e.reportProgress&&(s.addEventListener("progress",N),a!==null&&s.upload&&s.upload.addEventListener("progress",z)),s.send(a),o.next({type:X.Sent}),()=>{s.removeEventListener("error",y),s.removeEventListener("abort",y),s.removeEventListener("load",l),s.removeEventListener("timeout",C),e.reportProgress&&(s.removeEventListener("progress",N),a!==null&&s.upload&&s.upload.removeEventListener("progress",z)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(c(W))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),zn=new E(""),ri="XSRF-TOKEN",ii=new E("",{providedIn:"root",factory:()=>ri}),oi="X-XSRF-TOKEN",si=new E("",{providedIn:"root",factory:()=>oi}),_e=class{},ai=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r){this.doc=e,this.cookieName=r}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=me(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(c(w),c(ii))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),ui=/^(?:https?:)?\/\//i;function ci(t,n){if(!A(zn)||t.method==="GET"||t.method==="HEAD"||ui.test(t.url))return n(t);let e=A(_e).getToken(),r=A(si);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var vt=(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})(vt||{});function di(t,n){return{\u0275kind:t,\u0275providers:n}}function li(...t){let n=[Un,Et,Ze,{provide:ne,useExisting:Ze},{provide:ve,useFactory:()=>A(Jr,{optional:!0})??A(Et)},{provide:wt,useValue:ci,multi:!0},{provide:zn,useValue:!0},{provide:_e,useClass:ai}];for(let e of t)n.push(...e.\u0275providers);return We(n)}function fi(t){return di(vt.Interceptors,t.map(n=>({provide:wt,useValue:n,multi:!0})))}var pa=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(c(w))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hi=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=p({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=c(pi),i},providedIn:"root"})}return t})(),pi=(()=>{class t extends hi{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case Z.NONE:return r;case Z.HTML:return J(r,"HTML")?G(r):zt(this._doc,String(r)).toString();case Z.STYLE:return J(r,"Style")?G(r):r;case Z.SCRIPT:if(J(r,"Script"))return G(r);throw new g(5200,!1);case Z.URL:return J(r,"URL")?G(r):$t(String(r));case Z.RESOURCE_URL:if(J(r,"ResourceURL"))return G(r);throw new g(5201,!1);default:throw new g(5202,!1)}}bypassSecurityTrustHtml(e){return kt(e)}bypassSecurityTrustStyle(e){return Bt(e)}bypassSecurityTrustScript(e){return xt(e)}bypassSecurityTrustUrl(e){return Ut(e)}bypassSecurityTrustResourceUrl(e){return jt(e)}static \u0275fac=function(r){return new(r||t)(c(w))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{k as a,Hn as b,Q as c,rn as d,on as e,Wn as f,ar as g,ur as h,cr as i,fr as j,pr as k,gr as l,Dr as m,vn as n,ko as o,Bo as p,xo as q,Dt as r,kr as s,ve as t,U as u,te as v,Un as w,li as x,fi as y,pa as z,hi as A};