diff --git a/frontend/server/modelsmith-build/browser/chunk-WSCYSYQI.js b/frontend/server/modelsmith-build/browser/chunk-25FQYPXL.js similarity index 93% rename from frontend/server/modelsmith-build/browser/chunk-WSCYSYQI.js rename to frontend/server/modelsmith-build/browser/chunk-25FQYPXL.js index 4f654836..c54ed6f4 100644 --- a/frontend/server/modelsmith-build/browser/chunk-WSCYSYQI.js +++ b/frontend/server/modelsmith-build/browser/chunk-25FQYPXL.js @@ -1,2 +1,2 @@ -import{a as C,b as E,c as x,d as A}from"./chunk-JBGOI3PV.js";import{d as T,g as i}from"./chunk-C4NPICWQ.js";import{a as S}from"./chunk-O6HMI7CW.js";import{$a as _,Ab as b,Ea as d,Ia as M,ab as u,bb as I,fb as w,ga as y,ib as P,oa as a,p as g,pa as s,pb as v,qb as f,rb as h,sb as m,tb as k}from"./chunk-MDAOMI2L.js";var B=["terminalWrapper"],Q=["popoverElement"],o,O=(o=class{constructor(e,r){this.renderer=e,this.popoverManager=r}ngOnInit(){this.listenToOutsideClickEvents()}listenToOutsideClickEvents(){this.clickListener=this.renderer.listen("document","click",e=>{this.handleClickOutside(e)})}handleClickOutside(e){let r=e.target.closest(".popover-element");this.terminalWrapper&&!this.terminalWrapper.nativeElement.contains(e.target)&&!r&&this.popoverManager.hasActivePopover("terminal-popover")&&this.popoverManager.closePopoverById("terminal-popover",{result:{},status:C.CLOSE})}ngOnDestroy(){this.clickListener&&this.clickListener()}},o.\u0275fac=function(r){return new(r||o)(d(M),d(E))},o.\u0275cmp=y({type:o,selectors:[["ms-terminal-xterm-with-toolbar"]],viewQuery:function(r,l){if(r&1&&(v(B,5),v(Q,5)),r&2){let t;f(t=h())&&(l.terminalWrapper=t.first),f(t=h())&&(l.popoverElement=t.first)}},standalone:!0,features:[b],decls:9,vars:0,consts:[["terminalWrapper",""],["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],["popoverId","terminal-popover",3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch"]],template:function(r,l){if(r&1){let t=w();_(0,"div",2,0)(2,"div",3)(3,"div",4),k(4,"Terminal"),u(),_(5,"div")(6,"ms-terminal-toolbar",5),P("clearTerminal",function(){a(t);let n=m(8);return s(n.clearTerminal())})("scrollToTopTerminal",function(){a(t);let n=m(8);return s(n.scrollToTop())})("scrollToBottomTerminal",function(){a(t);let n=m(8);return s(n.scrollToBottom())})("searchTerminal",function(n){a(t);let W=m(8);return s(W.search(n))})("disposeSearch",function(){a(t);let n=m(8);return s(n.clearSearch())}),u()()(),I(7,"ms-terminal-xterm",null,1),u()}},dependencies:[A,x],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between} +import{a as C,b as E,c as x,d as A}from"./chunk-IHFL5CFV.js";import{d as T,g as i}from"./chunk-C4NPICWQ.js";import{a as S}from"./chunk-KP473PLS.js";import{$a as _,Bb as b,Ea as d,Ia as M,ab as u,bb as I,fb as w,ga as y,ib as P,oa as a,p as g,pa as s,pb as v,qb as f,rb as h,sb as m,tb as k}from"./chunk-MVLCGSW5.js";var B=["terminalWrapper"],Q=["popoverElement"],o,O=(o=class{constructor(e,r){this.renderer=e,this.popoverManager=r}ngOnInit(){this.listenToOutsideClickEvents()}listenToOutsideClickEvents(){this.clickListener=this.renderer.listen("document","click",e=>{this.handleClickOutside(e)})}handleClickOutside(e){let r=e.target.closest(".popover-element");this.terminalWrapper&&!this.terminalWrapper.nativeElement.contains(e.target)&&!r&&this.popoverManager.hasActivePopover("terminal-popover")&&this.popoverManager.closePopoverById("terminal-popover",{result:{},status:C.CLOSE})}ngOnDestroy(){this.clickListener&&this.clickListener()}},o.\u0275fac=function(r){return new(r||o)(d(M),d(E))},o.\u0275cmp=y({type:o,selectors:[["ms-terminal-xterm-with-toolbar"]],viewQuery:function(r,l){if(r&1&&(v(B,5),v(Q,5)),r&2){let t;f(t=h())&&(l.terminalWrapper=t.first),f(t=h())&&(l.popoverElement=t.first)}},standalone:!0,features:[b],decls:9,vars:0,consts:[["terminalWrapper",""],["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],["popoverId","terminal-popover",3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch"]],template:function(r,l){if(r&1){let t=w();_(0,"div",2,0)(2,"div",3)(3,"div",4),k(4,"Terminal"),u(),_(5,"div")(6,"ms-terminal-toolbar",5),P("clearTerminal",function(){a(t);let n=m(8);return s(n.clearTerminal())})("scrollToTopTerminal",function(){a(t);let n=m(8);return s(n.scrollToTop())})("scrollToBottomTerminal",function(){a(t);let n=m(8);return s(n.scrollToBottom())})("searchTerminal",function(n){a(t);let W=m(8);return s(W.search(n))})("disposeSearch",function(){a(t);let n=m(8);return s(n.clearSearch())}),u()()(),I(7,"ms-terminal-xterm",null,1),u()}},dependencies:[A,x],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between} `],encapsulation:2}),o);O=g([S()],O);var L=[{key:i.IPG,value:"GraSP pruning"},{key:i.IPM,value:"Magnitude-based init pruning"},{key:i.IPR,value:"Random init pruning"},{key:i.IMP,value:"Iterative Magnitude Pruning"},{key:i.OMP,value:"One-shot Magnitude Pruning"},{key:i.IPS,value:"Init Pruning Snip"},{key:i.IPSY,value:"Init Pruning Synflow"},{key:i.IPMB,value:"Init Pruning Magnitude Both"}],V=[{key:T.BPTQ,value:"Basic PTQ"},{key:T.BRECQ,value:"Brec-q"},{key:T.MINMAXPTQ,value:"Minmax-ptq"}],R=[...L,...V],z=i.IMP,K=p=>R.filter(e=>p.includes(e.key)).map(e=>e.value),Y=p=>{let e=L.find(l=>l.value===p);if(e)return e.key;let r=V.find(l=>l.value===p);return r?r.key:null};export{O as a,L as b,V as c,z as d,K as e,Y as f}; diff --git a/frontend/server/modelsmith-build/browser/chunk-NWC74UFO.js b/frontend/server/modelsmith-build/browser/chunk-4NLHOTFP.js similarity index 96% rename from frontend/server/modelsmith-build/browser/chunk-NWC74UFO.js rename to frontend/server/modelsmith-build/browser/chunk-4NLHOTFP.js index 72f9709f..d622fc68 100644 --- a/frontend/server/modelsmith-build/browser/chunk-NWC74UFO.js +++ b/frontend/server/modelsmith-build/browser/chunk-4NLHOTFP.js @@ -1,4 +1,4 @@ -import{a as E,b as P,c as te,d as _}from"./chunk-PZX2WEPM.js";import{a as x,e as I,f as ie}from"./chunk-WSCYSYQI.js";import"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import{b as J,d as z,g as N}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as K,b as ee}from"./chunk-MCE6M2DX.js";import{a as V,b as Z}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import"./chunk-BTHDGCD5.js";import{$a as i,Bb as y,Da as d,Ea as p,Ra as u,Z as F,Zb as W,_ as j,ab as o,ad as O,ba as H,bb as f,ga as h,ha as q,ib as c,jc as S,kc as Y,lc as g,p as Q,pc as G,re as v,tb as r,ue as $,we as C,xe as X}from"./chunk-MDAOMI2L.js";var s={PRETRAINED_MODEL:"pretrained-model",PRUNING_TIME:"pruning-time",PTQ_TIME:"ptq-time",SIMILAR_ACCURACY:"similar-accuracy",HIGHER_ACCURACY:"higher-accuracy",RECOMMENDED_BASIC_PTQ:"recommended-basic-ptq",RECOMMENDED_BRECQ:"recommended-brecq",RECOMMENDED_GRASP:"recommended-grasp",RECOMMENDED_ITERATIVE:"recommended-iterative",RECOMMENDED_ITERATIVE_ONE_SHOT:"recommended-iterative-one-shot",RECOMMENDED_MINMAX:"recommended-minmax"};var fe=()=>["Yes","No"],oe=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_BASIC_PTQ],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.RECOMMENDED_BRECQ],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-higher-accuracy"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you need relatively higher accuracy?"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Short PTQ time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,fe)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var Se=()=>["Yes","No"],ne=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pretrained-model"]],decls:6,vars:3,consts:[[1,"heading-primary-title"],[3,"selectedOption","options"],[1,"mt-4"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you have a pre-trained model?"),o(),i(2,"ms-card-selector",1),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(3,"div",2)(4,"button",3),c("click",function(){return t.handleSelection()}),r(5,"Next"),o()()),n&2&&(d(2),u("options",y(2,Se)),d(2),u("disabled",!t.selectedOption))},dependencies:[_,v]});let l=e;return l})();var ge=()=>["Yes","No"],re=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.wizardSteps=s,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_ITERATIVE],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pruning-time"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you tolerate long pruning time?"),o(),i(2,"p",1),r(3,` The model pruning phase may require a similar or even longer duration compared to the model training period. +import{a as E,b as P,c as te,d as _}from"./chunk-5T4RMT4Z.js";import{a as x,e as I,f as ie}from"./chunk-25FQYPXL.js";import"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import{b as J,d as z,g as N}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as K,b as ee}from"./chunk-XSOJ6DN4.js";import{a as V,b as Z}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as i,Cb as y,Da as d,Ea as p,Ra as u,Z as F,_ as j,_b as W,ab as o,ba as H,bb as f,bd as O,ga as h,ha as q,ib as c,kc as S,lc as Y,mc as g,p as Q,qc as G,se as v,tb as r,ve as $,xe as C,ye as X}from"./chunk-MVLCGSW5.js";var s={PRETRAINED_MODEL:"pretrained-model",PRUNING_TIME:"pruning-time",PTQ_TIME:"ptq-time",SIMILAR_ACCURACY:"similar-accuracy",HIGHER_ACCURACY:"higher-accuracy",RECOMMENDED_BASIC_PTQ:"recommended-basic-ptq",RECOMMENDED_BRECQ:"recommended-brecq",RECOMMENDED_GRASP:"recommended-grasp",RECOMMENDED_ITERATIVE:"recommended-iterative",RECOMMENDED_ITERATIVE_ONE_SHOT:"recommended-iterative-one-shot",RECOMMENDED_MINMAX:"recommended-minmax"};var fe=()=>["Yes","No"],oe=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_BASIC_PTQ],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.RECOMMENDED_BRECQ],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-higher-accuracy"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you need relatively higher accuracy?"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Short PTQ time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,fe)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var Se=()=>["Yes","No"],ne=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pretrained-model"]],decls:6,vars:3,consts:[[1,"heading-primary-title"],[3,"selectedOption","options"],[1,"mt-4"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you have a pre-trained model?"),o(),i(2,"ms-card-selector",1),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(3,"div",2)(4,"button",3),c("click",function(){return t.handleSelection()}),r(5,"Next"),o()()),n&2&&(d(2),u("options",y(2,Se)),d(2),u("disabled",!t.selectedOption))},dependencies:[_,v]});let l=e;return l})();var ge=()=>["Yes","No"],re=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.wizardSteps=s,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_ITERATIVE],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pruning-time"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you tolerate long pruning time?"),o(),i(2,"p",1),r(3,` The model pruning phase may require a similar or even longer duration compared to the model training period. `),o(),i(4,"mat-chip-set",2)(5,"mat-chip",3),c("click",function(){return t.goToPreviousPage()}),r(6," Pruning "),o()(),i(7,"ms-card-selector",4),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",5)(9,"button",6),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",7),r(11," Previous "),o(),i(12,"button",8),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,ge)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var ve=()=>["Yes","No"],ce=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_MINMAX],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.HIGHER_ACCURACY],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-ptq-time"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you tolerate long PTQ time?"),o(),i(2,"p",1),r(3,` Our system supports processing times ranging from minutes (short) to several hours (long), ensuring consistent efficiency and reliability for tasks of any duration. `),o(),i(4,"mat-chip-set",2)(5,"mat-chip",3),c("click",function(){return t.goToPreviousPage()}),r(6," Post-training quantization "),o()(),i(7,"ms-card-selector",4),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",5)(9,"button",6),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",7),r(11," Previous "),o(),i(12,"button",8),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,ve)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var D,R=(D=class{constructor(e){this.scriptFacadeService=e,this.isScriptActive=!1,this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(Z(this)).subscribe(e=>{this.isScriptActive=J(e)})}ctaCallScript(e){if(!e)return;let L=ie(e);L&&this.scriptFacadeService.dispatch(K.callScript({configs:{alg:L}}))}},D.\u0275fac=function(L){return new(L||D)(H(ee))},D.\u0275prov=F({token:D,factory:D.\u0275fac}),D);R=Q([V()],R);var ae=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([z.BPTQ])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.HIGHER_ACCURACY],{relativeTo:this.route.parent})}goToPTQPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-basic-ptq"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPTQPage()}),r(6," Short PTQ time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," High Accuracy "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var me=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([z.BRECQ])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.HIGHER_ACCURACY],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToPTQPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-brecq"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPTQPage()}),r(6," Short PTQ time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," Low Accuracy "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var se=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([N.IPG,N.IPR,N.IPM])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToPruningTimePage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-grasp"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Pruning "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPruningTimePage()}),r(6," Short pruning time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," Init pruning "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var le=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([N.IMP,N.OMP])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToPruningTimePage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-iterative-one-shot"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Pruning "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPruningTimePage()}),r(6," Long pruning time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," Higher accuracy "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var pe=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([N.IMP])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-iterative"]],decls:16,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Pruning "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Long pruning time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13," Run "),o(),i(14,"button",8),c("click",function(){return t.goToChartPage()}),r(15,"View Chart"),o()()),n&2&&(d(7),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var de=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([z.MINMAXPTQ])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-minmax"]],decls:16,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Long PTQ time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13," Run "),o(),i(14,"button",8),c("click",function(){return t.goToChartPage()}),r(15,"View Chart"),o()()),n&2&&(d(7),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var Te=()=>["Yes","No"],ue=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_ITERATIVE_ONE_SHOT],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.RECOMMENDED_GRASP],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-similar-accuracy"]],decls:16,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you want to have a similar or higher accuracy?\xA0"),o(),i(2,"p",1),r(3,` Expectations for compressed model performance: Anticipate achieving comparable or enhanced accuracy relative to the original model. `),o(),i(4,"mat-chip-set",2)(5,"mat-chip",3),c("click",function(){return t.goToPretrainedPage()}),r(6," Pruning "),o(),i(7,"mat-chip",3),c("click",function(){return t.goToPreviousPage()}),r(8," Short pruning time "),o()(),i(9,"ms-card-selector",4),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",5)(11,"button",6),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",7),r(13," Previous "),o(),i(14,"button",8),c("click",function(){return t.handleSelection()}),r(15,"Next"),o()()),n&2&&(d(9),u("options",y(2,Te)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var he=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=h({type:e,selectors:[["ms-wizard"]],decls:5,vars:0,consts:[[1,"wizard-layout"],[1,"left"],[1,"right"]],template:function(n,t){n&1&&(i(0,"div",0)(1,"div",1),f(2,"router-outlet"),o(),i(3,"div",2),f(4,"ms-terminal-xterm-with-toolbar"),o()())},dependencies:[Y,x],styles:[".wizard-layout[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:20px;height:100%}.wizard-layout[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:45%;gap:20px}.wizard-layout[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:55%}"]});let l=e;return l})();var Ce=[{path:"",component:he,children:[{path:"",redirectTo:s.PRETRAINED_MODEL,pathMatch:"full"},{path:s.PRETRAINED_MODEL,component:ne},{path:s.PRUNING_TIME,component:re},{path:s.PTQ_TIME,component:ce},{path:s.SIMILAR_ACCURACY,component:ue},{path:s.HIGHER_ACCURACY,component:oe},{path:s.RECOMMENDED_BASIC_PTQ,component:ae},{path:s.RECOMMENDED_BRECQ,component:me},{path:s.RECOMMENDED_GRASP,component:se},{path:s.RECOMMENDED_ITERATIVE,component:pe},{path:s.RECOMMENDED_MINMAX,component:de},{path:s.RECOMMENDED_ITERATIVE_ONE_SHOT,component:le}]}],_e=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=q({type:e}),e.\u0275inj=j({imports:[G.forChild(Ce),G]});let l=e;return l})();var li=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=q({type:e}),e.\u0275inj=j({providers:[R],imports:[W,_e,x,_,X,te,$]});let l=e;return l})();export{li as WizardModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-QYJ4C4QM.js b/frontend/server/modelsmith-build/browser/chunk-4P7ULTDI.js similarity index 85% rename from frontend/server/modelsmith-build/browser/chunk-QYJ4C4QM.js rename to frontend/server/modelsmith-build/browser/chunk-4P7ULTDI.js index 45edaf7c..1955d905 100644 --- a/frontend/server/modelsmith-build/browser/chunk-QYJ4C4QM.js +++ b/frontend/server/modelsmith-build/browser/chunk-4P7ULTDI.js @@ -1 +1 @@ -import{$a as i,Ab as d,Da as a,ab as s,bb as c,ga as m,tb as l,ub as o}from"./chunk-MDAOMI2L.js";var u=(()=>{let e=class e{constructor(){this.title="",this.message=""}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["ms-empty-state"]],inputs:{title:"title",message:"message"},standalone:!0,features:[d],decls:6,vars:2,consts:[["src","assets/icons/empty-state.svg"],[1,"heading-section-title"],[1,"paragraph-regular-p2-large"]],template:function(t,r){t&1&&(i(0,"div"),c(1,"img",0),i(2,"div",1),l(3),s(),i(4,"div",2),l(5),s()()),t&2&&(a(3),o(r.title),a(2),o(r.message))},styles:["[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%;width:100%;text-align:center}div[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px}img[_ngcontent-%COMP%]{max-width:100%;height:auto}"]});let n=e;return n})();export{u as a}; +import{$a as i,Bb as d,Da as a,ab as s,bb as c,ga as m,tb as l,ub as o}from"./chunk-MVLCGSW5.js";var u=(()=>{let e=class e{constructor(){this.title="",this.message=""}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["ms-empty-state"]],inputs:{title:"title",message:"message"},standalone:!0,features:[d],decls:6,vars:2,consts:[["src","assets/icons/empty-state.svg"],[1,"heading-section-title"],[1,"paragraph-regular-p2-large"]],template:function(t,r){t&1&&(i(0,"div"),c(1,"img",0),i(2,"div",1),l(3),s(),i(4,"div",2),l(5),s()()),t&2&&(a(3),o(r.title),a(2),o(r.message))},styles:["[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%;width:100%;text-align:center}div[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px}img[_ngcontent-%COMP%]{max-width:100%;height:auto}"]});let n=e;return n})();export{u as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-H7JRQDHZ.js b/frontend/server/modelsmith-build/browser/chunk-4V6EPGXL.js similarity index 80% rename from frontend/server/modelsmith-build/browser/chunk-H7JRQDHZ.js rename to frontend/server/modelsmith-build/browser/chunk-4V6EPGXL.js index f0e4fbcb..6dbe9a4e 100644 --- a/frontend/server/modelsmith-build/browser/chunk-H7JRQDHZ.js +++ b/frontend/server/modelsmith-build/browser/chunk-4V6EPGXL.js @@ -1 +1 @@ -import{a as b,b as V,c as x,d as y}from"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import{b as F,c as P}from"./chunk-UWC6A2K5.js";import"./chunk-MCE6M2DX.js";import{a as D}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import"./chunk-BTHDGCD5.js";import{$a as p,Ab as C,Da as T,Ea as c,Ra as d,Zb as h,ab as s,bb as g,fb as v,ga as f,ib as M,oa as o,p as u,pa as t,sb as l,tb as w}from"./chunk-MDAOMI2L.js";var r,S=(r=class{constructor(m,n){this.dialogRef=m,this.popoverManager=n,this.fullscreenPopoverId="popover-fullscreen"}closeDialog(){this.popoverManager.hasActivePopover(this.fullscreenPopoverId)&&this.popoverManager.closePopoverById(this.fullscreenPopoverId,{result:{},status:b.CLOSE},!1),this.dialogRef.close()}},r.\u0275fac=function(n){return new(n||r)(c(F),c(V))},r.\u0275cmp=f({type:r,selectors:[["ms-terminal-fullscreen-dialog"]],standalone:!0,features:[C],decls:8,vars:2,consts:[["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],[3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch","exitFullscreen","isFullscreen","popoverId"]],template:function(n,_){if(n&1){let i=v();p(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3),w(4,"Terminal"),s(),p(5,"ms-terminal-toolbar",4),M("clearTerminal",function(){o(i);let e=l(7);return t(e.clearTerminal())})("scrollToTopTerminal",function(){o(i);let e=l(7);return t(e.scrollToTop())})("scrollToBottomTerminal",function(){o(i);let e=l(7);return t(e.scrollToBottom())})("searchTerminal",function(e){o(i);let I=l(7);return t(I.search(e))})("disposeSearch",function(){o(i);let e=l(7);return t(e.clearSearch())})("exitFullscreen",function(){return o(i),t(_.closeDialog())}),s()(),g(6,"ms-terminal-xterm",null,0),s()()}n&2&&(T(5),d("isFullscreen",!0)("popoverId",_.fullscreenPopoverId))},dependencies:[h,P,y,x],styles:[".ms-terminal-wrapper[_ngcontent-%COMP%]{overflow-x:auto}.ms-terminal-wrapper[_ngcontent-%COMP%] .terminal-wrapper[_ngcontent-%COMP%]{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper[_ngcontent-%COMP%] .xterm-viewport[_ngcontent-%COMP%]{overflow-y:auto!important}.ms-terminal-wrapper[_ngcontent-%COMP%] .top-terminal-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),r);S=u([D({})],S);export{S as MsTerminalFullscreenDialogComponent}; +import{a as b,b as V,c as x,d as y}from"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import{b as F,c as P}from"./chunk-5MCZHTBZ.js";import"./chunk-XSOJ6DN4.js";import{a as D}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as p,Bb as C,Da as T,Ea as c,Ra as d,_b as h,ab as s,bb as g,fb as v,ga as f,ib as M,oa as o,p as u,pa as t,sb as l,tb as w}from"./chunk-MVLCGSW5.js";var r,S=(r=class{constructor(m,n){this.dialogRef=m,this.popoverManager=n,this.fullscreenPopoverId="popover-fullscreen"}closeDialog(){this.popoverManager.hasActivePopover(this.fullscreenPopoverId)&&this.popoverManager.closePopoverById(this.fullscreenPopoverId,{result:{},status:b.CLOSE},!1),this.dialogRef.close()}},r.\u0275fac=function(n){return new(n||r)(c(F),c(V))},r.\u0275cmp=f({type:r,selectors:[["ms-terminal-fullscreen-dialog"]],standalone:!0,features:[C],decls:8,vars:2,consts:[["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],[3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch","exitFullscreen","isFullscreen","popoverId"]],template:function(n,_){if(n&1){let i=v();p(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3),w(4,"Terminal"),s(),p(5,"ms-terminal-toolbar",4),M("clearTerminal",function(){o(i);let e=l(7);return t(e.clearTerminal())})("scrollToTopTerminal",function(){o(i);let e=l(7);return t(e.scrollToTop())})("scrollToBottomTerminal",function(){o(i);let e=l(7);return t(e.scrollToBottom())})("searchTerminal",function(e){o(i);let I=l(7);return t(I.search(e))})("disposeSearch",function(){o(i);let e=l(7);return t(e.clearSearch())})("exitFullscreen",function(){return o(i),t(_.closeDialog())}),s()(),g(6,"ms-terminal-xterm",null,0),s()()}n&2&&(T(5),d("isFullscreen",!0)("popoverId",_.fullscreenPopoverId))},dependencies:[h,P,y,x],styles:[".ms-terminal-wrapper[_ngcontent-%COMP%]{overflow-x:auto}.ms-terminal-wrapper[_ngcontent-%COMP%] .terminal-wrapper[_ngcontent-%COMP%]{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper[_ngcontent-%COMP%] .xterm-viewport[_ngcontent-%COMP%]{overflow-y:auto!important}.ms-terminal-wrapper[_ngcontent-%COMP%] .top-terminal-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),r);S=u([D({})],S);export{S as MsTerminalFullscreenDialogComponent}; diff --git a/frontend/server/modelsmith-build/browser/chunk-FELGKJRN.js b/frontend/server/modelsmith-build/browser/chunk-4X6VBT7Z.js similarity index 90% rename from frontend/server/modelsmith-build/browser/chunk-FELGKJRN.js rename to frontend/server/modelsmith-build/browser/chunk-4X6VBT7Z.js index 01637b51..eac90064 100644 --- a/frontend/server/modelsmith-build/browser/chunk-FELGKJRN.js +++ b/frontend/server/modelsmith-build/browser/chunk-4X6VBT7Z.js @@ -1 +1 @@ -import{Ab as m,Hd as n,Qa as c,Ta as v,_ as d,cd as a,ga as s,ha as l}from"./chunk-MDAOMI2L.js";var u=(()=>{let t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=a(e)}get inset(){return this._inset}set inset(e){this._inset=a(e)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=s({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(r,o){r&2&&(c("aria-orientation",o.vertical?"vertical":"horizontal"),v("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[m],decls:0,vars:0,template:function(r,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let i=t;return i})(),g=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=l({type:t}),t.\u0275inj=d({imports:[n,n]});let i=t;return i})();export{u as a,g as b}; +import{Bb as m,Id as n,Qa as c,Ta as v,_ as d,dd as a,ga as s,ha as l}from"./chunk-MVLCGSW5.js";var u=(()=>{let t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=a(e)}get inset(){return this._inset}set inset(e){this._inset=a(e)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=s({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(r,o){r&2&&(c("aria-orientation",o.vertical?"vertical":"horizontal"),v("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[m],decls:0,vars:0,template:function(r,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let i=t;return i})(),g=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=l({type:t}),t.\u0275inj=d({imports:[n,n]});let i=t;return i})();export{u as a,g as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-572IWEGA.js b/frontend/server/modelsmith-build/browser/chunk-572IWEGA.js new file mode 100644 index 00000000..5e973dbe --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-572IWEGA.js @@ -0,0 +1,6 @@ +import{a as st,b as ut,c as ct,d as dt,e as pt,f as ft,g as vt,h as gt,i as St,j as bt,k as Et,l as ht,m as C,n as xt,o as D,p as E,q as de}from"./chunk-VWQ54OR3.js";import{a as it,b as nt}from"./chunk-5QW772YG.js";import{c as at,d as rt,e as ot,f as lt,g as mt}from"./chunk-V4WFZ5A5.js";import{a as Xe,b as Ke,c as $e}from"./chunk-R27DMG2R.js";import"./chunk-PAR2WLRN.js";import{a as We,b as Ve,c as je,d as Ue}from"./chunk-BT5J7FFS.js";import{a as Qe,b as Ze,c as Je,d as G}from"./chunk-5T4RMT4Z.js";import{a as et,b as tt}from"./chunk-K5EGW2EZ.js";import{a as He,b as Ge}from"./chunk-JKB4DNVM.js";import{a as v,b as ye}from"./chunk-4X6VBT7Z.js";import{a as z,b as Ye}from"./chunk-XUCLYHZN.js";import{i as ze}from"./chunk-PMG2IJPH.js";import{a as se,b as ue,c as H,d as ce}from"./chunk-5MCZHTBZ.js";import{c as Ct}from"./chunk-XSOJ6DN4.js";import{a as _e}from"./chunk-KP473PLS.js";import{l as Be}from"./chunk-I333ACNB.js";import{a as oe,b as Te,h as le,i as Le,j as me,k as Re}from"./chunk-LCKMIOUI.js";import{$a as t,$d as R,Cb as j,Da as s,Db as w,Ea as d,I as y,Ib as Z,Pa as A,Ra as u,Sd as Oe,Ya as ge,Za as Se,Zd as J,_ as Y,_a as be,_b as De,ab as e,bb as n,bd as h,cb as X,ce as U,db as K,de as ee,ee as qe,fb as L,ga as c,ha as Q,he as Ie,ib as p,ie as te,kb as F,ke as ie,lc as we,nc as Me,ne,oa as _,p as ve,pa as O,pe as ae,qc as $,qe as Pe,re as Ae,sb as x,se as b,tb as i,te as ke,ub as Ee,ue as re,vb as q,ve as Ne,wb as he,xb as xe,xe as k,yb as Ce,ye as Fe}from"./chunk-MVLCGSW5.js";var Dt=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-buttons-demo"]],decls:220,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-6"],["mat-button",""],["mat-button","","color","primary"],["mat-button","","color","accent"],["mat-button","","color","warn"],["mat-button","","disabled",""],["mat-button","","href","https://www.google.com/","target","_blank"],["mat-raised-button",""],["mat-raised-button","","color","primary"],["mat-raised-button","","color","accent"],["mat-raised-button","","color","warn"],["mat-raised-button","","disabled","","color","accent"],["mat-raised-button","","href","https://www.google.com/","target","_blank"],[1,"parent","items-per-row-7"],["mat-stroked-button",""],["mat-stroked-button","",1,"ms-white-stroked-button"],["mat-stroked-button","","color","primary"],["mat-stroked-button","","color","accent"],["mat-stroked-button","","color","warn"],["mat-stroked-button","","disabled","","color","accent"],["mat-stroked-button","","href","https://www.google.com/","target","_blank"],["mat-flat-button",""],["mat-flat-button","","color","primary"],["mat-flat-button","","color","accent"],["mat-flat-button","","color","warn"],["mat-flat-button","","disabled","","color","primary"],["mat-flat-button","","href","https://www.google.com/","target","_blank"],[2,"grid-column","span 2"],["mat-icon-button",""],["mat-icon-button","","color","primary"],["mat-icon-button","","color","accent"],["mat-icon-button","","color","warn"],["mat-icon-button","","disabled","","color","accent"],[1,"parent","items-per-row-5"],["checked",""],["color","primary","checked",""],["color","accent","checked",""],["color","warn","checked",""],["disabled",""]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Buttons"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Default"),e(),t(7,"div",2)(8,"div"),i(9,"Basic"),e(),t(10,"div"),i(11,"Primary"),e(),t(12,"div"),i(13,"Accent"),e(),t(14,"div"),i(15,"Warn"),e(),t(16,"div"),i(17,"Disabled"),e(),t(18,"div"),i(19,"Link"),e(),t(20,"div")(21,"button",3),i(22,"Lorem Ipsum"),e()(),t(23,"div")(24,"button",4),i(25,"Lorem Ipsum"),e()(),t(26,"div")(27,"button",5),i(28,"Lorem Ipsum"),e()(),t(29,"div")(30,"button",6),i(31,"Lorem Ipsum"),e()(),t(32,"div")(33,"button",7),i(34,"Lorem Ipsum"),e()(),t(35,"div")(36,"a",8),i(37,"Link"),e()()(),t(38,"div",0),n(39,"mat-divider"),e()(),t(40,"div",1)(41,"h2"),i(42,"Raised buttons"),e(),t(43,"div",2)(44,"div"),i(45,"Basic"),e(),t(46,"div"),i(47,"Primary"),e(),t(48,"div"),i(49,"Accent"),e(),t(50,"div"),i(51,"Warn"),e(),t(52,"div"),i(53,"Disabled"),e(),t(54,"div"),i(55,"Link"),e(),t(56,"div")(57,"button",9),i(58,"Lorem Ipsum"),e()(),t(59,"div")(60,"button",10),i(61,"Lorem Ipsum"),e()(),t(62,"div")(63,"button",11),i(64,"Lorem Ipsum"),e()(),t(65,"div")(66,"button",12),i(67,"Lorem Ipsum"),e()(),t(68,"div")(69,"button",13),i(70,"Lorem Ipsum"),e()(),t(71,"div")(72,"a",14),i(73,"Link"),e()()(),t(74,"div",0),n(75,"mat-divider"),e()(),t(76,"div",1)(77,"h2"),i(78,"Stroked buttons"),e(),t(79,"div",15)(80,"div"),i(81,"Basic"),e(),t(82,"div"),i(83,"Basic White"),e(),t(84,"div"),i(85,"Primary"),e(),t(86,"div"),i(87,"Accent"),e(),t(88,"div"),i(89,"Warn"),e(),t(90,"div"),i(91,"Disabled"),e(),t(92,"div"),i(93,"Link"),e(),t(94,"div")(95,"button",16),i(96,"Lorem Ipsum"),e()(),t(97,"div")(98,"button",17),i(99,"Lorem Ipsum"),e()(),t(100,"div")(101,"button",18),i(102,"Lorem Ipsum"),e()(),t(103,"div")(104,"button",19),i(105,"Lorem Ipsum"),e()(),t(106,"div")(107,"button",20),i(108,"Lorem Ipsum"),e()(),t(109,"div")(110,"button",21),i(111,"Lorem Ipsum"),e()(),t(112,"div")(113,"a",22),i(114,"Link"),e()()(),t(115,"div",0),n(116,"mat-divider"),e()(),t(117,"div",1)(118,"h2"),i(119,"Flat buttons"),e(),t(120,"div",2)(121,"div"),i(122,"Basic"),e(),t(123,"div"),i(124,"Primary"),e(),t(125,"div"),i(126,"Accent"),e(),t(127,"div"),i(128,"Warn"),e(),t(129,"div"),i(130,"Disabled"),e(),t(131,"div"),i(132,"Link"),e(),t(133,"div")(134,"button",23),i(135,"Lorem Ipsum"),e()(),t(136,"div")(137,"button",24),i(138,"Lorem Ipsum"),e()(),t(139,"div")(140,"button",25),i(141,"Lorem Ipsum"),e()(),t(142,"div")(143,"button",26),i(144,"Lorem Ipsum"),e()(),t(145,"div")(146,"button",27),i(147,"Lorem Ipsum"),e()(),t(148,"div")(149,"a",28),i(150,"Link"),e()()(),t(151,"div",0),n(152,"mat-divider"),e()(),t(153,"div",1)(154,"h2"),i(155,"Icon buttons"),e(),t(156,"div",2)(157,"div"),i(158,"Basic"),e(),t(159,"div"),i(160,"Primary"),e(),t(161,"div"),i(162,"Accent"),e(),t(163,"div"),i(164,"Warn"),e(),t(165,"div",29),i(166,"Disabled"),e(),t(167,"div")(168,"button",30)(169,"mat-icon"),i(170,"more_vert"),e()()(),t(171,"div")(172,"button",31)(173,"mat-icon"),i(174,"home"),e()()(),t(175,"div")(176,"button",32)(177,"mat-icon"),i(178,"menu"),e()()(),t(179,"div")(180,"button",33)(181,"mat-icon"),i(182,"favorite"),e()()(),t(183,"div",29)(184,"button",34)(185,"mat-icon"),i(186,"open_in_new"),e()()()(),t(187,"div",0),n(188,"mat-divider"),e()(),t(189,"div",1)(190,"h2"),i(191,"Slide toggle buttons"),e(),t(192,"div",35)(193,"div"),i(194,"Basic"),e(),t(195,"div"),i(196,"Primary"),e(),t(197,"div"),i(198,"Accent"),e(),t(199,"div"),i(200,"Warn"),e(),t(201,"div"),i(202,"Disabled"),e(),t(203,"div")(204,"mat-slide-toggle",36),i(205,"Slide me!"),e()(),t(206,"div")(207,"mat-slide-toggle",37),i(208,"Slide me!"),e()(),t(209,"div")(210,"mat-slide-toggle",38),i(211,"Slide me!"),e()(),t(212,"div")(213,"mat-slide-toggle",39),i(214,"Slide me!"),e()(),t(215,"div")(216,"mat-slide-toggle",40),i(217,"Slide me!"),e()()()(),t(218,"div",0),n(219,"mat-divider"),e())},dependencies:[k,v,ke,b,re,it],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var oi=()=>["Option 1","Option 2","Option 3"],Mt=(()=>{let a=class a{constructor(){}ngOnInit(){}handleSelected(l){console.log("Selected option:",l)}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ag-cards-demo"]],decls:39,vars:2,consts:[[1,"line"],[1,"section"],[1,"ms-card"],[1,"heading-sub-section-title"],[1,"key-value-container","single"],[1,"key-value-pair"],[1,"key-value-key","paragraph-semibold-p4-xSmall-emphasis"],[1,"key-value-value","paragraph-regular-p4-xSmall"],[3,"selectedOption","options"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Cards"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"h2"),i(5,"Basic cards"),e(),t(6,"div",1)(7,"mat-card",2)(8,"p",3),i(9,"Card with text"),e(),t(10,"p"),i(11," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et cursus eros, a ultricies massa. Morbi commodo sapien magna, vitae facilisis erat blandit ac. Praesent vulputate nulla quis nibh consectetur euismod. Nulla justo dolor, molestie vitae ultricies id, malesuada id tortor. Ut rutrum nisi enim. Pellentesque sed blandit tortor, id fringilla turpis. In vel arcu nec urna dictum mollis ac sed sem. Integer orci eros, hendrerit a dui nec, auctor mattis mi. Curabitur quis tempor ex. "),e()()(),n(12,"br"),t(13,"div",1)(14,"mat-card",2)(15,"p",3),i(16,"Key Value Card"),e(),t(17,"div",4)(18,"div",5)(19,"div",6),i(20,"Key 1"),e(),t(21,"div",7),i(22,"Value 1"),e()(),n(23,"mat-divider"),t(24,"div",5)(25,"div",6),i(26,"Key 2"),e(),t(27,"div",7),i(28,"Value 2"),e()(),n(29,"mat-divider"),t(30,"div",5)(31,"div",6),i(32,"Key 1"),e(),t(33,"div",7),i(34,"Value 1"),e()()()()(),n(35,"br"),t(36,"h2"),i(37,"Option Card Selector"),e(),t(38,"ms-card-selector",8),p("selectedOption",function(P){return m.handleSelected(P)}),e()),r&2&&(s(38),u("options",j(1,oi)))},dependencies:[G,v,z],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=a;return o})();function li(o,a){if(o&1){let g=L();t(0,"li")(1,"mat-checkbox",5),Ce("ngModelChange",function(r){let m=_(g).$implicit;return xe(m.completed,r)||(m.completed=r),O(r)}),p("ngModelChange",function(){_(g);let r=F();return O(r.updateAllComplete())}),i(2),e()()}if(o&2){let g=a.$implicit;s(),he("ngModel",g.completed),u("color",g.color),s(),q(" ",g.name," ")}}var Ot=(()=>{let a=class a{updateAllComplete(){this.allComplete=this.task.subtasks!=null&&this.task.subtasks.every(l=>l.completed)}someComplete(){return this.task.subtasks==null?!1:this.task.subtasks.filter(l=>l.completed).length>0&&!this.allComplete}setAll(l){this.allComplete=l,this.task.subtasks!=null&&this.task.subtasks.forEach(r=>r.completed=l)}constructor(){this.task={name:"Indeterminate",completed:!1,color:"primary",subtasks:[{name:"Primary",completed:!1,color:"primary"},{name:"Accent",completed:!1,color:"accent"},{name:"Warn",completed:!1,color:"warn"}]},this.allComplete=!1}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-checkboxes-demo"]],decls:18,vars:5,consts:[[1,"line"],[1,"ms-card"],[3,"disabled"],[3,"change","checked","color","indeterminate"],[1,"list-none"],[3,"ngModelChange","ngModel","color"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Checkboxes"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"mat-card",1)(5,"section")(6,"mat-checkbox"),i(7,"Check me!"),e(),t(8,"mat-checkbox",2),i(9,"Disabled"),e()(),t(10,"section")(11,"span")(12,"mat-checkbox",3),p("change",function(P){return m.setAll(P.checked)}),i(13),e()(),t(14,"span")(15,"ul",4),Se(16,li,3,3,"li",null,ge),e()()()()),r&2&&(s(8),u("disabled",!0),s(4),u("checked",m.allComplete)("color",m.task.color)("indeterminate",m.someComplete()),s(),q(" ",m.task.name," "),s(3),be(m.task.subtasks))},dependencies:[v,U,Ie,z,He],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=a;return o})();var yt=(()=>{let a=class a{constructor(){}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-chips-demo"]],decls:17,vars:0,consts:[[1,"line"],[1,"section"],[1,"ms-chip"],["color","primary",1,"ms-chip"],["color","accent",1,"ms-chip"],["color","warn",1,"ms-chip"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Chips"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Basic Chips"),e(),t(7,"div")(8,"mat-chip-set")(9,"mat-chip",2),i(10," Default "),e(),t(11,"mat-chip",3),i(12," Primary "),e(),t(13,"mat-chip",4),i(14," Accent "),e(),t(15,"mat-chip",5),i(16," Warn "),e()()()())},dependencies:[v,Qe,Ze],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}.mat-standard-chip[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px} .mat-chip-list-wrapper .mat-chip.mat-standard-chip{margin:4px}.example-box.cdk-drag-animating[_ngcontent-%COMP%], .example-chip[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-chip-list[_ngcontent-%COMP%]{width:100%}mat-chip[_ngcontent-%COMP%]{max-width:200px}"]});let o=a;return o})();var M=o=>[o],qt=(()=>{let a=class a{constructor(){this.RoutesList=h}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-demo"]],decls:33,vars:42,consts:[[1,"main-container"],[1,"content","routes"],["vertical","true"],[3,"routerLink"],["mat-raised-button","","color","primary",1,"mt-2",3,"routerLink"],[1,"content"]],template:function(r,m){r&1&&(t(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2)(3,"mat-button-toggle",3),i(4," Buttons "),e(),t(5,"mat-button-toggle",3),i(6," Typograpghy "),e(),t(7,"mat-button-toggle",3),i(8," Form Fields "),e(),t(9,"mat-button-toggle",3),i(10," Checkboxes "),e(),t(11,"mat-button-toggle",3),i(12," Menu "),e(),t(13,"mat-button-toggle",3),i(14," Tables "),e(),t(15,"mat-button-toggle",3),i(16," Icons "),e(),t(17,"mat-button-toggle",3),i(18," Cards "),e(),t(19,"mat-button-toggle",3),i(20," Chips "),e(),t(21,"mat-button-toggle",3),i(22," Notifications "),e(),t(23,"mat-button-toggle",3),i(24," Wizard "),e(),t(25,"mat-button-toggle",3),i(26," Drawer "),e(),t(27,"mat-button-toggle",3),i(28," Dialog "),e()(),t(29,"button",4),i(30," Back to login "),e()(),t(31,"div",5),n(32,"router-outlet"),e()()),r&2&&(s(3),u("routerLink",w(14,M,m.RoutesList.DEMO)),s(2),u("routerLink",w(16,M,m.RoutesList.DEMO.TYPOGRAPHY)),s(2),u("routerLink",w(18,M,m.RoutesList.DEMO.FORM_FIELDS)),s(2),u("routerLink",w(20,M,m.RoutesList.DEMO.CHECKBOXES)),s(2),u("routerLink",w(22,M,m.RoutesList.DEMO.MENU)),s(2),u("routerLink",w(24,M,m.RoutesList.DEMO.TABLE)),s(2),u("routerLink",w(26,M,m.RoutesList.DEMO.ICONS)),s(2),u("routerLink",w(28,M,m.RoutesList.DEMO.CARDS)),s(2),u("routerLink",w(30,M,m.RoutesList.DEMO.CHIPS)),s(2),u("routerLink",w(32,M,m.RoutesList.DEMO.NOTIFICATIONS)),s(2),u("routerLink",w(34,M,m.RoutesList.DEMO.WIZARD)),s(2),u("routerLink",w(36,M,m.RoutesList.DEMO.DRAWER)),s(2),u("routerLink",w(38,M,m.RoutesList.DEMO.DIALOG)),s(2),u("routerLink",w(40,M,"/"+m.RoutesList.AUTH.ROOT)))},dependencies:[we,Me,b,Xe,Ke],styles:[".main-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(12,1fr)}.main-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;align-self:flex-start;grid-column:span 11;padding:14px 20px 0;width:90%}.main-container[_ngcontent-%COMP%] .routes[_ngcontent-%COMP%]{grid-column:span 1}.mat-button-toggle[_ngcontent-%COMP%]{display:flex;height:40px}"],changeDetection:0});let o=a;return o})();var Pt=(()=>{let a=class a{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};a.\u0275fac=function(r){return new(r||a)(d(ue),d(se))},a.\u0275cmp=c({type:a,selectors:[["ms-dialog-basic-demo"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. +`),e())},dependencies:[H]});let o=a;return o})();var At=(()=>{let a=class a{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};a.\u0275fac=function(r){return new(r||a)(d(ue),d(se))},a.\u0275cmp=c({type:a,selectors:[["ms-dialog-custom-size"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. +`),e())},dependencies:[H]});let o=a;return o})();var kt=(()=>{let a=class a{constructor(l){this.dialogService=l}ngOnInit(){}openBasicDialog(){this.dialogService.open(Pt,{title:"Lorem Ipsum"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Dialog closed!")})}openCustomSizeDialog(){this.dialogService.open(At,{title:"Lorem Ipsum",width:"40vw",height:"50vh"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Dialog with custom width closed!")})}};a.\u0275fac=function(r){return new(r||a)(d(ce))},a.\u0275cmp=c({type:a,selectors:[["ms-dialog-demo"]],decls:70,vars:0,consts:[[1,"section"],[1,"parent","items-per-row-5"],["mat-raised-button","",3,"click"],[1,"line"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Dialog"),e(),t(2,"div")(3,"h2"),i(4,"Description:"),e(),t(5,"p"),i(6,"Dialog panel it's opened using the dialog service. (ex. this.dialogService.open(COMPONENT, customData)"),e(),t(7,"p"),i(8," Those are the custom data available for "),t(9,"b"),i(10,"dialog config:"),e(),n(11,"br"),t(12,"b"),i(13,"data?: any;"),e(),i(14," | Custom data that you would need to add from outside inside the dialog. "),n(15,"br"),t(16,"b"),i(17,"title?: string;"),e(),i(18," | Dialog title "),n(19,"br"),t(20,"b"),i(21,"showSaveButton?: boolean;"),e(),i(22," | Option to configure the show/hide of the save button. "),n(23,"br"),t(24,"b"),i(25,"showDismissButton?: boolean;"),e(),i(26," | Option to configure the show/hide of the dismiss button. "),n(27,"br"),t(28,"b"),i(29,"saveButtonLabel?: string;"),e(),i(30," | Option to configure the save button label."),n(31,"br"),t(32,"b"),i(33,"dismissButtonLabel?: string;"),e(),i(34," | Option to configure the dismiss button label."),n(35,"br"),t(36,"b"),i(37,"width?: DialogCSSSize;"),e(),i(38," | Option to configure the width in 'px', 'vw' | 'vh', 'em', 'rem' of the dialog."),n(39,"br"),t(40,"b"),i(41,"height?: DialogCSSSize;"),e(),i(42," | Option to configure the height 'px', 'vw', 'vh', 'em', 'rem' of the dialog."),n(43,"br"),e(),t(44,"p"),i(45," On each dialog action an event it's emitted: If you click on the X icon, the event emitted it's DialogStatus.CLOSE, if you click on save the event emitted is DialogStatus.SAVE, if you click on dismiss the event it's DialogStatus.DISMISS. By using this action on the actionEvent output event emitter, you can bind your function and listen to events for your custom functionality. "),e(),t(46,"p"),i(47,' Additionaly, you can change the templates of the header and footer and provide a totally custom implementation as you would need it. Check the "alternative templates" examples '),e()(),t(48,"div",0)(49,"h2"),i(50,"Basic Dialogs"),e(),t(51,"div",1)(52,"div"),i(53,"Open basic dialog with fixed size"),e(),t(54,"div"),i(55,"Open basic dialog with custom size with resizable units (vw, vh)"),e(),n(56,"div")(57,"div")(58,"div"),t(59,"div")(60,"button",2),p("click",function(){return m.openBasicDialog()}),i(61,"Open Dialog"),e()(),t(62,"div")(63,"button",2),p("click",function(){return m.openCustomSizeDialog()}),i(64,"Open Custom Size Dialog"),e()(),n(65,"div")(66,"div")(67,"div"),e(),t(68,"div",3),n(69,"mat-divider"),e()())},dependencies:[v,b],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var Nt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}close(){this.drawerRef.close()}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-run-drawer-actions"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-drawer"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. +`),e())},dependencies:[E],changeDetection:0});let o=a;return o})();function si(o,a){if(o&1){let g=L();t(0,"div",2)(1,"button",3),p("click",function(){_(g);let r=F();return O(r.onDismiss())}),i(2,"Button 1"),e(),t(3,"button",4),p("click",function(){_(g);let r=F();return O(r.onDismiss())}),i(4,"Button 2"),e(),t(5,"button",5),p("click",function(){_(g);let r=F();return O(r.onDismiss())}),i(6,"Button 3"),e()()}}var Tt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}onDismiss(){this.drawerRef.close()}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-alternative-actions-template"]],decls:4,vars:1,consts:[["alternativeActions",""],[3,"actionsTemplate"],[1,"buttons-wrapper"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(r,m){if(r&1&&(t(0,"ms-drawer",1),i(1,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. +`),e(),A(2,si,7,0,"ng-template",null,0,Z)),r&2){let f=x(3);u("actionsTemplate",f)}},dependencies:[E,b],styles:[".buttons-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(:first-child){margin-left:20px}"]});let o=a;return o})();function ui(o,a){if(o&1){let g=L();t(0,"div",2)(1,"div",3)(2,"button",4),p("click",function(){_(g);let r=F();return O(r.close())}),n(3,"mat-icon",5),e()(),t(4,"h3",6),i(5,"Different Header Style"),e()()}}var Lt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}close(){this.drawerRef.close()}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-alternative-header-template"]],decls:4,vars:1,consts:[["alternativeHeader",""],[3,"headerTemplate"],[1,"header-wrapper"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontIcon","icon-close-one"],[2,"color","red"]],template:function(r,m){if(r&1&&(t(0,"ms-drawer",1),i(1,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. +`),e(),A(2,ui,6,0,"ng-template",null,0,Z)),r&2){let f=x(3);u("headerTemplate",f)}},dependencies:[E,k,re],styles:[".header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:32px}"],changeDetection:0});let o=a;return o})();var Ft=(()=>{let a=class a{constructor(l,r,m){this.drawerRef=l,this.drawerConfig=r,this.fb=m}ngOnInit(){this.form=this.fb.group({name:["",[R.required]],address:["",[R.required]]})}save(l){l===xt.SAVE&&this.drawerRef.close({result:this.form.getRawValue(),status:l})}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C),d(ae))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-buttons-actions"]],decls:12,vars:2,consts:[[3,"actionEvent","isSaveDisabled"],[3,"formGroup"],[1,"form-field-container"],["appearance","outline"],["agErrorDisplay","","matInput","","placeholder","Name","formControlName","name"],["agErrorDisplay","","matInput","","placeholder","Address","formControlName","address"]],template:function(r,m){r&1&&(t(0,"ms-drawer",0),p("actionEvent",function(P){return m.save(P)}),t(1,"form",1)(2,"div",2)(3,"mat-label"),i(4,"Name"),e(),t(5,"mat-form-field",3),n(6,"input",4),e()(),t(7,"div",2)(8,"mat-label"),i(9,"Address"),e(),t(10,"mat-form-field",3),n(11,"input",5),e()()()()),r&2&&(u("isSaveDisabled",m.form.invalid),s(),u("formGroup",m.form))},dependencies:[E,te,J,U,ee,ie,ne,le,oe,me]});let o=a;return o})();var Rt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-customizable-width"]],decls:1,vars:0,template:function(r,m){r&1&&n(0,"ms-drawer")},dependencies:[E]});let o=a;return o})();var Bt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerConfig=r,this.isSaveDisabled=!0}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-disabled-buttons-actions"]],decls:3,vars:2,consts:[[3,"isSaveDisabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(r,m){r&1&&(t(0,"ms-drawer",0)(1,"button",1),p("click",function(){return m.isSaveDisabled=!m.isSaveDisabled}),i(2),e()()),r&2&&(u("isSaveDisabled",m.isSaveDisabled),s(2),q(" Click here to ",m.isSaveDisabled?"enable":"disable"," button "))},dependencies:[E,b]});let o=a;return o})();var Wt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerData=r}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-injected-data"]],decls:5,vars:2,template:function(r,m){r&1&&(t(0,"ms-drawer")(1,"p"),i(2),e(),t(3,"p"),i(4),e()()),r&2&&(s(2),q("Field 1: ",m.drawerData.data.field1,""),s(2),q("Field 2: ",m.drawerData.data.field2,""))},dependencies:[E],changeDetection:0});let o=a;return o})();var Vt=(()=>{let a=class a{constructor(l,r){this.drawerRef=l,this.drawerData=r}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)(d(D),d(C))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-with-only-one-button"]],decls:1,vars:0,template:function(r,m){r&1&&n(0,"ms-drawer")},dependencies:[E],changeDetection:0});let o=a;return o})();var jt=(()=>{let a=class a{constructor(l){this.drawerService=l}ngOnInit(){}openDrawer(){this.drawerService.open(Nt,{title:"Lorem Ipsum"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithInjectedData(){let l={field1:"value1",field2:"value2"};this.drawerService.open(Wt,{title:"Drawer with injected data",data:l}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithAlternativeHeader(){this.drawerService.open(Lt).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithOnlyOneButton(){this.drawerService.open(Vt,{title:"Only one button",showSaveButton:!1,closeButtonLabel:"Close"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithAlternativeActions(){this.drawerService.open(Tt,{title:"Alternative Footer"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithDisabledButtons(){this.drawerService.open(Bt,{title:"Disabled buttons"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithButtonsActions(){this.drawerService.open(Ft,{title:"Buttons Actions"}).afterClosed().pipe(y(1)).subscribe(r=>{alert(`Clicked on ${r.status}, name = ${r.result.name}, address = ${r.result.address}`)})}openDrawerWithCustomizableWidth(){this.drawerService.open(Rt,{title:"Drawer With Customizable Width",width:"20vw"}).afterClosed().pipe(y(1)).subscribe(()=>{console.log("Drawer closed!")})}};a.\u0275fac=function(r){return new(r||a)(d(de))},a.\u0275cmp=c({type:a,selectors:[["ms-drawer-demo"]],decls:116,vars:0,consts:[[1,"section"],[1,"parent","items-per-row-5"],["mat-raised-button","",3,"click"],[1,"line"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Drawer"),e(),t(2,"div",0)(3,"h2"),i(4,"Description:"),e(),t(5,"p"),i(6,"Drawer Dialog it's opened using the drawer service. (ex. this.drawerService.open(COMPONENT, customData)"),e(),t(7,"p"),i(8," Those are the custom data available for "),t(9,"b"),i(10,"drawer config:"),e(),n(11,"br"),t(12,"b"),i(13,"data?: any;"),e(),i(14," | Custom data that you would need to add from outside inside the dialog. "),n(15,"br"),t(16,"b"),i(17,"title?: string;"),e(),i(18," | Dialog title "),n(19,"br"),t(20,"b"),i(21,"showSaveButton?: boolean;"),e(),i(22," | Option to configure the show/hide of the save button. "),n(23,"br"),t(24,"b"),i(25,"showDismissButton?: boolean;"),e(),i(26," | Option to configure the show/hide of the dismiss button. "),n(27,"br"),t(28,"b"),i(29,"saveButtonLabel?: string;"),e(),i(30," | Option to configure the save button label."),n(31,"br"),t(32,"b"),i(33,"dismissButtonLabel?: string;"),e(),i(34," | Option to configure the dismiss button label."),n(35,"br"),t(36,"b"),i(37,"width?: DrawerCSSSize;"),e(),i(38," | Option to configure the width in 'px', 'vw' | 'vh', 'em', 'rem' of the dialog."),n(39,"br"),e(),t(40,"p"),i(41," On each drawer action an event it's emitted: If you click on the X icon, the event emitted it's DrawerStatus.CLOSE, if you click on save the event emitted is DrawerStatus.SAVE, if you click on dismiss the event it's DrawerStatus.DISMISS. By using this action on the actionEvent output event emitter, you can bind your function and listen to events for your custom functionality. "),e(),t(42,"p"),i(43,' Additionaly, you can change the templates of the header and footer and provide a totally custom implementation as you would need it. Check the "alternative templates" examples '),e()(),t(44,"div",0)(45,"h2"),i(46,"Basic Drawers"),e(),t(47,"div",1)(48,"div"),i(49,"Open simple drawer"),e(),t(50,"div"),i(51,"Open Drawer with Injected Data"),e(),t(52,"div"),i(53,"Open Drawer with Only One Button"),e(),t(54,"div"),i(55,"Open Drawer with Disabled Buttons"),e(),t(56,"div"),i(57,"Open Drawer with Customizable Width"),e(),t(58,"div")(59,"button",2),p("click",function(){return m.openDrawer()}),i(60,"Open Drawer"),e()(),t(61,"div")(62,"button",2),p("click",function(){return m.openDrawerWithInjectedData()}),i(63,"Open Drawer"),e()(),t(64,"div")(65,"button",2),p("click",function(){return m.openDrawerWithOnlyOneButton()}),i(66,"Open Drawer"),e()(),t(67,"div")(68,"button",2),p("click",function(){return m.openDrawerWithDisabledButtons()}),i(69,"Open Drawer"),e()(),t(70,"div")(71,"button",2),p("click",function(){return m.openDrawerWithCustomizableWidth()}),i(72,"Open Drawer"),e()()(),t(73,"div",3),n(74,"mat-divider"),e()(),t(75,"div",0)(76,"h2"),i(77,"Alternative templates examples"),e(),t(78,"div",1)(79,"div"),i(80,"Open Drawer with Alternative Header Template"),e(),t(81,"div"),i(82,"Open Drawer with Alternative Actions Template"),e(),n(83,"div")(84,"div")(85,"div"),t(86,"div")(87,"button",2),p("click",function(){return m.openDrawerWithAlternativeHeader()}),i(88,"Open Drawer"),e()(),t(89,"div")(90,"button",2),p("click",function(){return m.openDrawerWithAlternativeActions()}),i(91,"Open Drawer"),e()(),n(92,"div")(93,"div")(94,"div"),e(),t(95,"div",3),n(96,"mat-divider"),e()(),t(97,"div",0)(98,"h2"),i(99,"Drawers With Buttons Actions Check"),e(),t(100,"div",1)(101,"div"),i(102,"Open Drawer with Buttons Actions"),e(),n(103,"div")(104,"div")(105,"div")(106,"div"),t(107,"div")(108,"button",2),p("click",function(){return m.openDrawerWithButtonsActions()}),i(109,"Open Drawer"),e()(),n(110,"div")(111,"div")(112,"div")(113,"div"),e(),t(114,"div",3),n(115,"mat-divider"),e()())},dependencies:[v,b],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var T,fe=(T=class{constructor(a){this.fb=a,this.form=new qe({})}ngOnInit(){this.form=this.fb.group({default:[null],searchBar:[null],prefilled:["Lorem Ipsum"],disabled:[{value:null,disabled:!0}],prefilledDisabled:[{value:"Lorem Ipsum",disabled:!0}],error:[null,[R.required]],icon:[null],iconPrefilled:["Lorem Ipsum"],iconDisabled:[{value:null,disabled:!0}],iconPrefilledDisabled:[{value:"Lorem Ipsum",disabled:!0}],iconError:[null,[R.required]],required:[null,[R.required]],textarea:[null],textareaPrefilled:["Lorem Ipsum"],textareaDisabled:[{value:null,disabled:!0}],textareaPrefilledAndDisabled:[{value:"Lorem Ipsum",disabled:!0}],textareaError:[null,[R.required]],dropdown:[null],dropdownPreselected:["option1"],dropdownDisabled:[{value:null,disabled:!0}],dropdownPreselectedAndDisabled:[{value:"option1",disabled:!0}]})}},T.\u0275fac=function(g){return new(g||T)(d(ae))},T.\u0275cmp=c({type:T,selectors:[["ms-form-fields-demo"]],decls:255,vars:1,consts:[[1,"line"],[3,"formGroup"],[1,"section"],[1,"parent","items-per-row-5"],[1,"form-field-container"],["msErrorDisplay","","matInput","","formControlName","default"],[1,"form-field-container","ms-white-form-field"],["msErrorDisplay","","matInput","","formControlName","prefilled"],["msErrorDisplay","","matInput","","formControlName","disabled"],["msErrorDisplay","","matInput","","formControlName","prefilledDisabled"],["msErrorDisplay","","matInput","","formControlName","error"],["appearance","outline"],["matInput","","msErrorDisplay","","placeholder","Default","formControlName","default"],["matInput","","msErrorDisplay","","placeholder","Prefilled","formControlName","prefilled"],["matInput","","msErrorDisplay","","placeholder","Disabled","formControlName","disabled"],["matInput","","msErrorDisplay","","placeholder","Prefilled and Disabled","formControlName","prefilledDisabled"],["matInput","","placeholder","Error","formControlName","error"],["appearance","fill","floatLabel","always"],["appearance","outline","floatLabel","auto"],["floatLabel","always"],["msErrorDisplay","","matInput","","formControlName","required"],["rows","4","matInput","","formControlName","textarea","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaPrefilled","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaDisabled","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaPrefilledAndDisabled","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaError","msErrorDisplay",""],["formControlName","dropdown","placeholder","Select a value"],["value","option1"],["value","option2"],["value","option3"],["value","option4"],["value","option5"],["formControlName","dropdownPreselected","placeholder","Select a value"],["formControlName","dropdownDisabled","placeholder","Select a value"],["formControlName","dropdownPreselectedAndDisabled"],[1,"parent","items-per-row-6"],["matInput","","msPasswordToggle","","msErrorDisplay","","placeholder","Default","formControlName","default"]],template:function(g,l){g&1&&(t(0,"h1"),i(1,"Form Fields"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"form",1)(5,"div",2)(6,"div",2)(7,"h2"),i(8,"Default"),e(),t(9,"div",3)(10,"div",4)(11,"mat-label"),i(12," Default "),e(),t(13,"mat-form-field"),n(14,"input",5),e()(),t(15,"div",6)(16,"mat-label"),i(17," Default White "),e(),t(18,"mat-form-field"),n(19,"input",5),e()(),t(20,"div",4)(21,"mat-label"),i(22," Prefilled "),e(),t(23,"mat-form-field"),n(24,"input",7),e()(),t(25,"div",4)(26,"mat-label"),i(27," Disabled "),e(),t(28,"mat-form-field"),n(29,"input",8),e()(),t(30,"div",4)(31,"mat-label"),i(32," Prefilled & disabled "),e(),t(33,"mat-form-field"),n(34,"input",9),e()(),t(35,"div",4)(36,"mat-label"),i(37," Error "),e(),t(38,"mat-form-field"),n(39,"input",10),e()()(),t(40,"div",0),n(41,"mat-divider"),e()(),t(42,"h2"),i(43,"Appearance Outline"),e(),t(44,"div",3)(45,"div",4)(46,"mat-form-field",11)(47,"mat-label"),i(48,"Default"),e(),n(49,"input",12),e()(),t(50,"div",4)(51,"mat-form-field",11)(52,"mat-label"),i(53," Prefilled "),e(),n(54,"input",13),e()(),t(55,"div",4)(56,"mat-form-field",11)(57,"mat-label"),i(58," Disabled "),e(),n(59,"input",14),e()(),t(60,"div",4)(61,"mat-form-field",11)(62,"mat-label"),i(63," Prefilled & disabled "),e(),n(64,"input",15),e()(),t(65,"div",4)(66,"mat-form-field",11)(67,"mat-label"),i(68," Error "),e(),n(69,"input",16),t(70,"mat-error"),i(71,"Test"),e()()()(),t(72,"div",0),n(73,"mat-divider"),e()(),t(74,"div",2)(75,"h2"),i(76,"Appearance Fill & Float Label"),e(),t(77,"div",3)(78,"div",4)(79,"mat-form-field",17)(80,"mat-label"),i(81," Default "),e(),n(82,"input",5),e()(),t(83,"div")(84,"mat-form-field",17)(85,"mat-label"),i(86," Prefilled "),e(),n(87,"input",7),e()(),t(88,"div",4)(89,"mat-form-field",17)(90,"mat-label"),i(91," Disabled "),e(),n(92,"input",8),e()(),t(93,"div",4)(94,"mat-form-field",17)(95,"mat-label"),i(96," Prefilled & disabled "),e(),n(97,"input",9),e()(),t(98,"div",4)(99,"mat-form-field",17)(100,"mat-label"),i(101," Error "),e(),n(102,"input",10),e()()(),t(103,"div",0),n(104,"mat-divider"),e()(),t(105,"div",2)(106,"h2"),i(107,"Appearance Outline & Label Auto"),e(),t(108,"div",3)(109,"div",4)(110,"mat-form-field",18)(111,"mat-label"),i(112," Default "),e(),n(113,"input",5),e()(),t(114,"div",4)(115,"mat-form-field",18)(116,"mat-label"),i(117," Prefilled "),e(),n(118,"input",7),e()(),t(119,"div",4)(120,"mat-form-field",18)(121,"mat-label"),i(122," Disabled "),e(),n(123,"input",8),e()(),t(124,"div",4)(125,"mat-form-field",18)(126,"mat-label"),i(127," Prefilled & disabled "),e(),n(128,"input",9),e()(),t(129,"div",4)(130,"mat-form-field",18)(131,"mat-label"),i(132," Error "),e(),n(133,"input",10),e()()(),t(134,"div",0),n(135,"mat-divider"),e()(),t(136,"div",2)(137,"h2"),i(138,"Inputs with Validators"),e(),t(139,"div",3)(140,"div",4)(141,"mat-form-field",19)(142,"mat-label"),i(143,"Required "),e(),n(144,"input",20),e()(),n(145,"div")(146,"div"),e(),t(147,"div",0),n(148,"mat-divider"),e()(),t(149,"div",2)(150,"h2"),i(151,"Textarea"),e(),t(152,"div",3)(153,"div",4)(154,"mat-form-field",19)(155,"mat-label"),i(156,"Default prefilled"),e(),n(157,"textarea",21),e()(),t(158,"div",4)(159,"mat-form-field",19)(160,"mat-label"),i(161,"Prefilled"),e(),n(162,"textarea",22),e()(),t(163,"div",4)(164,"mat-form-field",19)(165,"mat-label"),i(166,"Disabled"),e(),n(167,"textarea",23),e()(),t(168,"div",4)(169,"mat-form-field",19)(170,"mat-label"),i(171,"Prefilled and disabled"),e(),n(172,"textarea",24),e()(),t(173,"div",4)(174,"mat-form-field",19)(175,"mat-label"),i(176,"Error"),e(),n(177,"textarea",25),e()()(),t(178,"div",0),n(179,"mat-divider"),e()(),t(180,"div",2)(181,"h2"),i(182,"Dropdowns"),e(),t(183,"div",3)(184,"div",4)(185,"mat-label"),i(186," Default"),e(),t(187,"mat-form-field",11)(188,"mat-select",26)(189,"mat-option",27),i(190,"Option 1"),e(),t(191,"mat-option",28),i(192,"Option 2"),e(),t(193,"mat-option",29),i(194,"Option 3"),e(),t(195,"mat-option",30),i(196,"Option 4"),e(),t(197,"mat-option",31),i(198,"Option 5"),e()()()(),t(199,"div",4)(200,"mat-label"),i(201," Preselected "),e(),t(202,"mat-form-field",11)(203,"mat-select",32)(204,"mat-option",27),i(205,"Option 1"),e(),t(206,"mat-option",28),i(207,"Option 2"),e(),t(208,"mat-option",29),i(209,"Option 3"),e(),t(210,"mat-option",30),i(211,"Option 4"),e(),t(212,"mat-option",31),i(213,"Option 5"),e()()()(),t(214,"div",4)(215,"mat-label"),i(216," Disabled "),e(),t(217,"mat-form-field",11)(218,"mat-select",33)(219,"mat-option",27),i(220,"Option 1"),e(),t(221,"mat-option",28),i(222,"Option 2"),e(),t(223,"mat-option",29),i(224,"Option 3"),e(),t(225,"mat-option",30),i(226,"Option 4"),e(),t(227,"mat-option",31),i(228,"Option 5"),e()()()(),t(229,"div",4)(230,"mat-label"),i(231," Preselected and disabled "),e(),t(232,"mat-form-field",11)(233,"mat-select",34)(234,"mat-option",27),i(235,"Option 1"),e(),t(236,"mat-option",28),i(237,"Option 2"),e(),t(238,"mat-option",29),i(239,"Option 3"),e(),t(240,"mat-option",30),i(241,"Option 4"),e(),t(242,"mat-option",31),i(243,"Option 5"),e()()()()(),t(244,"div",0),n(245,"mat-divider"),e()(),t(246,"div",2)(247,"div",35)(248,"div",4)(249,"mat-label"),i(250,"Password toggle"),e(),t(251,"mat-form-field",11),n(252,"input",36),e()()(),t(253,"div",0),n(254,"mat-divider"),e()()()),g&2&&(s(4),u("formGroup",l.form))},dependencies:[v,te,J,U,ee,ie,ne,le,oe,Te,me,et,Oe,ze],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0}),T);fe=ve([_e()],fe);var Ut=(()=>{let a=class a{constructor(){}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-icons-demo"]],decls:381,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-3"],["fontSet","ms","fontIcon","icon-Check"],[1,"parent","items-per-row-8"],["fontSet","ms","fontIcon","icon-User",1,"mat-primary"],["fontSet","ms","fontIcon","icon-User",1,"mat-complementary"],["fontSet","ms","fontIcon","icon-User",1,"mat-gray"],["fontSet","ms","fontIcon","icon-User",1,"mat-white"],["fontSet","ms","fontIcon","icon-User",1,"mat-accent"],["fontSet","ms","fontIcon","icon-User",1,"mat-success"],["fontSet","ms","fontIcon","icon-User",1,"mat-warn"],["fontSet","ms","fontIcon","icon-User",1,"mat-error"],[1,"parent","ten-items-per-row"],["fontSet","ms","fontIcon","icon-Alerts-Info"],["fontSet","ms","fontIcon","icon-Alerts-Negative"],["fontSet","ms","fontIcon","icon-Alerts-Positive"],["fontSet","ms","fontIcon","icon-Alerts-Warning"],["fontSet","ms","fontIcon","icon-ArrowDown"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["fontSet","ms","fontIcon","icon-ArrowRight"],["fontSet","ms","fontIcon","icon-ArrowSquareOut"],["fontSet","ms","fontIcon","icon-ArrowUp"],["fontSet","ms","fontIcon","icon-Bell"],["fontSet","ms","fontIcon","icon-CalendarBlank"],["fontSet","ms","fontIcon","icon-CaretDoubleLeft"],["fontSet","ms","fontIcon","icon-CaretDoubleRight"],["fontSet","ms","fontIcon","icon-CaretDown"],["fontSet","ms","fontIcon","icon-CaretLeft"],["fontSet","ms","fontIcon","icon-CaretRight"],["fontSet","ms","fontIcon","icon-CaretUp"],["fontSet","ms","fontIcon","icon-CheckCircle"],["fontSet","ms","fontIcon","icon-Clock"],["fontSet","ms","fontIcon","icon-Copy"],["fontSet","ms","fontIcon","icon-Crosshair"],["fontSet","ms","fontIcon","icon-DotsSix"],["fontSet","ms","fontIcon","icon-DotsThree"],["fontSet","ms","fontIcon","icon-DotsThreeVertical"],["fontSet","ms","fontIcon","icon-DownloadSimple"],["fontSet","ms","fontIcon","icon-DropdownCaretDown"],["fontSet","ms","fontIcon","icon-DropdownCaretRight"],["fontSet","ms","fontIcon","icon-DropdownCaretUp"],["fontSet","ms","fontIcon","icon-EnvelopeSimple"],["fontSet","ms","fontIcon","icon-Eye"],["fontSet","ms","fontIcon","icon-EyeSlash"],["fontSet","ms","fontIcon","icon-FunnelSimple"],["fontSet","ms","fontIcon","icon-GearSix"],["fontSet","ms","fontIcon","icon-Info"],["fontSet","ms","fontIcon","icon-Lightning"],["fontSet","ms","fontIcon","icon-ListBullets"],["fontSet","ms","fontIcon","icon-Loader"],["fontSet","ms","fontIcon","icon-Lock"],["fontSet","ms","fontIcon","icon-Magnet"],["fontSet","ms","fontIcon","icon-MagnifyingGlass"],["fontSet","ms","fontIcon","icon-MapTrifold"],["fontSet","ms","fontIcon","icon-Minus"],["fontSet","ms","fontIcon","icon-Nav"],["fontSet","ms","fontIcon","icon-Paperclip"],["fontSet","ms","fontIcon","icon-Passthrough"],["fontSet","ms","fontIcon","icon-PencilSimple"],["fontSet","ms","fontIcon","icon-Placeholder"],["fontSet","ms","fontIcon","icon-Plus"],["fontSet","ms","fontIcon","icon-Printer"],["fontSet","ms","fontIcon","icon-Prohibit"],["fontSet","ms","fontIcon","icon-Question"],["fontSet","ms","fontIcon","icon-Refresh"],["fontSet","ms","fontIcon","icon-Rocket"],["fontSet","ms","fontIcon","icon-SignOut"],["fontSet","ms","fontIcon","icon-Sort"],["fontSet","ms","fontIcon","icon-SortDown"],["fontSet","ms","fontIcon","icon-SortUp"],["fontSet","ms","fontIcon","icon-Stack"],["fontSet","ms","fontIcon","icon-StackPort"],["fontSet","ms","fontIcon","icon-TrashSimple"],["fontSet","ms","fontIcon","icon-TrendDown"],["fontSet","ms","fontIcon","icon-TrendUp"],["fontSet","ms","fontIcon","icon-UploadSimple"],["fontSet","ms","fontIcon","icon-User"],["fontSet","ms","fontIcon","icon-Users"],["fontSet","ms","fontIcon","icon-WifiHigh"],["fontSet","ms","fontIcon","icon-WifiLightning"],["fontSet","ms","fontIcon","icon-WifiLow"],["fontSet","ms","fontIcon","icon-WifiMedium"],["fontSet","ms","fontIcon","icon-WifiNone"],["fontSet","ms","fontIcon","icon-WifiSlash"],["fontSet","ms","fontIcon","icon-WifiX"],["fontSet","ms","fontIcon","icon-X"],["fontSet","ms","fontIcon","icon-XCircle"],["fontSet","ms","fontIcon","icon-Admin"],["fontSet","ms","fontIcon","icon-Environmental"],["fontSet","ms","fontIcon","icon-Inventory"],["fontSet","ms","fontIcon","icon-Systems-Manager"],[2,"grid-column","span 10"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Icons"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Types"),e(),t(7,"div",2)(8,"div"),i(9,"Icon from Custom Font Set"),e(),t(10,"div"),i(11,"Material Default Icons"),e(),n(12,"div"),t(13,"div"),n(14,"mat-icon",3),e(),t(15,"div")(16,"mat-icon"),i(17,"delete"),e()(),n(18,"div"),e(),t(19,"div",0),n(20,"mat-divider"),e()(),t(21,"div",1)(22,"h2"),i(23,"Custom styles"),e(),t(24,"div",4)(25,"div"),i(26,"Primary"),e(),t(27,"div"),i(28,"Complementary"),e(),t(29,"div"),i(30,"Gray"),e(),t(31,"div"),i(32,"White"),e(),t(33,"div"),i(34,"Accent"),e(),t(35,"div"),i(36,"Succes"),e(),t(37,"div"),i(38,"Warn"),e(),t(39,"div"),i(40,"Error"),e(),t(41,"div"),n(42,"mat-icon",5),e(),t(43,"div"),n(44,"mat-icon",6),e(),t(45,"div"),n(46,"mat-icon",7),e(),t(47,"div"),n(48,"mat-icon",8),e(),t(49,"div"),n(50,"mat-icon",9),e(),t(51,"div"),n(52,"mat-icon",10),e(),t(53,"div"),n(54,"mat-icon",11),e(),t(55,"div"),n(56,"mat-icon",12),e()(),t(57,"div",0),n(58,"mat-divider"),e()(),t(59,"div",1)(60,"h2"),i(61,"Custom Icons"),e(),t(62,"div",13)(63,"div"),i(64,"icon-Alerts-Info"),e(),t(65,"div"),i(66,"icon-Alerts-Negative"),e(),t(67,"div"),i(68,"icon-Alerts-Positive"),e(),t(69,"div"),i(70,"icon-Alerts-Warning"),e(),t(71,"div"),i(72,"icon-ArrowDown"),e(),t(73,"div"),i(74,"icon-ArrowLeft"),e(),t(75,"div"),i(76,"icon-ArrowRight"),e(),t(77,"div"),i(78,"icon-ArrowSquareOut"),e(),t(79,"div"),i(80,"icon-ArrowUp"),e(),t(81,"div"),i(82,"icon-Bell"),e(),t(83,"div"),n(84,"mat-icon",14),e(),t(85,"div"),n(86,"mat-icon",15),e(),t(87,"div"),n(88,"mat-icon",16),e(),t(89,"div"),n(90,"mat-icon",17),e(),t(91,"div"),n(92,"mat-icon",18),e(),t(93,"div"),n(94,"mat-icon",19),e(),t(95,"div"),n(96,"mat-icon",20),e(),t(97,"div"),n(98,"mat-icon",21),e(),t(99,"div"),n(100,"mat-icon",22),e(),t(101,"div"),n(102,"mat-icon",23),e(),t(103,"div"),i(104,"icon-CalendarBlank"),e(),t(105,"div"),i(106,"icon-CaretDoubleLeft"),e(),t(107,"div"),i(108,"icon-CaretDoubleRight"),e(),t(109,"div"),i(110,"icon-CaretDown"),e(),t(111,"div"),i(112,"icon-CaretLeft"),e(),t(113,"div"),i(114,"icon-CaretRight"),e(),t(115,"div"),i(116,"icon-CaretUp"),e(),t(117,"div"),i(118,"icon-CheckCircle"),e(),t(119,"div"),i(120,"icon-Clock"),e(),t(121,"div"),i(122,"icon-Copy"),e(),t(123,"div"),n(124,"mat-icon",24),e(),t(125,"div"),n(126,"mat-icon",25),e(),t(127,"div"),n(128,"mat-icon",26),e(),t(129,"div"),n(130,"mat-icon",27),e(),t(131,"div"),n(132,"mat-icon",28),e(),t(133,"div"),n(134,"mat-icon",29),e(),t(135,"div"),n(136,"mat-icon",30),e(),t(137,"div"),n(138,"mat-icon",31),e(),t(139,"div"),n(140,"mat-icon",32),e(),t(141,"div"),n(142,"mat-icon",33),e(),t(143,"div"),i(144,"icon-Crosshair"),e(),t(145,"div"),i(146,"icon-DotsSix"),e(),t(147,"div"),i(148,"icon-DotsThree"),e(),t(149,"div"),i(150,"icon-DotsThreeVertical"),e(),t(151,"div"),i(152,"icon-DownloadSimple"),e(),t(153,"div"),i(154,"icon-DropdownCaretDown"),e(),t(155,"div"),i(156,"icon-DropdownCaretRight"),e(),t(157,"div"),i(158,"icon-DropdownCaretUp"),e(),t(159,"div"),i(160,"icon-EnvelopeSimple"),e(),t(161,"div"),i(162,"icon-Eye"),e(),t(163,"div"),n(164,"mat-icon",34),e(),t(165,"div"),n(166,"mat-icon",35),e(),t(167,"div"),n(168,"mat-icon",36),e(),t(169,"div"),n(170,"mat-icon",37),e(),t(171,"div"),n(172,"mat-icon",38),e(),t(173,"div"),n(174,"mat-icon",39),e(),t(175,"div"),n(176,"mat-icon",40),e(),t(177,"div"),n(178,"mat-icon",41),e(),t(179,"div"),n(180,"mat-icon",42),e(),t(181,"div"),n(182,"mat-icon",43),e(),t(183,"div"),i(184,"icon-EyeSlash"),e(),t(185,"div"),i(186,"icon-FunnelSimple"),e(),t(187,"div"),i(188,"icon-GearSix"),e(),t(189,"div"),i(190,"icon-Info"),e(),t(191,"div"),i(192,"icon-Lightning"),e(),t(193,"div"),i(194,"icon-ListBullets"),e(),t(195,"div"),i(196,"icon-Loader"),e(),t(197,"div"),i(198,"icon-Lock"),e(),t(199,"div"),i(200,"icon-Magnet"),e(),t(201,"div"),i(202,"icon-MagnifyingGlass"),e(),t(203,"div"),n(204,"mat-icon",44),e(),t(205,"div"),n(206,"mat-icon",45),e(),t(207,"div"),n(208,"mat-icon",46),e(),t(209,"div"),n(210,"mat-icon",47),e(),t(211,"div"),n(212,"mat-icon",48),e(),t(213,"div"),n(214,"mat-icon",49),e(),t(215,"div"),n(216,"mat-icon",50),e(),t(217,"div"),n(218,"mat-icon",51),e(),t(219,"div"),n(220,"mat-icon",52),e(),t(221,"div"),n(222,"mat-icon",53),e(),t(223,"div"),i(224,"icon-MapTrifold"),e(),t(225,"div"),i(226,"icon-Minus"),e(),t(227,"div"),i(228,"icon-Nav"),e(),t(229,"div"),i(230,"icon-Paperclip"),e(),t(231,"div"),i(232,"icon-Passthrough"),e(),t(233,"div"),i(234,"icon-PencilSimple"),e(),t(235,"div"),i(236,"icon-Placeholder"),e(),t(237,"div"),i(238,"icon-Plus"),e(),t(239,"div"),i(240,"icon-Printer"),e(),t(241,"div"),i(242,"icon-Prohibit"),e(),t(243,"div"),n(244,"mat-icon",54),e(),t(245,"div"),n(246,"mat-icon",55),e(),t(247,"div"),n(248,"mat-icon",56),e(),t(249,"div"),n(250,"mat-icon",57),e(),t(251,"div"),n(252,"mat-icon",58),e(),t(253,"div"),n(254,"mat-icon",59),e(),t(255,"div"),n(256,"mat-icon",60),e(),t(257,"div"),n(258,"mat-icon",61),e(),t(259,"div"),n(260,"mat-icon",62),e(),t(261,"div"),n(262,"mat-icon",63),e(),t(263,"div"),i(264,"icon-Question"),e(),t(265,"div"),i(266,"icon-Refresh"),e(),t(267,"div"),i(268,"icon-Rocket"),e(),t(269,"div"),i(270,"icon-SignOut"),e(),t(271,"div"),i(272,"icon-Sort"),e(),t(273,"div"),i(274,"icon-SortDown"),e(),t(275,"div"),i(276,"icon-SortUp"),e(),t(277,"div"),i(278,"icon-Stack"),e(),t(279,"div"),i(280,"icon-StackPort"),e(),t(281,"div"),i(282,"icon-TrashSimple"),e(),t(283,"div"),n(284,"mat-icon",64),e(),t(285,"div"),n(286,"mat-icon",65),e(),t(287,"div"),n(288,"mat-icon",66),e(),t(289,"div"),n(290,"mat-icon",67),e(),t(291,"div"),n(292,"mat-icon",68),e(),t(293,"div"),n(294,"mat-icon",69),e(),t(295,"div"),n(296,"mat-icon",70),e(),t(297,"div"),n(298,"mat-icon",71),e(),t(299,"div"),n(300,"mat-icon",72),e(),t(301,"div"),n(302,"mat-icon",73),e(),t(303,"div"),i(304,"icon-TrendDown"),e(),t(305,"div"),i(306,"icon-TrendUp"),e(),t(307,"div"),i(308,"icon-UploadSimple"),e(),t(309,"div"),i(310,"icon-User"),e(),t(311,"div"),i(312,"icon-Users"),e(),t(313,"div"),i(314,"icon-WifiHigh"),e(),t(315,"div"),i(316,"icon-WifiLightning"),e(),t(317,"div"),i(318,"icon-WifiLow"),e(),t(319,"div"),i(320,"icon-WifiMedium"),e(),t(321,"div"),i(322,"icon-WifiNone"),e(),t(323,"div"),n(324,"mat-icon",74),e(),t(325,"div"),n(326,"mat-icon",75),e(),t(327,"div"),n(328,"mat-icon",76),e(),t(329,"div"),n(330,"mat-icon",77),e(),t(331,"div"),n(332,"mat-icon",78),e(),t(333,"div"),n(334,"mat-icon",79),e(),t(335,"div"),n(336,"mat-icon",80),e(),t(337,"div"),n(338,"mat-icon",81),e(),t(339,"div"),n(340,"mat-icon",82),e(),t(341,"div"),n(342,"mat-icon",83),e(),t(343,"div"),i(344,"icon-WifiSlash"),e(),t(345,"div"),i(346,"icon-WifiX"),e(),t(347,"div"),i(348,"icon-X"),e(),t(349,"div"),i(350,"icon-XCircle"),e(),t(351,"div"),i(352,"icon-Admin"),e(),t(353,"div"),i(354,"icon-Environmental"),e(),t(355,"div"),i(356,"icon-Inventory"),e(),t(357,"div"),i(358,"icon-Systems-Manager"),e(),n(359,"div")(360,"div"),t(361,"div"),n(362,"mat-icon",84),e(),t(363,"div"),n(364,"mat-icon",85),e(),t(365,"div"),n(366,"mat-icon",86),e(),t(367,"div"),n(368,"mat-icon",87),e(),t(369,"div"),n(370,"mat-icon",88),e(),t(371,"div"),n(372,"mat-icon",89),e(),t(373,"div"),n(374,"mat-icon",90),e(),t(375,"div"),n(376,"mat-icon",91),e(),n(377,"div")(378,"div"),t(379,"div",92),n(380,"mat-divider"),e()()())},dependencies:[k,v],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var zt=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-menu-demo"]],decls:155,vars:11,consts:[["animals","matMenu"],["vertebrates","matMenu"],["invertebrates","matMenu"],["fish","matMenu"],["amphibians","matMenu"],["reptiles","matMenu"],["menu","matMenu"],["aboveMenu","matMenu"],["belowMenu","matMenu"],["beforeMenu","matMenu"],["afterMenu","matMenu"],[1,"section"],[1,"parent","items-per-row-2"],["mat-button","",3,"matMenuTriggerFor"],[1,"ms-mat-menu"],["mat-menu-item","",3,"matMenuTriggerFor"],["fontSet","ms","fontIcon","icon-User"],["mat-menu-item",""],["mat-menu-item","","disabled",""],[1,"line"],[1,"section","parent","items-per-row-4"],["yPosition","above","xPosition","after",1,"ms-mat-menu"],["yPosition","below",1,"ms-mat-menu"],["xPosition","before",1,"ms-mat-menu"],["xPosition","after",1,"ms-mat-menu"]],template:function(r,m){if(r&1&&(t(0,"div",11)(1,"h2"),i(2,"Menu"),e(),t(3,"div",12)(4,"div")(5,"button",13),i(6,"Animal index"),e(),t(7,"mat-menu",14,0)(9,"button",15),n(10,"mat-icon",16),i(11,"Vertebrates "),e(),t(12,"button",15),n(13,"mat-icon",16),i(14,"Invertebrates "),e()(),t(15,"mat-menu",14,1)(17,"button",15),n(18,"mat-icon",16),i(19,"Fishes "),e(),t(20,"button",15),n(21,"mat-icon",16),i(22,"Amphibians "),e(),t(23,"button",15),n(24,"mat-icon",16),i(25,"Reptiles "),e(),t(26,"button",17),n(27,"mat-icon",16),i(28,"Birds"),e(),t(29,"button",17),n(30,"mat-icon",16),i(31,"Mammals"),e()(),t(32,"mat-menu",14,2)(34,"button",17),n(35,"mat-icon",16),i(36,"Insects"),e(),t(37,"button",17),n(38,"mat-icon",16),i(39,"Molluscs"),e(),t(40,"button",17),n(41,"mat-icon",16),i(42,"Crustaceans"),e(),t(43,"button",17),n(44,"mat-icon",16),i(45,"Corals"),e(),t(46,"button",17),n(47,"mat-icon",16),i(48,"Arachnids"),e(),t(49,"button",17),n(50,"mat-icon",16),i(51,"Velvet worms"),e(),t(52,"button",17),n(53,"mat-icon",16),i(54,"Horseshoe crabs"),e()(),t(55,"mat-menu",14,3)(57,"button",17),n(58,"mat-icon",16),i(59,"Baikal oilfish"),e(),t(60,"button",17),n(61,"mat-icon",16),i(62,"Bala shark"),e(),t(63,"button",17),n(64,"mat-icon",16),i(65,"Ballan wrasse"),e(),t(66,"button",17),n(67,"mat-icon",16),i(68,"Bamboo shark"),e(),t(69,"button",17),n(70,"mat-icon",16),i(71,"Banded killifish"),e()(),t(72,"mat-menu",14,4)(74,"button",17),n(75,"mat-icon",16),i(76,"Sonoran desert toad"),e(),t(77,"button",17),n(78,"mat-icon",16),i(79,"Western toad"),e(),t(80,"button",17),n(81,"mat-icon",16),i(82,"Arroyo toad"),e(),t(83,"button",17),n(84,"mat-icon",16),i(85,"Yosemite toad"),e()(),t(86,"mat-menu",14,5)(88,"button",17),n(89,"mat-icon",16),i(90,"Banded Day Gecko"),e(),t(91,"button",17),n(92,"mat-icon",16),i(93,"Banded Gila Monster"),e(),t(94,"button",17),n(95,"mat-icon",16),i(96,"Black Tree Monitor"),e(),t(97,"button",17),n(98,"mat-icon",16),i(99,"Blue Spiny Lizard"),e(),t(100,"button",18),n(101,"mat-icon",16),i(102,"Velociraptor"),e()()(),t(103,"div")(104,"button",13),i(105,"Menu"),e(),t(106,"mat-menu",14,6)(108,"button",17),n(109,"mat-icon",16),i(110,"Item 1"),e(),t(111,"button",17),n(112,"mat-icon",16),i(113,"Item 2"),e()()()(),t(114,"div",19),n(115,"mat-divider"),e()(),t(116,"div",20)(117,"div")(118,"button",13),i(119,"Above"),e(),t(120,"mat-menu",21,7)(122,"button",17),i(123,"Item 1"),e(),t(124,"button",17),i(125,"Item 2"),e()()(),t(126,"div")(127,"button",13),i(128,"Below"),e(),t(129,"mat-menu",22,8)(131,"button",17),i(132,"Item 1"),e(),t(133,"button",17),i(134,"Item 2"),e()()(),t(135,"div")(136,"button",13),i(137,"Before"),e(),t(138,"mat-menu",23,9)(140,"button",17),i(141,"Item 1"),e(),t(142,"button",17),i(143,"Item 2"),e()()(),t(144,"div")(145,"button",13),i(146,"After"),e(),t(147,"mat-menu",24,10)(149,"button",17),i(150,"Item 1"),e(),t(151,"button",17),i(152,"Item 2"),e()()()(),t(153,"div",19),n(154,"mat-divider"),e()),r&2){let f=x(8),P=x(16),W=x(33),Qt=x(56),Zt=x(73),Jt=x(87),ei=x(107),ti=x(121),ii=x(130),ni=x(139),ai=x(148);s(5),u("matMenuTriggerFor",f),s(4),u("matMenuTriggerFor",P),s(3),u("matMenuTriggerFor",W),s(5),u("matMenuTriggerFor",Qt),s(3),u("matMenuTriggerFor",Zt),s(3),u("matMenuTriggerFor",Jt),s(81),u("matMenuTriggerFor",ei),s(14),u("matMenuTriggerFor",ti),s(9),u("matMenuTriggerFor",ii),s(9),u("matMenuTriggerFor",ni),s(9),u("matMenuTriggerFor",ai)}},dependencies:[k,v,b,Ve,We,je],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var Ht=(()=>{let a=class a{constructor(l){this.snackbarService=l}};a.\u0275fac=function(r){return new(r||a)(d(Ct))},a.\u0275cmp=c({type:a,selectors:[["ms-notifications-demo"]],decls:20,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-8"],["mat-raised-button","","color","primary",3,"click"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Notifications"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Banners"),e(),t(7,"div",2)(8,"div")(9,"button",3),p("click",function(){return m.snackbarService.showSuccess("Example Success")}),i(10," Open Success "),e()(),t(11,"div")(12,"button",3),p("click",function(){return m.snackbarService.showError("Example Error")}),i(13,"Open Error"),e()(),t(14,"div")(15,"button",3),p("click",function(){return m.snackbarService.showInfo("Example Info")}),i(16,"Open Info"),e()(),t(17,"div")(18,"button",3),p("click",function(){return m.snackbarService.showWarning("Example Warning")}),i(19," Open Warning "),e()()()())},dependencies:[v,b],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=a;return o})();function pi(o,a){o&1&&(t(0,"mat-header-cell"),i(1," No. "),e())}function fi(o,a){if(o&1&&(t(0,"mat-cell")(1,"b"),i(2),e()()),o&2){let g=a.$implicit;s(2),Ee(g.position)}}function vi(o,a){o&1&&(t(0,"mat-header-cell"),i(1," Name "),e())}function gi(o,a){if(o&1&&(t(0,"mat-cell"),i(1),e()),o&2){let g=a.$implicit;s(),q(" ",g.name," ")}}function Si(o,a){o&1&&(t(0,"mat-header-cell"),i(1," Weight "),e())}function bi(o,a){if(o&1&&(t(0,"mat-cell"),i(1),e()),o&2){let g=a.$implicit;s(),q(" ",g.weight," ")}}function Ei(o,a){o&1&&(t(0,"mat-header-cell"),i(1," Symbol "),e())}function hi(o,a){if(o&1&&(t(0,"mat-cell"),i(1),e()),o&2){let g=a.$implicit;s(),q(" ",g.symbol," ")}}function xi(o,a){o&1&&n(0,"mat-header-row")}function Ci(o,a){o&1&&n(0,"mat-row")}var Gt=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}],Xt=(()=>{let a=class a{constructor(){this.displayedColumnsSimple=["position","name","weight","symbol"],this.dataSourceSimple=Gt,this.displayedColumns=["select","position","name","weight","symbol"],this.dataSource=new ht(Gt),this.selection=new Be(!0,[])}ngOnInit(){}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-tables-demo"]],decls:22,vars:3,consts:[[1,"line"],[1,"ms-card"],[1,"heading-sub-section-title"],[1,"ms-table",3,"dataSource"],["matColumnDef","position"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","weight"],["matColumnDef","symbol"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Tables"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"mat-card",1)(5,"p",2),i(6,"History"),e(),t(7,"mat-table",3),X(8,4),A(9,pi,2,0,"mat-header-cell",5)(10,fi,3,1,"mat-cell",6),K(),X(11,7),A(12,vi,2,0,"mat-header-cell",5)(13,gi,2,1,"mat-cell",6),K(),X(14,8),A(15,Si,2,0,"mat-header-cell",5)(16,bi,2,1,"mat-cell",6),K(),X(17,9),A(18,Ei,2,0,"mat-header-cell",5)(19,hi,2,1,"mat-cell",6),K(),A(20,xi,1,0,"mat-header-row",10)(21,Ci,1,0,"mat-row",11),e()()),r&2&&(s(7),u("dataSource",m.dataSourceSimple),s(13),u("matHeaderRowDef",m.displayedColumnsSimple),s(),u("matRowDefColumns",m.displayedColumnsSimple))},dependencies:[v,st,ct,vt,dt,ut,gt,pt,ft,St,bt,z],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var Kt=(()=>{let a=class a{constructor(){}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ms-typography-demo"]],decls:76,vars:0,consts:[[1,"line"],[1,"heading-primary-title"],[1,"heading-section-title"],[1,"heading-sub-section-title"],[1,"paragraph-regular-p3-default"],[1,"paragraph-bold-p3-small-bold"],[1,"paragraph-semibold-p3-small-emphasis"],[1,"paragraph-semibold-p3-default-emphasis"],[1,"paragraph-regular-p4-small"],[1,"paragraph-semibold-p4-xSmall"],[1,"key-value-container","single"],[1,"key-value-pair"],[1,"key-value-key"],[1,"key-value-value"],[1,"mat-headline-1"],[1,"mat-headline-2"],[1,"mat-headline-3"],[1,"mat-headline-4"],[1,"subtitle-1"],[1,"subtitle-2"],[1,"mat-body-1"],[1,"mat-body-2"],[1,"mat-caption"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Typograpghy"),e(),t(2,"div",0),n(3,"mat-divider"),e(),t(4,"h1"),i(5,"Custom Typography (Figma)"),e(),t(6,"p",1),i(7,"heading-primary-title"),e(),t(8,"p",2),i(9,"heading-section-title"),e(),t(10,"p",3),i(11,"heading-sub-section-title"),e(),t(12,"p",4),i(13,"paragraph-regular-p3-default"),e(),t(14,"p",5),i(15,"paragraph-bold-p3-small-bold"),e(),t(16,"p",6),i(17,"paragraph-semibold-p3-small-emphasis"),e(),t(18,"p",7),i(19,"paragraph-semibold-p3-default-emphasis"),e(),t(20,"p",8),i(21,"paragraph-regular-p4-small"),e(),t(22,"p",9),i(23,"paragraph-semibold-p4-xSmall"),e(),n(24,"mat-divider")(25,"br"),t(26,"h1"),i(27,"Key Value Pair"),e(),t(28,"div",10)(29,"div",11)(30,"div",12),i(31,"Key 1:"),e(),t(32,"div",13),i(33,"Value 1"),e()(),t(34,"div",11)(35,"div",12),i(36,"Key 2:"),e(),t(37,"div",13),i(38,"Value 2"),e()()(),n(39,"mat-divider")(40,"br"),t(41,"h1"),i(42,"Angular Material Custom Typograpgy"),e(),t(43,"p",14),i(44,"mat-headline-1"),e(),t(45,"p",15),i(46,"mat-headline-2"),e(),t(47,"p",16),i(48,"mat-headline-3"),e(),t(49,"p",17),i(50,"mat-headline-4"),e(),t(51,"h1"),i(52,"Heading 1"),e(),t(53,"h2"),i(54,"Heading 2"),e(),t(55,"h3"),i(56,"Heading 3"),e(),t(57,"h4"),i(58,"Heading 4"),e(),t(59,"h5"),i(60,"Heading 5"),e(),t(61,"h6"),i(62,"Heading 6"),e(),n(63,"br"),t(64,"p",18),i(65,"subtitle-1"),e(),t(66,"p",19),i(67,"subtitle-2"),e(),n(68,"br"),t(69,"p",20),i(70,"mat-body-1"),e(),t(71,"p",21),i(72,"mat-body-2"),e(),n(73,"br"),t(74,"p",22),i(75,"mat-caption"),e())},dependencies:[v],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=a;return o})();var Di=()=>["Iterative Magnitude Pruning","One-shot Magnitude Pruning"],wi=()=>["Yes","No"],Mi=()=>["Option 1","Option 2","Option 3","Option 4"],$t=(()=>{let a=class a{constructor(){}handleSelected(l){console.log("Selected option:",l)}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=c({type:a,selectors:[["ag-wizard-demo"]],decls:33,vars:6,consts:[["stepper",""],[1,"line"],[1,"section"],[1,"ms-wizard"],[1,"heading-primary-title"],[3,"selectedOption","options"],[1,"mt-4"],["mat-raised-button","","color","primary","matStepperNext",""],["mat-button","","matStepperPrevious","",1,"mr-3"],["fontSet","ms","fontIcon","icon-ArrowLeft"]],template:function(r,m){if(r&1){let f=L();t(0,"h1"),i(1,"Wizard"),e(),t(2,"div",1),n(3,"mat-divider"),e(),n(4,"br"),t(5,"div",2)(6,"mat-stepper",3,0)(8,"mat-step")(9,"p",4),i(10,"Recommended Algorithm:"),e(),t(11,"ms-card-selector",5),p("selectedOption",function(W){return _(f),O(m.handleSelected(W))}),e(),t(12,"div",6)(13,"button",7),i(14,"Next"),e()()(),t(15,"mat-step")(16,"p",4),i(17,"Do you want to have a similar or higher accuracy?"),e(),t(18,"ms-card-selector",5),p("selectedOption",function(W){return _(f),O(m.handleSelected(W))}),e(),t(19,"div",6)(20,"button",8),n(21,"mat-icon",9),i(22," Previous "),e(),t(23,"button",7),i(24,"Next"),e()()(),t(25,"mat-step")(26,"p",4),i(27,"Example question?"),e(),t(28,"ms-card-selector",5),p("selectedOption",function(W){return _(f),O(m.handleSelected(W))}),e(),t(29,"div",6)(30,"button",8),n(31,"mat-icon",9),i(32," Previous "),e()()()()()}r&2&&(s(11),u("options",j(3,Di)),s(7),u("options",j(4,wi)),s(10),u("options",j(5,Mi)))},dependencies:[G,k,at,rt,ot,lt,v,b]});let o=a;return o})();var _i=[{path:"",component:qt,children:[{path:"",redirectTo:h.DEMO.BUTTONS,pathMatch:"full"},{path:h.DEMO.BUTTONS,component:Dt},{path:h.DEMO.FORM_FIELDS,component:fe},{path:h.DEMO.CHECKBOXES,component:Ot},{path:h.DEMO.TYPOGRAPHY,component:Kt},{path:h.DEMO.TABLE,component:Xt},{path:h.DEMO.ICONS,component:Ut},{path:h.DEMO.MENU,component:zt},{path:h.DEMO.CARDS,component:Mt},{path:h.DEMO.CHIPS,component:yt},{path:h.DEMO.NOTIFICATIONS,component:Ht},{path:h.DEMO.WIZARD,component:$t},{path:h.DEMO.DRAWER,component:jt},{path:h.DEMO.DIALOG,component:kt}]}],Yt=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=Q({type:a}),a.\u0275inj=Y({imports:[$.forChild(_i),$]});let o=a;return o})();var Er=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=Q({type:a}),a.\u0275inj=Y({providers:[de,ce],imports:[$,De,Yt,G,E,H,Fe,mt,ye,Pe,Ae,Ne,Et,Ye,Ue,Le,Re,tt,$e,Je,Ge,nt]});let o=a;return o})();export{Er as DemoModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-UWC6A2K5.js b/frontend/server/modelsmith-build/browser/chunk-5MCZHTBZ.js similarity index 93% rename from frontend/server/modelsmith-build/browser/chunk-UWC6A2K5.js rename to frontend/server/modelsmith-build/browser/chunk-5MCZHTBZ.js index c82f9aa5..923c624e 100644 --- a/frontend/server/modelsmith-build/browser/chunk-UWC6A2K5.js +++ b/frontend/server/modelsmith-build/browser/chunk-5MCZHTBZ.js @@ -1 +1 @@ -import{a as J,b as Q}from"./chunk-O6HMI7CW.js";import{b as nt,s as it}from"./chunk-WXERLI5K.js";import{$ as B,$a as r,Ab as K,Ba as R,Da as a,Ea as y,Eb as N,Gb as W,Hb as E,Pa as m,Ra as g,Ub as $,Vb as X,Xa as u,Z as j,Zb as q,a as w,ab as l,ba as S,bb as F,eb as M,fb as h,ga as L,ib as _,j as P,ja as H,kb as s,lb as z,mb as G,oa as f,p as A,pa as C,re as Y,sb as O,tb as D,te as Z,ua as x,ub as U,ue as tt,vb as k,we as et,xa as V,xe as ot}from"./chunk-MDAOMI2L.js";var b=new B("DIALOG_DATA");var p=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new P}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var v=(t,e)=>{let o={};return t&&at(o,t,"width"),e&&at(o,e,"height"),o},at=(t,e,o)=>{let n=_t(e);n==="px"||n==="rem"||n==="em"?t[`${o}.${n}`]=parseFloat(e):t[o]=e},_t=t=>{let o=(typeof t=="string"?t:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"};var d=function(t){return t.OPEN="open",t.DISMISS="dismiss",t.SAVE="save",t.CLOSE="close",t}(d||{});var lt=(()=>{let e=class e{transform(n,i){return v(n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=H({name:"dialogSizeStyles",type:e,pure:!0,standalone:!0});let t=e;return t})();var ft=["*"];function Ct(t,e){t&1&&M(0)}function xt(t,e){if(t&1){let o=h();r(0,"div",7)(1,"div",8),D(2),l(),r(3,"div",9)(4,"button",10),_("click",function(){f(o);let i=s(2);return C(i.onDismiss())}),F(5,"mat-icon",11),l()()()}if(t&2){let o=s(2);a(2),U(o.data.title)}}function ht(t,e){if(t&1&&(r(0,"div",3),m(1,Ct,1,0,"ng-container",6)(2,xt,6,1,"ng-template",null,0,E),l()),t&2){let o=O(3),n=s();a(),g("ngTemplateOutlet",n.headerTemplate||o)}}function Dt(t,e){t&1&&M(0)}function bt(t,e){if(t&1){let o=h();r(0,"button",15),_("click",function(){f(o);let i=s(3);return C(i.onClose())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isDismissDisabled),a(),k(" ",o.data.closeButtonLabel," ")}}function vt(t,e){if(t&1){let o=h();r(0,"button",16),_("click",function(){f(o);let i=s(3);return C(i.onSave())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isSaveDisabled),a(),k(" ",o.data.saveButtonLabel," ")}}function wt(t,e){if(t&1&&(r(0,"div",12),m(1,bt,2,2,"button",13)(2,vt,2,2,"button",14),l()),t&2){let o=s(2);a(),u(o.data.showCloseButton?1:-1),a(),u(o.data.showSaveButton?2:-1)}}function St(t,e){if(t&1&&(r(0,"div",5),m(1,Dt,1,0,"ng-container",6)(2,wt,3,2,"ng-template",null,1,E),l()),t&2){let o=O(3),n=s();a(),g("ngTemplateOutlet",n.actionsTemplate||o)}}var c,st=(c=class{constructor(e,o){this.dialogRef=e,this.data=o,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.actionEvent=new V,this.closeDrawerOnBackdropClick()}get dialogSizeStyles(){return v(this.data.width,this.data.height)}onClose(){this.actionEvent.emit(d.CLOSE),this.dialogRef.close({status:d.CLOSE})}onSave(){this.actionEvent.emit(d.SAVE)}onDismiss(){this.actionEvent.emit(d.DISMISS),this.dialogRef.close({status:d.DISMISS})}closeDrawerOnBackdropClick(){this.data.closeDialogOnBackdropClick&&this.dialogRef.backdropClick().pipe(Q(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closeDialogOnEscKeyUp&&this.onDismiss()}},c.\u0275fac=function(o){return new(o||c)(y(p),y(b))},c.\u0275cmp=L({type:c,selectors:[["ms-dialog"]],hostBindings:function(o,n){o&1&&_("keyup.esc",function(){return n.onEscKeyDown()},!1,R)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[K],ngContentSelectors:ft,decls:6,vars:6,consts:[["defaultDialogHeader",""],["defaultDialogActions",""],[1,"dialog-wrapper",3,"ngStyle"],[1,"dialog-header"],[1,"dialog-content"],[1,"dialog-actions"],[4,"ngTemplateOutlet"],[1,"dialog-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(o,n){o&1&&(z(),r(0,"div",2),N(1,"dialogSizeStyles"),m(2,ht,4,1,"div",3),r(3,"div",4),G(4),l(),m(5,St,4,1,"div",5),l()),o&2&&(g("ngStyle",W(1,3,n.data.width,n.data.height)),a(2),u(n.data.showHeader?2:-1),a(3),u(n.data.showFooter?5:-1))},dependencies:[q,X,$,tt,Y,Z,ot,et,lt],styles:[".dialog-wrapper[_ngcontent-%COMP%]{width:inherit;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header[_ngcontent-%COMP%]{min-height:60px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:24px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:16px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:16px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),c);st=A([J()],st);var ct="1024px",pt="400px";var ae=(()=>{let e=class e{constructor(n,i){this.overlay=n,this.injector=i}open(n,i){let dt=this.overlay.position().global().centerHorizontally().centerVertically(),T=this.overlay.create(w({positionStrategy:dt,hasBackdrop:!0,backdropClass:"dialog-backdrop"},i)),I=new p(T),mt=x.create({parent:this.injector,providers:[{provide:p,useValue:I},{provide:b,useValue:w({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,showHeader:!0,showFooter:!0,closeDialogOnBackdropClick:!0,closeDialogOnEscKeyUp:!0,width:i?.width||ct,height:i?.height||pt},i)}]}),gt=new nt(n,null,mt);return T.attach(gt),I}};e.\u0275fac=function(i){return new(i||e)(S(it),S(x))},e.\u0275prov=j({token:e,factory:e.\u0275fac});let t=e;return t})();export{b as a,p as b,st as c,ae as d}; +import{a as J,b as Q}from"./chunk-KP473PLS.js";import{b as nt,s as it}from"./chunk-I333ACNB.js";import{$ as B,$a as r,Ba as R,Bb as K,Da as a,Ea as y,Fb as N,Hb as W,Ib as E,Pa as m,Ra as g,Vb as $,Wb as X,Xa as u,Z as j,_b as q,a as w,ab as l,ba as S,bb as F,eb as M,fb as h,ga as L,ib as _,j as P,ja as H,kb as s,lb as z,mb as G,oa as f,p as A,pa as C,sb as O,se as Y,tb as D,ua as x,ub as U,ue as Z,vb as k,ve as tt,xa as V,xe as et,ye as ot}from"./chunk-MVLCGSW5.js";var b=new B("DIALOG_DATA");var p=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new P}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var v=(t,e)=>{let o={};return t&&at(o,t,"width"),e&&at(o,e,"height"),o},at=(t,e,o)=>{let n=_t(e);n==="px"||n==="rem"||n==="em"?t[`${o}.${n}`]=parseFloat(e):t[o]=e},_t=t=>{let o=(typeof t=="string"?t:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"};var d=function(t){return t.OPEN="open",t.DISMISS="dismiss",t.SAVE="save",t.CLOSE="close",t}(d||{});var lt=(()=>{let e=class e{transform(n,i){return v(n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=H({name:"dialogSizeStyles",type:e,pure:!0,standalone:!0});let t=e;return t})();var ft=["*"];function Ct(t,e){t&1&&M(0)}function xt(t,e){if(t&1){let o=h();r(0,"div",7)(1,"div",8),D(2),l(),r(3,"div",9)(4,"button",10),_("click",function(){f(o);let i=s(2);return C(i.onDismiss())}),F(5,"mat-icon",11),l()()()}if(t&2){let o=s(2);a(2),U(o.data.title)}}function ht(t,e){if(t&1&&(r(0,"div",3),m(1,Ct,1,0,"ng-container",6)(2,xt,6,1,"ng-template",null,0,E),l()),t&2){let o=O(3),n=s();a(),g("ngTemplateOutlet",n.headerTemplate||o)}}function Dt(t,e){t&1&&M(0)}function bt(t,e){if(t&1){let o=h();r(0,"button",15),_("click",function(){f(o);let i=s(3);return C(i.onClose())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isDismissDisabled),a(),k(" ",o.data.closeButtonLabel," ")}}function vt(t,e){if(t&1){let o=h();r(0,"button",16),_("click",function(){f(o);let i=s(3);return C(i.onSave())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isSaveDisabled),a(),k(" ",o.data.saveButtonLabel," ")}}function wt(t,e){if(t&1&&(r(0,"div",12),m(1,bt,2,2,"button",13)(2,vt,2,2,"button",14),l()),t&2){let o=s(2);a(),u(o.data.showCloseButton?1:-1),a(),u(o.data.showSaveButton?2:-1)}}function St(t,e){if(t&1&&(r(0,"div",5),m(1,Dt,1,0,"ng-container",6)(2,wt,3,2,"ng-template",null,1,E),l()),t&2){let o=O(3),n=s();a(),g("ngTemplateOutlet",n.actionsTemplate||o)}}var c,st=(c=class{constructor(e,o){this.dialogRef=e,this.data=o,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.actionEvent=new V,this.closeDrawerOnBackdropClick()}get dialogSizeStyles(){return v(this.data.width,this.data.height)}onClose(){this.actionEvent.emit(d.CLOSE),this.dialogRef.close({status:d.CLOSE})}onSave(){this.actionEvent.emit(d.SAVE)}onDismiss(){this.actionEvent.emit(d.DISMISS),this.dialogRef.close({status:d.DISMISS})}closeDrawerOnBackdropClick(){this.data.closeDialogOnBackdropClick&&this.dialogRef.backdropClick().pipe(Q(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closeDialogOnEscKeyUp&&this.onDismiss()}},c.\u0275fac=function(o){return new(o||c)(y(p),y(b))},c.\u0275cmp=L({type:c,selectors:[["ms-dialog"]],hostBindings:function(o,n){o&1&&_("keyup.esc",function(){return n.onEscKeyDown()},!1,R)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[K],ngContentSelectors:ft,decls:6,vars:6,consts:[["defaultDialogHeader",""],["defaultDialogActions",""],[1,"dialog-wrapper",3,"ngStyle"],[1,"dialog-header"],[1,"dialog-content"],[1,"dialog-actions"],[4,"ngTemplateOutlet"],[1,"dialog-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(o,n){o&1&&(z(),r(0,"div",2),N(1,"dialogSizeStyles"),m(2,ht,4,1,"div",3),r(3,"div",4),G(4),l(),m(5,St,4,1,"div",5),l()),o&2&&(g("ngStyle",W(1,3,n.data.width,n.data.height)),a(2),u(n.data.showHeader?2:-1),a(3),u(n.data.showFooter?5:-1))},dependencies:[q,X,$,tt,Y,Z,ot,et,lt],styles:[".dialog-wrapper[_ngcontent-%COMP%]{width:inherit;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header[_ngcontent-%COMP%]{min-height:60px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:24px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:16px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:16px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),c);st=A([J()],st);var ct="1024px",pt="400px";var ae=(()=>{let e=class e{constructor(n,i){this.overlay=n,this.injector=i}open(n,i){let dt=this.overlay.position().global().centerHorizontally().centerVertically(),T=this.overlay.create(w({positionStrategy:dt,hasBackdrop:!0,backdropClass:"dialog-backdrop"},i)),I=new p(T),mt=x.create({parent:this.injector,providers:[{provide:p,useValue:I},{provide:b,useValue:w({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,showHeader:!0,showFooter:!0,closeDialogOnBackdropClick:!0,closeDialogOnEscKeyUp:!0,width:i?.width||ct,height:i?.height||pt},i)}]}),gt=new nt(n,null,mt);return T.attach(gt),I}};e.\u0275fac=function(i){return new(i||e)(S(it),S(x))},e.\u0275prov=j({token:e,factory:e.\u0275fac});let t=e;return t})();export{b as a,p as b,st as c,ae as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-DHK6QHGP.js b/frontend/server/modelsmith-build/browser/chunk-5QW772YG.js similarity index 98% rename from frontend/server/modelsmith-build/browser/chunk-DHK6QHGP.js rename to frontend/server/modelsmith-build/browser/chunk-5QW772YG.js index 84e92654..50bdd9a0 100644 --- a/frontend/server/modelsmith-build/browser/chunk-DHK6QHGP.js +++ b/frontend/server/modelsmith-build/browser/chunk-5QW772YG.js @@ -1 +1 @@ -import{$ as z,$a as s,Aa as M,Ab as Q,Bd as Y,Da as m,Ea as o,Hd as y,Kb as $,Ld as Z,Mb as n,Nb as H,Oa as S,Pa as F,Qa as _,Ra as w,Ta as v,Va as O,Wd as J,Xa as x,Xd as K,Y as I,Zd as W,_ as C,ab as r,bb as l,fb as q,ga as D,gb as V,ha as E,ib as k,lb as P,mb as j,na as R,oa as p,pa as g,pb as N,qa as L,qb as G,rb as X,sb as B,ta as T,wa as A,xa as f,zb as U}from"./chunk-MDAOMI2L.js";var ce=["switch"],ie=["*"];function de(d,c){d&1&&(s(0,"div",10),L(),s(1,"svg",12),l(2,"path",13),r(),s(3,"svg",14),l(4,"path",15),r()())}var ae=new z("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),se={provide:K,useExisting:I(()=>ee),multi:!0},b=class{constructor(c,te){this.source=c,this.checked=te}},re=0,ee=(()=>{let c=class c{_createChangeEvent(t){return new b(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,i,e,a,h,u){this._elementRef=t,this._focusMonitor=i,this._changeDetectorRef=e,this.defaults=h,this._onChange=oe=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new f,this.toggleChange=new f,this.tabIndex=parseInt(a)||0,this.color=h.color||"accent",this._noopAnimations=u==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++re}`,this.hideIcon=h.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new b(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};c.\u0275fac=function(i){return new(i||c)(o(A),o(Y),o($),T("tabindex"),o(ae),o(M,8))},c.\u0275cmp=D({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(i,e){if(i&1&&N(ce,5),i&2){let a;G(a=X())&&(e._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,e){i&2&&(V("id",e.id),_("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),O(e.color?"mat-"+e.color:""),v("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",n],color:"color",disabled:[2,"disabled","disabled",n],disableRipple:[2,"disableRipple","disableRipple",n],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:H(t)],checked:[2,"checked","checked",n],hideIcon:[2,"hideIcon","hideIcon",n]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[U([se,{provide:W,useExisting:c,multi:!0}]),S,R,Q],ngContentSelectors:ie,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,e){if(i&1){let a=q();P(),s(0,"div",1)(1,"button",2,0),k("click",function(){return p(a),g(e._handleClick())}),l(3,"div",3),s(4,"div",4)(5,"div",5)(6,"div",6),l(7,"div",7),r(),s(8,"div",8),l(9,"div",9),r(),F(10,de,5,0,"div",10),r()()(),s(11,"label",11),k("click",function(u){return p(a),g(u.stopPropagation())}),j(12),r()()}if(i&2){let a=B(2);w("labelPosition",e.labelPosition),m(),v("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled),w("tabIndex",e.disabled?-1:e.tabIndex)("disabled",e.disabled),_("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked),m(8),w("matRippleTrigger",a)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),m(),x(e.hideIcon?-1:10),m(),w("for",e.buttonId),_("id",e._labelId)}},dependencies:[Z,J],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color);font-family:var(--mat-switch-label-text-font);line-height:var(--mat-switch-label-text-line-height);font-size:var(--mat-switch-label-text-size);letter-spacing:var(--mat-switch-label-text-tracking);font-weight:var(--mat-switch-label-text-weight)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let d=c;return d})();var Le=(()=>{let c=class c{};c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=E({type:c}),c.\u0275inj=C({imports:[ee,y,y]});let d=c;return d})();export{ee as a,Le as b}; +import{$ as z,$a as s,Aa as M,Ab as U,Bb as Q,Cd as Y,Da as m,Ea as o,Id as y,Lb as $,Md as Z,Nb as n,Oa as S,Ob as H,Pa as F,Qa as _,Ra as w,Ta as v,Va as O,Xa as x,Xd as J,Y as I,Yd as K,_ as C,_d as W,ab as r,bb as l,fb as q,ga as D,gb as V,ha as E,ib as k,lb as P,mb as j,na as R,oa as p,pa as g,pb as N,qa as L,qb as G,rb as X,sb as B,ta as T,wa as A,xa as f}from"./chunk-MVLCGSW5.js";var ce=["switch"],ie=["*"];function de(d,c){d&1&&(s(0,"div",10),L(),s(1,"svg",12),l(2,"path",13),r(),s(3,"svg",14),l(4,"path",15),r()())}var ae=new z("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),se={provide:K,useExisting:I(()=>ee),multi:!0},b=class{constructor(c,te){this.source=c,this.checked=te}},re=0,ee=(()=>{let c=class c{_createChangeEvent(t){return new b(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,i,e,a,h,u){this._elementRef=t,this._focusMonitor=i,this._changeDetectorRef=e,this.defaults=h,this._onChange=oe=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new f,this.toggleChange=new f,this.tabIndex=parseInt(a)||0,this.color=h.color||"accent",this._noopAnimations=u==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++re}`,this.hideIcon=h.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new b(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};c.\u0275fac=function(i){return new(i||c)(o(A),o(Y),o($),T("tabindex"),o(ae),o(M,8))},c.\u0275cmp=D({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(i,e){if(i&1&&N(ce,5),i&2){let a;G(a=X())&&(e._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,e){i&2&&(V("id",e.id),_("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),O(e.color?"mat-"+e.color:""),v("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",n],color:"color",disabled:[2,"disabled","disabled",n],disableRipple:[2,"disableRipple","disableRipple",n],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:H(t)],checked:[2,"checked","checked",n],hideIcon:[2,"hideIcon","hideIcon",n]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[U([se,{provide:W,useExisting:c,multi:!0}]),S,R,Q],ngContentSelectors:ie,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,e){if(i&1){let a=q();P(),s(0,"div",1)(1,"button",2,0),k("click",function(){return p(a),g(e._handleClick())}),l(3,"div",3),s(4,"div",4)(5,"div",5)(6,"div",6),l(7,"div",7),r(),s(8,"div",8),l(9,"div",9),r(),F(10,de,5,0,"div",10),r()()(),s(11,"label",11),k("click",function(u){return p(a),g(u.stopPropagation())}),j(12),r()()}if(i&2){let a=B(2);w("labelPosition",e.labelPosition),m(),v("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled),w("tabIndex",e.disabled?-1:e.tabIndex)("disabled",e.disabled),_("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked),m(8),w("matRippleTrigger",a)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),m(),x(e.hideIcon?-1:10),m(),w("for",e.buttonId),_("id",e._labelId)}},dependencies:[Z,J],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color);font-family:var(--mat-switch-label-text-font);line-height:var(--mat-switch-label-text-line-height);font-size:var(--mat-switch-label-text-size);letter-spacing:var(--mat-switch-label-text-tracking);font-weight:var(--mat-switch-label-text-weight)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let d=c;return d})();var Le=(()=>{let c=class c{};c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=E({type:c}),c.\u0275inj=C({imports:[ee,y,y]});let d=c;return d})();export{ee as a,Le as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-PZX2WEPM.js b/frontend/server/modelsmith-build/browser/chunk-5T4RMT4Z.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-PZX2WEPM.js rename to frontend/server/modelsmith-build/browser/chunk-5T4RMT4Z.js index 1883ef78..d3ff0c61 100644 --- a/frontend/server/modelsmith-build/browser/chunk-PZX2WEPM.js +++ b/frontend/server/modelsmith-build/browser/chunk-5T4RMT4Z.js @@ -1 +1 @@ -import{a as gi,b as fi}from"./chunk-FODXYRF6.js";import{$ as _,$a as d,Aa as X,Ab as C,Bd as li,C as A,Da as m,Dd as pi,Ea as r,Hd as z,Ja as Y,Jd as mi,Kb as H,Kd as ui,La as J,Mb as u,Md as _i,Nb as M,Oa as E,Pa as T,Pb as si,Q as k,Qa as D,R as Q,Ra as ii,S as g,Ta as y,Va as ti,Vd as vi,Xa as B,Ya as ei,Za as ci,_ as q,_a as ai,ab as l,bb as j,ca as R,fb as ni,ga as f,gb as oi,ha as N,ia as G,ib as v,j as x,kb as F,lb as P,mb as w,oa as K,ob as p,pa as W,pb as ri,qb as s,rb as h,ta as U,tb as O,ua as $,ub as L,wa as S,xa as b,xd as hi,ya as Z,zb as di}from"./chunk-MDAOMI2L.js";var Di=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Fi=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Mi(a,c){a&1&&(d(0,"span",3),w(1,1),l())}function Ai(a,c){a&1&&(d(0,"span",6),w(1,2),l())}var Ri=["*"];var Ti=new _("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),bi=new _("MatChipAvatar"),yi=new _("MatChipTrailingIcon"),wi=new _("MatChipRemove"),xi=new _("MatChip"),Ci=(()=>{let c=class c{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,t){this._elementRef=i,this._parentChip=t,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,i.nativeElement.nodeName==="BUTTON"&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};c.\u0275fac=function(t){return new(t||c)(r(S),r(xi))},c.\u0275dir=G({type:c,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,e){t&1&&v("click",function(n){return e._handleClick(n)})("keydown",function(n){return e._handleKeydown(n)}),t&2&&(D("tabindex",e._getTabindex())("disabled",e._getDisabledAttribute())("aria-disabled",e.disabled),y("mdc-evolution-chip__action--primary",e._isPrimary)("mdc-evolution-chip__action--presentational",!e.isInteractive)("mdc-evolution-chip__action--trailing",!e._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",u],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:M(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[E]});let a=c;return a})();var Bi=0,ji=(()=>{let c=class c{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,t,e,o,n,ki,Si,V){this._changeDetectorRef=i,this._elementRef=t,this._ngZone=e,this._focusMonitor=o,this._globalRippleOptions=Si,this._onFocus=new x,this._onBlur=new x,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${Bi++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new b,this.destroyed=new b,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=R(vi),this._injector=R($),this._document=n,this._animationsDisabled=ki==="NoopAnimations",V!=null&&(this.tabIndex=parseInt(V)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=A(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(t=>{let e=t._elementRef.nativeElement;return e===i||e.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let t=i!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):J(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}};c.\u0275fac=function(t){return new(t||c)(r(H),r(S),r(Y),r(li),r(si),r(X,8),r(ui,8),U("tabindex"))},c.\u0275cmp=f({type:c,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,o){if(t&1&&(p(o,bi,5),p(o,yi,5),p(o,wi,5),p(o,bi,5),p(o,yi,5),p(o,wi,5)),t&2){let n;s(n=h())&&(e.leadingIcon=n.first),s(n=h())&&(e.trailingIcon=n.first),s(n=h())&&(e.removeIcon=n.first),s(n=h())&&(e._allLeadingIcons=n),s(n=h())&&(e._allTrailingIcons=n),s(n=h())&&(e._allRemoveIcons=n)}},viewQuery:function(t,e){if(t&1&&ri(Ci,5),t&2){let o;s(o=h())&&(e.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(t,e){t&1&&v("keydown",function(n){return e._handleKeydown(n)}),t&2&&(oi("id",e.id),D("role",e.role)("tabindex",e._getTabIndex())("aria-label",e.ariaLabel),ti("mat-"+(e.color||"primary")),y("mdc-evolution-chip",!e._isBasicChip)("mdc-evolution-chip--disabled",e.disabled)("mdc-evolution-chip--with-trailing-action",e._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",e.leadingIcon)("mdc-evolution-chip--with-primary-icon",e.leadingIcon)("mdc-evolution-chip--with-avatar",e.leadingIcon)("mat-mdc-chip-with-avatar",e.leadingIcon)("mat-mdc-chip-highlighted",e.highlighted)("mat-mdc-chip-disabled",e.disabled)("mat-mdc-basic-chip",e._isBasicChip)("mat-mdc-standard-chip",!e._isBasicChip)("mat-mdc-chip-with-trailing-icon",e._hasTrailingIcon())("_mat-animation-noopable",e._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",u],highlighted:[2,"highlighted","highlighted",u],disableRipple:[2,"disableRipple","disableRipple",u],disabled:[2,"disabled","disabled",u],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:M(i)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[di([{provide:xi,useExisting:c}]),E,C],ngContentSelectors:Fi,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,e){t&1&&(P(Di),j(0,"span",0),d(1,"span",1)(2,"span",2),T(3,Mi,2,0,"span",3),d(4,"span",4),w(5),j(6,"span",5),l()()(),T(7,Ai,2,0,"span",6)),t&2&&(m(2),ii("isInteractive",!1),m(),B(e.leadingIcon?3:-1),m(4),B(e._hasTrailingIcon()?7:-1))},dependencies:[Ci],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color)}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let a=c;return a})();var ut=(()=>{let c=class c{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,t,e){this._elementRef=i,this._changeDetectorRef=t,this._dir=e,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new x,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Z}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i{this.tabIndex=i,this._changeDetectorRef.markForCheck()})}}_getChipStream(i){return this._chips.changes.pipe(k(null),Q(()=>A(...this._chips.map(i))))}_originatesFromChip(i){let t=i.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(k(this._chips)).subscribe(i=>{let t=[];i.forEach(e=>e._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new hi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(g(this._destroyed)).subscribe(({chip:i})=>{let t=i._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe(g(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(k(null),g(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(g(this._destroyed)).subscribe(i=>{let e=this._chips.toArray().indexOf(i.chip);this._isValidIndex(e)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=e)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[i];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};c.\u0275fac=function(t){return new(t||c)(r(S),r(H),r(pi,8))},c.\u0275cmp=f({type:c,selectors:[["mat-chip-set"]],contentQueries:function(t,e,o){if(t&1&&p(o,ji,5),t&2){let n;s(n=h())&&(e._chips=n)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,e){t&1&&v("keydown",function(n){return e._handleKeydown(n)}),t&2&&D("role",e.role)},inputs:{disabled:[2,"disabled","disabled",u],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:M(i)]},standalone:!0,features:[E,C],ngContentSelectors:Ri,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,e){t&1&&(P(),d(0,"div",0),w(1),l())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let a=c;return a})();var _t=(()=>{let c=class c{};c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=N({type:c}),c.\u0275inj=q({providers:[mi,{provide:Ti,useValue:{separatorKeyCodes:[13]}}],imports:[z,_i,z]});let a=c;return a})();function Pi(a,c){if(a&1){let I=ni();d(0,"mat-card",2),v("click",function(){let t=K(I).$implicit,e=F();return W(e.selectCard(t))}),d(1,"span",3),O(2),l()()}if(a&2){let I=c.$implicit,i=F();y("selected",i.activeCard===I),m(2),L(I)}}var It=(()=>{let c=class c{constructor(){this.options=[],this.selectedOption=new b,this.activeCard=null}selectCard(i){this.activeCard=this.activeCard===i?null:i,this.selectedOption.emit(this.activeCard)}};c.\u0275fac=function(t){return new(t||c)},c.\u0275cmp=f({type:c,selectors:[["ms-card-selector"]],inputs:{options:"options"},outputs:{selectedOption:"selectedOption"},standalone:!0,features:[C],decls:3,vars:0,consts:[[1,"cards-section"],[1,"ms-card","action-card",3,"selected"],[1,"ms-card","action-card",3,"click"],[1,"heading-sub-section-title"]],template:function(t,e){t&1&&(d(0,"div",0),ci(1,Pi,3,3,"mat-card",1,ei),l()),t&2&&(m(),ai(e.options))},dependencies:[fi,gi],styles:[".cards-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}"]});let a=c;return a})();export{ji as a,ut as b,_t as c,It as d}; +import{a as gi,b as fi}from"./chunk-XUCLYHZN.js";import{$ as _,$a as d,Aa as X,Ab as di,Bb as C,C as A,Cd as li,Da as m,Ea as r,Ed as pi,Id as z,Ja as Y,Kd as mi,La as J,Lb as H,Ld as ui,Nb as u,Nd as _i,Oa as E,Ob as M,Pa as T,Q as k,Qa as D,Qb as si,R as Q,Ra as ii,S as g,Ta as y,Va as ti,Wd as vi,Xa as B,Ya as ei,Za as ci,_ as q,_a as ai,ab as l,bb as j,ca as R,fb as ni,ga as f,gb as oi,ha as N,ia as G,ib as v,j as x,kb as F,lb as P,mb as w,oa as K,ob as p,pa as W,pb as ri,qb as s,rb as h,ta as U,tb as O,ua as $,ub as L,wa as S,xa as b,ya as Z,yd as hi}from"./chunk-MVLCGSW5.js";var Di=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Fi=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Mi(a,c){a&1&&(d(0,"span",3),w(1,1),l())}function Ai(a,c){a&1&&(d(0,"span",6),w(1,2),l())}var Ri=["*"];var Ti=new _("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),bi=new _("MatChipAvatar"),yi=new _("MatChipTrailingIcon"),wi=new _("MatChipRemove"),xi=new _("MatChip"),Ci=(()=>{let c=class c{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,t){this._elementRef=i,this._parentChip=t,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,i.nativeElement.nodeName==="BUTTON"&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};c.\u0275fac=function(t){return new(t||c)(r(S),r(xi))},c.\u0275dir=G({type:c,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,e){t&1&&v("click",function(n){return e._handleClick(n)})("keydown",function(n){return e._handleKeydown(n)}),t&2&&(D("tabindex",e._getTabindex())("disabled",e._getDisabledAttribute())("aria-disabled",e.disabled),y("mdc-evolution-chip__action--primary",e._isPrimary)("mdc-evolution-chip__action--presentational",!e.isInteractive)("mdc-evolution-chip__action--trailing",!e._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",u],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:M(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[E]});let a=c;return a})();var Bi=0,ji=(()=>{let c=class c{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,t,e,o,n,ki,Si,V){this._changeDetectorRef=i,this._elementRef=t,this._ngZone=e,this._focusMonitor=o,this._globalRippleOptions=Si,this._onFocus=new x,this._onBlur=new x,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${Bi++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new b,this.destroyed=new b,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=R(vi),this._injector=R($),this._document=n,this._animationsDisabled=ki==="NoopAnimations",V!=null&&(this.tabIndex=parseInt(V)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=A(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(t=>{let e=t._elementRef.nativeElement;return e===i||e.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let t=i!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):J(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}};c.\u0275fac=function(t){return new(t||c)(r(H),r(S),r(Y),r(li),r(si),r(X,8),r(ui,8),U("tabindex"))},c.\u0275cmp=f({type:c,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,o){if(t&1&&(p(o,bi,5),p(o,yi,5),p(o,wi,5),p(o,bi,5),p(o,yi,5),p(o,wi,5)),t&2){let n;s(n=h())&&(e.leadingIcon=n.first),s(n=h())&&(e.trailingIcon=n.first),s(n=h())&&(e.removeIcon=n.first),s(n=h())&&(e._allLeadingIcons=n),s(n=h())&&(e._allTrailingIcons=n),s(n=h())&&(e._allRemoveIcons=n)}},viewQuery:function(t,e){if(t&1&&ri(Ci,5),t&2){let o;s(o=h())&&(e.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(t,e){t&1&&v("keydown",function(n){return e._handleKeydown(n)}),t&2&&(oi("id",e.id),D("role",e.role)("tabindex",e._getTabIndex())("aria-label",e.ariaLabel),ti("mat-"+(e.color||"primary")),y("mdc-evolution-chip",!e._isBasicChip)("mdc-evolution-chip--disabled",e.disabled)("mdc-evolution-chip--with-trailing-action",e._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",e.leadingIcon)("mdc-evolution-chip--with-primary-icon",e.leadingIcon)("mdc-evolution-chip--with-avatar",e.leadingIcon)("mat-mdc-chip-with-avatar",e.leadingIcon)("mat-mdc-chip-highlighted",e.highlighted)("mat-mdc-chip-disabled",e.disabled)("mat-mdc-basic-chip",e._isBasicChip)("mat-mdc-standard-chip",!e._isBasicChip)("mat-mdc-chip-with-trailing-icon",e._hasTrailingIcon())("_mat-animation-noopable",e._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",u],highlighted:[2,"highlighted","highlighted",u],disableRipple:[2,"disableRipple","disableRipple",u],disabled:[2,"disabled","disabled",u],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:M(i)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[di([{provide:xi,useExisting:c}]),E,C],ngContentSelectors:Fi,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,e){t&1&&(P(Di),j(0,"span",0),d(1,"span",1)(2,"span",2),T(3,Mi,2,0,"span",3),d(4,"span",4),w(5),j(6,"span",5),l()()(),T(7,Ai,2,0,"span",6)),t&2&&(m(2),ii("isInteractive",!1),m(),B(e.leadingIcon?3:-1),m(4),B(e._hasTrailingIcon()?7:-1))},dependencies:[Ci],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color)}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let a=c;return a})();var ut=(()=>{let c=class c{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,t,e){this._elementRef=i,this._changeDetectorRef=t,this._dir=e,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new x,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Z}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i{this.tabIndex=i,this._changeDetectorRef.markForCheck()})}}_getChipStream(i){return this._chips.changes.pipe(k(null),Q(()=>A(...this._chips.map(i))))}_originatesFromChip(i){let t=i.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(k(this._chips)).subscribe(i=>{let t=[];i.forEach(e=>e._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new hi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(g(this._destroyed)).subscribe(({chip:i})=>{let t=i._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe(g(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(k(null),g(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(g(this._destroyed)).subscribe(i=>{let e=this._chips.toArray().indexOf(i.chip);this._isValidIndex(e)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=e)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[i];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};c.\u0275fac=function(t){return new(t||c)(r(S),r(H),r(pi,8))},c.\u0275cmp=f({type:c,selectors:[["mat-chip-set"]],contentQueries:function(t,e,o){if(t&1&&p(o,ji,5),t&2){let n;s(n=h())&&(e._chips=n)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,e){t&1&&v("keydown",function(n){return e._handleKeydown(n)}),t&2&&D("role",e.role)},inputs:{disabled:[2,"disabled","disabled",u],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:M(i)]},standalone:!0,features:[E,C],ngContentSelectors:Ri,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,e){t&1&&(P(),d(0,"div",0),w(1),l())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let a=c;return a})();var _t=(()=>{let c=class c{};c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=N({type:c}),c.\u0275inj=q({providers:[mi,{provide:Ti,useValue:{separatorKeyCodes:[13]}}],imports:[z,_i,z]});let a=c;return a})();function Pi(a,c){if(a&1){let I=ni();d(0,"mat-card",2),v("click",function(){let t=K(I).$implicit,e=F();return W(e.selectCard(t))}),d(1,"span",3),O(2),l()()}if(a&2){let I=c.$implicit,i=F();y("selected",i.activeCard===I),m(2),L(I)}}var It=(()=>{let c=class c{constructor(){this.options=[],this.selectedOption=new b,this.activeCard=null}selectCard(i){this.activeCard=this.activeCard===i?null:i,this.selectedOption.emit(this.activeCard)}};c.\u0275fac=function(t){return new(t||c)},c.\u0275cmp=f({type:c,selectors:[["ms-card-selector"]],inputs:{options:"options"},outputs:{selectedOption:"selectedOption"},standalone:!0,features:[C],decls:3,vars:0,consts:[[1,"cards-section"],[1,"ms-card","action-card",3,"selected"],[1,"ms-card","action-card",3,"click"],[1,"heading-sub-section-title"]],template:function(t,e){t&1&&(d(0,"div",0),ci(1,Pi,3,3,"mat-card",1,ei),l()),t&2&&(m(),ai(e.options))},dependencies:[fi,gi],styles:[".cards-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}"]});let a=c;return a})();export{ji as a,ut as b,_t as c,It as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-XQJ4YUBS.js b/frontend/server/modelsmith-build/browser/chunk-5ZR7IPM5.js similarity index 56% rename from frontend/server/modelsmith-build/browser/chunk-XQJ4YUBS.js rename to frontend/server/modelsmith-build/browser/chunk-5ZR7IPM5.js index 2736b663..3a599784 100644 --- a/frontend/server/modelsmith-build/browser/chunk-XQJ4YUBS.js +++ b/frontend/server/modelsmith-build/browser/chunk-5ZR7IPM5.js @@ -1 +1 @@ -import{a as n}from"./chunk-52V65YCI.js";import{Wc as d,Xc as f,a as r,b as t}from"./chunk-MDAOMI2L.js";var i={defaultMode:void 0,currentMode:void 0},p=f(i,d(n.setDefaultMode,(e,{mode:o})=>t(r({},e),{defaultMode:o})),d(n.setCurrentMode,(e,{mode:o})=>t(r({},e),{currentMode:o})));export{p as a}; +import{a as n}from"./chunk-WKH77ZME.js";import{Xc as d,Yc as f,a as r,b as t}from"./chunk-MVLCGSW5.js";var i={defaultMode:void 0,currentMode:void 0},p=f(i,d(n.setDefaultMode,(e,{mode:o})=>t(r({},e),{defaultMode:o})),d(n.setCurrentMode,(e,{mode:o})=>t(r({},e),{currentMode:o})));export{p as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-FKZOS77R.js b/frontend/server/modelsmith-build/browser/chunk-6CY4G4GP.js similarity index 95% rename from frontend/server/modelsmith-build/browser/chunk-FKZOS77R.js rename to frontend/server/modelsmith-build/browser/chunk-6CY4G4GP.js index 900745c0..38dfbec0 100644 --- a/frontend/server/modelsmith-build/browser/chunk-FKZOS77R.js +++ b/frontend/server/modelsmith-build/browser/chunk-6CY4G4GP.js @@ -1 +1 @@ -import{a as u,b as y}from"./chunk-FELGKJRN.js";import{$a as n,Ab as d,Da as o,Pa as f,Ra as p,Rb as c,Xa as g,Zb as M,ab as i,bb as l,ga as s,tb as m,vb as h}from"./chunk-MDAOMI2L.js";function _(t,e){t&1&&l(0,"div",3)}function P(t,e){t&1&&l(0,"div",3)}var b=(()=>{let e=class e{constructor(){this.styleMode="fullWidth",this.currentYear=new Date().getFullYear()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=s({type:e,selectors:[["ms-footer"]],inputs:{styleMode:"styleMode"},standalone:!0,features:[d],decls:14,vars:4,consts:[[1,"footer-wrapper"],[1,"mb-4"],[1,"grid","grid-cols-12"],[1,"col-span-1"],[1,"footer-content",3,"ngClass"],[1,"left"],[1,"right"],[1,"mr-4"]],template:function(r,a){r&1&&(n(0,"div",0)(1,"div",1),l(2,"mat-divider"),i(),n(3,"footer",2),f(4,_,1,0,"div",3),n(5,"div",4)(6,"div",5),m(7),i(),n(8,"div",6)(9,"a",7),m(10,"Privacy Policy"),i(),n(11,"a"),m(12,"Terms of Service"),i()()(),f(13,P,1,0,"div",3),i()()),r&2&&(o(4),g(a.styleMode!=="mainLayout"?4:-1),o(),p("ngClass",a.styleMode==="mainLayout"?"col-span-12":"col-span-10"),o(2),h("\xA9 ",a.currentYear," Cisco Systems, Inc"),o(6),g(a.styleMode!=="mainLayout"?13:-1))},dependencies:[M,c,y,u],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.footer-wrapper[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}footer[_ngcontent-%COMP%] .footer-content[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem;display:flex;justify-content:space-between}[styleMode=fullWidth][_nghost-%COMP%] .footer-wrapper[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:30px}[styleMode=mainLayout][_nghost-%COMP%] .footer-wrapper[_ngcontent-%COMP%]{position:relative;bottom:0}"]});let t=e;return t})();export{b as a}; +import{a as u,b as y}from"./chunk-4X6VBT7Z.js";import{$a as n,Bb as d,Da as o,Pa as f,Ra as p,Sb as c,Xa as g,_b as M,ab as i,bb as l,ga as s,tb as m,vb as h}from"./chunk-MVLCGSW5.js";function _(t,e){t&1&&l(0,"div",3)}function P(t,e){t&1&&l(0,"div",3)}var b=(()=>{let e=class e{constructor(){this.styleMode="fullWidth",this.currentYear=new Date().getFullYear()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=s({type:e,selectors:[["ms-footer"]],inputs:{styleMode:"styleMode"},standalone:!0,features:[d],decls:14,vars:4,consts:[[1,"footer-wrapper"],[1,"mb-4"],[1,"grid","grid-cols-12"],[1,"col-span-1"],[1,"footer-content",3,"ngClass"],[1,"left"],[1,"right"],[1,"mr-4"]],template:function(r,a){r&1&&(n(0,"div",0)(1,"div",1),l(2,"mat-divider"),i(),n(3,"footer",2),f(4,_,1,0,"div",3),n(5,"div",4)(6,"div",5),m(7),i(),n(8,"div",6)(9,"a",7),m(10,"Privacy Policy"),i(),n(11,"a"),m(12,"Terms of Service"),i()()(),f(13,P,1,0,"div",3),i()()),r&2&&(o(4),g(a.styleMode!=="mainLayout"?4:-1),o(),p("ngClass",a.styleMode==="mainLayout"?"col-span-12":"col-span-10"),o(2),h("\xA9 ",a.currentYear," Cisco Systems, Inc"),o(6),g(a.styleMode!=="mainLayout"?13:-1))},dependencies:[M,c,y,u],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.footer-wrapper[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}footer[_ngcontent-%COMP%] .footer-content[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem;display:flex;justify-content:space-between}[styleMode=fullWidth][_nghost-%COMP%] .footer-wrapper[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:30px}[styleMode=mainLayout][_nghost-%COMP%] .footer-wrapper[_ngcontent-%COMP%]{position:relative;bottom:0}"]});let t=e;return t})();export{b as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-A7TE5TNF.js b/frontend/server/modelsmith-build/browser/chunk-A7TE5TNF.js deleted file mode 100644 index d10cabb8..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-A7TE5TNF.js +++ /dev/null @@ -1 +0,0 @@ -import{a as ie,b as ae,c as le,e as fe,f as Me,g as y}from"./chunk-UJJEBS4W.js";import{b as te}from"./chunk-NGJ5CWHR.js";import{a as pe,b as ce}from"./chunk-WGAUYJ4P.js";import{a as me,b as de}from"./chunk-FODXYRF6.js";import{a as ue}from"./chunk-CRYH3KM4.js";import{b as oe}from"./chunk-C4NPICWQ.js";import{c as ne,d as re}from"./chunk-XX6ZYDLH.js";import{b as se}from"./chunk-MCE6M2DX.js";import{a as K,b as h}from"./chunk-O6HMI7CW.js";import{h as Q,i as Y}from"./chunk-BTHDGCD5.js";import{$a as m,$d as f,Ab as I,Cb as G,D as F,Da as n,Ea as p,Eb as _,Fb as S,Pa as s,Q as b,Qd as j,Ra as c,Rd as k,Wb as V,Xa as l,Za as L,Zb as D,_a as x,_d as B,ab as r,ad as A,bb as M,be as $,ca as P,ce as z,de as q,fe as v,ga as O,ie as U,kb as g,ke as W,mc as w,me as X,na as N,p as T,pe as H,qe as J,tb as u,vb as R,w as C,we as Z,xe as ee,zb as E}from"./chunk-MDAOMI2L.js";var ge=(i,e)=>e.name,_e=i=>[i];function Se(i,e){i&1&&M(0,"ms-spining-indicator",10)}function ve(i,e){if(i&1&&s(0,Se,1,0,"ms-spining-indicator",10),i&2){let t=g(2);l(e===t.PageKey.MODEL_TRAINING?0:-1)}}function ye(i,e){if(i&1&&(m(0,"div",3)(1,"a",9),u(2,"Train models"),r(),s(3,ve,1,1),_(4,"async"),r()),i&2){let t,o=g();n(),c("routerLink",G(4,_e,"/"+o.RoutesList.MODEL_TRAINING.ROOT)),n(2),l((t=S(4,2,o.pageRunningScriptSpiningIndicatorService.currentRunningPage$))?3:-1,t)}}function Te(i,e){i&1&&M(0,"mat-icon",13)}function Fe(i,e){if(i&1&&(m(0,"mat-option",11),u(1),s(2,Te,1,0,"mat-icon",13),r()),i&2){let t=e.$implicit;c("value",t.name)("disabled",!t.isTrained),n(),R(" ",t.name," "),n(),l(t.isTrained?-1:2)}}function be(i,e){i&1&&(m(0,"mat-option",12),u(1,"No results found"),r())}function Pe(i,e){if(i&1&&(L(0,Fe,3,4,"mat-option",11,ge),s(2,be,2,0,"mat-option",12)),i&2){let t=e;x(t),n(2),l(t.length===0?2:-1)}}var a,he=(a=class{ngOnChanges(e){e.algorithmType&&e.algorithmType.currentValue&&this.configureModels(e.algorithmType.currentValue)}get parentFormGroup(){return this.controlContainer.control}get modelFormGroup(){return this.parentFormGroup.get(this.controlKey)}get modelControl(){return this.modelFormGroup?.get(this.MODEL_CONTROL_NAME)}constructor(e,t,o,d){this.controlContainer=e,this.modelsFacadeService=t,this.scriptFacadeService=o,this.pageRunningScriptSpiningIndicatorService=d,this.controlKey="",this.isTrainModelsPageRouteVisible=!0,this.PageKey=ae,this.RoutesList=A,this.searchModel=new v,this.models=[],this.MODEL_CONTROL_NAME="model"}ngOnInit(){this.initializeForm(),this.listenToScriptStateChanges(),this.listenToSearchModelValueChanges(),this.configureModels(this.algorithmType)}configureModels(e){e&&(this.getModelsByTypeSubscription?.unsubscribe(),this.getModelsByTypeSubscription=this.subscribeToModelsListChanges(e),this.modelsFacadeService.dispatch(y.getModelsList({algorithmType:e})),this.modelsFacadeService.dispatch(y.getCurrentOrPreviousSelectedModel({algorithmType:e})))}listenToCurrentModelChanges(){this.modelsFacadeService.currentModel$.pipe(h(this)).subscribe(e=>{if(ne(e))return;let t=this.models.find(o=>o.name===e);t&&t.isTrained&&this.modelControl?.patchValue(e)})}subscribeToModelsListChanges(e){let t=!1;return this.modelsFacadeService.getModelsByType(e).pipe(F(o=>!re(o)),C(o=>[...o].sort((d,Ce)=>Number(Ce.isTrained)-Number(d.isTrained)))).subscribe(o=>{this.models=o,this.searchModel.setValue(""),t||(this.listenToCurrentModelChanges(),t=!0)})}initializeForm(){this.parentFormGroup.addControl(this.controlKey,new q({[this.MODEL_CONTROL_NAME]:new v("",B.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(h(this)).subscribe(e=>{oe(e)?this.modelFormGroup.disable():this.modelFormGroup.enable()})}listenToSearchModelValueChanges(){this.filteredModels=this.searchModel.valueChanges.pipe(h(this),b(""),C(e=>this.filterModels(e)))}filterModels(e){let t=e.toLowerCase();return this.models.filter(o=>o.name.toLowerCase().includes(t))}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},a.\u0275fac=function(t){return new(t||a)(p(f),p(ue),p(se),p(le))},a.\u0275cmp=O({type:a,selectors:[["ms-panel-model"]],inputs:{controlKey:"controlKey",algorithmType:"algorithmType",isTrainModelsPageRouteVisible:"isTrainModelsPageRouteVisible"},standalone:!0,features:[E([],[{provide:f,useFactory:()=>P(f,{skipSelf:!0})}]),N,I],decls:13,vars:6,consts:[[1,"ms-card","model-card"],[1,"panel-title-wrapper"],[1,"heading-sub-section-title"],[1,"train-models"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","model","placeholder","Select a model..."],[3,"formControl"],["label","Predefined Models"],[3,"routerLink"],[1,"ml-2"],[3,"value","disabled"],["disabled",""],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"div",1)(2,"div",2),u(3,"Model"),r(),s(4,ye,5,6,"div",3),r(),m(5,"div",4)(6,"mat-form-field",5)(7,"mat-select",6)(8,"mat-option"),M(9,"ngx-mat-select-search",7),r(),m(10,"mat-optgroup",8),s(11,Pe,3,1),_(12,"async"),r()()()()()),t&2){let d;n(4),l(o.isTrainModelsPageRouteVisible?4:-1),n(),c("formGroupName",o.controlKey),n(4),c("formControl",o.searchModel),n(2),l((d=S(12,4,o.filteredModels))?11:-1,d)}},dependencies:[D,V,H,$,z,J,U,X,W,de,me,Y,Q,ce,pe,k,j,ee,Z,Me,fe,w,te,ie],styles:[".panel-title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:12px}.panel-title-wrapper[_ngcontent-%COMP%] .train-models[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]}),a);he=T([K()],he);export{he as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-AMTBOAY6.js b/frontend/server/modelsmith-build/browser/chunk-AMTBOAY6.js deleted file mode 100644 index 25e35f26..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-AMTBOAY6.js +++ /dev/null @@ -1 +0,0 @@ -import{a as u}from"./chunk-A7TE5TNF.js";import{a as g}from"./chunk-4LBYIHBY.js";import"./chunk-UJJEBS4W.js";import"./chunk-NGJ5CWHR.js";import"./chunk-D7DPXC3A.js";import"./chunk-R5LGWJKV.js";import"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import"./chunk-FELGKJRN.js";import{a as d}from"./chunk-WSCYSYQI.js";import"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import{b as N,c as x,h as w}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as q,b as $}from"./chunk-MCE6M2DX.js";import{a as k,b as D}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import"./chunk-BTHDGCD5.js";import{$a as s,Da as m,Ea as f,Ra as a,Zb as V,_ as l,a as v,ab as p,ad as O,b as M,bb as b,cb as P,ce as Q,db as E,fb as I,ga as F,ha as c,ib as T,je as B,lc as j,oa as y,oe as L,p as U,pa as S,pb as R,pc as A,pe as H,qb as _,qe as K,rb as G,re as W,tb as h,ue as X}from"./chunk-MDAOMI2L.js";var Z=["panelParameters"],o,C=(o=class{constructor(t,i,e){this.fb=t,this.scriptFacadeService=i,this.router=e,this.AlgorithmType=x,this.MachineUnlearningAlgorithmsEnum=w,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(D(this)).subscribe(t=>{this.isScriptActive=N(t),N(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(w.MU)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,r=M(v({},t),{params:M(v({},this.panelParametersComponent.parametersFormatted),{arch:e})});this.scriptFacadeService.dispatch(q.callScript({configs:r}))}goToChartPage(){this.router.navigate([O.RUNNING.ROOT])}},o.\u0275fac=function(i){return new(i||o)(f(L),f($),f(j))},o.\u0275cmp=F({type:o,selectors:[["ms-machine-unlearning"]],viewQuery:function(i,e){if(i&1&&R(Z,5),i&2){let r;_(r=G())&&(e.panelParametersComponent=r.first)}},decls:15,vars:5,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(i,e){if(i&1){let r=I();s(0,"p",1),h(1,"Machine Unlearning"),p(),s(2,"div",2)(3,"div",3),P(4,4),b(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),E(),s(8,"div")(9,"button",7),T("click",function(){return y(r),S(e.submit())}),h(10," Run "),p(),s(11,"button",8),T("click",function(){return y(r),S(e.goToChartPage())}),h(12,"View Chart"),p()()(),s(13,"div",9),b(14,"ms-terminal-xterm-with-toolbar"),p()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.MACHINE_UNLEARNING),m(),a("algorithm",e.MachineUnlearningAlgorithmsEnum.MU),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,g,u,W,Q,B],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),o);C=U([k()],C);var tt=[{path:"",component:C}],J=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[A.forChild(tt),A]});let n=t;return n})();var Ft=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[V,J,d,g,u,X,H,K]});let n=t;return n})();export{Ft as MachineUnlearningModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-LDUU6MI3.js b/frontend/server/modelsmith-build/browser/chunk-BQKTPUNS.js similarity index 77% rename from frontend/server/modelsmith-build/browser/chunk-LDUU6MI3.js rename to frontend/server/modelsmith-build/browser/chunk-BQKTPUNS.js index 892e418c..6f86f954 100644 --- a/frontend/server/modelsmith-build/browser/chunk-LDUU6MI3.js +++ b/frontend/server/modelsmith-build/browser/chunk-BQKTPUNS.js @@ -1 +1 @@ -import{$a as i,Ab as d,ab as o,ga as r,lb as a,mb as c}from"./chunk-MDAOMI2L.js";var l=["*"],p=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=r({type:e,selectors:[["ms-background-gradient"]],standalone:!0,features:[d],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"full-page-gradient"]],template:function(n,g){n&1&&(a(),i(0,"div",0),c(1),o())},styles:[".full-page-gradient[_ngcontent-%COMP%]{height:100vh;width:100vw;background:linear-gradient(to right,var(--header-left),var(--header-right))}"]});let t=e;return t})();export{p as a}; +import{$a as i,Bb as d,ab as o,ga as r,lb as a,mb as c}from"./chunk-MVLCGSW5.js";var l=["*"],p=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=r({type:e,selectors:[["ms-background-gradient"]],standalone:!0,features:[d],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"full-page-gradient"]],template:function(n,g){n&1&&(a(),i(0,"div",0),c(1),o())},styles:[".full-page-gradient[_ngcontent-%COMP%]{height:100vh;width:100vw;background:linear-gradient(to right,var(--header-left),var(--header-right))}"]});let t=e;return t})();export{p as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-6WFPQN4T.js b/frontend/server/modelsmith-build/browser/chunk-BT5J7FFS.js similarity index 96% rename from frontend/server/modelsmith-build/browser/chunk-6WFPQN4T.js rename to frontend/server/modelsmith-build/browser/chunk-BT5J7FFS.js index c9cc0c0f..9f0a9df6 100644 --- a/frontend/server/modelsmith-build/browser/chunk-6WFPQN4T.js +++ b/frontend/server/modelsmith-build/browser/chunk-BT5J7FFS.js @@ -1 +1 @@ -import{c as Be,p as Ne,r as He,s as P,v as Ye}from"./chunk-WXERLI5K.js";import{$ as v,$a as I,Ab as ae,Bd as le,C as S,D as g,Da as $,Dd as Fe,Ea as r,Fa as J,Hd as ce,I as W,J as G,Ja as ee,Kb as k,La as Me,Ld as je,Ma as ye,Mb as R,Md as Le,Oa as te,Pa as ie,Pb as Ee,Q as x,Qa as y,R as K,Ra as ne,S as A,Ta as Ie,Va as Ce,Xa as we,Zb as De,_ as _e,a as E,ab as L,b as pe,bb as se,ca as O,fb as ke,g as D,ga as Z,ha as fe,ia as ge,ib as B,j as T,kb as c,kd as Te,lb as oe,m as Q,mb as N,oa as b,ob as H,pa as M,pb as Re,pd as Se,qa as ve,qb as C,rb as w,s as X,sc as re,tc as Y,ua as q,wa as F,wc as u,xa as j,xc as me,xd as xe,ya as be,yd as Ae,zb as Pe,zc as V,zd as Oe}from"./chunk-MDAOMI2L.js";var qe=["mat-menu-item",""],$e=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Je=["mat-icon, [matMenuItemIcon]","*"];function et(a,o){a&1&&(ve(),I(0,"svg",2),se(1,"polygon",3),L())}var tt=["*"];function it(a,o){if(a&1){let m=ke();I(0,"div",0),B("keydown",function(t){b(m);let i=c();return M(i._handleKeydown(t))})("click",function(){b(m);let t=c();return M(t.closed.emit("click"))})("@transformMenu.start",function(t){b(m);let i=c();return M(i._onAnimationStart(t))})("@transformMenu.done",function(t){b(m);let i=c();return M(i._onAnimationDone(t))}),I(1,"div",1),N(2),L()()}if(a&2){let m=c();Ce(m._classList),ne("id",m.panelId)("@transformMenu",m._panelAnimationState),y("aria-label",m.ariaLabel||null)("aria-labelledby",m.ariaLabelledby||null)("aria-describedby",m.ariaDescribedby||null)}}var de=new v("MAT_MENU_PANEL"),ue=(()=>{let o=class o{constructor(e,t,i,n,s){this._elementRef=e,this._document=t,this._focusMonitor=i,this._parentMenu=n,this._changeDetectorRef=s,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new T,this._focused=new T,this._highlighted=!1,this._triggersSubmenu=!1,n?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let i=0;i enter",Y("120ms cubic-bezier(0, 0, 0.2, 1)",u({opacity:1,transform:"scale(1)"}))),V("* => void",Y("100ms 25ms linear",u({opacity:0})))]),fadeInItems:re("fadeInItems",[me("showing",u({opacity:1})),V("void => *",[u({opacity:0}),Y("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Yt=U.fadeInItems,Vt=U.transformMenu,st=0,ot=new v("mat-menu-default-options",{providedIn:"root",factory:at});function at(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var z=(()=>{let o=class o{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let t=this._previousPanelClass,i=E({},this._classList);t&&t.length&&t.split(" ").forEach(n=>{i[n]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(n=>{i[n]=!0}),this._elementRef.nativeElement.className=""),this._classList=i}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,t,i,n){this._elementRef=e,this._changeDetectorRef=n,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new be,this._classList={},this._panelAnimationState="void",this._animationDone=new T,this.closed=new j,this.close=this.closed,this.panelId=`mat-menu-panel-${st++}`,this._injector=O(q),this.overlayPanelClass=i.overlayPanelClass||"",this._xPosition=i.xPosition,this._yPosition=i.yPosition,this.backdropClass=i.backdropClass,this.overlapTrigger=i.overlapTrigger,this.hasBackdrop=i.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new xe(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(x(this._directDescendantItems),K(e=>S(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let i=e.toArray(),n=Math.max(0,Math.min(i.length-1,t.activeItemIndex||0));i[n]&&!i[n].disabled?t.setActiveItem(n):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(x(this._directDescendantItems),K(t=>S(...t.map(i=>i._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,i=this._keyManager;switch(t){case 27:Se(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&i.setFocusOrigin("keyboard"),i.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Me(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let i=this._keyManager;i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let l=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(l)}let t=Math.min(this._baseElevation+e,24),i=`${this._elevationPrefix}${t}`,n=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));if(!n||n===this._previousElevation){let s=E({},this._classList);this._previousElevation&&(s[this._previousElevation]=!1),s[i]=!0,this._previousElevation=i,this._classList=s}}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=pe(E({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(x(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};o.\u0275fac=function(t){return new(t||o)(r(F),r(ee),r(ot),r(k))},o.\u0275cmp=Z({type:o,selectors:[["mat-menu"]],contentQueries:function(t,i,n){if(t&1&&(H(n,nt,5),H(n,ue,5),H(n,ue,4)),t&2){let s;C(s=w())&&(i.lazyContent=s.first),C(s=w())&&(i._allItems=s),C(s=w())&&(i.items=s)}},viewQuery:function(t,i){if(t&1&&Re(J,5),t&2){let n;C(n=w())&&(i.templateRef=n.first)}},hostVars:3,hostBindings:function(t,i){t&2&&y("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",R],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:R(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Pe([{provide:de,useExisting:o}]),te,ae],ngContentSelectors:tt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(t,i){t&1&&(oe(),ie(0,it,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[U.transformMenu,U.fadeInItems]},changeDetection:0});let a=o;return a})(),Qe=new v("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let a=O(P);return()=>a.scrollStrategies.reposition()}});function rt(a){return()=>a.scrollStrategies.reposition()}var mt={provide:Qe,deps:[P],useFactory:rt},Ve=Te({passive:!0});var zt=(()=>{let o=class o{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,t,i,n,s,l,d,h,p){this._overlay=e,this._element=t,this._viewContainerRef=i,this._menuItemInstance=l,this._dir=d,this._focusMonitor=h,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=D.EMPTY,this._hoverSubscription=D.EMPTY,this._menuCloseSubscription=D.EMPTY,this._changeDetectorRef=O(k),this._handleTouchStart=_=>{Oe(_)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new j,this.onMenuOpen=this.menuOpened,this.menuClosed=new j,this.onMenuClose=this.menuClosed,this._scrollStrategy=n,this._parentMaterialMenu=s instanceof z?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ve)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ve),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),i=t.getConfig(),n=i.positionStrategy;this._setPosition(e,n),i.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof z&&(e._startAnimation(),e._directDescendantItems.changes.pipe(A(e.close)).subscribe(()=>{n.withLockedPosition(!1).reapplyLastPosition(),n.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof z?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(g(i=>i.toState==="void"),W(1),A(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let t=0,i=e.parentMenu;for(;i;)t++,i=i.parentMenu;e.setElevation(t)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new He({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(i=>{let n=i.connectionPair.overlayX==="start"?"after":"before",s=i.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(n,s)):e.setPositionClasses(n,s)})}_setPosition(e,t){let[i,n]=e.xPosition==="before"?["end","start"]:["start","end"],[s,l]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[d,h]=[s,l],[p,_]=[i,n],f=0;if(this.triggersSubmenu()){if(_=i=e.xPosition==="before"?"start":"end",n=p=i==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let he=this._parentMaterialMenu.items.first;this._parentInnerPadding=he?he._getHostElement().offsetTop:0}f=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d=s==="top"?"bottom":"top",h=l==="top"?"bottom":"top");t.withPositions([{originX:i,originY:d,overlayX:p,overlayY:s,offsetY:f},{originX:n,originY:d,overlayX:_,overlayY:s,offsetY:f},{originX:i,originY:h,overlayX:p,overlayY:l,offsetY:-f},{originX:n,originY:h,overlayX:_,overlayY:l,offsetY:-f}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:X(),n=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(g(s=>s!==this._menuItemInstance),g(()=>this._menuOpen)):X();return S(e,i,n,t)}_handleMousedown(e){Ae(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(g(e=>e===this._menuItemInstance&&!e.disabled),G(0,Q)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof z&&this.menu._isAnimating?this.menu._animationDone.pipe(W(1),G(0,Q),A(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Be(e.templateRef,this._viewContainerRef)),this._portal}};o.\u0275fac=function(t){return new(t||o)(r(P),r(F),r(ye),r(Qe),r(de,8),r(ue,10),r(Fe,8),r(le),r(ee))},o.\u0275dir=ge({type:o,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,i){t&1&&B("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),t&2&&y("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let a=o;return a})(),Ut=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=fe({type:o}),o.\u0275inj=_e({providers:[mt],imports:[De,Le,ce,Ye,Ne,ce]});let a=o;return a})();export{ue as a,z as b,zt as c,Ut as d}; +import{c as Be,p as Ne,r as He,s as P,v as Ye}from"./chunk-I333ACNB.js";import{$ as v,$a as I,Ab as Pe,Ac as V,Ad as Oe,Bb as ae,C as S,Cd as le,D as g,Da as $,Ea as r,Ed as Fe,Fa as J,I as W,Id as ce,J as G,Ja as ee,La as Me,Lb as k,Ma as ye,Md as je,Nb as R,Nd as Le,Oa as te,Pa as ie,Q as x,Qa as y,Qb as Ee,R as K,Ra as ne,S as A,Ta as Ie,Va as Ce,Xa as we,_ as _e,_b as De,a as E,ab as L,b as pe,bb as se,ca as O,fb as ke,g as D,ga as Z,ha as fe,ia as ge,ib as B,j as T,kb as c,lb as oe,ld as Te,m as Q,mb as N,oa as b,ob as H,pa as M,pb as Re,qa as ve,qb as C,qd as Se,rb as w,s as X,tc as re,ua as q,uc as Y,wa as F,xa as j,xc as u,ya as be,yc as me,yd as xe,zd as Ae}from"./chunk-MVLCGSW5.js";var qe=["mat-menu-item",""],$e=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Je=["mat-icon, [matMenuItemIcon]","*"];function et(a,o){a&1&&(ve(),I(0,"svg",2),se(1,"polygon",3),L())}var tt=["*"];function it(a,o){if(a&1){let m=ke();I(0,"div",0),B("keydown",function(t){b(m);let i=c();return M(i._handleKeydown(t))})("click",function(){b(m);let t=c();return M(t.closed.emit("click"))})("@transformMenu.start",function(t){b(m);let i=c();return M(i._onAnimationStart(t))})("@transformMenu.done",function(t){b(m);let i=c();return M(i._onAnimationDone(t))}),I(1,"div",1),N(2),L()()}if(a&2){let m=c();Ce(m._classList),ne("id",m.panelId)("@transformMenu",m._panelAnimationState),y("aria-label",m.ariaLabel||null)("aria-labelledby",m.ariaLabelledby||null)("aria-describedby",m.ariaDescribedby||null)}}var de=new v("MAT_MENU_PANEL"),ue=(()=>{let o=class o{constructor(e,t,i,n,s){this._elementRef=e,this._document=t,this._focusMonitor=i,this._parentMenu=n,this._changeDetectorRef=s,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new T,this._focused=new T,this._highlighted=!1,this._triggersSubmenu=!1,n?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let i=0;i enter",Y("120ms cubic-bezier(0, 0, 0.2, 1)",u({opacity:1,transform:"scale(1)"}))),V("* => void",Y("100ms 25ms linear",u({opacity:0})))]),fadeInItems:re("fadeInItems",[me("showing",u({opacity:1})),V("void => *",[u({opacity:0}),Y("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Yt=U.fadeInItems,Vt=U.transformMenu,st=0,ot=new v("mat-menu-default-options",{providedIn:"root",factory:at});function at(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var z=(()=>{let o=class o{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let t=this._previousPanelClass,i=E({},this._classList);t&&t.length&&t.split(" ").forEach(n=>{i[n]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(n=>{i[n]=!0}),this._elementRef.nativeElement.className=""),this._classList=i}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,t,i,n){this._elementRef=e,this._changeDetectorRef=n,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new be,this._classList={},this._panelAnimationState="void",this._animationDone=new T,this.closed=new j,this.close=this.closed,this.panelId=`mat-menu-panel-${st++}`,this._injector=O(q),this.overlayPanelClass=i.overlayPanelClass||"",this._xPosition=i.xPosition,this._yPosition=i.yPosition,this.backdropClass=i.backdropClass,this.overlapTrigger=i.overlapTrigger,this.hasBackdrop=i.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new xe(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(x(this._directDescendantItems),K(e=>S(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let i=e.toArray(),n=Math.max(0,Math.min(i.length-1,t.activeItemIndex||0));i[n]&&!i[n].disabled?t.setActiveItem(n):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(x(this._directDescendantItems),K(t=>S(...t.map(i=>i._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,i=this._keyManager;switch(t){case 27:Se(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&i.setFocusOrigin("keyboard"),i.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Me(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let i=this._keyManager;i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let l=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(l)}let t=Math.min(this._baseElevation+e,24),i=`${this._elevationPrefix}${t}`,n=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));if(!n||n===this._previousElevation){let s=E({},this._classList);this._previousElevation&&(s[this._previousElevation]=!1),s[i]=!0,this._previousElevation=i,this._classList=s}}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=pe(E({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(x(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};o.\u0275fac=function(t){return new(t||o)(r(F),r(ee),r(ot),r(k))},o.\u0275cmp=Z({type:o,selectors:[["mat-menu"]],contentQueries:function(t,i,n){if(t&1&&(H(n,nt,5),H(n,ue,5),H(n,ue,4)),t&2){let s;C(s=w())&&(i.lazyContent=s.first),C(s=w())&&(i._allItems=s),C(s=w())&&(i.items=s)}},viewQuery:function(t,i){if(t&1&&Re(J,5),t&2){let n;C(n=w())&&(i.templateRef=n.first)}},hostVars:3,hostBindings:function(t,i){t&2&&y("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",R],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:R(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Pe([{provide:de,useExisting:o}]),te,ae],ngContentSelectors:tt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(t,i){t&1&&(oe(),ie(0,it,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[U.transformMenu,U.fadeInItems]},changeDetection:0});let a=o;return a})(),Qe=new v("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let a=O(P);return()=>a.scrollStrategies.reposition()}});function rt(a){return()=>a.scrollStrategies.reposition()}var mt={provide:Qe,deps:[P],useFactory:rt},Ve=Te({passive:!0});var zt=(()=>{let o=class o{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,t,i,n,s,l,d,h,p){this._overlay=e,this._element=t,this._viewContainerRef=i,this._menuItemInstance=l,this._dir=d,this._focusMonitor=h,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=D.EMPTY,this._hoverSubscription=D.EMPTY,this._menuCloseSubscription=D.EMPTY,this._changeDetectorRef=O(k),this._handleTouchStart=_=>{Oe(_)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new j,this.onMenuOpen=this.menuOpened,this.menuClosed=new j,this.onMenuClose=this.menuClosed,this._scrollStrategy=n,this._parentMaterialMenu=s instanceof z?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ve)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ve),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),i=t.getConfig(),n=i.positionStrategy;this._setPosition(e,n),i.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof z&&(e._startAnimation(),e._directDescendantItems.changes.pipe(A(e.close)).subscribe(()=>{n.withLockedPosition(!1).reapplyLastPosition(),n.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof z?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(g(i=>i.toState==="void"),W(1),A(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let t=0,i=e.parentMenu;for(;i;)t++,i=i.parentMenu;e.setElevation(t)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new He({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(i=>{let n=i.connectionPair.overlayX==="start"?"after":"before",s=i.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(n,s)):e.setPositionClasses(n,s)})}_setPosition(e,t){let[i,n]=e.xPosition==="before"?["end","start"]:["start","end"],[s,l]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[d,h]=[s,l],[p,_]=[i,n],f=0;if(this.triggersSubmenu()){if(_=i=e.xPosition==="before"?"start":"end",n=p=i==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let he=this._parentMaterialMenu.items.first;this._parentInnerPadding=he?he._getHostElement().offsetTop:0}f=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d=s==="top"?"bottom":"top",h=l==="top"?"bottom":"top");t.withPositions([{originX:i,originY:d,overlayX:p,overlayY:s,offsetY:f},{originX:n,originY:d,overlayX:_,overlayY:s,offsetY:f},{originX:i,originY:h,overlayX:p,overlayY:l,offsetY:-f},{originX:n,originY:h,overlayX:_,overlayY:l,offsetY:-f}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:X(),n=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(g(s=>s!==this._menuItemInstance),g(()=>this._menuOpen)):X();return S(e,i,n,t)}_handleMousedown(e){Ae(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(g(e=>e===this._menuItemInstance&&!e.disabled),G(0,Q)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof z&&this.menu._isAnimating?this.menu._animationDone.pipe(W(1),G(0,Q),A(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Be(e.templateRef,this._viewContainerRef)),this._portal}};o.\u0275fac=function(t){return new(t||o)(r(P),r(F),r(ye),r(Qe),r(de,8),r(ue,10),r(Fe,8),r(le),r(ee))},o.\u0275dir=ge({type:o,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,i){t&1&&B("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),t&2&&y("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let a=o;return a})(),Ut=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=fe({type:o}),o.\u0275inj=_e({providers:[mt],imports:[De,Le,ce,Ye,Ne,ce]});let a=o;return a})();export{ue as a,z as b,zt as c,Ut as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-PA77ZZ6Z.js b/frontend/server/modelsmith-build/browser/chunk-BXFQL2AE.js similarity index 92% rename from frontend/server/modelsmith-build/browser/chunk-PA77ZZ6Z.js rename to frontend/server/modelsmith-build/browser/chunk-BXFQL2AE.js index 3917fb2c..ac35a671 100644 --- a/frontend/server/modelsmith-build/browser/chunk-PA77ZZ6Z.js +++ b/frontend/server/modelsmith-build/browser/chunk-BXFQL2AE.js @@ -1 +1 @@ -import{a as Q}from"./chunk-LDUU6MI3.js";import{a as u}from"./chunk-FKZOS77R.js";import"./chunk-FELGKJRN.js";import{i as Y}from"./chunk-Z6QRPUWD.js";import{a as x}from"./chunk-O6HMI7CW.js";import{a as V,h as k,i as W,j as q,k as X}from"./chunk-BTHDGCD5.js";import{$a as o,Da as c,Ea as m,Fe as K,Ia as _,Ma as b,Ra as g,Yd as L,Zb as N,_ as d,_d as C,ab as r,ad as y,bb as p,be as A,ce as F,ga as w,ha as h,he as z,ia as S,ib as E,je as R,me as D,oe as T,p as I,pc as O,pe as j,qe as H,re as G,tb as s,ue as U,wa as P,we as B,ye as J}from"./chunk-MDAOMI2L.js";var Z=(()=>{let t=class t{constructor(e,i,f){this.el=e,this.renderer=i,this.viewContainer=f,this.isHidden=!0}ngOnInit(){let e=this.el.nativeElement,i=this.createIcon();this.setupIconInContainer(e,i),i.location.nativeElement.addEventListener("click",()=>{this.toggleVisibility(e,i.instance)})}createIcon(){let e=this.viewContainer.createComponent(B);return e.instance.fontIcon=this.isHidden?"visibility_off":"visibility",e}setupIconInContainer(e,i){let f=this.renderer.createElement("div");this.renderer.addClass(f,t.CLASS_ICON_SUFFIX),this.renderer.setStyle(i.location.nativeElement,"padding","0"),this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),this.renderer.appendChild(f,i.location.nativeElement),this.renderer.appendChild(e?.parentElement?.parentElement,f)}toggleVisibility(e,i){this.isHidden=!this.isHidden,this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),i.fontIcon=this.isHidden?"visibility_off":"visibility"}};t.CLASS_ICON_SUFFIX="mat-mdc-form-field-icon-suffix",t.\u0275fac=function(i){return new(i||t)(m(P),m(_),m(b))},t.\u0275dir=S({type:t,selectors:[["","msPasswordToggle",""]],standalone:!0});let n=t;return n})();var a,M=(a=class{constructor(t,l){this.fb=t,this.authFacadeService=l,this.CONTROL_NAMES={EMAIL:"email",PASSWORD:"password"}}ngOnInit(){this.initForm()}initForm(){this.form=this.fb.group({[this.CONTROL_NAMES.EMAIL]:["alexander@cisco.com",[C.email,C.required]],[this.CONTROL_NAMES.PASSWORD]:["GUfCRHz7VD9R",[C.required]]})}get emailControl(){return this.form.get(this.CONTROL_NAMES.EMAIL)}get passwordControl(){return this.form.get(this.CONTROL_NAMES.PASSWORD)}login(){let t=this.form.getRawValue();this.authFacadeService.dispatch(J.login(t))}},a.\u0275fac=function(l){return new(l||a)(m(T),m(K))},a.\u0275cmp=w({type:a,selectors:[["ms-login"]],decls:24,vars:4,consts:[[1,"login-container"],[1,"logo-section"],["src","/assets/logo/login-logo.svg","alt","ModelSmith Logo"],[1,"login-title"],[1,"login-subtitle"],[1,"login-section"],[3,"submit","formGroup"],[1,"form-field-container","ms-white-form-field"],["matInput","","msErrorDisplay","","autocomplete","current-password",3,"formControlName"],["msPasswordToggle","","msErrorDisplay","","matInput","","autocomplete","current-password",3,"formControlName"],[1,"mt-[2px]"],["type","submit","mat-raised-button","","color","primary",1,"w-full",3,"disabled"],["styleMode","fullWidth"]],template:function(l,e){l&1&&(o(0,"ms-background-gradient")(1,"div",0)(2,"div",1),p(3,"img",2),o(4,"div",3),s(5,"ModelSmith"),r(),o(6,"div",4),s(7,"A super cool compression tool"),r()(),o(8,"div",5)(9,"form",6),E("submit",function(){return e.login()}),o(10,"div",7)(11,"mat-label"),s(12," Email "),r(),o(13,"mat-form-field"),p(14,"input",8),r()(),o(15,"div",7)(16,"mat-label"),s(17," Password "),r(),o(18,"mat-form-field"),p(19,"input",9),r()(),o(20,"div",10)(21,"button",11),s(22," Login "),r()()()()(),p(23,"ms-footer",12),r()),l&2&&(c(9),g("formGroup",e.form),c(5),g("formControlName",e.CONTROL_NAMES.EMAIL),c(5),g("formControlName",e.CONTROL_NAMES.PASSWORD),c(2),g("disabled",e.form.invalid))},dependencies:[z,L,A,F,R,D,k,V,q,Z,Q,u,G,Y],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.login-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:95%;background:linear-gradient(to left,transparent,var(--backgrounds-50),transparent);padding:60px 30px;text-align:center}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;margin-bottom:10px}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-title[_ngcontent-%COMP%]{font-size:2.5rem;line-height:3.359rem;font-weight:400;color:var(--login-title)}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-subtitle[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem;color:var(--foregrounds-550)}.login-container[_ngcontent-%COMP%] .login-section[_ngcontent-%COMP%]{margin-top:20px;width:100%;max-width:400px}"]}),a);M=I([x()],M);var et=[{path:"",pathMatch:"full",redirectTo:y.AUTH.LOGIN},{path:y.AUTH.LOGIN,component:M}],$=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[O.forChild(et),O]});let n=t;return n})();var Rt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[N,j,H,W,X,$,u,U]});let n=t;return n})();export{Rt as AuthModule}; +import{a as Q}from"./chunk-BQKTPUNS.js";import{a as u}from"./chunk-6CY4G4GP.js";import"./chunk-4X6VBT7Z.js";import{i as Y}from"./chunk-PMG2IJPH.js";import{a as x}from"./chunk-KP473PLS.js";import{a as V,h as k,i as W,j as q,k as X}from"./chunk-LCKMIOUI.js";import{$a as o,$d as C,Da as c,Ea as m,Ge as K,Ia as _,Ma as b,Ra as g,Zd as L,_ as d,_b as N,ab as r,bb as p,bd as y,ce as A,de as F,ga as w,ha as h,ia as S,ib as E,ie as z,ke as R,ne as D,p as I,pe as T,qc as O,qe as j,re as H,se as G,tb as s,ve as U,wa as P,xe as B,ze as J}from"./chunk-MVLCGSW5.js";var Z=(()=>{let t=class t{constructor(e,i,f){this.el=e,this.renderer=i,this.viewContainer=f,this.isHidden=!0}ngOnInit(){let e=this.el.nativeElement,i=this.createIcon();this.setupIconInContainer(e,i),i.location.nativeElement.addEventListener("click",()=>{this.toggleVisibility(e,i.instance)})}createIcon(){let e=this.viewContainer.createComponent(B);return e.instance.fontIcon=this.isHidden?"visibility_off":"visibility",e}setupIconInContainer(e,i){let f=this.renderer.createElement("div");this.renderer.addClass(f,t.CLASS_ICON_SUFFIX),this.renderer.setStyle(i.location.nativeElement,"padding","0"),this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),this.renderer.appendChild(f,i.location.nativeElement),this.renderer.appendChild(e?.parentElement?.parentElement,f)}toggleVisibility(e,i){this.isHidden=!this.isHidden,this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),i.fontIcon=this.isHidden?"visibility_off":"visibility"}};t.CLASS_ICON_SUFFIX="mat-mdc-form-field-icon-suffix",t.\u0275fac=function(i){return new(i||t)(m(P),m(_),m(b))},t.\u0275dir=S({type:t,selectors:[["","msPasswordToggle",""]],standalone:!0});let n=t;return n})();var a,M=(a=class{constructor(t,l){this.fb=t,this.authFacadeService=l,this.CONTROL_NAMES={EMAIL:"email",PASSWORD:"password"}}ngOnInit(){this.initForm()}initForm(){this.form=this.fb.group({[this.CONTROL_NAMES.EMAIL]:["alexander@cisco.com",[C.email,C.required]],[this.CONTROL_NAMES.PASSWORD]:["GUfCRHz7VD9R",[C.required]]})}get emailControl(){return this.form.get(this.CONTROL_NAMES.EMAIL)}get passwordControl(){return this.form.get(this.CONTROL_NAMES.PASSWORD)}login(){let t=this.form.getRawValue();this.authFacadeService.dispatch(J.login(t))}},a.\u0275fac=function(l){return new(l||a)(m(T),m(K))},a.\u0275cmp=w({type:a,selectors:[["ms-login"]],decls:24,vars:4,consts:[[1,"login-container"],[1,"logo-section"],["src","/assets/logo/login-logo.svg","alt","ModelSmith Logo"],[1,"login-title"],[1,"login-subtitle"],[1,"login-section"],[3,"submit","formGroup"],[1,"form-field-container","ms-white-form-field"],["matInput","","msErrorDisplay","","autocomplete","current-password",3,"formControlName"],["msPasswordToggle","","msErrorDisplay","","matInput","","autocomplete","current-password",3,"formControlName"],[1,"mt-[2px]"],["type","submit","mat-raised-button","","color","primary",1,"w-full",3,"disabled"],["styleMode","fullWidth"]],template:function(l,e){l&1&&(o(0,"ms-background-gradient")(1,"div",0)(2,"div",1),p(3,"img",2),o(4,"div",3),s(5,"ModelSmith"),r(),o(6,"div",4),s(7,"A super cool compression tool"),r()(),o(8,"div",5)(9,"form",6),E("submit",function(){return e.login()}),o(10,"div",7)(11,"mat-label"),s(12," Email "),r(),o(13,"mat-form-field"),p(14,"input",8),r()(),o(15,"div",7)(16,"mat-label"),s(17," Password "),r(),o(18,"mat-form-field"),p(19,"input",9),r()(),o(20,"div",10)(21,"button",11),s(22," Login "),r()()()()(),p(23,"ms-footer",12),r()),l&2&&(c(9),g("formGroup",e.form),c(5),g("formControlName",e.CONTROL_NAMES.EMAIL),c(5),g("formControlName",e.CONTROL_NAMES.PASSWORD),c(2),g("disabled",e.form.invalid))},dependencies:[z,L,A,F,R,D,k,V,q,Z,Q,u,G,Y],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.login-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:95%;background:linear-gradient(to left,transparent,var(--backgrounds-50),transparent);padding:60px 30px;text-align:center}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;margin-bottom:10px}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-title[_ngcontent-%COMP%]{font-size:2.5rem;line-height:3.359rem;font-weight:400;color:var(--login-title)}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-subtitle[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem;color:var(--foregrounds-550)}.login-container[_ngcontent-%COMP%] .login-section[_ngcontent-%COMP%]{margin-top:20px;width:100%;max-width:400px}"]}),a);M=I([x()],M);var et=[{path:"",pathMatch:"full",redirectTo:y.AUTH.LOGIN},{path:y.AUTH.LOGIN,component:M}],$=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[O.forChild(et),O]});let n=t;return n})();var Rt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[N,j,H,W,X,$,u,U]});let n=t;return n})();export{Rt as AuthModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-YCZBSARA.js b/frontend/server/modelsmith-build/browser/chunk-CBPVJONL.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-YCZBSARA.js rename to frontend/server/modelsmith-build/browser/chunk-CBPVJONL.js index 85f642d8..4c75471f 100644 --- a/frontend/server/modelsmith-build/browser/chunk-YCZBSARA.js +++ b/frontend/server/modelsmith-build/browser/chunk-CBPVJONL.js @@ -1,4 +1,4 @@ -import{a as vt,e as xt,g as fn,h as ze,i as Ge}from"./chunk-IPCM5XN4.js";import{a as _n,b as bt,c as Cn}from"./chunk-5CBUBWK4.js";import{a as Ct}from"./chunk-QYJ4C4QM.js";import{a as Gt,d as Ui,e as Qi,f as vn,g as xn}from"./chunk-GZHRP7B4.js";import{a as tn,b as nn,c as on,d as rn,e as an,f as sn,g as ln,h as cn,i as dn,j as pn,k as mn,l as hn,m as un,n as ye,o as gn,p as _t,q as je}from"./chunk-7MILYS6Z.js";import{a as Ji,b as en}from"./chunk-DHK6QHGP.js";import{a as Xi,b as Wi}from"./chunk-NGJ5CWHR.js";import{a as ft,b as Zi}from"./chunk-WGAUYJ4P.js";import{a as at,b as Ti}from"./chunk-FELGKJRN.js";import{a as Ki,b as qi}from"./chunk-FODXYRF6.js";import{c as R}from"./chunk-C4NPICWQ.js";import{a as ut}from"./chunk-JG6SCBOL.js";import{a as Le,c as gt,d as zt}from"./chunk-XX6ZYDLH.js";import"./chunk-MCE6M2DX.js";import{a as be,b as L}from"./chunk-O6HMI7CW.js";import{c as Gi,e as Yi,f as $i,m as ht}from"./chunk-WXERLI5K.js";import{a as pt,h as mt,i as Hi,j as ji,k as zi}from"./chunk-BTHDGCD5.js";import{$ as me,$a as s,$d as Ke,Aa as Ft,Ab as it,Ba as di,Bc as Qe,Bd as Ai,C as Tt,Ca as It,Cb as Bt,Cc as Lt,D as Ee,Da as c,Ea as p,Eb as D,Fa as pi,Fb as M,Fd as Mi,Ga as mi,Gb as fi,Gd as Ei,H as ii,Hd as jt,I as de,Ib as _i,Kb as J,Ma as hi,Mb as ee,Na as Ot,Nb as Ci,Oa as ie,P as Pt,Pa as f,Pb as vi,Q as kt,Qa as et,Ra as h,Rd as rt,Sa as B,Sb as xi,Sc as yi,Ta as q,Tb as Nt,Ua as ui,Ub as nt,Wb as Oe,Xa as S,Xb as bi,Xd as Pi,Y as ni,Ya as ne,Yb as wi,Yd as ki,Z as pe,Za as X,Zb as ot,_ as Y,_a as W,_d as Te,a as Ae,ab as l,b as Xe,ba as he,bb as g,be as we,ca as oi,cb as U,ce as Ne,db as Q,de as st,fb as E,g as Ze,ga as A,ge as Fi,ha as $,he as lt,ia as P,ib as _,j as Me,ja as Je,je as ct,k as Et,kb as m,ke as Ii,l as ei,lb as tt,mb as fe,me as Ve,na as ue,o as ti,oa as v,ob as Rt,oe as dt,p as ce,pa as x,pb as Z,pc as Vt,pd as Si,pe as Oi,qa as Ie,qb as N,qe as Ri,ra as ri,rb as V,re as Bi,sa as ai,sb as gi,sc as We,ta as si,tb as u,tc as Re,te as Ni,ua as li,ub as _e,ue as Vi,vb as w,wa as ge,wb as Ce,wc as k,we as He,xa as y,xb as ve,xc as Ue,xd as Di,xe as Li,ya as ci,yb as xe,yc as Ht,zb as H,zc as Be}from"./chunk-MDAOMI2L.js";var Un=["hueSlider"],Qn=["alphaSlider"];function Kn(n,i){if(n&1){let e=E();s(0,"div",10),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("saturation-lightness",o))}),s(1,"div",11),g(2,"div"),l()()}if(n&2){let e=m();B("background-color",e.hueSliderColor),h("rgX",1)("rgY",1),c(),B("top",e.slider==null?null:e.slider.v,"px")("left",e.slider==null?null:e.slider.s,"px")}}function qn(n,i){if(n&1&&(s(0,"div",12),g(1,"div",13)(2,"div",14),l()),n&2){let e=m();c(2),B("background-color",e.selectedColor)}}function Zn(n,i){if(n&1){let e=E();s(0,"div",15,1),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("hue",o))}),s(2,"div",16)(3,"div"),g(4,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),B("left",e.slider==null?null:e.slider.h,"px")}}function Jn(n,i){if(n&1){let e=E();s(0,"div",17,2),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("alpha",o))}),g(2,"div",18),s(3,"div",16)(4,"div"),g(5,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),h("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),c(),B("left",e.slider==null?null:e.slider.a,"px")}}var eo=["dialog"],yn=n=>({background:n});function to(n,i){n&1&&g(0,"div",12)}function io(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",10),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.onColorClick(o))}),f(3,to,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=i.index,o=m(2);c(2),q("colornull",!e),h("ngStyle",o.getBackgroundColor(e)),c(),h("ngIf",t==o.indexSeleccionado)}}function no(n,i){if(n&1&&g(0,"div",18),n&2){let e=m(3);h("ngStyle",e.getBackgroundColor(e.color))}}function oo(n,i){if(n&1){let e=E();s(0,"div",13),_("click",function(){v(e);let o=m(2);return x(o.addColor())}),f(1,no,1,1,"div",14),Ie(),s(2,"svg",15),g(3,"path",16)(4,"path",17),l()()}if(n&2){let e=m(2);c(),h("ngIf",e.indexSeleccionado===void 0)}}function ro(n,i){if(n&1){let e=E();s(0,"color-picker",19),_("colorChange",function(o){v(e);let r=m(2);return x(r.onChangeColorPicker(o))})("onAlphaChange",function(o){v(e);let r=m(2);return x(r.onAlphaChange(o))}),l()}if(n&2){let e=m(2);h("controls",e.colorPickerControls)("color",e.hsva)}}function ao(n,i){if(n&1&&(U(0),s(1,"div",5),f(2,io,4,4,"ng-container",6)(3,oo,5,1,"div",7)(4,ro,1,2,"color-picker",8),l(),Q()),n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(),h("ngForOf",e.palette),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls!="only-alpha"),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls=="only-alpha")}}function so(n,i){n&1&&g(0,"div",12)}function lo(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",25),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.changeColor(o))}),f(3,so,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=m(2);c(2),q("colornull",!e),h("ngStyle",Bt(4,yn,e)),c(),h("ngIf",t.isSelected(e))}}function co(n,i){if(n&1){let e=E();U(0),s(1,"div",5)(2,"div",20)(3,"div",21),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(4,"svg",22),g(5,"path",23)(6,"path",24),l()()(),f(7,lo,4,6,"ng-container",6),l(),Q()}if(n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(6),h("ngForOf",e.variants)}}function po(n,i){if(n&1){let e=E();U(0),s(1,"div",26)(2,"div",27),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(3,"svg",22),g(4,"path",23)(5,"path",24),l()(),ri(),s(6,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("cancel"))}),u(7),l(),s(8,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("accept"))}),u(9),l()(),s(10,"div",29)(11,"color-picker",30),_("sliderChange",function(o){v(e);let r=m();return x(r.onChangeColorPicker(o))}),l()(),Q()}if(n&2){let e=m();c(7),w(" ",e.cancelLabel," "),c(2),w(" ",e.acceptLabel," "),c(2),h("controls",e.colorPickerControls)("color",e.hsva)}}function mo(n,i){if(n&1){let e=E();s(0,"div",31)(1,"p",32),_("click",function(){v(e);let o=m();return x(o.nextFormat())}),u(2),l(),s(3,"div",33)(4,"input",34,1),_("keyup",function(){v(e);let o=gi(5),r=m();return x(r.changeColorManual(o.value))})("keydown.enter",function(){v(e);let o=m();return x(o.emitClose("accept"))}),l()()()}if(n&2){let e=m();c(2),_e(e.colorFormats[e.format]),c(2),B("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),h("placeholder",e.placeholder)("value",e.color)}}var Yt=["hex","rgba","hsla","cmyk"],F=function(n){return n[n.HEX=0]="HEX",n[n.RGBA=1]="RGBA",n[n.HSLA=2]="HSLA",n[n.CMYK=3]="CMYK",n}(F||{}),bn=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],te=class{constructor(i,e,t,o){this.r=i,this.g=e,this.b=t,this.a=o}denormalize(){return this.r=Math.round(this.r*255),this.g=Math.round(this.g*255),this.b=Math.round(this.b*255),this}toString(){return this.denormalize(),"rgb"+(this.a!=1?"a(":"(")+this.r+", "+this.g+", "+this.b+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},K=class{constructor(i,e,t,o){this.h=i,this.s=e,this.v=t,this.a=o,this.onChange=new y(!0)}onColorChange(i){this.s=i.s/i.rgX,this.v=i.v/i.rgY}onHueChange(i){this.h=i.v/i.rgX}onValueChange(i){this.v=i.v/i.rgX}onAlphaChange(i){this.a=i.v/i.rgX}},Pe=class{constructor(i,e,t,o){this.h=i,this.s=e,this.l=t,this.a=o}denormalize(){return this.h=Math.round(this.h*360),this.s=Math.round(this.s*100),this.l=Math.round(this.l*100),this}toString(){return"hsl"+(this.a!=1?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},Se=class{constructor(i,e,t,o,r=1){this.c=i,this.m=e,this.y=t,this.k=o,this.a=r}denormalize(){return this.c=Math.round(this.c*100),this.m=Math.round(this.m*100),this.y=Math.round(this.y*100),this.k=Math.round(this.k*100),this}toString(){return this.denormalize(),"cmyk("+this.c+", "+this.m+", "+this.y+", "+this.k+")"}},$t=class{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}},yt=(()=>{class n{constructor(){}toFormat(e,t){var o="";if(e)switch(t){case F.HEX:var a=this.hsvaToRgba(e);a.denormalize();var o=this.rgbaToHex(a,!0);break;case F.HSLA:var r=this.hsva2hsla(e);r.denormalize();var o=r.toString();break;case F.RGBA:var a=this.hsvaToRgba(e),o=a.toString();break;case F.CMYK:var d=this.hsvaToCmyk(e),o=d.toString();break}return o}stringToFormat(e,t){var o=this.stringToHsva(e,!0);return this.toFormat(o,t)}hsva2hsla(e){let t=e.h,o=e.s,r=e.v,a=e.a;if(r===0)return new Pe(t,0,0,a);if(o===0&&r===1)return new Pe(t,1,1,a);{let d=r*(2-o)/2;return new Pe(t,r*o/(1-Math.abs(2*d-1)),d,a)}}hsla2hsva(e){let t=Math.min(e.h,1),o=Math.min(e.s,1),r=Math.min(e.l,1),a=Math.min(e.a,1);if(r===0)return new K(t,0,0,a);{let d=r+o*(1-Math.abs(2*r-1))/2;return new K(t,2*(d-r)/d,d,a)}}hsvaToRgba(e){let t,o,r,a=e.h,d=e.s,C=e.v,b=e.a,G=Math.floor(a*6),I=a*6-G,O=C*(1-d),$e=C*(1-I*d),De=C*(1-(1-I)*d);switch(G%6){case 0:t=C,o=De,r=O;break;case 1:t=$e,o=C,r=O;break;case 2:t=O,o=C,r=De;break;case 3:t=O,o=$e,r=C;break;case 4:t=De,o=O,r=C;break;case 5:t=C,o=O,r=$e;break;default:t=0,o=0,r=0}return new te(t,o,r,b)}cmykToRgb(e){let t=(1-e.c)*(1-e.k),o=(1-e.m)*(1-e.k),r=(1-e.y)*(1-e.k);return new te(t,o,r,e.a)}rgbaToCmyk(e){let t=1-Math.max(e.r,e.g,e.b);if(t===1)return new Se(0,0,0,1,e.a);{let o=(1-e.r-t)/(1-t),r=(1-e.g-t)/(1-t),a=(1-e.b-t)/(1-t);return new Se(o,r,a,t,e.a)}}hsvaToCmyk(e){let t=this.hsvaToRgba(e);return this.rgbaToCmyk(t)}rgbaToHsva(e){let t,o,r=Math.min(e.r,1),a=Math.min(e.g,1),d=Math.min(e.b,1),C=Math.min(e.a,1),b=Math.max(r,a,d),G=Math.min(r,a,d),I=b,O=b-G;if(o=b===0?0:O/b,b===G)t=0;else{switch(b){case r:t=(a-d)/O+(a{class n{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new y,this.dragStart=new y,this.newValue=new y,this.listenerMove=t=>this.move(t),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageX!==void 0?e.pageX:e.touches[0].pageX)-t.left-window.pageXOffset}getY(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageY!==void 0?e.pageY:e.touches[0].pageY)-t.top-window.pageYOffset}setCursor(e){let t=this.elRef.nativeElement.offsetWidth,o=this.elRef.nativeElement.offsetHeight,r=Math.max(0,Math.min(this.getX(e),t)),a=Math.max(0,Math.min(this.getY(e),o));this.rgX!==void 0&&this.rgY!==void 0?this.newValue.emit({s:r/t,v:1-a/o,rgX:this.rgX,rgY:this.rgY}):this.rgX===void 0&&this.rgY!==void 0?this.newValue.emit({v:a/o,rgY:this.rgY}):this.rgX!==void 0&&this.rgY===void 0&&this.newValue.emit({v:r/t,rgX:this.rgX})}}return n.\u0275fac=function(e){return new(e||n)(p(ge))},n.\u0275dir=P({type:n,selectors:[["","slider",""]],hostBindings:function(e,t){e&1&&_("mousedown",function(r){return t.mouseDown(r)})("touchstart",function(r){return t.touchStart(r)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),n})(),uo=(()=>{class n{constructor(e,t){this.service=e,this.cdr=t,this.color=new K(0,1,1,1),this.controls="default",this.sliderChange=new y(!1),this.onAlphaChange=new y(!1),this.hsva=new K(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new K(0,1,1,1)),this.slider=new wt(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){let e=this.hueSlider?.nativeElement.offsetWidth||140,t=this.alphaSlider?.nativeElement.offsetWidth||140;this.sliderDimMax=new Xt(e,220,130,t),this.update()}onSliderChange(e,t){switch(e){case"saturation-lightness":this.hsva.onColorChange(t);break;case"hue":this.hsva.onHueChange(t);break;case"alpha":this.hsva.onAlphaChange(t),this.onAlphaChange.emit(t);break;case"value":this.hsva.onValueChange(t);break}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),t=this.service.hsvaToRgba(new K(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+t.r+","+t.g+","+t.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new wt(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return n.\u0275fac=function(e){return new(e||n)(p(yt),p(J))},n.\u0275cmp=A({type:n,selectors:[["color-picker"]],viewQuery:function(e,t){if(e&1&&(Z(Un,5),Z(Qn,5)),e&2){let o;N(o=V())&&(t.hueSlider=o.first),N(o=V())&&(t.alphaSlider=o.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[ue],decls:8,vars:4,consts:[["dialogPopup",""],["hueSlider",""],["alphaSlider",""],[1,"color-picker",3,"click"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"newValue","slider","rgX","rgY"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"newValue","slider","rgX"],[1,"sliderCursor"],[1,"alpha",3,"newValue","slider","rgX"],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,t){if(e&1){let o=E();s(0,"div",3,0),_("click",function(a){return v(o),x(a.stopPropagation())}),f(2,Kn,3,8,"div",4),s(3,"div",5),f(4,qn,3,2,"div",6),s(5,"div",7),f(6,Zn,5,3,"div",8)(7,Jn,6,4,"div",9),l()()()}e&2&&(c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(),h("ngIf",t.controls!="no-alpha"))},dependencies:[Nt,nt,ho],styles:[`.color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)} +import{a as vt,e as xt,g as fn,h as ze,i as Ge}from"./chunk-VOZENGGC.js";import{a as _n,b as bt,c as Cn}from"./chunk-KGVHLG7N.js";import{a as Ct}from"./chunk-4P7ULTDI.js";import{a as Gt,d as Ui,e as Qi,f as vn,g as xn}from"./chunk-UGYWAUWL.js";import{a as tn,b as nn,c as on,d as rn,e as an,f as sn,g as ln,h as cn,i as dn,j as pn,k as mn,l as hn,m as un,n as ye,o as gn,p as _t,q as je}from"./chunk-VWQ54OR3.js";import{a as Ji,b as en}from"./chunk-5QW772YG.js";import{a as Xi,b as Wi}from"./chunk-NBUJA3ZB.js";import{a as ft,b as Zi}from"./chunk-K5EGW2EZ.js";import{a as at,b as Ti}from"./chunk-4X6VBT7Z.js";import{a as Ki,b as qi}from"./chunk-XUCLYHZN.js";import{c as R}from"./chunk-C4NPICWQ.js";import{a as ut}from"./chunk-CXMHZ5XC.js";import{a as Le,c as gt,d as zt}from"./chunk-XX6ZYDLH.js";import"./chunk-XSOJ6DN4.js";import{a as be,b as L}from"./chunk-KP473PLS.js";import{c as Gi,e as Yi,f as $i,m as ht}from"./chunk-I333ACNB.js";import{a as pt,h as mt,i as Hi,j as ji,k as zi}from"./chunk-LCKMIOUI.js";import{$ as me,$a as s,$d as Te,Aa as Ft,Ab as H,Ac as Be,Ba as di,Bb as it,C as Tt,Ca as It,Cc as Qe,Cd as Ai,D as Ee,Da as c,Db as Bt,Dc as Lt,Ea as p,Fa as pi,Fb as D,Ga as mi,Gb as M,Gd as Mi,H as ii,Hb as fi,Hd as Ei,I as de,Id as jt,Jb as _i,Lb as J,Ma as hi,Na as Ot,Nb as ee,Oa as ie,Ob as Ci,P as Pt,Pa as f,Q as kt,Qa as et,Qb as vi,Ra as h,Sa as B,Sd as rt,Ta as q,Tb as xi,Tc as yi,Ua as ui,Ub as Nt,Vb as nt,Xa as S,Xb as Oe,Y as ni,Ya as ne,Yb as bi,Yd as Pi,Z as pe,Za as X,Zb as wi,Zd as ki,_ as Y,_a as W,_b as ot,a as Ae,ab as l,ae as Ke,b as Xe,ba as he,bb as g,ca as oi,cb as U,ce as we,db as Q,de as Ne,ee as st,fb as E,g as Ze,ga as A,ha as $,he as Fi,ia as P,ib as _,ie as lt,j as Me,ja as Je,k as Et,kb as m,ke as ct,l as ei,lb as tt,le as Ii,mb as fe,na as ue,ne as Ve,o as ti,oa as v,ob as Rt,p as ce,pa as x,pb as Z,pe as dt,qa as Ie,qb as N,qc as Vt,qd as Si,qe as Oi,ra as ri,rb as V,re as Ri,sa as ai,sb as gi,se as Bi,ta as si,tb as u,tc as We,ua as li,ub as _e,uc as Re,ue as Ni,vb as w,ve as Vi,wa as ge,wb as Ce,xa as y,xb as ve,xc as k,xe as He,ya as ci,yb as xe,yc as Ue,yd as Di,ye as Li,zc as Ht}from"./chunk-MVLCGSW5.js";var Un=["hueSlider"],Qn=["alphaSlider"];function Kn(n,i){if(n&1){let e=E();s(0,"div",10),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("saturation-lightness",o))}),s(1,"div",11),g(2,"div"),l()()}if(n&2){let e=m();B("background-color",e.hueSliderColor),h("rgX",1)("rgY",1),c(),B("top",e.slider==null?null:e.slider.v,"px")("left",e.slider==null?null:e.slider.s,"px")}}function qn(n,i){if(n&1&&(s(0,"div",12),g(1,"div",13)(2,"div",14),l()),n&2){let e=m();c(2),B("background-color",e.selectedColor)}}function Zn(n,i){if(n&1){let e=E();s(0,"div",15,1),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("hue",o))}),s(2,"div",16)(3,"div"),g(4,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),B("left",e.slider==null?null:e.slider.h,"px")}}function Jn(n,i){if(n&1){let e=E();s(0,"div",17,2),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("alpha",o))}),g(2,"div",18),s(3,"div",16)(4,"div"),g(5,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),h("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),c(),B("left",e.slider==null?null:e.slider.a,"px")}}var eo=["dialog"],yn=n=>({background:n});function to(n,i){n&1&&g(0,"div",12)}function io(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",10),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.onColorClick(o))}),f(3,to,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=i.index,o=m(2);c(2),q("colornull",!e),h("ngStyle",o.getBackgroundColor(e)),c(),h("ngIf",t==o.indexSeleccionado)}}function no(n,i){if(n&1&&g(0,"div",18),n&2){let e=m(3);h("ngStyle",e.getBackgroundColor(e.color))}}function oo(n,i){if(n&1){let e=E();s(0,"div",13),_("click",function(){v(e);let o=m(2);return x(o.addColor())}),f(1,no,1,1,"div",14),Ie(),s(2,"svg",15),g(3,"path",16)(4,"path",17),l()()}if(n&2){let e=m(2);c(),h("ngIf",e.indexSeleccionado===void 0)}}function ro(n,i){if(n&1){let e=E();s(0,"color-picker",19),_("colorChange",function(o){v(e);let r=m(2);return x(r.onChangeColorPicker(o))})("onAlphaChange",function(o){v(e);let r=m(2);return x(r.onAlphaChange(o))}),l()}if(n&2){let e=m(2);h("controls",e.colorPickerControls)("color",e.hsva)}}function ao(n,i){if(n&1&&(U(0),s(1,"div",5),f(2,io,4,4,"ng-container",6)(3,oo,5,1,"div",7)(4,ro,1,2,"color-picker",8),l(),Q()),n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(),h("ngForOf",e.palette),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls!="only-alpha"),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls=="only-alpha")}}function so(n,i){n&1&&g(0,"div",12)}function lo(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",25),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.changeColor(o))}),f(3,so,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=m(2);c(2),q("colornull",!e),h("ngStyle",Bt(4,yn,e)),c(),h("ngIf",t.isSelected(e))}}function co(n,i){if(n&1){let e=E();U(0),s(1,"div",5)(2,"div",20)(3,"div",21),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(4,"svg",22),g(5,"path",23)(6,"path",24),l()()(),f(7,lo,4,6,"ng-container",6),l(),Q()}if(n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(6),h("ngForOf",e.variants)}}function po(n,i){if(n&1){let e=E();U(0),s(1,"div",26)(2,"div",27),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(3,"svg",22),g(4,"path",23)(5,"path",24),l()(),ri(),s(6,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("cancel"))}),u(7),l(),s(8,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("accept"))}),u(9),l()(),s(10,"div",29)(11,"color-picker",30),_("sliderChange",function(o){v(e);let r=m();return x(r.onChangeColorPicker(o))}),l()(),Q()}if(n&2){let e=m();c(7),w(" ",e.cancelLabel," "),c(2),w(" ",e.acceptLabel," "),c(2),h("controls",e.colorPickerControls)("color",e.hsva)}}function mo(n,i){if(n&1){let e=E();s(0,"div",31)(1,"p",32),_("click",function(){v(e);let o=m();return x(o.nextFormat())}),u(2),l(),s(3,"div",33)(4,"input",34,1),_("keyup",function(){v(e);let o=gi(5),r=m();return x(r.changeColorManual(o.value))})("keydown.enter",function(){v(e);let o=m();return x(o.emitClose("accept"))}),l()()()}if(n&2){let e=m();c(2),_e(e.colorFormats[e.format]),c(2),B("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),h("placeholder",e.placeholder)("value",e.color)}}var Yt=["hex","rgba","hsla","cmyk"],F=function(n){return n[n.HEX=0]="HEX",n[n.RGBA=1]="RGBA",n[n.HSLA=2]="HSLA",n[n.CMYK=3]="CMYK",n}(F||{}),bn=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],te=class{constructor(i,e,t,o){this.r=i,this.g=e,this.b=t,this.a=o}denormalize(){return this.r=Math.round(this.r*255),this.g=Math.round(this.g*255),this.b=Math.round(this.b*255),this}toString(){return this.denormalize(),"rgb"+(this.a!=1?"a(":"(")+this.r+", "+this.g+", "+this.b+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},K=class{constructor(i,e,t,o){this.h=i,this.s=e,this.v=t,this.a=o,this.onChange=new y(!0)}onColorChange(i){this.s=i.s/i.rgX,this.v=i.v/i.rgY}onHueChange(i){this.h=i.v/i.rgX}onValueChange(i){this.v=i.v/i.rgX}onAlphaChange(i){this.a=i.v/i.rgX}},Pe=class{constructor(i,e,t,o){this.h=i,this.s=e,this.l=t,this.a=o}denormalize(){return this.h=Math.round(this.h*360),this.s=Math.round(this.s*100),this.l=Math.round(this.l*100),this}toString(){return"hsl"+(this.a!=1?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},Se=class{constructor(i,e,t,o,r=1){this.c=i,this.m=e,this.y=t,this.k=o,this.a=r}denormalize(){return this.c=Math.round(this.c*100),this.m=Math.round(this.m*100),this.y=Math.round(this.y*100),this.k=Math.round(this.k*100),this}toString(){return this.denormalize(),"cmyk("+this.c+", "+this.m+", "+this.y+", "+this.k+")"}},$t=class{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}},yt=(()=>{class n{constructor(){}toFormat(e,t){var o="";if(e)switch(t){case F.HEX:var a=this.hsvaToRgba(e);a.denormalize();var o=this.rgbaToHex(a,!0);break;case F.HSLA:var r=this.hsva2hsla(e);r.denormalize();var o=r.toString();break;case F.RGBA:var a=this.hsvaToRgba(e),o=a.toString();break;case F.CMYK:var d=this.hsvaToCmyk(e),o=d.toString();break}return o}stringToFormat(e,t){var o=this.stringToHsva(e,!0);return this.toFormat(o,t)}hsva2hsla(e){let t=e.h,o=e.s,r=e.v,a=e.a;if(r===0)return new Pe(t,0,0,a);if(o===0&&r===1)return new Pe(t,1,1,a);{let d=r*(2-o)/2;return new Pe(t,r*o/(1-Math.abs(2*d-1)),d,a)}}hsla2hsva(e){let t=Math.min(e.h,1),o=Math.min(e.s,1),r=Math.min(e.l,1),a=Math.min(e.a,1);if(r===0)return new K(t,0,0,a);{let d=r+o*(1-Math.abs(2*r-1))/2;return new K(t,2*(d-r)/d,d,a)}}hsvaToRgba(e){let t,o,r,a=e.h,d=e.s,C=e.v,b=e.a,G=Math.floor(a*6),I=a*6-G,O=C*(1-d),$e=C*(1-I*d),De=C*(1-(1-I)*d);switch(G%6){case 0:t=C,o=De,r=O;break;case 1:t=$e,o=C,r=O;break;case 2:t=O,o=C,r=De;break;case 3:t=O,o=$e,r=C;break;case 4:t=De,o=O,r=C;break;case 5:t=C,o=O,r=$e;break;default:t=0,o=0,r=0}return new te(t,o,r,b)}cmykToRgb(e){let t=(1-e.c)*(1-e.k),o=(1-e.m)*(1-e.k),r=(1-e.y)*(1-e.k);return new te(t,o,r,e.a)}rgbaToCmyk(e){let t=1-Math.max(e.r,e.g,e.b);if(t===1)return new Se(0,0,0,1,e.a);{let o=(1-e.r-t)/(1-t),r=(1-e.g-t)/(1-t),a=(1-e.b-t)/(1-t);return new Se(o,r,a,t,e.a)}}hsvaToCmyk(e){let t=this.hsvaToRgba(e);return this.rgbaToCmyk(t)}rgbaToHsva(e){let t,o,r=Math.min(e.r,1),a=Math.min(e.g,1),d=Math.min(e.b,1),C=Math.min(e.a,1),b=Math.max(r,a,d),G=Math.min(r,a,d),I=b,O=b-G;if(o=b===0?0:O/b,b===G)t=0;else{switch(b){case r:t=(a-d)/O+(a{class n{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new y,this.dragStart=new y,this.newValue=new y,this.listenerMove=t=>this.move(t),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageX!==void 0?e.pageX:e.touches[0].pageX)-t.left-window.pageXOffset}getY(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageY!==void 0?e.pageY:e.touches[0].pageY)-t.top-window.pageYOffset}setCursor(e){let t=this.elRef.nativeElement.offsetWidth,o=this.elRef.nativeElement.offsetHeight,r=Math.max(0,Math.min(this.getX(e),t)),a=Math.max(0,Math.min(this.getY(e),o));this.rgX!==void 0&&this.rgY!==void 0?this.newValue.emit({s:r/t,v:1-a/o,rgX:this.rgX,rgY:this.rgY}):this.rgX===void 0&&this.rgY!==void 0?this.newValue.emit({v:a/o,rgY:this.rgY}):this.rgX!==void 0&&this.rgY===void 0&&this.newValue.emit({v:r/t,rgX:this.rgX})}}return n.\u0275fac=function(e){return new(e||n)(p(ge))},n.\u0275dir=P({type:n,selectors:[["","slider",""]],hostBindings:function(e,t){e&1&&_("mousedown",function(r){return t.mouseDown(r)})("touchstart",function(r){return t.touchStart(r)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),n})(),uo=(()=>{class n{constructor(e,t){this.service=e,this.cdr=t,this.color=new K(0,1,1,1),this.controls="default",this.sliderChange=new y(!1),this.onAlphaChange=new y(!1),this.hsva=new K(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new K(0,1,1,1)),this.slider=new wt(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){let e=this.hueSlider?.nativeElement.offsetWidth||140,t=this.alphaSlider?.nativeElement.offsetWidth||140;this.sliderDimMax=new Xt(e,220,130,t),this.update()}onSliderChange(e,t){switch(e){case"saturation-lightness":this.hsva.onColorChange(t);break;case"hue":this.hsva.onHueChange(t);break;case"alpha":this.hsva.onAlphaChange(t),this.onAlphaChange.emit(t);break;case"value":this.hsva.onValueChange(t);break}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),t=this.service.hsvaToRgba(new K(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+t.r+","+t.g+","+t.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new wt(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return n.\u0275fac=function(e){return new(e||n)(p(yt),p(J))},n.\u0275cmp=A({type:n,selectors:[["color-picker"]],viewQuery:function(e,t){if(e&1&&(Z(Un,5),Z(Qn,5)),e&2){let o;N(o=V())&&(t.hueSlider=o.first),N(o=V())&&(t.alphaSlider=o.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[ue],decls:8,vars:4,consts:[["dialogPopup",""],["hueSlider",""],["alphaSlider",""],[1,"color-picker",3,"click"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"newValue","slider","rgX","rgY"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"newValue","slider","rgX"],[1,"sliderCursor"],[1,"alpha",3,"newValue","slider","rgX"],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,t){if(e&1){let o=E();s(0,"div",3,0),_("click",function(a){return v(o),x(a.stopPropagation())}),f(2,Kn,3,8,"div",4),s(3,"div",5),f(4,qn,3,2,"div",6),s(5,"div",7),f(6,Zn,5,3,"div",8)(7,Jn,6,4,"div",9),l()()()}e&2&&(c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(),h("ngIf",t.controls!="no-alpha"))},dependencies:[Nt,nt,ho],styles:[`.color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)} `],encapsulation:2}),n})(),go=(()=>{class n{click(e){this.isOutside(e)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(e,t){this.service=e,this.cdr=t,this.color="#000000",this.previewColor="#000000",this.hsva=new K(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=bn,this.variants=[],this.userFormats=[],this.colorFormats=Yt,this.format=F.HEX,this.formatMap={hex:F.HEX,rgba:F.RGBA,hsla:F.HSLA,cmyk:F.CMYK},this.canChangeFormat=!0,this.menu=1,this.hideColorPicker=!1,this.hideTextInput=!1,this.colorPickerControls="default",this.placeholder="#FFFFFF"}ngOnInit(){this.setPosition(),this.hsva=this.service.stringToHsva(this.color),this.indexSeleccionado=this.findIndexSelectedColor(this.palette)}ngAfterViewInit(){this.setPositionY()}onScreenMovement(){this.setPosition(),this.setPositionY(),this.panelRef.nativeElement.style.transition||(this.panelRef.nativeElement.style.transition="transform 0.5s ease-out")}findIndexSelectedColor(e){let t;if(this.color)for(let o=0;oYt.includes(Wn))&&(this.colorFormats=De),d?this.colorFormats.includes(d)?(this.format=this.colorFormats.indexOf(d.toLowerCase()),this.canChangeFormat=!1,this.service.getFormatByString(this.color)!=d.toLowerCase()&&this.setColor(this.service.stringToHsva(this.color))):(console.error("Format provided is invalid, using HEX"),this.format=F.HEX):(this.format=this.colorFormats.indexOf(this.service.getFormatByString(this.color)),this.format<0&&(this.format=0)),this.previewColor=this.color,this.palette=r??bn,this.colorsAnimationEffect=a,$e=="top"){let Jt=this.TriggerBBox.nativeElement.getBoundingClientRect();this.positionString="transform: translateY(calc( -100% - "+Jt.height+"px ))"}}setPosition(){if(this.TriggerBBox){let t=this.TriggerBBox.nativeElement.getBoundingClientRect();this.top=t.top+t.height,t.left+250>window.innerWidth?this.left=t.right<250?window.innerWidth/2-250/2:t.right-250:this.left=t.left}}setPositionY(){let e=this.TriggerBBox.nativeElement.getBoundingClientRect(),t=this.panelRef.nativeElement.getBoundingClientRect(),o=t.height;e.bottom+o>window.innerHeight?this.positionString=e.topt.toUpperCase()==this.previewColor.toUpperCase()):!1}isSelected(e){return this.previewColor?typeof e=="string"&&e.toUpperCase()==this.previewColor.toUpperCase():!1}getBackgroundColor(e){return typeof e=="string"?{background:e}:{background:e?.preview}}onAlphaChange(e){this.palette=this.ChangeAlphaOnPalette(e,this.palette)}ChangeAlphaOnPalette(e,t){var o=[];for(let r=0;r{let e=[];if(i.validators)for(let[t,r]of Object.entries(i.validators))switch(t){case"required":r&&e.push(p.required);break;case"min":e.push(p.min(r));break;case"max":e.push(p.max(r));break;case"minLength":e.push(p.minLength(r));break;case"maxLength":e.push(p.maxLength(r));break;case"pattern":e.push(p.pattern(r));break;case"requiredTrue":r&&e.push(p.requiredTrue);break;case"email":r&&e.push(p.email);break;case le:e.push(ce(r));break;case de:e.push(ue());break;case ne:e.push(me());break;case pe:Array.isArray(r)&&r.length===2&&e.push(se(r));break}return e};function Ae(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8),_(4,"input",9)(5,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m)("placeholder",r.placeholder)("type",r.inputType)("step",r.inputArrowsStepRate||1),a(),C("matTooltip",r.help)}}function Te(i,e){if(i&1&&(n(0,"mat-option",12),l(1),o()),i&2){let t=e.$implicit;c("value",t.value),a(),N(" ",t.viewValue," ")}}function be(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8)(4,"mat-select",11),x(5,Te,2,2,"mat-option",12,F),o(),_(7,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m),a(),g(r.options),a(2),C("matTooltip",r.help)}}function Ee(i,e){if(i&1&&(n(0,"div",7)(1,"mat-checkbox",13),l(2),o(),n(3,"div",14),_(4,"mat-icon",15),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(),c("formControlName",m),a(),v(r.label),a(2),C("matTooltip",r.help)}}function Pe(i,e){if(i&1&&y(0,Ae,6,6,"div",6)(1,be,8,3,"div",6)(2,Ee,5,3,"div",7),i&2){let t=e.$implicit;u(t.inputType==="text"||t.inputType==="number"?0:-1),a(),u(t.inputType==="select"?1:-1),a(),u(t.inputType==="checkbox"?2:-1)}}function De(i,e){if(i&1&&(n(0,"div",2),P(1,4),n(2,"div",5),x(3,Pe,3,3,null,null,F),o(),D(),o()),i&2){let t=f();a(),c("formGroupName",t.controlKey),a(2),g(t.parameters)}}function Ne(i,e){i&1&&(n(0,"p",3),l(1,"No parameters configured."),o())}var s,Ie=(s=class{ngOnChanges(e){e.algorithm&&e.algorithm.currentValue&&(this.alg=e.algorithm.currentValue,this.loadParametersForAlgorithm(this.alg))}get parentFormGroup(){return this.controlContainer.control}get paramsFormGroup(){return this.parentFormGroup.get(this.controlKey)}get parametersFormArray(){return this.paramsFormGroup.get("parametersArray")}constructor(e,t,r,m){this.fb=e,this.controlContainer=t,this.parametersFacadeService=r,this.scriptFacadeService=m,this.controlKey="",this.RoutesList=O,this.alg=ge,this.isScriptActive=!1,this.parameters=[]}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.parentFormGroup.addControl(this.controlKey,new K({parametersArray:new U([])}))}loadParametersForAlgorithm(e){this.parametersFacadeService.dispatch(Me.loadParameters({arg:e})),this.parametersFacadeService.parameters$.pipe(I(t=>t[e]?.data||[]),A(1),M(this)).subscribe(t=>{this.buildFormArray(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(M(this)).subscribe(e=>{this.isScriptActive=ae(e)})}buildFormArray(e){this.parametersFormArray.clear(),e.forEach(t=>{let r=this.fb.control(t.defaultValue,Se(t));this.parametersFormArray.push(r)}),this.isScriptActive?this.paramsFormGroup.disable():this.paramsFormGroup.enable(),this.parameters=e}get parametersFormatted(){let e={},t=this.parametersFormArray.getRawValue();return this.parameters.forEach((r,m)=>{e[r.argName]=t[m]}),e}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},s.\u0275fac=function(t){return new(t||s)(d(H),d(h),d(xe),d(oe))},s.\u0275cmp=b({type:s,selectors:[["ms-panel-parameters"]],inputs:{controlKey:"controlKey",algorithm:"algorithm"},standalone:!0,features:[k([],[{provide:h,useFactory:()=>T(h,{skipSelf:!0})}]),E,V],decls:5,vars:1,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[1,"parameters-wrapper"],[1,"no-parameters-message"],[3,"formGroupName"],["formArrayName","parametersArray"],[1,"form-field-container"],[1,"form-field-container","inline-container","mb-[22px]"],["appearance","outline"],["matInput","","msErrorDisplay","",3,"formControlName","placeholder","type","step"],["fontSet","ms","fontIcon","icon-Info","matSuffix","",3,"matTooltip"],["msErrorDisplay","",3,"formControlName"],[3,"value"],[3,"formControlName"],[1,"ml-2"],["fontSet","ms","fontIcon","icon-Info",3,"matTooltip"]],template:function(t,r){t&1&&(n(0,"mat-card",0)(1,"p",1),l(2,"Parameters"),o(),y(3,De,5,1,"div",2)(4,Ne,2,0,"p",3),o()),t&2&&(a(3),u(r.parameters.length?3:4))},dependencies:[te,ee,J,Y,z,X,G,$,w,B,j,q,ve,Ce,Q,Fe,ye,R,ie,re,_e,he,Z,W,fe],styles:[".parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%]{max-height:400px;overflow:auto;padding-right:20px}.parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%] .parameter-divider[_ngcontent-%COMP%]{margin-bottom:20px}"]}),s);Ie=S([L()],Ie);export{Ie as a}; +import{a as Me}from"./chunk-CKI3LALG.js";import{a as ye,b as Fe}from"./chunk-K5EGW2EZ.js";import{a as he,b as _e}from"./chunk-JKB4DNVM.js";import{d as ge}from"./chunk-25FQYPXL.js";import{a as Ce,b as ve}from"./chunk-XUCLYHZN.js";import{b as ae}from"./chunk-C4NPICWQ.js";import{a as ne,b as me,c as pe,d as se,e as le,f as ce,g as de,h as ue,i as fe}from"./chunk-PMG2IJPH.js";import{a as re,b as ie}from"./chunk-CXMHZ5XC.js";import{b as oe,l as xe}from"./chunk-XSOJ6DN4.js";import{a as L,b as M}from"./chunk-KP473PLS.js";import{a as Y,d as z,h as J,i as Q,j as ee,k as te}from"./chunk-LCKMIOUI.js";import{$a as n,$d as p,Ab as k,Bb as V,Da as a,Ea as d,P as A,Pa as y,Ra as c,Sd as R,Xa as u,Ya as F,Za as x,Zd as G,_a as g,ab as o,ae as h,bb as _,bd as O,ca as T,cb as P,ce as $,db as D,de as w,ee as K,ga as b,kb as f,le as j,me as q,na as E,nb as C,ne as B,oe as U,p as S,pe as H,re as X,tb as l,ub as v,vb as N,w as I,xe as W,ye as Z}from"./chunk-MVLCGSW5.js";var Se=i=>{let e=[];if(i.validators)for(let[t,r]of Object.entries(i.validators))switch(t){case"required":r&&e.push(p.required);break;case"min":e.push(p.min(r));break;case"max":e.push(p.max(r));break;case"minLength":e.push(p.minLength(r));break;case"maxLength":e.push(p.maxLength(r));break;case"pattern":e.push(p.pattern(r));break;case"requiredTrue":r&&e.push(p.requiredTrue);break;case"email":r&&e.push(p.email);break;case le:e.push(ce(r));break;case de:e.push(ue());break;case ne:e.push(me());break;case pe:Array.isArray(r)&&r.length===2&&e.push(se(r));break}return e};function Ae(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8),_(4,"input",9)(5,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m)("placeholder",r.placeholder)("type",r.inputType)("step",r.inputArrowsStepRate||1),a(),C("matTooltip",r.help)}}function Te(i,e){if(i&1&&(n(0,"mat-option",12),l(1),o()),i&2){let t=e.$implicit;c("value",t.value),a(),N(" ",t.viewValue," ")}}function be(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8)(4,"mat-select",11),x(5,Te,2,2,"mat-option",12,F),o(),_(7,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m),a(),g(r.options),a(2),C("matTooltip",r.help)}}function Ee(i,e){if(i&1&&(n(0,"div",7)(1,"mat-checkbox",13),l(2),o(),n(3,"div",14),_(4,"mat-icon",15),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(),c("formControlName",m),a(),v(r.label),a(2),C("matTooltip",r.help)}}function Pe(i,e){if(i&1&&y(0,Ae,6,6,"div",6)(1,be,8,3,"div",6)(2,Ee,5,3,"div",7),i&2){let t=e.$implicit;u(t.inputType==="text"||t.inputType==="number"?0:-1),a(),u(t.inputType==="select"?1:-1),a(),u(t.inputType==="checkbox"?2:-1)}}function De(i,e){if(i&1&&(n(0,"div",2),P(1,4),n(2,"div",5),x(3,Pe,3,3,null,null,F),o(),D(),o()),i&2){let t=f();a(),c("formGroupName",t.controlKey),a(2),g(t.parameters)}}function Ne(i,e){i&1&&(n(0,"p",3),l(1,"No parameters configured."),o())}var s,Ie=(s=class{ngOnChanges(e){e.algorithm&&e.algorithm.currentValue&&(this.alg=e.algorithm.currentValue,this.loadParametersForAlgorithm(this.alg))}get parentFormGroup(){return this.controlContainer.control}get paramsFormGroup(){return this.parentFormGroup.get(this.controlKey)}get parametersFormArray(){return this.paramsFormGroup.get("parametersArray")}constructor(e,t,r,m){this.fb=e,this.controlContainer=t,this.parametersFacadeService=r,this.scriptFacadeService=m,this.controlKey="",this.RoutesList=O,this.alg=ge,this.isScriptActive=!1,this.parameters=[]}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.parentFormGroup.addControl(this.controlKey,new K({parametersArray:new U([])}))}loadParametersForAlgorithm(e){this.parametersFacadeService.dispatch(Me.loadParameters({arg:e})),this.parametersFacadeService.parameters$.pipe(I(t=>t[e]?.data||[]),A(1),M(this)).subscribe(t=>{this.buildFormArray(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(M(this)).subscribe(e=>{this.isScriptActive=ae(e)})}buildFormArray(e){this.parametersFormArray.clear(),e.forEach(t=>{let r=this.fb.control(t.defaultValue,Se(t));this.parametersFormArray.push(r)}),this.isScriptActive?this.paramsFormGroup.disable():this.paramsFormGroup.enable(),this.parameters=e}get parametersFormatted(){let e={},t=this.parametersFormArray.getRawValue();return this.parameters.forEach((r,m)=>{e[r.argName]=t[m]}),e}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},s.\u0275fac=function(t){return new(t||s)(d(H),d(h),d(xe),d(oe))},s.\u0275cmp=b({type:s,selectors:[["ms-panel-parameters"]],inputs:{controlKey:"controlKey",algorithm:"algorithm"},standalone:!0,features:[k([],[{provide:h,useFactory:()=>T(h,{skipSelf:!0})}]),E,V],decls:5,vars:1,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[1,"parameters-wrapper"],[1,"no-parameters-message"],[3,"formGroupName"],["formArrayName","parametersArray"],[1,"form-field-container"],[1,"form-field-container","inline-container","mb-[22px]"],["appearance","outline"],["matInput","","msErrorDisplay","",3,"formControlName","placeholder","type","step"],["fontSet","ms","fontIcon","icon-Info","matSuffix","",3,"matTooltip"],["msErrorDisplay","",3,"formControlName"],[3,"value"],[3,"formControlName"],[1,"ml-2"],["fontSet","ms","fontIcon","icon-Info",3,"matTooltip"]],template:function(t,r){t&1&&(n(0,"mat-card",0)(1,"p",1),l(2,"Parameters"),o(),y(3,De,5,1,"div",2)(4,Ne,2,0,"p",3),o()),t&2&&(a(3),u(r.parameters.length?3:4))},dependencies:[te,ee,J,Y,z,X,G,$,w,B,j,q,ve,Ce,Q,Fe,ye,R,ie,re,_e,he,Z,W,fe],styles:[".parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%]{max-height:400px;overflow:auto;padding-right:20px}.parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%] .parameter-divider[_ngcontent-%COMP%]{margin-bottom:20px}"]}),s);Ie=S([L()],Ie);export{Ie as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-D7DPXC3A.js b/frontend/server/modelsmith-build/browser/chunk-CKI3LALG.js similarity index 67% rename from frontend/server/modelsmith-build/browser/chunk-D7DPXC3A.js rename to frontend/server/modelsmith-build/browser/chunk-CKI3LALG.js index e4a05910..d1038dc6 100644 --- a/frontend/server/modelsmith-build/browser/chunk-D7DPXC3A.js +++ b/frontend/server/modelsmith-build/browser/chunk-CKI3LALG.js @@ -1 +1 @@ -import{Hc as e,Ic as r}from"./chunk-MDAOMI2L.js";var o=r({source:"[Core -> Parameter]",events:{"Load Parameters":e(),"Load Parameters Success":e(),"Load Parameters Failure":e()}});export{o as a}; +import{Ic as e,Jc as r}from"./chunk-MVLCGSW5.js";var o=r({source:"[Core -> Parameter]",events:{"Load Parameters":e(),"Load Parameters Success":e(),"Load Parameters Failure":e()}});export{o as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-JG6SCBOL.js b/frontend/server/modelsmith-build/browser/chunk-CXMHZ5XC.js similarity index 96% rename from frontend/server/modelsmith-build/browser/chunk-JG6SCBOL.js rename to frontend/server/modelsmith-build/browser/chunk-CXMHZ5XC.js index 951382c2..edae7e8b 100644 --- a/frontend/server/modelsmith-build/browser/chunk-JG6SCBOL.js +++ b/frontend/server/modelsmith-build/browser/chunk-CXMHZ5XC.js @@ -1 +1 @@ -import{b as st,n as nt,p as rt,s as m,v as at}from"./chunk-WXERLI5K.js";import{$ as u,$a as y,Aa as M,Ab as B,Bd as it,Cd as et,Da as S,Dd as ot,Ea as r,Hd as w,Ja as x,Kb as Z,La as N,Ma as k,Pb as $,Ra as V,Rb as Q,S as h,Sa as Y,Ta as v,Zb as W,_ as C,a as d,ab as j,ca as g,cd as T,dd as I,fb as H,ga as P,ha as E,ia as R,ib as b,id as q,j as f,kd as K,oa as A,pa as O,pb as z,pd as J,qb as F,rb as X,tb as G,ua as L,ub as U,vd as tt,wa as p}from"./chunk-MDAOMI2L.js";var ut=["tooltip"],ct=20;var dt=new u("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=g(m);return()=>a.scrollStrategies.reposition({scrollThrottle:ct})}});function gt(a){return()=>a.scrollStrategies.reposition({scrollThrottle:ct})}var vt={provide:dt,deps:[m],useFactory:gt};function yt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var bt=new u("mat-tooltip-default-options",{providedIn:"root",factory:yt});var lt="tooltip-panel",ht=K({passive:!0}),Tt=8,It=8,wt=24,Dt=200,Kt=(()=>{let s=class s{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=T(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=T(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=I(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=I(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,e,o,n,c,_,pt,mt,D,l,_t){this._overlay=t,this._elementRef=i,this._scrollDispatcher=e,this._viewContainerRef=o,this._ngZone=n,this._platform=c,this._ariaDescriber=_,this._focusMonitor=pt,this._dir=D,this._defaultOptions=l,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Ct,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f,this._injector=g(L),this._scrollStrategy=mt,this._document=_t,l&&(this._showDelay=l.showDelay,this._hideDelay=l.hideDelay,l.position&&(this.position=l.position),l.positionAtOrigin&&(this.positionAtOrigin=l.positionAtOrigin),l.touchGestures&&(this.touchGestures=l.touchGestures)),D.change.pipe(h(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Tt}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(h(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,e])=>{t.removeEventListener(i,e,ht)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let e=this._createOverlay(i);this._detach(),this._portal=this._portal||new st(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=e.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(h(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof p)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return e.positionChanges.pipe(h(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${lt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(h(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(h(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(h(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!J(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,e=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(d(d({},e.main),o.main)),this._addOffset(d(d({},e.fallback),o.fallback))])}_addOffset(t){let i=It,e=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-i:t.originY==="bottom"?t.offsetY=i:t.originX==="start"?t.offsetX=e?-i:i:t.originX==="end"&&(t.offsetX=e?i:-i),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"||i=="below"?e={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={originX:"end",originY:"center"});let{x:o,y:n}=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:o,originY:n}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"?e={overlayX:"center",overlayY:"bottom"}:i=="below"?e={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={overlayX:"start",overlayY:"center"});let{x:o,y:n}=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:o,overlayY:n}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),N(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:e,originY:o}=t,n;if(i==="center"?this._dir&&this._dir.value==="rtl"?n=e==="end"?"left":"right":n=e==="start"?"left":"right":n=i==="bottom"&&o==="top"?"above":"below",n!==this._currentPosition){let c=this._overlayRef;if(c){let _=`${this._cssClassPrefix}-${lt}-`;c.removePanelClass(_+this._currentPosition),c.addPanelClass(_+n)}this._currentPosition=n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],e=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,e),this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let e=i.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,e])=>{this._elementRef.nativeElement.addEventListener(i,e,ht)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),e=this._elementRef.nativeElement;i!==e&&!e.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,e=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),(t==="on"||!i.draggable)&&(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent"}}};s.\u0275fac=function(i){return new(i||s)(r(m),r(p),r(nt),r(k),r(x),r(q),r(tt),r(it),r(dt),r(ot),r(bt,8),r($))},s.\u0275dir=R({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,e){i&2&&v("mat-mdc-tooltip-disabled",e.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let a=s;return a})(),Ct=(()=>{let s=class s{constructor(t,i,e){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new f,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=e==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>wt&&t.width>=Dt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,e=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:e),i.classList.add(t?e:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let n=getComputedStyle(i);(n.getPropertyValue("animation-duration")==="0s"||n.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};s.\u0275fac=function(i){return new(i||s)(r(Z),r(p),r(M,8))},s.\u0275cmp=P({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(i,e){if(i&1&&z(ut,7),i&2){let o;F(o=X())&&(e._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,e){i&1&&b("mouseleave",function(n){return e._handleMouseLeave(n)}),i&2&&Y("zoom",e.isVisible()?1:null)},standalone:!0,features:[B],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,e){if(i&1){let o=H();y(0,"div",1,0),b("animationend",function(c){return A(o),O(e._handleAnimationEnd(c))}),y(2,"div",2),G(3),j()()}i&2&&(v("mdc-tooltip--multiline",e._isMultiline),V("ngClass",e.tooltipClass),S(3),U(e.message))},dependencies:[Q],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color);color:var(--mdc-plain-tooltip-supporting-text-color);border-radius:var(--mdc-plain-tooltip-container-shape);font-family:var(--mdc-plain-tooltip-supporting-text-font);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let a=s;return a})();var Jt=(()=>{let s=class s{};s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=E({type:s}),s.\u0275inj=C({providers:[vt],imports:[et,W,at,w,w,rt]});let a=s;return a})();export{Kt as a,Jt as b}; +import{b as st,n as nt,p as rt,s as m,v as at}from"./chunk-I333ACNB.js";import{$ as u,$a as y,Aa as M,Bb as B,Cd as it,Da as S,Dd as et,Ea as r,Ed as ot,Id as w,Ja as x,La as N,Lb as Z,Ma as k,Qb as $,Ra as V,S as h,Sa as Y,Sb as Q,Ta as v,_ as C,_b as W,a as d,ab as j,ca as g,dd as T,ed as I,fb as H,ga as P,ha as E,ia as R,ib as b,j as f,jd as q,ld as K,oa as A,pa as O,pb as z,qb as F,qd as J,rb as X,tb as G,ua as L,ub as U,wa as p,wd as tt}from"./chunk-MVLCGSW5.js";var ut=["tooltip"],ct=20;var dt=new u("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=g(m);return()=>a.scrollStrategies.reposition({scrollThrottle:ct})}});function gt(a){return()=>a.scrollStrategies.reposition({scrollThrottle:ct})}var vt={provide:dt,deps:[m],useFactory:gt};function yt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var bt=new u("mat-tooltip-default-options",{providedIn:"root",factory:yt});var lt="tooltip-panel",ht=K({passive:!0}),Tt=8,It=8,wt=24,Dt=200,Kt=(()=>{let s=class s{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=T(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=T(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=I(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=I(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,e,o,n,c,_,pt,mt,D,l,_t){this._overlay=t,this._elementRef=i,this._scrollDispatcher=e,this._viewContainerRef=o,this._ngZone=n,this._platform=c,this._ariaDescriber=_,this._focusMonitor=pt,this._dir=D,this._defaultOptions=l,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Ct,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f,this._injector=g(L),this._scrollStrategy=mt,this._document=_t,l&&(this._showDelay=l.showDelay,this._hideDelay=l.hideDelay,l.position&&(this.position=l.position),l.positionAtOrigin&&(this.positionAtOrigin=l.positionAtOrigin),l.touchGestures&&(this.touchGestures=l.touchGestures)),D.change.pipe(h(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Tt}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(h(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,e])=>{t.removeEventListener(i,e,ht)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let e=this._createOverlay(i);this._detach(),this._portal=this._portal||new st(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=e.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(h(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof p)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return e.positionChanges.pipe(h(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${lt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(h(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(h(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(h(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!J(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,e=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(d(d({},e.main),o.main)),this._addOffset(d(d({},e.fallback),o.fallback))])}_addOffset(t){let i=It,e=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-i:t.originY==="bottom"?t.offsetY=i:t.originX==="start"?t.offsetX=e?-i:i:t.originX==="end"&&(t.offsetX=e?i:-i),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"||i=="below"?e={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={originX:"end",originY:"center"});let{x:o,y:n}=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:o,originY:n}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"?e={overlayX:"center",overlayY:"bottom"}:i=="below"?e={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={overlayX:"start",overlayY:"center"});let{x:o,y:n}=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:o,overlayY:n}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),N(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:e,originY:o}=t,n;if(i==="center"?this._dir&&this._dir.value==="rtl"?n=e==="end"?"left":"right":n=e==="start"?"left":"right":n=i==="bottom"&&o==="top"?"above":"below",n!==this._currentPosition){let c=this._overlayRef;if(c){let _=`${this._cssClassPrefix}-${lt}-`;c.removePanelClass(_+this._currentPosition),c.addPanelClass(_+n)}this._currentPosition=n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],e=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,e),this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let e=i.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,e])=>{this._elementRef.nativeElement.addEventListener(i,e,ht)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),e=this._elementRef.nativeElement;i!==e&&!e.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,e=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),(t==="on"||!i.draggable)&&(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent"}}};s.\u0275fac=function(i){return new(i||s)(r(m),r(p),r(nt),r(k),r(x),r(q),r(tt),r(it),r(dt),r(ot),r(bt,8),r($))},s.\u0275dir=R({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,e){i&2&&v("mat-mdc-tooltip-disabled",e.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let a=s;return a})(),Ct=(()=>{let s=class s{constructor(t,i,e){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new f,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=e==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>wt&&t.width>=Dt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,e=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:e),i.classList.add(t?e:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let n=getComputedStyle(i);(n.getPropertyValue("animation-duration")==="0s"||n.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};s.\u0275fac=function(i){return new(i||s)(r(Z),r(p),r(M,8))},s.\u0275cmp=P({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(i,e){if(i&1&&z(ut,7),i&2){let o;F(o=X())&&(e._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,e){i&1&&b("mouseleave",function(n){return e._handleMouseLeave(n)}),i&2&&Y("zoom",e.isVisible()?1:null)},standalone:!0,features:[B],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,e){if(i&1){let o=H();y(0,"div",1,0),b("animationend",function(c){return A(o),O(e._handleAnimationEnd(c))}),y(2,"div",2),G(3),j()()}i&2&&(v("mdc-tooltip--multiline",e._isMultiline),V("ngClass",e.tooltipClass),S(3),U(e.message))},dependencies:[Q],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color);color:var(--mdc-plain-tooltip-supporting-text-color);border-radius:var(--mdc-plain-tooltip-container-shape);font-family:var(--mdc-plain-tooltip-supporting-text-font);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let a=s;return a})();var Jt=(()=>{let s=class s{};s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=E({type:s}),s.\u0275inj=C({providers:[vt],imports:[et,W,at,w,w,rt]});let a=s;return a})();export{Kt as a,Jt as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-DZ5JICVV.js b/frontend/server/modelsmith-build/browser/chunk-DZ5JICVV.js deleted file mode 100644 index 6b01d8bb..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-DZ5JICVV.js +++ /dev/null @@ -1,6 +0,0 @@ -import{a as Si,b as xi,c as Ei,d as Ci,e as Di,f as _i,g as wi,h as Mi,i as yi,j as Oi,k as Ii,l as qi,m as O,n as Pi,o as I,p as M,q as ke}from"./chunk-7MILYS6Z.js";import{a as ci,b as di}from"./chunk-DHK6QHGP.js";import{a as ii,b as ni,c as ai}from"./chunk-HAH6VDBE.js";import{a as pi,b as fi,c as vi,d as tt,e as it,f as gi,g as hi,h as bi}from"./chunk-ATNEYJ22.js";import{a as Kt,b as Xt,c as Yt,d as Zt}from"./chunk-6WFPQN4T.js";import{a as oi,b as li,c as mi,d as me}from"./chunk-PZX2WEPM.js";import{a as si,b as ui}from"./chunk-WGAUYJ4P.js";import{a as ei,b as ti}from"./chunk-UIR5RKCN.js";import{a as h,b as Nt}from"./chunk-FELGKJRN.js";import{a as oe,b as ri}from"./chunk-FODXYRF6.js";import{i as Jt}from"./chunk-Z6QRPUWD.js";import{a as qe,b as Pe,c as le,d as Te}from"./chunk-UWC6A2K5.js";import{c as Ti}from"./chunk-MCE6M2DX.js";import{a as Ot}from"./chunk-O6HMI7CW.js";import{c as Ut,e as Gt,f as $t,l as Qt}from"./chunk-WXERLI5K.js";import{a as Me,b as Wt,h as ye,i as jt,j as Ie,k as Ht}from"./chunk-BTHDGCD5.js";import{$a as t,Ab as he,Ac as Ze,Bb as ne,Bc as Je,Bd as qt,Cb as _,Da as u,Db as pe,Dd as Pt,Ea as d,Fa as Ve,Hb as ae,Hd as et,I as P,Jd as ve,K as st,Kb as Ge,Ld as Tt,Ma as St,Md as kt,Na as H,Pa as x,Q as ut,Qa as se,R as ct,Ra as c,Rd as At,S as ze,Ta as B,Va as xt,Vb as $e,Wa as Et,Xa as F,Y as dt,Ya as Z,Yd as Se,Z as pt,Za as J,Zb as be,_ as K,_a as ee,_d as V,ab as e,ad as y,bb as a,be as re,ca as ft,cb as ue,ce as xe,da as vt,db as ce,de as Ft,ea as gt,eb as U,fb as T,g as ot,ga as f,gb as We,ge as Rt,ha as X,he as Ee,ia as Y,ib as v,id as It,j as Le,je as Ce,kb as g,kc as Mt,lb as je,mb as He,mc as yt,me as De,oa as C,ob as de,oe as _e,p as lt,pa as D,pb as Ct,pc as fe,pe as Lt,qb as te,qe as zt,rb as ie,re as w,sa as ge,sb as E,sc as Qe,se as Bt,tb as i,tc as Ke,te as we,ub as R,uc as Xe,ue as Vt,vb as k,w as mt,wa as Be,wb as Dt,wc as G,we as A,xa as ht,xb as _t,xc as $,xe as Oe,ya as bt,yb as wt,zb as Ue,zc as Ye}from"./chunk-MDAOMI2L.js";function yn(o,n){if(o&1&&U(0,2),o&2){let s=g();c("ngTemplateOutlet",s.iconOverrides[s.state])("ngTemplateOutletContext",s._getIconContext())}}function On(o,n){if(o&1&&(t(0,"span",7),i(1),e()),o&2){let s=g(2);u(),R(s._getDefaultTextForState(s.state))}}function In(o,n){if(o&1&&(t(0,"span",8),i(1),e()),o&2){let s=g(3);u(),R(s._intl.completedLabel)}}function qn(o,n){if(o&1&&(t(0,"span",8),i(1),e()),o&2){let s=g(3);u(),R(s._intl.editableLabel)}}function Pn(o,n){if(o&1&&(x(0,In,2,1,"span",8)(1,qn,2,1,"span",8),t(2,"mat-icon",7),i(3),e()),o&2){let s=g(2);F(s.state==="done"?0:s.state==="edit"?1:-1),u(3),R(s._getDefaultTextForState(s.state))}}function Tn(o,n){if(o&1&&x(0,On,2,1,"span",7)(1,Pn,4,2,"mat-icon",7),o&2){let s,l=g();F((s=l.state)==="number"?0:1)}}function kn(o,n){o&1&&(t(0,"div",4),U(1,9),e()),o&2&&(u(),c("ngTemplateOutlet",n.template))}function An(o,n){if(o&1&&(t(0,"div",4),i(1),e()),o&2){let s=g();u(),R(s.label)}}function Nn(o,n){if(o&1&&(t(0,"div",5),i(1),e()),o&2){let s=g();u(),R(s._intl.optionalLabel)}}function Fn(o,n){if(o&1&&(t(0,"div",6),i(1),e()),o&2){let s=g();u(),R(s.errorMessage)}}var Ai=["*"];function Rn(o,n){}function Ln(o,n){if(o&1&&(He(0),x(1,Rn,0,0,"ng-template",0)),o&2){let s=g();u(),c("cdkPortalOutlet",s._portal)}}var Ni=(o,n)=>({step:o,i:n}),Fi=o=>({animationDuration:o}),Ri=(o,n)=>({value:o,params:n});function zn(o,n){o&1&&He(0)}function Bn(o,n){o&1&&a(0,"div",6)}function Vn(o,n){if(o&1&&(U(0,5),x(1,Bn,1,0,"div",6)),o&2){let s=n.$implicit,l=n.$index,r=n.$count;g(2);let m=E(4);c("ngTemplateOutlet",m)("ngTemplateOutletContext",pe(3,Ni,s,l)),u(),F(l!==r-1?1:-1)}}function Wn(o,n){if(o&1){let s=T();t(0,"div",7),v("@horizontalStepTransition.done",function(r){C(s);let m=g(2);return D(m._animationDone.next(r))}),U(1,8),e()}if(o&2){let s=n.$implicit,l=n.$index,r=g(2);B("mat-horizontal-stepper-content-inactive",r.selectedIndex!==l),c("@horizontalStepTransition",pe(8,Ri,r._getAnimationDirection(l),_(6,Fi,r._getAnimationDuration())))("id",r._getStepContentId(l)),se("aria-labelledby",r._getStepLabelId(l)),u(),c("ngTemplateOutlet",s.content)}}function jn(o,n){if(o&1&&(t(0,"div",1)(1,"div",2),J(2,Vn,2,6,null,null,Z),e(),t(4,"div",3),J(5,Wn,2,11,"div",4,Z),e()()),o&2){let s=g();u(2),ee(s.steps),u(3),ee(s.steps)}}function Hn(o,n){if(o&1){let s=T();t(0,"div",9),U(1,5),t(2,"div",10)(3,"div",11),v("@verticalStepTransition.done",function(r){C(s);let m=g(2);return D(m._animationDone.next(r))}),t(4,"div",12),U(5,8),e()()()()}if(o&2){let s=n.$implicit,l=n.$index,r=n.$count,m=g(2),p=E(4);u(),c("ngTemplateOutlet",p)("ngTemplateOutletContext",pe(10,Ni,s,l)),u(),B("mat-stepper-vertical-line",l!==r-1),u(),B("mat-vertical-stepper-content-inactive",m.selectedIndex!==l),c("@verticalStepTransition",pe(15,Ri,m._getAnimationDirection(l),_(13,Fi,m._getAnimationDuration())))("id",m._getStepContentId(l)),se("aria-labelledby",m._getStepLabelId(l)),u(2),c("ngTemplateOutlet",s.content)}}function Un(o,n){if(o&1&&J(0,Hn,6,18,"div",9,Z),o&2){let s=g();ee(s.steps)}}function Gn(o,n){if(o&1){let s=T();t(0,"mat-step-header",13),v("click",function(){let r=C(s).step;return D(r.select())})("keydown",function(r){C(s);let m=g();return D(m._onKeydown(r))}),e()}if(o&2){let s=n.step,l=n.i,r=g();B("mat-horizontal-stepper-header",r.orientation==="horizontal")("mat-vertical-stepper-header",r.orientation==="vertical"),c("tabIndex",r._getFocusIndex()===l?0:-1)("id",r._getStepLabelId(l))("index",l)("state",r._getIndicatorType(l,s.state))("label",s.stepLabel||s.label)("selected",r.selectedIndex===l)("active",r._stepIsNavigable(l,s))("optional",s.optional)("errorMessage",s.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(l,s))("color",s.color||r.color),se("aria-posinset",l+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(l))("aria-selected",r.selectedIndex==l)("aria-label",s.ariaLabel||null)("aria-labelledby",!s.ariaLabel&&s.ariaLabelledby?s.ariaLabelledby:null)("aria-disabled",r._stepIsNavigable(l,s)?null:!0)}}var nt=(()=>{let n=class n extends fi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["","matStepLabel",""]],standalone:!0,features:[H]});let o=n;return o})(),Ae=(()=>{let n=class n{constructor(){this.changes=new Le,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=pt({token:n,factory:n.\u0275fac,providedIn:"root"});let o=n;return o})();function $n(o){return o||new Ae}var Qn={provide:Ae,deps:[[new vt,new gt,Ae]],useFactory:$n},at=(()=>{let n=class n extends pi{constructor(l,r,m,p){super(m),this._intl=l,this._focusMonitor=r,this._intlSubscription=l.changes.subscribe(()=>p.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(l,r){l?this._focusMonitor.focusVia(this._elementRef,l,r):this._elementRef.nativeElement.focus(r)}_stringLabel(){return this.label instanceof nt?null:this.label}_templateLabel(){return this.label instanceof nt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(l){return l=="number"?`${this.index+1}`:l=="edit"?"create":l=="error"?"warning":l}};n.\u0275fac=function(r){return new(r||n)(d(Ae),d(qt),d(Be),d(Ge))},n.\u0275cmp=f({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(r,m){r&2&&xt("mat-"+(m.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[H,he],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(r,m){if(r&1&&(a(0,"div",0),t(1,"div")(2,"div",1),x(3,yn,1,2,"ng-container",2)(4,Tn,2,1),e()(),t(5,"div",3),x(6,kn,2,1,"div",4)(7,An,2,1,"div",4)(8,Nn,2,1,"div",5)(9,Fn,2,1,"div",6),e()),r&2){let p;c("matRippleTrigger",m._getHostElement())("matRippleDisabled",m.disableRipple),u(),Et("mat-step-icon-state-",m.state," mat-step-icon"),B("mat-step-icon-selected",m.selected),u(2),F(m.iconOverrides&&m.iconOverrides[m.state]?3:4),u(2),B("mat-step-label-active",m.active)("mat-step-label-selected",m.selected)("mat-step-label-error",m.state=="error"),u(),F((p=m._templateLabel())?6:m._stringLabel()?7:-1,p),u(2),F(m.optional&&m.state!="error"?8:-1),u(),F(m.state==="error"?9:-1)}},dependencies:[Tt,$e,A],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let o=n;return o})(),Li="500ms",zi="225ms",ki={horizontalStepTransition:Qe("horizontalStepTransition",[$("previous",G({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),$("current",G({transform:"none",visibility:"inherit"})),$("next",G({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Ye("* => *",Xe([Ke("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Je("@*",Ze(),{optional:!0})]),{params:{animationDuration:Li}})]),verticalStepTransition:Qe("verticalStepTransition",[$("previous",G({height:"0px",visibility:"hidden"})),$("next",G({height:"0px",visibility:"hidden"})),$("current",G({height:"*",visibility:"inherit"})),Ye("* <=> current",Xe([Ke("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Je("@*",Ze(),{optional:!0})]),{params:{animationDuration:zi}})])},Kn=(()=>{let n=class n{constructor(l){this.templateRef=l}};n.\u0275fac=function(r){return new(r||n)(d(Ve))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});let o=n;return o})(),Xn=(()=>{let n=class n{constructor(l){this._template=l}};n.\u0275fac=function(r){return new(r||n)(d(Ve))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matStepContent",""]],standalone:!0});let o=n;return o})(),rt=(()=>{let n=class n extends tt{constructor(l,r,m,p){super(l,p),this._errorStateMatcher=r,this._viewContainerRef=m,this._isSelected=ot.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(ct(()=>this._stepper.selectionChange.pipe(mt(l=>l.selectedStep===this),ut(this._stepper.selected===this)))).subscribe(l=>{l&&this._lazyContent&&!this._portal&&(this._portal=new Ut(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(l,r){let m=this._errorStateMatcher.isErrorState(l,r),p=!!(l&&l.invalid&&this.interacted);return m||p}};n.\u0275fac=function(r){return new(r||n)(d(dt(()=>Ne)),d(ve,4),d(St),d(vi,8))},n.\u0275cmp=f({type:n,selectors:[["mat-step"]],contentQueries:function(r,m,p){if(r&1&&(de(p,nt,5),de(p,Xn,5)),r&2){let S;te(S=ie())&&(m.stepLabel=S.first),te(S=ie())&&(m._lazyContent=S.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[Ue([{provide:ve,useExisting:n},{provide:tt,useExisting:n}]),H,he],ngContentSelectors:Ai,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(r,m){r&1&&(je(),x(0,Ln,2,1,"ng-template"))},dependencies:[Gt],encapsulation:2,changeDetection:0});let o=n;return o})(),Ne=(()=>{let n=class n extends it{get animationDuration(){return this._animationDuration}set animationDuration(l){this._animationDuration=/^\d+$/.test(l)?l+"ms":l}constructor(l,r,m){super(l,r,m),this._stepHeader=void 0,this._steps=void 0,this.steps=new bt,this.animationDone=new ht,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Le,this._animationDuration="",this._isServer=!ft(It).isBrowser;let p=m.nativeElement.nodeName.toLowerCase();this.orientation=p==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:l,templateRef:r})=>this._iconOverrides[l]=r),this.steps.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(st((l,r)=>l.fromState===r.fromState&&l.toState===r.toState),ze(this._destroyed)).subscribe(l=>{l.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(l,r){return r.completed||this.selectedIndex===l||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?Li:zi}};n.\u0275fac=function(r){return new(r||n)(d(Pt,8),d(Ge),d(Be))},n.\u0275cmp=f({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(r,m,p){if(r&1&&(de(p,rt,5),de(p,Kn,5)),r&2){let S;te(S=ie())&&(m._steps=S),te(S=ie())&&(m._icons=S)}},viewQuery:function(r,m){if(r&1&&Ct(at,5),r&2){let p;te(p=ie())&&(m._stepHeader=p)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(r,m){r&2&&(se("aria-orientation",m.orientation),B("mat-stepper-horizontal",m.orientation==="horizontal")("mat-stepper-vertical",m.orientation==="vertical")("mat-stepper-label-position-end",m.orientation==="horizontal"&&m.labelPosition=="end")("mat-stepper-label-position-bottom",m.orientation==="horizontal"&&m.labelPosition=="bottom")("mat-stepper-header-position-bottom",m.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[Ue([{provide:it,useExisting:n}]),H,he],ngContentSelectors:Ai,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(r,m){if(r&1&&(je(),x(0,zn,1,0)(1,jn,7,0,"div",1)(2,Un,2,0)(3,Gn,1,23,"ng-template",null,0,ae)),r&2){let p;F(m._isServer?0:-1),u(),F((p=m.orientation)==="horizontal"?1:p==="vertical"?2:-1)}},dependencies:[$e,at],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[ki.horizontalStepTransition,ki.verticalStepTransition]},changeDetection:0});let o=n;return o})(),Bi=(()=>{let n=class n extends gi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(r,m){r&2&&We("type",m.type)},standalone:!0,features:[H]});let o=n;return o})(),Vi=(()=>{let n=class n extends hi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(r,m){r&2&&We("type",m.type)},standalone:!0,features:[H]});let o=n;return o})(),Wi=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=X({type:n}),n.\u0275inj=K({providers:[Qn,ve],imports:[et,be,$t,bi,Oe,kt,Ne,at,et]});let o=n;return o})();var ji=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-buttons-demo"]],decls:220,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-6"],["mat-button",""],["mat-button","","color","primary"],["mat-button","","color","accent"],["mat-button","","color","warn"],["mat-button","","disabled",""],["mat-button","","href","https://www.google.com/","target","_blank"],["mat-raised-button",""],["mat-raised-button","","color","primary"],["mat-raised-button","","color","accent"],["mat-raised-button","","color","warn"],["mat-raised-button","","disabled","","color","accent"],["mat-raised-button","","href","https://www.google.com/","target","_blank"],[1,"parent","items-per-row-7"],["mat-stroked-button",""],["mat-stroked-button","",1,"ms-white-stroked-button"],["mat-stroked-button","","color","primary"],["mat-stroked-button","","color","accent"],["mat-stroked-button","","color","warn"],["mat-stroked-button","","disabled","","color","accent"],["mat-stroked-button","","href","https://www.google.com/","target","_blank"],["mat-flat-button",""],["mat-flat-button","","color","primary"],["mat-flat-button","","color","accent"],["mat-flat-button","","color","warn"],["mat-flat-button","","disabled","","color","primary"],["mat-flat-button","","href","https://www.google.com/","target","_blank"],[2,"grid-column","span 2"],["mat-icon-button",""],["mat-icon-button","","color","primary"],["mat-icon-button","","color","accent"],["mat-icon-button","","color","warn"],["mat-icon-button","","disabled","","color","accent"],[1,"parent","items-per-row-5"],["checked",""],["color","primary","checked",""],["color","accent","checked",""],["color","warn","checked",""],["disabled",""]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Buttons"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Default"),e(),t(7,"div",2)(8,"div"),i(9,"Basic"),e(),t(10,"div"),i(11,"Primary"),e(),t(12,"div"),i(13,"Accent"),e(),t(14,"div"),i(15,"Warn"),e(),t(16,"div"),i(17,"Disabled"),e(),t(18,"div"),i(19,"Link"),e(),t(20,"div")(21,"button",3),i(22,"Lorem Ipsum"),e()(),t(23,"div")(24,"button",4),i(25,"Lorem Ipsum"),e()(),t(26,"div")(27,"button",5),i(28,"Lorem Ipsum"),e()(),t(29,"div")(30,"button",6),i(31,"Lorem Ipsum"),e()(),t(32,"div")(33,"button",7),i(34,"Lorem Ipsum"),e()(),t(35,"div")(36,"a",8),i(37,"Link"),e()()(),t(38,"div",0),a(39,"mat-divider"),e()(),t(40,"div",1)(41,"h2"),i(42,"Raised buttons"),e(),t(43,"div",2)(44,"div"),i(45,"Basic"),e(),t(46,"div"),i(47,"Primary"),e(),t(48,"div"),i(49,"Accent"),e(),t(50,"div"),i(51,"Warn"),e(),t(52,"div"),i(53,"Disabled"),e(),t(54,"div"),i(55,"Link"),e(),t(56,"div")(57,"button",9),i(58,"Lorem Ipsum"),e()(),t(59,"div")(60,"button",10),i(61,"Lorem Ipsum"),e()(),t(62,"div")(63,"button",11),i(64,"Lorem Ipsum"),e()(),t(65,"div")(66,"button",12),i(67,"Lorem Ipsum"),e()(),t(68,"div")(69,"button",13),i(70,"Lorem Ipsum"),e()(),t(71,"div")(72,"a",14),i(73,"Link"),e()()(),t(74,"div",0),a(75,"mat-divider"),e()(),t(76,"div",1)(77,"h2"),i(78,"Stroked buttons"),e(),t(79,"div",15)(80,"div"),i(81,"Basic"),e(),t(82,"div"),i(83,"Basic White"),e(),t(84,"div"),i(85,"Primary"),e(),t(86,"div"),i(87,"Accent"),e(),t(88,"div"),i(89,"Warn"),e(),t(90,"div"),i(91,"Disabled"),e(),t(92,"div"),i(93,"Link"),e(),t(94,"div")(95,"button",16),i(96,"Lorem Ipsum"),e()(),t(97,"div")(98,"button",17),i(99,"Lorem Ipsum"),e()(),t(100,"div")(101,"button",18),i(102,"Lorem Ipsum"),e()(),t(103,"div")(104,"button",19),i(105,"Lorem Ipsum"),e()(),t(106,"div")(107,"button",20),i(108,"Lorem Ipsum"),e()(),t(109,"div")(110,"button",21),i(111,"Lorem Ipsum"),e()(),t(112,"div")(113,"a",22),i(114,"Link"),e()()(),t(115,"div",0),a(116,"mat-divider"),e()(),t(117,"div",1)(118,"h2"),i(119,"Flat buttons"),e(),t(120,"div",2)(121,"div"),i(122,"Basic"),e(),t(123,"div"),i(124,"Primary"),e(),t(125,"div"),i(126,"Accent"),e(),t(127,"div"),i(128,"Warn"),e(),t(129,"div"),i(130,"Disabled"),e(),t(131,"div"),i(132,"Link"),e(),t(133,"div")(134,"button",23),i(135,"Lorem Ipsum"),e()(),t(136,"div")(137,"button",24),i(138,"Lorem Ipsum"),e()(),t(139,"div")(140,"button",25),i(141,"Lorem Ipsum"),e()(),t(142,"div")(143,"button",26),i(144,"Lorem Ipsum"),e()(),t(145,"div")(146,"button",27),i(147,"Lorem Ipsum"),e()(),t(148,"div")(149,"a",28),i(150,"Link"),e()()(),t(151,"div",0),a(152,"mat-divider"),e()(),t(153,"div",1)(154,"h2"),i(155,"Icon buttons"),e(),t(156,"div",2)(157,"div"),i(158,"Basic"),e(),t(159,"div"),i(160,"Primary"),e(),t(161,"div"),i(162,"Accent"),e(),t(163,"div"),i(164,"Warn"),e(),t(165,"div",29),i(166,"Disabled"),e(),t(167,"div")(168,"button",30)(169,"mat-icon"),i(170,"more_vert"),e()()(),t(171,"div")(172,"button",31)(173,"mat-icon"),i(174,"home"),e()()(),t(175,"div")(176,"button",32)(177,"mat-icon"),i(178,"menu"),e()()(),t(179,"div")(180,"button",33)(181,"mat-icon"),i(182,"favorite"),e()()(),t(183,"div",29)(184,"button",34)(185,"mat-icon"),i(186,"open_in_new"),e()()()(),t(187,"div",0),a(188,"mat-divider"),e()(),t(189,"div",1)(190,"h2"),i(191,"Slide toggle buttons"),e(),t(192,"div",35)(193,"div"),i(194,"Basic"),e(),t(195,"div"),i(196,"Primary"),e(),t(197,"div"),i(198,"Accent"),e(),t(199,"div"),i(200,"Warn"),e(),t(201,"div"),i(202,"Disabled"),e(),t(203,"div")(204,"mat-slide-toggle",36),i(205,"Slide me!"),e()(),t(206,"div")(207,"mat-slide-toggle",37),i(208,"Slide me!"),e()(),t(209,"div")(210,"mat-slide-toggle",38),i(211,"Slide me!"),e()(),t(212,"div")(213,"mat-slide-toggle",39),i(214,"Slide me!"),e()(),t(215,"div")(216,"mat-slide-toggle",40),i(217,"Slide me!"),e()()()(),t(218,"div",0),a(219,"mat-divider"),e())},dependencies:[A,h,Bt,w,we,ci],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var Jn=()=>["Option 1","Option 2","Option 3"],Ui=(()=>{let n=class n{constructor(){}ngOnInit(){}handleSelected(l){console.log("Selected option:",l)}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ag-cards-demo"]],decls:39,vars:2,consts:[[1,"line"],[1,"section"],[1,"ms-card"],[1,"heading-sub-section-title"],[1,"key-value-container","single"],[1,"key-value-pair"],[1,"key-value-key","paragraph-semibold-p4-xSmall-emphasis"],[1,"key-value-value","paragraph-regular-p4-xSmall"],[3,"selectedOption","options"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Cards"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"h2"),i(5,"Basic cards"),e(),t(6,"div",1)(7,"mat-card",2)(8,"p",3),i(9,"Card with text"),e(),t(10,"p"),i(11," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et cursus eros, a ultricies massa. Morbi commodo sapien magna, vitae facilisis erat blandit ac. Praesent vulputate nulla quis nibh consectetur euismod. Nulla justo dolor, molestie vitae ultricies id, malesuada id tortor. Ut rutrum nisi enim. Pellentesque sed blandit tortor, id fringilla turpis. In vel arcu nec urna dictum mollis ac sed sem. Integer orci eros, hendrerit a dui nec, auctor mattis mi. Curabitur quis tempor ex. "),e()()(),a(12,"br"),t(13,"div",1)(14,"mat-card",2)(15,"p",3),i(16,"Key Value Card"),e(),t(17,"div",4)(18,"div",5)(19,"div",6),i(20,"Key 1"),e(),t(21,"div",7),i(22,"Value 1"),e()(),a(23,"mat-divider"),t(24,"div",5)(25,"div",6),i(26,"Key 2"),e(),t(27,"div",7),i(28,"Value 2"),e()(),a(29,"mat-divider"),t(30,"div",5)(31,"div",6),i(32,"Key 1"),e(),t(33,"div",7),i(34,"Value 1"),e()()()()(),a(35,"br"),t(36,"h2"),i(37,"Option Card Selector"),e(),t(38,"ms-card-selector",8),v("selectedOption",function(S){return m.handleSelected(S)}),e()),r&2&&(u(38),c("options",ne(1,Jn)))},dependencies:[me,h,oe],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();function ea(o,n){if(o&1){let s=T();t(0,"li")(1,"mat-checkbox",5),wt("ngModelChange",function(r){let m=C(s).$implicit;return _t(m.completed,r)||(m.completed=r),D(r)}),v("ngModelChange",function(){C(s);let r=g();return D(r.updateAllComplete())}),i(2),e()()}if(o&2){let s=n.$implicit;u(),Dt("ngModel",s.completed),c("color",s.color),u(),k(" ",s.name," ")}}var $i=(()=>{let n=class n{updateAllComplete(){this.allComplete=this.task.subtasks!=null&&this.task.subtasks.every(l=>l.completed)}someComplete(){return this.task.subtasks==null?!1:this.task.subtasks.filter(l=>l.completed).length>0&&!this.allComplete}setAll(l){this.allComplete=l,this.task.subtasks!=null&&this.task.subtasks.forEach(r=>r.completed=l)}constructor(){this.task={name:"Indeterminate",completed:!1,color:"primary",subtasks:[{name:"Primary",completed:!1,color:"primary"},{name:"Accent",completed:!1,color:"accent"},{name:"Warn",completed:!1,color:"warn"}]},this.allComplete=!1}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-checkboxes-demo"]],decls:18,vars:5,consts:[[1,"line"],[1,"ms-card"],[3,"disabled"],[3,"change","checked","color","indeterminate"],[1,"list-none"],[3,"ngModelChange","ngModel","color"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Checkboxes"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"mat-card",1)(5,"section")(6,"mat-checkbox"),i(7,"Check me!"),e(),t(8,"mat-checkbox",2),i(9,"Disabled"),e()(),t(10,"section")(11,"span")(12,"mat-checkbox",3),v("change",function(S){return m.setAll(S.checked)}),i(13),e()(),t(14,"span")(15,"ul",4),J(16,ea,3,3,"li",null,Z),e()()()()),r&2&&(u(8),c("disabled",!0),u(4),c("checked",m.allComplete)("color",m.task.color)("indeterminate",m.someComplete()),u(),k(" ",m.task.name," "),u(3),ee(m.task.subtasks))},dependencies:[h,re,Rt,oe,ei],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();var Qi=(()=>{let n=class n{constructor(){}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-chips-demo"]],decls:17,vars:0,consts:[[1,"line"],[1,"section"],[1,"ms-chip"],["color","primary",1,"ms-chip"],["color","accent",1,"ms-chip"],["color","warn",1,"ms-chip"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Chips"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Basic Chips"),e(),t(7,"div")(8,"mat-chip-set")(9,"mat-chip",2),i(10," Default "),e(),t(11,"mat-chip",3),i(12," Primary "),e(),t(13,"mat-chip",4),i(14," Accent "),e(),t(15,"mat-chip",5),i(16," Warn "),e()()()())},dependencies:[h,oi,li],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}.mat-standard-chip[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px} .mat-chip-list-wrapper .mat-chip.mat-standard-chip{margin:4px}.example-box.cdk-drag-animating[_ngcontent-%COMP%], .example-chip[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-chip-list[_ngcontent-%COMP%]{width:100%}mat-chip[_ngcontent-%COMP%]{max-width:200px}"]});let o=n;return o})();var q=o=>[o],Ki=(()=>{let n=class n{constructor(){this.RoutesList=y}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-demo"]],decls:33,vars:42,consts:[[1,"main-container"],[1,"content","routes"],["vertical","true"],[3,"routerLink"],["mat-raised-button","","color","primary",1,"mt-2",3,"routerLink"],[1,"content"]],template:function(r,m){r&1&&(t(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2)(3,"mat-button-toggle",3),i(4," Buttons "),e(),t(5,"mat-button-toggle",3),i(6," Typograpghy "),e(),t(7,"mat-button-toggle",3),i(8," Form Fields "),e(),t(9,"mat-button-toggle",3),i(10," Checkboxes "),e(),t(11,"mat-button-toggle",3),i(12," Menu "),e(),t(13,"mat-button-toggle",3),i(14," Tables "),e(),t(15,"mat-button-toggle",3),i(16," Icons "),e(),t(17,"mat-button-toggle",3),i(18," Cards "),e(),t(19,"mat-button-toggle",3),i(20," Chips "),e(),t(21,"mat-button-toggle",3),i(22," Notifications "),e(),t(23,"mat-button-toggle",3),i(24," Wizard "),e(),t(25,"mat-button-toggle",3),i(26," Drawer "),e(),t(27,"mat-button-toggle",3),i(28," Dialog "),e()(),t(29,"button",4),i(30," Back to login "),e()(),t(31,"div",5),a(32,"router-outlet"),e()()),r&2&&(u(3),c("routerLink",_(14,q,m.RoutesList.DEMO)),u(2),c("routerLink",_(16,q,m.RoutesList.DEMO.TYPOGRAPHY)),u(2),c("routerLink",_(18,q,m.RoutesList.DEMO.FORM_FIELDS)),u(2),c("routerLink",_(20,q,m.RoutesList.DEMO.CHECKBOXES)),u(2),c("routerLink",_(22,q,m.RoutesList.DEMO.MENU)),u(2),c("routerLink",_(24,q,m.RoutesList.DEMO.TABLE)),u(2),c("routerLink",_(26,q,m.RoutesList.DEMO.ICONS)),u(2),c("routerLink",_(28,q,m.RoutesList.DEMO.CARDS)),u(2),c("routerLink",_(30,q,m.RoutesList.DEMO.CHIPS)),u(2),c("routerLink",_(32,q,m.RoutesList.DEMO.NOTIFICATIONS)),u(2),c("routerLink",_(34,q,m.RoutesList.DEMO.WIZARD)),u(2),c("routerLink",_(36,q,m.RoutesList.DEMO.DRAWER)),u(2),c("routerLink",_(38,q,m.RoutesList.DEMO.DIALOG)),u(2),c("routerLink",_(40,q,"/"+m.RoutesList.AUTH.ROOT)))},dependencies:[Mt,yt,w,ii,ni],styles:[".main-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(12,1fr)}.main-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;align-self:flex-start;grid-column:span 11;padding:14px 20px 0;width:90%}.main-container[_ngcontent-%COMP%] .routes[_ngcontent-%COMP%]{grid-column:span 1}.mat-button-toggle[_ngcontent-%COMP%]{display:flex;height:40px}"],changeDetection:0});let o=n;return o})();var Yi=(()=>{let n=class n{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};n.\u0275fac=function(r){return new(r||n)(d(Pe),d(qe))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-basic-demo"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. -`),e())},dependencies:[le]});let o=n;return o})();var Zi=(()=>{let n=class n{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};n.\u0275fac=function(r){return new(r||n)(d(Pe),d(qe))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-custom-size"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. -`),e())},dependencies:[le]});let o=n;return o})();var Ji=(()=>{let n=class n{constructor(l){this.dialogService=l}ngOnInit(){}openBasicDialog(){this.dialogService.open(Yi,{title:"Lorem Ipsum"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Dialog closed!")})}openCustomSizeDialog(){this.dialogService.open(Zi,{title:"Lorem Ipsum",width:"40vw",height:"50vh"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Dialog with custom width closed!")})}};n.\u0275fac=function(r){return new(r||n)(d(Te))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-demo"]],decls:70,vars:0,consts:[[1,"section"],[1,"parent","items-per-row-5"],["mat-raised-button","",3,"click"],[1,"line"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Dialog"),e(),t(2,"div")(3,"h2"),i(4,"Description:"),e(),t(5,"p"),i(6,"Dialog panel it's opened using the dialog service. (ex. this.dialogService.open(COMPONENT, customData)"),e(),t(7,"p"),i(8," Those are the custom data available for "),t(9,"b"),i(10,"dialog config:"),e(),a(11,"br"),t(12,"b"),i(13,"data?: any;"),e(),i(14," | Custom data that you would need to add from outside inside the dialog. "),a(15,"br"),t(16,"b"),i(17,"title?: string;"),e(),i(18," | Dialog title "),a(19,"br"),t(20,"b"),i(21,"showSaveButton?: boolean;"),e(),i(22," | Option to configure the show/hide of the save button. "),a(23,"br"),t(24,"b"),i(25,"showDismissButton?: boolean;"),e(),i(26," | Option to configure the show/hide of the dismiss button. "),a(27,"br"),t(28,"b"),i(29,"saveButtonLabel?: string;"),e(),i(30," | Option to configure the save button label."),a(31,"br"),t(32,"b"),i(33,"dismissButtonLabel?: string;"),e(),i(34," | Option to configure the dismiss button label."),a(35,"br"),t(36,"b"),i(37,"width?: DialogCSSSize;"),e(),i(38," | Option to configure the width in 'px', 'vw' | 'vh', 'em', 'rem' of the dialog."),a(39,"br"),t(40,"b"),i(41,"height?: DialogCSSSize;"),e(),i(42," | Option to configure the height 'px', 'vw', 'vh', 'em', 'rem' of the dialog."),a(43,"br"),e(),t(44,"p"),i(45," On each dialog action an event it's emitted: If you click on the X icon, the event emitted it's DialogStatus.CLOSE, if you click on save the event emitted is DialogStatus.SAVE, if you click on dismiss the event it's DialogStatus.DISMISS. By using this action on the actionEvent output event emitter, you can bind your function and listen to events for your custom functionality. "),e(),t(46,"p"),i(47,' Additionaly, you can change the templates of the header and footer and provide a totally custom implementation as you would need it. Check the "alternative templates" examples '),e()(),t(48,"div",0)(49,"h2"),i(50,"Basic Dialogs"),e(),t(51,"div",1)(52,"div"),i(53,"Open basic dialog with fixed size"),e(),t(54,"div"),i(55,"Open basic dialog with custom size with resizable units (vw, vh)"),e(),a(56,"div")(57,"div")(58,"div"),t(59,"div")(60,"button",2),v("click",function(){return m.openBasicDialog()}),i(61,"Open Dialog"),e()(),t(62,"div")(63,"button",2),v("click",function(){return m.openCustomSizeDialog()}),i(64,"Open Custom Size Dialog"),e()(),a(65,"div")(66,"div")(67,"div"),e(),t(68,"div",3),a(69,"mat-divider"),e()())},dependencies:[h,w],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var en=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}close(){this.drawerRef.close()}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-run-drawer-actions"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-drawer"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. -`),e())},dependencies:[M],changeDetection:0});let o=n;return o})();function ia(o,n){if(o&1){let s=T();t(0,"div",2)(1,"button",3),v("click",function(){C(s);let r=g();return D(r.onDismiss())}),i(2,"Button 1"),e(),t(3,"button",4),v("click",function(){C(s);let r=g();return D(r.onDismiss())}),i(4,"Button 2"),e(),t(5,"button",5),v("click",function(){C(s);let r=g();return D(r.onDismiss())}),i(6,"Button 3"),e()()}}var tn=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}onDismiss(){this.drawerRef.close()}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-alternative-actions-template"]],decls:4,vars:1,consts:[["alternativeActions",""],[3,"actionsTemplate"],[1,"buttons-wrapper"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(r,m){if(r&1&&(t(0,"ms-drawer",1),i(1,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. -`),e(),x(2,ia,7,0,"ng-template",null,0,ae)),r&2){let p=E(3);c("actionsTemplate",p)}},dependencies:[M,w],styles:[".buttons-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(:first-child){margin-left:20px}"]});let o=n;return o})();function na(o,n){if(o&1){let s=T();t(0,"div",2)(1,"div",3)(2,"button",4),v("click",function(){C(s);let r=g();return D(r.close())}),a(3,"mat-icon",5),e()(),t(4,"h3",6),i(5,"Different Header Style"),e()()}}var nn=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}close(){this.drawerRef.close()}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-alternative-header-template"]],decls:4,vars:1,consts:[["alternativeHeader",""],[3,"headerTemplate"],[1,"header-wrapper"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontIcon","icon-close-one"],[2,"color","red"]],template:function(r,m){if(r&1&&(t(0,"ms-drawer",1),i(1,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. -`),e(),x(2,na,6,0,"ng-template",null,0,ae)),r&2){let p=E(3);c("headerTemplate",p)}},dependencies:[M,A,we],styles:[".header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:32px}"],changeDetection:0});let o=n;return o})();var an=(()=>{let n=class n{constructor(l,r,m){this.drawerRef=l,this.drawerConfig=r,this.fb=m}ngOnInit(){this.form=this.fb.group({name:["",[V.required]],address:["",[V.required]]})}save(l){l===Pi.SAVE&&this.drawerRef.close({result:this.form.getRawValue(),status:l})}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O),d(_e))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-buttons-actions"]],decls:12,vars:2,consts:[[3,"actionEvent","isSaveDisabled"],[3,"formGroup"],[1,"form-field-container"],["appearance","outline"],["agErrorDisplay","","matInput","","placeholder","Name","formControlName","name"],["agErrorDisplay","","matInput","","placeholder","Address","formControlName","address"]],template:function(r,m){r&1&&(t(0,"ms-drawer",0),v("actionEvent",function(S){return m.save(S)}),t(1,"form",1)(2,"div",2)(3,"mat-label"),i(4,"Name"),e(),t(5,"mat-form-field",3),a(6,"input",4),e()(),t(7,"div",2)(8,"mat-label"),i(9,"Address"),e(),t(10,"mat-form-field",3),a(11,"input",5),e()()()()),r&2&&(c("isSaveDisabled",m.form.invalid),u(),c("formGroup",m.form))},dependencies:[M,Ee,Se,re,xe,Ce,De,ye,Me,Ie]});let o=n;return o})();var rn=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-customizable-width"]],decls:1,vars:0,template:function(r,m){r&1&&a(0,"ms-drawer")},dependencies:[M]});let o=n;return o})();var on=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r,this.isSaveDisabled=!0}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-disabled-buttons-actions"]],decls:3,vars:2,consts:[[3,"isSaveDisabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(r,m){r&1&&(t(0,"ms-drawer",0)(1,"button",1),v("click",function(){return m.isSaveDisabled=!m.isSaveDisabled}),i(2),e()()),r&2&&(c("isSaveDisabled",m.isSaveDisabled),u(2),k(" Click here to ",m.isSaveDisabled?"enable":"disable"," button "))},dependencies:[M,w]});let o=n;return o})();var ln=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerData=r}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-injected-data"]],decls:5,vars:2,template:function(r,m){r&1&&(t(0,"ms-drawer")(1,"p"),i(2),e(),t(3,"p"),i(4),e()()),r&2&&(u(2),k("Field 1: ",m.drawerData.data.field1,""),u(2),k("Field 2: ",m.drawerData.data.field2,""))},dependencies:[M],changeDetection:0});let o=n;return o})();var mn=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerData=r}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-only-one-button"]],decls:1,vars:0,template:function(r,m){r&1&&a(0,"ms-drawer")},dependencies:[M],changeDetection:0});let o=n;return o})();var sn=(()=>{let n=class n{constructor(l){this.drawerService=l}ngOnInit(){}openDrawer(){this.drawerService.open(en,{title:"Lorem Ipsum"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithInjectedData(){let l={field1:"value1",field2:"value2"};this.drawerService.open(ln,{title:"Drawer with injected data",data:l}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithAlternativeHeader(){this.drawerService.open(nn).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithOnlyOneButton(){this.drawerService.open(mn,{title:"Only one button",showSaveButton:!1,closeButtonLabel:"Close"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithAlternativeActions(){this.drawerService.open(tn,{title:"Alternative Footer"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithDisabledButtons(){this.drawerService.open(on,{title:"Disabled buttons"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}openDrawerWithButtonsActions(){this.drawerService.open(an,{title:"Buttons Actions"}).afterClosed().pipe(P(1)).subscribe(r=>{alert(`Clicked on ${r.status}, name = ${r.result.name}, address = ${r.result.address}`)})}openDrawerWithCustomizableWidth(){this.drawerService.open(rn,{title:"Drawer With Customizable Width",width:"20vw"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Drawer closed!")})}};n.\u0275fac=function(r){return new(r||n)(d(ke))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-demo"]],decls:116,vars:0,consts:[[1,"section"],[1,"parent","items-per-row-5"],["mat-raised-button","",3,"click"],[1,"line"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Drawer"),e(),t(2,"div",0)(3,"h2"),i(4,"Description:"),e(),t(5,"p"),i(6,"Drawer Dialog it's opened using the drawer service. (ex. this.drawerService.open(COMPONENT, customData)"),e(),t(7,"p"),i(8," Those are the custom data available for "),t(9,"b"),i(10,"drawer config:"),e(),a(11,"br"),t(12,"b"),i(13,"data?: any;"),e(),i(14," | Custom data that you would need to add from outside inside the dialog. "),a(15,"br"),t(16,"b"),i(17,"title?: string;"),e(),i(18," | Dialog title "),a(19,"br"),t(20,"b"),i(21,"showSaveButton?: boolean;"),e(),i(22," | Option to configure the show/hide of the save button. "),a(23,"br"),t(24,"b"),i(25,"showDismissButton?: boolean;"),e(),i(26," | Option to configure the show/hide of the dismiss button. "),a(27,"br"),t(28,"b"),i(29,"saveButtonLabel?: string;"),e(),i(30," | Option to configure the save button label."),a(31,"br"),t(32,"b"),i(33,"dismissButtonLabel?: string;"),e(),i(34," | Option to configure the dismiss button label."),a(35,"br"),t(36,"b"),i(37,"width?: DrawerCSSSize;"),e(),i(38," | Option to configure the width in 'px', 'vw' | 'vh', 'em', 'rem' of the dialog."),a(39,"br"),e(),t(40,"p"),i(41," On each drawer action an event it's emitted: If you click on the X icon, the event emitted it's DrawerStatus.CLOSE, if you click on save the event emitted is DrawerStatus.SAVE, if you click on dismiss the event it's DrawerStatus.DISMISS. By using this action on the actionEvent output event emitter, you can bind your function and listen to events for your custom functionality. "),e(),t(42,"p"),i(43,' Additionaly, you can change the templates of the header and footer and provide a totally custom implementation as you would need it. Check the "alternative templates" examples '),e()(),t(44,"div",0)(45,"h2"),i(46,"Basic Drawers"),e(),t(47,"div",1)(48,"div"),i(49,"Open simple drawer"),e(),t(50,"div"),i(51,"Open Drawer with Injected Data"),e(),t(52,"div"),i(53,"Open Drawer with Only One Button"),e(),t(54,"div"),i(55,"Open Drawer with Disabled Buttons"),e(),t(56,"div"),i(57,"Open Drawer with Customizable Width"),e(),t(58,"div")(59,"button",2),v("click",function(){return m.openDrawer()}),i(60,"Open Drawer"),e()(),t(61,"div")(62,"button",2),v("click",function(){return m.openDrawerWithInjectedData()}),i(63,"Open Drawer"),e()(),t(64,"div")(65,"button",2),v("click",function(){return m.openDrawerWithOnlyOneButton()}),i(66,"Open Drawer"),e()(),t(67,"div")(68,"button",2),v("click",function(){return m.openDrawerWithDisabledButtons()}),i(69,"Open Drawer"),e()(),t(70,"div")(71,"button",2),v("click",function(){return m.openDrawerWithCustomizableWidth()}),i(72,"Open Drawer"),e()()(),t(73,"div",3),a(74,"mat-divider"),e()(),t(75,"div",0)(76,"h2"),i(77,"Alternative templates examples"),e(),t(78,"div",1)(79,"div"),i(80,"Open Drawer with Alternative Header Template"),e(),t(81,"div"),i(82,"Open Drawer with Alternative Actions Template"),e(),a(83,"div")(84,"div")(85,"div"),t(86,"div")(87,"button",2),v("click",function(){return m.openDrawerWithAlternativeHeader()}),i(88,"Open Drawer"),e()(),t(89,"div")(90,"button",2),v("click",function(){return m.openDrawerWithAlternativeActions()}),i(91,"Open Drawer"),e()(),a(92,"div")(93,"div")(94,"div"),e(),t(95,"div",3),a(96,"mat-divider"),e()(),t(97,"div",0)(98,"h2"),i(99,"Drawers With Buttons Actions Check"),e(),t(100,"div",1)(101,"div"),i(102,"Open Drawer with Buttons Actions"),e(),a(103,"div")(104,"div")(105,"div")(106,"div"),t(107,"div")(108,"button",2),v("click",function(){return m.openDrawerWithButtonsActions()}),i(109,"Open Drawer"),e()(),a(110,"div")(111,"div")(112,"div")(113,"div"),e(),t(114,"div",3),a(115,"mat-divider"),e()())},dependencies:[h,w],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var z,Re=(z=class{constructor(n){this.fb=n,this.form=new Ft({})}ngOnInit(){this.form=this.fb.group({default:[null],searchBar:[null],prefilled:["Lorem Ipsum"],disabled:[{value:null,disabled:!0}],prefilledDisabled:[{value:"Lorem Ipsum",disabled:!0}],error:[null,[V.required]],icon:[null],iconPrefilled:["Lorem Ipsum"],iconDisabled:[{value:null,disabled:!0}],iconPrefilledDisabled:[{value:"Lorem Ipsum",disabled:!0}],iconError:[null,[V.required]],required:[null,[V.required]],textarea:[null],textareaPrefilled:["Lorem Ipsum"],textareaDisabled:[{value:null,disabled:!0}],textareaPrefilledAndDisabled:[{value:"Lorem Ipsum",disabled:!0}],textareaError:[null,[V.required]],dropdown:[null],dropdownPreselected:["option1"],dropdownDisabled:[{value:null,disabled:!0}],dropdownPreselectedAndDisabled:[{value:"option1",disabled:!0}]})}},z.\u0275fac=function(s){return new(s||z)(d(_e))},z.\u0275cmp=f({type:z,selectors:[["ms-form-fields-demo"]],decls:255,vars:1,consts:[[1,"line"],[3,"formGroup"],[1,"section"],[1,"parent","items-per-row-5"],[1,"form-field-container"],["msErrorDisplay","","matInput","","formControlName","default"],[1,"form-field-container","ms-white-form-field"],["msErrorDisplay","","matInput","","formControlName","prefilled"],["msErrorDisplay","","matInput","","formControlName","disabled"],["msErrorDisplay","","matInput","","formControlName","prefilledDisabled"],["msErrorDisplay","","matInput","","formControlName","error"],["appearance","outline"],["matInput","","msErrorDisplay","","placeholder","Default","formControlName","default"],["matInput","","msErrorDisplay","","placeholder","Prefilled","formControlName","prefilled"],["matInput","","msErrorDisplay","","placeholder","Disabled","formControlName","disabled"],["matInput","","msErrorDisplay","","placeholder","Prefilled and Disabled","formControlName","prefilledDisabled"],["matInput","","placeholder","Error","formControlName","error"],["appearance","fill","floatLabel","always"],["appearance","outline","floatLabel","auto"],["floatLabel","always"],["msErrorDisplay","","matInput","","formControlName","required"],["rows","4","matInput","","formControlName","textarea","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaPrefilled","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaDisabled","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaPrefilledAndDisabled","msErrorDisplay",""],["rows","4","matInput","","formControlName","textareaError","msErrorDisplay",""],["formControlName","dropdown","placeholder","Select a value"],["value","option1"],["value","option2"],["value","option3"],["value","option4"],["value","option5"],["formControlName","dropdownPreselected","placeholder","Select a value"],["formControlName","dropdownDisabled","placeholder","Select a value"],["formControlName","dropdownPreselectedAndDisabled"],[1,"parent","items-per-row-6"],["matInput","","msPasswordToggle","","msErrorDisplay","","placeholder","Default","formControlName","default"]],template:function(s,l){s&1&&(t(0,"h1"),i(1,"Form Fields"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"form",1)(5,"div",2)(6,"div",2)(7,"h2"),i(8,"Default"),e(),t(9,"div",3)(10,"div",4)(11,"mat-label"),i(12," Default "),e(),t(13,"mat-form-field"),a(14,"input",5),e()(),t(15,"div",6)(16,"mat-label"),i(17," Default White "),e(),t(18,"mat-form-field"),a(19,"input",5),e()(),t(20,"div",4)(21,"mat-label"),i(22," Prefilled "),e(),t(23,"mat-form-field"),a(24,"input",7),e()(),t(25,"div",4)(26,"mat-label"),i(27," Disabled "),e(),t(28,"mat-form-field"),a(29,"input",8),e()(),t(30,"div",4)(31,"mat-label"),i(32," Prefilled & disabled "),e(),t(33,"mat-form-field"),a(34,"input",9),e()(),t(35,"div",4)(36,"mat-label"),i(37," Error "),e(),t(38,"mat-form-field"),a(39,"input",10),e()()(),t(40,"div",0),a(41,"mat-divider"),e()(),t(42,"h2"),i(43,"Appearance Outline"),e(),t(44,"div",3)(45,"div",4)(46,"mat-form-field",11)(47,"mat-label"),i(48,"Default"),e(),a(49,"input",12),e()(),t(50,"div",4)(51,"mat-form-field",11)(52,"mat-label"),i(53," Prefilled "),e(),a(54,"input",13),e()(),t(55,"div",4)(56,"mat-form-field",11)(57,"mat-label"),i(58," Disabled "),e(),a(59,"input",14),e()(),t(60,"div",4)(61,"mat-form-field",11)(62,"mat-label"),i(63," Prefilled & disabled "),e(),a(64,"input",15),e()(),t(65,"div",4)(66,"mat-form-field",11)(67,"mat-label"),i(68," Error "),e(),a(69,"input",16),t(70,"mat-error"),i(71,"Test"),e()()()(),t(72,"div",0),a(73,"mat-divider"),e()(),t(74,"div",2)(75,"h2"),i(76,"Appearance Fill & Float Label"),e(),t(77,"div",3)(78,"div",4)(79,"mat-form-field",17)(80,"mat-label"),i(81," Default "),e(),a(82,"input",5),e()(),t(83,"div")(84,"mat-form-field",17)(85,"mat-label"),i(86," Prefilled "),e(),a(87,"input",7),e()(),t(88,"div",4)(89,"mat-form-field",17)(90,"mat-label"),i(91," Disabled "),e(),a(92,"input",8),e()(),t(93,"div",4)(94,"mat-form-field",17)(95,"mat-label"),i(96," Prefilled & disabled "),e(),a(97,"input",9),e()(),t(98,"div",4)(99,"mat-form-field",17)(100,"mat-label"),i(101," Error "),e(),a(102,"input",10),e()()(),t(103,"div",0),a(104,"mat-divider"),e()(),t(105,"div",2)(106,"h2"),i(107,"Appearance Outline & Label Auto"),e(),t(108,"div",3)(109,"div",4)(110,"mat-form-field",18)(111,"mat-label"),i(112," Default "),e(),a(113,"input",5),e()(),t(114,"div",4)(115,"mat-form-field",18)(116,"mat-label"),i(117," Prefilled "),e(),a(118,"input",7),e()(),t(119,"div",4)(120,"mat-form-field",18)(121,"mat-label"),i(122," Disabled "),e(),a(123,"input",8),e()(),t(124,"div",4)(125,"mat-form-field",18)(126,"mat-label"),i(127," Prefilled & disabled "),e(),a(128,"input",9),e()(),t(129,"div",4)(130,"mat-form-field",18)(131,"mat-label"),i(132," Error "),e(),a(133,"input",10),e()()(),t(134,"div",0),a(135,"mat-divider"),e()(),t(136,"div",2)(137,"h2"),i(138,"Inputs with Validators"),e(),t(139,"div",3)(140,"div",4)(141,"mat-form-field",19)(142,"mat-label"),i(143,"Required "),e(),a(144,"input",20),e()(),a(145,"div")(146,"div"),e(),t(147,"div",0),a(148,"mat-divider"),e()(),t(149,"div",2)(150,"h2"),i(151,"Textarea"),e(),t(152,"div",3)(153,"div",4)(154,"mat-form-field",19)(155,"mat-label"),i(156,"Default prefilled"),e(),a(157,"textarea",21),e()(),t(158,"div",4)(159,"mat-form-field",19)(160,"mat-label"),i(161,"Prefilled"),e(),a(162,"textarea",22),e()(),t(163,"div",4)(164,"mat-form-field",19)(165,"mat-label"),i(166,"Disabled"),e(),a(167,"textarea",23),e()(),t(168,"div",4)(169,"mat-form-field",19)(170,"mat-label"),i(171,"Prefilled and disabled"),e(),a(172,"textarea",24),e()(),t(173,"div",4)(174,"mat-form-field",19)(175,"mat-label"),i(176,"Error"),e(),a(177,"textarea",25),e()()(),t(178,"div",0),a(179,"mat-divider"),e()(),t(180,"div",2)(181,"h2"),i(182,"Dropdowns"),e(),t(183,"div",3)(184,"div",4)(185,"mat-label"),i(186," Default"),e(),t(187,"mat-form-field",11)(188,"mat-select",26)(189,"mat-option",27),i(190,"Option 1"),e(),t(191,"mat-option",28),i(192,"Option 2"),e(),t(193,"mat-option",29),i(194,"Option 3"),e(),t(195,"mat-option",30),i(196,"Option 4"),e(),t(197,"mat-option",31),i(198,"Option 5"),e()()()(),t(199,"div",4)(200,"mat-label"),i(201," Preselected "),e(),t(202,"mat-form-field",11)(203,"mat-select",32)(204,"mat-option",27),i(205,"Option 1"),e(),t(206,"mat-option",28),i(207,"Option 2"),e(),t(208,"mat-option",29),i(209,"Option 3"),e(),t(210,"mat-option",30),i(211,"Option 4"),e(),t(212,"mat-option",31),i(213,"Option 5"),e()()()(),t(214,"div",4)(215,"mat-label"),i(216," Disabled "),e(),t(217,"mat-form-field",11)(218,"mat-select",33)(219,"mat-option",27),i(220,"Option 1"),e(),t(221,"mat-option",28),i(222,"Option 2"),e(),t(223,"mat-option",29),i(224,"Option 3"),e(),t(225,"mat-option",30),i(226,"Option 4"),e(),t(227,"mat-option",31),i(228,"Option 5"),e()()()(),t(229,"div",4)(230,"mat-label"),i(231," Preselected and disabled "),e(),t(232,"mat-form-field",11)(233,"mat-select",34)(234,"mat-option",27),i(235,"Option 1"),e(),t(236,"mat-option",28),i(237,"Option 2"),e(),t(238,"mat-option",29),i(239,"Option 3"),e(),t(240,"mat-option",30),i(241,"Option 4"),e(),t(242,"mat-option",31),i(243,"Option 5"),e()()()()(),t(244,"div",0),a(245,"mat-divider"),e()(),t(246,"div",2)(247,"div",35)(248,"div",4)(249,"mat-label"),i(250,"Password toggle"),e(),t(251,"mat-form-field",11),a(252,"input",36),e()()(),t(253,"div",0),a(254,"mat-divider"),e()()()),s&2&&(u(4),c("formGroup",l.form))},dependencies:[h,Ee,Se,re,xe,Ce,De,ye,Me,Wt,Ie,si,At,Jt],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0}),z);Re=lt([Ot()],Re);var un=(()=>{let n=class n{constructor(){}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-icons-demo"]],decls:381,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-3"],["fontSet","ms","fontIcon","icon-Check"],[1,"parent","items-per-row-8"],["fontSet","ms","fontIcon","icon-User",1,"mat-primary"],["fontSet","ms","fontIcon","icon-User",1,"mat-complementary"],["fontSet","ms","fontIcon","icon-User",1,"mat-gray"],["fontSet","ms","fontIcon","icon-User",1,"mat-white"],["fontSet","ms","fontIcon","icon-User",1,"mat-accent"],["fontSet","ms","fontIcon","icon-User",1,"mat-success"],["fontSet","ms","fontIcon","icon-User",1,"mat-warn"],["fontSet","ms","fontIcon","icon-User",1,"mat-error"],[1,"parent","ten-items-per-row"],["fontSet","ms","fontIcon","icon-Alerts-Info"],["fontSet","ms","fontIcon","icon-Alerts-Negative"],["fontSet","ms","fontIcon","icon-Alerts-Positive"],["fontSet","ms","fontIcon","icon-Alerts-Warning"],["fontSet","ms","fontIcon","icon-ArrowDown"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["fontSet","ms","fontIcon","icon-ArrowRight"],["fontSet","ms","fontIcon","icon-ArrowSquareOut"],["fontSet","ms","fontIcon","icon-ArrowUp"],["fontSet","ms","fontIcon","icon-Bell"],["fontSet","ms","fontIcon","icon-CalendarBlank"],["fontSet","ms","fontIcon","icon-CaretDoubleLeft"],["fontSet","ms","fontIcon","icon-CaretDoubleRight"],["fontSet","ms","fontIcon","icon-CaretDown"],["fontSet","ms","fontIcon","icon-CaretLeft"],["fontSet","ms","fontIcon","icon-CaretRight"],["fontSet","ms","fontIcon","icon-CaretUp"],["fontSet","ms","fontIcon","icon-CheckCircle"],["fontSet","ms","fontIcon","icon-Clock"],["fontSet","ms","fontIcon","icon-Copy"],["fontSet","ms","fontIcon","icon-Crosshair"],["fontSet","ms","fontIcon","icon-DotsSix"],["fontSet","ms","fontIcon","icon-DotsThree"],["fontSet","ms","fontIcon","icon-DotsThreeVertical"],["fontSet","ms","fontIcon","icon-DownloadSimple"],["fontSet","ms","fontIcon","icon-DropdownCaretDown"],["fontSet","ms","fontIcon","icon-DropdownCaretRight"],["fontSet","ms","fontIcon","icon-DropdownCaretUp"],["fontSet","ms","fontIcon","icon-EnvelopeSimple"],["fontSet","ms","fontIcon","icon-Eye"],["fontSet","ms","fontIcon","icon-EyeSlash"],["fontSet","ms","fontIcon","icon-FunnelSimple"],["fontSet","ms","fontIcon","icon-GearSix"],["fontSet","ms","fontIcon","icon-Info"],["fontSet","ms","fontIcon","icon-Lightning"],["fontSet","ms","fontIcon","icon-ListBullets"],["fontSet","ms","fontIcon","icon-Loader"],["fontSet","ms","fontIcon","icon-Lock"],["fontSet","ms","fontIcon","icon-Magnet"],["fontSet","ms","fontIcon","icon-MagnifyingGlass"],["fontSet","ms","fontIcon","icon-MapTrifold"],["fontSet","ms","fontIcon","icon-Minus"],["fontSet","ms","fontIcon","icon-Nav"],["fontSet","ms","fontIcon","icon-Paperclip"],["fontSet","ms","fontIcon","icon-Passthrough"],["fontSet","ms","fontIcon","icon-PencilSimple"],["fontSet","ms","fontIcon","icon-Placeholder"],["fontSet","ms","fontIcon","icon-Plus"],["fontSet","ms","fontIcon","icon-Printer"],["fontSet","ms","fontIcon","icon-Prohibit"],["fontSet","ms","fontIcon","icon-Question"],["fontSet","ms","fontIcon","icon-Refresh"],["fontSet","ms","fontIcon","icon-Rocket"],["fontSet","ms","fontIcon","icon-SignOut"],["fontSet","ms","fontIcon","icon-Sort"],["fontSet","ms","fontIcon","icon-SortDown"],["fontSet","ms","fontIcon","icon-SortUp"],["fontSet","ms","fontIcon","icon-Stack"],["fontSet","ms","fontIcon","icon-StackPort"],["fontSet","ms","fontIcon","icon-TrashSimple"],["fontSet","ms","fontIcon","icon-TrendDown"],["fontSet","ms","fontIcon","icon-TrendUp"],["fontSet","ms","fontIcon","icon-UploadSimple"],["fontSet","ms","fontIcon","icon-User"],["fontSet","ms","fontIcon","icon-Users"],["fontSet","ms","fontIcon","icon-WifiHigh"],["fontSet","ms","fontIcon","icon-WifiLightning"],["fontSet","ms","fontIcon","icon-WifiLow"],["fontSet","ms","fontIcon","icon-WifiMedium"],["fontSet","ms","fontIcon","icon-WifiNone"],["fontSet","ms","fontIcon","icon-WifiSlash"],["fontSet","ms","fontIcon","icon-WifiX"],["fontSet","ms","fontIcon","icon-X"],["fontSet","ms","fontIcon","icon-XCircle"],["fontSet","ms","fontIcon","icon-Admin"],["fontSet","ms","fontIcon","icon-Environmental"],["fontSet","ms","fontIcon","icon-Inventory"],["fontSet","ms","fontIcon","icon-Systems-Manager"],[2,"grid-column","span 10"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Icons"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Types"),e(),t(7,"div",2)(8,"div"),i(9,"Icon from Custom Font Set"),e(),t(10,"div"),i(11,"Material Default Icons"),e(),a(12,"div"),t(13,"div"),a(14,"mat-icon",3),e(),t(15,"div")(16,"mat-icon"),i(17,"delete"),e()(),a(18,"div"),e(),t(19,"div",0),a(20,"mat-divider"),e()(),t(21,"div",1)(22,"h2"),i(23,"Custom styles"),e(),t(24,"div",4)(25,"div"),i(26,"Primary"),e(),t(27,"div"),i(28,"Complementary"),e(),t(29,"div"),i(30,"Gray"),e(),t(31,"div"),i(32,"White"),e(),t(33,"div"),i(34,"Accent"),e(),t(35,"div"),i(36,"Succes"),e(),t(37,"div"),i(38,"Warn"),e(),t(39,"div"),i(40,"Error"),e(),t(41,"div"),a(42,"mat-icon",5),e(),t(43,"div"),a(44,"mat-icon",6),e(),t(45,"div"),a(46,"mat-icon",7),e(),t(47,"div"),a(48,"mat-icon",8),e(),t(49,"div"),a(50,"mat-icon",9),e(),t(51,"div"),a(52,"mat-icon",10),e(),t(53,"div"),a(54,"mat-icon",11),e(),t(55,"div"),a(56,"mat-icon",12),e()(),t(57,"div",0),a(58,"mat-divider"),e()(),t(59,"div",1)(60,"h2"),i(61,"Custom Icons"),e(),t(62,"div",13)(63,"div"),i(64,"icon-Alerts-Info"),e(),t(65,"div"),i(66,"icon-Alerts-Negative"),e(),t(67,"div"),i(68,"icon-Alerts-Positive"),e(),t(69,"div"),i(70,"icon-Alerts-Warning"),e(),t(71,"div"),i(72,"icon-ArrowDown"),e(),t(73,"div"),i(74,"icon-ArrowLeft"),e(),t(75,"div"),i(76,"icon-ArrowRight"),e(),t(77,"div"),i(78,"icon-ArrowSquareOut"),e(),t(79,"div"),i(80,"icon-ArrowUp"),e(),t(81,"div"),i(82,"icon-Bell"),e(),t(83,"div"),a(84,"mat-icon",14),e(),t(85,"div"),a(86,"mat-icon",15),e(),t(87,"div"),a(88,"mat-icon",16),e(),t(89,"div"),a(90,"mat-icon",17),e(),t(91,"div"),a(92,"mat-icon",18),e(),t(93,"div"),a(94,"mat-icon",19),e(),t(95,"div"),a(96,"mat-icon",20),e(),t(97,"div"),a(98,"mat-icon",21),e(),t(99,"div"),a(100,"mat-icon",22),e(),t(101,"div"),a(102,"mat-icon",23),e(),t(103,"div"),i(104,"icon-CalendarBlank"),e(),t(105,"div"),i(106,"icon-CaretDoubleLeft"),e(),t(107,"div"),i(108,"icon-CaretDoubleRight"),e(),t(109,"div"),i(110,"icon-CaretDown"),e(),t(111,"div"),i(112,"icon-CaretLeft"),e(),t(113,"div"),i(114,"icon-CaretRight"),e(),t(115,"div"),i(116,"icon-CaretUp"),e(),t(117,"div"),i(118,"icon-CheckCircle"),e(),t(119,"div"),i(120,"icon-Clock"),e(),t(121,"div"),i(122,"icon-Copy"),e(),t(123,"div"),a(124,"mat-icon",24),e(),t(125,"div"),a(126,"mat-icon",25),e(),t(127,"div"),a(128,"mat-icon",26),e(),t(129,"div"),a(130,"mat-icon",27),e(),t(131,"div"),a(132,"mat-icon",28),e(),t(133,"div"),a(134,"mat-icon",29),e(),t(135,"div"),a(136,"mat-icon",30),e(),t(137,"div"),a(138,"mat-icon",31),e(),t(139,"div"),a(140,"mat-icon",32),e(),t(141,"div"),a(142,"mat-icon",33),e(),t(143,"div"),i(144,"icon-Crosshair"),e(),t(145,"div"),i(146,"icon-DotsSix"),e(),t(147,"div"),i(148,"icon-DotsThree"),e(),t(149,"div"),i(150,"icon-DotsThreeVertical"),e(),t(151,"div"),i(152,"icon-DownloadSimple"),e(),t(153,"div"),i(154,"icon-DropdownCaretDown"),e(),t(155,"div"),i(156,"icon-DropdownCaretRight"),e(),t(157,"div"),i(158,"icon-DropdownCaretUp"),e(),t(159,"div"),i(160,"icon-EnvelopeSimple"),e(),t(161,"div"),i(162,"icon-Eye"),e(),t(163,"div"),a(164,"mat-icon",34),e(),t(165,"div"),a(166,"mat-icon",35),e(),t(167,"div"),a(168,"mat-icon",36),e(),t(169,"div"),a(170,"mat-icon",37),e(),t(171,"div"),a(172,"mat-icon",38),e(),t(173,"div"),a(174,"mat-icon",39),e(),t(175,"div"),a(176,"mat-icon",40),e(),t(177,"div"),a(178,"mat-icon",41),e(),t(179,"div"),a(180,"mat-icon",42),e(),t(181,"div"),a(182,"mat-icon",43),e(),t(183,"div"),i(184,"icon-EyeSlash"),e(),t(185,"div"),i(186,"icon-FunnelSimple"),e(),t(187,"div"),i(188,"icon-GearSix"),e(),t(189,"div"),i(190,"icon-Info"),e(),t(191,"div"),i(192,"icon-Lightning"),e(),t(193,"div"),i(194,"icon-ListBullets"),e(),t(195,"div"),i(196,"icon-Loader"),e(),t(197,"div"),i(198,"icon-Lock"),e(),t(199,"div"),i(200,"icon-Magnet"),e(),t(201,"div"),i(202,"icon-MagnifyingGlass"),e(),t(203,"div"),a(204,"mat-icon",44),e(),t(205,"div"),a(206,"mat-icon",45),e(),t(207,"div"),a(208,"mat-icon",46),e(),t(209,"div"),a(210,"mat-icon",47),e(),t(211,"div"),a(212,"mat-icon",48),e(),t(213,"div"),a(214,"mat-icon",49),e(),t(215,"div"),a(216,"mat-icon",50),e(),t(217,"div"),a(218,"mat-icon",51),e(),t(219,"div"),a(220,"mat-icon",52),e(),t(221,"div"),a(222,"mat-icon",53),e(),t(223,"div"),i(224,"icon-MapTrifold"),e(),t(225,"div"),i(226,"icon-Minus"),e(),t(227,"div"),i(228,"icon-Nav"),e(),t(229,"div"),i(230,"icon-Paperclip"),e(),t(231,"div"),i(232,"icon-Passthrough"),e(),t(233,"div"),i(234,"icon-PencilSimple"),e(),t(235,"div"),i(236,"icon-Placeholder"),e(),t(237,"div"),i(238,"icon-Plus"),e(),t(239,"div"),i(240,"icon-Printer"),e(),t(241,"div"),i(242,"icon-Prohibit"),e(),t(243,"div"),a(244,"mat-icon",54),e(),t(245,"div"),a(246,"mat-icon",55),e(),t(247,"div"),a(248,"mat-icon",56),e(),t(249,"div"),a(250,"mat-icon",57),e(),t(251,"div"),a(252,"mat-icon",58),e(),t(253,"div"),a(254,"mat-icon",59),e(),t(255,"div"),a(256,"mat-icon",60),e(),t(257,"div"),a(258,"mat-icon",61),e(),t(259,"div"),a(260,"mat-icon",62),e(),t(261,"div"),a(262,"mat-icon",63),e(),t(263,"div"),i(264,"icon-Question"),e(),t(265,"div"),i(266,"icon-Refresh"),e(),t(267,"div"),i(268,"icon-Rocket"),e(),t(269,"div"),i(270,"icon-SignOut"),e(),t(271,"div"),i(272,"icon-Sort"),e(),t(273,"div"),i(274,"icon-SortDown"),e(),t(275,"div"),i(276,"icon-SortUp"),e(),t(277,"div"),i(278,"icon-Stack"),e(),t(279,"div"),i(280,"icon-StackPort"),e(),t(281,"div"),i(282,"icon-TrashSimple"),e(),t(283,"div"),a(284,"mat-icon",64),e(),t(285,"div"),a(286,"mat-icon",65),e(),t(287,"div"),a(288,"mat-icon",66),e(),t(289,"div"),a(290,"mat-icon",67),e(),t(291,"div"),a(292,"mat-icon",68),e(),t(293,"div"),a(294,"mat-icon",69),e(),t(295,"div"),a(296,"mat-icon",70),e(),t(297,"div"),a(298,"mat-icon",71),e(),t(299,"div"),a(300,"mat-icon",72),e(),t(301,"div"),a(302,"mat-icon",73),e(),t(303,"div"),i(304,"icon-TrendDown"),e(),t(305,"div"),i(306,"icon-TrendUp"),e(),t(307,"div"),i(308,"icon-UploadSimple"),e(),t(309,"div"),i(310,"icon-User"),e(),t(311,"div"),i(312,"icon-Users"),e(),t(313,"div"),i(314,"icon-WifiHigh"),e(),t(315,"div"),i(316,"icon-WifiLightning"),e(),t(317,"div"),i(318,"icon-WifiLow"),e(),t(319,"div"),i(320,"icon-WifiMedium"),e(),t(321,"div"),i(322,"icon-WifiNone"),e(),t(323,"div"),a(324,"mat-icon",74),e(),t(325,"div"),a(326,"mat-icon",75),e(),t(327,"div"),a(328,"mat-icon",76),e(),t(329,"div"),a(330,"mat-icon",77),e(),t(331,"div"),a(332,"mat-icon",78),e(),t(333,"div"),a(334,"mat-icon",79),e(),t(335,"div"),a(336,"mat-icon",80),e(),t(337,"div"),a(338,"mat-icon",81),e(),t(339,"div"),a(340,"mat-icon",82),e(),t(341,"div"),a(342,"mat-icon",83),e(),t(343,"div"),i(344,"icon-WifiSlash"),e(),t(345,"div"),i(346,"icon-WifiX"),e(),t(347,"div"),i(348,"icon-X"),e(),t(349,"div"),i(350,"icon-XCircle"),e(),t(351,"div"),i(352,"icon-Admin"),e(),t(353,"div"),i(354,"icon-Environmental"),e(),t(355,"div"),i(356,"icon-Inventory"),e(),t(357,"div"),i(358,"icon-Systems-Manager"),e(),a(359,"div")(360,"div"),t(361,"div"),a(362,"mat-icon",84),e(),t(363,"div"),a(364,"mat-icon",85),e(),t(365,"div"),a(366,"mat-icon",86),e(),t(367,"div"),a(368,"mat-icon",87),e(),t(369,"div"),a(370,"mat-icon",88),e(),t(371,"div"),a(372,"mat-icon",89),e(),t(373,"div"),a(374,"mat-icon",90),e(),t(375,"div"),a(376,"mat-icon",91),e(),a(377,"div")(378,"div"),t(379,"div",92),a(380,"mat-divider"),e()()())},dependencies:[A,h],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var cn=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-menu-demo"]],decls:155,vars:11,consts:[["animals","matMenu"],["vertebrates","matMenu"],["invertebrates","matMenu"],["fish","matMenu"],["amphibians","matMenu"],["reptiles","matMenu"],["menu","matMenu"],["aboveMenu","matMenu"],["belowMenu","matMenu"],["beforeMenu","matMenu"],["afterMenu","matMenu"],[1,"section"],[1,"parent","items-per-row-2"],["mat-button","",3,"matMenuTriggerFor"],[1,"ms-mat-menu"],["mat-menu-item","",3,"matMenuTriggerFor"],["fontSet","ms","fontIcon","icon-User"],["mat-menu-item",""],["mat-menu-item","","disabled",""],[1,"line"],[1,"section","parent","items-per-row-4"],["yPosition","above","xPosition","after",1,"ms-mat-menu"],["yPosition","below",1,"ms-mat-menu"],["xPosition","before",1,"ms-mat-menu"],["xPosition","after",1,"ms-mat-menu"]],template:function(r,m){if(r&1&&(t(0,"div",11)(1,"h2"),i(2,"Menu"),e(),t(3,"div",12)(4,"div")(5,"button",13),i(6,"Animal index"),e(),t(7,"mat-menu",14,0)(9,"button",15),a(10,"mat-icon",16),i(11,"Vertebrates "),e(),t(12,"button",15),a(13,"mat-icon",16),i(14,"Invertebrates "),e()(),t(15,"mat-menu",14,1)(17,"button",15),a(18,"mat-icon",16),i(19,"Fishes "),e(),t(20,"button",15),a(21,"mat-icon",16),i(22,"Amphibians "),e(),t(23,"button",15),a(24,"mat-icon",16),i(25,"Reptiles "),e(),t(26,"button",17),a(27,"mat-icon",16),i(28,"Birds"),e(),t(29,"button",17),a(30,"mat-icon",16),i(31,"Mammals"),e()(),t(32,"mat-menu",14,2)(34,"button",17),a(35,"mat-icon",16),i(36,"Insects"),e(),t(37,"button",17),a(38,"mat-icon",16),i(39,"Molluscs"),e(),t(40,"button",17),a(41,"mat-icon",16),i(42,"Crustaceans"),e(),t(43,"button",17),a(44,"mat-icon",16),i(45,"Corals"),e(),t(46,"button",17),a(47,"mat-icon",16),i(48,"Arachnids"),e(),t(49,"button",17),a(50,"mat-icon",16),i(51,"Velvet worms"),e(),t(52,"button",17),a(53,"mat-icon",16),i(54,"Horseshoe crabs"),e()(),t(55,"mat-menu",14,3)(57,"button",17),a(58,"mat-icon",16),i(59,"Baikal oilfish"),e(),t(60,"button",17),a(61,"mat-icon",16),i(62,"Bala shark"),e(),t(63,"button",17),a(64,"mat-icon",16),i(65,"Ballan wrasse"),e(),t(66,"button",17),a(67,"mat-icon",16),i(68,"Bamboo shark"),e(),t(69,"button",17),a(70,"mat-icon",16),i(71,"Banded killifish"),e()(),t(72,"mat-menu",14,4)(74,"button",17),a(75,"mat-icon",16),i(76,"Sonoran desert toad"),e(),t(77,"button",17),a(78,"mat-icon",16),i(79,"Western toad"),e(),t(80,"button",17),a(81,"mat-icon",16),i(82,"Arroyo toad"),e(),t(83,"button",17),a(84,"mat-icon",16),i(85,"Yosemite toad"),e()(),t(86,"mat-menu",14,5)(88,"button",17),a(89,"mat-icon",16),i(90,"Banded Day Gecko"),e(),t(91,"button",17),a(92,"mat-icon",16),i(93,"Banded Gila Monster"),e(),t(94,"button",17),a(95,"mat-icon",16),i(96,"Black Tree Monitor"),e(),t(97,"button",17),a(98,"mat-icon",16),i(99,"Blue Spiny Lizard"),e(),t(100,"button",18),a(101,"mat-icon",16),i(102,"Velociraptor"),e()()(),t(103,"div")(104,"button",13),i(105,"Menu"),e(),t(106,"mat-menu",14,6)(108,"button",17),a(109,"mat-icon",16),i(110,"Item 1"),e(),t(111,"button",17),a(112,"mat-icon",16),i(113,"Item 2"),e()()()(),t(114,"div",19),a(115,"mat-divider"),e()(),t(116,"div",20)(117,"div")(118,"button",13),i(119,"Above"),e(),t(120,"mat-menu",21,7)(122,"button",17),i(123,"Item 1"),e(),t(124,"button",17),i(125,"Item 2"),e()()(),t(126,"div")(127,"button",13),i(128,"Below"),e(),t(129,"mat-menu",22,8)(131,"button",17),i(132,"Item 1"),e(),t(133,"button",17),i(134,"Item 2"),e()()(),t(135,"div")(136,"button",13),i(137,"Before"),e(),t(138,"mat-menu",23,9)(140,"button",17),i(141,"Item 1"),e(),t(142,"button",17),i(143,"Item 2"),e()()(),t(144,"div")(145,"button",13),i(146,"After"),e(),t(147,"mat-menu",24,10)(149,"button",17),i(150,"Item 1"),e(),t(151,"button",17),i(152,"Item 2"),e()()()(),t(153,"div",19),a(154,"mat-divider"),e()),r&2){let p=E(8),S=E(16),j=E(33),bn=E(56),Sn=E(73),xn=E(87),En=E(107),Cn=E(121),Dn=E(130),_n=E(139),wn=E(148);u(5),c("matMenuTriggerFor",p),u(4),c("matMenuTriggerFor",S),u(3),c("matMenuTriggerFor",j),u(5),c("matMenuTriggerFor",bn),u(3),c("matMenuTriggerFor",Sn),u(3),c("matMenuTriggerFor",xn),u(81),c("matMenuTriggerFor",En),u(14),c("matMenuTriggerFor",Cn),u(9),c("matMenuTriggerFor",Dn),u(9),c("matMenuTriggerFor",_n),u(9),c("matMenuTriggerFor",wn)}},dependencies:[A,h,w,Xt,Kt,Yt],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var dn=(()=>{let n=class n{constructor(l){this.snackbarService=l}};n.\u0275fac=function(r){return new(r||n)(d(Ti))},n.\u0275cmp=f({type:n,selectors:[["ms-notifications-demo"]],decls:20,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-8"],["mat-raised-button","","color","primary",3,"click"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Notifications"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Banners"),e(),t(7,"div",2)(8,"div")(9,"button",3),v("click",function(){return m.snackbarService.showSuccess("Example Success")}),i(10," Open Success "),e()(),t(11,"div")(12,"button",3),v("click",function(){return m.snackbarService.showError("Example Error")}),i(13,"Open Error"),e()(),t(14,"div")(15,"button",3),v("click",function(){return m.snackbarService.showInfo("Example Info")}),i(16,"Open Info"),e()(),t(17,"div")(18,"button",3),v("click",function(){return m.snackbarService.showWarning("Example Warning")}),i(19," Open Warning "),e()()()())},dependencies:[h,w],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();function oa(o,n){o&1&&(t(0,"mat-header-cell"),i(1," No. "),e())}function la(o,n){if(o&1&&(t(0,"mat-cell")(1,"b"),i(2),e()()),o&2){let s=n.$implicit;u(2),R(s.position)}}function ma(o,n){o&1&&(t(0,"mat-header-cell"),i(1," Name "),e())}function sa(o,n){if(o&1&&(t(0,"mat-cell"),i(1),e()),o&2){let s=n.$implicit;u(),k(" ",s.name," ")}}function ua(o,n){o&1&&(t(0,"mat-header-cell"),i(1," Weight "),e())}function ca(o,n){if(o&1&&(t(0,"mat-cell"),i(1),e()),o&2){let s=n.$implicit;u(),k(" ",s.weight," ")}}function da(o,n){o&1&&(t(0,"mat-header-cell"),i(1," Symbol "),e())}function pa(o,n){if(o&1&&(t(0,"mat-cell"),i(1),e()),o&2){let s=n.$implicit;u(),k(" ",s.symbol," ")}}function fa(o,n){o&1&&a(0,"mat-header-row")}function va(o,n){o&1&&a(0,"mat-row")}var pn=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}],fn=(()=>{let n=class n{constructor(){this.displayedColumnsSimple=["position","name","weight","symbol"],this.dataSourceSimple=pn,this.displayedColumns=["select","position","name","weight","symbol"],this.dataSource=new qi(pn),this.selection=new Qt(!0,[])}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-tables-demo"]],decls:22,vars:3,consts:[[1,"line"],[1,"ms-card"],[1,"heading-sub-section-title"],[1,"ms-table",3,"dataSource"],["matColumnDef","position"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","weight"],["matColumnDef","symbol"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Tables"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"mat-card",1)(5,"p",2),i(6,"History"),e(),t(7,"mat-table",3),ue(8,4),x(9,oa,2,0,"mat-header-cell",5)(10,la,3,1,"mat-cell",6),ce(),ue(11,7),x(12,ma,2,0,"mat-header-cell",5)(13,sa,2,1,"mat-cell",6),ce(),ue(14,8),x(15,ua,2,0,"mat-header-cell",5)(16,ca,2,1,"mat-cell",6),ce(),ue(17,9),x(18,da,2,0,"mat-header-cell",5)(19,pa,2,1,"mat-cell",6),ce(),x(20,fa,1,0,"mat-header-row",10)(21,va,1,0,"mat-row",11),e()()),r&2&&(u(7),c("dataSource",m.dataSourceSimple),u(13),c("matHeaderRowDef",m.displayedColumnsSimple),u(),c("matRowDefColumns",m.displayedColumnsSimple))},dependencies:[h,Si,Ei,wi,Ci,xi,Mi,Di,_i,yi,Oi,oe],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var vn=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-typography-demo"]],decls:76,vars:0,consts:[[1,"line"],[1,"heading-primary-title"],[1,"heading-section-title"],[1,"heading-sub-section-title"],[1,"paragraph-regular-p3-default"],[1,"paragraph-bold-p3-small-bold"],[1,"paragraph-semibold-p3-small-emphasis"],[1,"paragraph-semibold-p3-default-emphasis"],[1,"paragraph-regular-p4-small"],[1,"paragraph-semibold-p4-xSmall"],[1,"key-value-container","single"],[1,"key-value-pair"],[1,"key-value-key"],[1,"key-value-value"],[1,"mat-headline-1"],[1,"mat-headline-2"],[1,"mat-headline-3"],[1,"mat-headline-4"],[1,"subtitle-1"],[1,"subtitle-2"],[1,"mat-body-1"],[1,"mat-body-2"],[1,"mat-caption"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Typograpghy"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"h1"),i(5,"Custom Typography (Figma)"),e(),t(6,"p",1),i(7,"heading-primary-title"),e(),t(8,"p",2),i(9,"heading-section-title"),e(),t(10,"p",3),i(11,"heading-sub-section-title"),e(),t(12,"p",4),i(13,"paragraph-regular-p3-default"),e(),t(14,"p",5),i(15,"paragraph-bold-p3-small-bold"),e(),t(16,"p",6),i(17,"paragraph-semibold-p3-small-emphasis"),e(),t(18,"p",7),i(19,"paragraph-semibold-p3-default-emphasis"),e(),t(20,"p",8),i(21,"paragraph-regular-p4-small"),e(),t(22,"p",9),i(23,"paragraph-semibold-p4-xSmall"),e(),a(24,"mat-divider")(25,"br"),t(26,"h1"),i(27,"Key Value Pair"),e(),t(28,"div",10)(29,"div",11)(30,"div",12),i(31,"Key 1:"),e(),t(32,"div",13),i(33,"Value 1"),e()(),t(34,"div",11)(35,"div",12),i(36,"Key 2:"),e(),t(37,"div",13),i(38,"Value 2"),e()()(),a(39,"mat-divider")(40,"br"),t(41,"h1"),i(42,"Angular Material Custom Typograpgy"),e(),t(43,"p",14),i(44,"mat-headline-1"),e(),t(45,"p",15),i(46,"mat-headline-2"),e(),t(47,"p",16),i(48,"mat-headline-3"),e(),t(49,"p",17),i(50,"mat-headline-4"),e(),t(51,"h1"),i(52,"Heading 1"),e(),t(53,"h2"),i(54,"Heading 2"),e(),t(55,"h3"),i(56,"Heading 3"),e(),t(57,"h4"),i(58,"Heading 4"),e(),t(59,"h5"),i(60,"Heading 5"),e(),t(61,"h6"),i(62,"Heading 6"),e(),a(63,"br"),t(64,"p",18),i(65,"subtitle-1"),e(),t(66,"p",19),i(67,"subtitle-2"),e(),a(68,"br"),t(69,"p",20),i(70,"mat-body-1"),e(),t(71,"p",21),i(72,"mat-body-2"),e(),a(73,"br"),t(74,"p",22),i(75,"mat-caption"),e())},dependencies:[h],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var ga=()=>["Iterative Magnitude Pruning","One-shot Magnitude Pruning"],ha=()=>["Yes","No"],ba=()=>["Option 1","Option 2","Option 3","Option 4"],gn=(()=>{let n=class n{constructor(){}handleSelected(l){console.log("Selected option:",l)}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ag-wizard-demo"]],decls:33,vars:6,consts:[["stepper",""],[1,"line"],[1,"section"],[1,"ms-wizard"],[1,"heading-primary-title"],[3,"selectedOption","options"],[1,"mt-4"],["mat-raised-button","","color","primary","matStepperNext",""],["mat-button","","matStepperPrevious","",1,"mr-3"],["fontSet","ms","fontIcon","icon-ArrowLeft"]],template:function(r,m){if(r&1){let p=T();t(0,"h1"),i(1,"Wizard"),e(),t(2,"div",1),a(3,"mat-divider"),e(),a(4,"br"),t(5,"div",2)(6,"mat-stepper",3,0)(8,"mat-step")(9,"p",4),i(10,"Recommended Algorithm:"),e(),t(11,"ms-card-selector",5),v("selectedOption",function(j){return C(p),D(m.handleSelected(j))}),e(),t(12,"div",6)(13,"button",7),i(14,"Next"),e()()(),t(15,"mat-step")(16,"p",4),i(17,"Do you want to have a similar or higher accuracy?"),e(),t(18,"ms-card-selector",5),v("selectedOption",function(j){return C(p),D(m.handleSelected(j))}),e(),t(19,"div",6)(20,"button",8),a(21,"mat-icon",9),i(22," Previous "),e(),t(23,"button",7),i(24,"Next"),e()()(),t(25,"mat-step")(26,"p",4),i(27,"Example question?"),e(),t(28,"ms-card-selector",5),v("selectedOption",function(j){return C(p),D(m.handleSelected(j))}),e(),t(29,"div",6)(30,"button",8),a(31,"mat-icon",9),i(32," Previous "),e()()()()()}r&2&&(u(11),c("options",ne(3,ga)),u(7),c("options",ne(4,ha)),u(10),c("options",ne(5,ba)))},dependencies:[me,A,rt,Ne,Bi,Vi,h,w]});let o=n;return o})();var Sa=[{path:"",component:Ki,children:[{path:"",redirectTo:y.DEMO.BUTTONS,pathMatch:"full"},{path:y.DEMO.BUTTONS,component:ji},{path:y.DEMO.FORM_FIELDS,component:Re},{path:y.DEMO.CHECKBOXES,component:$i},{path:y.DEMO.TYPOGRAPHY,component:vn},{path:y.DEMO.TABLE,component:fn},{path:y.DEMO.ICONS,component:un},{path:y.DEMO.MENU,component:cn},{path:y.DEMO.CARDS,component:Ui},{path:y.DEMO.CHIPS,component:Qi},{path:y.DEMO.NOTIFICATIONS,component:dn},{path:y.DEMO.WIZARD,component:gn},{path:y.DEMO.DRAWER,component:sn},{path:y.DEMO.DIALOG,component:Ji}]}],hn=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=X({type:n}),n.\u0275inj=K({imports:[fe.forChild(Sa),fe]});let o=n;return o})();var Al=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=X({type:n}),n.\u0275inj=K({providers:[ke,Te],imports:[fe,be,hn,me,M,le,Oe,Wi,Nt,Lt,zt,Vt,Ii,ri,Zt,jt,Ht,ui,ai,mi,ti,di]});let o=n;return o})();export{Al as DemoModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-WHCT2CHH.js b/frontend/server/modelsmith-build/browser/chunk-ECZVTXIZ.js similarity index 82% rename from frontend/server/modelsmith-build/browser/chunk-WHCT2CHH.js rename to frontend/server/modelsmith-build/browser/chunk-ECZVTXIZ.js index b42da9e8..ca59e588 100644 --- a/frontend/server/modelsmith-build/browser/chunk-WHCT2CHH.js +++ b/frontend/server/modelsmith-build/browser/chunk-ECZVTXIZ.js @@ -1 +1 @@ -import{a as f}from"./chunk-TVXWZIGN.js";import{a as x,b}from"./chunk-52V65YCI.js";import{a as G}from"./chunk-LDUU6MI3.js";import{a as u}from"./chunk-FKZOS77R.js";import"./chunk-6WFPQN4T.js";import{a as V,b as B}from"./chunk-UIR5RKCN.js";import"./chunk-FELGKJRN.js";import{a as I}from"./chunk-WXERLI5K.js";import"./chunk-BTHDGCD5.js";import{$a as r,Da as y,Ea as l,Eb as F,Fb as P,Fe as j,Wb as T,Zb as D,_ as d,ab as m,ad as C,bb as a,fb as S,ga as w,ha as p,ib as g,lc as R,oa as M,pa as h,pb as k,pc as v,qb as E,rb as O,re as A,tb as c,ue as N,vb as _}from"./chunk-MDAOMI2L.js";var U=["configureDefaultMode"],H=(()=>{let e=class e{constructor(i,t,s){this.authFacadeService=i,this.configsFacadeService=t,this.router=s}setModeAndNavigate(i){let t=this.defaultModeCheckbox.checked?i:void 0;this.configsFacadeService.dispatch(x.setDefaultMode({mode:t})),this.configsFacadeService.dispatch(x.setCurrentMode({mode:t}))}goToExpertMode(){this.setModeAndNavigate(b.EXPERT),this.router.navigate([C.MODEL_COMPRESSION.ROOT])}goToGuidedMode(){this.setModeAndNavigate(b.GUIDED),this.router.navigate([C.WIZARD.ROOT])}};e.\u0275fac=function(t){return new(t||e)(l(j),l(I),l(R))},e.\u0275cmp=w({type:e,selectors:[["ms-mode-select"]],viewQuery:function(t,s){if(t&1&&k(U,5),t&2){let n;E(n=O())&&(s.defaultModeCheckbox=n.first)}},decls:24,vars:3,consts:[["configureDefaultMode",""],[1,"mode-select-wrapper"],[1,"mode-select-warpper-content"],[1,"text"],[1,"paragraph-semibold-p1-xlarge-emphasis","block","text-white"],[1,"mode-select-buttons","mt-20"],[1,"nav-type-button"],["mat-stroked-button","",1,"ms-white-stroked-button",3,"click"],[1,"nav-type-button","mt-10"],[1,"mt-3","ml-[-8px]"],["color","primary","checked","",1,"ms-checkbox-white"],["styleMode","fullWidth"]],template:function(t,s){if(t&1){let n=S();r(0,"ms-background-gradient"),a(1,"ms-header"),r(2,"div",1),a(3,"div"),r(4,"div",2)(5,"div",3)(6,"span",4),c(7),F(8,"async"),m(),r(9,"span",4),c(10,"Welcome to ModelSmith. Please select a mode to start:"),m(),r(11,"div",5)(12,"div",6)(13,"button",7),g("click",function(){return M(n),h(s.goToExpertMode())}),c(14,"Expert Mode"),m()(),r(15,"div",8)(16,"button",7),g("click",function(){return M(n),h(s.goToGuidedMode())}),c(17,"Guided Mode"),m()(),r(18,"div",9)(19,"mat-checkbox",10,0),c(21,"Remember my choice for the future "),m()()()()(),a(22,"div"),m(),a(23,"ms-footer",11),m()}if(t&2){let n;y(7),_("Hello ",(n=P(8,1,s.authFacadeService.user$))==null?null:n.name,"")}},dependencies:[G,u,f,V,A,T],styles:[".mode-select-wrapper[_ngcontent-%COMP%]{margin-left:80px}.mode-select-wrapper[_ngcontent-%COMP%] .mode-select-warpper-content[_ngcontent-%COMP%]{margin-top:80px}.mode-select-wrapper[_ngcontent-%COMP%] .mode-select-warpper-content[_ngcontent-%COMP%] .mode-select-buttons[_ngcontent-%COMP%] .nav-type-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:400px}"]});let o=e;return o})();var q=[{path:"",component:H}],L=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=p({type:e}),e.\u0275inj=d({imports:[v.forChild(q),v]});let o=e;return o})();var Ce=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=p({type:e}),e.\u0275inj=d({imports:[L,D,u,f,B,N]});let o=e;return o})();export{Ce as ModeSelectModule}; +import{a as f}from"./chunk-VTKC7GIQ.js";import{a as x,b}from"./chunk-WKH77ZME.js";import{a as G}from"./chunk-BQKTPUNS.js";import{a as u}from"./chunk-6CY4G4GP.js";import"./chunk-BT5J7FFS.js";import{a as V,b as B}from"./chunk-JKB4DNVM.js";import"./chunk-4X6VBT7Z.js";import{a as I}from"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as r,Da as y,Ea as l,Fb as F,Gb as P,Ge as j,Xb as T,_ as d,_b as D,ab as m,bb as a,bd as C,fb as S,ga as w,ha as p,ib as g,mc as R,oa as M,pa as h,pb as k,qb as E,qc as v,rb as O,se as A,tb as c,vb as _,ve as N}from"./chunk-MVLCGSW5.js";var U=["configureDefaultMode"],H=(()=>{let e=class e{constructor(i,t,s){this.authFacadeService=i,this.configsFacadeService=t,this.router=s}setModeAndNavigate(i){let t=this.defaultModeCheckbox.checked?i:void 0;this.configsFacadeService.dispatch(x.setDefaultMode({mode:t})),this.configsFacadeService.dispatch(x.setCurrentMode({mode:t}))}goToExpertMode(){this.setModeAndNavigate(b.EXPERT),this.router.navigate([C.MODEL_COMPRESSION.ROOT])}goToGuidedMode(){this.setModeAndNavigate(b.GUIDED),this.router.navigate([C.WIZARD.ROOT])}};e.\u0275fac=function(t){return new(t||e)(l(j),l(I),l(R))},e.\u0275cmp=w({type:e,selectors:[["ms-mode-select"]],viewQuery:function(t,s){if(t&1&&k(U,5),t&2){let n;E(n=O())&&(s.defaultModeCheckbox=n.first)}},decls:24,vars:3,consts:[["configureDefaultMode",""],[1,"mode-select-wrapper"],[1,"mode-select-warpper-content"],[1,"text"],[1,"paragraph-semibold-p1-xlarge-emphasis","block","text-white"],[1,"mode-select-buttons","mt-20"],[1,"nav-type-button"],["mat-stroked-button","",1,"ms-white-stroked-button",3,"click"],[1,"nav-type-button","mt-10"],[1,"mt-3","ml-[-8px]"],["color","primary","checked","",1,"ms-checkbox-white"],["styleMode","fullWidth"]],template:function(t,s){if(t&1){let n=S();r(0,"ms-background-gradient"),a(1,"ms-header"),r(2,"div",1),a(3,"div"),r(4,"div",2)(5,"div",3)(6,"span",4),c(7),F(8,"async"),m(),r(9,"span",4),c(10,"Welcome to ModelSmith. Please select a mode to start:"),m(),r(11,"div",5)(12,"div",6)(13,"button",7),g("click",function(){return M(n),h(s.goToExpertMode())}),c(14,"Expert Mode"),m()(),r(15,"div",8)(16,"button",7),g("click",function(){return M(n),h(s.goToGuidedMode())}),c(17,"Guided Mode"),m()(),r(18,"div",9)(19,"mat-checkbox",10,0),c(21,"Remember my choice for the future "),m()()()()(),a(22,"div"),m(),a(23,"ms-footer",11),m()}if(t&2){let n;y(7),_("Hello ",(n=P(8,1,s.authFacadeService.user$))==null?null:n.name,"")}},dependencies:[G,u,f,V,A,T],styles:[".mode-select-wrapper[_ngcontent-%COMP%]{margin-left:80px}.mode-select-wrapper[_ngcontent-%COMP%] .mode-select-warpper-content[_ngcontent-%COMP%]{margin-top:80px}.mode-select-wrapper[_ngcontent-%COMP%] .mode-select-warpper-content[_ngcontent-%COMP%] .mode-select-buttons[_ngcontent-%COMP%] .nav-type-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:400px}"]});let o=e;return o})();var q=[{path:"",component:H}],L=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=p({type:e}),e.\u0275inj=d({imports:[v.forChild(q),v]});let o=e;return o})();var Ce=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=p({type:e}),e.\u0275inj=d({imports:[L,D,u,f,B,N]});let o=e;return o})();export{Ce as ModeSelectModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-EGGALFKU.js b/frontend/server/modelsmith-build/browser/chunk-EGGALFKU.js new file mode 100644 index 00000000..9bb79e89 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-EGGALFKU.js @@ -0,0 +1 @@ +import{a as Ie,b as ke}from"./chunk-NBUJA3ZB.js";import{a as we}from"./chunk-K5EGW2EZ.js";import{a as Te,b as Pe}from"./chunk-JKB4DNVM.js";import{a as me,b as de}from"./chunk-4X6VBT7Z.js";import{a as Ee,b as Ae}from"./chunk-CXMHZ5XC.js";import{o as Oe}from"./chunk-I333ACNB.js";import{h as ye}from"./chunk-LCKMIOUI.js";import{$ as z,$a as g,Ab as te,D as B,Da as c,Ea as u,Eb as ie,Fb as ne,Gb as oe,I as W,Ib as L,Ic as h,J as Q,Jc as he,Lb as ae,Pa as C,Q as $,Qa as J,R as k,Ra as s,S as p,Sb as re,Sd as pe,U as E,Ub as le,Xb as se,Y as G,Yd as ue,Zd as ge,_ as K,_b as ce,ab as m,bb as y,ce as fe,fb as v,ga as q,ge as _e,ha as U,ia as A,ib as x,j as R,je as Ce,k as N,kb as d,lb as X,mb as O,oa as f,ob as P,pa as _,pb as w,qb as S,rb as b,re as Se,s as j,sb as D,tb as F,ub as Y,ue as be,vb as ee,ve as Me,w as M,wa as T,x as H,xa as Z,xe as ve,ye as xe}from"./chunk-MVLCGSW5.js";var De=["searchSelectInput"],Fe=["innerSelectSearch"],Le=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Ve=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],Re=(i,a)=>({"mat-select-search-inner-multiple":i,"mat-select-search-inner-toggle-all":a});function Ne(i,a){if(i&1){let e=v();g(0,"mat-checkbox",12),x("change",function(n){f(e);let o=d();return _(o._emitSelectAllBooleanToParent(n.checked))}),m()}if(i&2){let e=d();s("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function je(i,a){i&1&&y(0,"mat-spinner",13)}function He(i,a){i&1&&O(0,1,["*ngIf","clearIcon; else defaultIcon"])}function Be(i,a){if(i&1&&(g(0,"mat-icon",16),F(1),m()),i&2){let e=d(2);s("svgIcon",e.closeSvgIcon),c(),ee(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function We(i,a){if(i&1){let e=v();g(0,"button",14),x("click",function(){f(e);let n=d();return _(n._reset(!0))}),C(1,He,1,0,"ng-content",15)(2,Be,2,2,"ng-template",null,2,L),m()}if(i&2){let e=D(3),t=d();c(),s("ngIf",t.clearIcon)("ngIfElse",e)}}function Qe(i,a){i&1&&O(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function $e(i,a){if(i&1&&F(0),i&2){let e=d(2);Y(e.noEntriesFoundLabel)}}function Ge(i,a){if(i&1&&(g(0,"div",17),C(1,Qe,1,0,"ng-content",15)(2,$e,1,1,"ng-template",null,3,L),m()),i&2){let e=D(3),t=d();c(),s("ngIf",t.noEntriesFound)("ngIfElse",e)}}var Ke=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=A({type:i,selectors:[["","ngxMatSelectSearchClear",""]]}),i})(),ze=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],qe=new z("mat-selectsearch-default-options"),Ue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=A({type:i,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),i})(),Bt=(()=>{class i{constructor(e,t,n,o=null,r=null,V){this.matSelect=e,this.changeDetectorRef=t,this._viewportRuler=n,this.matOption=o,this.matFormField=r,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new Z,this.onTouched=l=>{},this._options$=new N(null),this.optionsList$=this._options$.pipe(k(l=>l?l.changes.pipe(M(I=>I.toArray()),$(l.toArray())):j(null))),this.optionsLength$=this.optionsList$.pipe(M(l=>l?l.length:0)),this._formControl=new _e(""),this._showNoEntriesFound$=H([this._formControl.valueChanges,this.optionsLength$]).pipe(M(([l,I])=>this.noEntriesFoundLabel&&l&&I===this.getOptionsLengthOffset())),this._onDestroy=new R,this.applyDefaultOptions(V)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let t of ze)e.hasOwnProperty(t)&&(this[t]=e[t])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(Q(1),p(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(W(1),k(e=>{this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(E(()=>{setTimeout(()=>{let n=this._options.toArray(),o=n[this.getOptionsLengthOffset()],r=this.matSelect._keyManager;r&&this.matSelect.panelOpen&&o&&((!t||!this.matSelect.compareWith(t.value,o.value)||!r.activeItem||!n.find(l=>this.matSelect.compareWith(l.value,r.activeItem.value)))&&r.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),t=o})}))})).pipe(p(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(p(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(p(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(p(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||e.keyCode>=65&&e.keyCode<=90||e.keyCode>=48&&e.keyCode<=57||e.keyCode===32||this.preventHomeEndKeyPropagation&&(e.keyCode===36||e.keyCode===35))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.keyCode===13&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed===!0&&e.keyCode===27&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.keyCode===38||e.keyCode===40){let t=this.matSelect._getAriaActiveDescendant(),n=this._options.toArray().findIndex(o=>o.id===t);n!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[n]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",t))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(B(t=>t!==this._lastExternalInputValue),E(()=>this._lastExternalInputValue=void 0),p(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,t=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=t}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe(p(this._onDestroy)).subscribe(e=>{let t=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let n=this.matSelect.options.map(o=>o.value);this.previousSelectedValues.forEach(o=>{!e.some(r=>this.matSelect.compareWith(r,o))&&!n.some(r=>this.matSelect.compareWith(r,o))&&(e.push(o),t=!0)})}this.previousSelectedValues=e,t&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,t;for(;e=e.parentElement;)if(e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return i.\u0275fac=function(e){return new(e||i)(u(we),u(ae),u(Oe),u(pe,8),u(ye,8),u(qe,8))},i.\u0275cmp=q({type:i,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,t,n){if(e&1&&(P(n,Ke,5),P(n,Ue,5)),e&2){let o;S(o=b())&&(t.clearIcon=o.first),S(o=b())&&(t.noEntriesFound=o.first)}},viewQuery:function(e,t){if(e&1&&(w(De,7,T),w(Fe,7,T)),e&2){let n;S(n=b())&&(t.searchSelectInput=n.first),S(n=b())&&(t.innerSelectSearch=n.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[te([{provide:ue,useExisting:G(()=>i),multi:!0}])],ngContentSelectors:Ve,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,t){if(e&1){let n=v();X(Le),y(0,"input",4),g(1,"div",5,0)(3,"div",6),C(4,Ne,1,5,"mat-checkbox",7),g(5,"input",8,1),x("keydown",function(r){return f(n),_(t._handleKeydown(r))})("keyup",function(r){return f(n),_(t._handleKeyup(r))})("blur",function(){return f(n),_(t.onBlur())}),m(),C(7,je,1,0,"mat-spinner",9)(8,We,4,2,"button",10),O(9),m(),y(10,"mat-divider"),m(),C(11,Ge,4,2,"div",11),ne(12,"async")}e&2&&(c(),s("ngClass",ie(11,Re,t.matSelect.multiple,t._isToggleAllCheckboxVisible())),c(3),s("ngIf",t._isToggleAllCheckboxVisible()),c(),s("type",t.type)("formControl",t._formControl)("placeholder",t.placeholderLabel),J("aria-label",t.ariaLabel),c(2),s("ngIf",t.searching),c(),s("ngIf",!t.hideClearSearchButton&&t.value&&!t.searching),c(3),s("ngIf",oe(12,9,t._showNoEntriesFound$)))},dependencies:[re,le,ge,fe,Ce,be,Te,ve,Ie,Ee,me,se],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),i})();var Wt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=U({type:i}),i.\u0275inj=K({imports:[ce,Se,Me,Pe,xe,ke,Ae,de]}),i})();var Gt=he({source:"[Models]",events:{"Get Models List":h(),"Get Models List Success":h(),"Get Models List Failure":h(),"Get Current Or Previous Selected Model":h(),"Get Current Or Previous Selected Model Success":h(),"Get Current Or Previous Selected Model Failure":h(),"Get Model Metadata":h(),"Get Model Metadata Success":h(),"Get Model Metadata Failure":h()}});export{qe as a,Bt as b,Wt as c,Gt as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-CTNLIWRS.js b/frontend/server/modelsmith-build/browser/chunk-G2RQEMMZ.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-CTNLIWRS.js rename to frontend/server/modelsmith-build/browser/chunk-G2RQEMMZ.js index ab89e519..c75c48d5 100644 --- a/frontend/server/modelsmith-build/browser/chunk-CTNLIWRS.js +++ b/frontend/server/modelsmith-build/browser/chunk-G2RQEMMZ.js @@ -1,3 +1,3 @@ -import{a as B,b as Ut,c as tn,d as Le,e as H,f as U,h as be,i as wt}from"./chunk-IPCM5XN4.js";import{a as Me}from"./chunk-QYJ4C4QM.js";import{a as ga,b as fa}from"./chunk-DHK6QHGP.js";import"./chunk-R5LGWJKV.js";import{a as Se,b as pa}from"./chunk-FODXYRF6.js";import{b as ye,c as At}from"./chunk-C4NPICWQ.js";import{a as Ce,c as we}from"./chunk-XX6ZYDLH.js";import{a as Zt,b as kt,d as Ct,g as $t,k as va,m as _a,o as ya}from"./chunk-MCE6M2DX.js";import{a as yt,b as Ot}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import{$a as w,Cb as ia,D as st,Da as I,Ea as W,Eb as ge,Fb as fe,I as Q,Ia as qn,P as Z,Pa as at,Ra as R,Wb as ra,Xa as it,Ya as Kn,Yb as oa,Za as Qn,Zb as sa,_ as ue,_a as Zn,a as E,ab as v,b as D,bb as A,be as ca,f as S,fb as Jn,ga as X,ge as la,ha as me,ib as Rt,ja as Yn,kb as dt,oa as Gn,p as ht,pa as Vn,pb as ta,pc as Je,pe as ha,qb as ea,qe as da,rb as na,re as ve,tb as L,ub as aa,ue as ua,vb as pe,wa as Xn,wb as Ke,we as _e,xb as Qe,xe as ma,yb as Ze}from"./chunk-MDAOMI2L.js";var Mi=Object.defineProperty,Li=(s,n,a)=>n in s?Mi(s,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[n]=a,x=(s,n,a)=>Li(s,typeof n!="symbol"?n+"":n,a),bi=class{requestAnimationFrame(s){return requestAnimationFrame(s)}cancelAnimationFrame(s){cancelAnimationFrame(s)}},Ai=class{constructor(){x(this,"_lastHandleId",0),x(this,"_lastImmediate",null)}requestAnimationFrame(s){return this._lastHandleId>=Number.MAX_SAFE_INTEGER&&(this._lastHandleId=0),this._lastHandleId+=1,this._lastImmediate=setImmediate(()=>{s(Date.now())}),this._lastHandleId}cancelAnimationFrame(s){this._lastImmediate&&clearImmediate(this._lastImmediate)}},Ii=class{constructor(){x(this,"_strategy"),this._strategy=typeof requestAnimationFrame=="function"?new bi:new Ai}requestAnimationFrame(s){return this._strategy.requestAnimationFrame(s)}cancelAnimationFrame(s){this._strategy.cancelAnimationFrame(s)}},Pt=typeof window<"u"&&typeof window.document<"u",Ae={name:"@lottiefiles/dotlottie-web",version:"0.28.0",type:"module",description:"Lottie and DotLottie player for the web",repository:{type:"git",url:"git+https://github.com/LottieFiles/dotlottie-web.git",directory:"packages/web"},homepage:"https://github.com/LottieFiles/dotlottie-web#readme",bugs:"https://github.com/LottieFiles/dotlottie-web/issues",author:"LottieFiles",contributors:["Abdelrahman Ashraf "],license:"MIT",main:"dist/index.cjs",module:"dist/index.js",types:"dist/index.d.ts",files:["dist"],keywords:["dotlottie","lottie","player","animation","web","canvas","javascript","thorvg"],scripts:{build:"tsup",dev:"tsup --watch",lint:"eslint --fix .","stats:eslint":"cross-env TIMING=1 eslint .","stats:ts":"tsc -p tsconfig.build.json --extendedDiagnostics",test:"vitest run --browser.headless","test:coverage":"vitest run --browser.headless --coverage","test:watch":"vitest","type-check":"tsc --noEmit"},devDependencies:{"@types/node":"^20.10.5","@vitest/browser":"^1.2.2 ","@vitest/coverage-istanbul":"^1.2.2","cross-env":"7.0.3",tsup:"8.1.0",typescript:"5.0.4",vitest:"^1.2.2",webdriverio:"^8.32.0"},publishConfig:{access:"public"}},Pi=(()=>{var s=typeof document<"u"?document.currentScript?.src:void 0;return function(n={}){var a=n,c,p,y=new Promise((t,e)=>{c=t,p=e}),Y=Object.assign({},a),ot="./this.program",V="";typeof document<"u"&&document.currentScript&&(V=document.currentScript.src),s&&(V=s),V.startsWith("blob:")?V="":V=V.substr(0,V.replace(/[?#].*/,"").lastIndexOf("/")+1);var Et=a.print||console.log.bind(console),xt=a.printErr||console.error.bind(console);Object.assign(a,Y),Y=null,a.thisProgram&&(ot=a.thisProgram);var Nt;a.wasmBinary&&(Nt=a.wasmBinary);var ee,hn=!1,St,O,Ft,jt,z,F,dn,un;function mn(){var t=ee.buffer;a.HEAP8=St=new Int8Array(t),a.HEAP16=Ft=new Int16Array(t),a.HEAPU8=O=new Uint8Array(t),a.HEAPU16=jt=new Uint16Array(t),a.HEAP32=z=new Int32Array(t),a.HEAPU32=F=new Uint32Array(t),a.HEAPF32=dn=new Float32Array(t),a.HEAPF64=un=new Float64Array(t)}var pn=[],gn=[],fn=[];function ka(){var t=a.preRun.shift();pn.unshift(t)}var Mt=0,zt=null;function ne(t){throw a.onAbort?.(t),t="Aborted("+t+")",xt(t),hn=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),p(t),t}var vn=t=>t.startsWith("data:application/octet-stream;base64,"),Dt;if(Dt="DotLottiePlayer.wasm",!vn(Dt)){var _n=Dt;Dt=a.locateFile?a.locateFile(_n,V):V+_n}function yn(t){if(t==Dt&&Nt)return new Uint8Array(Nt);throw"both async and sync fetching of the wasm failed"}function $a(t){return Nt||typeof fetch!="function"?Promise.resolve().then(()=>yn(t)):fetch(t,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw`failed to load wasm binary file at '${t}'`;return e.arrayBuffer()}).catch(()=>yn(t))}function Cn(t,e,i){return $a(t).then(r=>WebAssembly.instantiate(r,e)).then(i,r=>{xt(`failed to asynchronously prepare wasm: ${r}`),ne(r)})}function Ua(t,e){var i=Dt;return Nt||typeof WebAssembly.instantiateStreaming!="function"||vn(i)||typeof fetch!="function"?Cn(i,t,e):fetch(i,{credentials:"same-origin"}).then(r=>WebAssembly.instantiateStreaming(r,t).then(e,function(o){return xt(`wasm streaming compile failed: ${o}`),xt("falling back to ArrayBuffer instantiation"),Cn(i,t,e)}))}var Fe=t=>{for(;0{var r=e+i;for(i=e;t[i]&&!(i>=r);)++i;if(16o?r+=String.fromCharCode(o):(o-=65536,r+=String.fromCharCode(55296|o>>10,56320|o&1023))}}else r+=String.fromCharCode(o)}return r};class Wa{constructor(e){this.ya=e-24}}var Sn=0,Mn=t=>{for(var e=0,i=0;i=r?e++:2047>=r?e+=2:55296<=r&&57343>=r?(e+=4,++i):e+=3}return e},Ln=(t,e,i,r)=>{if(0=l){var u=t.charCodeAt(++o);l=65536+((l&1023)<<10)|u&1023}if(127>=l){if(i>=r)break;e[i++]=l}else{if(2047>=l){if(i+1>=r)break;e[i++]=192|l>>6}else{if(65535>=l){if(i+2>=r)break;e[i++]=224|l>>12}else{if(i+3>=r)break;e[i++]=240|l>>18,e[i++]=128|l>>12&63}e[i++]=128|l>>6&63}e[i++]=128|l&63}}e[i]=0}},ae={},De=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function Bt(t){return this.fromWireType(F[t>>2])}var Tt={},bt={},ie={},Ht,vt=(t,e,i)=>{function r(d){if(d=i(d),d.length!==t.length)throw new Ht("Mismatched type converter count");for(var g=0;g{bt.hasOwnProperty(d)?o[g]=bt[d]:(l.push(d),Tt.hasOwnProperty(d)||(Tt[d]=[]),Tt[d].push(()=>{o[g]=bt[d],++u,u===l.length&&r(o)}))}),l.length===0&&r(o)},bn,N=t=>{for(var e="";O[t];)e+=bn[O[t++]];return e},M;function Na(t,e,i={}){var r=e.name;if(!t)throw new M(`type "${r}" must have a positive integer typeid pointer`);if(bt.hasOwnProperty(t)){if(i.ib)return;throw new M(`Cannot register type '${r}' twice`)}bt[t]=e,delete ie[t],Tt.hasOwnProperty(t)&&(e=Tt[t],delete Tt[t],e.forEach(o=>o()))}function J(t,e,i={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");return Na(t,e,i)}var Te=t=>{throw new M(t.ma.za.xa.name+" instance already deleted")},Re=!1,An=()=>{},In=(t,e,i)=>e===i?t:i.Ca===void 0?null:(t=In(t,e,i.Ca),t===null?null:i.ab(t)),Pn={},Yt=[],Oe=()=>{for(;Yt.length;){var t=Yt.pop();t.ma.Ka=!1,t.delete()}},Gt,Vt={},ja=(t,e)=>{if(e===void 0)throw new M("ptr should not be undefined");for(;t.Ca;)e=t.Na(e),t=t.Ca;return Vt[e]},re=(t,e)=>{if(!e.za||!e.ya)throw new Ht("makeClassHandle requires ptr and ptrType");if(!!e.Da!=!!e.Aa)throw new Ht("Both smartPtrType and smartPtr must be specified");return e.count={value:1},Xt(Object.create(t,{ma:{value:e,writable:!0}}))},Xt=t=>typeof FinalizationRegistry>"u"?(Xt=e=>e,t):(Re=new FinalizationRegistry(e=>{e=e.ma,--e.count.value,e.count.value===0&&(e.Aa?e.Da.Fa(e.Aa):e.za.xa.Fa(e.ya))}),Xt=e=>{var i=e.ma;return i.Aa&&Re.register(e,{ma:i},e),e},An=e=>{Re.unregister(e)},Xt(t));function oe(){}var qt=(t,e)=>Object.defineProperty(e,"name",{value:t}),En=(t,e,i)=>{if(t[e].Ba===void 0){var r=t[e];t[e]=function(...o){if(!t[e].Ba.hasOwnProperty(o.length))throw new M(`Function '${i}' called with an invalid number of arguments (${o.length}) - expects one of (${t[e].Ba})!`);return t[e].Ba[o.length].apply(this,o)},t[e].Ba=[],t[e].Ba[r.Oa]=r}},ke=(t,e,i)=>{if(a.hasOwnProperty(t)){if(i===void 0||a[t].Ba!==void 0&&a[t].Ba[i]!==void 0)throw new M(`Cannot register public name '${t}' twice`);if(En(a,t,t),a.hasOwnProperty(i))throw new M(`Cannot register multiple overloads of a function with the same number of arguments (${i})!`);a[t].Ba[i]=e}else a[t]=e,i!==void 0&&(a[t].vb=i)},za=t=>{if(t===void 0)return"_unknown";t=t.replace(/[^a-zA-Z0-9_]/g,"$");var e=t.charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t};function Ba(t,e,i,r,o,l,u,d){this.name=t,this.constructor=e,this.La=i,this.Fa=r,this.Ca=o,this.cb=l,this.Na=u,this.ab=d,this.kb=[]}var $e=(t,e,i)=>{for(;e!==i;){if(!e.Na)throw new M(`Expected null or instance of ${i.name}, got an instance of ${e.name}`);t=e.Na(t),e=e.Ca}return t};function Ha(t,e){if(e===null){if(this.Ta)throw new M(`null is not a valid ${this.name}`);return 0}if(!e.ma)throw new M(`Cannot pass "${He(e)}" as a ${this.name}`);if(!e.ma.ya)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);return $e(e.ma.ya,e.ma.za.xa,this.xa)}function Ya(t,e){if(e===null){if(this.Ta)throw new M(`null is not a valid ${this.name}`);if(this.Qa){var i=this.Ua();return t!==null&&t.push(this.Fa,i),i}return 0}if(!e||!e.ma)throw new M(`Cannot pass "${He(e)}" as a ${this.name}`);if(!e.ma.ya)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Pa&&e.ma.za.Pa)throw new M(`Cannot convert argument of type ${e.ma.Da?e.ma.Da.name:e.ma.za.name} to parameter type ${this.name}`);if(i=$e(e.ma.ya,e.ma.za.xa,this.xa),this.Qa){if(e.ma.Aa===void 0)throw new M("Passing raw pointer to smart pointer is illegal");switch(this.pb){case 0:if(e.ma.Da===this)i=e.ma.Aa;else throw new M(`Cannot convert argument of type ${e.ma.Da?e.ma.Da.name:e.ma.za.name} to parameter type ${this.name}`);break;case 1:i=e.ma.Aa;break;case 2:if(e.ma.Da===this)i=e.ma.Aa;else{var r=e.clone();i=this.lb(i,ce(()=>r.delete())),t!==null&&t.push(this.Fa,i)}break;default:throw new M("Unsupporting sharing policy")}}return i}function Ga(t,e){if(e===null){if(this.Ta)throw new M(`null is not a valid ${this.name}`);return 0}if(!e.ma)throw new M(`Cannot pass "${He(e)}" as a ${this.name}`);if(!e.ma.ya)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);if(e.ma.za.Pa)throw new M(`Cannot convert argument of type ${e.ma.za.name} to parameter type ${this.name}`);return $e(e.ma.ya,e.ma.za.xa,this.xa)}function Kt(t,e,i,r,o,l,u,d,g,m,f){this.name=t,this.xa=e,this.Ta=i,this.Pa=r,this.Qa=o,this.jb=l,this.pb=u,this.Za=d,this.Ua=g,this.lb=m,this.Fa=f,o||e.Ca!==void 0?this.toWireType=Ya:(this.toWireType=r?Ha:Ga,this.Ea=null)}var xn=(t,e,i)=>{if(!a.hasOwnProperty(t))throw new Ht("Replacing nonexistent public symbol");a[t].Ba!==void 0&&i!==void 0?a[t].Ba[i]=e:(a[t]=e,a[t].Oa=i)},K,Va=(t,e,i=[])=>(t.includes("j")?(t=t.replace(/p/g,"i"),e=(0,a["dynCall_"+t])(e,...i)):e=K.get(e)(...i),e),Xa=(t,e)=>(...i)=>Va(t,e,i),G=(t,e)=>{t=N(t);var i=t.includes("j")?Xa(t,e):K.get(e);if(typeof i!="function")throw new M(`unknown function pointer with signature ${t}: ${e}`);return i},Fn,Dn=t=>{t=jn(t);var e=N(t);return lt(t),e},se=(t,e)=>{function i(l){o[l]||bt[l]||(ie[l]?ie[l].forEach(i):(r.push(l),o[l]=!0))}var r=[],o={};throw e.forEach(i),new Fn(`${t}: `+r.map(Dn).join([", "]))},Ue=(t,e)=>{for(var i=[],r=0;r>2]);return i};function qa(t){for(var e=1;el)throw new M("argTypes array size mismatch! Must at least get return value and 'this' types!");var u=e[1]!==null&&i!==null,d=qa(e),g=e[0].name!=="void",m=l-2,f=Array(m),b=[],P=[];return qt(t,function(...h){if(h.length!==m)throw new M(`function ${t} called with ${h.length} arguments, expected ${m}`);if(P.length=0,b.length=u?2:1,b[0]=o,u){var _=e[1].toWireType(P,this);b[1]=_}for(var C=0;C{t=t.trim();let e=t.indexOf("(");return e!==-1?t.substr(0,e):t},Ne=[],ct=[],je=t=>{9{if(!t)throw new M("Cannot use deleted val. handle = "+t);return ct[t]},ce=t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:let e=Ne.pop()||ct.length;return ct[e]=t,ct[e+1]=1,e}},Rn={name:"emscripten::val",fromWireType:t=>{var e=ze(t);return je(t),e},toWireType:(t,e)=>ce(e),argPackAdvance:8,readValueFromPointer:Bt,Ea:null},Ka=(t,e,i)=>{switch(e){case 1:return i?function(r){return this.fromWireType(St[r])}:function(r){return this.fromWireType(O[r])};case 2:return i?function(r){return this.fromWireType(Ft[r>>1])}:function(r){return this.fromWireType(jt[r>>1])};case 4:return i?function(r){return this.fromWireType(z[r>>2])}:function(r){return this.fromWireType(F[r>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},Be=(t,e)=>{var i=bt[t];if(i===void 0)throw t=`${e} has unknown type ${Dn(t)}`,new M(t);return i},He=t=>{if(t===null)return"null";var e=typeof t;return e==="object"||e==="array"||e==="function"?t.toString():""+t},Qa=(t,e)=>{switch(e){case 4:return function(i){return this.fromWireType(dn[i>>2])};case 8:return function(i){return this.fromWireType(un[i>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},Za=(t,e,i)=>{switch(e){case 1:return i?r=>St[r]:r=>O[r];case 2:return i?r=>Ft[r>>1]:r=>jt[r>>1];case 4:return i?r=>z[r>>2]:r=>F[r>>2];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},On=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,Ja=(t,e)=>{for(var i=t>>1,r=i+e/2;!(i>=r)&&jt[i];)++i;if(i<<=1,32=e/2);++r){var o=Ft[t+2*r>>1];if(o==0)break;i+=String.fromCharCode(o)}return i},ti=(t,e,i)=>{if(i??(i=2147483647),2>i)return 0;i-=2;var r=e;i=i<2*t.length?i/2:t.length;for(var o=0;o>1]=t.charCodeAt(o),e+=2;return Ft[e>>1]=0,e-r},ei=t=>2*t.length,ni=(t,e)=>{for(var i=0,r="";!(i>=e/4);){var o=z[t+4*i>>2];if(o==0)break;++i,65536<=o?(o-=65536,r+=String.fromCharCode(55296|o>>10,56320|o&1023)):r+=String.fromCharCode(o)}return r},ai=(t,e,i)=>{if(i??(i=2147483647),4>i)return 0;var r=e;i=r+i-4;for(var o=0;o=l){var u=t.charCodeAt(++o);l=65536+((l&1023)<<10)|u&1023}if(z[e>>2]=l,e+=4,e+4>i)break}return z[e>>2]=0,e-r},ii=t=>{for(var e=0,i=0;i=r&&++i,e+=4}return e},Ye=[],ri=t=>{var e=Ye.length;return Ye.push(t),e},oi=(t,e)=>{for(var i=Array(t),r=0;r>2],"parameter "+r);return i},si=Reflect.construct,Ge={},kn=()=>{if(!Ve){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ot||"./this.program"},e;for(e in Ge)Ge[e]===void 0?delete t[e]:t[e]=Ge[e];var i=[];for(e in t)i.push(`${e}=${t[e]}`);Ve=i}return Ve},Ve,ci=[null,[],[]],li=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return t=>crypto.getRandomValues(t);ne("initRandomDevice")},$n=t=>($n=li())(t),le=t=>t%4===0&&(t%100!==0||t%400===0),Un=[31,29,31,30,31,30,31,31,30,31,30,31],Wn=[31,28,31,30,31,30,31,31,30,31,30,31];function hi(t){var e=Array(Mn(t)+1);return Ln(t,e,0,e.length),e}var di=(t,e,i,r)=>{function o(h,_,C){for(h=typeof h=="number"?h.toString():h||"";h.length<_;)h=C[0]+h;return h}function l(h,_){return o(h,_,"0")}function u(h,_){function C(_t){return 0>_t?-1:0<_t?1:0}var $;return($=C(h.getFullYear()-_.getFullYear()))===0&&($=C(h.getMonth()-_.getMonth()))===0&&($=C(h.getDate()-_.getDate())),$}function d(h){switch(h.getDay()){case 0:return new Date(h.getFullYear()-1,11,29);case 1:return h;case 2:return new Date(h.getFullYear(),0,3);case 3:return new Date(h.getFullYear(),0,2);case 4:return new Date(h.getFullYear(),0,1);case 5:return new Date(h.getFullYear()-1,11,31);case 6:return new Date(h.getFullYear()-1,11,30)}}function g(h){var _=h.Ia;for(h=new Date(new Date(h.Ja+1900,0,1).getTime());0<_;){var C=h.getMonth(),$=(le(h.getFullYear())?Un:Wn)[C];if(_>$-h.getDate())_-=$-h.getDate()+1,h.setDate(1),11>C?h.setMonth(C+1):(h.setMonth(0),h.setFullYear(h.getFullYear()+1));else{h.setDate(h.getDate()+_);break}}return C=new Date(h.getFullYear()+1,0,4),_=d(new Date(h.getFullYear(),0,4)),C=d(C),0>=u(_,h)?0>=u(C,h)?h.getFullYear()+1:h.getFullYear():h.getFullYear()-1}var m=F[r+40>>2];r={sb:z[r>>2],rb:z[r+4>>2],Ra:z[r+8>>2],Va:z[r+12>>2],Sa:z[r+16>>2],Ja:z[r+20>>2],Ga:z[r+24>>2],Ia:z[r+28>>2],wb:z[r+32>>2],qb:z[r+36>>2],tb:m&&m?Lt(O,m):""},i=i?Lt(O,i):"",m={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var f in m)i=i.replace(new RegExp(f,"g"),m[f]);var b="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),P="January February March April May June July August September October November December".split(" ");m={"%a":h=>b[h.Ga].substring(0,3),"%A":h=>b[h.Ga],"%b":h=>P[h.Sa].substring(0,3),"%B":h=>P[h.Sa],"%C":h=>l((h.Ja+1900)/100|0,2),"%d":h=>l(h.Va,2),"%e":h=>o(h.Va,2," "),"%g":h=>g(h).toString().substring(2),"%G":g,"%H":h=>l(h.Ra,2),"%I":h=>(h=h.Ra,h==0?h=12:12{for(var _=0,C=0;C<=h.Sa-1;_+=(le(h.Ja+1900)?Un:Wn)[C++]);return l(h.Va+_,3)},"%m":h=>l(h.Sa+1,2),"%M":h=>l(h.rb,2),"%n":()=>` +import{a as B,b as Ut,c as tn,d as Le,e as H,f as U,h as be,i as wt}from"./chunk-VOZENGGC.js";import{a as Me}from"./chunk-4P7ULTDI.js";import{a as ga,b as fa}from"./chunk-5QW772YG.js";import"./chunk-GULIW6WA.js";import{a as Se,b as pa}from"./chunk-XUCLYHZN.js";import{b as ye,c as At}from"./chunk-C4NPICWQ.js";import{a as Ce,c as we}from"./chunk-XX6ZYDLH.js";import{a as Zt,b as kt,d as Ct,g as $t,k as va,m as _a,o as ya}from"./chunk-XSOJ6DN4.js";import{a as yt,b as Ot}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import{$a as w,D as st,Da as I,Db as ia,Ea as W,Fb as ge,Gb as fe,I as Q,Ia as qn,P as Z,Pa as at,Ra as R,Xa as it,Xb as ra,Ya as Kn,Za as Qn,Zb as oa,_ as ue,_a as Zn,_b as sa,a as E,ab as v,b as D,bb as A,ce as ca,f as S,fb as Jn,ga as X,ha as me,he as la,ib as Rt,ja as Yn,kb as dt,oa as Gn,p as ht,pa as Vn,pb as ta,qb as ea,qc as Je,qe as ha,rb as na,re as da,se as ve,tb as L,ub as aa,vb as pe,ve as ua,wa as Xn,wb as Ke,xb as Qe,xe as _e,yb as Ze,ye as ma}from"./chunk-MVLCGSW5.js";var Mi=Object.defineProperty,Li=(s,n,a)=>n in s?Mi(s,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[n]=a,x=(s,n,a)=>Li(s,typeof n!="symbol"?n+"":n,a),bi=class{requestAnimationFrame(s){return requestAnimationFrame(s)}cancelAnimationFrame(s){cancelAnimationFrame(s)}},Ai=class{constructor(){x(this,"_lastHandleId",0),x(this,"_lastImmediate",null)}requestAnimationFrame(s){return this._lastHandleId>=Number.MAX_SAFE_INTEGER&&(this._lastHandleId=0),this._lastHandleId+=1,this._lastImmediate=setImmediate(()=>{s(Date.now())}),this._lastHandleId}cancelAnimationFrame(s){this._lastImmediate&&clearImmediate(this._lastImmediate)}},Ii=class{constructor(){x(this,"_strategy"),this._strategy=typeof requestAnimationFrame=="function"?new bi:new Ai}requestAnimationFrame(s){return this._strategy.requestAnimationFrame(s)}cancelAnimationFrame(s){this._strategy.cancelAnimationFrame(s)}},Pt=typeof window<"u"&&typeof window.document<"u",Ae={name:"@lottiefiles/dotlottie-web",version:"0.28.0",type:"module",description:"Lottie and DotLottie player for the web",repository:{type:"git",url:"git+https://github.com/LottieFiles/dotlottie-web.git",directory:"packages/web"},homepage:"https://github.com/LottieFiles/dotlottie-web#readme",bugs:"https://github.com/LottieFiles/dotlottie-web/issues",author:"LottieFiles",contributors:["Abdelrahman Ashraf "],license:"MIT",main:"dist/index.cjs",module:"dist/index.js",types:"dist/index.d.ts",files:["dist"],keywords:["dotlottie","lottie","player","animation","web","canvas","javascript","thorvg"],scripts:{build:"tsup",dev:"tsup --watch",lint:"eslint --fix .","stats:eslint":"cross-env TIMING=1 eslint .","stats:ts":"tsc -p tsconfig.build.json --extendedDiagnostics",test:"vitest run --browser.headless","test:coverage":"vitest run --browser.headless --coverage","test:watch":"vitest","type-check":"tsc --noEmit"},devDependencies:{"@types/node":"^20.10.5","@vitest/browser":"^1.2.2 ","@vitest/coverage-istanbul":"^1.2.2","cross-env":"7.0.3",tsup:"8.1.0",typescript:"5.0.4",vitest:"^1.2.2",webdriverio:"^8.32.0"},publishConfig:{access:"public"}},Pi=(()=>{var s=typeof document<"u"?document.currentScript?.src:void 0;return function(n={}){var a=n,c,p,y=new Promise((t,e)=>{c=t,p=e}),Y=Object.assign({},a),ot="./this.program",V="";typeof document<"u"&&document.currentScript&&(V=document.currentScript.src),s&&(V=s),V.startsWith("blob:")?V="":V=V.substr(0,V.replace(/[?#].*/,"").lastIndexOf("/")+1);var Et=a.print||console.log.bind(console),xt=a.printErr||console.error.bind(console);Object.assign(a,Y),Y=null,a.thisProgram&&(ot=a.thisProgram);var Nt;a.wasmBinary&&(Nt=a.wasmBinary);var ee,hn=!1,St,O,Ft,jt,z,F,dn,un;function mn(){var t=ee.buffer;a.HEAP8=St=new Int8Array(t),a.HEAP16=Ft=new Int16Array(t),a.HEAPU8=O=new Uint8Array(t),a.HEAPU16=jt=new Uint16Array(t),a.HEAP32=z=new Int32Array(t),a.HEAPU32=F=new Uint32Array(t),a.HEAPF32=dn=new Float32Array(t),a.HEAPF64=un=new Float64Array(t)}var pn=[],gn=[],fn=[];function ka(){var t=a.preRun.shift();pn.unshift(t)}var Mt=0,zt=null;function ne(t){throw a.onAbort?.(t),t="Aborted("+t+")",xt(t),hn=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),p(t),t}var vn=t=>t.startsWith("data:application/octet-stream;base64,"),Dt;if(Dt="DotLottiePlayer.wasm",!vn(Dt)){var _n=Dt;Dt=a.locateFile?a.locateFile(_n,V):V+_n}function yn(t){if(t==Dt&&Nt)return new Uint8Array(Nt);throw"both async and sync fetching of the wasm failed"}function $a(t){return Nt||typeof fetch!="function"?Promise.resolve().then(()=>yn(t)):fetch(t,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw`failed to load wasm binary file at '${t}'`;return e.arrayBuffer()}).catch(()=>yn(t))}function Cn(t,e,i){return $a(t).then(r=>WebAssembly.instantiate(r,e)).then(i,r=>{xt(`failed to asynchronously prepare wasm: ${r}`),ne(r)})}function Ua(t,e){var i=Dt;return Nt||typeof WebAssembly.instantiateStreaming!="function"||vn(i)||typeof fetch!="function"?Cn(i,t,e):fetch(i,{credentials:"same-origin"}).then(r=>WebAssembly.instantiateStreaming(r,t).then(e,function(o){return xt(`wasm streaming compile failed: ${o}`),xt("falling back to ArrayBuffer instantiation"),Cn(i,t,e)}))}var Fe=t=>{for(;0{var r=e+i;for(i=e;t[i]&&!(i>=r);)++i;if(16o?r+=String.fromCharCode(o):(o-=65536,r+=String.fromCharCode(55296|o>>10,56320|o&1023))}}else r+=String.fromCharCode(o)}return r};class Wa{constructor(e){this.ya=e-24}}var Sn=0,Mn=t=>{for(var e=0,i=0;i=r?e++:2047>=r?e+=2:55296<=r&&57343>=r?(e+=4,++i):e+=3}return e},Ln=(t,e,i,r)=>{if(0=l){var u=t.charCodeAt(++o);l=65536+((l&1023)<<10)|u&1023}if(127>=l){if(i>=r)break;e[i++]=l}else{if(2047>=l){if(i+1>=r)break;e[i++]=192|l>>6}else{if(65535>=l){if(i+2>=r)break;e[i++]=224|l>>12}else{if(i+3>=r)break;e[i++]=240|l>>18,e[i++]=128|l>>12&63}e[i++]=128|l>>6&63}e[i++]=128|l&63}}e[i]=0}},ae={},De=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function Bt(t){return this.fromWireType(F[t>>2])}var Tt={},bt={},ie={},Ht,vt=(t,e,i)=>{function r(d){if(d=i(d),d.length!==t.length)throw new Ht("Mismatched type converter count");for(var g=0;g{bt.hasOwnProperty(d)?o[g]=bt[d]:(l.push(d),Tt.hasOwnProperty(d)||(Tt[d]=[]),Tt[d].push(()=>{o[g]=bt[d],++u,u===l.length&&r(o)}))}),l.length===0&&r(o)},bn,N=t=>{for(var e="";O[t];)e+=bn[O[t++]];return e},M;function Na(t,e,i={}){var r=e.name;if(!t)throw new M(`type "${r}" must have a positive integer typeid pointer`);if(bt.hasOwnProperty(t)){if(i.ib)return;throw new M(`Cannot register type '${r}' twice`)}bt[t]=e,delete ie[t],Tt.hasOwnProperty(t)&&(e=Tt[t],delete Tt[t],e.forEach(o=>o()))}function J(t,e,i={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");return Na(t,e,i)}var Te=t=>{throw new M(t.ma.za.xa.name+" instance already deleted")},Re=!1,An=()=>{},In=(t,e,i)=>e===i?t:i.Ca===void 0?null:(t=In(t,e,i.Ca),t===null?null:i.ab(t)),Pn={},Yt=[],Oe=()=>{for(;Yt.length;){var t=Yt.pop();t.ma.Ka=!1,t.delete()}},Gt,Vt={},ja=(t,e)=>{if(e===void 0)throw new M("ptr should not be undefined");for(;t.Ca;)e=t.Na(e),t=t.Ca;return Vt[e]},re=(t,e)=>{if(!e.za||!e.ya)throw new Ht("makeClassHandle requires ptr and ptrType");if(!!e.Da!=!!e.Aa)throw new Ht("Both smartPtrType and smartPtr must be specified");return e.count={value:1},Xt(Object.create(t,{ma:{value:e,writable:!0}}))},Xt=t=>typeof FinalizationRegistry>"u"?(Xt=e=>e,t):(Re=new FinalizationRegistry(e=>{e=e.ma,--e.count.value,e.count.value===0&&(e.Aa?e.Da.Fa(e.Aa):e.za.xa.Fa(e.ya))}),Xt=e=>{var i=e.ma;return i.Aa&&Re.register(e,{ma:i},e),e},An=e=>{Re.unregister(e)},Xt(t));function oe(){}var qt=(t,e)=>Object.defineProperty(e,"name",{value:t}),En=(t,e,i)=>{if(t[e].Ba===void 0){var r=t[e];t[e]=function(...o){if(!t[e].Ba.hasOwnProperty(o.length))throw new M(`Function '${i}' called with an invalid number of arguments (${o.length}) - expects one of (${t[e].Ba})!`);return t[e].Ba[o.length].apply(this,o)},t[e].Ba=[],t[e].Ba[r.Oa]=r}},ke=(t,e,i)=>{if(a.hasOwnProperty(t)){if(i===void 0||a[t].Ba!==void 0&&a[t].Ba[i]!==void 0)throw new M(`Cannot register public name '${t}' twice`);if(En(a,t,t),a.hasOwnProperty(i))throw new M(`Cannot register multiple overloads of a function with the same number of arguments (${i})!`);a[t].Ba[i]=e}else a[t]=e,i!==void 0&&(a[t].vb=i)},za=t=>{if(t===void 0)return"_unknown";t=t.replace(/[^a-zA-Z0-9_]/g,"$");var e=t.charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t};function Ba(t,e,i,r,o,l,u,d){this.name=t,this.constructor=e,this.La=i,this.Fa=r,this.Ca=o,this.cb=l,this.Na=u,this.ab=d,this.kb=[]}var $e=(t,e,i)=>{for(;e!==i;){if(!e.Na)throw new M(`Expected null or instance of ${i.name}, got an instance of ${e.name}`);t=e.Na(t),e=e.Ca}return t};function Ha(t,e){if(e===null){if(this.Ta)throw new M(`null is not a valid ${this.name}`);return 0}if(!e.ma)throw new M(`Cannot pass "${He(e)}" as a ${this.name}`);if(!e.ma.ya)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);return $e(e.ma.ya,e.ma.za.xa,this.xa)}function Ya(t,e){if(e===null){if(this.Ta)throw new M(`null is not a valid ${this.name}`);if(this.Qa){var i=this.Ua();return t!==null&&t.push(this.Fa,i),i}return 0}if(!e||!e.ma)throw new M(`Cannot pass "${He(e)}" as a ${this.name}`);if(!e.ma.ya)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Pa&&e.ma.za.Pa)throw new M(`Cannot convert argument of type ${e.ma.Da?e.ma.Da.name:e.ma.za.name} to parameter type ${this.name}`);if(i=$e(e.ma.ya,e.ma.za.xa,this.xa),this.Qa){if(e.ma.Aa===void 0)throw new M("Passing raw pointer to smart pointer is illegal");switch(this.pb){case 0:if(e.ma.Da===this)i=e.ma.Aa;else throw new M(`Cannot convert argument of type ${e.ma.Da?e.ma.Da.name:e.ma.za.name} to parameter type ${this.name}`);break;case 1:i=e.ma.Aa;break;case 2:if(e.ma.Da===this)i=e.ma.Aa;else{var r=e.clone();i=this.lb(i,ce(()=>r.delete())),t!==null&&t.push(this.Fa,i)}break;default:throw new M("Unsupporting sharing policy")}}return i}function Ga(t,e){if(e===null){if(this.Ta)throw new M(`null is not a valid ${this.name}`);return 0}if(!e.ma)throw new M(`Cannot pass "${He(e)}" as a ${this.name}`);if(!e.ma.ya)throw new M(`Cannot pass deleted object as a pointer of type ${this.name}`);if(e.ma.za.Pa)throw new M(`Cannot convert argument of type ${e.ma.za.name} to parameter type ${this.name}`);return $e(e.ma.ya,e.ma.za.xa,this.xa)}function Kt(t,e,i,r,o,l,u,d,g,m,f){this.name=t,this.xa=e,this.Ta=i,this.Pa=r,this.Qa=o,this.jb=l,this.pb=u,this.Za=d,this.Ua=g,this.lb=m,this.Fa=f,o||e.Ca!==void 0?this.toWireType=Ya:(this.toWireType=r?Ha:Ga,this.Ea=null)}var xn=(t,e,i)=>{if(!a.hasOwnProperty(t))throw new Ht("Replacing nonexistent public symbol");a[t].Ba!==void 0&&i!==void 0?a[t].Ba[i]=e:(a[t]=e,a[t].Oa=i)},K,Va=(t,e,i=[])=>(t.includes("j")?(t=t.replace(/p/g,"i"),e=(0,a["dynCall_"+t])(e,...i)):e=K.get(e)(...i),e),Xa=(t,e)=>(...i)=>Va(t,e,i),G=(t,e)=>{t=N(t);var i=t.includes("j")?Xa(t,e):K.get(e);if(typeof i!="function")throw new M(`unknown function pointer with signature ${t}: ${e}`);return i},Fn,Dn=t=>{t=jn(t);var e=N(t);return lt(t),e},se=(t,e)=>{function i(l){o[l]||bt[l]||(ie[l]?ie[l].forEach(i):(r.push(l),o[l]=!0))}var r=[],o={};throw e.forEach(i),new Fn(`${t}: `+r.map(Dn).join([", "]))},Ue=(t,e)=>{for(var i=[],r=0;r>2]);return i};function qa(t){for(var e=1;el)throw new M("argTypes array size mismatch! Must at least get return value and 'this' types!");var u=e[1]!==null&&i!==null,d=qa(e),g=e[0].name!=="void",m=l-2,f=Array(m),b=[],P=[];return qt(t,function(...h){if(h.length!==m)throw new M(`function ${t} called with ${h.length} arguments, expected ${m}`);if(P.length=0,b.length=u?2:1,b[0]=o,u){var _=e[1].toWireType(P,this);b[1]=_}for(var C=0;C{t=t.trim();let e=t.indexOf("(");return e!==-1?t.substr(0,e):t},Ne=[],ct=[],je=t=>{9{if(!t)throw new M("Cannot use deleted val. handle = "+t);return ct[t]},ce=t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:let e=Ne.pop()||ct.length;return ct[e]=t,ct[e+1]=1,e}},Rn={name:"emscripten::val",fromWireType:t=>{var e=ze(t);return je(t),e},toWireType:(t,e)=>ce(e),argPackAdvance:8,readValueFromPointer:Bt,Ea:null},Ka=(t,e,i)=>{switch(e){case 1:return i?function(r){return this.fromWireType(St[r])}:function(r){return this.fromWireType(O[r])};case 2:return i?function(r){return this.fromWireType(Ft[r>>1])}:function(r){return this.fromWireType(jt[r>>1])};case 4:return i?function(r){return this.fromWireType(z[r>>2])}:function(r){return this.fromWireType(F[r>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},Be=(t,e)=>{var i=bt[t];if(i===void 0)throw t=`${e} has unknown type ${Dn(t)}`,new M(t);return i},He=t=>{if(t===null)return"null";var e=typeof t;return e==="object"||e==="array"||e==="function"?t.toString():""+t},Qa=(t,e)=>{switch(e){case 4:return function(i){return this.fromWireType(dn[i>>2])};case 8:return function(i){return this.fromWireType(un[i>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},Za=(t,e,i)=>{switch(e){case 1:return i?r=>St[r]:r=>O[r];case 2:return i?r=>Ft[r>>1]:r=>jt[r>>1];case 4:return i?r=>z[r>>2]:r=>F[r>>2];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},On=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,Ja=(t,e)=>{for(var i=t>>1,r=i+e/2;!(i>=r)&&jt[i];)++i;if(i<<=1,32=e/2);++r){var o=Ft[t+2*r>>1];if(o==0)break;i+=String.fromCharCode(o)}return i},ti=(t,e,i)=>{if(i??(i=2147483647),2>i)return 0;i-=2;var r=e;i=i<2*t.length?i/2:t.length;for(var o=0;o>1]=t.charCodeAt(o),e+=2;return Ft[e>>1]=0,e-r},ei=t=>2*t.length,ni=(t,e)=>{for(var i=0,r="";!(i>=e/4);){var o=z[t+4*i>>2];if(o==0)break;++i,65536<=o?(o-=65536,r+=String.fromCharCode(55296|o>>10,56320|o&1023)):r+=String.fromCharCode(o)}return r},ai=(t,e,i)=>{if(i??(i=2147483647),4>i)return 0;var r=e;i=r+i-4;for(var o=0;o=l){var u=t.charCodeAt(++o);l=65536+((l&1023)<<10)|u&1023}if(z[e>>2]=l,e+=4,e+4>i)break}return z[e>>2]=0,e-r},ii=t=>{for(var e=0,i=0;i=r&&++i,e+=4}return e},Ye=[],ri=t=>{var e=Ye.length;return Ye.push(t),e},oi=(t,e)=>{for(var i=Array(t),r=0;r>2],"parameter "+r);return i},si=Reflect.construct,Ge={},kn=()=>{if(!Ve){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ot||"./this.program"},e;for(e in Ge)Ge[e]===void 0?delete t[e]:t[e]=Ge[e];var i=[];for(e in t)i.push(`${e}=${t[e]}`);Ve=i}return Ve},Ve,ci=[null,[],[]],li=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return t=>crypto.getRandomValues(t);ne("initRandomDevice")},$n=t=>($n=li())(t),le=t=>t%4===0&&(t%100!==0||t%400===0),Un=[31,29,31,30,31,30,31,31,30,31,30,31],Wn=[31,28,31,30,31,30,31,31,30,31,30,31];function hi(t){var e=Array(Mn(t)+1);return Ln(t,e,0,e.length),e}var di=(t,e,i,r)=>{function o(h,_,C){for(h=typeof h=="number"?h.toString():h||"";h.length<_;)h=C[0]+h;return h}function l(h,_){return o(h,_,"0")}function u(h,_){function C(_t){return 0>_t?-1:0<_t?1:0}var $;return($=C(h.getFullYear()-_.getFullYear()))===0&&($=C(h.getMonth()-_.getMonth()))===0&&($=C(h.getDate()-_.getDate())),$}function d(h){switch(h.getDay()){case 0:return new Date(h.getFullYear()-1,11,29);case 1:return h;case 2:return new Date(h.getFullYear(),0,3);case 3:return new Date(h.getFullYear(),0,2);case 4:return new Date(h.getFullYear(),0,1);case 5:return new Date(h.getFullYear()-1,11,31);case 6:return new Date(h.getFullYear()-1,11,30)}}function g(h){var _=h.Ia;for(h=new Date(new Date(h.Ja+1900,0,1).getTime());0<_;){var C=h.getMonth(),$=(le(h.getFullYear())?Un:Wn)[C];if(_>$-h.getDate())_-=$-h.getDate()+1,h.setDate(1),11>C?h.setMonth(C+1):(h.setMonth(0),h.setFullYear(h.getFullYear()+1));else{h.setDate(h.getDate()+_);break}}return C=new Date(h.getFullYear()+1,0,4),_=d(new Date(h.getFullYear(),0,4)),C=d(C),0>=u(_,h)?0>=u(C,h)?h.getFullYear()+1:h.getFullYear():h.getFullYear()-1}var m=F[r+40>>2];r={sb:z[r>>2],rb:z[r+4>>2],Ra:z[r+8>>2],Va:z[r+12>>2],Sa:z[r+16>>2],Ja:z[r+20>>2],Ga:z[r+24>>2],Ia:z[r+28>>2],wb:z[r+32>>2],qb:z[r+36>>2],tb:m&&m?Lt(O,m):""},i=i?Lt(O,i):"",m={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var f in m)i=i.replace(new RegExp(f,"g"),m[f]);var b="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),P="January February March April May June July August September October November December".split(" ");m={"%a":h=>b[h.Ga].substring(0,3),"%A":h=>b[h.Ga],"%b":h=>P[h.Sa].substring(0,3),"%B":h=>P[h.Sa],"%C":h=>l((h.Ja+1900)/100|0,2),"%d":h=>l(h.Va,2),"%e":h=>o(h.Va,2," "),"%g":h=>g(h).toString().substring(2),"%G":g,"%H":h=>l(h.Ra,2),"%I":h=>(h=h.Ra,h==0?h=12:12{for(var _=0,C=0;C<=h.Sa-1;_+=(le(h.Ja+1900)?Un:Wn)[C++]);return l(h.Va+_,3)},"%m":h=>l(h.Sa+1,2),"%M":h=>l(h.rb,2),"%n":()=>` `,"%p":h=>0<=h.Ra&&12>h.Ra?"AM":"PM","%S":h=>l(h.sb,2),"%t":()=>" ","%u":h=>h.Ga||7,"%U":h=>l(Math.floor((h.Ia+7-h.Ga)/7),2),"%V":h=>{var _=Math.floor((h.Ia+7-(h.Ga+6)%7)/7);if(2>=(h.Ga+371-h.Ia-2)%7&&_++,_)_==53&&(C=(h.Ga+371-h.Ia)%7,C==4||C==3&&le(h.Ja)||(_=1));else{_=52;var C=(h.Ga+7-h.Ia-1)%7;(C==4||C==5&&le(h.Ja%400-1))&&_++}return l(_,2)},"%w":h=>h.Ga,"%W":h=>l(Math.floor((h.Ia+7-(h.Ga+6)%7)/7),2),"%y":h=>(h.Ja+1900).toString().substring(2),"%Y":h=>h.Ja+1900,"%z":h=>{h=h.qb;var _=0<=h;return h=Math.abs(h)/60,(_?"+":"-")+("0000"+(h/60*100+h%60)).slice(-4)},"%Z":h=>h.tb,"%%":()=>"%"},i=i.replace(/%%/g,"\0\0");for(f in m)i.includes(f)&&(i=i.replace(new RegExp(f,"g"),m[f](r)));return i=i.replace(/\0\0/g,"%"),f=hi(i),f.length>e?0:(St.set(f,t),f.length-1)};Ht=a.InternalError=class extends Error{constructor(t){super(t),this.name="InternalError"}};for(var Nn=Array(256),he=0;256>he;++he)Nn[he]=String.fromCharCode(he);bn=Nn,M=a.BindingError=class extends Error{constructor(t){super(t),this.name="BindingError"}},Object.assign(oe.prototype,{isAliasOf:function(t){if(!(this instanceof oe&&t instanceof oe))return!1;var e=this.ma.za.xa,i=this.ma.ya;t.ma=t.ma;var r=t.ma.za.xa;for(t=t.ma.ya;e.Ca;)i=e.Na(i),e=e.Ca;for(;r.Ca;)t=r.Na(t),r=r.Ca;return e===r&&i===t},clone:function(){if(this.ma.ya||Te(this),this.ma.Ma)return this.ma.count.value+=1,this;var t=Xt,e=Object,i=e.create,r=Object.getPrototypeOf(this),o=this.ma;return t=t(i.call(e,r,{ma:{value:{count:o.count,Ka:o.Ka,Ma:o.Ma,ya:o.ya,za:o.za,Aa:o.Aa,Da:o.Da}}})),t.ma.count.value+=1,t.ma.Ka=!1,t},delete(){if(this.ma.ya||Te(this),this.ma.Ka&&!this.ma.Ma)throw new M("Object already scheduled for deletion");An(this);var t=this.ma;--t.count.value,t.count.value===0&&(t.Aa?t.Da.Fa(t.Aa):t.za.xa.Fa(t.ya)),this.ma.Ma||(this.ma.Aa=void 0,this.ma.ya=void 0)},isDeleted:function(){return!this.ma.ya},deleteLater:function(){if(this.ma.ya||Te(this),this.ma.Ka&&!this.ma.Ma)throw new M("Object already scheduled for deletion");return Yt.push(this),Yt.length===1&&Gt&&Gt(Oe),this.ma.Ka=!0,this}}),a.getInheritedInstanceCount=()=>Object.keys(Vt).length,a.getLiveInheritedInstances=()=>{var t=[],e;for(e in Vt)Vt.hasOwnProperty(e)&&t.push(Vt[e]);return t},a.flushPendingDeletes=Oe,a.setDelayFunction=t=>{Gt=t,Yt.length&&Gt&&Gt(Oe)},Object.assign(Kt.prototype,{eb(t){return this.Za&&(t=this.Za(t)),t},Xa(t){this.Fa?.(t)},argPackAdvance:8,readValueFromPointer:Bt,fromWireType:function(t){function e(){return this.Qa?re(this.xa.La,{za:this.jb,ya:i,Da:this,Aa:t}):re(this.xa.La,{za:this,ya:t})}var i=this.eb(t);if(!i)return this.Xa(t),null;var r=ja(this.xa,i);if(r!==void 0)return r.ma.count.value===0?(r.ma.ya=i,r.ma.Aa=t,r.clone()):(r=r.clone(),this.Xa(t),r);if(r=this.xa.cb(i),r=Pn[r],!r)return e.call(this);r=this.Pa?r.$a:r.pointerType;var o=In(i,this.xa,r.xa);return o===null?e.call(this):this.Qa?re(r.xa.La,{za:r,ya:o,Da:this,Aa:t}):re(r.xa.La,{za:r,ya:o})}}),Fn=a.UnboundTypeError=((t,e)=>{var i=qt(e,function(r){this.name=e,this.message=r,r=Error(r).stack,r!==void 0&&(this.stack=this.toString()+` `+r.replace(/^Error(:[^\n]*)?\n/,""))});return i.prototype=Object.create(t.prototype),i.prototype.constructor=i,i.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},i})(Error,"UnboundTypeError"),ct.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=()=>ct.length/2-5-Ne.length;var ui={c:(t,e,i,r)=>{ne(`Assertion failed: ${t?Lt(O,t):""}, at: `+[e?e?Lt(O,e):"":"unknown filename",i,r?r?Lt(O,r):"":"unknown function"])},m:(t,e,i)=>{var r=new Wa(t);throw F[r.ya+16>>2]=0,F[r.ya+4>>2]=e,F[r.ya+8>>2]=i,Sn=t,Sn},B:function(){return 0},P:()=>{},M:()=>{},R:function(){return 0},N:()=>{},A:function(){},O:()=>{},v:t=>{var e=ae[t];delete ae[t];var i=e.Ua,r=e.Fa,o=e.Ya,l=o.map(u=>u.hb).concat(o.map(u=>u.nb));vt([t],l,u=>{var d={};return o.forEach((g,m)=>{var f=u[m],b=g.fb,P=g.gb,h=u[m+o.length],_=g.mb,C=g.ob;d[g.bb]={read:$=>f.fromWireType(b(P,$)),write:($,_t)=>{var q=[];_(C,$,h.toWireType(q,_t)),De(q)}}}),[{name:e.name,fromWireType:g=>{var m={},f;for(f in d)m[f]=d[f].read(g);return r(g),m},toWireType:(g,m)=>{for(var f in d)if(!(f in m))throw new TypeError(`Missing field: "${f}"`);var b=i();for(f in d)d[f].write(b,m[f]);return g!==null&&g.push(r,b),b},argPackAdvance:8,readValueFromPointer:Bt,Ea:r}]})},I:()=>{},Y:(t,e,i,r)=>{e=N(e),J(t,{name:e,fromWireType:function(o){return!!o},toWireType:function(o,l){return l?i:r},argPackAdvance:8,readValueFromPointer:function(o){return this.fromWireType(O[o])},Ea:null})},r:(t,e,i,r,o,l,u,d,g,m,f,b,P)=>{f=N(f),l=G(o,l),d&&(d=G(u,d)),m&&(m=G(g,m)),P=G(b,P);var h=za(f);ke(h,function(){se(`Cannot construct ${f} due to unbound types`,[r])}),vt([t,e,i],r?[r]:[],_=>{if(_=_[0],r)var C=_.xa,$=C.La;else $=oe.prototype;_=qt(f,function(...qe){if(Object.getPrototypeOf(this)!==_t)throw new M("Use 'new' to construct "+f);if(q.Ha===void 0)throw new M(f+" has no accessible constructor");var Hn=q.Ha[qe.length];if(Hn===void 0)throw new M(`Tried to invoke ctor of ${f} with invalid number of parameters (${qe.length}) - expected (${Object.keys(q.Ha).toString()}) parameters instead!`);return Hn.apply(this,qe)});var _t=Object.create($,{constructor:{value:_}});_.prototype=_t;var q=new Ba(f,_,_t,P,C,l,d,m);if(q.Ca){var Qt;(Qt=q.Ca).Wa??(Qt.Wa=[]),q.Ca.Wa.push(q)}return C=new Kt(f,q,!0,!1,!1),Qt=new Kt(f+"*",q,!1,!1,!1),$=new Kt(f+" const*",q,!1,!0,!1),Pn[t]={pointerType:Qt,$a:$},xn(h,_),[C,Qt,$]})},q:(t,e,i,r,o,l)=>{var u=Ue(e,i);o=G(r,o),vt([],[t],d=>{d=d[0];var g=`constructor ${d.name}`;if(d.xa.Ha===void 0&&(d.xa.Ha=[]),d.xa.Ha[e-1]!==void 0)throw new M(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${d.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return d.xa.Ha[e-1]=()=>{se(`Cannot construct ${d.name} due to unbound types`,u)},vt([],u,m=>(m.splice(1,0,null),d.xa.Ha[e-1]=We(g,m,null,o,l),[])),[]})},f:(t,e,i,r,o,l,u,d)=>{var g=Ue(i,r);e=N(e),e=Tn(e),l=G(o,l),vt([],[t],m=>{function f(){se(`Cannot call ${b} due to unbound types`,g)}m=m[0];var b=`${m.name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),d&&m.xa.kb.push(e);var P=m.xa.La,h=P[e];return h===void 0||h.Ba===void 0&&h.className!==m.name&&h.Oa===i-2?(f.Oa=i-2,f.className=m.name,P[e]=f):(En(P,e,b),P[e].Ba[i-2]=f),vt([],g,_=>(_=We(b,_,m,l,u),P[e].Ba===void 0?(_.Oa=i-2,P[e]=_):P[e].Ba[i-2]=_,[])),[]})},X:t=>J(t,Rn),x:(t,e,i,r)=>{function o(){}e=N(e),o.values={},J(t,{name:e,constructor:o,fromWireType:function(l){return this.constructor.values[l]},toWireType:(l,u)=>u.value,argPackAdvance:8,readValueFromPointer:Ka(e,i,r),Ea:null}),ke(e,o)},k:(t,e,i)=>{var r=Be(t,"enum");e=N(e),t=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:i},constructor:{value:qt(`${r.name}_${e}`,function(){})}}),t.values[i]=r,t[e]=r},C:(t,e,i)=>{e=N(e),J(t,{name:e,fromWireType:r=>r,toWireType:(r,o)=>o,argPackAdvance:8,readValueFromPointer:Qa(e,i),Ea:null})},E:(t,e,i,r,o,l)=>{var u=Ue(e,i);t=N(t),t=Tn(t),o=G(r,o),ke(t,function(){se(`Cannot call ${t} due to unbound types`,u)},e-1),vt([],u,d=>(xn(t,We(t,[d[0],null].concat(d.slice(1)),null,o,l),e-1),[]))},l:(t,e,i,r,o)=>{if(e=N(e),o===-1&&(o=4294967295),o=d=>d,r===0){var l=32-8*i;o=d=>d<>>l}var u=e.includes("unsigned")?function(d,g){return g>>>0}:function(d,g){return g};J(t,{name:e,fromWireType:o,toWireType:u,argPackAdvance:8,readValueFromPointer:Za(e,i,r!==0),Ea:null})},g:(t,e,i)=>{function r(l){return new o(St.buffer,F[l+4>>2],F[l>>2])}var o=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];i=N(i),J(t,{name:i,fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{ib:!0})},w:t=>{J(t,Rn)},ca:(t,e,i,r,o,l,u,d,g,m,f,b)=>{i=N(i),l=G(o,l),d=G(u,d),m=G(g,m),b=G(f,b),vt([t],[e],P=>(P=P[0],[new Kt(i,P.xa,!1,!1,!0,P,r,l,d,m,b)]))},D:(t,e)=>{e=N(e);var i=e==="std::string";J(t,{name:e,fromWireType:function(r){var o=F[r>>2],l=r+4;if(i)for(var u=l,d=0;d<=o;++d){var g=l+d;if(d==o||O[g]==0){if(u=u?Lt(O,u,g-u):"",m===void 0)var m=u;else m+="\0",m+=u;u=g+1}}else{for(m=Array(o),d=0;d>2]=u,i&&l)Ln(o,O,g,u+1);else if(l)for(l=0;l{if(i=N(i),e===2)var r=Ja,o=ti,l=ei,u=d=>jt[d>>1];else e===4&&(r=ni,o=ai,l=ii,u=d=>F[d>>2]);J(t,{name:i,fromWireType:d=>{for(var g=F[d>>2],m,f=d+4,b=0;b<=g;++b){var P=d+4+b*e;(b==g||u(P)==0)&&(f=r(f,P-f),m===void 0?m=f:(m+="\0",m+=f),f=P+e)}return lt(d),m},toWireType:(d,g)=>{if(typeof g!="string")throw new M(`Cannot pass non-string to C++ string type ${i}`);var m=l(g),f=Xe(4+m+e);return F[f>>2]=m/e,o(g,f+4,m+e),d!==null&&d.push(lt,f),f},argPackAdvance:8,readValueFromPointer:Bt,Ea(d){lt(d)}})},s:(t,e,i,r,o,l)=>{ae[t]={name:N(e),Ua:G(i,r),Fa:G(o,l),Ya:[]}},j:(t,e,i,r,o,l,u,d,g,m)=>{ae[t].Ya.push({bb:N(e),hb:i,fb:G(r,o),gb:l,nb:u,mb:G(d,g),ob:m})},Z:(t,e)=>{e=N(e),J(t,{ub:!0,name:e,argPackAdvance:0,fromWireType:()=>{},toWireType:()=>{}})},J:()=>{throw 1/0},aa:(t,e,i,r)=>(t=Ye[t],e=ze(e),t(null,e,i,r)),F:je,$:(t,e,i)=>{var r=oi(t,e),o=r.shift();t--;var l=Array(t);return e=`methodCaller<(${r.map(u=>u.name).join(", ")}) => ${o.name}>`,ri(qt(e,(u,d,g,m)=>{for(var f=0,b=0;b>2]=ce(u)),d}))},ba:t=>{9{var e=ze(t);De(e),je(t)},o:(t,e)=>(t=Be(t,"_emval_take_value"),t=t.readValueFromPointer(e),ce(t)),W:()=>{ne("")},V:()=>performance.now(),L:t=>{var e=O.length;if(t>>>=0,2147483648=i;i*=2){var r=e*(1+.2/i);r=Math.min(r,t+100663296);var o=Math;r=Math.max(t,r);t:{o=(o.min.call(o,2147483648,r+(65536-r%65536)%65536)-ee.buffer.byteLength+65535)/65536;try{ee.grow(o),mn();var l=1;break t}catch{}l=void 0}if(l)return!0}return!1},S:(t,e)=>{var i=0;return kn().forEach((r,o)=>{var l=e+i;for(o=F[t+4*o>>2]=l,l=0;l{var i=kn();F[t>>2]=i.length;var r=0;return i.forEach(o=>r+=o.length+1),F[e>>2]=r,0},t:()=>52,z:()=>52,H:function(){return 70},Q:(t,e,i,r)=>{for(var o=0,l=0;l>2],d=F[e+4>>2];e+=8;for(var g=0;g>2]=o,0},U:(t,e)=>($n(O.subarray(t,t+e)),0),i:vi,d:fi,e:gi,p:_i,y:wi,b:mi,a:pi,h:Ci,n:yi,G:Si,K:(t,e,i,r)=>di(t,e,i,r)},k=function(){function t(i){return k=i.exports,ee=k.da,mn(),K=k.ha,gn.unshift(k.ea),Mt--,a.monitorRunDependencies?.(Mt),Mt==0&&zt&&(i=zt,zt=null,i()),k}var e={a:ui};if(Mt++,a.monitorRunDependencies?.(Mt),a.instantiateWasm)try{return a.instantiateWasm(e,t)}catch(i){xt(`Module.instantiateWasm callback failed with error: ${i}`),p(i)}return Ua(e,function(i){t(i.instance)}).catch(p),{}}(),Xe=t=>(Xe=k.fa)(t),jn=t=>(jn=k.ga)(t),lt=t=>(lt=k.ia)(t),tt=(t,e)=>(tt=k.ja)(t,e),et=t=>(et=k.ka)(t),nt=()=>(nt=k.la)();a.dynCall_iijj=(t,e,i,r,o,l)=>(a.dynCall_iijj=k.na)(t,e,i,r,o,l),a.dynCall_vijj=(t,e,i,r,o,l)=>(a.dynCall_vijj=k.oa)(t,e,i,r,o,l),a.dynCall_jiii=(t,e,i,r)=>(a.dynCall_jiii=k.pa)(t,e,i,r),a.dynCall_jii=(t,e,i)=>(a.dynCall_jii=k.qa)(t,e,i);var zn=a.dynCall_viiij=(t,e,i,r,o,l)=>(zn=a.dynCall_viiij=k.ra)(t,e,i,r,o,l);a.dynCall_jiji=(t,e,i,r,o)=>(a.dynCall_jiji=k.sa)(t,e,i,r,o),a.dynCall_viijii=(t,e,i,r,o,l,u)=>(a.dynCall_viijii=k.ta)(t,e,i,r,o,l,u),a.dynCall_iiiiij=(t,e,i,r,o,l,u)=>(a.dynCall_iiiiij=k.ua)(t,e,i,r,o,l,u),a.dynCall_iiiiijj=(t,e,i,r,o,l,u,d,g)=>(a.dynCall_iiiiijj=k.va)(t,e,i,r,o,l,u,d,g),a.dynCall_iiiiiijj=(t,e,i,r,o,l,u,d,g,m)=>(a.dynCall_iiiiiijj=k.wa)(t,e,i,r,o,l,u,d,g,m);function mi(t,e){var i=nt();try{K.get(t)(e)}catch(r){if(et(i),r!==r+0)throw r;tt(1,0)}}function pi(t,e,i){var r=nt();try{K.get(t)(e,i)}catch(o){if(et(r),o!==o+0)throw o;tt(1,0)}}function gi(t,e,i,r){var o=nt();try{return K.get(t)(e,i,r)}catch(l){if(et(o),l!==l+0)throw l;tt(1,0)}}function fi(t,e,i){var r=nt();try{return K.get(t)(e,i)}catch(o){if(et(r),o!==o+0)throw o;tt(1,0)}}function vi(t,e){var i=nt();try{return K.get(t)(e)}catch(r){if(et(i),r!==r+0)throw r;tt(1,0)}}function _i(t,e,i,r,o,l){var u=nt();try{return K.get(t)(e,i,r,o,l)}catch(d){if(et(u),d!==d+0)throw d;tt(1,0)}}function yi(t,e,i,r,o){var l=nt();try{K.get(t)(e,i,r,o)}catch(u){if(et(l),u!==u+0)throw u;tt(1,0)}}function Ci(t,e,i,r){var o=nt();try{K.get(t)(e,i,r)}catch(l){if(et(o),l!==l+0)throw l;tt(1,0)}}function wi(t){var e=nt();try{K.get(t)()}catch(i){if(et(e),i!==i+0)throw i;tt(1,0)}}function Si(t,e,i,r,o,l){var u=nt();try{zn(t,e,i,r,o,l)}catch(d){if(et(u),d!==d+0)throw d;tt(1,0)}}var de;zt=function t(){de||Bn(),de||(zt=t)};function Bn(){function t(){if(!de&&(de=!0,a.calledRun=!0,!hn)){if(Fe(gn),c(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),a.postRun)for(typeof a.postRun=="function"&&(a.postRun=[a.postRun]);a.postRun.length;){var e=a.postRun.shift();fn.unshift(e)}Fe(fn)}}if(!(0s})})}static _loadWithBackup(){return S(this,null,function*(){return this._ModulePromise||(this._ModulePromise=this._tryLoad(this._wasmURL).catch(s=>S(this,null,function*(){let n=`https://unpkg.com/${Ae.name}@${Ae.version}/dist/dotlottie-player.wasm`;console.warn(`Primary WASM load failed from ${this._wasmURL}. Error: ${s.message}`),console.warn(`Attempting to load WASM from backup URL: ${n}`);try{return yield this._tryLoad(n)}catch(a){throw console.error(`Primary WASM URL failed: ${s.message}`),console.error(`Backup WASM URL failed: ${a.message}`),new Error("WASM loading failed from all sources.")}}))),this._ModulePromise})}static load(){return S(this,null,function*(){return this._loadWithBackup()})}static setWasmUrl(s){this._wasmURL=s,this._ModulePromise=null}};x(Ie,"_ModulePromise",null),x(Ie,"_wasmURL",`https://cdn.jsdelivr.net/npm/${Ae.name}@${Ae.version}/dist/dotlottie-player.wasm`);var Ma=class{constructor(){x(this,"_eventListeners",new Map)}addEventListener(s,n){let a=this._eventListeners.get(s);a||(a=new Set,this._eventListeners.set(s,a)),a.add(n)}removeEventListener(s,n){let a=this._eventListeners.get(s);a&&(n?(a.delete(n),a.size===0&&this._eventListeners.delete(s)):this._eventListeners.delete(s))}dispatch(s){this._eventListeners.get(s.type)?.forEach(n=>n(s))}removeAllEventListeners(){this._eventListeners.clear()}};function xi(s){return/^#([\da-f]{6}|[\da-f]{8})$/iu.test(s)}function Fi(s){if(!xi(s))return 0;let n=s.replace("#","");return n=n.length===6?`${n}ff`:n,parseInt(n,16)}var en=(s,n)=>s==="reverse"?n.Mode.Reverse:s==="bounce"?n.Mode.Bounce:s==="reverse-bounce"?n.Mode.ReverseBounce:n.Mode.Forward,nn=(s,n)=>s==="contain"?n.Fit.Contain:s==="cover"?n.Fit.Cover:s==="fill"?n.Fit.Fill:s==="fit-height"?n.Fit.FitHeight:s==="fit-width"?n.Fit.FitWidth:n.Fit.None,an=(s,n)=>{let a=new n.VectorFloat;return a.push_back(s[0]),a.push_back(s[1]),a},rn=(s,n)=>{let a=new n.VectorFloat;return s.length!==2||(a.push_back(s[0]),a.push_back(s[1])),a},La=class T{constructor(n){x(this,"_canvas"),x(this,"_context",null),x(this,"_eventManager"),x(this,"_animationFrameId",null),x(this,"_frameManager"),x(this,"_dotLottieCore",null),x(this,"_renderConfig",{}),x(this,"_isFrozen",!1),x(this,"_backgroundColor",null),this._canvas=n.canvas,this._context=this._canvas.getContext("2d"),this._eventManager=new Ma,this._frameManager=new Ii,this._renderConfig=n.renderConfig??{},Ie.load().then(a=>{T._wasmModule=a,this._dotLottieCore=new a.DotLottiePlayer({autoplay:n.autoplay??!1,backgroundColor:0,loopAnimation:n.loop??!1,mode:en(n.mode??"forward",a),segment:rn(n.segment??[],a),speed:n.speed??1,useFrameInterpolation:n.useFrameInterpolation??!0,marker:n.marker??"",layout:n.layout?{align:an(n.layout.align,a),fit:nn(n.layout.fit,a)}:a.createDefaultLayout()}),this._eventManager.dispatch({type:"ready"}),n.data?this._loadFromData(n.data):n.src&&this._loadFromSrc(n.src),n.backgroundColor&&this.setBackgroundColor(n.backgroundColor)}).catch(a=>{this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to load wasm module: ${a}`)})})}_loadFromSrc(n){function a(){return S(this,null,function*(){let c=yield fetch(n);if(!c.ok)throw new Error(`Failed to fetch the animation data from URL: ${n}. ${c.status}: ${c.statusText}`);let p=(c.headers.get("content-type")??"").trim(),y;return["application/json","text/plain"].some(Y=>p.startsWith(Y))?y=yield c.text():y=yield c.arrayBuffer(),y})}a().then(c=>{this._loadFromData(c)}).catch(c=>{this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to load animation data from URL: ${n}. ${c}`)})})}_loadFromData(n){if(this._dotLottieCore===null)return;let a=this._canvas.width,c=this._canvas.height,p=!1;if(typeof n=="string")p=this._dotLottieCore.loadAnimationData(n,a,c);else if(n instanceof ArrayBuffer)p=this._dotLottieCore.loadDotLottieData(n,a,c);else if(typeof n=="object")p=this._dotLottieCore.loadAnimationData(JSON.stringify(n),a,c);else{this._eventManager.dispatch({type:"loadError",error:new Error("Unsupported data type for animation data. Expected a string or ArrayBuffer.")});return}p?(this._eventManager.dispatch({type:"load"}),Pt&&this.resize(),this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render(),this._dotLottieCore.config().autoplay&&(this._dotLottieCore.play(),this._dotLottieCore.isPlaying()?(this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))):console.error("something went wrong, the animation was suppose to autoplay"))):this._eventManager.dispatch({type:"loadError",error:new Error("Failed to load animation data")})}get activeAnimationId(){return this._dotLottieCore?.activeAnimationId()}get activeThemeId(){return this._dotLottieCore?.activeThemeId()}get layout(){let n=this._dotLottieCore?.config().layout;if(n)return{align:[n.align.get(0),n.align.get(1)],fit:(()=>{switch(n.fit){case T._wasmModule?.Fit.Contain:return"contain";case T._wasmModule?.Fit.Cover:return"cover";case T._wasmModule?.Fit.Fill:return"fill";case T._wasmModule?.Fit.FitHeight:return"fit-height";case T._wasmModule?.Fit.FitWidth:return"fit-width";case T._wasmModule?.Fit.None:return"none";default:return"contain"}})()}}get marker(){return this._dotLottieCore?.config().marker}get manifest(){try{let n=this._dotLottieCore?.manifestString();if(this._dotLottieCore===null||!n)return null;let a=JSON.parse(n);return Object.keys(a).length===0?null:a}catch{return null}}get renderConfig(){return this._renderConfig}get segment(){let n=this._dotLottieCore?.config().segment;if(n&&n.size()===2)return[n.get(0),n.get(1)]}get loop(){return this._dotLottieCore?.config().loopAnimation??!1}get mode(){let n=this._dotLottieCore?.config().mode;return n===T._wasmModule?.Mode.Reverse?"reverse":n===T._wasmModule?.Mode.Bounce?"bounce":n===T._wasmModule?.Mode.ReverseBounce?"reverse-bounce":"forward"}get isFrozen(){return this._isFrozen}get backgroundColor(){return this._backgroundColor??""}get autoplay(){return this._dotLottieCore?.config().autoplay??!1}get useFrameInterpolation(){return this._dotLottieCore?.config().useFrameInterpolation??!1}get speed(){return this._dotLottieCore?.config().speed??0}get isReady(){return this._dotLottieCore!==null}get isLoaded(){return this._dotLottieCore?.isLoaded()??!1}get isPlaying(){return this._dotLottieCore?.isPlaying()??!1}get isPaused(){return this._dotLottieCore?.isPaused()??!1}get isStopped(){return this._dotLottieCore?.isStopped()??!1}get currentFrame(){return this._dotLottieCore?.currentFrame()??0}get loopCount(){return this._dotLottieCore?.loopCount()??0}get totalFrames(){return this._dotLottieCore?.totalFrames()??0}get duration(){return this._dotLottieCore?.duration()??0}get segmentDuration(){return this._dotLottieCore?.segmentDuration()??0}get canvas(){return this._canvas}load(n){this._dotLottieCore===null||T._wasmModule===null||(this._dotLottieCore.setConfig({autoplay:n.autoplay??!1,backgroundColor:0,loopAnimation:n.loop??!1,mode:en(n.mode??"forward",T._wasmModule),segment:rn(n.segment??[],T._wasmModule),speed:n.speed??1,useFrameInterpolation:n.useFrameInterpolation??!0,marker:n.marker??"",layout:n.layout?{align:an(n.layout.align,T._wasmModule),fit:nn(n.layout.fit,T._wasmModule)}:T._wasmModule.createDefaultLayout()}),n.data?this._loadFromData(n.data):n.src&&this._loadFromSrc(n.src),this.setBackgroundColor(n.backgroundColor??""))}_render(){if(this._dotLottieCore===null||this._context===null)return!1;if(this._dotLottieCore.render()){let n=this._dotLottieCore.buffer(),a=new Uint8ClampedArray(n,0,this._canvas.width*this._canvas.height*4),c=null;return typeof ImageData>"u"?(c=this._context.createImageData(this._canvas.width,this._canvas.height),c.data.set(a)):c=new ImageData(a,this._canvas.width,this._canvas.height),this._context.putImageData(c,0,0),this._eventManager.dispatch({type:"render",currentFrame:this._dotLottieCore.currentFrame()}),!0}return!1}_draw(){if(this._dotLottieCore===null||this._context===null||!this._dotLottieCore.isPlaying())return;let n=this._dotLottieCore.requestFrame();this._dotLottieCore.setFrame(n)&&(this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render()&&this._dotLottieCore.isComplete()&&(this._dotLottieCore.config().loopAnimation?this._eventManager.dispatch({type:"loop",loopCount:this._dotLottieCore.loopCount()}):this._eventManager.dispatch({type:"complete"}))),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))}play(){if(this._dotLottieCore===null)return;let n=this._dotLottieCore.play();this._isFrozen=!1,n&&(this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this)))}pause(){this._dotLottieCore!==null&&this._dotLottieCore.pause()&&this._eventManager.dispatch({type:"pause"})}stop(){this._dotLottieCore!==null&&this._dotLottieCore.stop()&&(this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render(),this._eventManager.dispatch({type:"stop"}))}setFrame(n){this._dotLottieCore===null||n<0||n>this._dotLottieCore.totalFrames()||this._dotLottieCore.seek(n)&&(this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render())}setSpeed(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{speed:n}))}setBackgroundColor(n){this._dotLottieCore!==null&&(Pt&&this._canvas instanceof HTMLCanvasElement?this._canvas.style.backgroundColor=n:this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{backgroundColor:Fi(n)})),this._backgroundColor=n)}setLoop(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{loopAnimation:n}))}setUseFrameInterpolation(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{useFrameInterpolation:n}))}addEventListener(n,a){this._eventManager.addEventListener(n,a)}removeEventListener(n,a){this._eventManager.removeEventListener(n,a)}destroy(){this._dotLottieCore?.delete(),this._dotLottieCore=null,this._context=null,this._eventManager.dispatch({type:"destroy"}),this._eventManager.removeAllEventListeners(),this._cleanupStateMachineListeners()}freeze(){this._animationFrameId!==null&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null,this._isFrozen=!0,this._eventManager.dispatch({type:"freeze"}))}unfreeze(){this._animationFrameId===null&&(this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this)),this._isFrozen=!1,this._eventManager.dispatch({type:"unfreeze"}))}resize(){if(Pt&&this._canvas instanceof HTMLCanvasElement){let n=this._renderConfig.devicePixelRatio||window.devicePixelRatio||1,{height:a,width:c}=this._canvas.getBoundingClientRect();this._canvas.width=c*n,this._canvas.height=a*n}this._dotLottieCore?.resize(this._canvas.width,this._canvas.height)&&this._render()}setSegment(n,a){this._dotLottieCore===null||T._wasmModule===null||this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{segment:rn([n,a],T._wasmModule)}))}setMode(n){this._dotLottieCore===null||T._wasmModule===null||this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{mode:en(n,T._wasmModule)}))}setRenderConfig(n){this._renderConfig=n}loadAnimation(n){this._dotLottieCore===null||this._dotLottieCore.activeAnimationId()===n||(this._dotLottieCore.loadAnimation(n,this._canvas.width,this._canvas.height)?(this._eventManager.dispatch({type:"load"}),this.resize()):this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to animation :${n}`)}))}setMarker(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig(D(E({},this._dotLottieCore.config()),{marker:n}))}markers(){let n=this._dotLottieCore?.markers();if(n){let a=[];for(let c=0;cn in s?Pn(s,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[n]=a;var I=(s,n,a)=>An(s,typeof n!="symbol"?n+"":n,a);var Ke=class{requestAnimationFrame(n){return requestAnimationFrame(n)}cancelAnimationFrame(n){cancelAnimationFrame(n);}},Xe=class{constructor(){I(this,"_lastHandleId",0);I(this,"_lastImmediate",null);}requestAnimationFrame(n){return this._lastHandleId>=Number.MAX_SAFE_INTEGER&&(this._lastHandleId=0),this._lastHandleId+=1,this._lastImmediate=setImmediate(()=>{n(Date.now());}),this._lastHandleId}cancelAnimationFrame(n){this._lastImmediate&&clearImmediate(this._lastImmediate);}},Ie=class{constructor(){I(this,"_strategy");this._strategy=typeof requestAnimationFrame=="function"?new Ke:new Xe;}requestAnimationFrame(n){return this._strategy.requestAnimationFrame(n)}cancelAnimationFrame(n){this._strategy.cancelAnimationFrame(n);}};var te=typeof window<"u"&&typeof window.document<"u";var me={name:"@lottiefiles/dotlottie-web",version:"0.28.0",type:"module",description:"Lottie and DotLottie player for the web",repository:{type:"git",url:"git+https://github.com/LottieFiles/dotlottie-web.git",directory:"packages/web"},homepage:"https://github.com/LottieFiles/dotlottie-web#readme",bugs:"https://github.com/LottieFiles/dotlottie-web/issues",author:"LottieFiles",contributors:["Abdelrahman Ashraf "],license:"MIT",main:"dist/index.cjs",module:"dist/index.js",types:"dist/index.d.ts",files:["dist"],keywords:["dotlottie","lottie","player","animation","web","canvas","javascript","thorvg"],scripts:{build:"tsup",dev:"tsup --watch",lint:"eslint --fix .","stats:eslint":"cross-env TIMING=1 eslint .","stats:ts":"tsc -p tsconfig.build.json --extendedDiagnostics",test:"vitest run --browser.headless","test:coverage":"vitest run --browser.headless --coverage","test:watch":"vitest","type-check":"tsc --noEmit"},devDependencies:{"@types/node":"^20.10.5","@vitest/browser":"^1.2.2 ","@vitest/coverage-istanbul":"^1.2.2","cross-env":"7.0.3",tsup:"8.1.0",typescript:"5.0.4",vitest:"^1.2.2",webdriverio:"^8.32.0"},publishConfig:{access:"public"}};var Sn=(()=>{var s=typeof document<"u"?document.currentScript?.src:void 0;return function(n={}){var a=n,d,w,T=new Promise((e,t)=>{d=e,w=t;}),W=Object.assign({},a),Y="./this.program",j="";typeof document<"u"&&document.currentScript&&(j=document.currentScript.src),s&&(j=s),j.startsWith("blob:")?j="":j=j.substr(0,j.replace(/[?#].*/,"").lastIndexOf("/")+1);var Wt=a.print||console.log.bind(console),Q=a.printErr||console.error.bind(console);Object.assign(a,W),W=null,a.thisProgram&&(Y=a.thisProgram);var ne;a.wasmBinary&&(ne=a.wasmBinary);var ve,tt=!1,G,L,Z,re,A,b,nt,rt;function at(){var e=ve.buffer;a.HEAP8=G=new Int8Array(e),a.HEAP16=Z=new Int16Array(e),a.HEAPU8=L=new Uint8Array(e),a.HEAPU16=re=new Uint16Array(e),a.HEAP32=A=new Int32Array(e),a.HEAPU32=b=new Uint32Array(e),a.HEAPF32=nt=new Float32Array(e),a.HEAPF64=rt=new Float64Array(e);}var ot=[],it=[],st=[];function jt(){var e=a.preRun.shift();ot.unshift(e);}var N=0,ae=null;function ye(e){throw a.onAbort?.(e),e="Aborted("+e+")",Q(e),tt=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),w(e),e}var lt=e=>e.startsWith("data:application/octet-stream;base64,"),q;if(q="DotLottiePlayer.wasm",!lt(q)){var dt=q;q=a.locateFile?a.locateFile(dt,j):j+dt;}function ut(e){if(e==q&&ne)return new Uint8Array(ne);throw "both async and sync fetching of the wasm failed"}function Bt(e){return ne||typeof fetch!="function"?Promise.resolve().then(()=>ut(e)):fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw `failed to load wasm binary file at \'${e}\'`;return t.arrayBuffer()}).catch(()=>ut(e))}function ct(e,t,r){return Bt(e).then(o=>WebAssembly.instantiate(o,t)).then(r,o=>{Q(`failed to asynchronously prepare wasm: ${o}`),ye(o);})}function Ut(e,t){var r=q;return ne||typeof WebAssembly.instantiateStreaming!="function"||lt(r)||typeof fetch!="function"?ct(r,e,t):fetch(r,{credentials:"same-origin"}).then(o=>WebAssembly.instantiateStreaming(o,e).then(t,function(i){return Q(`wasm streaming compile failed: ${i}`),Q("falling back to ArrayBuffer instantiation"),ct(r,e,t)}))}var Ae=e=>{for(;0{var o=t+r;for(r=t;e[r]&&!(r>=o);)++r;if(16i?o+=String.fromCharCode(i):(i-=65536,o+=String.fromCharCode(55296|i>>10,56320|i&1023));}}else o+=String.fromCharCode(i);}return o};class Ht{constructor(t){this.ya=t-24;}}var pt=0,mt=e=>{for(var t=0,r=0;r=o?t++:2047>=o?t+=2:55296<=o&&57343>=o?(t+=4,++r):t+=3;}return t},ft=(e,t,r,o)=>{if(0=l){var h=e.charCodeAt(++i);l=65536+((l&1023)<<10)|h&1023;}if(127>=l){if(r>=o)break;t[r++]=l;}else {if(2047>=l){if(r+1>=o)break;t[r++]=192|l>>6;}else {if(65535>=l){if(r+2>=o)break;t[r++]=224|l>>12;}else {if(r+3>=o)break;t[r++]=240|l>>18,t[r++]=128|l>>12&63;}t[r++]=128|l>>6&63;}t[r++]=128|l&63;}}t[r]=0;}},ge={},Te=e=>{for(;e.length;){var t=e.pop();e.pop()(t);}};function oe(e){return this.fromWireType(b[e>>2])}var ee={},K={},we={},ie,H=(e,t,r)=>{function o(c){if(c=r(c),c.length!==e.length)throw new ie("Mismatched type converter count");for(var m=0;m{K.hasOwnProperty(c)?i[m]=K[c]:(l.push(c),ee.hasOwnProperty(c)||(ee[c]=[]),ee[c].push(()=>{i[m]=K[c],++h,h===l.length&&o(i);}));}),l.length===0&&o(i);},vt,P=e=>{for(var t="";L[e];)t+=vt[L[e++]];return t},g;function Yt(e,t,r={}){var o=t.name;if(!e)throw new g(`type "${o}" must have a positive integer typeid pointer`);if(K.hasOwnProperty(e)){if(r.ib)return;throw new g(`Cannot register type \'${o}\' twice`)}K[e]=t,delete we[e],ee.hasOwnProperty(e)&&(t=ee[e],delete ee[e],t.forEach(i=>i()));}function k(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return Yt(e,t,r)}var Se=e=>{throw new g(e.ma.za.xa.name+" instance already deleted")},Re=!1,yt=()=>{},gt=(e,t,r)=>t===r?e:r.Ca===void 0?null:(e=gt(e,t,r.Ca),e===null?null:r.ab(e)),wt={},se=[],$e=()=>{for(;se.length;){var e=se.pop();e.ma.Ka=!1,e.delete();}},le,de={},Gt=(e,t)=>{if(t===void 0)throw new g("ptr should not be undefined");for(;e.Ca;)t=e.Na(t),e=e.Ca;return de[t]},_e=(e,t)=>{if(!t.za||!t.ya)throw new ie("makeClassHandle requires ptr and ptrType");if(!!t.Da!=!!t.Aa)throw new ie("Both smartPtrType and smartPtr must be specified");return t.count={value:1},ue(Object.create(e,{ma:{value:t,writable:!0}}))},ue=e=>typeof FinalizationRegistry>"u"?(ue=t=>t,e):(Re=new FinalizationRegistry(t=>{t=t.ma,--t.count.value,t.count.value===0&&(t.Aa?t.Da.Fa(t.Aa):t.za.xa.Fa(t.ya));}),ue=t=>{var r=t.ma;return r.Aa&&Re.register(t,{ma:r},t),t},yt=t=>{Re.unregister(t);},ue(e));function Ee(){}var ce=(e,t)=>Object.defineProperty(t,"name",{value:e}),_t=(e,t,r)=>{if(e[t].Ba===void 0){var o=e[t];e[t]=function(...i){if(!e[t].Ba.hasOwnProperty(i.length))throw new g(`Function \'${r}\' called with an invalid number of arguments (${i.length}) - expects one of (${e[t].Ba})!`);return e[t].Ba[i.length].apply(this,i)},e[t].Ba=[],e[t].Ba[o.Oa]=o;}},ke=(e,t,r)=>{if(a.hasOwnProperty(e)){if(r===void 0||a[e].Ba!==void 0&&a[e].Ba[r]!==void 0)throw new g(`Cannot register public name \'${e}\' twice`);if(_t(a,e,e),a.hasOwnProperty(r))throw new g(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);a[e].Ba[r]=t;}else a[e]=t,r!==void 0&&(a[e].vb=r);},Nt=e=>{if(e===void 0)return "_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return 48<=t&&57>=t?`_${e}`:e};function Jt(e,t,r,o,i,l,h,c){this.name=e,this.constructor=t,this.La=r,this.Fa=o,this.Ca=i,this.cb=l,this.Na=h,this.ab=c,this.kb=[];}var De=(e,t,r)=>{for(;t!==r;){if(!t.Na)throw new g(`Expected null or instance of ${r.name}, got an instance of ${t.name}`);e=t.Na(e),t=t.Ca;}return e};function Kt(e,t){if(t===null){if(this.Ta)throw new g(`null is not a valid ${this.name}`);return 0}if(!t.ma)throw new g(`Cannot pass "${He(t)}" as a ${this.name}`);if(!t.ma.ya)throw new g(`Cannot pass deleted object as a pointer of type ${this.name}`);return De(t.ma.ya,t.ma.za.xa,this.xa)}function Xt(e,t){if(t===null){if(this.Ta)throw new g(`null is not a valid ${this.name}`);if(this.Qa){var r=this.Ua();return e!==null&&e.push(this.Fa,r),r}return 0}if(!t||!t.ma)throw new g(`Cannot pass "${He(t)}" as a ${this.name}`);if(!t.ma.ya)throw new g(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Pa&&t.ma.za.Pa)throw new g(`Cannot convert argument of type ${t.ma.Da?t.ma.Da.name:t.ma.za.name} to parameter type ${this.name}`);if(r=De(t.ma.ya,t.ma.za.xa,this.xa),this.Qa){if(t.ma.Aa===void 0)throw new g("Passing raw pointer to smart pointer is illegal");switch(this.pb){case 0:if(t.ma.Da===this)r=t.ma.Aa;else throw new g(`Cannot convert argument of type ${t.ma.Da?t.ma.Da.name:t.ma.za.name} to parameter type ${this.name}`);break;case 1:r=t.ma.Aa;break;case 2:if(t.ma.Da===this)r=t.ma.Aa;else {var o=t.clone();r=this.lb(r,Me(()=>o.delete())),e!==null&&e.push(this.Fa,r);}break;default:throw new g("Unsupporting sharing policy")}}return r}function Qt(e,t){if(t===null){if(this.Ta)throw new g(`null is not a valid ${this.name}`);return 0}if(!t.ma)throw new g(`Cannot pass "${He(t)}" as a ${this.name}`);if(!t.ma.ya)throw new g(`Cannot pass deleted object as a pointer of type ${this.name}`);if(t.ma.za.Pa)throw new g(`Cannot convert argument of type ${t.ma.za.name} to parameter type ${this.name}`);return De(t.ma.ya,t.ma.za.xa,this.xa)}function he(e,t,r,o,i,l,h,c,m,p,f){this.name=e,this.xa=t,this.Ta=r,this.Pa=o,this.Qa=i,this.jb=l,this.pb=h,this.Za=c,this.Ua=m,this.lb=p,this.Fa=f,i||t.Ca!==void 0?this.toWireType=Xt:(this.toWireType=o?Kt:Qt,this.Ea=null);}var Et=(e,t,r)=>{if(!a.hasOwnProperty(e))throw new ie("Replacing nonexistent public symbol");a[e].Ba!==void 0&&r!==void 0?a[e].Ba[r]=t:(a[e]=t,a[e].Oa=r);},$,Zt=(e,t,r=[])=>(e.includes("j")?(e=e.replace(/p/g,"i"),t=(0, a["dynCall_"+e])(t,...r)):t=$.get(t)(...r),t),qt=(e,t)=>(...r)=>Zt(e,t,r),S=(e,t)=>{e=P(e);var r=e.includes("j")?qt(e,t):$.get(t);if(typeof r!="function")throw new g(`unknown function pointer with signature ${e}: ${t}`);return r},Ct,Mt=e=>{e=St(e);var t=P(e);return U(e),t},Ce=(e,t)=>{function r(l){i[l]||K[l]||(we[l]?we[l].forEach(r):(o.push(l),i[l]=!0));}var o=[],i={};throw t.forEach(r),new Ct(`${e}: `+o.map(Mt).join([", "]))},ze=(e,t)=>{for(var r=[],o=0;o>2]);return r};function en(e){for(var t=1;tl)throw new g("argTypes array size mismatch! Must at least get return value and \'this\' types!");var h=t[1]!==null&&r!==null,c=en(t),m=t[0].name!=="void",p=l-2,f=Array(p),_=[],C=[];return ce(e,function(...u){if(u.length!==p)throw new g(`function ${e} called with ${u.length} arguments, expected ${p}`);if(C.length=0,_.length=h?2:1,_[0]=i,h){var v=t[1].toWireType(C,this);_[1]=v;}for(var y=0;y{e=e.trim();let t=e.indexOf("(");return t!==-1?e.substr(0,t):e},We=[],B=[],je=e=>{9{if(!e)throw new g("Cannot use deleted val. handle = "+e);return B[e]},Me=e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:let t=We.pop()||B.length;return B[t]=e,B[t+1]=1,t}},Lt={name:"emscripten::val",fromWireType:e=>{var t=Be(e);return je(e),t},toWireType:(e,t)=>Me(t),argPackAdvance:8,readValueFromPointer:oe,Ea:null},tn=(e,t,r)=>{switch(t){case 1:return r?function(o){return this.fromWireType(G[o])}:function(o){return this.fromWireType(L[o])};case 2:return r?function(o){return this.fromWireType(Z[o>>1])}:function(o){return this.fromWireType(re[o>>1])};case 4:return r?function(o){return this.fromWireType(A[o>>2])}:function(o){return this.fromWireType(b[o>>2])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Ue=(e,t)=>{var r=K[e];if(r===void 0)throw e=`${t} has unknown type ${Mt(e)}`,new g(e);return r},He=e=>{if(e===null)return "null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},nn=(e,t)=>{switch(t){case 4:return function(r){return this.fromWireType(nt[r>>2])};case 8:return function(r){return this.fromWireType(rt[r>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},rn=(e,t,r)=>{switch(t){case 1:return r?o=>G[o]:o=>L[o];case 2:return r?o=>Z[o>>1]:o=>re[o>>1];case 4:return r?o=>A[o>>2]:o=>b[o>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Ft=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,an=(e,t)=>{for(var r=e>>1,o=r+t/2;!(r>=o)&&re[r];)++r;if(r<<=1,32=t/2);++o){var i=Z[e+2*o>>1];if(i==0)break;r+=String.fromCharCode(i);}return r},on=(e,t,r)=>{if(r??(r=2147483647),2>r)return 0;r-=2;var o=t;r=r<2*e.length?r/2:e.length;for(var i=0;i>1]=e.charCodeAt(i),t+=2;return Z[t>>1]=0,t-o},sn=e=>2*e.length,ln=(e,t)=>{for(var r=0,o="";!(r>=t/4);){var i=A[e+4*r>>2];if(i==0)break;++r,65536<=i?(i-=65536,o+=String.fromCharCode(55296|i>>10,56320|i&1023)):o+=String.fromCharCode(i);}return o},dn=(e,t,r)=>{if(r??(r=2147483647),4>r)return 0;var o=t;r=o+r-4;for(var i=0;i=l){var h=e.charCodeAt(++i);l=65536+((l&1023)<<10)|h&1023;}if(A[t>>2]=l,t+=4,t+4>r)break}return A[t>>2]=0,t-o},un=e=>{for(var t=0,r=0;r=o&&++r,t+=4;}return t},Ve=[],cn=e=>{var t=Ve.length;return Ve.push(e),t},hn=(e,t)=>{for(var r=Array(e),o=0;o>2],"parameter "+o);return r},pn=Reflect.construct,Ye={},It=()=>{if(!Ge){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:Y||"./this.program"},t;for(t in Ye)Ye[t]===void 0?delete e[t]:e[t]=Ye[t];var r=[];for(t in e)r.push(`${t}=${e[t]}`);Ge=r;}return Ge},Ge,mn=[null,[],[]],fn=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return e=>crypto.getRandomValues(e);ye("initRandomDevice");},xt=e=>(xt=fn())(e),be=e=>e%4===0&&(e%100!==0||e%400===0),Pt=[31,29,31,30,31,30,31,31,30,31,30,31],At=[31,28,31,30,31,30,31,31,30,31,30,31];function vn(e){var t=Array(mt(e)+1);return ft(e,t,0,t.length),t}var yn=(e,t,r,o)=>{function i(u,v,y){for(u=typeof u=="number"?u.toString():u||"";u.lengthV?-1:0x-u.getDate())v-=x-u.getDate()+1,u.setDate(1),11>y?u.setMonth(y+1):(u.setMonth(0),u.setFullYear(u.getFullYear()+1));else {u.setDate(u.getDate()+v);break}}return y=new Date(u.getFullYear()+1,0,4),v=c(new Date(u.getFullYear(),0,4)),y=c(y),0>=h(v,u)?0>=h(y,u)?u.getFullYear()+1:u.getFullYear():u.getFullYear()-1}var p=b[o+40>>2];o={sb:A[o>>2],rb:A[o+4>>2],Ra:A[o+8>>2],Va:A[o+12>>2],Sa:A[o+16>>2],Ja:A[o+20>>2],Ga:A[o+24>>2],Ia:A[o+28>>2],wb:A[o+32>>2],qb:A[o+36>>2],tb:p&&p?J(L,p):""},r=r?J(L,r):"",p={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var f in p)r=r.replace(new RegExp(f,"g"),p[f]);var _="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),C="January February March April May June July August September October November December".split(" ");p={"%a":u=>_[u.Ga].substring(0,3),"%A":u=>_[u.Ga],"%b":u=>C[u.Sa].substring(0,3),"%B":u=>C[u.Sa],"%C":u=>l((u.Ja+1900)/100|0,2),"%d":u=>l(u.Va,2),"%e":u=>i(u.Va,2," "),"%g":u=>m(u).toString().substring(2),"%G":m,"%H":u=>l(u.Ra,2),"%I":u=>(u=u.Ra,u==0?u=12:12{for(var v=0,y=0;y<=u.Sa-1;v+=(be(u.Ja+1900)?Pt:At)[y++]);return l(u.Va+v,3)},"%m":u=>l(u.Sa+1,2),"%M":u=>l(u.rb,2),"%n":()=>`\n`,"%p":u=>0<=u.Ra&&12>u.Ra?"AM":"PM","%S":u=>l(u.sb,2),"%t":()=>" ","%u":u=>u.Ga||7,"%U":u=>l(Math.floor((u.Ia+7-u.Ga)/7),2),"%V":u=>{var v=Math.floor((u.Ia+7-(u.Ga+6)%7)/7);if(2>=(u.Ga+371-u.Ia-2)%7&&v++,v)v==53&&(y=(u.Ga+371-u.Ia)%7,y==4||y==3&&be(u.Ja)||(v=1));else {v=52;var y=(u.Ga+7-u.Ia-1)%7;(y==4||y==5&&be(u.Ja%400-1))&&v++;}return l(v,2)},"%w":u=>u.Ga,"%W":u=>l(Math.floor((u.Ia+7-(u.Ga+6)%7)/7),2),"%y":u=>(u.Ja+1900).toString().substring(2),"%Y":u=>u.Ja+1900,"%z":u=>{u=u.qb;var v=0<=u;return u=Math.abs(u)/60,(v?"+":"-")+("0000"+(u/60*100+u%60)).slice(-4)},"%Z":u=>u.tb,"%%":()=>"%"},r=r.replace(/%%/g,"\\0\\0");for(f in p)r.includes(f)&&(r=r.replace(new RegExp(f,"g"),p[f](o)));return r=r.replace(/\\0\\0/g,"%"),f=vn(r),f.length>t?0:(G.set(f,e),f.length-1)};ie=a.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError";}};for(var Tt=Array(256),Le=0;256>Le;++Le)Tt[Le]=String.fromCharCode(Le);vt=Tt,g=a.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError";}},Object.assign(Ee.prototype,{isAliasOf:function(e){if(!(this instanceof Ee&&e instanceof Ee))return !1;var t=this.ma.za.xa,r=this.ma.ya;e.ma=e.ma;var o=e.ma.za.xa;for(e=e.ma.ya;t.Ca;)r=t.Na(r),t=t.Ca;for(;o.Ca;)e=o.Na(e),o=o.Ca;return t===o&&r===e},clone:function(){if(this.ma.ya||Se(this),this.ma.Ma)return this.ma.count.value+=1,this;var e=ue,t=Object,r=t.create,o=Object.getPrototypeOf(this),i=this.ma;return e=e(r.call(t,o,{ma:{value:{count:i.count,Ka:i.Ka,Ma:i.Ma,ya:i.ya,za:i.za,Aa:i.Aa,Da:i.Da}}})),e.ma.count.value+=1,e.ma.Ka=!1,e},delete(){if(this.ma.ya||Se(this),this.ma.Ka&&!this.ma.Ma)throw new g("Object already scheduled for deletion");yt(this);var e=this.ma;--e.count.value,e.count.value===0&&(e.Aa?e.Da.Fa(e.Aa):e.za.xa.Fa(e.ya)),this.ma.Ma||(this.ma.Aa=void 0,this.ma.ya=void 0);},isDeleted:function(){return !this.ma.ya},deleteLater:function(){if(this.ma.ya||Se(this),this.ma.Ka&&!this.ma.Ma)throw new g("Object already scheduled for deletion");return se.push(this),se.length===1&&le&&le($e),this.ma.Ka=!0,this}}),a.getInheritedInstanceCount=()=>Object.keys(de).length,a.getLiveInheritedInstances=()=>{var e=[],t;for(t in de)de.hasOwnProperty(t)&&e.push(de[t]);return e},a.flushPendingDeletes=$e,a.setDelayFunction=e=>{le=e,se.length&&le&&le($e);},Object.assign(he.prototype,{eb(e){return this.Za&&(e=this.Za(e)),e},Xa(e){this.Fa?.(e);},argPackAdvance:8,readValueFromPointer:oe,fromWireType:function(e){function t(){return this.Qa?_e(this.xa.La,{za:this.jb,ya:r,Da:this,Aa:e}):_e(this.xa.La,{za:this,ya:e})}var r=this.eb(e);if(!r)return this.Xa(e),null;var o=Gt(this.xa,r);if(o!==void 0)return o.ma.count.value===0?(o.ma.ya=r,o.ma.Aa=e,o.clone()):(o=o.clone(),this.Xa(e),o);if(o=this.xa.cb(r),o=wt[o],!o)return t.call(this);o=this.Pa?o.$a:o.pointerType;var i=gt(r,this.xa,o.xa);return i===null?t.call(this):this.Qa?_e(o.xa.La,{za:o,ya:i,Da:this,Aa:e}):_e(o.xa.La,{za:o,ya:i})}}),Ct=a.UnboundTypeError=((e,t)=>{var r=ce(t,function(o){this.name=t,this.message=o,o=Error(o).stack,o!==void 0&&(this.stack=this.toString()+`\n`+o.replace(/^Error(:[^\\n]*)?\\n/,""));});return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},r})(Error,"UnboundTypeError"),B.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=()=>B.length/2-5-We.length;var gn={c:(e,t,r,o)=>{ye(`Assertion failed: ${e?J(L,e):""}, at: `+[t?t?J(L,t):"":"unknown filename",r,o?o?J(L,o):"":"unknown function"]);},m:(e,t,r)=>{var o=new Ht(e);throw b[o.ya+16>>2]=0,b[o.ya+4>>2]=t,b[o.ya+8>>2]=r,pt=e,pt},B:function(){return 0},P:()=>{},M:()=>{},R:function(){return 0},N:()=>{},A:function(){},O:()=>{},v:e=>{var t=ge[e];delete ge[e];var r=t.Ua,o=t.Fa,i=t.Ya,l=i.map(h=>h.hb).concat(i.map(h=>h.nb));H([e],l,h=>{var c={};return i.forEach((m,p)=>{var f=h[p],_=m.fb,C=m.gb,u=h[p+i.length],v=m.mb,y=m.ob;c[m.bb]={read:x=>f.fromWireType(_(C,x)),write:(x,V)=>{var R=[];v(y,x,u.toWireType(R,V)),Te(R);}};}),[{name:t.name,fromWireType:m=>{var p={},f;for(f in c)p[f]=c[f].read(m);return o(m),p},toWireType:(m,p)=>{for(var f in c)if(!(f in p))throw new TypeError(`Missing field: "${f}"`);var _=r();for(f in c)c[f].write(_,p[f]);return m!==null&&m.push(o,_),_},argPackAdvance:8,readValueFromPointer:oe,Ea:o}]});},I:()=>{},Y:(e,t,r,o)=>{t=P(t),k(e,{name:t,fromWireType:function(i){return !!i},toWireType:function(i,l){return l?r:o},argPackAdvance:8,readValueFromPointer:function(i){return this.fromWireType(L[i])},Ea:null});},r:(e,t,r,o,i,l,h,c,m,p,f,_,C)=>{f=P(f),l=S(i,l),c&&(c=S(h,c)),p&&(p=S(m,p)),C=S(_,C);var u=Nt(f);ke(u,function(){Ce(`Cannot construct ${f} due to unbound types`,[o]);}),H([e,t,r],o?[o]:[],v=>{if(v=v[0],o)var y=v.xa,x=y.La;else x=Ee.prototype;v=ce(f,function(...Je){if(Object.getPrototypeOf(this)!==V)throw new g("Use \'new\' to construct "+f);if(R.Ha===void 0)throw new g(f+" has no accessible constructor");var kt=R.Ha[Je.length];if(kt===void 0)throw new g(`Tried to invoke ctor of ${f} with invalid number of parameters (${Je.length}) - expected (${Object.keys(R.Ha).toString()}) parameters instead!`);return kt.apply(this,Je)});var V=Object.create(x,{constructor:{value:v}});v.prototype=V;var R=new Jt(f,v,V,C,y,l,c,p);if(R.Ca){var pe;(pe=R.Ca).Wa??(pe.Wa=[]),R.Ca.Wa.push(R);}return y=new he(f,R,!0,!1,!1),pe=new he(f+"*",R,!1,!1,!1),x=new he(f+" const*",R,!1,!0,!1),wt[e]={pointerType:pe,$a:x},Et(u,v),[y,pe,x]});},q:(e,t,r,o,i,l)=>{var h=ze(t,r);i=S(o,i),H([],[e],c=>{c=c[0];var m=`constructor ${c.name}`;if(c.xa.Ha===void 0&&(c.xa.Ha=[]),c.xa.Ha[t-1]!==void 0)throw new g(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class \'${c.name}\'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return c.xa.Ha[t-1]=()=>{Ce(`Cannot construct ${c.name} due to unbound types`,h);},H([],h,p=>(p.splice(1,0,null),c.xa.Ha[t-1]=Oe(m,p,null,i,l),[])),[]});},f:(e,t,r,o,i,l,h,c)=>{var m=ze(r,o);t=P(t),t=bt(t),l=S(i,l),H([],[e],p=>{function f(){Ce(`Cannot call ${_} due to unbound types`,m);}p=p[0];var _=`${p.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),c&&p.xa.kb.push(t);var C=p.xa.La,u=C[t];return u===void 0||u.Ba===void 0&&u.className!==p.name&&u.Oa===r-2?(f.Oa=r-2,f.className=p.name,C[t]=f):(_t(C,t,_),C[t].Ba[r-2]=f),H([],m,v=>(v=Oe(_,v,p,l,h),C[t].Ba===void 0?(v.Oa=r-2,C[t]=v):C[t].Ba[r-2]=v,[])),[]});},X:e=>k(e,Lt),x:(e,t,r,o)=>{function i(){}t=P(t),i.values={},k(e,{name:t,constructor:i,fromWireType:function(l){return this.constructor.values[l]},toWireType:(l,h)=>h.value,argPackAdvance:8,readValueFromPointer:tn(t,r,o),Ea:null}),ke(t,i);},k:(e,t,r)=>{var o=Ue(e,"enum");t=P(t),e=o.constructor,o=Object.create(o.constructor.prototype,{value:{value:r},constructor:{value:ce(`${o.name}_${t}`,function(){})}}),e.values[r]=o,e[t]=o;},C:(e,t,r)=>{t=P(t),k(e,{name:t,fromWireType:o=>o,toWireType:(o,i)=>i,argPackAdvance:8,readValueFromPointer:nn(t,r),Ea:null});},E:(e,t,r,o,i,l)=>{var h=ze(t,r);e=P(e),e=bt(e),i=S(o,i),ke(e,function(){Ce(`Cannot call ${e} due to unbound types`,h);},t-1),H([],h,c=>(Et(e,Oe(e,[c[0],null].concat(c.slice(1)),null,i,l),t-1),[]));},l:(e,t,r,o,i)=>{if(t=P(t),i===-1&&(i=4294967295),i=c=>c,o===0){var l=32-8*r;i=c=>c<>>l;}var h=t.includes("unsigned")?function(c,m){return m>>>0}:function(c,m){return m};k(e,{name:t,fromWireType:i,toWireType:h,argPackAdvance:8,readValueFromPointer:rn(t,r,o!==0),Ea:null});},g:(e,t,r)=>{function o(l){return new i(G.buffer,b[l+4>>2],b[l>>2])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];r=P(r),k(e,{name:r,fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ib:!0});},w:e=>{k(e,Lt);},ca:(e,t,r,o,i,l,h,c,m,p,f,_)=>{r=P(r),l=S(i,l),c=S(h,c),p=S(m,p),_=S(f,_),H([e],[t],C=>(C=C[0],[new he(r,C.xa,!1,!1,!0,C,o,l,c,p,_)]));},D:(e,t)=>{t=P(t);var r=t==="std::string";k(e,{name:t,fromWireType:function(o){var i=b[o>>2],l=o+4;if(r)for(var h=l,c=0;c<=i;++c){var m=l+c;if(c==i||L[m]==0){if(h=h?J(L,h,m-h):"",p===void 0)var p=h;else p+="\\0",p+=h;h=m+1;}}else {for(p=Array(i),c=0;c>2]=h,r&&l)ft(i,L,m,h+1);else if(l)for(l=0;l{if(r=P(r),t===2)var o=an,i=on,l=sn,h=c=>re[c>>1];else t===4&&(o=ln,i=dn,l=un,h=c=>b[c>>2]);k(e,{name:r,fromWireType:c=>{for(var m=b[c>>2],p,f=c+4,_=0;_<=m;++_){var C=c+4+_*t;(_==m||h(C)==0)&&(f=o(f,C-f),p===void 0?p=f:(p+="\\0",p+=f),f=C+t);}return U(c),p},toWireType:(c,m)=>{if(typeof m!="string")throw new g(`Cannot pass non-string to C++ string type ${r}`);var p=l(m),f=Ne(4+p+t);return b[f>>2]=p/t,i(m,f+4,p+t),c!==null&&c.push(U,f),f},argPackAdvance:8,readValueFromPointer:oe,Ea(c){U(c);}});},s:(e,t,r,o,i,l)=>{ge[e]={name:P(t),Ua:S(r,o),Fa:S(i,l),Ya:[]};},j:(e,t,r,o,i,l,h,c,m,p)=>{ge[e].Ya.push({bb:P(t),hb:r,fb:S(o,i),gb:l,nb:h,mb:S(c,m),ob:p});},Z:(e,t)=>{t=P(t),k(e,{ub:!0,name:t,argPackAdvance:0,fromWireType:()=>{},toWireType:()=>{}});},J:()=>{throw 1/0},aa:(e,t,r,o)=>(e=Ve[e],t=Be(t),e(null,t,r,o)),F:je,$:(e,t,r)=>{var o=hn(e,t),i=o.shift();e--;var l=Array(e);return t=`methodCaller<(${o.map(h=>h.name).join(", ")}) => ${i.name}>`,cn(ce(t,(h,c,m,p)=>{for(var f=0,_=0;_>2]=Me(h)),c}))},ba:e=>{9{var t=Be(e);Te(t),je(e);},o:(e,t)=>(e=Ue(e,"_emval_take_value"),e=e.readValueFromPointer(t),Me(e)),W:()=>{ye("");},V:()=>performance.now(),L:e=>{var t=L.length;if(e>>>=0,2147483648=r;r*=2){var o=t*(1+.2/r);o=Math.min(o,e+100663296);var i=Math;o=Math.max(e,o);e:{i=(i.min.call(i,2147483648,o+(65536-o%65536)%65536)-ve.buffer.byteLength+65535)/65536;try{ve.grow(i),at();var l=1;break e}catch{}l=void 0;}if(l)return !0}return !1},S:(e,t)=>{var r=0;return It().forEach((o,i)=>{var l=t+r;for(i=b[e+4*i>>2]=l,l=0;l{var r=It();b[e>>2]=r.length;var o=0;return r.forEach(i=>o+=i.length+1),b[t>>2]=o,0},t:()=>52,z:()=>52,H:function(){return 70},Q:(e,t,r,o)=>{for(var i=0,l=0;l>2],c=b[t+4>>2];t+=8;for(var m=0;m>2]=i,0},U:(e,t)=>(xt(L.subarray(e,e+t)),0),i:Mn,d:Cn,e:En,p:bn,y:In,b:wn,a:_n,h:Fn,n:Ln,G:xn,K:(e,t,r,o)=>yn(e,t,r,o)},F=function(){function e(r){return F=r.exports,ve=F.da,at(),$=F.ha,it.unshift(F.ea),N--,a.monitorRunDependencies?.(N),N==0&&(ae&&(r=ae,ae=null,r())),F}var t={a:gn};if(N++,a.monitorRunDependencies?.(N),a.instantiateWasm)try{return a.instantiateWasm(t,e)}catch(r){Q(`Module.instantiateWasm callback failed with error: ${r}`),w(r);}return Ut(t,function(r){e(r.instance);}).catch(w),{}}(),Ne=e=>(Ne=F.fa)(e),St=e=>(St=F.ga)(e),U=e=>(U=F.ia)(e),D=(e,t)=>(D=F.ja)(e,t),z=e=>(z=F.ka)(e),O=()=>(O=F.la)();a.dynCall_iijj=(e,t,r,o,i,l)=>(a.dynCall_iijj=F.na)(e,t,r,o,i,l),a.dynCall_vijj=(e,t,r,o,i,l)=>(a.dynCall_vijj=F.oa)(e,t,r,o,i,l),a.dynCall_jiii=(e,t,r,o)=>(a.dynCall_jiii=F.pa)(e,t,r,o),a.dynCall_jii=(e,t,r)=>(a.dynCall_jii=F.qa)(e,t,r);var Rt=a.dynCall_viiij=(e,t,r,o,i,l)=>(Rt=a.dynCall_viiij=F.ra)(e,t,r,o,i,l);a.dynCall_jiji=(e,t,r,o,i)=>(a.dynCall_jiji=F.sa)(e,t,r,o,i),a.dynCall_viijii=(e,t,r,o,i,l,h)=>(a.dynCall_viijii=F.ta)(e,t,r,o,i,l,h),a.dynCall_iiiiij=(e,t,r,o,i,l,h)=>(a.dynCall_iiiiij=F.ua)(e,t,r,o,i,l,h),a.dynCall_iiiiijj=(e,t,r,o,i,l,h,c,m)=>(a.dynCall_iiiiijj=F.va)(e,t,r,o,i,l,h,c,m),a.dynCall_iiiiiijj=(e,t,r,o,i,l,h,c,m,p)=>(a.dynCall_iiiiiijj=F.wa)(e,t,r,o,i,l,h,c,m,p);function wn(e,t){var r=O();try{$.get(e)(t);}catch(o){if(z(r),o!==o+0)throw o;D(1,0);}}function _n(e,t,r){var o=O();try{$.get(e)(t,r);}catch(i){if(z(o),i!==i+0)throw i;D(1,0);}}function En(e,t,r,o){var i=O();try{return $.get(e)(t,r,o)}catch(l){if(z(i),l!==l+0)throw l;D(1,0);}}function Cn(e,t,r){var o=O();try{return $.get(e)(t,r)}catch(i){if(z(o),i!==i+0)throw i;D(1,0);}}function Mn(e,t){var r=O();try{return $.get(e)(t)}catch(o){if(z(r),o!==o+0)throw o;D(1,0);}}function bn(e,t,r,o,i,l){var h=O();try{return $.get(e)(t,r,o,i,l)}catch(c){if(z(h),c!==c+0)throw c;D(1,0);}}function Ln(e,t,r,o,i){var l=O();try{$.get(e)(t,r,o,i);}catch(h){if(z(l),h!==h+0)throw h;D(1,0);}}function Fn(e,t,r,o){var i=O();try{$.get(e)(t,r,o);}catch(l){if(z(i),l!==l+0)throw l;D(1,0);}}function In(e){var t=O();try{$.get(e)();}catch(r){if(z(t),r!==r+0)throw r;D(1,0);}}function xn(e,t,r,o,i,l){var h=O();try{Rt(e,t,r,o,i,l);}catch(c){if(z(h),c!==c+0)throw c;D(1,0);}}var Fe;ae=function e(){Fe||$t(),Fe||(ae=e);};function $t(){function e(){if(!Fe&&(Fe=!0,a.calledRun=!0,!tt)){if(Ae(it),d(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),a.postRun)for(typeof a.postRun=="function"&&(a.postRun=[a.postRun]);a.postRun.length;){var t=a.postRun.shift();st.unshift(t);}Ae(st);}}if(!(0n})}static async _loadWithBackup(){return this._ModulePromise||(this._ModulePromise=this._tryLoad(this._wasmURL).catch(async n=>{let a=`https://unpkg.com/${me.name}@${me.version}/dist/dotlottie-player.wasm`;console.warn(`Primary WASM load failed from ${this._wasmURL}. Error: ${n.message}`),console.warn(`Attempting to load WASM from backup URL: ${a}`);try{return await this._tryLoad(a)}catch(d){throw console.error(`Primary WASM URL failed: ${n.message}`),console.error(`Backup WASM URL failed: ${d.message}`),new Error("WASM loading failed from all sources.")}})),this._ModulePromise}static async load(){return this._loadWithBackup()}static setWasmUrl(n){this._wasmURL=n,this._ModulePromise=null;}};I(X,"_ModulePromise",null),I(X,"_wasmURL",`https://cdn.jsdelivr.net/npm/${me.name}@${me.version}/dist/dotlottie-player.wasm`);var xe=class{constructor(){I(this,"_eventListeners",new Map);}addEventListener(n,a){let d=this._eventListeners.get(n);d||(d=new Set,this._eventListeners.set(n,d)),d.add(a);}removeEventListener(n,a){let d=this._eventListeners.get(n);d&&(a?(d.delete(a),d.size===0&&this._eventListeners.delete(n)):this._eventListeners.delete(n));}dispatch(n){this._eventListeners.get(n.type)?.forEach(d=>d(n));}removeAllEventListeners(){this._eventListeners.clear();}};function Rn(s){return /^#([\\da-f]{6}|[\\da-f]{8})$/iu.test(s)}function zt(s){if(!Rn(s))return 0;let n=s.replace("#","");return n=n.length===6?`${n}ff`:n,parseInt(n,16)}var Qe=(s,n)=>s==="reverse"?n.Mode.Reverse:s==="bounce"?n.Mode.Bounce:s==="reverse-bounce"?n.Mode.ReverseBounce:n.Mode.Forward,Ze=(s,n)=>s==="contain"?n.Fit.Contain:s==="cover"?n.Fit.Cover:s==="fill"?n.Fit.Fill:s==="fit-height"?n.Fit.FitHeight:s==="fit-width"?n.Fit.FitWidth:n.Fit.None,qe=(s,n)=>{let a=new n.VectorFloat;return a.push_back(s[0]),a.push_back(s[1]),a},et=(s,n)=>{let a=new n.VectorFloat;return s.length!==2||(a.push_back(s[0]),a.push_back(s[1])),a},M=class M{constructor(n){I(this,"_canvas");I(this,"_context",null);I(this,"_eventManager");I(this,"_animationFrameId",null);I(this,"_frameManager");I(this,"_dotLottieCore",null);I(this,"_renderConfig",{});I(this,"_isFrozen",!1);I(this,"_backgroundColor",null);this._canvas=n.canvas,this._context=this._canvas.getContext("2d"),this._eventManager=new xe,this._frameManager=new Ie,this._renderConfig=n.renderConfig??{},X.load().then(a=>{M._wasmModule=a,this._dotLottieCore=new a.DotLottiePlayer({autoplay:n.autoplay??!1,backgroundColor:0,loopAnimation:n.loop??!1,mode:Qe(n.mode??"forward",a),segment:et(n.segment??[],a),speed:n.speed??1,useFrameInterpolation:n.useFrameInterpolation??!0,marker:n.marker??"",layout:n.layout?{align:qe(n.layout.align,a),fit:Ze(n.layout.fit,a)}:a.createDefaultLayout()}),this._eventManager.dispatch({type:"ready"}),n.data?this._loadFromData(n.data):n.src&&this._loadFromSrc(n.src),n.backgroundColor&&this.setBackgroundColor(n.backgroundColor);}).catch(a=>{this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to load wasm module: ${a}`)});});}_loadFromSrc(n){async function a(){let d=await fetch(n);if(!d.ok)throw new Error(`Failed to fetch the animation data from URL: ${n}. ${d.status}: ${d.statusText}`);let w=(d.headers.get("content-type")??"").trim(),T;return ["application/json","text/plain"].some(W=>w.startsWith(W))?T=await d.text():T=await d.arrayBuffer(),T}a().then(d=>{this._loadFromData(d);}).catch(d=>{this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to load animation data from URL: ${n}. ${d}`)});});}_loadFromData(n){if(this._dotLottieCore===null)return;let a=this._canvas.width,d=this._canvas.height,w=!1;if(typeof n=="string")w=this._dotLottieCore.loadAnimationData(n,a,d);else if(n instanceof ArrayBuffer)w=this._dotLottieCore.loadDotLottieData(n,a,d);else if(typeof n=="object")w=this._dotLottieCore.loadAnimationData(JSON.stringify(n),a,d);else {this._eventManager.dispatch({type:"loadError",error:new Error("Unsupported data type for animation data. Expected a string or ArrayBuffer.")});return}w?(this._eventManager.dispatch({type:"load"}),te&&this.resize(),this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render(),this._dotLottieCore.config().autoplay&&(this._dotLottieCore.play(),this._dotLottieCore.isPlaying()?(this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))):console.error("something went wrong, the animation was suppose to autoplay"))):this._eventManager.dispatch({type:"loadError",error:new Error("Failed to load animation data")});}get activeAnimationId(){return this._dotLottieCore?.activeAnimationId()}get activeThemeId(){return this._dotLottieCore?.activeThemeId()}get layout(){let n=this._dotLottieCore?.config().layout;if(n)return {align:[n.align.get(0),n.align.get(1)],fit:(()=>{switch(n.fit){case M._wasmModule?.Fit.Contain:return "contain";case M._wasmModule?.Fit.Cover:return "cover";case M._wasmModule?.Fit.Fill:return "fill";case M._wasmModule?.Fit.FitHeight:return "fit-height";case M._wasmModule?.Fit.FitWidth:return "fit-width";case M._wasmModule?.Fit.None:return "none";default:return "contain"}})()}}get marker(){return this._dotLottieCore?.config().marker}get manifest(){try{let n=this._dotLottieCore?.manifestString();if(this._dotLottieCore===null||!n)return null;let a=JSON.parse(n);return Object.keys(a).length===0?null:a}catch{return null}}get renderConfig(){return this._renderConfig}get segment(){let n=this._dotLottieCore?.config().segment;if(n&&n.size()===2)return [n.get(0),n.get(1)]}get loop(){return this._dotLottieCore?.config().loopAnimation??!1}get mode(){let n=this._dotLottieCore?.config().mode;return n===M._wasmModule?.Mode.Reverse?"reverse":n===M._wasmModule?.Mode.Bounce?"bounce":n===M._wasmModule?.Mode.ReverseBounce?"reverse-bounce":"forward"}get isFrozen(){return this._isFrozen}get backgroundColor(){return this._backgroundColor??""}get autoplay(){return this._dotLottieCore?.config().autoplay??!1}get useFrameInterpolation(){return this._dotLottieCore?.config().useFrameInterpolation??!1}get speed(){return this._dotLottieCore?.config().speed??0}get isReady(){return this._dotLottieCore!==null}get isLoaded(){return this._dotLottieCore?.isLoaded()??!1}get isPlaying(){return this._dotLottieCore?.isPlaying()??!1}get isPaused(){return this._dotLottieCore?.isPaused()??!1}get isStopped(){return this._dotLottieCore?.isStopped()??!1}get currentFrame(){return this._dotLottieCore?.currentFrame()??0}get loopCount(){return this._dotLottieCore?.loopCount()??0}get totalFrames(){return this._dotLottieCore?.totalFrames()??0}get duration(){return this._dotLottieCore?.duration()??0}get segmentDuration(){return this._dotLottieCore?.segmentDuration()??0}get canvas(){return this._canvas}load(n){this._dotLottieCore===null||M._wasmModule===null||(this._dotLottieCore.setConfig({autoplay:n.autoplay??!1,backgroundColor:0,loopAnimation:n.loop??!1,mode:Qe(n.mode??"forward",M._wasmModule),segment:et(n.segment??[],M._wasmModule),speed:n.speed??1,useFrameInterpolation:n.useFrameInterpolation??!0,marker:n.marker??"",layout:n.layout?{align:qe(n.layout.align,M._wasmModule),fit:Ze(n.layout.fit,M._wasmModule)}:M._wasmModule.createDefaultLayout()}),n.data?this._loadFromData(n.data):n.src&&this._loadFromSrc(n.src),this.setBackgroundColor(n.backgroundColor??""));}_render(){if(this._dotLottieCore===null||this._context===null)return !1;if(this._dotLottieCore.render()){let a=this._dotLottieCore.buffer(),d=new Uint8ClampedArray(a,0,this._canvas.width*this._canvas.height*4),w=null;return typeof ImageData>"u"?(w=this._context.createImageData(this._canvas.width,this._canvas.height),w.data.set(d)):w=new ImageData(d,this._canvas.width,this._canvas.height),this._context.putImageData(w,0,0),this._eventManager.dispatch({type:"render",currentFrame:this._dotLottieCore.currentFrame()}),!0}return !1}_draw(){if(this._dotLottieCore===null||this._context===null||!this._dotLottieCore.isPlaying())return;let n=this._dotLottieCore.requestFrame();this._dotLottieCore.setFrame(n)&&(this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render()&&this._dotLottieCore.isComplete()&&(this._dotLottieCore.config().loopAnimation?this._eventManager.dispatch({type:"loop",loopCount:this._dotLottieCore.loopCount()}):this._eventManager.dispatch({type:"complete"}))),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this));}play(){if(this._dotLottieCore===null)return;let n=this._dotLottieCore.play();this._isFrozen=!1,n&&(this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this)));}pause(){if(this._dotLottieCore===null)return;this._dotLottieCore.pause()&&this._eventManager.dispatch({type:"pause"});}stop(){if(this._dotLottieCore===null)return;this._dotLottieCore.stop()&&(this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render(),this._eventManager.dispatch({type:"stop"}));}setFrame(n){if(this._dotLottieCore===null||n<0||n>this._dotLottieCore.totalFrames())return;this._dotLottieCore.seek(n)&&(this._eventManager.dispatch({type:"frame",currentFrame:this._dotLottieCore.currentFrame()}),this._render());}setSpeed(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),speed:n});}setBackgroundColor(n){this._dotLottieCore!==null&&(te&&this._canvas instanceof HTMLCanvasElement?this._canvas.style.backgroundColor=n:this._dotLottieCore.setConfig({...this._dotLottieCore.config(),backgroundColor:zt(n)}),this._backgroundColor=n);}setLoop(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),loopAnimation:n});}setUseFrameInterpolation(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),useFrameInterpolation:n});}addEventListener(n,a){this._eventManager.addEventListener(n,a);}removeEventListener(n,a){this._eventManager.removeEventListener(n,a);}destroy(){this._dotLottieCore?.delete(),this._dotLottieCore=null,this._context=null,this._eventManager.dispatch({type:"destroy"}),this._eventManager.removeAllEventListeners(),this._cleanupStateMachineListeners();}freeze(){this._animationFrameId!==null&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null,this._isFrozen=!0,this._eventManager.dispatch({type:"freeze"}));}unfreeze(){this._animationFrameId===null&&(this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this)),this._isFrozen=!1,this._eventManager.dispatch({type:"unfreeze"}));}resize(){if(te&&this._canvas instanceof HTMLCanvasElement){let a=this._renderConfig.devicePixelRatio||window.devicePixelRatio||1,{height:d,width:w}=this._canvas.getBoundingClientRect();this._canvas.width=w*a,this._canvas.height=d*a;}this._dotLottieCore?.resize(this._canvas.width,this._canvas.height)&&this._render();}setSegment(n,a){this._dotLottieCore===null||M._wasmModule===null||this._dotLottieCore.setConfig({...this._dotLottieCore.config(),segment:et([n,a],M._wasmModule)});}setMode(n){this._dotLottieCore===null||M._wasmModule===null||this._dotLottieCore.setConfig({...this._dotLottieCore.config(),mode:Qe(n,M._wasmModule)});}setRenderConfig(n){this._renderConfig=n;}loadAnimation(n){if(this._dotLottieCore===null||this._dotLottieCore.activeAnimationId()===n)return;this._dotLottieCore.loadAnimation(n,this._canvas.width,this._canvas.height)?(this._eventManager.dispatch({type:"load"}),this.resize()):this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to animation :${n}`)});}setMarker(n){this._dotLottieCore!==null&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),marker:n});}markers(){let n=this._dotLottieCore?.markers();if(n){let a=[];for(let d=0;dn=>{let a={id:"",method:"onReady",result:{instanceId:s,event:n}};self.postMessage(a);},complete:s=>n=>{let a={id:"",method:"onComplete",result:{instanceId:s,event:n}};self.postMessage(a);},load:s=>n=>{let d={id:"",method:"onLoad",result:{instanceId:s,event:n}};self.postMessage(d);},loadError:s=>n=>{let d={id:"",method:"onLoadError",result:{instanceId:s,event:n}};self.postMessage(d);},loop:s=>n=>{let d={id:"",method:"onLoop",result:{instanceId:s,event:n}};self.postMessage(d);},play:s=>n=>{let d={id:"",method:"onPlay",result:{instanceId:s,event:n}};self.postMessage(d);},pause:s=>n=>{let d={id:"",method:"onPause",result:{instanceId:s,event:n}};self.postMessage(d);},stop:s=>n=>{let d={id:"",method:"onStop",result:{instanceId:s,event:n}};self.postMessage(d);},frame:s=>n=>{let d={id:"",method:"onFrame",result:{instanceId:s,event:n}};self.postMessage(d);},render:s=>n=>{let d={id:"",method:"onRender",result:{instanceId:s,event:n}};self.postMessage(d);},freeze:s=>n=>{let d={id:"",method:"onFreeze",result:{instanceId:s,event:n}};self.postMessage(d);},unfreeze:s=>n=>{let d={id:"",method:"onUnfreeze",result:{instanceId:s,event:n}};self.postMessage(d);},destroy:s=>n=>{let d={id:"",method:"onDestroy",result:{instanceId:s,event:n}};self.postMessage(d);}},Ot={getDotLottieInstanceState(s){let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);return {state:{isLoaded:a.isLoaded,isPaused:a.isPaused,isPlaying:a.isPlaying,isStopped:a.isStopped,isFrozen:a.isFrozen,loop:a.loop,mode:a.mode,speed:a.speed,currentFrame:a.currentFrame,totalFrames:a.totalFrames,duration:a.duration,useFrameInterpolation:a.useFrameInterpolation,renderConfig:a.renderConfig,marker:a.marker,backgroundColor:a.backgroundColor,markers:a.markers(),activeAnimationId:a.activeAnimationId,activeThemeId:a.activeThemeId,autoplay:a.autoplay,segment:a.segment,layout:a.layout,segmentDuration:a.segmentDuration,isReady:a.isReady,manifest:a.manifest}}},setLayout(s){let n=s.params.instanceId,a=s.params.layout,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.setLayout(a),{success:!0}},getStateMachineListeners(s){let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);return a.getStateMachineListeners()},postStateMachineEvent(s){let n=s.params.instanceId,a=s.params.event,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.postStateMachineEvent(a)},startStateMachine(s){let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);return a.startStateMachine()},stopStateMachine(s){let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);return a.stopStateMachine()},loadStateMachine(s){let n=s.params.instanceId,a=s.params.stateMachineId,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.loadStateMachine(a)},create:s=>{let n=s.params.instanceId,a=s.params.config,d=s.params.width,w=s.params.height;if(E.has(n))throw new Error(`Instance with id ${n} already exists.`);let T=new fe(a);return T.canvas.height=w,T.canvas.width=d,E.set(n,T),["complete","frame","load","loadError","loop","pause","play","stop","destroy","freeze","unfreeze","render","ready"].forEach(Y=>{T.addEventListener(Y,$n[Y](n));}),{instanceId:n}},destroy:s=>{let n=s.params.instanceId,a=E.get(n);a&&(a.destroy(),E.delete(n));},freeze:s=>{let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);a.freeze();},load:s=>{let n=s.params.instanceId,a=s.params.config,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.load(a);},loadAnimation:s=>{let n=s.params.instanceId,a=s.params.animationId,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.loadAnimation(a);},loadTheme:s=>{let n=s.params.instanceId,a=s.params.themeId,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.loadTheme(a)},loadThemeData:s=>{let n=s.params.instanceId,a=s.params.themeData,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.loadThemeData(a)},pause:s=>{let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);return a.pause()},play:s=>{let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);return a.play()},resize:s=>{let n=s.params.instanceId,a=s.params.width,d=s.params.height,w=E.get(n);if(!w)throw new Error(`Instance with id ${n} does not exist.`);return w.canvas.height=d,w.canvas.width=a,w.resize(),{success:!0}},setBackgroundColor:s=>{let n=s.params.instanceId,a=s.params.backgroundColor,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setBackgroundColor(a);},setFrame:s=>{let n=s.params.instanceId,a=s.params.frame,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setFrame(a);},setMode:s=>{let n=s.params.instanceId,a=s.params.mode,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setMode(a);},setRenderConfig:s=>{let n=s.params.instanceId,a=s.params.renderConfig,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setRenderConfig(a);},setSegment:s=>{let n=s.params.instanceId,a=s.params.segment,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setSegment(a[0],a[1]);},setSpeed:s=>{let n=s.params.instanceId,a=s.params.speed,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setSpeed(a);},setUseFrameInterpolation:s=>{let n=s.params.instanceId,a=s.params.useFrameInterpolation,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);d.setUseFrameInterpolation(a);},setWasmUrl:s=>{fe.setWasmUrl(s.params.url);},stop:s=>{let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);a.stop();},unfreeze:s=>{let n=s.params.instanceId,a=E.get(n);if(!a)throw new Error(`Instance with id ${n} does not exist.`);a.unfreeze();},setViewport(s){let n=s.params.instanceId,a=s.params.x,d=s.params.y,w=s.params.width,T=s.params.height,W=E.get(n);if(!W)throw new Error(`Instance with id ${n} does not exist.`);return W.setViewport(a,d,w,T)},setMarker(s){let n=s.params.instanceId,a=s.params.marker,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.setMarker(a),{success:!0}},setLoop(s){let n=s.params.instanceId,a=s.params.loop,d=E.get(n);if(!d)throw new Error(`Instance with id ${n} does not exist.`);return d.setLoop(a),{success:!0}}};function kn(s){let n=s.method;if(typeof Ot[n]=="function")return Ot[n](s);throw new Error(`Method ${n} is not implemented in commands.`)}self.onmessage=s=>{try{let n=kn(s.data),a={id:s.data.id,method:s.data.method,result:n};self.postMessage(a);}catch(n){let a={id:s.data.id,method:s.data.method,error:n.message};self.postMessage(a);}};var Dn="",lr=Dn;\n\nexport { lr as default };\n',Ti=class{constructor(){x(this,"_workers",new Map),x(this,"_animationWorkerMap",new Map)}_createWorker(s){let n=new Blob([Di],{type:"application/javascript"});return new Worker(URL.createObjectURL(n),{type:"module",name:s})}getWorker(s){return this._workers.has(s)||this._workers.set(s,this._createWorker(s)),this._workers.get(s)}assignAnimationToWorker(s,n){this._animationWorkerMap.set(s,n)}unassignAnimationFromWorker(s){this._animationWorkerMap.delete(s)}sendMessage(s,n,a){this.getWorker(s).postMessage(n,a||[])}terminateWorker(s){let n=this._workers.get(s);n&&(n.terminate(),this._workers.delete(s))}};function Ca(s){if(s instanceof OffscreenCanvas)return{width:s.width,height:s.height};let{height:n,width:a}=s.getBoundingClientRect();return{width:a*window.devicePixelRatio,height:n*window.devicePixelRatio}}function wa(){return Date.now().toString(36)+Math.random().toString(36).substr(2,9)}var Sa=class It{constructor(n){x(this,"_eventManager",new Ma),x(this,"_id"),x(this,"_worker"),x(this,"_canvas"),x(this,"_dotLottieInstanceState",{markers:[],autoplay:!1,backgroundColor:"",currentFrame:0,duration:0,loop:!1,mode:"forward",segment:[0,0],segmentDuration:0,speed:1,totalFrames:0,isLoaded:!1,isPlaying:!1,isPaused:!1,isStopped:!0,isFrozen:!1,useFrameInterpolation:!1,renderConfig:{devicePixelRatio:window.devicePixelRatio},activeAnimationId:"",activeThemeId:"",layout:void 0,marker:void 0,isReady:!1,manifest:null}),x(this,"_created",!1),this._canvas=n.canvas,this._id=`dotlottie-${wa()}`;let a=n.workerId||"defaultWorker";this._worker=It._workerManager.getWorker(a),It._workerManager.assignAnimationToWorker(this._id,a),It._wasmUrl&&this._sendMessage("setWasmUrl",{url:It._wasmUrl}),this._create(n),this._worker.addEventListener("message",this._handleWorkerEvent.bind(this))}_handleWorkerEvent(n){return S(this,null,function*(){let a=n.data;a.id||(a.method==="onLoad"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onComplete"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onDestroy"&&a.result.instanceId===this._id&&this._eventManager.dispatch(a.result.event),a.method==="onUnfreeze"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._dotLottieInstanceState.isFrozen=!1,this._eventManager.dispatch(a.result.event)),a.method==="onFrame"&&a.result.instanceId===this._id&&(this._dotLottieInstanceState.currentFrame=a.result.event.currentFrame,this._eventManager.dispatch(a.result.event)),a.method==="onRender"&&a.result.instanceId===this._id&&this._eventManager.dispatch(a.result.event),a.method==="onFreeze"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onPause"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onPlay"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onStop"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onLoadError"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)),a.method==="onReady"&&a.result.instanceId===this._id&&(yield this._updateDotLottieInstanceState(),this._eventManager.dispatch(a.result.event)))})}_create(n){return S(this,null,function*(){let a;this._canvas instanceof HTMLCanvasElement?a=this._canvas.transferControlToOffscreen():a=this._canvas;let{instanceId:c}=yield this._sendMessage("create",E({instanceId:this._id,config:D(E({},n),{canvas:a})},Ca(this._canvas)),[a]);if(c!==this._id)throw new Error("Instance ID mismatch");this._created=!0,yield this._updateDotLottieInstanceState()})}get isLoaded(){return this._dotLottieInstanceState.isLoaded}get isPlaying(){return this._dotLottieInstanceState.isPlaying}get isPaused(){return this._dotLottieInstanceState.isPaused}get isStopped(){return this._dotLottieInstanceState.isStopped}get currentFrame(){return this._dotLottieInstanceState.currentFrame}get isFrozen(){return this._dotLottieInstanceState.isFrozen}get segmentDuration(){return this._dotLottieInstanceState.segmentDuration}get totalFrames(){return this._dotLottieInstanceState.totalFrames}get segment(){return this._dotLottieInstanceState.segment}get speed(){return this._dotLottieInstanceState.speed}get duration(){return this._dotLottieInstanceState.duration}get isReady(){return this._dotLottieInstanceState.isReady}get mode(){return this._dotLottieInstanceState.mode}get canvas(){return this._canvas}get autoplay(){return this._dotLottieInstanceState.autoplay}get backgroundColor(){return this._dotLottieInstanceState.backgroundColor}get loop(){return this._dotLottieInstanceState.loop}get useFrameInterpolation(){return this._dotLottieInstanceState.useFrameInterpolation}get renderConfig(){return this._dotLottieInstanceState.renderConfig}get manifest(){return this._dotLottieInstanceState.manifest}get activeAnimationId(){return this._dotLottieInstanceState.activeAnimationId}get marker(){return this._dotLottieInstanceState.marker}get activeThemeId(){return this._dotLottieInstanceState.activeThemeId}get layout(){return this._dotLottieInstanceState.layout}play(){return S(this,null,function*(){this._created&&(yield this._sendMessage("play",{instanceId:this._id}),yield this._updateDotLottieInstanceState())})}pause(){return S(this,null,function*(){this._created&&(yield this._sendMessage("pause",{instanceId:this._id}),yield this._updateDotLottieInstanceState())})}stop(){return S(this,null,function*(){this._created&&(yield this._sendMessage("stop",{instanceId:this._id}),yield this._updateDotLottieInstanceState())})}setSpeed(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setSpeed",{instanceId:this._id,speed:n}),yield this._updateDotLottieInstanceState())})}setMode(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setMode",{instanceId:this._id,mode:n}),yield this._updateDotLottieInstanceState())})}setFrame(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setFrame",{frame:n,instanceId:this._id}),yield this._updateDotLottieInstanceState())})}setSegment(n,a){return S(this,null,function*(){this._created&&(yield this._sendMessage("setSegment",{instanceId:this._id,segment:[n,a]}),yield this._updateDotLottieInstanceState())})}setRenderConfig(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setRenderConfig",{instanceId:this._id,renderConfig:n}),yield this._updateDotLottieInstanceState())})}setUseFrameInterpolation(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setUseFrameInterpolation",{instanceId:this._id,useFrameInterpolation:n}),yield this._updateDotLottieInstanceState())})}loadTheme(n){return S(this,null,function*(){if(!this._created)return!1;let a=this._sendMessage("loadTheme",{instanceId:this._id,themeId:n});return yield this._updateDotLottieInstanceState(),a})}load(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("load",{config:n,instanceId:this._id}),yield this._updateDotLottieInstanceState())})}setLoop(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setLoop",{instanceId:this._id,loop:n}),yield this._updateDotLottieInstanceState())})}resize(){return S(this,null,function*(){if(!this._created)return;let{height:n,width:a}=Ca(this._canvas);this._canvas.width=a,this._canvas.height=n,yield this._sendMessage("resize",{height:n,instanceId:this._id,width:a}),yield this._updateDotLottieInstanceState()})}destroy(){return S(this,null,function*(){this._created&&(this._created=!1,yield this._sendMessage("destroy",{instanceId:this._id}),this._cleanupStateMachineListeners(),It._workerManager.unassignAnimationFromWorker(this._id),this._eventManager.removeAllEventListeners())})}freeze(){return S(this,null,function*(){this._created&&(yield this._sendMessage("freeze",{instanceId:this._id}),yield this._updateDotLottieInstanceState())})}unfreeze(){return S(this,null,function*(){this._created&&(yield this._sendMessage("unfreeze",{instanceId:this._id}),yield this._updateDotLottieInstanceState())})}setBackgroundColor(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setBackgroundColor",{instanceId:this._id,backgroundColor:n}),yield this._updateDotLottieInstanceState())})}loadAnimation(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("loadAnimation",{animationId:n,instanceId:this._id}),yield this._updateDotLottieInstanceState())})}setLayout(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setLayout",{instanceId:this._id,layout:n}),yield this._updateDotLottieInstanceState())})}_updateDotLottieInstanceState(){return S(this,null,function*(){if(!this._created)return;let n=yield this._sendMessage("getDotLottieInstanceState",{instanceId:this._id});this._dotLottieInstanceState=n.state})}markers(){return this._dotLottieInstanceState.markers}setMarker(n){return S(this,null,function*(){this._created&&(yield this._sendMessage("setMarker",{instanceId:this._id,marker:n}),yield this._updateDotLottieInstanceState())})}loadThemeData(n){return S(this,null,function*(){if(!this._created)return!1;let a=yield this._sendMessage("loadThemeData",{instanceId:this._id,themeData:n});return yield this._updateDotLottieInstanceState(),a})}setViewport(n,a,c,p){return S(this,null,function*(){return this._created?this._sendMessage("setViewport",{x:n,y:a,width:c,height:p,instanceId:this._id}):!1})}_sendMessage(n,a,c){return S(this,null,function*(){let p={id:`dotlottie-request-${wa()}`,method:n,params:a};return this._worker.postMessage(p,c||[]),new Promise((y,Y)=>{let ot=V=>{let Et=V.data;Et.id===p.id&&(this._worker.removeEventListener("message",ot),Et.error?Y(new Error(`Failed to execute method ${n}: ${Et.error}`)):y(Et.result))};this._worker.addEventListener("message",ot)})})}addEventListener(n,a){this._eventManager.addEventListener(n,a)}removeEventListener(n,a){this._eventManager.removeEventListener(n,a)}static setWasmUrl(n){It._wasmUrl=n}loadStateMachine(n){return S(this,null,function*(){if(!this._created)return!1;let a=yield this._sendMessage("loadStateMachine",{instanceId:this._id,stateMachineId:n});return yield this._updateDotLottieInstanceState(),a})}startStateMachine(){return S(this,null,function*(){if(!this._created)return!1;this._setupStateMachineListeners();let n=yield this._sendMessage("startStateMachine",{instanceId:this._id});return yield this._updateDotLottieInstanceState(),n})}stopStateMachine(){return S(this,null,function*(){return this._created?(this._cleanupStateMachineListeners(),this._sendMessage("stopStateMachine",{instanceId:this._id})):!1})}postStateMachineEvent(n){return S(this,null,function*(){return this._created?this._sendMessage("postStateMachineEvent",{event:n,instanceId:this._id}):!1})}getStateMachineListeners(){return S(this,null,function*(){return this._created?this._sendMessage("getStateMachineListeners",{instanceId:this._id}):[]})}_getPointerPosition(n){let a=this._canvas.getBoundingClientRect(),c=this._canvas.width/a.width,p=this._canvas.height/a.height,y=this._dotLottieInstanceState.renderConfig.devicePixelRatio||window.devicePixelRatio||1,Y=(n.clientX-a.left)*c/y,ot=(n.clientY-a.top)*p/y;return{x:Y,y:ot}}_onPointerUp(n){let{x:a,y:c}=this._getPointerPosition(n);this.postStateMachineEvent(`OnPointerUp: ${a} ${c}`)}_onPointerDown(n){let{x:a,y:c}=this._getPointerPosition(n);this.postStateMachineEvent(`OnPointerDown: ${a} ${c}`)}_onPointerMove(n){let{x:a,y:c}=this._getPointerPosition(n);this.postStateMachineEvent(`OnPointerMove: ${a} ${c}`)}_onPointerEnter(n){let{x:a,y:c}=this._getPointerPosition(n);this.postStateMachineEvent(`OnPointerEnter: ${a} ${c}`)}_onPointerLeave(n){let{x:a,y:c}=this._getPointerPosition(n);this.postStateMachineEvent(`OnPointerExit: ${a} ${c}`)}_onComplete(){this.postStateMachineEvent("OnComplete")}_setupStateMachineListeners(){return S(this,null,function*(){if(Pt&&this._canvas instanceof HTMLCanvasElement&&this.isLoaded){let n=yield this._sendMessage("getStateMachineListeners",{instanceId:this._id});n.includes("PointerUp")&&this._canvas.addEventListener("pointerup",this._onPointerUp.bind(this)),n.includes("PointerDown")&&this._canvas.addEventListener("pointerdown",this._onPointerDown.bind(this)),n.includes("PointerMove")&&this._canvas.addEventListener("pointermove",this._onPointerMove.bind(this)),n.includes("PointerEnter")&&this._canvas.addEventListener("pointerenter",this._onPointerEnter.bind(this)),n.includes("PointerExit")&&this._canvas.addEventListener("pointerleave",this._onPointerLeave.bind(this)),n.includes("Complete")&&this.addEventListener("complete",this._onComplete.bind(this))}})}_cleanupStateMachineListeners(){Pt&&this._canvas instanceof HTMLCanvasElement&&(this._canvas.removeEventListener("pointerup",this._onPointerUp.bind(this)),this._canvas.removeEventListener("pointerdown",this._onPointerDown.bind(this)),this._canvas.removeEventListener("pointermove",this._onPointerMove.bind(this)),this._canvas.removeEventListener("pointerenter",this._onPointerEnter.bind(this)),this._canvas.removeEventListener("pointerleave",this._onPointerLeave.bind(this)),this.removeEventListener("complete",this._onComplete.bind(this)))}};x(Sa,"_workerManager",new Ti),x(Sa,"_wasmUrl","");function Aa(s,n){let a=s.ngOnInit;s.ngOnInit=function(){if(this[n]===void 0||this[n]===null)throw new Error(`Required input '${n}' was not provided in ${s.constructor.name}.`);if(a)return a.apply(this)}}var Wt=function(s){return s.QUANTIZATION="quant",s.PRUNING="pruning",s}(Wt||{});var Ia={[Wt.PRUNING]:{path:"assets/animations/pruning.lottie",speed:.15,className:"pruning"},[Wt.QUANTIZATION]:{path:"assets/animations/quantization.lottie",speed:.07,className:"quant"}};var Oi=["dotlottieCanvas"],ut,Jt=(ut=class{constructor(n,a,c){this.scriptFacadeService=n,this.el=a,this.renderer=c}ngOnInit(){let n=Ia[this.animationType];if(!n)throw new Error(`Unknown animation type: ${this.animationType}`);this.initializeAnimation(n)}initializeAnimation(n){this.dotLottie=new ba({autoplay:!1,loop:!0,canvas:this.dotlottieCanvas.nativeElement,src:n.path,speed:n.speed||1}),this.dotLottie.addEventListener("load",()=>{this.listenToScriptStateChanges()}),this.renderer.addClass(this.el.nativeElement,n.className)}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(Ot(this)).subscribe(n=>{ye(n)?this.playAnimation():this.stopAnimation()})}playAnimation(){this.dotLottie?.play()}stopAnimation(){this.dotLottie?.stop()}},ut.\u0275fac=function(a){return new(a||ut)(W(kt),W(Xn),W(qn))},ut.\u0275cmp=X({type:ut,selectors:[["ms-running-animation"]],viewQuery:function(a,c){if(a&1&&ta(Oi,7),a&2){let p;ea(p=na())&&(c.dotlottieCanvas=p.first)}},inputs:{animationType:"animationType"},decls:3,vars:0,consts:[["dotlottieCanvas",""],[1,"parent-container"],["id","dotlottie-canvas"]],template:function(a,c){a&1&&(w(0,"div",1),A(1,"canvas",2,0),v())},styles:[".parent-container[_ngcontent-%COMP%]{overflow:hidden;height:300px;border-radius:10px;margin-bottom:10px;position:relative;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}canvas[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:cover;position:absolute;top:50%;left:0;transform:translateY(-50%)}.pruning[_nghost-%COMP%] .parent-container[_ngcontent-%COMP%]{background-color:#b2ddff}@media (max-width: 1000px){.pruning[_nghost-%COMP%] .parent-container[_ngcontent-%COMP%]{height:180px}}@media (min-width: 1200px){.pruning[_nghost-%COMP%] canvas[_ngcontent-%COMP%]{width:900px;left:calc((100% - 900px)/2)}}.quant[_nghost-%COMP%] .parent-container[_ngcontent-%COMP%]{background-color:#1649a8}@media (max-width: 1000px){.quant[_nghost-%COMP%] .parent-container[_ngcontent-%COMP%]{height:180px}}@media (min-width: 1100px){.quant[_nghost-%COMP%] canvas[_ngcontent-%COMP%]{width:900px;left:calc((100% - 900px)/2)}}"],changeDetection:0}),ut);ht([Aa],Jt.prototype,"animationType",void 0);Jt=ht([yt()],Jt);var j=function(s){return s.ACCURACY="accuracy",s.LOSS="loss",s}(j||{}),$i=100,te=(s,n,a=!1)=>s.map(c=>({datasetIndex:c.datasetIndex,values:(a?c.testing:c.steps).map(p=>p[n])||[]})),Pa=s=>{let n=s.flatMap(a=>a.sparsity).filter(a=>a!=null);return[{datasetIndex:0,values:[$i,...n]}]},on=(s,n)=>[{datasetIndex:0,values:s.steps.map(a=>a[n]).filter(a=>a!=null)}],sn=(s,n)=>n===j.LOSS?s.map((a,c)=>({datasetIndex:c,values:a.steps.map(p=>p?.loss).filter(p=>p!=null)})):[{datasetIndex:0,values:s.map(a=>a.accuracy).filter(a=>a!=null)}],cn=(s,n)=>s.epochs.map((a,c)=>({datasetIndex:c,values:a.steps.map(p=>p[n])})),ln=(s,n)=>s.tests.map((a,c)=>({datasetIndex:c,values:a.steps.map(p=>p[n])}));var Fa=(()=>{let n=class n{constructor(c){this.chartsFacadeService=c,this.RealtimeUpdateMetric=U,this.initialAccuracyChartData=[],this.accuracyChartDisplaySettings={chartDataStructure:H.SINGLE_PHASE_X_AXIS,xAxisDataPointsCount:159,isXAxisDynamic:!0,datasetLabelPrefix:"Epoch:",xAxisLabelPrefix:"Step",xAxisRepetitionCount:1,yAxisMinimumValue:0,yAxisMaximumValue:100,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.GREEN,realtimeUpdateMetric:U.ACCURACY},this.initialAccuracyTestingChartData=[],this.testingAccuracyChartDisplaySettings={chartDataStructure:H.SINGLE_PHASE_X_AXIS,xAxisDataPointsCount:159,isXAxisVisible:!0,isXAxisDynamic:!0,xAxisLabelPrefix:"Step",datasetLabelPrefix:"Test:",xAxisRepetitionCount:1,yAxisMinimumValue:0,yAxisMaximumValue:100,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.YELLOW,realtimeUpdateMetric:U.TESTING_ACCURACY},this.initialLossChartData=[],this.lossChartDisplaySettings={chartDataStructure:H.SINGLE_PHASE_X_AXIS,xAxisDataPointsCount:159,isXAxisVisible:!0,isXAxisDynamic:!0,xAxisLabelPrefix:"Step",datasetLabelPrefix:"Epoch:",xAxisRepetitionCount:1,yAxisMinimumValue:0,isYAxisDynamic:!0,datasetColorSettingsKey:B.RED,realtimeUpdateMetric:U.LOSS},this.initialLossTestingChartData=[],this.testingLossChartDisplaySettings={chartDataStructure:H.SINGLE_PHASE_X_AXIS,xAxisDataPointsCount:159,isXAxisVisible:!0,isXAxisDynamic:!0,xAxisLabelPrefix:"Step",datasetLabelPrefix:"Test:",xAxisRepetitionCount:1,yAxisMinimumValue:0,isYAxisDynamic:!0,dynamicYAxisGrowthOffset:1,dynamicYAxisGrowthRoundFactor:2,datasetColorSettingsKey:B.YELLOW,realtimeUpdateMetric:U.TESTING_LOSS}}ngOnInit(){this.loadChartSettings(),this.loadLatestChartsData()}loadChartSettings(){this.chartsFacadeService.dispatch(Ct.getCurrentMachineUnlearningChartData())}loadLatestChartsData(){this.chartsFacadeService.machineUnlearningProgress$.pipe(Z(1),st(c=>!Ce(c)),Q(1)).subscribe(c=>{this.initialAccuracyChartData=cn(c,j.ACCURACY),this.initialLossChartData=cn(c,j.LOSS),this.initialAccuracyTestingChartData=ln(c,j.ACCURACY),this.initialLossTestingChartData=ln(c,j.LOSS)})}};n.\u0275fac=function(p){return new(p||n)(W($t))},n.\u0275cmp=X({type:n,selectors:[["ms-running-machine-unlearning-charts"]],decls:19,vars:8,consts:[[1,"charts"],[1,"ms-chart-display","accuracy-chart"],[1,"epochs"],[1,"paragraph-bold-p3-small-bold","p-2"],[3,"data","settings"],[1,"testing"],[1,"ms-chart-display","loss-chart"]],template:function(p,y){p&1&&(w(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),L(4,"Accuracy Training"),v(),A(5,"ms-line-chart",4),v(),w(6,"div",5)(7,"p",3),L(8,"Accuracy Test"),v(),A(9,"ms-line-chart",4),v()(),w(10,"div",6)(11,"div",2)(12,"p",3),L(13,"Loss Training"),v(),A(14,"ms-line-chart",4),v(),w(15,"div",5)(16,"p",3),L(17,"Loss Test"),v(),A(18,"ms-line-chart",4),v()()()),p&2&&(I(5),R("data",y.initialAccuracyChartData)("settings",y.accuracyChartDisplaySettings),I(4),R("data",y.initialAccuracyTestingChartData)("settings",y.testingAccuracyChartDisplaySettings),I(5),R("data",y.initialLossChartData)("settings",y.lossChartDisplaySettings),I(4),R("data",y.initialLossTestingChartData)("settings",y.testingLossChartDisplaySettings))},dependencies:[wt],styles:[".charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%]{display:flex}.charts[_ngcontent-%COMP%] .ms-chart-display.accuracy-chart[_ngcontent-%COMP%], .charts[_ngcontent-%COMP%] .ms-chart-display.loss-chart[_ngcontent-%COMP%]{background-color:var(--backgrounds-80);border-radius:20px;padding:10px;margin:10px 0}.charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%] .epochs[_ngcontent-%COMP%]{flex:0 0 70%}.charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%] .testing[_ngcontent-%COMP%]{border-left:1px solid var(--foregrounds-300);padding-left:10px;margin-left:10px;flex:0 0 28.5%}"]});let s=n;return s})();var rt=function(s){return s.SPARSITY_PRUNING="sparsityPruning",s.ACCURACY_PRUNING="accuracyPruning",s.ACCURACY_QUANTIZATION="accuracyQuantization",s.ACCURACY_MACHINE_UNLEARNING="accuracyMachineUnlearning",s.LOSS_QUANTIZATION="lossQuantization",s.LOSS_PRUNING="lossPruning",s.LOSS_MACHINE_UNLEARNING="lossMachineUnlearning",s.TESTING_ACCURACY_CHART="testing_accuracyChart",s.TESTING_LOSS_CHART="testing_lossChart",s}(rt||{});var pt,Pe=(pt=class{constructor(n){this.chartsFacadeService=n,this.RealtimeUpdateMetric=U,this.initialLossChartData=[],this.lossPruningChartSettings={},this.lossChartDisplaySettings=D(E({},Ut),{yAxisMinimumValue:0,yAxisTickInterval:2,chartDataStructure:H.MUlTI_PHASE_X_AXIS,xAxisDataPointsCount:tn,isYAxisDynamic:!0,dynamicYAxisGrowthOffset:2,datasetColorSettingsKey:B.RED,realtimeUpdateMetric:U.LOSS}),this.initialLossTestingChartData=[],this.testingLossChartDisplaySettings=D(E({},Ut),{yAxisMinimumValue:0,yAxisTickInterval:2,chartDataStructure:H.MUlTI_PHASE_X_AXIS,xAxisDataPointsCount:Le,isYAxisDynamic:!0,dynamicYAxisGrowthOffset:2,datasetColorSettingsKey:B.YELLOW,realtimeUpdateMetric:U.TESTING_LOSS}),this.initialAccuracyChartData=[],this.accuracyPruningChartSettings={},this.accuracyChartDisplaySettings=D(E({},Ut),{chartDataStructure:H.MUlTI_PHASE_X_AXIS,xAxisDataPointsCount:tn,yAxisMaximumValue:100,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.GREEN,realtimeUpdateMetric:U.ACCURACY}),this.initialAccuracyTestingChartData=[],this.testingAccuracyChartDisplaySettings=D(E({},Ut),{yAxisTickInterval:20,chartDataStructure:H.MUlTI_PHASE_X_AXIS,xAxisDataPointsCount:Le,yAxisMaximumValue:100,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.YELLOW,realtimeUpdateMetric:U.TESTING_ACCURACY}),this.initialSparsityChartData=[],this.sparsityPruningChartSettings={},this.sparsityChartDisplaySettings=D(E({},Ut),{xAxisLabelPrefix:"Pruning",isDatasetLabelVisible:!1,yAxisTickInterval:100,chartDataStructure:H.SINGLE_PHASE_X_AXIS_SKIP_ONE,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.BLUE,useSteppedLines:!0,realtimeUpdateMetric:U.SPARSITY})}ngOnInit(){this.loadChartSettings(),this.loadLatestChartsData()}loadChartSettings(){this.chartsFacadeService.settings$.pipe(Z(1),Q(1)).subscribe(n=>{n&&(this.accuracyPruningChartSettings=n[rt.ACCURACY_PRUNING]||{},this.accuracyChartDisplaySettings=D(E({},this.accuracyChartDisplaySettings),{xAxisRepetitionCount:Number(this.accuracyPruningChartSettings.epochs)}),this.testingAccuracyChartDisplaySettings=D(E({},this.testingAccuracyChartDisplaySettings),{xAxisRepetitionCount:Number(this.accuracyPruningChartSettings.epochs)}),this.lossPruningChartSettings=D(E({},n[rt.LOSS_PRUNING]||{}),{testingSteps:Le}),this.lossChartDisplaySettings=D(E({},this.lossChartDisplaySettings),{xAxisRepetitionCount:Number(this.lossPruningChartSettings.epochs)}),this.testingLossChartDisplaySettings=D(E({},this.testingLossChartDisplaySettings),{xAxisRepetitionCount:Number(this.lossPruningChartSettings.epochs)}),this.sparsityPruningChartSettings=E({},n[rt.SPARSITY_PRUNING]||{}),this.sparsityChartDisplaySettings=D(E({},this.sparsityChartDisplaySettings),{xAxisDataPointsCount:this.sparsityPruningChartSettings.pruningTimes+1}),this.chartsFacadeService.dispatch(Ct.getCurrentPruningChartData()))}),this.chartsFacadeService.dispatch(Ct.getChartConfigurationSettings({chartTypes:[rt.ACCURACY_PRUNING,rt.LOSS_PRUNING,rt.SPARSITY_PRUNING]}))}loadLatestChartsData(){this.chartsFacadeService.pruningProgress.pipe(Z(1),st(n=>!!n&&n.length>0),Q(1)).subscribe(n=>{this.initialLossChartData=te(n,j.LOSS),this.initialLossTestingChartData=te(n,j.LOSS,!0),this.initialAccuracyChartData=te(n,j.ACCURACY),this.initialAccuracyTestingChartData=te(n,j.ACCURACY,!0),this.initialSparsityChartData=Pa(n)})}},pt.\u0275fac=function(a){return new(a||pt)(W($t))},pt.\u0275cmp=X({type:pt,selectors:[["ms-running-pruning-charts"]],decls:23,vars:10,consts:[[1,"charts"],[1,"ms-chart-display","accuracy-chart"],[1,"epochs"],[1,"paragraph-bold-p3-small-bold","p-2"],[3,"data","settings"],[1,"testing"],[1,"ms-chart-display","loss-chart"],[1,"ms-chart-display","sparsity-chart"]],template:function(a,c){a&1&&(w(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),L(4,"Accuracy Training"),v(),A(5,"ms-line-chart",4),v(),w(6,"div",5)(7,"p",3),L(8,"Accuracy Test"),v(),A(9,"ms-line-chart",4),v()(),w(10,"div",6)(11,"div",2)(12,"p",3),L(13,"Loss Training"),v(),A(14,"ms-line-chart",4),v(),w(15,"div",5)(16,"p",3),L(17,"Loss Test"),v(),A(18,"ms-line-chart",4),v()(),w(19,"div",7)(20,"p",3),L(21,"Sparsity Training"),v(),A(22,"ms-line-chart",4),v()()),a&2&&(I(5),R("data",c.initialAccuracyChartData)("settings",c.accuracyChartDisplaySettings),I(4),R("data",c.initialAccuracyTestingChartData)("settings",c.testingAccuracyChartDisplaySettings),I(5),R("data",c.initialLossChartData)("settings",c.lossChartDisplaySettings),I(4),R("data",c.initialLossTestingChartData)("settings",c.testingLossChartDisplaySettings),I(4),R("data",c.initialSparsityChartData)("settings",c.sparsityChartDisplaySettings))},dependencies:[wt],styles:[".charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%]{display:flex}.charts[_ngcontent-%COMP%] .ms-chart-display.sparsity-chart[_ngcontent-%COMP%]{flex-direction:column}.charts[_ngcontent-%COMP%] .ms-chart-display.sparsity-chart[_ngcontent-%COMP%], .charts[_ngcontent-%COMP%] .ms-chart-display.accuracy-chart[_ngcontent-%COMP%], .charts[_ngcontent-%COMP%] .ms-chart-display.loss-chart[_ngcontent-%COMP%]{background-color:var(--backgrounds-80);border-radius:20px;padding:10px;margin:10px 0}.charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%] .epochs[_ngcontent-%COMP%]{flex:0 0 70%}.charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%] .testing[_ngcontent-%COMP%]{border-left:1px solid var(--foregrounds-300);padding-left:10px;flex:0 0 30%}"]}),pt);Pe=ht([yt()],Pe);var Da=(()=>{let n=class n{constructor(c){this.chartsFacadeService=c,this.RealtimeUpdateMetric=U,this.initialLossChartData=[],this.initialLossTestingChartData=[],this.initialAccuracyChartData=[],this.initialAccuracyTestingChartData=[],this.lossChartDisplaySettings={yAxisMinimumValue:0,xAxisDataPointsCount:40,datasetLabelPrefix:"Reconstruction:",xAxisLabelPrefix:"Step",chartDataStructure:H.SINGLE_PHASE_X_AXIS,isXAxisVisible:!0,isXAxisDynamic:!0,isYAxisDynamic:!0,dynamicYAxisGrowthOffset:50,datasetColorSettingsKey:B.RED,realtimeUpdateMetric:U.LOSS},this.lossTestingChartDisplaySettings={yAxisMinimumValue:0,xAxisDataPointsCount:78,isDatasetLabelVisible:!1,xAxisLabelPrefix:"Step",chartDataStructure:H.SINGLE_PHASE_X_AXIS,isXAxisVisible:!0,isXAxisDynamic:!0,isYAxisDynamic:!0,datasetColorSettingsKey:B.YELLOW,dynamicYAxisGrowthRoundFactor:2,realtimeUpdateMetric:U.TESTING_LOSS},this.accuracyChartDisplaySettings={yAxisMaximumValue:100,yAxisMinimumValue:0,xAxisLabelPrefix:"Recon.",isDatasetLabelVisible:!1,isXAxisVisible:!0,xAxisInitialLabelValue:0,chartDataStructure:H.SINGLE_PHASE_X_AXIS,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.GREEN,isXAxisDynamic:!0,realtimeUpdateMetric:U.ACCURACY,enhanceSinglePhaseXAxisWebsocketEvent:!0},this.accuracyTestingChartDisplaySettings={yAxisMaximumValue:100,yAxisMinimumValue:0,xAxisDataPointsCount:78,isDatasetLabelVisible:!1,xAxisLabelPrefix:"Step",chartDataStructure:H.SINGLE_PHASE_X_AXIS,isXAxisVisible:!0,isXAxisDynamic:!0,zoomRangeLimits:{max:100},datasetColorSettingsKey:B.YELLOW,realtimeUpdateMetric:U.TESTING_ACCURACY}}ngOnInit(){this.loadChartSettings(),this.loadLatestChartsData()}loadChartSettings(){this.chartsFacadeService.settings$.pipe(Z(1),Q(1)).subscribe(c=>{c&&(this.accuracyChartDisplaySettings=D(E({},this.accuracyChartDisplaySettings),{xAxisDataPointsCount:c[rt.ACCURACY_QUANTIZATION]?.reconstructions}),this.chartsFacadeService.dispatch(Ct.getCurrentQuantizationChartData()))}),this.chartsFacadeService.dispatch(Ct.getChartConfigurationSettings({chartTypes:[rt.ACCURACY_QUANTIZATION]}))}loadLatestChartsData(){this.chartsFacadeService.quantizationProgress$.pipe(Z(1),st(c=>!!c),Q(1)).subscribe(c=>this.processChartData(c))}processChartData(c){this.initialLossChartData=sn(c.reconstructions,j.LOSS),this.initialAccuracyChartData=sn(c.reconstructions,j.ACCURACY),this.initialLossTestingChartData=on(c.testing,j.LOSS),this.initialAccuracyTestingChartData=on(c.testing,j.ACCURACY)}};n.\u0275fac=function(p){return new(p||n)(W($t))},n.\u0275cmp=X({type:n,selectors:[["ms-running-quantization-charts"]],decls:19,vars:8,consts:[[1,"charts"],[1,"ms-chart-display","accuracy-chart"],[1,"reconstructions"],[1,"paragraph-bold-p3-small-bold","p-2"],[3,"data","settings"],[1,"testing"],[1,"ms-chart-display","loss-chart"]],template:function(p,y){p&1&&(w(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),L(4,"Accuracy Training"),v(),A(5,"ms-line-chart",4),v(),w(6,"div",5)(7,"p",3),L(8,"Accuracy Test"),v(),A(9,"ms-line-chart",4),v()(),w(10,"div",6)(11,"div",2)(12,"p",3),L(13,"Loss Training"),v(),A(14,"ms-line-chart",4),v(),w(15,"div",5)(16,"p",3),L(17,"Loss Test"),v(),A(18,"ms-line-chart",4),v()()()),p&2&&(I(5),R("data",y.initialAccuracyChartData)("settings",y.accuracyChartDisplaySettings),I(4),R("data",y.initialAccuracyTestingChartData)("settings",y.accuracyTestingChartDisplaySettings),I(5),R("data",y.initialLossChartData)("settings",y.lossChartDisplaySettings),I(4),R("data",y.initialLossTestingChartData)("settings",y.lossTestingChartDisplaySettings))},dependencies:[wt],styles:[".charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%]{display:flex}.charts[_ngcontent-%COMP%] .ms-chart-display.accuracy-chart[_ngcontent-%COMP%], .charts[_ngcontent-%COMP%] .ms-chart-display.loss-chart[_ngcontent-%COMP%]{background-color:var(--backgrounds-80);border-radius:20px;padding:10px;margin:10px 0}.charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%] .reconstructions[_ngcontent-%COMP%]{flex:0 0 70%}.charts[_ngcontent-%COMP%] .ms-chart-display[_ngcontent-%COMP%] .testing[_ngcontent-%COMP%]{border-left:1px solid var(--foregrounds-300);padding-left:10px;margin-left:10px;flex:0 0 28.5%}"]});let s=n;return s})();var Ta=(()=>{let n=class n{constructor(){this.keyMap={forget_acc:"Forget Accuracy",retain_acc:"Retain Accuracy",test_acc:"Test Accuracy",val_acc:"Validation Accuracy"}}transform(c){if(!c)return c;let p=c.split("_");if(p.length<3)return c;let y=p.slice(0,-2).join("_"),Y=p[p.length-1];return`${this.keyMap[y]||y.split("_").map(V=>V.charAt(0).toUpperCase()+V.slice(1)).join(" ")} (Test #${Y})`}};n.\u0275fac=function(p){return new(p||n)},n.\u0275pipe=Yn({name:"readableStatisticsLabel",type:n,pure:!0});let s=n;return s})();var Yi=s=>({stats:s});function Gi(s,n){if(s&1&&(w(0,"div",4)(1,"span",5),L(2),ge(3,"readableStatisticsLabel"),v(),w(4,"span",6),L(5),v()()),s&2){let a=n.$implicit;I(2),pe("",fe(3,2,a.key),":"),I(3),aa(a.value)}}function Vi(s,n){if(s&1&&(w(0,"div",2),Qn(1,Gi,6,4,"div",4,Kn),v()),s&2){let a=dt();I(),Zn(a.stats)}}function Xi(s,n){s&1&&A(0,"ms-empty-state",3)}function qi(s,n){if(s&1&&at(0,Vi,3,0,"div",2)(1,Xi,1,0,"ms-empty-state",3),s&2){let a=n;it(a.stats!=null&&a.stats.length?0:1)}}var Ra=(()=>{let n=class n{constructor(c){this.statisticsFacadeService=c,this.statistics$=this.statisticsFacadeService.statistics$}ngOnInit(){this.statisticsFacadeService.dispatch(ya.getStatistics())}};n.\u0275fac=function(p){return new(p||n)(W(_a))},n.\u0275cmp=X({type:n,selectors:[["ms-running-statistics"]],decls:6,vars:7,consts:[[1,"ms-card"],[1,"heading-section-title"],[1,"key-value-container","dense"],["title","No statistics available."],[1,"key-value-pair"],[1,"key-value-key"],[1,"key-value-value"]],template:function(p,y){if(p&1&&(w(0,"mat-card",0)(1,"p",1),L(2,"Statistics"),v(),at(3,qi,2,1),ge(4,"async"),ge(5,"keyvalue"),v()),p&2){let Y;I(3),it((Y=ia(5,Yi,fe(5,3,fe(4,1,y.statistics$))))?3:-1,Y)}},dependencies:[Me,Se,ra,oa,Ta]});let s=n;return s})();function Ji(s,n){if(s&1){let a=Jn();w(0,"div",4)(1,"button",18),Rt("click",function(){Gn(a);let p=dt();return Vn(p.runStopScript())}),L(2," Stop "),v()()}}function tr(s,n){s&1&&(w(0,"div",16)(1,"div",13),L(2,"\u2014"),v(),w(3,"div",14),L(4,"Sparsity"),v()())}var gt,Ee=(gt=class{constructor(n,a){this.scriptFacadeService=n,this.chartToolsGlobalSignalsService=a,this.isScriptActive=!1,this.enableTooltips=!1,this.enableZoom=!1}ngOnInit(){this.listenToScriptStateChanges(),this.subscribeToChartToolsSignals()}listenToScriptStateChanges(){this.scriptFacadeService.dispatch(Zt.getCurrentOrLastActiveScriptDetails()),this.scriptFacadeService.scriptDetails$.pipe(Z(1),Q(1),st(n=>!we(n?.algKey))).subscribe(n=>{this.scriptDetails=n}),this.scriptFacadeService.scriptStatus$.pipe(Ot(this)).subscribe(n=>{this.isScriptActive=ye(n)})}toggleTooltip(n){this.chartToolsGlobalSignalsService.toggleTooltips=n.checked}toggleZoom(n){this.chartToolsGlobalSignalsService.toggleZoom=n.checked}get isSparsityVisible(){return this.scriptDetails?.type===At.PRUNING}subscribeToChartToolsSignals(){this.chartToolsGlobalSignalsService.toggleTooltips$.pipe(Ot(this)).subscribe(n=>{this.enableTooltips=n}),this.chartToolsGlobalSignalsService.toggleZoom$.pipe(Ot(this)).subscribe(n=>{this.enableZoom=n})}runStopScript(){this.scriptFacadeService.dispatch(Zt.stopScript())}},gt.\u0275fac=function(a){return new(a||gt)(W(kt),W(be))},gt.\u0275cmp=X({type:gt,selectors:[["ms-running-status-bar"]],decls:33,vars:7,consts:[[1,"training-status","mb-2"],[1,"status-bar"],[1,"runnning-title-container"],[1,"model-name","heading-sub-section-title"],[1,"ml-2"],[1,"mt-2","flex"],["color","primary",3,"ngModelChange","change","ngModel","disabled"],[1,"flex"],["color","primary",1,"ml-2",3,"ngModelChange","change","ngModel","disabled"],[1,"ml-1"],["fontSet","ms","fontIcon","icon-Info","matTooltip","Use mouse wheel or touchpad pinch to zoom in/out. Drag to select an area for specific zoom, or use touchpad gestures to navigate."],[1,"metrics"],[1,"metric","accuracy"],[1,"metric-value"],[1,"metric-name","paragraph-semibold-p2-large-emphasis"],[1,"metric","loss"],[1,"metric","sparsity"],[1,"metric","testing"],["mat-raised-button","","color","warn","matTooltip","Stop current process.",3,"click"]],template:function(a,c){a&1&&(w(0,"div",0)(1,"div",1)(2,"div")(3,"div",2)(4,"div",3),L(5),v(),at(6,Ji,3,0,"div",4),v(),w(7,"div",5)(8,"div")(9,"mat-slide-toggle",6),Ze("ngModelChange",function(y){return Qe(c.enableTooltips,y)||(c.enableTooltips=y),y}),Rt("change",function(y){return c.toggleTooltip(y)}),L(10," Enable tooltips "),v()(),w(11,"div",7)(12,"mat-slide-toggle",8),Ze("ngModelChange",function(y){return Qe(c.enableZoom,y)||(c.enableZoom=y),y}),Rt("change",function(y){return c.toggleZoom(y)}),L(13," Enable zoom "),v(),w(14,"div",9),A(15,"mat-icon",10),v()()()()(),w(16,"div",11)(17,"div",12)(18,"div",13),L(19,"\u2014"),v(),w(20,"div",14),L(21,"Accuracy"),v()(),w(22,"div",15)(23,"div",13),L(24,"\u2014"),v(),w(25,"div",14),L(26,"Loss"),v()(),at(27,tr,5,0,"div",16),w(28,"div",17)(29,"div",13),L(30,"\u2014"),v(),w(31,"div",14),L(32,"Test"),v()()()()),a&2&&(I(5),pe("Algorithm: ",(c.scriptDetails==null?null:c.scriptDetails.algKey)||"None",""),I(),it(c.isScriptActive?6:-1),I(3),Ke("ngModel",c.enableTooltips),R("disabled",!(c.scriptDetails!=null&&c.scriptDetails.algKey)),I(3),Ke("ngModel",c.enableZoom),R("disabled",!(c.scriptDetails!=null&&c.scriptDetails.algKey)),I(15),it(c.isSparsityVisible?27:-1))},dependencies:[_e,ve,ca,la,ga],styles:[".training-status[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.training-status[_ngcontent-%COMP%] .status-bar[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.training-status[_ngcontent-%COMP%] .runnning-title-container[_ngcontent-%COMP%]{display:flex;align-items:center}.training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%], .training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%] .metric[_ngcontent-%COMP%]{display:flex;gap:10px}.training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%] .metric[_ngcontent-%COMP%] .metric-value[_ngcontent-%COMP%]{font-size:1.25rem}.training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%] .metric.sparsity[_ngcontent-%COMP%] .metric-value[_ngcontent-%COMP%]{font-weight:700;color:var(--metrics-sparsity)}.training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%] .metric.accuracy[_ngcontent-%COMP%] .metric-value[_ngcontent-%COMP%]{font-weight:700;color:var(--metrics-accuracy)}.training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%] .metric.loss[_ngcontent-%COMP%] .metric-value[_ngcontent-%COMP%]{font-weight:700;color:var(--metrics-loss)}.training-status[_ngcontent-%COMP%] .metrics[_ngcontent-%COMP%] .metric.testing[_ngcontent-%COMP%] .metric-value[_ngcontent-%COMP%]{font-weight:700;color:var(--metrics-testing)}"]}),gt);Ee=ht([yt()],Ee);function nr(s,n){if(s&1&&A(0,"ms-running-animation",1),s&2){let a=dt();R("animationType",a.AnimationType.QUANTIZATION)}}function ar(s,n){if(s&1&&A(0,"ms-running-animation",1),s&2){let a=dt();R("animationType",a.AnimationType.PRUNING)}}function ir(s,n){if(s&1&&A(0,"ms-running-animation",1),s&2){let a=dt();R("animationType",a.AnimationType.PRUNING)}}function rr(s,n){s&1&&A(0,"ms-running-quantization-charts")}function or(s,n){s&1&&A(0,"ms-running-pruning-charts")}function sr(s,n){s&1&&A(0,"ms-running-machine-unlearning-charts")}function cr(s,n){if(s&1&&at(0,rr,1,0,"ms-running-quantization-charts")(1,or,1,0,"ms-running-pruning-charts")(2,sr,1,0,"ms-running-machine-unlearning-charts"),s&2){let a,c=dt();it((a=c.scriptDetails==null?null:c.scriptDetails.type)===c.AlgorithmType.QUANTIZATION?0:a===c.AlgorithmType.PRUNING?1:a===c.AlgorithmType.MACHINE_UNLEARNING?2:-1)}}function lr(s,n){s&1&&A(0,"ms-empty-state",3)}function hr(s,n){s&1&&(w(0,"div",4),A(1,"ms-running-statistics"),v())}var ft,xe=(ft=class{constructor(n,a){this.navigationService=n,this.scriptFacadeService=a,this.AlgorithmType=At,this.AnimationType=Wt}ngOnInit(){this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.dispatch(Zt.getCurrentOrLastActiveScriptDetails()),this.scriptFacadeService.scriptDetails$.pipe(Z(1),Q(1),st(n=>!we(n?.algKey))).subscribe(n=>{this.scriptDetails=n})}get isChartVisible(){return!Ce(this.scriptDetails?.algKey)&&this.scriptDetails?.type!==At.TRAIN&&this.scriptDetails?.type!==At.AWQ&&this.scriptDetails?.type!==At.MULTIFLOW}},ft.\u0275fac=function(a){return new(a||ft)(W(va),W(kt))},ft.\u0275cmp=X({type:ft,selectors:[["ms-running"]],decls:14,vars:3,consts:[[1,"heading-primary-title","title"],[3,"animationType"],[1,"ms-card","running-prunning"],["title","No Chart Data Available","message","Please run the appropriate script to generate chart data."],[1,"mt-2"],[1,"mt-4"],["mat-stroked-button","","color","primary",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"]],template:function(a,c){if(a&1&&(w(0,"p",0),L(1,"Running"),v(),at(2,nr,1,1,"ms-running-animation",1)(3,ar,1,1,"ms-running-animation",1)(4,ir,1,1,"ms-running-animation",1),w(5,"mat-card",2),A(6,"ms-running-status-bar"),at(7,cr,3,1)(8,lr,1,0,"ms-empty-state",3),v(),at(9,hr,2,0,"div",4),w(10,"div",5)(11,"button",6),Rt("click",function(){return c.navigationService.goToPreviousPage()}),A(12,"mat-icon",7),L(13," Go back "),v()()),a&2){let p;I(2),it((p=c.scriptDetails==null?null:c.scriptDetails.type)===c.AlgorithmType.QUANTIZATION?2:p===c.AlgorithmType.PRUNING?3:p===c.AlgorithmType.MACHINE_UNLEARNING?4:-1),I(5),it(c.isChartVisible?7:8),I(2),it((c.scriptDetails==null?null:c.scriptDetails.type)===c.AlgorithmType.MACHINE_UNLEARNING?9:-1)}},dependencies:[Me,_e,ve,Se,Pe,Da,Fa,Jt,Ra,Ee]}),ft);xe=ht([yt()],xe);var dr=[{path:"",component:xe}],Oa=(()=>{let n=class n{};n.\u0275fac=function(p){return new(p||n)},n.\u0275mod=me({type:n}),n.\u0275inj=ue({imports:[Je.forChild(dr),Je]});let s=n;return s})();var is=(()=>{let n=class n{};n.\u0275fac=function(p){return new(p||n)},n.\u0275mod=me({type:n}),n.\u0275inj=ue({providers:[be],imports:[sa,Oa,wt,ma,ua,pa,ha,da,fa]});let s=n;return s})();export{is as RunningModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-UY4OZF5K.js b/frontend/server/modelsmith-build/browser/chunk-GN6MWEDH.js similarity index 86% rename from frontend/server/modelsmith-build/browser/chunk-UY4OZF5K.js rename to frontend/server/modelsmith-build/browser/chunk-GN6MWEDH.js index d1ec14a1..e927f76d 100644 --- a/frontend/server/modelsmith-build/browser/chunk-UY4OZF5K.js +++ b/frontend/server/modelsmith-build/browser/chunk-GN6MWEDH.js @@ -1,2 +1,2 @@ -import{a as te}from"./chunk-ABUQ4EIP.js";import{a as se,b as le,c as me}from"./chunk-I7VABAG6.js";import{a as J,b as $}from"./chunk-JG6SCBOL.js";import{c as K,f as W,g as X}from"./chunk-XX6ZYDLH.js";import{a as Y,c as Z}from"./chunk-UWC6A2K5.js";import{n as ee}from"./chunk-MCE6M2DX.js";import{a as E,b as v}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import{a as Q,d as N,h as P,j as q,k as G}from"./chunk-BTHDGCD5.js";import{$a as o,Ab as H,D as C,Da as f,Ea as u,J as F,Pa as M,Ra as w,Xa as S,Yd as k,Zb as A,ab as n,bb as s,be as B,e as h,fb as g,fe as I,ga as y,ib as c,ie as O,kb as b,oa as l,p as T,pa as m,pb as _,pe as V,qb as D,qe as z,rb as x,tb as d,te as R,ue as j,we as L,xe as U}from"./chunk-MDAOMI2L.js";var re=h(se()),oe=h(le()),ne=h(me());var ce=["terminalHistory"];function de(p,e){if(p&1){let t=g();o(0,"mat-icon",16),c("click",function(){l(t);let a=b();return m(a.disposeSearch())}),d(1," close "),n()}}function pe(p,e){p&1&&(o(0,"mat-icon",8),d(1,"search"),n())}var i,ie=(i=class{constructor(e,t){this.dialogConfig=e,this.terminalFacadeService=t,this.searchFormControl=new I(""),this.terminal=new ne.Terminal({theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000"},cursorBlink:!1,disableStdin:!0,allowProposedApi:!0}),this.fitAddon=new re.FitAddon,this.searchAddon=new oe.SearchAddon}ngOnInit(){this.initializeTerminal(),this.loadData(),this.listenToSearchFormControlChanges(),W()}ngAfterViewInit(){this.adjustHeightToParent(),this.fitTerminalToContainer()}loadData(){this.terminalFacadeService.dispatch(te.getTerminalHistory()),this.terminalFacadeService.terminalHistory.pipe(v(this)).subscribe(e=>{e&&this.writeToTerminal(e)})}initializeTerminal(){this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalHistoryDiv.nativeElement),this.setupResizeObserver()}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(v(this),F(300),C(e=>!K(e))).subscribe(e=>{this.search(e)})}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}disposeSearch(){this.searchAddon.clearDecorations(),this.searchFormControl.setValue("")}writeToTerminal(e){let t=this.filterClearCommand(e);this.terminal.write(t)}filterClearCommand(e){let t=/\x1B\[H\x1B\[J/g;return e.replace(t,"")}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>this.fitTerminalToContainer()),this.resizeObserver.observe(this.terminalHistoryDiv.nativeElement)}fitTerminalToContainer(){this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalHistoryDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){let t;t=e.offsetHeight-280,this.terminalHistoryDiv.nativeElement.style.height=`${t}px`}}scrollToTopTerminal(){this.terminal.scrollToTop()}scrollToBottomTerminal(){this.terminal.scrollToBottom()}ngOnDestroy(){this.resizeObserver?.disconnect(),X()}},i.\u0275fac=function(t){return new(t||i)(u(Y),u(ee))},i.\u0275cmp=y({type:i,selectors:[["ms-terminal-messages-history-dialog"]],viewQuery:function(t,r){if(t&1&&_(ce,7),t&2){let a;D(a=x())&&(r.terminalHistoryDiv=a.first)}},standalone:!0,features:[H],decls:19,vars:2,consts:[["terminalHistory",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"left"],[1,"form-field-container"],["subscriptSizing","dynamic"],["matInput","","placeholder","Search terminal messages",3,"formControl"],["matSuffix","",1,"mat-error","scale-on-hover"],["matSuffix","",1,"mat-primary"],[1,"right"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],[1,"terminal"],[1,"terminal-wrapper"],["matSuffix","",1,"mat-error","scale-on-hover",3,"click"]],template:function(t,r){if(t&1){let a=g();o(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"mat-label"),d(6,"Search"),n(),o(7,"mat-form-field",5),s(8,"input",6),M(9,de,2,0,"mat-icon",7)(10,pe,2,0,"mat-icon",8),n()()(),o(11,"div",9)(12,"button",10),c("click",function(){return l(a),m(r.scrollToTopTerminal())}),s(13,"mat-icon",11),n(),o(14,"button",12),c("click",function(){return l(a),m(r.scrollToBottomTerminal())}),s(15,"mat-icon",13),n()()(),o(16,"div",14),s(17,"div",15,0),n()()()}t&2&&(f(8),w("formControl",r.searchFormControl),f(),S(r.searchFormControl.value?9:10))},dependencies:[A,Z,U,L,j,R,V,k,B,z,O,G,q,P,Q,N,$,J],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .xterm-viewport{overflow-y:auto!important}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between;margin-bottom:10px}.ms-terminal-wrapper .top-terminal-section .right{display:flex;align-items:flex-end} +import{a as te}from"./chunk-H3SVRTFN.js";import{a as se,b as le,c as me}from"./chunk-HTQHSSGZ.js";import{a as J,b as $}from"./chunk-CXMHZ5XC.js";import{c as K,f as W,g as X}from"./chunk-XX6ZYDLH.js";import{a as Y,c as Z}from"./chunk-5MCZHTBZ.js";import{n as ee}from"./chunk-XSOJ6DN4.js";import{a as E,b as v}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import{a as Q,d as N,h as P,j as q,k as G}from"./chunk-LCKMIOUI.js";import{$a as o,Bb as H,D as C,Da as f,Ea as u,J as F,Pa as M,Ra as w,Xa as S,Zd as k,_b as A,ab as n,bb as s,ce as B,e as h,fb as g,ga as y,ge as I,ib as c,je as O,kb as b,oa as l,p as T,pa as m,pb as _,qb as D,qe as V,rb as x,re as z,tb as d,ue as R,ve as j,xe as L,ye as U}from"./chunk-MVLCGSW5.js";var re=h(se()),oe=h(le()),ne=h(me());var ce=["terminalHistory"];function de(p,e){if(p&1){let t=g();o(0,"mat-icon",16),c("click",function(){l(t);let a=b();return m(a.disposeSearch())}),d(1," close "),n()}}function pe(p,e){p&1&&(o(0,"mat-icon",8),d(1,"search"),n())}var i,ie=(i=class{constructor(e,t){this.dialogConfig=e,this.terminalFacadeService=t,this.searchFormControl=new I(""),this.terminal=new ne.Terminal({theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000"},cursorBlink:!1,disableStdin:!0,allowProposedApi:!0}),this.fitAddon=new re.FitAddon,this.searchAddon=new oe.SearchAddon}ngOnInit(){this.initializeTerminal(),this.loadData(),this.listenToSearchFormControlChanges(),W()}ngAfterViewInit(){this.adjustHeightToParent(),this.fitTerminalToContainer()}loadData(){this.terminalFacadeService.dispatch(te.getTerminalHistory()),this.terminalFacadeService.terminalHistory.pipe(v(this)).subscribe(e=>{e&&this.writeToTerminal(e)})}initializeTerminal(){this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalHistoryDiv.nativeElement),this.setupResizeObserver()}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(v(this),F(300),C(e=>!K(e))).subscribe(e=>{this.search(e)})}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}disposeSearch(){this.searchAddon.clearDecorations(),this.searchFormControl.setValue("")}writeToTerminal(e){let t=this.filterClearCommand(e);this.terminal.write(t)}filterClearCommand(e){let t=/\x1B\[H\x1B\[J/g;return e.replace(t,"")}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>this.fitTerminalToContainer()),this.resizeObserver.observe(this.terminalHistoryDiv.nativeElement)}fitTerminalToContainer(){this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalHistoryDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){let t;t=e.offsetHeight-280,this.terminalHistoryDiv.nativeElement.style.height=`${t}px`}}scrollToTopTerminal(){this.terminal.scrollToTop()}scrollToBottomTerminal(){this.terminal.scrollToBottom()}ngOnDestroy(){this.resizeObserver?.disconnect(),X()}},i.\u0275fac=function(t){return new(t||i)(u(Y),u(ee))},i.\u0275cmp=y({type:i,selectors:[["ms-terminal-messages-history-dialog"]],viewQuery:function(t,r){if(t&1&&_(ce,7),t&2){let a;D(a=x())&&(r.terminalHistoryDiv=a.first)}},standalone:!0,features:[H],decls:19,vars:2,consts:[["terminalHistory",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"left"],[1,"form-field-container"],["subscriptSizing","dynamic"],["matInput","","placeholder","Search terminal messages",3,"formControl"],["matSuffix","",1,"mat-error","scale-on-hover"],["matSuffix","",1,"mat-primary"],[1,"right"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],[1,"terminal"],[1,"terminal-wrapper"],["matSuffix","",1,"mat-error","scale-on-hover",3,"click"]],template:function(t,r){if(t&1){let a=g();o(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"mat-label"),d(6,"Search"),n(),o(7,"mat-form-field",5),s(8,"input",6),M(9,de,2,0,"mat-icon",7)(10,pe,2,0,"mat-icon",8),n()()(),o(11,"div",9)(12,"button",10),c("click",function(){return l(a),m(r.scrollToTopTerminal())}),s(13,"mat-icon",11),n(),o(14,"button",12),c("click",function(){return l(a),m(r.scrollToBottomTerminal())}),s(15,"mat-icon",13),n()()(),o(16,"div",14),s(17,"div",15,0),n()()()}t&2&&(f(8),w("formControl",r.searchFormControl),f(),S(r.searchFormControl.value?9:10))},dependencies:[A,Z,U,L,j,R,V,k,B,z,O,G,q,P,Q,N,$,J],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .xterm-viewport{overflow-y:auto!important}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between;margin-bottom:10px}.ms-terminal-wrapper .top-terminal-section .right{display:flex;align-items:flex-end} `],encapsulation:2}),i);ie=T([E()],ie);export{ie as MsTerminalMessagesHistoryDialogComponent}; diff --git a/frontend/server/modelsmith-build/browser/chunk-R5LGWJKV.js b/frontend/server/modelsmith-build/browser/chunk-GULIW6WA.js similarity index 93% rename from frontend/server/modelsmith-build/browser/chunk-R5LGWJKV.js rename to frontend/server/modelsmith-build/browser/chunk-GULIW6WA.js index 2c81aef2..6adc6cb0 100644 --- a/frontend/server/modelsmith-build/browser/chunk-R5LGWJKV.js +++ b/frontend/server/modelsmith-build/browser/chunk-GULIW6WA.js @@ -1 +1 @@ -import{a as g}from"./chunk-C4NPICWQ.js";import{a as r}from"./chunk-MCE6M2DX.js";import{Ae as h,Be as m,Ce as L,F as l,R as o,Wc as p,Xc as w,Yc as n,Z as T,Zc as D,_c as u,a as c,b as s,ba as O,s as a,w as f}from"./chunk-MDAOMI2L.js";var C=class extends h{constructor(){super("current-or-last-active-script-details",void 0,void 0,!1)}};var x=class extends h{constructor(){super("script-status",void 0,void 0,!1)}};var d=class extends m{constructor(e){super("execute-command",{command:e},!1)}};var v=class extends m{constructor(e){super("run-script",e,!1)}};var F=class extends m{constructor(){super("stop-script",{},!1)}};var Y=(()=>{let e=class e{constructor(A,$){this.apiClient=A,this.actions$=$,this.callScript$=n(()=>this.actions$.pipe(u(r.callScript),o(({configs:i})=>this.apiClient.serviceCall(new v(i)).pipe(o(()=>[r.callScriptSuccess(),r.fetchScriptStatus()]),l(S=>a(r.callScriptFailure({error:S}))))))),this.fetchScriptStatus$=n(()=>this.actions$.pipe(u(r.fetchScriptStatus),o(()=>this.apiClient.serviceCall(new x).pipe(f(i=>{let{status:S}=i;return r.fetchScriptStatusSuccess({status:S})}),l(i=>a(r.fetchScriptStatusFailure({error:i}))))))),this.getCurrentOrLastActiveScriptDetails$=n(()=>this.actions$.pipe(u(r.getCurrentOrLastActiveScriptDetails),o(()=>this.apiClient.serviceCall(new C).pipe(f(i=>r.getCurrentOrLastActiveScriptDetailsSuccess({scriptDetails:i})),l(i=>a(r.fetchScriptStatusFailure({error:i}))))))),this.stopScript$=n(()=>this.actions$.pipe(u(r.stopScript),o(()=>this.apiClient.serviceCall(new F).pipe(f(()=>r.stopScriptSuccess()),l(i=>a(r.stopScriptFailure({error:i}))))))),this.executeCommand$=n(()=>this.actions$.pipe(u(r.executeCommand),o(({command:i})=>this.apiClient.serviceCall(new d(i)).pipe(f(()=>r.executeCommandSuccess()),l(S=>a(r.executeCommandFailure({error:S})))))))}};e.\u0275fac=function($){return new($||e)(O(L),O(D))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})();var j={scriptStatus:g.NOT_RUNNING,scriptDetails:{},error:""},et=w(j,p(r.callScriptSuccess,t=>s(c({},t),{error:null})),p(r.callScriptFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.getCurrentOrLastActiveScriptDetailsSuccess,(t,{scriptDetails:e})=>s(c({},t),{scriptDetails:e,error:null})),p(r.getCurrentOrLastActiveScriptDetailsFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.fetchScriptStatusSuccess,(t,{status:e})=>s(c({},t),{scriptStatus:e,error:null})),p(r.fetchScriptStatusFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.updateScriptStatus,(t,{status:e})=>s(c({},t),{scriptStatus:e,error:null})),p(r.stopScript,t=>s(c({},t),{error:null})),p(r.stopScriptSuccess,t=>s(c({},t),{error:null})),p(r.stopScriptFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.executeCommandSuccess,t=>s(c({},t),{error:null})),p(r.executeCommandFailure,(t,{error:e})=>s(c({},t),{error:e})));export{Y as a,et as b}; +import{a as g}from"./chunk-C4NPICWQ.js";import{a as r}from"./chunk-XSOJ6DN4.js";import{$c as u,Be as h,Ce as m,De as L,F as l,R as o,Xc as p,Yc as w,Z as T,Zc as n,_c as D,a as c,b as s,ba as O,s as a,w as f}from"./chunk-MVLCGSW5.js";var C=class extends h{constructor(){super("current-or-last-active-script-details",void 0,void 0,!1)}};var x=class extends h{constructor(){super("script-status",void 0,void 0,!1)}};var d=class extends m{constructor(e){super("execute-command",{command:e},!1)}};var v=class extends m{constructor(e){super("run-script",e,!1)}};var F=class extends m{constructor(){super("stop-script",{},!1)}};var Y=(()=>{let e=class e{constructor(A,$){this.apiClient=A,this.actions$=$,this.callScript$=n(()=>this.actions$.pipe(u(r.callScript),o(({configs:i})=>this.apiClient.serviceCall(new v(i)).pipe(o(()=>[r.callScriptSuccess(),r.fetchScriptStatus()]),l(S=>a(r.callScriptFailure({error:S}))))))),this.fetchScriptStatus$=n(()=>this.actions$.pipe(u(r.fetchScriptStatus),o(()=>this.apiClient.serviceCall(new x).pipe(f(i=>{let{status:S}=i;return r.fetchScriptStatusSuccess({status:S})}),l(i=>a(r.fetchScriptStatusFailure({error:i}))))))),this.getCurrentOrLastActiveScriptDetails$=n(()=>this.actions$.pipe(u(r.getCurrentOrLastActiveScriptDetails),o(()=>this.apiClient.serviceCall(new C).pipe(f(i=>r.getCurrentOrLastActiveScriptDetailsSuccess({scriptDetails:i})),l(i=>a(r.fetchScriptStatusFailure({error:i}))))))),this.stopScript$=n(()=>this.actions$.pipe(u(r.stopScript),o(()=>this.apiClient.serviceCall(new F).pipe(f(()=>r.stopScriptSuccess()),l(i=>a(r.stopScriptFailure({error:i}))))))),this.executeCommand$=n(()=>this.actions$.pipe(u(r.executeCommand),o(({command:i})=>this.apiClient.serviceCall(new d(i)).pipe(f(()=>r.executeCommandSuccess()),l(S=>a(r.executeCommandFailure({error:S})))))))}};e.\u0275fac=function($){return new($||e)(O(L),O(D))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})();var j={scriptStatus:g.NOT_RUNNING,scriptDetails:{},error:""},et=w(j,p(r.callScriptSuccess,t=>s(c({},t),{error:null})),p(r.callScriptFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.getCurrentOrLastActiveScriptDetailsSuccess,(t,{scriptDetails:e})=>s(c({},t),{scriptDetails:e,error:null})),p(r.getCurrentOrLastActiveScriptDetailsFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.fetchScriptStatusSuccess,(t,{status:e})=>s(c({},t),{scriptStatus:e,error:null})),p(r.fetchScriptStatusFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.updateScriptStatus,(t,{status:e})=>s(c({},t),{scriptStatus:e,error:null})),p(r.stopScript,t=>s(c({},t),{error:null})),p(r.stopScriptSuccess,t=>s(c({},t),{error:null})),p(r.stopScriptFailure,(t,{error:e})=>s(c({},t),{error:e})),p(r.executeCommandSuccess,t=>s(c({},t),{error:null})),p(r.executeCommandFailure,(t,{error:e})=>s(c({},t),{error:e})));export{Y as a,et as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-ABUQ4EIP.js b/frontend/server/modelsmith-build/browser/chunk-H3SVRTFN.js similarity index 82% rename from frontend/server/modelsmith-build/browser/chunk-ABUQ4EIP.js rename to frontend/server/modelsmith-build/browser/chunk-H3SVRTFN.js index b85338aa..37599ed3 100644 --- a/frontend/server/modelsmith-build/browser/chunk-ABUQ4EIP.js +++ b/frontend/server/modelsmith-build/browser/chunk-H3SVRTFN.js @@ -1 +1 @@ -import{Ae as A,Ce as G,F as y,Hc as m,Ic as H,Jc as d,R as T,Wc as p,Xc as h,Yc as g,Z as x,Zc as C,_c as j,a as s,b as a,ba as c,s as f,w as u}from"./chunk-MDAOMI2L.js";var e=H({source:"[Core -> Terminal]",events:{"Get Terminal History":d(),"Get Terminal History Success":m(),"Get Terminal History Failure":m()}});var o=class extends A{constructor(){super("terminal-history",void 0,void 0,!1)}};var P=(()=>{let r=class r{constructor(l,i){this.apiClient=l,this.actions$=i,this.getTerminalHistory=g(()=>this.actions$.pipe(j(e.getTerminalHistory),T(()=>this.apiClient.serviceCall(new o).pipe(u(n=>{let S=atob(n.history);return e.getTerminalHistorySuccess({terminalHistory:S})}),y(n=>f(e.getTerminalHistoryFailure({error:n})))))))}};r.\u0275fac=function(i){return new(i||r)(c(G),c(C))},r.\u0275prov=x({token:r,factory:r.\u0275fac});let t=r;return t})();var v={terminalHistory:"",error:null},D=h(v,p(e.getTerminalHistorySuccess,(t,{terminalHistory:r})=>a(s({},t),{terminalHistory:r,error:null})),p(e.getTerminalHistoryFailure,(t,{error:r})=>a(s({},t),{error:r})));export{e as a,P as b,D as c}; +import{$c as j,Be as A,De as G,F as y,Ic as m,Jc as H,Kc as d,R as T,Xc as p,Yc as h,Z as x,Zc as g,_c as C,a as s,b as a,ba as c,s as f,w as u}from"./chunk-MVLCGSW5.js";var e=H({source:"[Core -> Terminal]",events:{"Get Terminal History":d(),"Get Terminal History Success":m(),"Get Terminal History Failure":m()}});var o=class extends A{constructor(){super("terminal-history",void 0,void 0,!1)}};var P=(()=>{let r=class r{constructor(l,i){this.apiClient=l,this.actions$=i,this.getTerminalHistory=g(()=>this.actions$.pipe(j(e.getTerminalHistory),T(()=>this.apiClient.serviceCall(new o).pipe(u(n=>{let S=atob(n.history);return e.getTerminalHistorySuccess({terminalHistory:S})}),y(n=>f(e.getTerminalHistoryFailure({error:n})))))))}};r.\u0275fac=function(i){return new(i||r)(c(G),c(C))},r.\u0275prov=x({token:r,factory:r.\u0275fac});let t=r;return t})();var v={terminalHistory:"",error:null},D=h(v,p(e.getTerminalHistorySuccess,(t,{terminalHistory:r})=>a(s({},t),{terminalHistory:r,error:null})),p(e.getTerminalHistoryFailure,(t,{error:r})=>a(s({},t),{error:r})));export{e as a,P as b,D as c}; diff --git a/frontend/server/modelsmith-build/browser/chunk-HP7ZL2CH.js b/frontend/server/modelsmith-build/browser/chunk-HP7ZL2CH.js deleted file mode 100644 index ff79d268..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-HP7ZL2CH.js +++ /dev/null @@ -1 +0,0 @@ -import{a as O}from"./chunk-A7TE5TNF.js";import{a as b}from"./chunk-4LBYIHBY.js";import"./chunk-UJJEBS4W.js";import"./chunk-NGJ5CWHR.js";import"./chunk-D7DPXC3A.js";import"./chunk-R5LGWJKV.js";import{a as Ot,b as bt}from"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import"./chunk-FELGKJRN.js";import{a as _,b as Et,c as Rt,d as x}from"./chunk-WSCYSYQI.js";import{a as Nt,b as _t}from"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import{b as g,c as d,g as Ft,l as Pt}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import{b as z,c as Mt}from"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as P,b as N,c as It,j as Gt}from"./chunk-MCE6M2DX.js";import{a as T,b as f}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import{h as At,i as Tt}from"./chunk-BTHDGCD5.js";import{$a as a,$d as u,D as C,Da as n,Ea as c,H as B,I as Z,K as W,P as X,Qd as lt,Ra as m,Rd as pt,Za as D,Zb as at,_ as v,_a as k,_d as ct,a as R,ab as s,ad as st,b as L,bb as U,be as ht,ca as J,cb as Y,ce as M,db as tt,de as F,fb as et,fe as dt,ga as y,ha as A,ib as K,je as ft,ke as ut,lc as mt,me as gt,oa as w,p as S,pa as j,pb as it,pc as Q,pe as St,qb as rt,qe as Ct,rb as ot,re as vt,tb as h,ue as yt,vb as V,w as q,zb as nt}from"./chunk-MDAOMI2L.js";var Lt=(r,t)=>t.key;function Ut(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}function Kt(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}var l,I=(l=class{get parentFormGroup(){return this.controlContainer.control}get algorithmFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmFormControl(){return this.algorithmFormGroup?.get(this.ALGORITHM_CONTROL_NAME)}constructor(t,e){this.controlContainer=t,this.scriptFacadeService=e,this.controlKey="",this.pruningAlgorithmsList=Et,this.quantAlgorithmsList=Rt,this.ALGORITHM_CONTROL_NAME="alg"}ngOnInit(){this.initForm(),this.listenToScriptStateChanges(),this.loadInitialData()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(X(1),Z(1),C(t=>!Mt(t?.algKey))).subscribe(t=>{let e=t.type,o=e===d.PRUNING||e===d.QUANTIZATION?t.algKey:x;this.algorithmFormControl?.setValue(o)}),this.scriptFacadeService.dispatch(P.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new F({[this.ALGORITHM_CONTROL_NAME]:new dt(x,ct.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{g(t)?this.algorithmFormGroup.disable():this.algorithmFormGroup.enable()})}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},l.\u0275fac=function(e){return new(e||l)(c(u),c(N))},l.\u0275cmp=y({type:l,selectors:[["ms-panel-algorithm"]],inputs:{controlKey:"controlKey"},features:[nt([],[{provide:u,useFactory:()=>J(u,{skipSelf:!0})}])],decls:12,vars:2,consts:[[1,"ms-card","algorithm-card"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],["label","Pruning"],[3,"value"],["label","Quantization"]],template:function(e,i){e&1&&(a(0,"mat-card",0)(1,"p",1),h(2,"Algorithm"),s(),a(3,"div",2)(4,"mat-form-field",3)(5,"mat-select",4)(6,"mat-optgroup",5),D(7,Ut,2,2,"mat-option",6,Lt),s(),a(9,"mat-optgroup",7),D(10,Kt,2,2,"mat-option",6,Lt),s()()()()()),e&2&&(n(3),m("formGroupName",i.controlKey),n(2),m("formControlName",i.ALGORITHM_CONTROL_NAME),n(2),k(i.pruningAlgorithmsList),n(3),k(i.quantAlgorithmsList))},dependencies:[Nt,At,Ot,pt,lt,ht,M,gt,ut]}),l);I=S([T()],I);var $="custommodel";function wt(r){let t=r.replace(/[^a-zA-Z0-9_]/g,"_");return/^[0-9_]/.test(t)&&(t="file_"+t),/.py$/.test(t)||(t+=".py"),t}var Qt=["panelParameters"],p,G=(p=class{constructor(t,e,i,o){this.scriptFacadeService=t,this.fileService=e,this.snackbarService=i,this.router=o,this.form=new F({}),this.AlgorithmType=d,this.isScriptActive=!1,this.isQuantAlgorithmSelected=!1,this.selectedAlgorithm=Ft.IMP,this.selectedAlgorithmType=d.PRUNING}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(B(50),q(()=>{let t=this.form.getRawValue();return t.algorithm&&t.algorithm.alg}),W(),C(t=>!z(t)),f(this)).subscribe(t=>{this.selectedAlgorithm=t,this.selectedAlgorithmType=Pt(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{this.isScriptActive=g(t),g(t)?this.form.disable():this.form.enable()})}submit(){if(z(this.selectedAlgorithm)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{algorithm:t,model:e}=this.form.getRawValue(),{model:i}=e;if(i===$&&!this.fileService.isFileLoaded){this.snackbarService.showError("Please select a predefined model or upload a custom file.");return}let o=i===$?wt(this.fileService?.file.name):i,E=L(R({},t),{params:L(R({},this.panelParametersComponent.parametersFormatted),{arch:o})});this.scriptFacadeService.dispatch(P.callScript({configs:E}))}goToChartPage(){this.router.navigate([st.RUNNING.ROOT])}},p.\u0275fac=function(e){return new(e||p)(c(N),c(Gt),c(It),c(mt))},p.\u0275cmp=y({type:p,selectors:[["ms-machine-unlearning"]],viewQuery:function(e,i){if(e&1&&it(Qt,5),e&2){let o;rt(o=ot())&&(i.panelParametersComponent=o.first)}},decls:17,vars:5,consts:[["panelAlgorithm",""],["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","algorithm"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(e,i){if(e&1){let o=et();a(0,"p",2),h(1,"Model Compression"),s(),a(2,"div",3)(3,"div",4),Y(4,5),U(5,"ms-panel-algorithm",6,0)(7,"ms-panel-model",7)(8,"ms-panel-parameters",8,1),tt(),a(10,"div")(11,"button",9),K("click",function(){return w(o),j(i.submit())}),h(12," Run "),s(),a(13,"button",10),K("click",function(){return w(o),j(i.goToChartPage())}),h(14,"View Chart"),s()()(),a(15,"div",11),U(16,"ms-terminal-xterm-with-toolbar"),s()()}e&2&&(n(2),m("formGroup",i.form),n(2),m("formGroup",i.form),n(3),m("algorithmType",i.selectedAlgorithmType),n(),m("algorithm",i.selectedAlgorithm),n(3),m("disabled",i.isScriptActive||i.form.invalid))},dependencies:[_,O,b,M,ft,vt,I],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),p);G=S([T()],G);var zt=[{path:"",component:G}],jt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[Q.forChild(zt),Q]});let r=t;return r})();var He=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[at,jt,_,O,b,_t,Tt,bt,St,Ct,yt]});let r=t;return r})();export{He as ModelCompressionModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-HRKLZVAK.js b/frontend/server/modelsmith-build/browser/chunk-HRKLZVAK.js new file mode 100644 index 00000000..8a845dd0 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-HRKLZVAK.js @@ -0,0 +1 @@ +import{a as Z,b as tt,c as et,d as it,e as nt,f as ot,g as rt}from"./chunk-V4WFZ5A5.js";import"./chunk-PAR2WLRN.js";import{a as h}from"./chunk-CFM5DRTM.js";import{a as g,c as H}from"./chunk-ZQAGOALV.js";import"./chunk-NBUJA3ZB.js";import"./chunk-CKI3LALG.js";import"./chunk-GULIW6WA.js";import{b as Y}from"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import{a as v}from"./chunk-25FQYPXL.js";import{b as J}from"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import{b as W,f as M}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as $,b as X}from"./chunk-XSOJ6DN4.js";import{a as B,b as j}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as a,Da as s,Ea as S,Fb as Q,Gb as O,Pa as u,Ra as c,Xa as b,Xb as k,_ as f,_b as G,ab as o,bb as d,de as U,fb as P,ga as w,ha as _,ib as E,kb as l,ke as V,oa as T,p as L,pa as x,pb as D,pe as z,qb as I,qc as F,qe as N,rb as y,re as R,se as q,tb as p,ve as K,zb as A}from"./chunk-MVLCGSW5.js";var st=["panelParametersCalibrationSet"],pt=["panelParametersQuantSample"];function lt(i,t){i&1&&(a(0,"div",11),d(1,"ms-spining-indicator"),o())}function ct(i,t){if(i&1&&(a(0,"div",9)(1,"div",10),p(2,"Step 1: Calibration Data"),o(),A(3),Q(4,"async"),u(5,lt,2,0,"div",11),o()),i&2){let e=l(),n=O(4,1,e.pageRunningScriptSpiningIndicatorService.currentRunningPageInfo$);s(5),b((n==null?null:n.algKey)===e.DiffusionModelAlgorithmsEnum.PTQ4DIT_GET_CALIBRATION_SET?5:-1)}}function dt(i,t){if(i&1){let e=P();a(0,"div",12),d(1,"ms-panel-parameters",13,0),o(),a(3,"div",14)(4,"div",15)(5,"button",16),p(6,"Next"),o()(),a(7,"div")(8,"button",17),E("click",function(){T(e);let r=l();return x(r.submit(r.DiffusionModelAlgorithmsEnum.PTQ4DIT_GET_CALIBRATION_SET,"params_calibration_set"))}),p(9," Run "),o()()()}if(i&2){let e=l();s(),c("algorithm",e.DiffusionModelAlgorithmsEnum.PTQ4DIT_GET_CALIBRATION_SET),s(7),c("disabled",e.isScriptActive||e.form.invalid)}}function ut(i,t){i&1&&(a(0,"div",11),d(1,"ms-spining-indicator"),o())}function ft(i,t){if(i&1&&(a(0,"div",9)(1,"div",10),p(2,"Step 2: Quantization"),o(),A(3),Q(4,"async"),u(5,ut,2,0,"div",11),o()),i&2){let e=l(),n=O(4,1,e.pageRunningScriptSpiningIndicatorService.currentRunningPageInfo$);s(5),b((n==null?null:n.algKey)===e.DiffusionModelAlgorithmsEnum.PTQ4DIT_QUANT_SAMPLE?5:-1)}}function _t(i,t){if(i&1){let e=P();a(0,"div",12),d(1,"ms-panel-parameters",18,1),o(),a(3,"div",14)(4,"div",15)(5,"button",19),p(6,"Previous"),o()(),a(7,"div")(8,"button",17),E("click",function(){T(e);let r=l();return x(r.submit(r.DiffusionModelAlgorithmsEnum.PTQ4DIT_QUANT_SAMPLE,"params_quant_sample"))}),p(9," Run "),o()()()}if(i&2){let e=l();s(),c("algorithm",e.DiffusionModelAlgorithmsEnum.PTQ4DIT_QUANT_SAMPLE),s(7),c("disabled",e.isScriptActive||e.form.invalid)}}var m,C=(m=class{constructor(t,e,n){this.fb=t,this.scriptFacadeService=e,this.pageRunningScriptSpiningIndicatorService=n,this.DiffusionModelAlgorithmsEnum=M,this.isScriptActive=!1,this.DIFFUSION_MODEL_ALGORITHMS_LIST=[{key:M.PTQ4DIT_GET_CALIBRATION_SET,value:"Get calibration set"},{key:M.PTQ4DIT_QUANT_SAMPLE,value:"Quant sample"}]}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.form=this.fb.group({})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(j(this)).subscribe(t=>{this.isScriptActive=W(t),this.isScriptActive?this.form.disable():this.form.enable()})}submit(t,e){if(this.isScriptActive)return;let n=e==="params_calibration_set"?this.panelParametersCalibrationSet.parametersFormatted:this.panelParametersQuantSample.parametersFormatted,r={alg:t,params:n};this.scriptFacadeService.dispatch($.callScript({configs:r}))}},m.\u0275fac=function(e){return new(e||m)(S(z),S(X),S(H))},m.\u0275cmp=w({type:m,selectors:[["ms-difussion-model"]],viewQuery:function(e,n){if(e&1&&(D(st,5),D(pt,5)),e&2){let r;I(r=y())&&(n.panelParametersCalibrationSet=r.first),I(r=y())&&(n.panelParametersQuantSample=r.first)}},decls:13,vars:1,consts:[["panelParametersCalibrationSet",""],["panelParametersQuantSample",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],["orientation","horizontal",1,"ms-stepper"],["matStepLabel",""],["matStepContent",""],[1,"right"],[1,"step-custom-label"],[1,"step-name"],[1,"step-loader"],[1,"panel-parameters"],["controlKey","params_calibration_set",3,"algorithm"],[1,"mt-6","flex"],[1,"mr-2"],["mat-stroked-button","","matStepperNext",""],["mat-raised-button","","color","primary",3,"click","disabled"],["controlKey","params_quant_sample",3,"algorithm"],["mat-stroked-button","","matStepperPrevious",""]],template:function(e,n){e&1&&(a(0,"p",2),p(1,"Diffusion Model (PTQ4DiT)"),o(),a(2,"div",3)(3,"div",4)(4,"mat-stepper",5)(5,"mat-step"),u(6,ct,6,3,"ng-template",6)(7,dt,10,2,"ng-template",7),o(),a(8,"mat-step"),u(9,ft,6,3,"ng-template",6)(10,_t,10,2,"ng-template",7),o()()(),a(11,"div",8),d(12,"ms-terminal-xterm-with-toolbar"),o()()),e&2&&(s(2),c("formGroup",n.form))},dependencies:[h,v,U,V,q,et,Z,it,nt,ot,tt,g,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}.mat-stepper-horizontal[_ngcontent-%COMP%]{background:none}.mat-stepper-horizontal[_ngcontent-%COMP%] .mat-horizontal-content-container[_ngcontent-%COMP%]{padding-bottom:2px}.step-custom-label[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.step-custom-label[_ngcontent-%COMP%] .step-loader[_ngcontent-%COMP%]{margin-left:10px}.panel-parameters[_ngcontent-%COMP%]{margin-top:20px}"]}),m);C=L([B()],C);var St=[{path:"",component:C}],mt=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=_({type:t}),t.\u0275inj=f({imports:[F.forChild(St),F]});let i=t;return i})();var $t=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=_({type:t}),t.\u0275inj=f({imports:[mt,G,h,v,N,R,K,N,R,Y,J,rt,g]});let i=t;return i})();export{$t as DiffusionModelModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-I7VABAG6.js b/frontend/server/modelsmith-build/browser/chunk-HTQHSSGZ.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-I7VABAG6.js rename to frontend/server/modelsmith-build/browser/chunk-HTQHSSGZ.js index 767ac849..9ad34ecf 100644 --- a/frontend/server/modelsmith-build/browser/chunk-I7VABAG6.js +++ b/frontend/server/modelsmith-build/browser/chunk-HTQHSSGZ.js @@ -1,4 +1,4 @@ -import{a as se,b as be,d as ge}from"./chunk-MDAOMI2L.js";var Ee=ge((le,me)=>{"use strict";(function(Z,q){typeof le=="object"&&typeof me=="object"?me.exports=q():typeof define=="function"&&define.amd?define([],q):typeof le=="object"?le.FitAddon=q():Z.FitAddon=q()})(self,()=>(()=>{"use strict";var Z={};return(()=>{var q=Z;Object.defineProperty(q,"__esModule",{value:!0}),q.FitAddon=void 0,q.FitAddon=class{activate(K){this._terminal=K}dispose(){}fit(){let K=this.proposeDimensions();if(!K||!this._terminal||isNaN(K.cols)||isNaN(K.rows))return;let J=this._terminal._core;this._terminal.rows===K.rows&&this._terminal.cols===K.cols||(J._renderService.clear(),this._terminal.resize(K.cols,K.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let K=this._terminal._core,J=K._renderService.dimensions;if(J.css.cell.width===0||J.css.cell.height===0)return;let B=this._terminal.options.scrollback===0?0:K.viewport.scrollBarWidth,r=window.getComputedStyle(this._terminal.element.parentElement),o=parseInt(r.getPropertyValue("height")),l=Math.max(0,parseInt(r.getPropertyValue("width"))),u=window.getComputedStyle(this._terminal.element),n=o-(parseInt(u.getPropertyValue("padding-top"))+parseInt(u.getPropertyValue("padding-bottom"))),h=l-(parseInt(u.getPropertyValue("padding-right"))+parseInt(u.getPropertyValue("padding-left")))-B;return{cols:Math.max(2,Math.floor(h/J.css.cell.width)),rows:Math.max(1,Math.floor(n/J.css.cell.height))}}}})(),Z})())});var ke=ge((de,Se)=>{"use strict";(function(Z,q){typeof de=="object"&&typeof Se=="object"?Se.exports=q():typeof define=="function"&&define.amd?define([],q):typeof de=="object"?de.SearchAddon=q():Z.SearchAddon=q()})(self,()=>(()=>{"use strict";var Z={345:(B,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.runAndSubscribe=r.forwardEvent=r.EventEmitter=void 0,r.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=o=>(this._listeners.push(o),{dispose:()=>{if(!this._disposed){for(let l=0;ll.fire(u))},r.runAndSubscribe=function(o,l){return l(void 0),o(u=>l(u))}},859:(B,r)=>{function o(l){for(let u of l)u.dispose();l.length=0}Object.defineProperty(r,"__esModule",{value:!0}),r.getDisposeArrayDisposable=r.disposeArray=r.toDisposable=r.MutableDisposable=r.Disposable=void 0,r.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(let l of this._disposables)l.dispose();this._disposables.length=0}register(l){return this._disposables.push(l),l}unregister(l){let u=this._disposables.indexOf(l);u!==-1&&this._disposables.splice(u,1)}},r.MutableDisposable=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(l){this._isDisposed||l===this._value||(this._value?.dispose(),this._value=l)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value?.dispose(),this._value=void 0}},r.toDisposable=function(l){return{dispose:l}},r.disposeArray=o,r.getDisposeArrayDisposable=function(l){return{dispose:()=>o(l)}}}},q={};function K(B){var r=q[B];if(r!==void 0)return r.exports;var o=q[B]={exports:{}};return Z[B](o,o.exports,K),o.exports}var J={};return(()=>{var B=J;Object.defineProperty(B,"__esModule",{value:!0}),B.SearchAddon=void 0;let r=K(345),o=K(859),l=" ~!@#$%^&*()+`-=[]{}|\\;:\"',./<>?";class u extends o.Disposable{constructor(h){super(),this._highlightedLines=new Set,this._highlightDecorations=[],this._selectedDecoration=this.register(new o.MutableDisposable),this._linesCacheTimeoutId=0,this._linesCacheDisposables=new o.MutableDisposable,this._onDidChangeResults=this.register(new r.EventEmitter),this.onDidChangeResults=this._onDidChangeResults.event,this._highlightLimit=h?.highlightLimit??1e3}activate(h){this._terminal=h,this.register(this._terminal.onWriteParsed(()=>this._updateMatches())),this.register(this._terminal.onResize(()=>this._updateMatches())),this.register((0,o.toDisposable)(()=>this.clearDecorations()))}_updateMatches(){this._highlightTimeout&&window.clearTimeout(this._highlightTimeout),this._cachedSearchTerm&&this._lastSearchOptions?.decorations&&(this._highlightTimeout=setTimeout(()=>{let h=this._cachedSearchTerm;this._cachedSearchTerm=void 0,this.findPrevious(h,be(se({},this._lastSearchOptions),{incremental:!0,noScroll:!0}))},200))}clearDecorations(h){this._selectedDecoration.clear(),(0,o.disposeArray)(this._highlightDecorations),this._highlightDecorations=[],this._highlightedLines.clear(),h||(this._cachedSearchTerm=void 0)}clearActiveDecoration(){this._selectedDecoration.clear()}findNext(h,_){if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");let p=!this._lastSearchOptions||this._didOptionsChange(this._lastSearchOptions,_);this._lastSearchOptions=_,_?.decorations&&(this._cachedSearchTerm===void 0||h!==this._cachedSearchTerm||p)&&this._highlightAllMatches(h,_);let a=this._findNextAndSelect(h,_);return this._fireResults(_),this._cachedSearchTerm=h,a}_highlightAllMatches(h,_){if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");if(!h||h.length===0)return void this.clearDecorations();_=_||{},this.clearDecorations(!0);let p=[],a,t=this._find(h,0,0,_);for(;t&&(a?.row!==t.row||a?.col!==t.col)&&!(p.length>=this._highlightLimit);)a=t,p.push(a),t=this._find(h,a.col+a.term.length>=this._terminal.cols?a.row+1:a.row,a.col+a.term.length>=this._terminal.cols?0:a.col+1,_);for(let i of p){let e=this._createResultDecoration(i,_.decorations);e&&(this._highlightedLines.add(e.marker.line),this._highlightDecorations.push({decoration:e,match:i,dispose(){e.dispose()}}))}}_find(h,_,p,a){if(!this._terminal||!h||h.length===0)return this._terminal?.clearSelection(),void this.clearDecorations();if(p>this._terminal.cols)throw new Error(`Invalid col: ${p} to search in terminal of ${this._terminal.cols} cols`);let t;this._initLinesCache();let i={startRow:_,startCol:p};if(t=this._findInLine(h,i,a),!t)for(let e=_+1;e=0&&(e.startRow=c,s=this._findInLine(h,e,_,i),!s);c--);}if(!s&&a!==this._terminal.buffer.active.baseY+this._terminal.rows-1)for(let c=this._terminal.buffer.active.baseY+this._terminal.rows-1;c>=a&&(e.startRow=c,s=this._findInLine(h,e,_,i),!s);c--);return this._selectResult(s,_?.decorations,_?.noScroll)}_initLinesCache(){let h=this._terminal;this._linesCache||(this._linesCache=new Array(h.buffer.active.length),this._linesCacheDisposables.value=(0,o.getDisposeArrayDisposable)([h.onLineFeed(()=>this._destroyLinesCache()),h.onCursorMove(()=>this._destroyLinesCache()),h.onResize(()=>this._destroyLinesCache())])),window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=window.setTimeout(()=>this._destroyLinesCache(),15e3)}_destroyLinesCache(){this._linesCache=void 0,this._linesCacheDisposables.clear(),this._linesCacheTimeoutId&&(window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=0)}_isWholeWord(h,_,p){return(h===0||l.includes(_[h-1]))&&(h+p.length===_.length||l.includes(_[h+p.length]))}_findInLine(h,_,p={},a=!1){let t=this._terminal,i=_.startRow,e=_.startCol;if(t.buffer.active.getLine(i)?.isWrapped)return a?void(_.startCol+=t.cols):(_.startRow--,_.startCol+=t.cols,this._findInLine(h,_,p));let c=this._linesCache?.[i];c||(c=this._translateBufferLineToStringWithWrap(i,!0),this._linesCache&&(this._linesCache[i]=c));let[v,f]=c,g=this._bufferColsToStringOffset(i,e),d=p.caseSensitive?h:h.toLowerCase(),m=p.caseSensitive?v:v.toLowerCase(),E=-1;if(p.regex){let y=RegExp(d,"g"),D;if(a)for(;D=y.exec(m.slice(0,g));)E=y.lastIndex-D[0].length,h=D[0],y.lastIndex-=h.length-1;else D=y.exec(m.slice(g)),D&&D[0].length>0&&(E=g+(y.lastIndex-D[0].length),h=D[0])}else a?g-d.length>=0&&(E=m.lastIndexOf(d,g-d.length)):E=m.indexOf(d,g);if(E>=0){if(p.wholeWord&&!this._isWholeWord(E,m,h))return;let y=0;for(;y=f[y+1];)y++;let D=y;for(;D=f[D+1];)D++;let b=E-f[y],x=E+h.length-f[D],T=this._stringLengthToBufferSize(i+y,b);return{term:h,col:T,row:i+y,size:this._stringLengthToBufferSize(i+D,x)-T+t.cols*(D-y)}}}_stringLengthToBufferSize(h,_){let p=this._terminal.buffer.active.getLine(h);if(!p)return 0;for(let a=0;a<_;a++){let t=p.getCell(a);if(!t)break;let i=t.getChars();i.length>1&&(_-=i.length-1);let e=p.getCell(a+1);e&&e.getWidth()===0&&_++}return _}_bufferColsToStringOffset(h,_){let p=this._terminal,a=h,t=0,i=p.buffer.active.getLine(a);for(;_>0&&i;){for(let e=0;e<_&&ethis._applyStyles(s,_.activeMatchBorder,!0))),e.push(i.onDispose(()=>(0,o.disposeArray)(e))),this._selectedDecoration.value={decoration:i,match:h,dispose(){i.dispose()}}}}}if(!p&&(h.row>=a.buffer.active.viewportY+a.rows||h.rowthis._applyStyles(e,_.matchBorder,!1))),i.push(t.onDispose(()=>(0,o.disposeArray)(i)))}return t}}B.SearchAddon=u})(),J})())});var De=ge((_e,Ce)=>{"use strict";(function(Z,q){if(typeof _e=="object"&&typeof Ce=="object")Ce.exports=q();else if(typeof define=="function"&&define.amd)define([],q);else{var K=q();for(var J in K)(typeof _e=="object"?_e:Z)[J]=K[J]}})(globalThis,()=>(()=>{"use strict";var Z={4567:function(B,r,o){var l=this&&this.__decorate||function(e,s,c,v){var f,g=arguments.length,d=g<3?s:v===null?v=Object.getOwnPropertyDescriptor(s,c):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(e,s,c,v);else for(var m=e.length-1;m>=0;m--)(f=e[m])&&(d=(g<3?f(d):g>3?f(s,c,d):f(s,c))||d);return g>3&&d&&Object.defineProperty(s,c,d),d},u=this&&this.__param||function(e,s){return function(c,v){s(c,v,e)}};Object.defineProperty(r,"__esModule",{value:!0}),r.AccessibilityManager=void 0;let n=o(9042),h=o(9924),_=o(844),p=o(4725),a=o(2585),t=o(3656),i=r.AccessibilityManager=class extends _.Disposable{constructor(e,s,c,v){super(),this._terminal=e,this._coreBrowserService=c,this._renderService=v,this._rowColumns=new WeakMap,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityContainer=this._coreBrowserService.mainDocument.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=this._coreBrowserService.mainDocument.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let f=0;fthis._handleBoundaryFocus(f,0),this._bottomBoundaryFocusListener=f=>this._handleBoundaryFocus(f,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions(),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=this._coreBrowserService.mainDocument.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this.register(new h.TimeBasedDebouncer(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this.register(this._terminal.onResize(f=>this._handleResize(f.rows))),this.register(this._terminal.onRender(f=>this._refreshRows(f.start,f.end))),this.register(this._terminal.onScroll(()=>this._refreshRows())),this.register(this._terminal.onA11yChar(f=>this._handleChar(f))),this.register(this._terminal.onLineFeed(()=>this._handleChar(` +import{a as se,b as be,d as ge}from"./chunk-MVLCGSW5.js";var Ee=ge((le,me)=>{"use strict";(function(Z,q){typeof le=="object"&&typeof me=="object"?me.exports=q():typeof define=="function"&&define.amd?define([],q):typeof le=="object"?le.FitAddon=q():Z.FitAddon=q()})(self,()=>(()=>{"use strict";var Z={};return(()=>{var q=Z;Object.defineProperty(q,"__esModule",{value:!0}),q.FitAddon=void 0,q.FitAddon=class{activate(K){this._terminal=K}dispose(){}fit(){let K=this.proposeDimensions();if(!K||!this._terminal||isNaN(K.cols)||isNaN(K.rows))return;let J=this._terminal._core;this._terminal.rows===K.rows&&this._terminal.cols===K.cols||(J._renderService.clear(),this._terminal.resize(K.cols,K.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let K=this._terminal._core,J=K._renderService.dimensions;if(J.css.cell.width===0||J.css.cell.height===0)return;let B=this._terminal.options.scrollback===0?0:K.viewport.scrollBarWidth,r=window.getComputedStyle(this._terminal.element.parentElement),o=parseInt(r.getPropertyValue("height")),l=Math.max(0,parseInt(r.getPropertyValue("width"))),u=window.getComputedStyle(this._terminal.element),n=o-(parseInt(u.getPropertyValue("padding-top"))+parseInt(u.getPropertyValue("padding-bottom"))),h=l-(parseInt(u.getPropertyValue("padding-right"))+parseInt(u.getPropertyValue("padding-left")))-B;return{cols:Math.max(2,Math.floor(h/J.css.cell.width)),rows:Math.max(1,Math.floor(n/J.css.cell.height))}}}})(),Z})())});var ke=ge((de,Se)=>{"use strict";(function(Z,q){typeof de=="object"&&typeof Se=="object"?Se.exports=q():typeof define=="function"&&define.amd?define([],q):typeof de=="object"?de.SearchAddon=q():Z.SearchAddon=q()})(self,()=>(()=>{"use strict";var Z={345:(B,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.runAndSubscribe=r.forwardEvent=r.EventEmitter=void 0,r.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=o=>(this._listeners.push(o),{dispose:()=>{if(!this._disposed){for(let l=0;ll.fire(u))},r.runAndSubscribe=function(o,l){return l(void 0),o(u=>l(u))}},859:(B,r)=>{function o(l){for(let u of l)u.dispose();l.length=0}Object.defineProperty(r,"__esModule",{value:!0}),r.getDisposeArrayDisposable=r.disposeArray=r.toDisposable=r.MutableDisposable=r.Disposable=void 0,r.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(let l of this._disposables)l.dispose();this._disposables.length=0}register(l){return this._disposables.push(l),l}unregister(l){let u=this._disposables.indexOf(l);u!==-1&&this._disposables.splice(u,1)}},r.MutableDisposable=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(l){this._isDisposed||l===this._value||(this._value?.dispose(),this._value=l)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value?.dispose(),this._value=void 0}},r.toDisposable=function(l){return{dispose:l}},r.disposeArray=o,r.getDisposeArrayDisposable=function(l){return{dispose:()=>o(l)}}}},q={};function K(B){var r=q[B];if(r!==void 0)return r.exports;var o=q[B]={exports:{}};return Z[B](o,o.exports,K),o.exports}var J={};return(()=>{var B=J;Object.defineProperty(B,"__esModule",{value:!0}),B.SearchAddon=void 0;let r=K(345),o=K(859),l=" ~!@#$%^&*()+`-=[]{}|\\;:\"',./<>?";class u extends o.Disposable{constructor(h){super(),this._highlightedLines=new Set,this._highlightDecorations=[],this._selectedDecoration=this.register(new o.MutableDisposable),this._linesCacheTimeoutId=0,this._linesCacheDisposables=new o.MutableDisposable,this._onDidChangeResults=this.register(new r.EventEmitter),this.onDidChangeResults=this._onDidChangeResults.event,this._highlightLimit=h?.highlightLimit??1e3}activate(h){this._terminal=h,this.register(this._terminal.onWriteParsed(()=>this._updateMatches())),this.register(this._terminal.onResize(()=>this._updateMatches())),this.register((0,o.toDisposable)(()=>this.clearDecorations()))}_updateMatches(){this._highlightTimeout&&window.clearTimeout(this._highlightTimeout),this._cachedSearchTerm&&this._lastSearchOptions?.decorations&&(this._highlightTimeout=setTimeout(()=>{let h=this._cachedSearchTerm;this._cachedSearchTerm=void 0,this.findPrevious(h,be(se({},this._lastSearchOptions),{incremental:!0,noScroll:!0}))},200))}clearDecorations(h){this._selectedDecoration.clear(),(0,o.disposeArray)(this._highlightDecorations),this._highlightDecorations=[],this._highlightedLines.clear(),h||(this._cachedSearchTerm=void 0)}clearActiveDecoration(){this._selectedDecoration.clear()}findNext(h,_){if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");let p=!this._lastSearchOptions||this._didOptionsChange(this._lastSearchOptions,_);this._lastSearchOptions=_,_?.decorations&&(this._cachedSearchTerm===void 0||h!==this._cachedSearchTerm||p)&&this._highlightAllMatches(h,_);let a=this._findNextAndSelect(h,_);return this._fireResults(_),this._cachedSearchTerm=h,a}_highlightAllMatches(h,_){if(!this._terminal)throw new Error("Cannot use addon until it has been loaded");if(!h||h.length===0)return void this.clearDecorations();_=_||{},this.clearDecorations(!0);let p=[],a,t=this._find(h,0,0,_);for(;t&&(a?.row!==t.row||a?.col!==t.col)&&!(p.length>=this._highlightLimit);)a=t,p.push(a),t=this._find(h,a.col+a.term.length>=this._terminal.cols?a.row+1:a.row,a.col+a.term.length>=this._terminal.cols?0:a.col+1,_);for(let i of p){let e=this._createResultDecoration(i,_.decorations);e&&(this._highlightedLines.add(e.marker.line),this._highlightDecorations.push({decoration:e,match:i,dispose(){e.dispose()}}))}}_find(h,_,p,a){if(!this._terminal||!h||h.length===0)return this._terminal?.clearSelection(),void this.clearDecorations();if(p>this._terminal.cols)throw new Error(`Invalid col: ${p} to search in terminal of ${this._terminal.cols} cols`);let t;this._initLinesCache();let i={startRow:_,startCol:p};if(t=this._findInLine(h,i,a),!t)for(let e=_+1;e=0&&(e.startRow=c,s=this._findInLine(h,e,_,i),!s);c--);}if(!s&&a!==this._terminal.buffer.active.baseY+this._terminal.rows-1)for(let c=this._terminal.buffer.active.baseY+this._terminal.rows-1;c>=a&&(e.startRow=c,s=this._findInLine(h,e,_,i),!s);c--);return this._selectResult(s,_?.decorations,_?.noScroll)}_initLinesCache(){let h=this._terminal;this._linesCache||(this._linesCache=new Array(h.buffer.active.length),this._linesCacheDisposables.value=(0,o.getDisposeArrayDisposable)([h.onLineFeed(()=>this._destroyLinesCache()),h.onCursorMove(()=>this._destroyLinesCache()),h.onResize(()=>this._destroyLinesCache())])),window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=window.setTimeout(()=>this._destroyLinesCache(),15e3)}_destroyLinesCache(){this._linesCache=void 0,this._linesCacheDisposables.clear(),this._linesCacheTimeoutId&&(window.clearTimeout(this._linesCacheTimeoutId),this._linesCacheTimeoutId=0)}_isWholeWord(h,_,p){return(h===0||l.includes(_[h-1]))&&(h+p.length===_.length||l.includes(_[h+p.length]))}_findInLine(h,_,p={},a=!1){let t=this._terminal,i=_.startRow,e=_.startCol;if(t.buffer.active.getLine(i)?.isWrapped)return a?void(_.startCol+=t.cols):(_.startRow--,_.startCol+=t.cols,this._findInLine(h,_,p));let c=this._linesCache?.[i];c||(c=this._translateBufferLineToStringWithWrap(i,!0),this._linesCache&&(this._linesCache[i]=c));let[v,f]=c,g=this._bufferColsToStringOffset(i,e),d=p.caseSensitive?h:h.toLowerCase(),m=p.caseSensitive?v:v.toLowerCase(),E=-1;if(p.regex){let y=RegExp(d,"g"),D;if(a)for(;D=y.exec(m.slice(0,g));)E=y.lastIndex-D[0].length,h=D[0],y.lastIndex-=h.length-1;else D=y.exec(m.slice(g)),D&&D[0].length>0&&(E=g+(y.lastIndex-D[0].length),h=D[0])}else a?g-d.length>=0&&(E=m.lastIndexOf(d,g-d.length)):E=m.indexOf(d,g);if(E>=0){if(p.wholeWord&&!this._isWholeWord(E,m,h))return;let y=0;for(;y=f[y+1];)y++;let D=y;for(;D=f[D+1];)D++;let b=E-f[y],x=E+h.length-f[D],T=this._stringLengthToBufferSize(i+y,b);return{term:h,col:T,row:i+y,size:this._stringLengthToBufferSize(i+D,x)-T+t.cols*(D-y)}}}_stringLengthToBufferSize(h,_){let p=this._terminal.buffer.active.getLine(h);if(!p)return 0;for(let a=0;a<_;a++){let t=p.getCell(a);if(!t)break;let i=t.getChars();i.length>1&&(_-=i.length-1);let e=p.getCell(a+1);e&&e.getWidth()===0&&_++}return _}_bufferColsToStringOffset(h,_){let p=this._terminal,a=h,t=0,i=p.buffer.active.getLine(a);for(;_>0&&i;){for(let e=0;e<_&&ethis._applyStyles(s,_.activeMatchBorder,!0))),e.push(i.onDispose(()=>(0,o.disposeArray)(e))),this._selectedDecoration.value={decoration:i,match:h,dispose(){i.dispose()}}}}}if(!p&&(h.row>=a.buffer.active.viewportY+a.rows||h.rowthis._applyStyles(e,_.matchBorder,!1))),i.push(t.onDispose(()=>(0,o.disposeArray)(i)))}return t}}B.SearchAddon=u})(),J})())});var De=ge((_e,Ce)=>{"use strict";(function(Z,q){if(typeof _e=="object"&&typeof Ce=="object")Ce.exports=q();else if(typeof define=="function"&&define.amd)define([],q);else{var K=q();for(var J in K)(typeof _e=="object"?_e:Z)[J]=K[J]}})(globalThis,()=>(()=>{"use strict";var Z={4567:function(B,r,o){var l=this&&this.__decorate||function(e,s,c,v){var f,g=arguments.length,d=g<3?s:v===null?v=Object.getOwnPropertyDescriptor(s,c):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(e,s,c,v);else for(var m=e.length-1;m>=0;m--)(f=e[m])&&(d=(g<3?f(d):g>3?f(s,c,d):f(s,c))||d);return g>3&&d&&Object.defineProperty(s,c,d),d},u=this&&this.__param||function(e,s){return function(c,v){s(c,v,e)}};Object.defineProperty(r,"__esModule",{value:!0}),r.AccessibilityManager=void 0;let n=o(9042),h=o(9924),_=o(844),p=o(4725),a=o(2585),t=o(3656),i=r.AccessibilityManager=class extends _.Disposable{constructor(e,s,c,v){super(),this._terminal=e,this._coreBrowserService=c,this._renderService=v,this._rowColumns=new WeakMap,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityContainer=this._coreBrowserService.mainDocument.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=this._coreBrowserService.mainDocument.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let f=0;fthis._handleBoundaryFocus(f,0),this._bottomBoundaryFocusListener=f=>this._handleBoundaryFocus(f,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions(),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=this._coreBrowserService.mainDocument.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this.register(new h.TimeBasedDebouncer(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this.register(this._terminal.onResize(f=>this._handleResize(f.rows))),this.register(this._terminal.onRender(f=>this._refreshRows(f.start,f.end))),this.register(this._terminal.onScroll(()=>this._refreshRows())),this.register(this._terminal.onA11yChar(f=>this._handleChar(f))),this.register(this._terminal.onLineFeed(()=>this._handleChar(` `))),this.register(this._terminal.onA11yTab(f=>this._handleTab(f))),this.register(this._terminal.onKey(f=>this._handleKey(f.key))),this.register(this._terminal.onBlur(()=>this._clearLiveRegion())),this.register(this._renderService.onDimensionsChange(()=>this._refreshRowsDimensions())),this.register((0,t.addDisposableDomListener)(document,"selectionchange",()=>this._handleSelectionChange())),this.register(this._coreBrowserService.onDprChange(()=>this._refreshRowsDimensions())),this._refreshRows(),this.register((0,_.toDisposable)(()=>{this._accessibilityContainer.remove(),this._rowElements.length=0}))}_handleTab(e){for(let s=0;s0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,e===` `&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=n.tooMuchOutput)))}_clearLiveRegion(){this._liveRegion.textContent="",this._liveRegionLineCount=0}_handleKey(e){this._clearLiveRegion(),new RegExp("\\p{Control}","u").test(e)||this._charsToConsume.push(e)}_refreshRows(e,s){this._liveRegionDebouncer.refresh(e,s,this._terminal.rows)}_renderRows(e,s){let c=this._terminal.buffer,v=c.lines.length.toString();for(let f=e;f<=s;f++){let g=c.lines.get(c.ydisp+f),d=[],m=g?.translateToString(!0,void 0,void 0,d)||"",E=(c.ydisp+f+1).toString(),y=this._rowElements[f];y&&(m.length===0?(y.innerText="\xA0",this._rowColumns.set(y,[0,1])):(y.textContent=m,this._rowColumns.set(y,d)),y.setAttribute("aria-posinset",E),y.setAttribute("aria-setsize",v))}this._announceCharacters()}_announceCharacters(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")}_handleBoundaryFocus(e,s){let c=e.target,v=this._rowElements[s===0?1:this._rowElements.length-2];if(c.getAttribute("aria-posinset")===(s===0?"1":`${this._terminal.buffer.lines.length}`)||e.relatedTarget!==v)return;let f,g;if(s===0?(f=c,g=this._rowElements.pop(),this._rowContainer.removeChild(g)):(f=this._rowElements.shift(),g=c,this._rowContainer.removeChild(f)),f.removeEventListener("focus",this._topBoundaryFocusListener),g.removeEventListener("focus",this._bottomBoundaryFocusListener),s===0){let d=this._createAccessibilityTreeNode();this._rowElements.unshift(d),this._rowContainer.insertAdjacentElement("afterbegin",d)}else{let d=this._createAccessibilityTreeNode();this._rowElements.push(d),this._rowContainer.appendChild(d)}this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(s===0?-1:1),this._rowElements[s===0?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}_handleSelectionChange(){if(this._rowElements.length===0)return;let e=document.getSelection();if(!e)return;if(e.isCollapsed)return void(this._rowContainer.contains(e.anchorNode)&&this._terminal.clearSelection());if(!e.anchorNode||!e.focusNode)return void console.error("anchorNode and/or focusNode are null");let s={node:e.anchorNode,offset:e.anchorOffset},c={node:e.focusNode,offset:e.focusOffset};if((s.node.compareDocumentPosition(c.node)&Node.DOCUMENT_POSITION_PRECEDING||s.node===c.node&&s.offset>c.offset)&&([s,c]=[c,s]),s.node.compareDocumentPosition(this._rowElements[0])&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING)&&(s={node:this._rowElements[0].childNodes[0],offset:0}),!this._rowContainer.contains(s.node))return;let v=this._rowElements.slice(-1)[0];if(c.node.compareDocumentPosition(v)&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_PRECEDING)&&(c={node:v,offset:v.textContent?.length??0}),!this._rowContainer.contains(c.node))return;let f=({node:m,offset:E})=>{let y=m instanceof Text?m.parentNode:m,D=parseInt(y?.getAttribute("aria-posinset"),10)-1;if(isNaN(D))return console.warn("row is invalid. Race condition?"),null;let b=this._rowColumns.get(y);if(!b)return console.warn("columns is null. Race condition?"),null;let x=E=this._terminal.cols&&(++D,x=0),{row:D,column:x}},g=f(s),d=f(c);if(g&&d){if(g.row>d.row||g.row===d.row&&g.column>=d.column)throw new Error("invalid range");this._terminal.select(g.column,g.row,(d.row-g.row)*this._terminal.cols-g.column+d.column)}}_handleResize(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(let s=this._rowContainer.children.length;se;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()}_createAccessibilityTreeNode(){let e=this._coreBrowserService.mainDocument.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e}_refreshRowsDimensions(){if(this._renderService.dimensions.css.cell.height){this._accessibilityContainer.style.width=`${this._renderService.dimensions.css.canvas.width}px`,this._rowElements.length!==this._terminal.rows&&this._handleResize(this._terminal.rows);for(let e=0;e{function o(h){return h.replace(/\r?\n/g,"\r")}function l(h,_){return _?"\x1B[200~"+h+"\x1B[201~":h}function u(h,_,p,a){h=l(h=o(h),p.decPrivateModes.bracketedPasteMode&&a.rawOptions.ignoreBracketedPasteMode!==!0),p.triggerDataEvent(h,!0),_.value=""}function n(h,_,p){let a=p.getBoundingClientRect(),t=h.clientX-a.left-10,i=h.clientY-a.top-10;_.style.width="20px",_.style.height="20px",_.style.left=`${t}px`,_.style.top=`${i}px`,_.style.zIndex="1000",_.focus()}Object.defineProperty(r,"__esModule",{value:!0}),r.rightClickHandler=r.moveTextAreaUnderMouseCursor=r.paste=r.handlePasteEvent=r.copyHandler=r.bracketTextForPaste=r.prepareTextForTerminal=void 0,r.prepareTextForTerminal=o,r.bracketTextForPaste=l,r.copyHandler=function(h,_){h.clipboardData&&h.clipboardData.setData("text/plain",_.selectionText),h.preventDefault()},r.handlePasteEvent=function(h,_,p,a){h.stopPropagation(),h.clipboardData&&u(h.clipboardData.getData("text/plain"),_,p,a)},r.paste=u,r.moveTextAreaUnderMouseCursor=n,r.rightClickHandler=function(h,_,p,a,t){n(h,_,p),t&&a.rightClickSelect(h),_.value=a.selectionText,_.select()}},7239:(B,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ColorContrastCache=void 0;let l=o(1505);r.ColorContrastCache=class{constructor(){this._color=new l.TwoKeyMap,this._css=new l.TwoKeyMap}setCss(u,n,h){this._css.set(u,n,h)}getCss(u,n){return this._css.get(u,n)}setColor(u,n,h){this._color.set(u,n,h)}getColor(u,n){return this._color.get(u,n)}clear(){this._color.clear(),this._css.clear()}}},3656:(B,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.addDisposableDomListener=void 0,r.addDisposableDomListener=function(o,l,u,n){o.addEventListener(l,u,n);let h=!1;return{dispose:()=>{h||(h=!0,o.removeEventListener(l,u,n))}}}},3551:function(B,r,o){var l=this&&this.__decorate||function(i,e,s,c){var v,f=arguments.length,g=f<3?e:c===null?c=Object.getOwnPropertyDescriptor(e,s):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(i,e,s,c);else for(var d=i.length-1;d>=0;d--)(v=i[d])&&(g=(f<3?v(g):f>3?v(e,s,g):v(e,s))||g);return f>3&&g&&Object.defineProperty(e,s,g),g},u=this&&this.__param||function(i,e){return function(s,c){e(s,c,i)}};Object.defineProperty(r,"__esModule",{value:!0}),r.Linkifier=void 0;let n=o(3656),h=o(8460),_=o(844),p=o(2585),a=o(4725),t=r.Linkifier=class extends _.Disposable{get currentLink(){return this._currentLink}constructor(i,e,s,c,v){super(),this._element=i,this._mouseService=e,this._renderService=s,this._bufferService=c,this._linkProviderService=v,this._linkCacheDisposables=[],this._isMouseOut=!0,this._wasResized=!1,this._activeLine=-1,this._onShowLinkUnderline=this.register(new h.EventEmitter),this.onShowLinkUnderline=this._onShowLinkUnderline.event,this._onHideLinkUnderline=this.register(new h.EventEmitter),this.onHideLinkUnderline=this._onHideLinkUnderline.event,this.register((0,_.getDisposeArrayDisposable)(this._linkCacheDisposables)),this.register((0,_.toDisposable)(()=>{this._lastMouseEvent=void 0,this._activeProviderReplies?.clear()})),this.register(this._bufferService.onResize(()=>{this._clearCurrentLink(),this._wasResized=!0})),this.register((0,n.addDisposableDomListener)(this._element,"mouseleave",()=>{this._isMouseOut=!0,this._clearCurrentLink()})),this.register((0,n.addDisposableDomListener)(this._element,"mousemove",this._handleMouseMove.bind(this))),this.register((0,n.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,n.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))}_handleMouseMove(i){this._lastMouseEvent=i;let e=this._positionFromMouseEvent(i,this._element,this._mouseService);if(!e)return;this._isMouseOut=!1;let s=i.composedPath();for(let c=0;c{c?.forEach(v=>{v.link.dispose&&v.link.dispose()})}),this._activeProviderReplies=new Map,this._activeLine=i.y);let s=!1;for(let[c,v]of this._linkProviderService.linkProviders.entries())e?this._activeProviderReplies?.get(c)&&(s=this._checkLinkProviderResult(c,i,s)):v.provideLinks(i.y,f=>{if(this._isMouseOut)return;let g=f?.map(d=>({link:d}));this._activeProviderReplies?.set(c,g),s=this._checkLinkProviderResult(c,i,s),this._activeProviderReplies?.size===this._linkProviderService.linkProviders.length&&this._removeIntersectingLinks(i.y,this._activeProviderReplies)})}_removeIntersectingLinks(i,e){let s=new Set;for(let c=0;ci?this._bufferService.cols:g.link.range.end.x;for(let E=d;E<=m;E++){if(s.has(E)){v.splice(f--,1);break}s.add(E)}}}}_checkLinkProviderResult(i,e,s){if(!this._activeProviderReplies)return s;let c=this._activeProviderReplies.get(i),v=!1;for(let f=0;fthis._linkAtPosition(g.link,e));f&&(s=!0,this._handleNewLink(f))}if(this._activeProviderReplies.size===this._linkProviderService.linkProviders.length&&!s)for(let f=0;fthis._linkAtPosition(d.link,e));if(g){s=!0,this._handleNewLink(g);break}}return s}_handleMouseDown(){this._mouseDownLink=this._currentLink}_handleMouseUp(i){if(!this._currentLink)return;let e=this._positionFromMouseEvent(i,this._element,this._mouseService);e&&this._mouseDownLink===this._currentLink&&this._linkAtPosition(this._currentLink.link,e)&&this._currentLink.link.activate(i,this._currentLink.link.text)}_clearCurrentLink(i,e){this._currentLink&&this._lastMouseEvent&&(!i||!e||this._currentLink.link.range.start.y>=i&&this._currentLink.link.range.end.y<=e)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,_.disposeArray)(this._linkCacheDisposables))}_handleNewLink(i){if(!this._lastMouseEvent)return;let e=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);e&&this._linkAtPosition(i.link,e)&&(this._currentLink=i,this._currentLink.state={decorations:{underline:i.link.decorations===void 0||i.link.decorations.underline,pointerCursor:i.link.decorations===void 0||i.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,i.link,this._lastMouseEvent),i.link.decorations={},Object.defineProperties(i.link.decorations,{pointerCursor:{get:()=>this._currentLink?.state?.decorations.pointerCursor,set:s=>{this._currentLink?.state&&this._currentLink.state.decorations.pointerCursor!==s&&(this._currentLink.state.decorations.pointerCursor=s,this._currentLink.state.isHovered&&this._element.classList.toggle("xterm-cursor-pointer",s))}},underline:{get:()=>this._currentLink?.state?.decorations.underline,set:s=>{this._currentLink?.state&&this._currentLink?.state?.decorations.underline!==s&&(this._currentLink.state.decorations.underline=s,this._currentLink.state.isHovered&&this._fireUnderlineEvent(i.link,s))}}}),this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(s=>{if(!this._currentLink)return;let c=s.start===0?0:s.start+1+this._bufferService.buffer.ydisp,v=this._bufferService.buffer.ydisp+1+s.end;if(this._currentLink.link.range.start.y>=c&&this._currentLink.link.range.end.y<=v&&(this._clearCurrentLink(c,v),this._lastMouseEvent)){let f=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);f&&this._askForLink(f,!1)}})))}_linkHover(i,e,s){this._currentLink?.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(e,!0),this._currentLink.state.decorations.pointerCursor&&i.classList.add("xterm-cursor-pointer")),e.hover&&e.hover(s,e.text)}_fireUnderlineEvent(i,e){let s=i.range,c=this._bufferService.buffer.ydisp,v=this._createLinkUnderlineEvent(s.start.x-1,s.start.y-c-1,s.end.x,s.end.y-c-1,void 0);(e?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(v)}_linkLeave(i,e,s){this._currentLink?.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(e,!1),this._currentLink.state.decorations.pointerCursor&&i.classList.remove("xterm-cursor-pointer")),e.leave&&e.leave(s,e.text)}_linkAtPosition(i,e){let s=i.range.start.y*this._bufferService.cols+i.range.start.x,c=i.range.end.y*this._bufferService.cols+i.range.end.x,v=e.y*this._bufferService.cols+e.x;return s<=v&&v<=c}_positionFromMouseEvent(i,e,s){let c=s.getCoords(i,e,this._bufferService.cols,this._bufferService.rows);if(c)return{x:c[0],y:c[1]+this._bufferService.buffer.ydisp}}_createLinkUnderlineEvent(i,e,s,c,v){return{x1:i,y1:e,x2:s,y2:c,cols:this._bufferService.cols,fg:v}}};r.Linkifier=t=l([u(1,a.IMouseService),u(2,a.IRenderService),u(3,p.IBufferService),u(4,a.ILinkProviderService)],t)},9042:(B,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.tooMuchOutput=r.promptLabel=void 0,r.promptLabel="Terminal input",r.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},3730:function(B,r,o){var l=this&&this.__decorate||function(a,t,i,e){var s,c=arguments.length,v=c<3?t:e===null?e=Object.getOwnPropertyDescriptor(t,i):e;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(a,t,i,e);else for(var f=a.length-1;f>=0;f--)(s=a[f])&&(v=(c<3?s(v):c>3?s(t,i,v):s(t,i))||v);return c>3&&v&&Object.defineProperty(t,i,v),v},u=this&&this.__param||function(a,t){return function(i,e){t(i,e,a)}};Object.defineProperty(r,"__esModule",{value:!0}),r.OscLinkProvider=void 0;let n=o(511),h=o(2585),_=r.OscLinkProvider=class{constructor(a,t,i){this._bufferService=a,this._optionsService=t,this._oscLinkService=i}provideLinks(a,t){let i=this._bufferService.buffer.lines.get(a-1);if(!i)return void t(void 0);let e=[],s=this._optionsService.rawOptions.linkHandler,c=new n.CellData,v=i.getTrimmedLength(),f=-1,g=-1,d=!1;for(let m=0;ms?s.activate(b,x,y):p(0,x),hover:(b,x)=>s?.hover?.(b,x,y),leave:(b,x)=>s?.leave?.(b,x,y)})}d=!1,c.hasExtendedAttrs()&&c.extended.urlId?(g=m,f=c.extended.urlId):(g=-1,f=-1)}}t(e)}};function p(a,t){if(confirm(`Do you want to navigate to ${t}? diff --git a/frontend/server/modelsmith-build/browser/chunk-WXERLI5K.js b/frontend/server/modelsmith-build/browser/chunk-I333ACNB.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-WXERLI5K.js rename to frontend/server/modelsmith-build/browser/chunk-I333ACNB.js index e569277a..1e75b7ac 100644 --- a/frontend/server/modelsmith-build/browser/chunk-WXERLI5K.js +++ b/frontend/server/modelsmith-build/browser/chunk-I333ACNB.js @@ -1 +1 @@ -import{$ as L,A as Rt,Aa as Dt,C as kt,D as j,Dd as ht,E as Q,Ea as w,Ed as A,Fa as z,Ga as N,Ib as It,Ja as C,Ka as Pt,La as Mt,Ma as I,Mb as x,Na as it,Oa as st,Ob as At,Pb as y,Qb as Ft,S as J,Sc as Tt,T as Ot,Tc as nt,Z as g,_ as k,a as B,b as Ct,ba as c,bd as ot,ca as tt,fd as rt,g as S,gd as u,h as Et,ha as O,hd as Bt,i as St,ia as M,id as D,j as v,ld as jt,ma as xt,na as et,nd as Y,od as at,pd as Lt,s as K,ua as V,wa as R,xa as E}from"./chunk-MDAOMI2L.js";var Vt=nt(ot,o=>o.configs.defaultMode),zt=nt(ot,o=>o.configs.currentMode);var Re=(()=>{let t=class t{constructor(e){this.store=e,this.defaultMode$=this.store.select(Vt),this.currentMode$=this.store.select(zt)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(i){return new(i||t)(c(Tt))},t.\u0275prov=g({token:t,factory:t.\u0275fac});let o=t;return o})();var F=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},lt=class extends F{constructor(t,s,e,i,n){super(),this.component=t,this.viewContainerRef=s,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=n}},T=class extends F{constructor(t,s,e,i){super(),this.templateRef=t,this.viewContainerRef=s,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,s=this.context){return this.context=s,super.attach(t)}detach(){return this.context=void 0,super.detach()}},ct=class extends F{constructor(t){super(),this.element=t instanceof R?t.nativeElement:t}},W=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof lt)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof T)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof ct)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var X=class extends W{constructor(t,s,e,i,n){super(),this.outletElement=t,this._componentFactoryResolver=s,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=n}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||V.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let s=t.viewContainerRef,e=s.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=s.indexOf(e);i!==-1&&s.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Te=(()=>{let t=class t extends W{constructor(e,i,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new E,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(h,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(w(N),w(I),w(y))},t.\u0275dir=M({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[it]});let o=t;return o})();var Nt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({});let o=t;return o})();var Yt=class{};function ze(o){return o&&typeof o.connect=="function"&&!(o instanceof St)}var Z=function(o){return o[o.REPLACED=0]="REPLACED",o[o.INSERTED=1]="INSERTED",o[o.MOVED=2]="MOVED",o[o.REMOVED=3]="REMOVED",o}(Z||{}),Ne=new L("_ViewRepeater"),Ht=class{applyChanges(t,s,e,i,n){t.forEachOperation((r,a,h)=>{let d,l;if(r.previousIndex==null){let f=e(r,a,h);d=s.createEmbeddedView(f.templateRef,f.context,f.index),l=Z.INSERTED}else h==null?(s.remove(a),l=Z.REMOVED):(d=s.get(a),s.move(d,h),l=Z.MOVED);n&&n({context:d?.context,operation:l,record:r})})}detach(){}};var Wt=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,s,e=!0,i){this._multiple=t,this._emitChanges=e,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new v,s&&s.length&&(t?s.forEach(n=>this._markSelected(n)):this._markSelected(s[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e));let s=this._hasQueuedChanges();return this._emitChangeEvent(),s}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e));let s=this._hasQueuedChanges();return this._emitChangeEvent(),s}setSelection(...t){this._verifyValueAssignment(t);let s=this.selected,e=new Set(t);t.forEach(n=>this._markSelected(n)),s.filter(n=>!e.has(this._getConcreteValue(n,e))).forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let s=this._hasQueuedChanges();return t&&this._emitChangeEvent(),s}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,s){if(this.compareWith){s=s??this._selection;for(let e of s)if(this.compareWith(t,e))return e;return t}else return t}};var Ye=(()=>{let t=class t{constructor(){this._listeners=[]}notify(e,i){for(let n of this._listeners)n(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var re=20,dt=(()=>{let t=class t{constructor(e,i,n){this._ngZone=e,this._platform=i,this._scrolled=new v,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=re){return this._platform.isBrowser?new Et(i=>{this._globalSubscription||this._addGlobalListener();let n=e>0?this._scrolled.pipe(Q(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):K()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let n=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(j(r=>!r||n.indexOf(r)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let n=Bt(i),r=e.getElementRef().nativeElement;do if(n==r)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Rt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(c(C),c(D),c(y,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var ae=20,$=(()=>{let t=class t{constructor(e,i,n){this._platform=e,this._change=new v,this._changeListener=r=>{this._change.next(r)},this._document=n,i.runOutsideAngular(()=>{if(e.isBrowser){let r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect(),a=-r.top||e.body.scrollTop||i.scrollY||n.scrollTop||0,h=-r.left||e.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:a,left:h}}change(e=ae){return e>0?this._change.pipe(Q(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(c(D),c(C),c(y,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Xt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({});let o=t;return o})(),ft=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({imports:[A,Xt,A,Xt]});let o=t;return o})();var Zt=jt(),ut=class{constructor(t,s){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=u(-this._previousScrollPosition.left),t.style.top=u(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,s=this._document.body,e=t.style,i=s.style,n=e.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Zt&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Zt&&(e.scrollBehavior=n,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,e=this._viewportRuler.getViewportSize();return s.scrollHeight>e.height||s.scrollWidth>e.width}};var pt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._ngZone=s,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(j(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},U=class{enable(){}disable(){}attach(){}};function _t(o,t){return t.some(s=>{let e=o.bottoms.bottom,n=o.rights.right;return e||i||n||r})}function $t(o,t){return t.some(s=>{let e=o.tops.bottom,n=o.lefts.right;return e||i||n||r})}var gt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._viewportRuler=s,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();_t(s,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ce=(()=>{let t=class t{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this.noop=()=>new U,this.close=a=>new pt(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new ut(this._viewportRuler,this._document),this.reposition=a=>new gt(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}};t.\u0275fac=function(i){return new(i||t)(c(dt),c($),c(C),c(y))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),G=class{constructor(t){if(this.scrollStrategy=new U,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let s=Object.keys(t);for(let e of s)t[e]!==void 0&&(this[e]=t[e])}}};var mt=class{constructor(t,s){this.connectionPair=t,this.scrollableViewProperties=s}};var te=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(c(y))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),de=(()=>{let t=class t extends te{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=n=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let h=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>h.next(n)):h.next(n);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(i){return new(i||t)(c(y),c(C,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),fe=(()=>{let t=class t extends te{constructor(e,i,n){super(e),this._platform=i,this._ngZone=n,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Y(r)},this._clickListener=r=>{let a=Y(r),h=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let l=d.length-1;l>-1;l--){let f=d[l];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(Ut(f.overlayElement,a)||Ut(f.overlayElement,h))break;let p=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(r)):p.next(r)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(i){return new(i||t)(c(y),c(D),c(C,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();function Ut(o,t){let s=typeof ShadowRoot<"u"&&ShadowRoot,e=t;for(;e;){if(e===o)return!0;e=s&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var ee=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||at()){let n=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)},this._keydownEvents=new v,this._outsidePointerEvents=new v,this._renders=new v,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=At(()=>Pt(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Mt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=B(B({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Ct(B({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=u(this._config.width),t.height=u(this._config.height),t.minWidth=u(this._config.minWidth),t.minHeight=u(this._config.minHeight),t.maxWidth=u(this._config.maxWidth),t.maxHeight=u(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,s,e){let i=rt(s||[]).filter(n=>!!n);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(J(kt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Gt="cdk-overlay-connected-position-bounding-box",ue=/([A-Za-z%]+)$/,yt=class{get positions(){return this._preferredPositions}constructor(t,s,e,i,n){this._viewportRuler=s,this._document=e,this._platform=i,this._overlayContainer=n,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new v,this._resizeSubscription=S.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Gt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,s=this._overlayRect,e=this._viewportRect,i=this._containerRect,n=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,i,a),d=this._getOverlayPoint(h,s,a),l=this._getOverlayFit(d,s,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,d,e)){n.push({position:a,origin:h,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=l,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Gt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,s)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,s,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?r:a}s.left<0&&(i-=s.left);let n;return e.originY=="center"?n=t.top+t.height/2:n=e.originY=="top"?t.top:t.bottom,s.top<0&&(n-=s.top),{x:i,y:n}}_getOverlayPoint(t,s,e){let i;e.overlayX=="center"?i=-s.width/2:e.overlayX==="start"?i=this._isRtl()?-s.width:0:i=this._isRtl()?0:-s.width;let n;return e.overlayY=="center"?n=-s.height/2:n=e.overlayY=="top"?0:-s.height,{x:t.x+i,y:t.y+n}}_getOverlayFit(t,s,e,i){let n=Kt(s),{x:r,y:a}=t,h=this._getOffset(i,"x"),d=this._getOffset(i,"y");h&&(r+=h),d&&(a+=d);let l=0-r,f=r+n.width-e.width,p=0-a,m=a+n.height-e.height,_=this._subtractOverflows(n.width,l,f),b=this._subtractOverflows(n.height,p,m),bt=_*b;return{visibleArea:bt,isCompletelyWithinViewport:n.width*n.height===bt,fitsInViewportVertically:b===n.height,fitsInViewportHorizontally:_==n.width}}_canFitWithFlexibleDimensions(t,s,e){if(this._hasFlexibleDimensions){let i=e.bottom-s.y,n=e.right-s.x,r=qt(this._overlayRef.getConfig().minHeight),a=qt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=i,d=t.fitsInViewportHorizontally||a!=null&&a<=n;return h&&d}return!1}_pushOverlayOnScreen(t,s,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Kt(s),n=this._viewportRect,r=Math.max(t.x+i.width-n.width,0),a=Math.max(t.y+i.height-n.height,0),h=Math.max(n.top-e.top-t.y,0),d=Math.max(n.left-e.left-t.x,0),l=0,f=0;return i.width<=n.width?l=d||-r:l=t.x_&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-_/2)}let h=s.overlayX==="start"&&!i||s.overlayX==="end"&&i,d=s.overlayX==="end"&&!i||s.overlayX==="start"&&i,l,f,p;if(d)p=e.width-t.x+this._viewportMargin*2,l=t.x-this._viewportMargin;else if(h)f=t.x,l=e.right-t.x;else{let m=Math.min(e.right-t.x+e.left,t.x),_=this._lastBoundingBoxSize.width;l=m*2,f=t.x-m,l>_&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-_/2)}return{top:r,left:f,bottom:a,right:p,width:l,height:n}}_setBoundingBoxStyles(t,s){let e=this._calculateBoundingBoxRect(t,s);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=u(e.height),i.top=u(e.top),i.bottom=u(e.bottom),i.width=u(e.width),i.left=u(e.left),i.right=u(e.right),s.overlayX==="center"?i.alignItems="center":i.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?i.justifyContent="center":i.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",n&&(i.maxHeight=u(n)),r&&(i.maxWidth=u(r))}this._lastBoundingBoxSize=e,P(this._boundingBox.style,i)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,s){let e={},i=this._hasExactPosition(),n=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let l=this._viewportRuler.getViewportScrollPosition();P(e,this._getExactOverlayY(s,t,l)),P(e,this._getExactOverlayX(s,t,l))}else e.position="static";let a="",h=this._getOffset(s,"x"),d=this._getOffset(s,"y");h&&(a+=`translateX(${h}px) `),d&&(a+=`translateY(${d}px)`),e.transform=a.trim(),r.maxHeight&&(i?e.maxHeight=u(r.maxHeight):n&&(e.maxHeight="")),r.maxWidth&&(i?e.maxWidth=u(r.maxWidth):n&&(e.maxWidth="")),P(this._pane.style,e)}_getExactOverlayY(t,s,e){let i={top:"",bottom:""},n=this._getOverlayPoint(s,this._overlayRect,t);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(n.y+this._overlayRect.height)}px`}else i.top=u(n.y);return i}_getExactOverlayX(t,s,e){let i={left:"",right:""},n=this._getOverlayPoint(s,this._overlayRect,t);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(n.x+this._overlayRect.width)}px`}else i.left=u(n.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),s=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:$t(t,e),isOriginOutsideView:_t(t,e),isOverlayClipped:$t(s,e),isOverlayOutsideView:_t(s,e)}}_subtractOverflows(t,...s){return s.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+s-this._viewportMargin,width:t-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,s){return s==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&rt(t).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof R)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let s=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+s,height:e,width:s}}};function P(o,t){for(let s in t)t.hasOwnProperty(s)&&(o[s]=t[s]);return o}function qt(o){if(typeof o!="number"&&o!=null){let[t,s]=o.split(ue);return!s||s==="px"?parseFloat(t):null}return o||null}function Kt(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}function pe(o,t){return o===t?!0:o.isOriginClipped===t.isOriginClipped&&o.isOriginOutsideView===t.isOriginOutsideView&&o.isOverlayClipped===t.isOverlayClipped&&o.isOverlayOutsideView===t.isOverlayOutsideView}var Qt="cdk-global-overlay-wrapper",wt=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let s=t.getConfig();this._overlayRef=t,this._width&&!s.width&&t.updateSize({width:this._width}),this._height&&!s.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Qt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:n,maxWidth:r,maxHeight:a}=e,h=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),d=(n==="100%"||n==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,f=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",m="",_="",b="";h?b="flex-start":l==="center"?(b="center",p?_=f:m=f):p?l==="left"||l==="end"?(b="flex-end",m=f):(l==="right"||l==="start")&&(b="flex-start",_=f):l==="left"||l==="start"?(b="flex-start",m=f):(l==="right"||l==="end")&&(b="flex-end",_=f),t.position=this._cssPosition,t.marginLeft=h?"0":m,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":_,s.justifyContent=b,s.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,e=s.style;s.classList.remove(Qt),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},_e=(()=>{let t=class t{constructor(e,i,n,r){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=r}global(){return new wt}flexibleConnectedTo(e){return new yt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(c($),c(y),c(D),c(ee))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),ge=0,q=(()=>{let t=class t{constructor(e,i,n,r,a,h,d,l,f,p,m,_){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=d,this._document=l,this._directionality=f,this._location=p,this._outsideClickDispatcher=m,this._animationsModuleType=_}create(e){let i=this._createHostElement(),n=this._createPaneElement(i),r=this._createPortalOutlet(n),a=new G(e);return a.direction=a.direction||this._directionality.value,new vt(r,i,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(xt))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${ge++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(It)),new X(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(c(ce),c(ee),c(N),c(_e),c(de),c(V),c(C),c(y),c(ht),c(Ft),c(fe),c(Dt,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),me=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ie=new L("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let o=tt(q);return()=>o.scrollStrategies.reposition()}}),Jt=(()=>{let t=class t{constructor(e){this.elementRef=e}};t.\u0275fac=function(i){return new(i||t)(w(R))},t.\u0275dir=M({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let o=t;return o})(),Li=(()=>{let t=class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,n,r,a){this._overlay=e,this._dir=a,this._backdropSubscription=S.EMPTY,this._attachSubscription=S.EMPTY,this._detachSubscription=S.EMPTY,this._positionSubscription=S.EMPTY,this._disposeOnNavigation=!1,this._ngZone=tt(C),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new E,this.positionChange=new E,this.attach=new E,this.detach=new E,this.overlayKeydown=new E,this.overlayOutsideClick=new E,this._templatePortal=new T(i,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=me);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Lt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let n=this._getOriginElement(),r=Y(i);(!n||n!==r&&!n.contains(r))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new G({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(n=>({originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||this.offsetX,offsetY:n.offsetY||this.offsetY,panelClass:n.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Jt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Jt?this.origin.elementRef.nativeElement:this.origin instanceof R?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ot(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(w(q),w(z),w(I),w(ie),w(ht,8))},t.\u0275dir=M({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",x],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",x],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",x],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",x],push:[2,"cdkConnectedOverlayPush","push",x],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",x]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[st,et]});let o=t;return o})();function ve(o){return()=>o.scrollStrategies.reposition()}var ye={provide:ie,deps:[q],useFactory:ve},Vi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({providers:[q,ye],imports:[A,Nt,ft,ft]});let o=t;return o})();export{Re as a,lt as b,T as c,W as d,Te as e,Nt as f,Yt as g,ze as h,Z as i,Ne as j,Ht as k,Wt as l,Ye as m,dt as n,$ as o,Xt as p,ft as q,G as r,q as s,Jt as t,Li as u,Vi as v}; +import{$ as L,A as Rt,Aa as Dt,C as kt,D as j,E as Q,Ea as w,Ed as ht,Fa as z,Fd as A,Ga as N,Ja as C,Jb as It,Ka as Pt,La as Mt,Ma as I,Na as it,Nb as x,Oa as st,Pb as At,Qb as y,Rb as Ft,S as J,T as Ot,Tc as Tt,Uc as nt,Z as g,_ as k,a as B,b as Ct,ba as c,ca as tt,cd as ot,g as S,gd as rt,h as Et,ha as O,hd as u,i as St,ia as M,id as Bt,j as v,jd as D,ma as xt,md as jt,na as et,od as Y,pd as at,qd as Lt,s as K,ua as V,wa as R,xa as E}from"./chunk-MVLCGSW5.js";var Vt=nt(ot,o=>o.configs.defaultMode),zt=nt(ot,o=>o.configs.currentMode);var Re=(()=>{let t=class t{constructor(e){this.store=e,this.defaultMode$=this.store.select(Vt),this.currentMode$=this.store.select(zt)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(i){return new(i||t)(c(Tt))},t.\u0275prov=g({token:t,factory:t.\u0275fac});let o=t;return o})();var F=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},lt=class extends F{constructor(t,s,e,i,n){super(),this.component=t,this.viewContainerRef=s,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=n}},T=class extends F{constructor(t,s,e,i){super(),this.templateRef=t,this.viewContainerRef=s,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,s=this.context){return this.context=s,super.attach(t)}detach(){return this.context=void 0,super.detach()}},ct=class extends F{constructor(t){super(),this.element=t instanceof R?t.nativeElement:t}},W=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof lt)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof T)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof ct)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var X=class extends W{constructor(t,s,e,i,n){super(),this.outletElement=t,this._componentFactoryResolver=s,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=n}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||V.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let s=t.viewContainerRef,e=s.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=s.indexOf(e);i!==-1&&s.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Te=(()=>{let t=class t extends W{constructor(e,i,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new E,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(h,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(w(N),w(I),w(y))},t.\u0275dir=M({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[it]});let o=t;return o})();var Nt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({});let o=t;return o})();var Yt=class{};function ze(o){return o&&typeof o.connect=="function"&&!(o instanceof St)}var Z=function(o){return o[o.REPLACED=0]="REPLACED",o[o.INSERTED=1]="INSERTED",o[o.MOVED=2]="MOVED",o[o.REMOVED=3]="REMOVED",o}(Z||{}),Ne=new L("_ViewRepeater"),Ht=class{applyChanges(t,s,e,i,n){t.forEachOperation((r,a,h)=>{let d,l;if(r.previousIndex==null){let f=e(r,a,h);d=s.createEmbeddedView(f.templateRef,f.context,f.index),l=Z.INSERTED}else h==null?(s.remove(a),l=Z.REMOVED):(d=s.get(a),s.move(d,h),l=Z.MOVED);n&&n({context:d?.context,operation:l,record:r})})}detach(){}};var Wt=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,s,e=!0,i){this._multiple=t,this._emitChanges=e,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new v,s&&s.length&&(t?s.forEach(n=>this._markSelected(n)):this._markSelected(s[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e));let s=this._hasQueuedChanges();return this._emitChangeEvent(),s}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e));let s=this._hasQueuedChanges();return this._emitChangeEvent(),s}setSelection(...t){this._verifyValueAssignment(t);let s=this.selected,e=new Set(t);t.forEach(n=>this._markSelected(n)),s.filter(n=>!e.has(this._getConcreteValue(n,e))).forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let s=this._hasQueuedChanges();return t&&this._emitChangeEvent(),s}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,s){if(this.compareWith){s=s??this._selection;for(let e of s)if(this.compareWith(t,e))return e;return t}else return t}};var Ye=(()=>{let t=class t{constructor(){this._listeners=[]}notify(e,i){for(let n of this._listeners)n(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var re=20,dt=(()=>{let t=class t{constructor(e,i,n){this._ngZone=e,this._platform=i,this._scrolled=new v,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=re){return this._platform.isBrowser?new Et(i=>{this._globalSubscription||this._addGlobalListener();let n=e>0?this._scrolled.pipe(Q(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):K()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let n=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(j(r=>!r||n.indexOf(r)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let n=Bt(i),r=e.getElementRef().nativeElement;do if(n==r)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Rt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(c(C),c(D),c(y,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var ae=20,$=(()=>{let t=class t{constructor(e,i,n){this._platform=e,this._change=new v,this._changeListener=r=>{this._change.next(r)},this._document=n,i.runOutsideAngular(()=>{if(e.isBrowser){let r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect(),a=-r.top||e.body.scrollTop||i.scrollY||n.scrollTop||0,h=-r.left||e.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:a,left:h}}change(e=ae){return e>0?this._change.pipe(Q(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(c(D),c(C),c(y,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Xt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({});let o=t;return o})(),ft=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({imports:[A,Xt,A,Xt]});let o=t;return o})();var Zt=jt(),ut=class{constructor(t,s){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=u(-this._previousScrollPosition.left),t.style.top=u(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,s=this._document.body,e=t.style,i=s.style,n=e.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Zt&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Zt&&(e.scrollBehavior=n,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,e=this._viewportRuler.getViewportSize();return s.scrollHeight>e.height||s.scrollWidth>e.width}};var pt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._ngZone=s,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(j(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},U=class{enable(){}disable(){}attach(){}};function _t(o,t){return t.some(s=>{let e=o.bottoms.bottom,n=o.rights.right;return e||i||n||r})}function $t(o,t){return t.some(s=>{let e=o.tops.bottom,n=o.lefts.right;return e||i||n||r})}var gt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._viewportRuler=s,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();_t(s,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ce=(()=>{let t=class t{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this.noop=()=>new U,this.close=a=>new pt(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new ut(this._viewportRuler,this._document),this.reposition=a=>new gt(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}};t.\u0275fac=function(i){return new(i||t)(c(dt),c($),c(C),c(y))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),G=class{constructor(t){if(this.scrollStrategy=new U,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let s=Object.keys(t);for(let e of s)t[e]!==void 0&&(this[e]=t[e])}}};var mt=class{constructor(t,s){this.connectionPair=t,this.scrollableViewProperties=s}};var te=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(c(y))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),de=(()=>{let t=class t extends te{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=n=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let h=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>h.next(n)):h.next(n);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(i){return new(i||t)(c(y),c(C,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),fe=(()=>{let t=class t extends te{constructor(e,i,n){super(e),this._platform=i,this._ngZone=n,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Y(r)},this._clickListener=r=>{let a=Y(r),h=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let l=d.length-1;l>-1;l--){let f=d[l];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(Ut(f.overlayElement,a)||Ut(f.overlayElement,h))break;let p=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(r)):p.next(r)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(i){return new(i||t)(c(y),c(D),c(C,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();function Ut(o,t){let s=typeof ShadowRoot<"u"&&ShadowRoot,e=t;for(;e;){if(e===o)return!0;e=s&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var ee=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||at()){let n=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)},this._keydownEvents=new v,this._outsidePointerEvents=new v,this._renders=new v,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=At(()=>Pt(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Mt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=B(B({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Ct(B({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=u(this._config.width),t.height=u(this._config.height),t.minWidth=u(this._config.minWidth),t.minHeight=u(this._config.minHeight),t.maxWidth=u(this._config.maxWidth),t.maxHeight=u(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,s,e){let i=rt(s||[]).filter(n=>!!n);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(J(kt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Gt="cdk-overlay-connected-position-bounding-box",ue=/([A-Za-z%]+)$/,yt=class{get positions(){return this._preferredPositions}constructor(t,s,e,i,n){this._viewportRuler=s,this._document=e,this._platform=i,this._overlayContainer=n,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new v,this._resizeSubscription=S.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Gt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,s=this._overlayRect,e=this._viewportRect,i=this._containerRect,n=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,i,a),d=this._getOverlayPoint(h,s,a),l=this._getOverlayFit(d,s,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,d,e)){n.push({position:a,origin:h,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=l,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Gt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,s)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,s,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?r:a}s.left<0&&(i-=s.left);let n;return e.originY=="center"?n=t.top+t.height/2:n=e.originY=="top"?t.top:t.bottom,s.top<0&&(n-=s.top),{x:i,y:n}}_getOverlayPoint(t,s,e){let i;e.overlayX=="center"?i=-s.width/2:e.overlayX==="start"?i=this._isRtl()?-s.width:0:i=this._isRtl()?0:-s.width;let n;return e.overlayY=="center"?n=-s.height/2:n=e.overlayY=="top"?0:-s.height,{x:t.x+i,y:t.y+n}}_getOverlayFit(t,s,e,i){let n=Kt(s),{x:r,y:a}=t,h=this._getOffset(i,"x"),d=this._getOffset(i,"y");h&&(r+=h),d&&(a+=d);let l=0-r,f=r+n.width-e.width,p=0-a,m=a+n.height-e.height,_=this._subtractOverflows(n.width,l,f),b=this._subtractOverflows(n.height,p,m),bt=_*b;return{visibleArea:bt,isCompletelyWithinViewport:n.width*n.height===bt,fitsInViewportVertically:b===n.height,fitsInViewportHorizontally:_==n.width}}_canFitWithFlexibleDimensions(t,s,e){if(this._hasFlexibleDimensions){let i=e.bottom-s.y,n=e.right-s.x,r=qt(this._overlayRef.getConfig().minHeight),a=qt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=i,d=t.fitsInViewportHorizontally||a!=null&&a<=n;return h&&d}return!1}_pushOverlayOnScreen(t,s,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Kt(s),n=this._viewportRect,r=Math.max(t.x+i.width-n.width,0),a=Math.max(t.y+i.height-n.height,0),h=Math.max(n.top-e.top-t.y,0),d=Math.max(n.left-e.left-t.x,0),l=0,f=0;return i.width<=n.width?l=d||-r:l=t.x_&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-_/2)}let h=s.overlayX==="start"&&!i||s.overlayX==="end"&&i,d=s.overlayX==="end"&&!i||s.overlayX==="start"&&i,l,f,p;if(d)p=e.width-t.x+this._viewportMargin*2,l=t.x-this._viewportMargin;else if(h)f=t.x,l=e.right-t.x;else{let m=Math.min(e.right-t.x+e.left,t.x),_=this._lastBoundingBoxSize.width;l=m*2,f=t.x-m,l>_&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-_/2)}return{top:r,left:f,bottom:a,right:p,width:l,height:n}}_setBoundingBoxStyles(t,s){let e=this._calculateBoundingBoxRect(t,s);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=u(e.height),i.top=u(e.top),i.bottom=u(e.bottom),i.width=u(e.width),i.left=u(e.left),i.right=u(e.right),s.overlayX==="center"?i.alignItems="center":i.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?i.justifyContent="center":i.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",n&&(i.maxHeight=u(n)),r&&(i.maxWidth=u(r))}this._lastBoundingBoxSize=e,P(this._boundingBox.style,i)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,s){let e={},i=this._hasExactPosition(),n=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let l=this._viewportRuler.getViewportScrollPosition();P(e,this._getExactOverlayY(s,t,l)),P(e,this._getExactOverlayX(s,t,l))}else e.position="static";let a="",h=this._getOffset(s,"x"),d=this._getOffset(s,"y");h&&(a+=`translateX(${h}px) `),d&&(a+=`translateY(${d}px)`),e.transform=a.trim(),r.maxHeight&&(i?e.maxHeight=u(r.maxHeight):n&&(e.maxHeight="")),r.maxWidth&&(i?e.maxWidth=u(r.maxWidth):n&&(e.maxWidth="")),P(this._pane.style,e)}_getExactOverlayY(t,s,e){let i={top:"",bottom:""},n=this._getOverlayPoint(s,this._overlayRect,t);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(n.y+this._overlayRect.height)}px`}else i.top=u(n.y);return i}_getExactOverlayX(t,s,e){let i={left:"",right:""},n=this._getOverlayPoint(s,this._overlayRect,t);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(n.x+this._overlayRect.width)}px`}else i.left=u(n.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),s=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:$t(t,e),isOriginOutsideView:_t(t,e),isOverlayClipped:$t(s,e),isOverlayOutsideView:_t(s,e)}}_subtractOverflows(t,...s){return s.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+s-this._viewportMargin,width:t-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,s){return s==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&rt(t).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof R)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let s=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+s,height:e,width:s}}};function P(o,t){for(let s in t)t.hasOwnProperty(s)&&(o[s]=t[s]);return o}function qt(o){if(typeof o!="number"&&o!=null){let[t,s]=o.split(ue);return!s||s==="px"?parseFloat(t):null}return o||null}function Kt(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}function pe(o,t){return o===t?!0:o.isOriginClipped===t.isOriginClipped&&o.isOriginOutsideView===t.isOriginOutsideView&&o.isOverlayClipped===t.isOverlayClipped&&o.isOverlayOutsideView===t.isOverlayOutsideView}var Qt="cdk-global-overlay-wrapper",wt=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let s=t.getConfig();this._overlayRef=t,this._width&&!s.width&&t.updateSize({width:this._width}),this._height&&!s.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Qt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:n,maxWidth:r,maxHeight:a}=e,h=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),d=(n==="100%"||n==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,f=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",m="",_="",b="";h?b="flex-start":l==="center"?(b="center",p?_=f:m=f):p?l==="left"||l==="end"?(b="flex-end",m=f):(l==="right"||l==="start")&&(b="flex-start",_=f):l==="left"||l==="start"?(b="flex-start",m=f):(l==="right"||l==="end")&&(b="flex-end",_=f),t.position=this._cssPosition,t.marginLeft=h?"0":m,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":_,s.justifyContent=b,s.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,e=s.style;s.classList.remove(Qt),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},_e=(()=>{let t=class t{constructor(e,i,n,r){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=r}global(){return new wt}flexibleConnectedTo(e){return new yt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(c($),c(y),c(D),c(ee))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),ge=0,q=(()=>{let t=class t{constructor(e,i,n,r,a,h,d,l,f,p,m,_){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=d,this._document=l,this._directionality=f,this._location=p,this._outsideClickDispatcher=m,this._animationsModuleType=_}create(e){let i=this._createHostElement(),n=this._createPaneElement(i),r=this._createPortalOutlet(n),a=new G(e);return a.direction=a.direction||this._directionality.value,new vt(r,i,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(xt))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${ge++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(It)),new X(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(c(ce),c(ee),c(N),c(_e),c(de),c(V),c(C),c(y),c(ht),c(Ft),c(fe),c(Dt,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})(),me=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ie=new L("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let o=tt(q);return()=>o.scrollStrategies.reposition()}}),Jt=(()=>{let t=class t{constructor(e){this.elementRef=e}};t.\u0275fac=function(i){return new(i||t)(w(R))},t.\u0275dir=M({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let o=t;return o})(),Li=(()=>{let t=class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,n,r,a){this._overlay=e,this._dir=a,this._backdropSubscription=S.EMPTY,this._attachSubscription=S.EMPTY,this._detachSubscription=S.EMPTY,this._positionSubscription=S.EMPTY,this._disposeOnNavigation=!1,this._ngZone=tt(C),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new E,this.positionChange=new E,this.attach=new E,this.detach=new E,this.overlayKeydown=new E,this.overlayOutsideClick=new E,this._templatePortal=new T(i,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=me);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Lt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let n=this._getOriginElement(),r=Y(i);(!n||n!==r&&!n.contains(r))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new G({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(n=>({originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||this.offsetX,offsetY:n.offsetY||this.offsetY,panelClass:n.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Jt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Jt?this.origin.elementRef.nativeElement:this.origin instanceof R?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ot(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(w(q),w(z),w(I),w(ie),w(ht,8))},t.\u0275dir=M({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",x],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",x],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",x],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",x],push:[2,"cdkConnectedOverlayPush","push",x],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",x]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[st,et]});let o=t;return o})();function ve(o){return()=>o.scrollStrategies.reposition()}var ye={provide:ie,deps:[q],useFactory:ve},Vi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=O({type:t}),t.\u0275inj=k({providers:[q,ye],imports:[A,Nt,ft,ft]});let o=t;return o})();export{Re as a,lt as b,T as c,W as d,Te as e,Nt as f,Yt as g,ze as h,Z as i,Ne as j,Ht as k,Wt as l,Ye as m,dt as n,$ as o,Xt as p,ft as q,G as r,q as s,Jt as t,Li as u,Vi as v}; diff --git a/frontend/server/modelsmith-build/browser/chunk-JBGOI3PV.js b/frontend/server/modelsmith-build/browser/chunk-IHFL5CFV.js similarity index 91% rename from frontend/server/modelsmith-build/browser/chunk-JBGOI3PV.js rename to frontend/server/modelsmith-build/browser/chunk-IHFL5CFV.js index 1a7fe998..67a1067c 100644 --- a/frontend/server/modelsmith-build/browser/chunk-JBGOI3PV.js +++ b/frontend/server/modelsmith-build/browser/chunk-IHFL5CFV.js @@ -1 +1 @@ -import{a as Ze,b as ee}from"./chunk-CRYH3KM4.js";import{b as Ke}from"./chunk-C4NPICWQ.js";import{i as qe}from"./chunk-Z6QRPUWD.js";import{a as Tt,b as gt,c as bt}from"./chunk-I7VABAG6.js";import{a as We,b as Ge}from"./chunk-JG6SCBOL.js";import{b as J,c as Qe}from"./chunk-XX6ZYDLH.js";import{d as Je}from"./chunk-UWC6A2K5.js";import{a as $e,b as Z}from"./chunk-MCE6M2DX.js";import{a as M,b as f}from"./chunk-O6HMI7CW.js";import{b as Xe,n as Le,s as Ye}from"./chunk-WXERLI5K.js";import{a as Ne,d as Ue,h as He,i as $,j as ze,k as q}from"./chunk-BTHDGCD5.js";import{$ as he,$a as s,Ab as C,Ba as ve,D as fe,Da as I,Ea as a,Eb as Me,Gb as Oe,I as N,J as U,Ra as P,Rb as we,Ub as De,Yd as Ee,Z as E,Zb as A,a as R,ab as l,ba as D,bb as c,be as _e,ce as Ae,de as xe,e as ne,f as se,fb as Se,fe as ke,ga as b,ia as de,ib as m,j as ae,ja as ue,je as Re,lb as Te,mb as ge,me as je,oa as y,oe as Ve,p as g,pa as F,pb as be,pe as Be,qb as ye,qe as Y,rb as Fe,sb as Pe,sc as Ie,tb as _,tc as le,te as W,ua as H,ub as Ce,ue as G,wa as z,wc as j,we as K,xa as h,xc as L,xe as Q,zb as X,zc as ce}from"./chunk-MDAOMI2L.js";var O=function(i){return i.OPEN="open",i.DISMISS="dismiss",i.SAVE="save",i.CLOSE="close",i}(O||{});var x=function(i){return i.TOP="top",i.LEFT="left",i.RIGHT="right",i.BOTTOM="bottom",i}(x||{});var et="200px",tt="80px",me=x.TOP,V=150,ot={top:{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-24,offsetX:-9},bottom:{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:4,offsetX:-7},left:{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-22,offsetY:-12},right:{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:8,offsetY:-10}};var d=class{constructor(e){this.overlayRef=e,this.isClosing=!1,this.afterClosedSubject=new ae,this.dataSubject=new ae,this.data$=this.dataSubject.asObservable()}emitData(e){this.dataSubject.next(e)}backdropClick(){return this.overlayRef.backdropClick()}close(e,o=!0){this.isClosing=!0,this.afterClosedSubject.next(e),this.afterClosedSubject.complete(),this.dataSubject.complete(),setTimeout(()=>{this.overlayRef.dispose()},o?V:0)}afterClosed(){return this.afterClosedSubject.asObservable()}updatePosition(){this.overlayRef.updatePosition()}};var k=new he("POPOVER");var it=(()=>{let e=class e{constructor(){this.activePopovers=new Map}registerPopover(t,r){this.activePopovers.set(t,r)}deregisterPopover(t){this.activePopovers.delete(t)}closePopoverById(t,r,n=!0){let p=this.activePopovers.get(t);p&&(p.close(r,n),this.activePopovers.delete(t))}closeAllPopovers(){this.activePopovers.forEach(t=>t.close()),this.activePopovers.clear()}hasActivePopover(t){return this.activePopovers.has(t)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var nt=ne(Tt()),st=ne(gt()),at=ne(bt());var Mt=["terminal"],u,rt=(u=class{constructor(e){this.terminalWebSocketService=e,this.fitAddon=new nt.FitAddon,this.searchAddon=new st.SearchAddon}ngOnInit(){this.initializeTerminal(),this.subscribeToWebSocketMessages()}ngAfterViewInit(){requestAnimationFrame(()=>{this.adjustTerminalContainer()})}initializeTerminal(){this.terminal=new at.Terminal(R({cursorBlink:!0,theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000",selectionBackground:"#FFDD00",selectionForeground:"#000000"},allowProposedApi:!0,scrollback:1e3},this.options)),this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalDiv.nativeElement),this.setupResizeObserver(),this.terminal.onData(e=>{this.terminalWebSocketService.sendMessage(e)})}subscribeToWebSocketMessages(){this.terminalWebSocketService.messages$.pipe(f(this)).subscribe(e=>{this.terminal.write(e)})}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>{this.adjustTerminalContainer()}),this.resizeObserver.observe(this.terminalDiv.nativeElement)}adjustTerminalContainer(){this.adjustHeightToParent(),this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){this.terminalDiv.nativeElement.style.height="auto";let r=e.offsetHeight-100;this.terminalDiv.nativeElement.style.height=`${r}px`}}ngOnDestroy(){this.resizeObserver?.disconnect(),this.terminal.dispose()}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}clearSearch(){this.searchAddon.clearDecorations(),this.searchAddon.findNext("")}clearTerminal(){this.terminal.clear()}scrollToTop(){this.terminal.scrollToTop()}scrollToBottom(){this.terminal.scrollToBottom()}},u.\u0275fac=function(o){return new(o||u)(a(ee))},u.\u0275cmp=b({type:u,selectors:[["ms-terminal-xterm"]],viewQuery:function(o,t){if(o&1&&be(Mt,7),o&2){let r;ye(r=Fe())&&(t.terminalDiv=r.first)}},inputs:{options:"options"},standalone:!0,features:[X([Z,Ze]),C],decls:2,vars:0,consts:[["terminal",""],[1,"terminal-wrapper"]],template:function(o,t){o&1&&c(0,"div",1,0)}}),u);rt=g([M({})],rt);var ct=(i,e)=>{let o={};return i&<(o,i,"width"),e&<(o,e,"height"),o},lt=(i,e,o)=>{let t=Ot(e);t==="px"||t==="rem"||t==="em"?i[`${o}.${t}`]=parseFloat(e):i[o]=e},Ot=i=>{let o=(typeof i=="string"?i:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"},mt=()=>"popover-"+Math.random().toString(36).slice(2,11);var te=(()=>{let e=class e{constructor(t,r,n,p){this.overlay=t,this.injector=r,this.scrollDispatcher=n,this.popoverManager=p}open(t,r,n,p){let dt=this.getPositionStrategy(r,n?.position??me),pe=this.overlay.create(R({positionStrategy:dt},n||{})),B=new d(pe),ut=H.create({parent:this.injector,providers:[{provide:d,useValue:B},{provide:k,useValue:R({position:me,closePopoverOnBackdropClick:!1,closePopoverOnEscKeyUp:!0,width:n?.width||et,height:n?.height||tt},n)}]}),vt=new Xe(t,null,ut);pe.attach(vt);let St=p??mt();return this.popoverManager.registerPopover(St,B),this.scrollDispatcher.scrolled().subscribe(()=>{B.updatePosition()}),B}getPositionStrategy(t,r){let n=t instanceof z?t.nativeElement:t,p=ot[r];return this.overlay.position().flexibleConnectedTo(n).withFlexibleDimensions(!1).withPush(!1).withPositions([p]).withViewportMargin(0)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(H),D(Le),D(it))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let i=e;return i})();var pt=(()=>{let e=class e{constructor(t){this.el=t}ngAfterViewInit(){setTimeout(()=>{this.el.nativeElement.focus()},0)}};e.\u0275fac=function(r){return new(r||e)(a(z))},e.\u0275dir=de({type:e,selectors:[["","msAutofocus",""]],standalone:!0});let i=e;return i})();var oe=(()=>{let e=class e{constructor(t){this.dialogService=t}openFullScreenDialog(t){return se(this,null,function*(){if(t)return;let{MsTerminalFullscreenDialogComponent:r}=yield import("./chunk-H7JRQDHZ.js");document.body.classList.add("no-scroll"),this.dialogService.open(r,{showHeader:!1,showFooter:!1,showSaveButton:!1,width:"100vw",height:"100vh"}).afterClosed().pipe(N(1)).subscribe(()=>{document.body.classList.remove("no-scroll")})})}openMessagesHistoryDialog(){return se(this,null,function*(){let{MsTerminalMessagesHistoryDialogComponent:t}=yield import("./chunk-UY4OZF5K.js");this.dialogService.open(t,{title:"Terminal history",showSaveButton:!1,width:"60vw",height:"75vh"})})}};e.\u0275fac=function(r){return new(r||e)(D(Je))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let i=e;return i})();var ft=(()=>{let e=class e{transform(t,r){return ct(t,r)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=ue({name:"iconPanelSizeStyles",type:e,pure:!0,standalone:!0});let i=e;return i})();var _t=["*"],v,ie=(v=class{constructor(e,o){this.popoverRef=e,this.data=o,this.actionEvent=new h,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(O.CLOSE),this.popoverRef.close({status:O.CLOSE})}onSave(){this.actionEvent.emit(O.SAVE),this.popoverRef.close({status:O.SAVE})}onDismiss(){this.actionEvent.emit(O.DISMISS),this.popoverRef.close({status:O.DISMISS})}closeDrawerOnBackdropClick(){this.data.closePopoverOnBackdropClick&&this.popoverRef.backdropClick().pipe(f(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closePopoverOnEscKeyUp&&this.onDismiss()}},v.\u0275fac=function(o){return new(o||v)(a(d),a(k))},v.\u0275cmp=b({type:v,selectors:[["ms-popover"]],hostBindings:function(o,t){o&1&&m("keyup.esc",function(){return t.onEscKeyDown()},!1,ve)},inputs:{contentTemplate:"contentTemplate"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[C],ngContentSelectors:_t,decls:8,vars:6,consts:[[1,"tooltip-container","popover-element",3,"ngClass","ngStyle"],[1,"tooltip-arrow"],[1,"popover-content"],[1,"close-button"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error","size-20"]],template:function(o,t){o&1&&(Te(),s(0,"div",0),Me(1,"iconPanelSizeStyles"),c(2,"div",1),s(3,"div",2),ge(4),l(),s(5,"div",3)(6,"button",4),m("click",function(){return t.onClose()}),c(7,"mat-icon",5),l()()()),o&2&&P("ngClass",t.data.position)("ngStyle",Oe(1,3,t.data.width,t.data.height))("@fadeInOut",t.popoverRef.isClosing)},dependencies:[A,we,De,Q,K,G,W,ft],styles:[".tooltip-container[_ngcontent-%COMP%]{position:relative;background-color:var(--tooltip);color:var(--terminal-color);border-radius:6px;box-shadow:0 4px 8px #0000001a;padding:10px 8px}.tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-style:solid}.tooltip-content[_ngcontent-%COMP%]{padding:12px}.tooltip-container.top[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:-10px;left:50%;transform:translate(-50%);border-width:10px 10px 0 10px;border-color:var(--tooltip) transparent transparent transparent}.tooltip-container.bottom[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:-10px;left:50%;transform:translate(-50%);border-width:0 10px 10px 10px;border-color:transparent transparent var(--tooltip) transparent}.tooltip-container.left[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{right:-10px;top:50%;transform:translateY(-50%);border-width:10px 0 10px 10px;border-color:transparent transparent transparent var(--tooltip)}.tooltip-container.right[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{left:-10px;top:50%;transform:translateY(-50%);border-width:10px 10px 10px 0;border-color:transparent var(--tooltip) transparent transparent}.close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0}"],data:{animation:[Ie("fadeInOut",[L("void",j({opacity:0})),L("true",j({opacity:0})),L("false",j({opacity:1})),ce(":enter",[le(`${V}ms ease-in`,j({opacity:1}))]),ce("false => true",[le(`${V}ms ease-out`)])])]}}),v);ie=g([M()],ie);var S,re=(S=class{get searchFormControl(){return this.searchForm.get("search")}constructor(e,o,t){this.popoverRef=e,this.iconPanelConfig=o,this.fb=t,this.searchForm=new xe({})}ngOnInit(){this.initForm(),this.listenToSearchFormControlValueChanges()}initForm(){this.searchForm=this.fb.group({search:[""]})}listenToSearchFormControlValueChanges(){this.searchFormControl.valueChanges.pipe(f(this),U(200)).subscribe(e=>{this.popoverRef.emitData(e)})}},S.\u0275fac=function(o){return new(o||S)(a(d),a(k),a(Ve))},S.\u0275cmp=b({type:S,selectors:[["ms-terminal-toolbar-search-popover"]],standalone:!0,features:[C],decls:7,vars:1,consts:[[1,"form-field-container","dark",3,"formGroup"],["subscriptSizing","dynamic"],["msErrorDisplay","","matInput","","msAutofocus","","formControlName","search"],["fontSet","ms","fontIcon","icon-MagnifyingGlass","matSuffix",""]],template:function(o,t){o&1&&(s(0,"ms-popover")(1,"div",0)(2,"mat-label"),_(3," Search... "),l(),s(4,"mat-form-field",1),c(5,"input",2)(6,"mat-icon",3),l()()()),o&2&&(I(),P("formGroup",t.searchForm))},dependencies:[A,q,ze,He,Ne,Ue,$,Y,Ee,_e,Ae,Re,je,ie,qe,pt]}),S);re=g([M({})],re);var T,ht=(T=class{constructor(e,o,t,r){this.scriptFacadeService=e,this.terminalWebSocketService=o,this.terminalDialogService=t,this.popoverService=r,this.isFullscreen=!1,this.isScriptActive=!1,this.popoverId="",this.clearTerminal=new h,this.scrollToTopTerminal=new h,this.scrollToBottomTerminal=new h,this.searchTerminal=new h,this.disposeSearch=new h,this.exitFullscreen=new h,this.searchFormControl=new ke("")}ngOnInit(){this.listenToScriptStateChanges(),this.listenToSearchFormControlChanges()}clearTerminalScreen(){this.terminalWebSocketService.clearScreen()}openPanel(e){J(this.searchPanelRef)&&(this.searchPanelRef=this.popoverService.open(re,e._elementRef,{position:this.isFullscreen?x.BOTTOM:x.TOP,width:"200px",height:"60px"},this.popoverId??""),this.searchPanelRef.data$.pipe(f(this)).subscribe(o=>{this.searchTerminal.emit(o)}),this.searchPanelRef.afterClosed().pipe(N(1)).subscribe(()=>{this.searchPanelRef=void 0,this.disposeSearch.emit()}))}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(f(this),U(300),fe(e=>!Qe(e))).subscribe(e=>{this.searchTerminal.emit(e)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(e=>{this.isScriptActive=Ke(e)})}ctaStopScript(){this.scriptFacadeService.dispatch($e.stopScript())}openTerminalMessagesHistoryDialog(){J(this.searchPanelRef)||this.searchPanelRef?.close(),this.terminalDialogService.openMessagesHistoryDialog()}openFullScreenMode(){if(this.isFullscreen){this.exitFullscreen.emit();return}this.searchPanelRef?.close(),this.terminalDialogService.openFullScreenDialog(this.isFullscreen)}ngOnDestroy(){J(this.searchPanelRef)||this.searchPanelRef?.close()}},T.\u0275fac=function(o){return new(o||T)(a(Z),a(ee),a(oe),a(te))},T.\u0275cmp=b({type:T,selectors:[["ms-terminal-toolbar"]],inputs:{isFullscreen:"isFullscreen",isScriptActive:"isScriptActive",popoverId:"popoverId"},outputs:{clearTerminal:"clearTerminal",scrollToTopTerminal:"scrollToTopTerminal",scrollToBottomTerminal:"scrollToBottomTerminal",searchTerminal:"searchTerminal",disposeSearch:"disposeSearch",exitFullscreen:"exitFullscreen"},standalone:!0,features:[X([oe,te]),C],decls:19,vars:4,consts:[["searchTooltip",""],[1,"buttons-wrapper"],["mat-icon-button","","color","primary","matTooltip","Search terminal",3,"click"],["fontSet","ms","fontIcon","icon-MagnifyingGlass"],["mat-icon-button","","color","primary","matTooltip","Terminal history",3,"click"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],["mat-icon-button","","color","primary","matTooltip","Clear terminal",3,"click","disabled"],["mat-icon-button","","color","primary",3,"click","matTooltip"],["mat-icon-button","","color","warn","matTooltip","Stop current process",3,"click","disabled"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(o,t){if(o&1){let r=Se();s(0,"div",1)(1,"button",2,0),m("click",function(){y(r);let p=Pe(2);return F(t.openPanel(p))}),c(3,"mat-icon",3),l(),s(4,"button",4),m("click",function(){return y(r),F(t.openTerminalMessagesHistoryDialog())}),s(5,"mat-icon"),_(6,"history"),l()(),s(7,"button",5),m("click",function(){return y(r),F(t.scrollToTopTerminal.emit())}),c(8,"mat-icon",6),l(),s(9,"button",7),m("click",function(){return y(r),F(t.scrollToBottomTerminal.emit())}),c(10,"mat-icon",8),l(),s(11,"button",9),m("click",function(){return y(r),F(t.clearTerminalScreen())}),s(12,"mat-icon"),_(13," clear_all"),l()(),s(14,"button",10),m("click",function(){return y(r),F(t.openFullScreenMode())}),s(15,"mat-icon"),_(16),l()(),s(17,"button",11),m("click",function(){return y(r),F(t.ctaStopScript())}),c(18,"mat-icon",12),l()()}o&2&&(I(11),P("disabled",t.isScriptActive),I(3),P("matTooltip",t.isFullscreen?"Exit fullscreen":"Enter fullscreen"),I(2),Ce(t.isFullscreen?"fullscreen_exit":"fullscreen"),I(),P("disabled",!t.isScriptActive))},dependencies:[A,G,W,Q,K,Ge,We,Be,Y,$,q]}),T);ht=g([M({})],ht);export{O as a,it as b,rt as c,ht as d}; +import{a as Ze,b as ee}from"./chunk-WO6G2TMA.js";import{b as Ke}from"./chunk-C4NPICWQ.js";import{i as qe}from"./chunk-PMG2IJPH.js";import{a as Tt,b as gt,c as bt}from"./chunk-HTQHSSGZ.js";import{a as We,b as Ge}from"./chunk-CXMHZ5XC.js";import{b as J,c as Qe}from"./chunk-XX6ZYDLH.js";import{d as Je}from"./chunk-5MCZHTBZ.js";import{a as $e,b as Z}from"./chunk-XSOJ6DN4.js";import{a as M,b as f}from"./chunk-KP473PLS.js";import{b as Xe,n as Le,s as Ye}from"./chunk-I333ACNB.js";import{a as Ne,d as Ue,h as He,i as $,j as ze,k as q}from"./chunk-LCKMIOUI.js";import{$ as he,$a as s,Ab as X,Ac as ce,Ba as ve,Bb as C,D as fe,Da as I,Ea as a,Fb as Me,Hb as Oe,I as N,J as U,Ra as P,Sb as we,Vb as De,Z as E,Zd as Ee,_b as A,a as R,ab as l,ba as D,bb as c,ce as _e,de as Ae,e as ne,ee as xe,f as se,fb as Se,ga as b,ge as ke,ia as de,ib as m,j as ae,ja as ue,ke as Re,lb as Te,mb as ge,ne as je,oa as y,p as g,pa as F,pb as be,pe as Ve,qb as ye,qe as Be,rb as Fe,re as Y,sb as Pe,tb as _,tc as Ie,ua as H,ub as Ce,uc as le,ue as W,ve as G,wa as z,xa as h,xc as j,xe as K,yc as L,ye as Q}from"./chunk-MVLCGSW5.js";var O=function(i){return i.OPEN="open",i.DISMISS="dismiss",i.SAVE="save",i.CLOSE="close",i}(O||{});var x=function(i){return i.TOP="top",i.LEFT="left",i.RIGHT="right",i.BOTTOM="bottom",i}(x||{});var et="200px",tt="80px",me=x.TOP,V=150,ot={top:{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-24,offsetX:-9},bottom:{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:4,offsetX:-7},left:{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-22,offsetY:-12},right:{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:8,offsetY:-10}};var d=class{constructor(e){this.overlayRef=e,this.isClosing=!1,this.afterClosedSubject=new ae,this.dataSubject=new ae,this.data$=this.dataSubject.asObservable()}emitData(e){this.dataSubject.next(e)}backdropClick(){return this.overlayRef.backdropClick()}close(e,o=!0){this.isClosing=!0,this.afterClosedSubject.next(e),this.afterClosedSubject.complete(),this.dataSubject.complete(),setTimeout(()=>{this.overlayRef.dispose()},o?V:0)}afterClosed(){return this.afterClosedSubject.asObservable()}updatePosition(){this.overlayRef.updatePosition()}};var k=new he("POPOVER");var it=(()=>{let e=class e{constructor(){this.activePopovers=new Map}registerPopover(t,r){this.activePopovers.set(t,r)}deregisterPopover(t){this.activePopovers.delete(t)}closePopoverById(t,r,n=!0){let p=this.activePopovers.get(t);p&&(p.close(r,n),this.activePopovers.delete(t))}closeAllPopovers(){this.activePopovers.forEach(t=>t.close()),this.activePopovers.clear()}hasActivePopover(t){return this.activePopovers.has(t)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var nt=ne(Tt()),st=ne(gt()),at=ne(bt());var Mt=["terminal"],u,rt=(u=class{constructor(e){this.terminalWebSocketService=e,this.fitAddon=new nt.FitAddon,this.searchAddon=new st.SearchAddon}ngOnInit(){this.initializeTerminal(),this.subscribeToWebSocketMessages()}ngAfterViewInit(){requestAnimationFrame(()=>{this.adjustTerminalContainer()})}initializeTerminal(){this.terminal=new at.Terminal(R({cursorBlink:!0,theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000",selectionBackground:"#FFDD00",selectionForeground:"#000000"},allowProposedApi:!0,scrollback:1e3},this.options)),this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalDiv.nativeElement),this.setupResizeObserver(),this.terminal.onData(e=>{this.terminalWebSocketService.sendMessage(e)})}subscribeToWebSocketMessages(){this.terminalWebSocketService.messages$.pipe(f(this)).subscribe(e=>{this.terminal.write(e)})}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>{this.adjustTerminalContainer()}),this.resizeObserver.observe(this.terminalDiv.nativeElement)}adjustTerminalContainer(){this.adjustHeightToParent(),this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){this.terminalDiv.nativeElement.style.height="auto";let r=e.offsetHeight-100;this.terminalDiv.nativeElement.style.height=`${r}px`}}ngOnDestroy(){this.resizeObserver?.disconnect(),this.terminal.dispose()}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}clearSearch(){this.searchAddon.clearDecorations(),this.searchAddon.findNext("")}clearTerminal(){this.terminal.clear()}scrollToTop(){this.terminal.scrollToTop()}scrollToBottom(){this.terminal.scrollToBottom()}},u.\u0275fac=function(o){return new(o||u)(a(ee))},u.\u0275cmp=b({type:u,selectors:[["ms-terminal-xterm"]],viewQuery:function(o,t){if(o&1&&be(Mt,7),o&2){let r;ye(r=Fe())&&(t.terminalDiv=r.first)}},inputs:{options:"options"},standalone:!0,features:[X([Z,Ze]),C],decls:2,vars:0,consts:[["terminal",""],[1,"terminal-wrapper"]],template:function(o,t){o&1&&c(0,"div",1,0)}}),u);rt=g([M({})],rt);var ct=(i,e)=>{let o={};return i&<(o,i,"width"),e&<(o,e,"height"),o},lt=(i,e,o)=>{let t=Ot(e);t==="px"||t==="rem"||t==="em"?i[`${o}.${t}`]=parseFloat(e):i[o]=e},Ot=i=>{let o=(typeof i=="string"?i:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"},mt=()=>"popover-"+Math.random().toString(36).slice(2,11);var te=(()=>{let e=class e{constructor(t,r,n,p){this.overlay=t,this.injector=r,this.scrollDispatcher=n,this.popoverManager=p}open(t,r,n,p){let dt=this.getPositionStrategy(r,n?.position??me),pe=this.overlay.create(R({positionStrategy:dt},n||{})),B=new d(pe),ut=H.create({parent:this.injector,providers:[{provide:d,useValue:B},{provide:k,useValue:R({position:me,closePopoverOnBackdropClick:!1,closePopoverOnEscKeyUp:!0,width:n?.width||et,height:n?.height||tt},n)}]}),vt=new Xe(t,null,ut);pe.attach(vt);let St=p??mt();return this.popoverManager.registerPopover(St,B),this.scrollDispatcher.scrolled().subscribe(()=>{B.updatePosition()}),B}getPositionStrategy(t,r){let n=t instanceof z?t.nativeElement:t,p=ot[r];return this.overlay.position().flexibleConnectedTo(n).withFlexibleDimensions(!1).withPush(!1).withPositions([p]).withViewportMargin(0)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(H),D(Le),D(it))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let i=e;return i})();var pt=(()=>{let e=class e{constructor(t){this.el=t}ngAfterViewInit(){setTimeout(()=>{this.el.nativeElement.focus()},0)}};e.\u0275fac=function(r){return new(r||e)(a(z))},e.\u0275dir=de({type:e,selectors:[["","msAutofocus",""]],standalone:!0});let i=e;return i})();var oe=(()=>{let e=class e{constructor(t){this.dialogService=t}openFullScreenDialog(t){return se(this,null,function*(){if(t)return;let{MsTerminalFullscreenDialogComponent:r}=yield import("./chunk-4V6EPGXL.js");document.body.classList.add("no-scroll"),this.dialogService.open(r,{showHeader:!1,showFooter:!1,showSaveButton:!1,width:"100vw",height:"100vh"}).afterClosed().pipe(N(1)).subscribe(()=>{document.body.classList.remove("no-scroll")})})}openMessagesHistoryDialog(){return se(this,null,function*(){let{MsTerminalMessagesHistoryDialogComponent:t}=yield import("./chunk-GN6MWEDH.js");this.dialogService.open(t,{title:"Terminal history",showSaveButton:!1,width:"60vw",height:"75vh"})})}};e.\u0275fac=function(r){return new(r||e)(D(Je))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let i=e;return i})();var ft=(()=>{let e=class e{transform(t,r){return ct(t,r)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=ue({name:"iconPanelSizeStyles",type:e,pure:!0,standalone:!0});let i=e;return i})();var _t=["*"],v,ie=(v=class{constructor(e,o){this.popoverRef=e,this.data=o,this.actionEvent=new h,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(O.CLOSE),this.popoverRef.close({status:O.CLOSE})}onSave(){this.actionEvent.emit(O.SAVE),this.popoverRef.close({status:O.SAVE})}onDismiss(){this.actionEvent.emit(O.DISMISS),this.popoverRef.close({status:O.DISMISS})}closeDrawerOnBackdropClick(){this.data.closePopoverOnBackdropClick&&this.popoverRef.backdropClick().pipe(f(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closePopoverOnEscKeyUp&&this.onDismiss()}},v.\u0275fac=function(o){return new(o||v)(a(d),a(k))},v.\u0275cmp=b({type:v,selectors:[["ms-popover"]],hostBindings:function(o,t){o&1&&m("keyup.esc",function(){return t.onEscKeyDown()},!1,ve)},inputs:{contentTemplate:"contentTemplate"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[C],ngContentSelectors:_t,decls:8,vars:6,consts:[[1,"tooltip-container","popover-element",3,"ngClass","ngStyle"],[1,"tooltip-arrow"],[1,"popover-content"],[1,"close-button"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error","size-20"]],template:function(o,t){o&1&&(Te(),s(0,"div",0),Me(1,"iconPanelSizeStyles"),c(2,"div",1),s(3,"div",2),ge(4),l(),s(5,"div",3)(6,"button",4),m("click",function(){return t.onClose()}),c(7,"mat-icon",5),l()()()),o&2&&P("ngClass",t.data.position)("ngStyle",Oe(1,3,t.data.width,t.data.height))("@fadeInOut",t.popoverRef.isClosing)},dependencies:[A,we,De,Q,K,G,W,ft],styles:[".tooltip-container[_ngcontent-%COMP%]{position:relative;background-color:var(--tooltip);color:var(--terminal-color);border-radius:6px;box-shadow:0 4px 8px #0000001a;padding:10px 8px}.tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-style:solid}.tooltip-content[_ngcontent-%COMP%]{padding:12px}.tooltip-container.top[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:-10px;left:50%;transform:translate(-50%);border-width:10px 10px 0 10px;border-color:var(--tooltip) transparent transparent transparent}.tooltip-container.bottom[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:-10px;left:50%;transform:translate(-50%);border-width:0 10px 10px 10px;border-color:transparent transparent var(--tooltip) transparent}.tooltip-container.left[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{right:-10px;top:50%;transform:translateY(-50%);border-width:10px 0 10px 10px;border-color:transparent transparent transparent var(--tooltip)}.tooltip-container.right[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{left:-10px;top:50%;transform:translateY(-50%);border-width:10px 10px 10px 0;border-color:transparent var(--tooltip) transparent transparent}.close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0}"],data:{animation:[Ie("fadeInOut",[L("void",j({opacity:0})),L("true",j({opacity:0})),L("false",j({opacity:1})),ce(":enter",[le(`${V}ms ease-in`,j({opacity:1}))]),ce("false => true",[le(`${V}ms ease-out`)])])]}}),v);ie=g([M()],ie);var S,re=(S=class{get searchFormControl(){return this.searchForm.get("search")}constructor(e,o,t){this.popoverRef=e,this.iconPanelConfig=o,this.fb=t,this.searchForm=new xe({})}ngOnInit(){this.initForm(),this.listenToSearchFormControlValueChanges()}initForm(){this.searchForm=this.fb.group({search:[""]})}listenToSearchFormControlValueChanges(){this.searchFormControl.valueChanges.pipe(f(this),U(200)).subscribe(e=>{this.popoverRef.emitData(e)})}},S.\u0275fac=function(o){return new(o||S)(a(d),a(k),a(Ve))},S.\u0275cmp=b({type:S,selectors:[["ms-terminal-toolbar-search-popover"]],standalone:!0,features:[C],decls:7,vars:1,consts:[[1,"form-field-container","dark",3,"formGroup"],["subscriptSizing","dynamic"],["msErrorDisplay","","matInput","","msAutofocus","","formControlName","search"],["fontSet","ms","fontIcon","icon-MagnifyingGlass","matSuffix",""]],template:function(o,t){o&1&&(s(0,"ms-popover")(1,"div",0)(2,"mat-label"),_(3," Search... "),l(),s(4,"mat-form-field",1),c(5,"input",2)(6,"mat-icon",3),l()()()),o&2&&(I(),P("formGroup",t.searchForm))},dependencies:[A,q,ze,He,Ne,Ue,$,Y,Ee,_e,Ae,Re,je,ie,qe,pt]}),S);re=g([M({})],re);var T,ht=(T=class{constructor(e,o,t,r){this.scriptFacadeService=e,this.terminalWebSocketService=o,this.terminalDialogService=t,this.popoverService=r,this.isFullscreen=!1,this.isScriptActive=!1,this.popoverId="",this.clearTerminal=new h,this.scrollToTopTerminal=new h,this.scrollToBottomTerminal=new h,this.searchTerminal=new h,this.disposeSearch=new h,this.exitFullscreen=new h,this.searchFormControl=new ke("")}ngOnInit(){this.listenToScriptStateChanges(),this.listenToSearchFormControlChanges()}clearTerminalScreen(){this.terminalWebSocketService.clearScreen()}openPanel(e){J(this.searchPanelRef)&&(this.searchPanelRef=this.popoverService.open(re,e._elementRef,{position:this.isFullscreen?x.BOTTOM:x.TOP,width:"200px",height:"60px"},this.popoverId??""),this.searchPanelRef.data$.pipe(f(this)).subscribe(o=>{this.searchTerminal.emit(o)}),this.searchPanelRef.afterClosed().pipe(N(1)).subscribe(()=>{this.searchPanelRef=void 0,this.disposeSearch.emit()}))}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(f(this),U(300),fe(e=>!Qe(e))).subscribe(e=>{this.searchTerminal.emit(e)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(e=>{this.isScriptActive=Ke(e)})}ctaStopScript(){this.scriptFacadeService.dispatch($e.stopScript())}openTerminalMessagesHistoryDialog(){J(this.searchPanelRef)||this.searchPanelRef?.close(),this.terminalDialogService.openMessagesHistoryDialog()}openFullScreenMode(){if(this.isFullscreen){this.exitFullscreen.emit();return}this.searchPanelRef?.close(),this.terminalDialogService.openFullScreenDialog(this.isFullscreen)}ngOnDestroy(){J(this.searchPanelRef)||this.searchPanelRef?.close()}},T.\u0275fac=function(o){return new(o||T)(a(Z),a(ee),a(oe),a(te))},T.\u0275cmp=b({type:T,selectors:[["ms-terminal-toolbar"]],inputs:{isFullscreen:"isFullscreen",isScriptActive:"isScriptActive",popoverId:"popoverId"},outputs:{clearTerminal:"clearTerminal",scrollToTopTerminal:"scrollToTopTerminal",scrollToBottomTerminal:"scrollToBottomTerminal",searchTerminal:"searchTerminal",disposeSearch:"disposeSearch",exitFullscreen:"exitFullscreen"},standalone:!0,features:[X([oe,te]),C],decls:19,vars:4,consts:[["searchTooltip",""],[1,"buttons-wrapper"],["mat-icon-button","","color","primary","matTooltip","Search terminal",3,"click"],["fontSet","ms","fontIcon","icon-MagnifyingGlass"],["mat-icon-button","","color","primary","matTooltip","Terminal history",3,"click"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],["mat-icon-button","","color","primary","matTooltip","Clear terminal",3,"click","disabled"],["mat-icon-button","","color","primary",3,"click","matTooltip"],["mat-icon-button","","color","warn","matTooltip","Stop current process",3,"click","disabled"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(o,t){if(o&1){let r=Se();s(0,"div",1)(1,"button",2,0),m("click",function(){y(r);let p=Pe(2);return F(t.openPanel(p))}),c(3,"mat-icon",3),l(),s(4,"button",4),m("click",function(){return y(r),F(t.openTerminalMessagesHistoryDialog())}),s(5,"mat-icon"),_(6,"history"),l()(),s(7,"button",5),m("click",function(){return y(r),F(t.scrollToTopTerminal.emit())}),c(8,"mat-icon",6),l(),s(9,"button",7),m("click",function(){return y(r),F(t.scrollToBottomTerminal.emit())}),c(10,"mat-icon",8),l(),s(11,"button",9),m("click",function(){return y(r),F(t.clearTerminalScreen())}),s(12,"mat-icon"),_(13," clear_all"),l()(),s(14,"button",10),m("click",function(){return y(r),F(t.openFullScreenMode())}),s(15,"mat-icon"),_(16),l()(),s(17,"button",11),m("click",function(){return y(r),F(t.ctaStopScript())}),c(18,"mat-icon",12),l()()}o&2&&(I(11),P("disabled",t.isScriptActive),I(3),P("matTooltip",t.isFullscreen?"Exit fullscreen":"Enter fullscreen"),I(2),Ce(t.isFullscreen?"fullscreen_exit":"fullscreen"),I(),P("disabled",!t.isScriptActive))},dependencies:[A,G,W,Q,K,Ge,We,Be,Y,$,q]}),T);ht=g([M({})],ht);export{O as a,it as b,rt as c,ht as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-UIR5RKCN.js b/frontend/server/modelsmith-build/browser/chunk-JKB4DNVM.js similarity index 98% rename from frontend/server/modelsmith-build/browser/chunk-UIR5RKCN.js rename to frontend/server/modelsmith-build/browser/chunk-JKB4DNVM.js index f1f45a71..8657427f 100644 --- a/frontend/server/modelsmith-build/browser/chunk-UIR5RKCN.js +++ b/frontend/server/modelsmith-build/browser/chunk-JKB4DNVM.js @@ -1 +1 @@ -import{$ as D,$a as r,Aa as j,Ab as Z,Da as x,Ea as l,Hd as E,Ja as q,Kb as G,Ld as T,Mb as k,Nb as Y,Oa as U,Qa as C,Ra as u,Ta as I,Va as N,Wd as $,Xd as J,Y as w,Zd as W,_ as z,ab as d,bb as _,fb as S,ga as R,gb as B,ha as F,ib as p,lb as X,mb as Q,na as M,oa as h,pa as s,pb as f,qa as O,qb as g,ra as V,rb as v,sb as H,ta as L,wa as P,xa as y,zb as K}from"./chunk-MDAOMI2L.js";var ie=["input"],oe=["label"],ne=["*"],ae=new D("mat-checkbox-default-options",{providedIn:"root",factory:ce});function ce(){return{color:"accent",clickAction:"check-indeterminate"}}var n=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(n||{}),re={provide:J,useExisting:w(()=>te),multi:!0},A=class{},de=0,ee=ce(),te=(()=>{let a=class a{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new A;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,t,c,o,m,b){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=c,this._animationMode=m,this._options=b,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new y,this.indeterminateChange=new y,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=n.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ee,this.color=this._options.color||ee.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++de}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(n.Indeterminate):this._transitionCheckState(this.checked?n.Checked:n.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,c=this._getAnimationTargetElement();if(!(t===e||!c)&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{c.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?n.Checked:n.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case n.Init:if(t===n.Checked)return this._animationClasses.uncheckedToChecked;if(t==n.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case n.Unchecked:return t===n.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case n.Checked:return t===n.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case n.Indeterminate:return t===n.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};a.\u0275fac=function(t){return new(t||a)(l(P),l(G),l(q),L("tabindex"),l(j,8),l(ae,8))},a.\u0275cmp=R({type:a,selectors:[["mat-checkbox"]],viewQuery:function(t,c){if(t&1&&(f(ie,5),f(oe,5),f(T,5)),t&2){let o;g(o=v())&&(c._inputElement=o.first),g(o=v())&&(c._labelElement=o.first),g(o=v())&&(c.ripple=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(t,c){t&2&&(B("id",c.id),C("tabindex",null)("aria-label",null)("aria-labelledby",null),N(c.color?"mat-"+c.color:"mat-accent"),I("_mat-animation-noopable",c._animationMode==="NoopAnimations")("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",k],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",k],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Y(e)],color:"color",checked:[2,"checked","checked",k],disabled:[2,"disabled","disabled",k],indeterminate:[2,"indeterminate","indeterminate",k]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[K([re,{provide:W,useExisting:a,multi:!0}]),U,M,Z],ngContentSelectors:ne,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,c){if(t&1){let o=S();X(),r(0,"div",3),p("click",function(b){return h(o),s(c._preventBubblingFromLabel(b))}),r(1,"div",4,0)(3,"div",5),p("click",function(){return h(o),s(c._onTouchTargetClick())}),d(),r(4,"input",6,1),p("blur",function(){return h(o),s(c._onBlur())})("click",function(){return h(o),s(c._onInputClick())})("change",function(b){return h(o),s(c._onInteractionEvent(b))}),d(),_(6,"div",7),r(7,"div",8),O(),r(8,"svg",9),_(9,"path",10),d(),V(),_(10,"div",11),d(),_(11,"div",12),d(),r(12,"label",13,2),Q(14),d()()}if(t&2){let o=H(2);u("labelPosition",c.labelPosition),x(4),I("mdc-checkbox--selected",c.checked),u("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled)("id",c.inputId)("required",c.required)("tabIndex",c.disabled?-1:c.tabIndex),C("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("aria-checked",c.indeterminate?"mixed":null)("name",c.name)("value",c.value),x(7),u("matRippleTrigger",o)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),x(),u("for",c.inputId)}},dependencies:[T,$],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-unselected-icon-color);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color)}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=a;return i})();var we=(()=>{let a=class a{};a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=F({type:a}),a.\u0275inj=z({imports:[te,E,E]});let i=a;return i})();export{te as a,we as b}; +import{$ as D,$a as r,Aa as j,Ab as K,Bb as Z,Da as x,Ea as l,Id as E,Ja as q,Lb as G,Md as T,Nb as k,Oa as U,Ob as Y,Qa as C,Ra as u,Ta as I,Va as N,Xd as $,Y as w,Yd as J,_ as z,_d as W,ab as d,bb as _,fb as S,ga as R,gb as B,ha as F,ib as p,lb as X,mb as Q,na as M,oa as h,pa as s,pb as f,qa as O,qb as g,ra as V,rb as v,sb as H,ta as L,wa as P,xa as y}from"./chunk-MVLCGSW5.js";var ie=["input"],oe=["label"],ne=["*"],ae=new D("mat-checkbox-default-options",{providedIn:"root",factory:ce});function ce(){return{color:"accent",clickAction:"check-indeterminate"}}var n=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(n||{}),re={provide:J,useExisting:w(()=>te),multi:!0},A=class{},de=0,ee=ce(),te=(()=>{let a=class a{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new A;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,t,c,o,m,b){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=c,this._animationMode=m,this._options=b,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new y,this.indeterminateChange=new y,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=n.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ee,this.color=this._options.color||ee.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++de}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(n.Indeterminate):this._transitionCheckState(this.checked?n.Checked:n.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,c=this._getAnimationTargetElement();if(!(t===e||!c)&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{c.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?n.Checked:n.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case n.Init:if(t===n.Checked)return this._animationClasses.uncheckedToChecked;if(t==n.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case n.Unchecked:return t===n.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case n.Checked:return t===n.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case n.Indeterminate:return t===n.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};a.\u0275fac=function(t){return new(t||a)(l(P),l(G),l(q),L("tabindex"),l(j,8),l(ae,8))},a.\u0275cmp=R({type:a,selectors:[["mat-checkbox"]],viewQuery:function(t,c){if(t&1&&(f(ie,5),f(oe,5),f(T,5)),t&2){let o;g(o=v())&&(c._inputElement=o.first),g(o=v())&&(c._labelElement=o.first),g(o=v())&&(c.ripple=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(t,c){t&2&&(B("id",c.id),C("tabindex",null)("aria-label",null)("aria-labelledby",null),N(c.color?"mat-"+c.color:"mat-accent"),I("_mat-animation-noopable",c._animationMode==="NoopAnimations")("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",k],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",k],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Y(e)],color:"color",checked:[2,"checked","checked",k],disabled:[2,"disabled","disabled",k],indeterminate:[2,"indeterminate","indeterminate",k]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[K([re,{provide:W,useExisting:a,multi:!0}]),U,M,Z],ngContentSelectors:ne,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,c){if(t&1){let o=S();X(),r(0,"div",3),p("click",function(b){return h(o),s(c._preventBubblingFromLabel(b))}),r(1,"div",4,0)(3,"div",5),p("click",function(){return h(o),s(c._onTouchTargetClick())}),d(),r(4,"input",6,1),p("blur",function(){return h(o),s(c._onBlur())})("click",function(){return h(o),s(c._onInputClick())})("change",function(b){return h(o),s(c._onInteractionEvent(b))}),d(),_(6,"div",7),r(7,"div",8),O(),r(8,"svg",9),_(9,"path",10),d(),V(),_(10,"div",11),d(),_(11,"div",12),d(),r(12,"label",13,2),Q(14),d()()}if(t&2){let o=H(2);u("labelPosition",c.labelPosition),x(4),I("mdc-checkbox--selected",c.checked),u("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled)("id",c.inputId)("required",c.required)("tabIndex",c.disabled?-1:c.tabIndex),C("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("aria-checked",c.indeterminate?"mixed":null)("name",c.name)("value",c.value),x(7),u("matRippleTrigger",o)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),x(),u("for",c.inputId)}},dependencies:[T,$],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-unselected-icon-color);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color)}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=a;return i})();var we=(()=>{let a=class a{};a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=F({type:a}),a.\u0275inj=z({imports:[te,E,E]});let i=a;return i})();export{te as a,we as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-JXMB3S2H.js b/frontend/server/modelsmith-build/browser/chunk-JXMB3S2H.js new file mode 100644 index 00000000..dbf69e58 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-JXMB3S2H.js @@ -0,0 +1 @@ +import{a as u}from"./chunk-WT33ER4G.js";import{a as g}from"./chunk-CFM5DRTM.js";import"./chunk-EGGALFKU.js";import"./chunk-ZQAGOALV.js";import"./chunk-NBUJA3ZB.js";import"./chunk-CKI3LALG.js";import"./chunk-GULIW6WA.js";import"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import"./chunk-4X6VBT7Z.js";import{a as d}from"./chunk-25FQYPXL.js";import"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import{b as N,c as x,h as w}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as q,b as $}from"./chunk-XSOJ6DN4.js";import{a as k,b as D}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as s,Da as m,Ea as f,Ra as a,_ as l,_b as V,a as v,ab as p,b as M,bb as b,bd as O,cb as P,db as E,de as Q,fb as I,ga as F,ha as c,ib as T,ke as B,mc as j,oa as y,p as U,pa as S,pb as R,pe as L,qb as _,qc as A,qe as H,rb as G,re as K,se as W,tb as h,ve as X}from"./chunk-MVLCGSW5.js";var Z=["panelParameters"],o,C=(o=class{constructor(t,i,e){this.fb=t,this.scriptFacadeService=i,this.router=e,this.AlgorithmType=x,this.MachineUnlearningAlgorithmsEnum=w,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(D(this)).subscribe(t=>{this.isScriptActive=N(t),N(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(w.MU)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,r=M(v({},t),{params:M(v({},this.panelParametersComponent.parametersFormatted),{arch:e})});this.scriptFacadeService.dispatch(q.callScript({configs:r}))}goToChartPage(){this.router.navigate([O.RUNNING.ROOT])}},o.\u0275fac=function(i){return new(i||o)(f(L),f($),f(j))},o.\u0275cmp=F({type:o,selectors:[["ms-machine-unlearning"]],viewQuery:function(i,e){if(i&1&&R(Z,5),i&2){let r;_(r=G())&&(e.panelParametersComponent=r.first)}},decls:15,vars:5,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(i,e){if(i&1){let r=I();s(0,"p",1),h(1,"Machine Unlearning"),p(),s(2,"div",2)(3,"div",3),P(4,4),b(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),E(),s(8,"div")(9,"button",7),T("click",function(){return y(r),S(e.submit())}),h(10," Run "),p(),s(11,"button",8),T("click",function(){return y(r),S(e.goToChartPage())}),h(12,"View Chart"),p()()(),s(13,"div",9),b(14,"ms-terminal-xterm-with-toolbar"),p()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.MACHINE_UNLEARNING),m(),a("algorithm",e.MachineUnlearningAlgorithmsEnum.MU),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,g,u,W,Q,B],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),o);C=U([k()],C);var tt=[{path:"",component:C}],J=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[A.forChild(tt),A]});let n=t;return n})();var Ft=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[V,J,d,g,u,X,H,K]});let n=t;return n})();export{Ft as MachineUnlearningModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-WGAUYJ4P.js b/frontend/server/modelsmith-build/browser/chunk-K5EGW2EZ.js similarity index 96% rename from frontend/server/modelsmith-build/browser/chunk-WGAUYJ4P.js rename to frontend/server/modelsmith-build/browser/chunk-K5EGW2EZ.js index fb803a88..dc6f093b 100644 --- a/frontend/server/modelsmith-build/browser/chunk-WGAUYJ4P.js +++ b/frontend/server/modelsmith-build/browser/chunk-K5EGW2EZ.js @@ -1 +1 @@ -import{l as Ge,o as Ye,p as Xe,s as Z,t as J,u as ee,v as Ue}from"./chunk-WXERLI5K.js";import{e as ze,f as He,i as Qe}from"./chunk-BTHDGCD5.js";import{$ as S,$a as h,Ab as Oe,Ac as Ie,Ad as Ee,Bc as xe,C as w,D as P,Da as g,Dd as De,Ea as l,Hd as U,I as ne,Id as Re,Ja as ue,Jd as Fe,K as re,Kb as Me,Mb as C,Nb as H,Oa as _e,Od as Ve,Pa as I,Pd as Pe,Q as L,Qa as x,R as W,Ra as j,Rb as we,Rd as Le,S as m,Sd as We,Ta as ge,Td as je,Ud as $,Wa as fe,Xa as B,Zb as Se,_ as se,_d as Be,ab as f,ae as Ke,bb as ye,ca as oe,ee as qe,fb as K,ga as le,ha as ce,ib as M,j as O,je as Ne,kb as y,lb as ve,mb as q,na as de,oa as u,ob as A,pa as _,pb as T,pd as Y,qa as he,qb as v,rb as b,sb as be,sc as Q,ta as pe,tb as N,tc as G,td as Ae,ub as z,ud as X,w as V,wa as me,wc as E,wd as Te,xa as k,xc as ke,z as ae,zb as Ce,zc as D}from"./chunk-MDAOMI2L.js";var ht=["trigger"],pt=["panel"],mt=[[["mat-select-trigger"]],"*"],ut=["mat-select-trigger","*"];function _t(n,r){if(n&1&&(h(0,"span",4),N(1),f()),n&2){let o=y();g(),z(o.placeholder)}}function gt(n,r){n&1&&q(0)}function ft(n,r){if(n&1&&(h(0,"span",11),N(1),f()),n&2){let o=y(2);g(),z(o.triggerValue)}}function yt(n,r){if(n&1&&(h(0,"span",5),I(1,gt,1,0)(2,ft,2,1,"span",11),f()),n&2){let o=y();g(),B(o.customTrigger?1:2)}}function vt(n,r){if(n&1){let o=K();h(0,"div",12,1),M("@transformPanel.done",function(t){u(o);let i=y();return _(i._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){u(o);let i=y();return _(i._handleKeydown(t))}),q(2,1),f()}if(n&2){let o=y();fe("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",o._getPanelTheme(),""),j("ngClass",o.panelClass)("@transformPanel","showing"),x("id",o.id+"-panel")("aria-multiselectable",o.multiple)("aria-label",o.ariaLabel||null)("aria-labelledby",o._getPanelAriaLabelledby())}}var bt={transformPanelWrap:Q("transformPanelWrap",[D("* => void",xe("@transformPanel",[Ie()],{optional:!0}))]),transformPanel:Q("transformPanel",[ke("void",E({opacity:0,transform:"scale(1, 0.8)"})),D("void => showing",G("120ms cubic-bezier(0, 0, 0.2, 1)",E({opacity:1,transform:"scale(1, 1)"}))),D("* => void",G("100ms linear",E({opacity:0})))])};var tt=0,it=new S("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=oe(Z);return()=>n.scrollStrategies.reposition()}});function Ct(n){return()=>n.scrollStrategies.reposition()}var Ot=new S("MAT_SELECT_CONFIG"),Mt={provide:it,deps:[Z],useFactory:Ct},wt=new S("MatSelectTrigger"),te=class{constructor(r,o){this.source=r,this.value=o}},ri=(()=>{let r=class r{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,a=We(e,this.options,this.optionGroups),s=t._getHostElement();e===0&&a===1?i.scrollTop=0:i.scrollTop=je(s.offsetTop,s.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new te(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Be.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,i,a,s,p,c,at,nt,ie,rt,st,ot,R){this._viewportRuler=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=p,this._parentFormField=nt,this.ngControl=ie,this._liveAnnouncer=ot,this._defaultOptions=R,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(d,F)=>d===F,this._uid=`mat-select-${tt++}`,this._triggerAriaLabelledBy=null,this._destroy=new O,this.stateChanges=new O,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${tt++}`,this._panelDoneAnimatingStream=new O,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new O,this.optionSelectionChanges=ae(()=>{let d=this.options;return d?d.changes.pipe(L(d),W(()=>w(...d.map(F=>F.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelectionChanges))}),this.openedChange=new k,this._openedStream=this.openedChange.pipe(P(d=>d),V(()=>{})),this._closedStream=this.openedChange.pipe(P(d=>!d),V(()=>{})),this.selectionChange=new k,this.valueChange=new k,this._trackedModal=null,this._skipPredicate=d=>this.panelOpen?!1:d.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),R?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=R.typeaheadDebounceInterval),this._errorStateTracker=new Re(a,ie,at,c,this.stateChanges),this._scrollStrategyFactory=st,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(rt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ge(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(re(),m(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(m(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(m(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(L(null),m(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&X(this._trackedModal,"aria-owns",t),Ae(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;X(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,a=t===13||t===32,s=this._keyManager;if(!s.isTyping()&&a&&!Y(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let p=this.selected;s.onKeydown(e);let c=this.selected;c&&p!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,a=i===40||i===38,s=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!s&&(i===13||i===32)&&t.activeItem&&!Y(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!s&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let p=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(p?c.select():c.deselect())})}else{let p=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==p&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(ne(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof J?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Te(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=w(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(m(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),w(...this.options.map(t=>t._stateChanges)).pipe(m(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};r.\u0275fac=function(t){return new(t||r)(l(Ye),l(Me),l(ue),l(Fe),l(me),l(De,8),l(qe,8),l(Ne,8),l(He,8),l(Ke,10),pe("tabindex"),l(it),l(Ee),l(Ot,8))},r.\u0275cmp=le({type:r,selectors:[["mat-select"]],contentQueries:function(t,i,a){if(t&1&&(A(a,wt,5),A(a,Le,5),A(a,Pe,5)),t&2){let s;v(s=b())&&(i.customTrigger=s.first),v(s=b())&&(i.options=s),v(s=b())&&(i.optionGroups=s)}},viewQuery:function(t,i){if(t&1&&(T(ht,5),T(pt,5),T(ee,5)),t&2){let a;v(a=b())&&(i.trigger=a.first),v(a=b())&&(i.panel=a.first),v(a=b())&&(i._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&M("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(x("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),ge("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",C],disableRipple:[2,"disableRipple","disableRipple",C],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:H(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",C],placeholder:"placeholder",required:[2,"required","required",C],multiple:[2,"multiple","multiple",C],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",C],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",H],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ce([{provide:ze,useExisting:r},{provide:Ve,useExisting:r}]),_e,de,Oe],ngContentSelectors:ut,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let a=K();ve(mt),h(0,"div",2,0),M("click",function(){return u(a),_(i.open())}),h(3,"div",3),I(4,_t,2,1,"span",4)(5,yt,3,1,"span",5),f(),h(6,"div",6)(7,"div",7),he(),h(8,"svg",8),ye(9,"path",9),f()()()(),I(10,vt,3,9,"ng-template",10),M("backdropClick",function(){return u(a),_(i.close())})("attach",function(){return u(a),_(i._onAttached())})("detach",function(){return u(a),_(i.close())})}if(t&2){let a=be(1);g(3),x("id",i._valueId),g(),B(i.empty?4:5),g(6),j("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[J,ee,we],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[bt.transformPanel]},changeDetection:0});let n=r;return n})();var si=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=ce({type:r}),r.\u0275inj=se({providers:[Mt],imports:[Se,Ue,$,U,Xe,Qe,$,U]});let n=r;return n})();export{ri as a,si as b}; +import{l as Ge,o as Ye,p as Xe,s as Z,t as J,u as ee,v as Ue}from"./chunk-I333ACNB.js";import{e as ze,f as He,i as Qe}from"./chunk-LCKMIOUI.js";import{$ as S,$a as h,$d as Be,Ab as Ce,Ac as D,Bb as Oe,Bc as Ie,Bd as Ee,C as w,Cc as xe,D as P,Da as g,Ea as l,Ed as De,I as ne,Id as U,Ja as ue,Jd as Re,K as re,Kd as Fe,Lb as Me,Nb as C,Oa as _e,Ob as H,Pa as I,Pd as Ve,Q as L,Qa as x,Qd as Pe,R as W,Ra as j,S as m,Sb as we,Sd as Le,Ta as ge,Td as We,Ud as je,Vd as $,Wa as fe,Xa as B,_ as se,_b as Se,ab as f,bb as ye,be as Ke,ca as oe,fb as K,fe as qe,ga as le,ha as ce,ib as M,j as O,kb as y,ke as Ne,lb as ve,mb as q,na as de,oa as u,ob as A,pa as _,pb as T,qa as he,qb as v,qd as Y,rb as b,sb as be,ta as pe,tb as N,tc as Q,ub as z,uc as G,ud as Ae,vd as X,w as V,wa as me,xa as k,xc as E,xd as Te,yc as ke,z as ae}from"./chunk-MVLCGSW5.js";var ht=["trigger"],pt=["panel"],mt=[[["mat-select-trigger"]],"*"],ut=["mat-select-trigger","*"];function _t(n,r){if(n&1&&(h(0,"span",4),N(1),f()),n&2){let o=y();g(),z(o.placeholder)}}function gt(n,r){n&1&&q(0)}function ft(n,r){if(n&1&&(h(0,"span",11),N(1),f()),n&2){let o=y(2);g(),z(o.triggerValue)}}function yt(n,r){if(n&1&&(h(0,"span",5),I(1,gt,1,0)(2,ft,2,1,"span",11),f()),n&2){let o=y();g(),B(o.customTrigger?1:2)}}function vt(n,r){if(n&1){let o=K();h(0,"div",12,1),M("@transformPanel.done",function(t){u(o);let i=y();return _(i._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){u(o);let i=y();return _(i._handleKeydown(t))}),q(2,1),f()}if(n&2){let o=y();fe("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",o._getPanelTheme(),""),j("ngClass",o.panelClass)("@transformPanel","showing"),x("id",o.id+"-panel")("aria-multiselectable",o.multiple)("aria-label",o.ariaLabel||null)("aria-labelledby",o._getPanelAriaLabelledby())}}var bt={transformPanelWrap:Q("transformPanelWrap",[D("* => void",xe("@transformPanel",[Ie()],{optional:!0}))]),transformPanel:Q("transformPanel",[ke("void",E({opacity:0,transform:"scale(1, 0.8)"})),D("void => showing",G("120ms cubic-bezier(0, 0, 0.2, 1)",E({opacity:1,transform:"scale(1, 1)"}))),D("* => void",G("100ms linear",E({opacity:0})))])};var tt=0,it=new S("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=oe(Z);return()=>n.scrollStrategies.reposition()}});function Ct(n){return()=>n.scrollStrategies.reposition()}var Ot=new S("MAT_SELECT_CONFIG"),Mt={provide:it,deps:[Z],useFactory:Ct},wt=new S("MatSelectTrigger"),te=class{constructor(r,o){this.source=r,this.value=o}},ri=(()=>{let r=class r{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,a=We(e,this.options,this.optionGroups),s=t._getHostElement();e===0&&a===1?i.scrollTop=0:i.scrollTop=je(s.offsetTop,s.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new te(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Be.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,i,a,s,p,c,at,nt,ie,rt,st,ot,R){this._viewportRuler=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=p,this._parentFormField=nt,this.ngControl=ie,this._liveAnnouncer=ot,this._defaultOptions=R,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(d,F)=>d===F,this._uid=`mat-select-${tt++}`,this._triggerAriaLabelledBy=null,this._destroy=new O,this.stateChanges=new O,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${tt++}`,this._panelDoneAnimatingStream=new O,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new O,this.optionSelectionChanges=ae(()=>{let d=this.options;return d?d.changes.pipe(L(d),W(()=>w(...d.map(F=>F.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelectionChanges))}),this.openedChange=new k,this._openedStream=this.openedChange.pipe(P(d=>d),V(()=>{})),this._closedStream=this.openedChange.pipe(P(d=>!d),V(()=>{})),this.selectionChange=new k,this.valueChange=new k,this._trackedModal=null,this._skipPredicate=d=>this.panelOpen?!1:d.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),R?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=R.typeaheadDebounceInterval),this._errorStateTracker=new Re(a,ie,at,c,this.stateChanges),this._scrollStrategyFactory=st,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(rt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ge(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(re(),m(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(m(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(m(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(L(null),m(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&X(this._trackedModal,"aria-owns",t),Ae(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;X(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,a=t===13||t===32,s=this._keyManager;if(!s.isTyping()&&a&&!Y(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let p=this.selected;s.onKeydown(e);let c=this.selected;c&&p!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,a=i===40||i===38,s=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!s&&(i===13||i===32)&&t.activeItem&&!Y(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!s&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let p=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(p?c.select():c.deselect())})}else{let p=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==p&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(ne(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof J?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Te(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=w(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(m(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),w(...this.options.map(t=>t._stateChanges)).pipe(m(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};r.\u0275fac=function(t){return new(t||r)(l(Ye),l(Me),l(ue),l(Fe),l(me),l(De,8),l(qe,8),l(Ne,8),l(He,8),l(Ke,10),pe("tabindex"),l(it),l(Ee),l(Ot,8))},r.\u0275cmp=le({type:r,selectors:[["mat-select"]],contentQueries:function(t,i,a){if(t&1&&(A(a,wt,5),A(a,Le,5),A(a,Pe,5)),t&2){let s;v(s=b())&&(i.customTrigger=s.first),v(s=b())&&(i.options=s),v(s=b())&&(i.optionGroups=s)}},viewQuery:function(t,i){if(t&1&&(T(ht,5),T(pt,5),T(ee,5)),t&2){let a;v(a=b())&&(i.trigger=a.first),v(a=b())&&(i.panel=a.first),v(a=b())&&(i._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&M("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(x("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),ge("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",C],disableRipple:[2,"disableRipple","disableRipple",C],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:H(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",C],placeholder:"placeholder",required:[2,"required","required",C],multiple:[2,"multiple","multiple",C],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",C],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",H],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ce([{provide:ze,useExisting:r},{provide:Ve,useExisting:r}]),_e,de,Oe],ngContentSelectors:ut,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let a=K();ve(mt),h(0,"div",2,0),M("click",function(){return u(a),_(i.open())}),h(3,"div",3),I(4,_t,2,1,"span",4)(5,yt,3,1,"span",5),f(),h(6,"div",6)(7,"div",7),he(),h(8,"svg",8),ye(9,"path",9),f()()()(),I(10,vt,3,9,"ng-template",10),M("backdropClick",function(){return u(a),_(i.close())})("attach",function(){return u(a),_(i._onAttached())})("detach",function(){return u(a),_(i.close())})}if(t&2){let a=be(1);g(3),x("id",i._valueId),g(),B(i.empty?4:5),g(6),j("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[J,ee,we],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[bt.transformPanel]},changeDetection:0});let n=r;return n})();var si=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=ce({type:r}),r.\u0275inj=se({providers:[Mt],imports:[Se,Ue,$,U,Xe,Qe,$,U]});let n=r;return n})();export{ri as a,si as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-5CBUBWK4.js b/frontend/server/modelsmith-build/browser/chunk-KGVHLG7N.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-5CBUBWK4.js rename to frontend/server/modelsmith-build/browser/chunk-KGVHLG7N.js index 88248c4e..18dd684d 100644 --- a/frontend/server/modelsmith-build/browser/chunk-5CBUBWK4.js +++ b/frontend/server/modelsmith-build/browser/chunk-KGVHLG7N.js @@ -1 +1 @@ -import{ja as o}from"./chunk-MDAOMI2L.js";var l=(()=>{let t=class t{transform(a,e=2){let n=Number(a);if(isNaN(n)||n===0)return"0 Bytes";let s=1024,c=e<0?0:e,r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],u=Math.floor(Math.log(n)/Math.log(s));return parseFloat((n/Math.pow(s,u)).toFixed(c))+" "+r[u]}};t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o({name:"adaptiveFileSize",type:t,pure:!0,standalone:!0});let i=t;return i})();var d=(()=>{let t=class t{transform(a){return{creation_date:"Creation Date",epochs:"Number of Epochs",file_size_bytes:"File Size",learning_rate:"Learning Rate",model:"Model Architecture",training_duration_seconds:"Training Duration",duration_seconds:"Total Duration",arch:"Model Architecture",best_acc:"Best Accuracy",device:"Device Used",lr:"Learning Rate",pruning_ratio:"Pruning Ratio",start_epoch:"Starting Epoch",pruning_times:"Pruning Iterations",rewinding_epoch:"Rewinding Epoch",save_dir:"Saving Directory",algorithm_key:"Algorithm Key",execution_date:"Execution Date",seed:"Random Seed",dataset:"Dataset Name",batch_size:"Batch Size",workers:"Workers",n_bits_w:"Bitwidth for Weights",channel_wise:"Channel-wise Quantization",n_bits_a:"Bitwidth for Activations",disable_8bit_head_stem:"Disable 8-bit Head and Stem",num_samples:"Number of Samples",iters_w:"Number of Iterations",weight:"Weight Parameter",keep_cpu:"Keep Calibration Data on CPU",wwq:"Weight Quantization",waq:"Activation Quantization",b_start:"Initial Temperature",b_end:"Final Temperature",warmup:"Warmup Period",awq:"Activation Weight Quantization",aaq:"Activation Activation Quantization",init_wmode:"Weight Initialization Mode",init_amode:"Activation Initialization Mode",order:"Order of Quantization",prob:"Probability",input_prob:"Input Probability",act_quant:"Apply Activation Quantization",num_indexes_to_replace:"Number of Indexes to Replace",alpha:"L1 Regularization Coefficient (Alpha)",unlearn_lr:"Learning Rate for Unlearning",unlearn_epochs:"Nr. of Epochs for L1-Sparse Unlearning",train_seed:"Random Seed for Training",class_to_replace:"Specific Class to Forget",data:"Location of the Data Corpus",indexes_to_replace:"Specific Index Data to Forget",no_aug:"No Augmentation in Training Dataset",decreasing_lr:"Decreasing Strategy",rewind_epoch:"Rewind Checkpoint",imagenet_arch:"Architecture for ImageNet Size Samples",no_l1_epochs:"Non L1 Epochs",momentum:"Momentum",weight_decay:"Weight Decay",num_workers:"Number of workers"}[a]||a}};t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o({name:"parametersLabel",type:t,pure:!0,standalone:!0});let i=t;return i})();var f=(()=>{let t=class t{transform(a){let e=Number(a);if(isNaN(e))return"Invalid duration";let n=Math.floor(e/3600),s=Math.floor(e%3600/60),c=Math.floor(e%60),r="";return n>0&&(r+=`${n}h `),(s>0||n>0)&&(r+=`${s}m `),r+=`${c}s`,r.trim()}};t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o({name:"readableDuration",type:t,pure:!0,standalone:!0});let i=t;return i})();export{l as a,d as b,f as c}; +import{ja as o}from"./chunk-MVLCGSW5.js";var l=(()=>{let t=class t{transform(a,e=2){let n=Number(a);if(isNaN(n)||n===0)return"0 Bytes";let s=1024,c=e<0?0:e,r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],u=Math.floor(Math.log(n)/Math.log(s));return parseFloat((n/Math.pow(s,u)).toFixed(c))+" "+r[u]}};t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o({name:"adaptiveFileSize",type:t,pure:!0,standalone:!0});let i=t;return i})();var d=(()=>{let t=class t{transform(a){return{creation_date:"Creation Date",epochs:"Number of Epochs",file_size_bytes:"File Size",learning_rate:"Learning Rate",model:"Model Architecture",training_duration_seconds:"Training Duration",duration_seconds:"Total Duration",arch:"Model Architecture",best_acc:"Best Accuracy",device:"Device Used",lr:"Learning Rate",pruning_ratio:"Pruning Ratio",start_epoch:"Starting Epoch",pruning_times:"Pruning Iterations",rewinding_epoch:"Rewinding Epoch",save_dir:"Saving Directory",algorithm_key:"Algorithm Key",execution_date:"Execution Date",seed:"Random Seed",dataset:"Dataset Name",batch_size:"Batch Size",workers:"Workers",n_bits_w:"Bitwidth for Weights",channel_wise:"Channel-wise Quantization",n_bits_a:"Bitwidth for Activations",disable_8bit_head_stem:"Disable 8-bit Head and Stem",num_samples:"Number of Samples",iters_w:"Number of Iterations",weight:"Weight Parameter",keep_cpu:"Keep Calibration Data on CPU",wwq:"Weight Quantization",waq:"Activation Quantization",b_start:"Initial Temperature",b_end:"Final Temperature",warmup:"Warmup Period",awq:"Activation Weight Quantization",aaq:"Activation Activation Quantization",init_wmode:"Weight Initialization Mode",init_amode:"Activation Initialization Mode",order:"Order of Quantization",prob:"Probability",input_prob:"Input Probability",act_quant:"Apply Activation Quantization",num_indexes_to_replace:"Number of Indexes to Replace",alpha:"L1 Regularization Coefficient (Alpha)",unlearn_lr:"Learning Rate for Unlearning",unlearn_epochs:"Nr. of Epochs for L1-Sparse Unlearning",train_seed:"Random Seed for Training",class_to_replace:"Specific Class to Forget",data:"Location of the Data Corpus",indexes_to_replace:"Specific Index Data to Forget",no_aug:"No Augmentation in Training Dataset",decreasing_lr:"Decreasing Strategy",rewind_epoch:"Rewind Checkpoint",imagenet_arch:"Architecture for ImageNet Size Samples",no_l1_epochs:"Non L1 Epochs",momentum:"Momentum",weight_decay:"Weight Decay",num_workers:"Number of workers"}[a]||a}};t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o({name:"parametersLabel",type:t,pure:!0,standalone:!0});let i=t;return i})();var f=(()=>{let t=class t{transform(a){let e=Number(a);if(isNaN(e))return"Invalid duration";let n=Math.floor(e/3600),s=Math.floor(e%3600/60),c=Math.floor(e%60),r="";return n>0&&(r+=`${n}h `),(s>0||n>0)&&(r+=`${s}m `),r+=`${c}s`,r.trim()}};t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o({name:"readableDuration",type:t,pure:!0,standalone:!0});let i=t;return i})();export{l as a,d as b,f as c}; diff --git a/frontend/server/modelsmith-build/browser/chunk-O6HMI7CW.js b/frontend/server/modelsmith-build/browser/chunk-KP473PLS.js similarity index 98% rename from frontend/server/modelsmith-build/browser/chunk-O6HMI7CW.js rename to frontend/server/modelsmith-build/browser/chunk-KP473PLS.js index 2c8721d2..4b530412 100644 --- a/frontend/server/modelsmith-build/browser/chunk-O6HMI7CW.js +++ b/frontend/server/modelsmith-build/browser/chunk-KP473PLS.js @@ -1,4 +1,4 @@ -import{S as f,X as d,aa as D,g as l,j as i,o as a,r as p,y as c,za as b}from"./chunk-MDAOMI2L.js";var P=D;function S(e){return!!e[P]}var w=Symbol("__destroy"),g=Symbol("__decoratorApplied");function v(e){return typeof e=="string"?Symbol(`__destroy__${e}`):w}function x(e){e.prototype[g]=!0}function O(e,t){e[t]||(e[t]=new i)}function _(e,t){e[t]&&(e[t].next(),e[t].complete(),e[t]=null)}function C(e){e instanceof l&&e.unsubscribe()}function j(e){Array.isArray(e)&&e.forEach(C)}function E(e,t){return function(){if(e&&e.call(this),_(this,v()),t.arrayName&&j(this[t.arrayName]),t.checkProperties)for(let o in this)t.blackList?.includes(o)||C(this[o])}}function k(e,t){e.prototype.ngOnDestroy=E(e.prototype.ngOnDestroy,t)}function A(e,t){let o=e.\u0275pipe;o.onDestroy=E(o.onDestroy,t)}function G(e={}){return t=>{S(t)?A(t,e):k(t,e),x(t)}}var m=7,y=Symbol("CheckerHasBeenSet");function B(e,t){e[y]||I()||(h(()=>p(Promise.resolve()).pipe(c(()=>{let o;try{o=b(e)}catch{o=null}let n=o?.lView;if(n==null)return a;let r=n[m]||(n[m]=[]),s=new i;return r.push(function(){h(()=>{s.next(),s.complete()})}),s}),c(()=>Promise.resolve())).subscribe(()=>{(t.observed??t.observers.length>0)&&console.warn(T(e))})),e[y]=!0)}function I(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"}function h(e){let t=d.Zone;return!!t&&typeof t.root?.run=="function"?t.root.run(e):e()}function T(e){return` +import{S as f,X as d,aa as D,g as l,j as i,o as a,r as p,y as c,za as b}from"./chunk-MVLCGSW5.js";var P=D;function S(e){return!!e[P]}var w=Symbol("__destroy"),g=Symbol("__decoratorApplied");function v(e){return typeof e=="string"?Symbol(`__destroy__${e}`):w}function x(e){e.prototype[g]=!0}function O(e,t){e[t]||(e[t]=new i)}function _(e,t){e[t]&&(e[t].next(),e[t].complete(),e[t]=null)}function C(e){e instanceof l&&e.unsubscribe()}function j(e){Array.isArray(e)&&e.forEach(C)}function E(e,t){return function(){if(e&&e.call(this),_(this,v()),t.arrayName&&j(this[t.arrayName]),t.checkProperties)for(let o in this)t.blackList?.includes(o)||C(this[o])}}function k(e,t){e.prototype.ngOnDestroy=E(e.prototype.ngOnDestroy,t)}function A(e,t){let o=e.\u0275pipe;o.onDestroy=E(o.onDestroy,t)}function G(e={}){return t=>{S(t)?A(t,e):k(t,e),x(t)}}var m=7,y=Symbol("CheckerHasBeenSet");function B(e,t){e[y]||I()||(h(()=>p(Promise.resolve()).pipe(c(()=>{let o;try{o=b(e)}catch{o=null}let n=o?.lView;if(n==null)return a;let r=n[m]||(n[m]=[]),s=new i;return r.push(function(){h(()=>{s.next(),s.complete()})}),s}),c(()=>Promise.resolve())).subscribe(()=>{(t.observed??t.observers.length>0)&&console.warn(T(e))})),e[y]=!0)}function I(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"}function h(e){let t=d.Zone;return!!t&&typeof t.root?.run=="function"?t.root.run(e):e()}function T(e){return` The ${e.constructor.name} still has subscriptions that haven't been unsubscribed. This may happen if the class extends another class decorated with @UntilDestroy(). The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy(). diff --git a/frontend/server/modelsmith-build/browser/chunk-BTHDGCD5.js b/frontend/server/modelsmith-build/browser/chunk-LCKMIOUI.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-BTHDGCD5.js rename to frontend/server/modelsmith-build/browser/chunk-LCKMIOUI.js index 8e84697f..805e02af 100644 --- a/frontend/server/modelsmith-build/browser/chunk-BTHDGCD5.js +++ b/frontend/server/modelsmith-build/browser/chunk-LCKMIOUI.js @@ -1,4 +1,4 @@ -import{$ as w,$a as f,Aa as ve,Ab as K,C as se,D as he,Da as m,Dd as Ae,Ea as r,Hb as Ce,Hd as A,Id as Pe,Ja as _,Jd as Ne,Ka as ye,Kb as Me,O as ue,Pa as x,Pb as ze,Qa as H,Ra as M,S as N,Ta as E,Vb as Re,Xa as p,Z as B,Zb as Te,_ as L,_d as He,ab as s,ae as je,ba as $,bb as S,ca as T,cd as D,ee as qe,fb as we,g as ce,ga as Z,gb as j,h as me,ha as I,hd as ee,ia as g,ib as q,id as O,j as y,jd as te,je as Be,kb as C,kd as De,lb as W,mb as b,na as xe,o as fe,oa as pe,ob as z,pa as ge,pb as R,qb as h,qd as Oe,rb as u,sb as G,sc as Se,ta as _e,tb as Fe,tc as ke,ua as be,ub as Ee,wa as F,wc as J,xc as Le,zb as k,zc as Ie}from"./chunk-MDAOMI2L.js";var ie=class{constructor(t){this._box=t,this._destroyed=new y,this._resizeSubject=new y,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new me(n=>{let e=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(he(n=>n.some(e=>e.target===t)),ue({bufferSize:1,refCount:!0}),N(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ye=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=T(_),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,d){let i=d?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new ie(i)),this._observers.get(i).observe(e)}};t.\u0275fac=function(d){return new(d||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let l=t;return l})();var at=["notch"],rt=["matFormFieldNotchedOutline",""],ct=["*"],mt=["textField"],ft=["iconPrefixContainer"],st=["textPrefixContainer"],ht=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ut=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function xt(l,t){l&1&&S(0,"span",19)}function pt(l,t){if(l&1&&(f(0,"label",18),b(1,1),x(2,xt,1,0,"span",19),s()),l&2){let n=C(2);M("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),H("for",n._control.disableAutomaticLabeling?null:n._control.id),m(2),p(!n.hideRequiredMarker&&n._control.required?2:-1)}}function gt(l,t){if(l&1&&x(0,pt,3,5,"label",18),l&2){let n=C();p(n._hasFloatingLabel()?0:-1)}}function _t(l,t){l&1&&S(0,"div",5)}function bt(l,t){}function vt(l,t){if(l&1&&x(0,bt,0,0,"ng-template",11),l&2){C(2);let n=G(1);M("ngTemplateOutlet",n)}}function yt(l,t){if(l&1&&(f(0,"div",7),x(1,vt,1,1,null,11),s()),l&2){let n=C();M("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),m(),p(n._forceDisplayInfixLabel()?-1:1)}}function wt(l,t){l&1&&(f(0,"div",8,2),b(2,2),s())}function Ft(l,t){l&1&&(f(0,"div",9,3),b(2,3),s())}function Et(l,t){}function Ct(l,t){if(l&1&&x(0,Et,0,0,"ng-template",11),l&2){C();let n=G(1);M("ngTemplateOutlet",n)}}function Mt(l,t){l&1&&(f(0,"div",12),b(1,4),s())}function zt(l,t){l&1&&(f(0,"div",13),b(1,5),s())}function Rt(l,t){l&1&&S(0,"div",14)}function Tt(l,t){if(l&1&&(f(0,"div",16),b(1,6),s()),l&2){let n=C();M("@transitionMessages",n._subscriptAnimationState)}}function St(l,t){if(l&1&&(f(0,"mat-hint",20),Fe(1),s()),l&2){let n=C(2);M("id",n._hintLabelId),m(),Ee(n.hintLabel)}}function kt(l,t){if(l&1&&(f(0,"div",17),x(1,St,2,2,"mat-hint",20),b(2,7),S(3,"div",21),b(4,8),s()),l&2){let n=C();M("@transitionMessages",n._subscriptAnimationState),m(),p(n.hintLabel?1:-1)}}var Ve=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["mat-label"]],standalone:!0});let l=t;return l})(),Lt=0,et=new w("MatError"),pi=(()=>{let t=class t{constructor(e,d){this.id=`mat-mdc-error-${Lt++}`,e||d.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(d){return new(d||t)(_e("aria-live"),r(F))},t.\u0275dir=g({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(d,i){d&2&&j("id",i.id)},inputs:{id:"id"},standalone:!0,features:[k([{provide:et,useExisting:t}])]});let l=t;return l})(),It=0,Xe=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${It++}`}};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(d,i){d&2&&(j("id",i.id),H("align",null),E("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let l=t;return l})(),tt=new w("MatPrefix"),gi=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[k([{provide:tt,useExisting:t}])]});let l=t;return l})(),it=new w("MatSuffix"),_i=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[k([{provide:it,useExisting:t}])]});let l=t;return l})(),dt=new w("FloatingLabelParent"),Qe=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=T(Ye),this._ngZone=T(_),this._parent=T(dt),this._resizeSubscription=new ce}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Dt(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(d){return new(d||t)(r(F))},t.\u0275dir=g({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(d,i){d&2&&E("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let l=t;return l})();function Dt(l){let t=l;if(t.offsetParent!==null)return t.scrollWidth;let n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let e=n.scrollWidth;return n.remove(),e}var Ue="mdc-line-ripple--active",Y="mdc-line-ripple--deactivating",$e=(()=>{let t=class t{constructor(e,d){this._elementRef=e,this._handleTransitionEnd=i=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Y);i.propertyName==="opacity"&&a&&o.remove(Ue,Y)},d.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Y),e.add(Ue)}deactivate(){this._elementRef.nativeElement.classList.add(Y)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(d){return new(d||t)(r(F),r(_))},t.\u0275dir=g({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let l=t;return l})(),Ze=(()=>{let t=class t{constructor(e,d){this._elementRef=e,this._ngZone=d,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(d){return new(d||t)(r(F),r(_))},t.\u0275cmp=Z({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(d,i){if(d&1&&R(at,5),d&2){let o;h(o=u())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(d,i){d&2&&E("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[K],attrs:rt,ngContentSelectors:ct,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(d,i){d&1&&(W(),S(0,"div",1),f(1,"div",2,0),b(3),s(),S(4,"div",3))},encapsulation:2,changeDetection:0});let l=t;return l})(),Ot={transitionMessages:Se("transitionMessages",[Le("enter",J({opacity:1,transform:"translateY(0%)"})),Ie("void => enter",[J({opacity:0,transform:"translateY(-5px)"}),ke("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},le=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t});let l=t;return l})();var oe=new w("MatFormField"),At=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),We=0,Ge="fill",Pt="auto",Ke="fixed",Nt="translateY(-50%)",bi=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=D(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Pt}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let d=this._appearance,i=e||this._defaults?.appearance||Ge;this._appearance=i,this._appearance==="outline"&&this._appearance!==d&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ke}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ke}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,d,i,o,a,c,v,V){this._elementRef=e,this._changeDetectorRef=d,this._dir=o,this._platform=a,this._defaults=c,this._animationMode=v,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Ge,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${We++}`,this._hintLabelId=`mat-mdc-hint-${We++}`,this._subscriptAnimationState="",this._destroyed=new y,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=T(be),c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(N(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),se(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ye(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(N(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let d=this._control?this._control.ngControl:null;return d&&d[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let d=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,i=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;d?e.push(d.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push(...this._errorChildren.map(d=>d.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let d=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,o=d?.getBoundingClientRect().width??0,a=i?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",v=`${o+a}px`,X=`calc(${c} * (${v} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( +import{$ as w,$a as f,$d as He,Aa as ve,Ab as k,Ac as Ie,Bb as K,C as se,D as he,Da as m,Ea as r,Ed as Ae,Ib as Ce,Id as A,Ja as _,Jd as Pe,Ka as ye,Kd as Ne,Lb as Me,O as ue,Pa as x,Qa as H,Qb as ze,Ra as M,S as N,Ta as E,Wb as Re,Xa as p,Z as B,_ as L,_b as Te,ab as s,ba as $,bb as S,be as je,ca as T,dd as D,fb as we,fe as qe,g as ce,ga as Z,gb as j,h as me,ha as I,ia as g,ib as q,id as ee,j as y,jd as O,kb as C,kd as te,ke as Be,lb as W,ld as De,mb as b,na as xe,o as fe,oa as pe,ob as z,pa as ge,pb as R,qb as h,rb as u,rd as Oe,sb as G,ta as _e,tb as Fe,tc as Se,ua as be,ub as Ee,uc as ke,wa as F,xc as J,yc as Le}from"./chunk-MVLCGSW5.js";var ie=class{constructor(t){this._box=t,this._destroyed=new y,this._resizeSubject=new y,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new me(n=>{let e=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(he(n=>n.some(e=>e.target===t)),ue({bufferSize:1,refCount:!0}),N(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ye=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=T(_),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,d){let i=d?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new ie(i)),this._observers.get(i).observe(e)}};t.\u0275fac=function(d){return new(d||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let l=t;return l})();var at=["notch"],rt=["matFormFieldNotchedOutline",""],ct=["*"],mt=["textField"],ft=["iconPrefixContainer"],st=["textPrefixContainer"],ht=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ut=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function xt(l,t){l&1&&S(0,"span",19)}function pt(l,t){if(l&1&&(f(0,"label",18),b(1,1),x(2,xt,1,0,"span",19),s()),l&2){let n=C(2);M("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),H("for",n._control.disableAutomaticLabeling?null:n._control.id),m(2),p(!n.hideRequiredMarker&&n._control.required?2:-1)}}function gt(l,t){if(l&1&&x(0,pt,3,5,"label",18),l&2){let n=C();p(n._hasFloatingLabel()?0:-1)}}function _t(l,t){l&1&&S(0,"div",5)}function bt(l,t){}function vt(l,t){if(l&1&&x(0,bt,0,0,"ng-template",11),l&2){C(2);let n=G(1);M("ngTemplateOutlet",n)}}function yt(l,t){if(l&1&&(f(0,"div",7),x(1,vt,1,1,null,11),s()),l&2){let n=C();M("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),m(),p(n._forceDisplayInfixLabel()?-1:1)}}function wt(l,t){l&1&&(f(0,"div",8,2),b(2,2),s())}function Ft(l,t){l&1&&(f(0,"div",9,3),b(2,3),s())}function Et(l,t){}function Ct(l,t){if(l&1&&x(0,Et,0,0,"ng-template",11),l&2){C();let n=G(1);M("ngTemplateOutlet",n)}}function Mt(l,t){l&1&&(f(0,"div",12),b(1,4),s())}function zt(l,t){l&1&&(f(0,"div",13),b(1,5),s())}function Rt(l,t){l&1&&S(0,"div",14)}function Tt(l,t){if(l&1&&(f(0,"div",16),b(1,6),s()),l&2){let n=C();M("@transitionMessages",n._subscriptAnimationState)}}function St(l,t){if(l&1&&(f(0,"mat-hint",20),Fe(1),s()),l&2){let n=C(2);M("id",n._hintLabelId),m(),Ee(n.hintLabel)}}function kt(l,t){if(l&1&&(f(0,"div",17),x(1,St,2,2,"mat-hint",20),b(2,7),S(3,"div",21),b(4,8),s()),l&2){let n=C();M("@transitionMessages",n._subscriptAnimationState),m(),p(n.hintLabel?1:-1)}}var Ve=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["mat-label"]],standalone:!0});let l=t;return l})(),Lt=0,et=new w("MatError"),pi=(()=>{let t=class t{constructor(e,d){this.id=`mat-mdc-error-${Lt++}`,e||d.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(d){return new(d||t)(_e("aria-live"),r(F))},t.\u0275dir=g({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(d,i){d&2&&j("id",i.id)},inputs:{id:"id"},standalone:!0,features:[k([{provide:et,useExisting:t}])]});let l=t;return l})(),It=0,Xe=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${It++}`}};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(d,i){d&2&&(j("id",i.id),H("align",null),E("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let l=t;return l})(),tt=new w("MatPrefix"),gi=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[k([{provide:tt,useExisting:t}])]});let l=t;return l})(),it=new w("MatSuffix"),_i=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[k([{provide:it,useExisting:t}])]});let l=t;return l})(),dt=new w("FloatingLabelParent"),Qe=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=T(Ye),this._ngZone=T(_),this._parent=T(dt),this._resizeSubscription=new ce}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Dt(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(d){return new(d||t)(r(F))},t.\u0275dir=g({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(d,i){d&2&&E("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let l=t;return l})();function Dt(l){let t=l;if(t.offsetParent!==null)return t.scrollWidth;let n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let e=n.scrollWidth;return n.remove(),e}var Ue="mdc-line-ripple--active",Y="mdc-line-ripple--deactivating",$e=(()=>{let t=class t{constructor(e,d){this._elementRef=e,this._handleTransitionEnd=i=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Y);i.propertyName==="opacity"&&a&&o.remove(Ue,Y)},d.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Y),e.add(Ue)}deactivate(){this._elementRef.nativeElement.classList.add(Y)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(d){return new(d||t)(r(F),r(_))},t.\u0275dir=g({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let l=t;return l})(),Ze=(()=>{let t=class t{constructor(e,d){this._elementRef=e,this._ngZone=d,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(d){return new(d||t)(r(F),r(_))},t.\u0275cmp=Z({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(d,i){if(d&1&&R(at,5),d&2){let o;h(o=u())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(d,i){d&2&&E("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[K],attrs:rt,ngContentSelectors:ct,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(d,i){d&1&&(W(),S(0,"div",1),f(1,"div",2,0),b(3),s(),S(4,"div",3))},encapsulation:2,changeDetection:0});let l=t;return l})(),Ot={transitionMessages:Se("transitionMessages",[Le("enter",J({opacity:1,transform:"translateY(0%)"})),Ie("void => enter",[J({opacity:0,transform:"translateY(-5px)"}),ke("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},le=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275dir=g({type:t});let l=t;return l})();var oe=new w("MatFormField"),At=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),We=0,Ge="fill",Pt="auto",Ke="fixed",Nt="translateY(-50%)",bi=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=D(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Pt}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let d=this._appearance,i=e||this._defaults?.appearance||Ge;this._appearance=i,this._appearance==="outline"&&this._appearance!==d&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ke}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ke}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,d,i,o,a,c,v,V){this._elementRef=e,this._changeDetectorRef=d,this._dir=o,this._platform=a,this._defaults=c,this._animationMode=v,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Ge,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${We++}`,this._hintLabelId=`mat-mdc-hint-${We++}`,this._subscriptAnimationState="",this._destroyed=new y,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=T(be),c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(N(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),se(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ye(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(N(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let d=this._control?this._control.ngControl:null;return d&&d[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let d=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,i=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;d?e.push(d.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push(...this._errorChildren.map(d=>d.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let d=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,o=d?.getBoundingClientRect().width??0,a=i?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",v=`${o+a}px`,X=`calc(${c} * (${v} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, ${Nt} translateX(${X}) )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let d=e.getRootNode();return d&&d!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(d){return new(d||t)(r(F),r(Me),r(_),r(Ae),r(O),r(At,8),r(ve,8),r(ze))},t.\u0275cmp=Z({type:t,selectors:[["mat-form-field"]],contentQueries:function(d,i,o){if(d&1&&(z(o,Ve,5),z(o,Ve,7),z(o,le,5),z(o,tt,5),z(o,it,5),z(o,et,5),z(o,Xe,5)),d&2){let a;h(a=u())&&(i._labelChildNonStatic=a.first),h(a=u())&&(i._labelChildStatic=a.first),h(a=u())&&(i._formFieldControl=a.first),h(a=u())&&(i._prefixChildren=a),h(a=u())&&(i._suffixChildren=a),h(a=u())&&(i._errorChildren=a),h(a=u())&&(i._hintChildren=a)}},viewQuery:function(d,i){if(d&1&&(R(mt,5),R(ft,5),R(st,5),R(Qe,5),R(Ze,5),R($e,5)),d&2){let o;h(o=u())&&(i._textField=o.first),h(o=u())&&(i._iconPrefixContainer=o.first),h(o=u())&&(i._textPrefixContainer=o.first),h(o=u())&&(i._floatingLabel=o.first),h(o=u())&&(i._notchedOutline=o.first),h(o=u())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(d,i){d&2&&E("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations",i._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary",i.color!=="accent"&&i.color!=="warn")("mat-accent",i.color==="accent")("mat-warn",i.color==="warn")("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[k([{provide:oe,useExisting:t},{provide:dt,useExisting:t}]),K],ngContentSelectors:ut,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(d,i){if(d&1){let o=we();W(ht),x(0,gt,1,1,"ng-template",null,0,Ce),f(2,"div",4,1),q("click",function(c){return pe(o),ge(i._control.onContainerClick(c))}),x(4,_t,1,0,"div",5),f(5,"div",6),x(6,yt,2,2,"div",7)(7,wt,3,0,"div",8)(8,Ft,3,0,"div",9),f(9,"div",10),x(10,Ct,1,1,null,11),b(11),s(),x(12,Mt,2,0,"div",12)(13,zt,2,0,"div",13),s(),x(14,Rt,1,0,"div",14),s(),f(15,"div",15),x(16,Tt,2,1,"div",16)(17,kt,5,2,"div",17),s()}if(d&2){let o;m(2),E("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),m(2),p(!i._hasOutline()&&!i._control.disabled?4:-1),m(2),p(i._hasOutline()?6:-1),m(),p(i._hasIconPrefix?7:-1),m(),p(i._hasTextPrefix?8:-1),m(2),p(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),m(2),p(i._hasTextSuffix?12:-1),m(),p(i._hasIconSuffix?13:-1),m(),p(i._hasOutline()?-1:14),m(),E("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic"),m(),p((o=i._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[Qe,Ze,Re,$e,Xe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Ot.transitionMessages]},changeDetection:0});let l=t;return l})(),ne=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275mod=I({type:t}),t.\u0275inj=L({imports:[A,Te,Oe,A]});let l=t;return l})();var lt=De({passive:!0}),ot=(()=>{let t=class t{constructor(e,d){this._platform=e,this._ngZone=d,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return fe;let d=ee(e),i=this._monitoredElements.get(d);if(i)return i.subject;let o=new y,a="cdk-text-field-autofilled",c=v=>{v.animationName==="cdk-text-field-autofill-start"&&!d.classList.contains(a)?(d.classList.add(a),this._ngZone.run(()=>o.next({target:v.target,isAutofilled:!0}))):v.animationName==="cdk-text-field-autofill-end"&&d.classList.contains(a)&&(d.classList.remove(a),this._ngZone.run(()=>o.next({target:v.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{d.addEventListener("animationstart",c,lt),d.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(d,{subject:o,unlisten:()=>{d.removeEventListener("animationstart",c,lt)}}),o}stopMonitoring(e){let d=ee(e),i=this._monitoredElements.get(d);i&&(i.unlisten(),i.subject.complete(),d.classList.remove("cdk-text-field-autofill-monitored"),d.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(d))}ngOnDestroy(){this._monitoredElements.forEach((e,d)=>this.stopMonitoring(d))}};t.\u0275fac=function(d){return new(d||t)($(O),$(_))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let l=t;return l})();var nt=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275mod=I({type:t}),t.\u0275inj=L({});let l=t;return l})();var jt=new w("MAT_INPUT_VALUE_ACCESSOR"),qt=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Bt=0,Yi=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=D(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(He.required)??!1}set required(e){this._required=D(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&te().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=D(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,d,i,o,a,c,v,V,X,ae){this._elementRef=e,this._platform=d,this.ngControl=i,this._autofillMonitor=V,this._formField=ae,this._uid=`mat-input-${Bt++}`,this.focused=!1,this.stateChanges=new y,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(U=>te().has(U)),this._iOSKeyupListener=U=>{let P=U.target;!P.value&&P.selectionStart===0&&P.selectionEnd===0&&(P.setSelectionRange(1,1),P.setSelectionRange(0,0))};let Q=this._elementRef.nativeElement,re=Q.nodeName.toLowerCase();this._inputValueAccessor=v||Q,this._previousNativeValue=this.value,this.id=this.id,d.IOS&&X.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Pe(c,i,a,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=re==="select",this._isTextarea=re==="textarea",this._isInFormField=!!ae,this._isNativeSelect&&(this.controlType=Q.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let d=this._elementRef.nativeElement;this._previousPlaceholder=e,e?d.setAttribute("placeholder",e):d.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){qt.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,d=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&d&&d.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(d){return new(d||t)(r(F),r(O),r(je,10),r(qe,8),r(Be,8),r(Ne),r(jt,10),r(ot),r(_),r(oe,8))},t.\u0275dir=g({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(d,i){d&1&&q("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),d&2&&(j("id",i.id)("disabled",i.disabled)("required",i.required),H("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),E("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[k([{provide:le,useExisting:t}]),xe]});let l=t;return l})(),Vi=(()=>{let t=class t{};t.\u0275fac=function(d){return new(d||t)},t.\u0275mod=I({type:t}),t.\u0275inj=L({imports:[A,ne,ne,nt,A]});let l=t;return l})();export{Ve as a,pi as b,gi as c,_i as d,le as e,oe as f,At as g,bi as h,ne as i,Yi as j,Vi as k}; diff --git a/frontend/server/modelsmith-build/browser/chunk-MDAOMI2L.js b/frontend/server/modelsmith-build/browser/chunk-MVLCGSW5.js similarity index 65% rename from frontend/server/modelsmith-build/browser/chunk-MDAOMI2L.js rename to frontend/server/modelsmith-build/browser/chunk-MVLCGSW5.js index 1f3a0d53..e3392018 100644 --- a/frontend/server/modelsmith-build/browser/chunk-MDAOMI2L.js +++ b/frontend/server/modelsmith-build/browser/chunk-MVLCGSW5.js @@ -1,11 +1,11 @@ -var z0=Object.create;var pl=Object.defineProperty,G0=Object.defineProperties,W0=Object.getOwnPropertyDescriptor,q0=Object.getOwnPropertyDescriptors,Z0=Object.getOwnPropertyNames,Vs=Object.getOwnPropertySymbols,Y0=Object.getPrototypeOf,ml=Object.prototype.hasOwnProperty,jm=Object.prototype.propertyIsEnumerable;var Lm=(t,e,r)=>e in t?pl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,b=(t,e)=>{for(var r in e||={})ml.call(e,r)&&Lm(t,r,e[r]);if(Vs)for(var r of Vs(e))jm.call(e,r)&&Lm(t,r,e[r]);return t},O=(t,e)=>G0(t,q0(e));var Vm=(t,e)=>{var r={};for(var n in t)ml.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Vs)for(var n of Vs(t))e.indexOf(n)<0&&jm.call(t,n)&&(r[n]=t[n]);return r};var CL=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var K0=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Z0(e))!ml.call(t,i)&&i!==r&&pl(t,i,{get:()=>e[i],enumerable:!(n=W0(e,i))||n.enumerable});return t};var xL=(t,e,r)=>(r=t!=null?z0(Y0(t)):{},K0(e||!t||!t.__esModule?pl(r,"default",{value:t,enumerable:!0}):r,t));var Vr=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(t,e)).next())});function SL(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}function Bm(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Um(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function sr(t){return this instanceof sr?(this.v=t,this):new sr(t)}function $m(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,_){o.push([f,h,m,_])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(m){d(o[0][3],m)}}function c(f){f.value instanceof sr?Promise.resolve(f.value.v).then(u,l):d(o[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Hm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Um=="function"?Um(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}function T(t){return typeof t=="function"}function gl(t){return T(t?.lift)}function S(t){return e=>{if(gl(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function On(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Us=On(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +var G0=Object.create;var pl=Object.defineProperty,W0=Object.defineProperties,q0=Object.getOwnPropertyDescriptor,Z0=Object.getOwnPropertyDescriptors,Y0=Object.getOwnPropertyNames,Vs=Object.getOwnPropertySymbols,K0=Object.getPrototypeOf,ml=Object.prototype.hasOwnProperty,jm=Object.prototype.propertyIsEnumerable;var Lm=(t,e,r)=>e in t?pl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,b=(t,e)=>{for(var r in e||={})ml.call(e,r)&&Lm(t,r,e[r]);if(Vs)for(var r of Vs(e))jm.call(e,r)&&Lm(t,r,e[r]);return t},O=(t,e)=>W0(t,Z0(e));var Vm=(t,e)=>{var r={};for(var n in t)ml.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Vs)for(var n of Vs(t))e.indexOf(n)<0&&jm.call(t,n)&&(r[n]=t[n]);return r};var ML=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Q0=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Y0(e))!ml.call(t,i)&&i!==r&&pl(t,i,{get:()=>e[i],enumerable:!(n=q0(e,i))||n.enumerable});return t};var SL=(t,e,r)=>(r=t!=null?G0(K0(t)):{},Q0(e||!t||!t.__esModule?pl(r,"default",{value:t,enumerable:!0}):r,t));var Ur=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(t,e)).next())});function AL(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}function Bm(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Um(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ar(t){return this instanceof ar?(this.v=t,this):new ar(t)}function $m(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,_){o.push([f,h,m,_])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(m){d(o[0][3],m)}}function c(f){f.value instanceof ar?Promise.resolve(f.value.v).then(u,l):d(o[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Hm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Um=="function"?Um(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}function T(t){return typeof t=="function"}function gl(t){return T(t?.lift)}function S(t){return e=>{if(gl(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function On(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Us=On(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function ar(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ae=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(T(n))try{n()}catch(o){e=o instanceof Us?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{zm(o)}catch(s){e=e??[],s instanceof Us?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Us(e)}}add(e){var r;if(e&&e!==this)if(this.closed)zm(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&ar(r,e)}remove(e){let{_finalizers:r}=this;r&&ar(r,e),e instanceof t&&e._removeParent(this)}};ae.EMPTY=(()=>{let t=new ae;return t.closed=!0,t})();var vl=ae.EMPTY;function Bs(t){return t instanceof ae||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function zm(t){T(t)?t():t.unsubscribe()}var St={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ur={setTimeout(t,e,...r){let{delegate:n}=Ur;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Ur;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function $s(t){Ur.setTimeout(()=>{let{onUnhandledError:e}=St;if(e)e(t);else throw t})}function cn(){}var Gm=bl("C",void 0,void 0);function Wm(t){return bl("E",void 0,t)}function qm(t){return bl("N",t,void 0)}function bl(t,e,r){return{kind:t,value:e,error:r}}var cr=null;function Br(t){if(St.useDeprecatedSynchronousErrorHandling){let e=!cr;if(e&&(cr={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=cr;if(cr=null,r)throw n}}else t()}function Zm(t){St.useDeprecatedSynchronousErrorHandling&&cr&&(cr.errorThrown=!0,cr.error=t)}var ur=class extends ae{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Bs(e)&&e.add(this)):this.destination=J0}static create(e,r,n){return new un(e,r,n)}next(e){this.isStopped?Dl(qm(e),this):this._next(e)}error(e){this.isStopped?Dl(Wm(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Dl(Gm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Q0=Function.prototype.bind;function yl(t,e){return Q0.call(t,e)}var _l=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Hs(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Hs(n)}else Hs(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Hs(r)}}},un=class extends ur{constructor(e,r,n){super();let i;if(T(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&St.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&yl(e.next,o),error:e.error&&yl(e.error,o),complete:e.complete&&yl(e.complete,o)}):i=e}this.destination=new _l(i)}};function Hs(t){St.useDeprecatedSynchronousErrorHandling?Zm(t):$s(t)}function X0(t){throw t}function Dl(t,e){let{onStoppedNotification:r}=St;r&&Ur.setTimeout(()=>r(t,e))}var J0={closed:!0,next:cn,error:X0,complete:cn};function M(t,e,r,n,i){return new Xi(t,e,r,n,i)}var Xi=class extends ur{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function le(t,e){return S((r,n)=>{let i=0;r.subscribe(M(n,o=>t.call(e,o,i++)&&n.next(o)))})}var zs=class extends ae{constructor(e,r){super()}schedule(e,r=0){return this}};var Ji={setInterval(t,e,...r){let{delegate:n}=Ji;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Ji;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Fn=class extends zs{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,r),this}requestAsyncId(e,r,n=0){return Ji.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Ji.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,ar(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var eo={now(){return(eo.delegate||Date).now()},delegate:void 0};var $r=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};$r.now=eo.now;var kn=class extends $r{constructor(e,r=$r.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var ln=new kn(Fn),Ym=ln;function C(t,e){return S((r,n)=>{let i=0;r.subscribe(M(n,o=>{n.next(t.call(e,o,i++))}))})}var Hr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Gs(t){return T(t?.then)}var zr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ce(t){return t}function wl(...t){return El(t)}function El(t){return t.length===0?Ce:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var N=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=tI(r)?r:new un(r,n,i);return Br(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Km(n),new n((i,o)=>{let s=new un({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[zr](){return this}pipe(...r){return El(r)(this)}toPromise(r){return r=Km(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Km(t){var e;return(e=t??St.Promise)!==null&&e!==void 0?e:Promise}function eI(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function tI(t){return t&&t instanceof ur||eI(t)&&Bs(t)}function Ws(t){return T(t[zr])}function qs(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function Zs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function nI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ys=nI();function Ks(t){return T(t?.[Ys])}function Qs(t){return $m(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield sr(r.read());if(i)return yield sr(void 0);yield yield sr(n)}}finally{r.releaseLock()}})}function Xs(t){return T(t?.getReader)}function V(t){if(t instanceof N)return t;if(t!=null){if(Ws(t))return rI(t);if(Hr(t))return iI(t);if(Gs(t))return oI(t);if(qs(t))return Qm(t);if(Ks(t))return sI(t);if(Xs(t))return aI(t)}throw Zs(t)}function rI(t){return new N(e=>{let r=t[zr]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function iI(t){return new N(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,$s)})}function sI(t){return new N(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Qm(t){return new N(e=>{cI(t,e).catch(r=>e.error(r))})}function aI(t){return Qm(Qs(t))}function cI(t,e){var r,n,i,o;return Bm(this,void 0,void 0,function*(){try{for(r=Hm(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Ne(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function Xm(t,e,r,n,i,o,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=_=>u{o&&e.next(_),u++;let w=!1;V(r(_,l++)).subscribe(M(e,E=>{i?.(E),o?h(E):e.next(E)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;c.length&&um(E)):m(E)}f()}catch(E){e.error(E)}}))};return t.subscribe(M(e,h,()=>{d=!0,f()})),()=>{a?.()}}function Q(t,e,r=1/0){return T(e)?Q((n,i)=>C((o,s)=>e(n,o,i,s))(V(t(n,i))),r):(typeof e=="number"&&(r=e),S((n,i)=>Xm(n,i,t,r)))}function jt(t=1/0){return Q(Ce,t)}function Jm(){return jt(1)}function Js(t){return t&&T(t.schedule)}function Il(t){return t[t.length-1]}function Gr(t){return T(Il(t))?t.pop():void 0}function Vt(t){return Js(Il(t))?t.pop():void 0}function eg(t,e){return typeof Il(t)=="number"?t.pop():e}function lr(t,e=0){return S((r,n)=>{r.subscribe(M(n,i=>Ne(n,t,()=>n.next(i),e),()=>Ne(n,t,()=>n.complete(),e),i=>Ne(n,t,()=>n.error(i),e)))})}function ea(t,e=0){return S((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function tg(t,e){return V(t).pipe(ea(e),lr(e))}function ng(t,e){return V(t).pipe(ea(e),lr(e))}function rg(t,e){return new N(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function ig(t,e){return new N(r=>{let n;return Ne(r,e,()=>{n=t[Ys](),Ne(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>T(n?.return)&&n.return()})}function ta(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(r=>{Ne(r,e,()=>{let n=t[Symbol.asyncIterator]();Ne(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function og(t,e){return ta(Qs(t),e)}function sg(t,e){if(t!=null){if(Ws(t))return tg(t,e);if(Hr(t))return rg(t,e);if(Gs(t))return ng(t,e);if(qs(t))return ta(t,e);if(Ks(t))return ig(t,e);if(Xs(t))return og(t,e)}throw Zs(t)}function re(t,e){return e?sg(t,e):V(t)}function Ut(...t){return Jm()(re(t,Vt(t)))}var xe=new N(t=>t.complete());function me(t){return t<=0?()=>xe:S((e,r)=>{let n=0;e.subscribe(M(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function to(){return S((t,e)=>{t.subscribe(M(e,cn))})}function no(t){return C(()=>t)}function Cl(t,e){return e?r=>Ut(e.pipe(me(1),to()),r.pipe(Cl(t))):Q((r,n)=>V(t(r,n)).pipe(me(1),no(r)))}function na(t){return t instanceof Date&&!isNaN(t)}function ro(t=0,e,r=Ym){let n=-1;return e!=null&&(Js(e)?r=e:n=e),new N(i=>{let o=na(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function ag(t,e=ln){let r=ro(t,e);return Cl(()=>r)}function Wr(){return S((t,e)=>{let r=null;t._refCount++;let n=M(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var qr=class extends N{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,gl(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ae;let r=this.getSubject();e.add(this.source.subscribe(M(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ae.EMPTY)}return e}refCount(){return Wr()(this)}};var cg=On(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=(()=>{class t extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ra(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new cg}next(r){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?vl:(this.currentObservers=null,o.push(r),new ae(()=>{this.currentObservers=null,ar(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new N;return r.source=this,r}}return t.create=(e,r)=>new ra(e,r),t})(),ra=class extends B{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:vl}};var de=class extends B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var io=class extends B{constructor(e=1/0,r=1/0,n=eo){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;sug(e)&&t()),e},clearImmediate(t){ug(t)}};var{setImmediate:lI,clearImmediate:dI}=lg,oo={setImmediate(...t){let{delegate:e}=oo;return(e?.setImmediate||lI)(...t)},clearImmediate(t){let{delegate:e}=oo;return(e?.clearImmediate||dI)(t)},delegate:void 0};var ia=class extends Fn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=oo.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(oo.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var oa=class extends kn{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var fI=new oa(ia);var sa=class extends Fn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var aa=class extends kn{};var Sl=new aa(sa);function x(...t){let e=Vt(t);return re(t,e)}function Bt(t,e){let r=T(t)?t:()=>t,n=i=>i.error(r());return new N(e?i=>e.schedule(n,0,i):n)}var Pn=class t{constructor(e,r,n){this.kind=e,this.value=r,this.error=n,this.hasValue=e==="N"}observe(e){return Tl(this,e)}do(e,r,n){let{kind:i,value:o,error:s}=this;return i==="N"?e?.(o):i==="E"?r?.(s):n?.()}accept(e,r,n){var i;return T((i=e)===null||i===void 0?void 0:i.next)?this.observe(e):this.do(e,r,n)}toObservable(){let{kind:e,value:r,error:n}=this,i=e==="N"?x(r):e==="E"?Bt(()=>n):e==="C"?xe:0;if(!i)throw new TypeError(`Unexpected notification kind ${e}`);return i}static createNext(e){return new t("N",e)}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}};Pn.completeNotification=new Pn("C");function Tl(t,e){var r,n,i;let{kind:o,value:s,error:a}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(r=e.next)===null||r===void 0||r.call(e,s):o==="E"?(n=e.error)===null||n===void 0||n.call(e,a):(i=e.complete)===null||i===void 0||i.call(e)}function Al(t){return!!t&&(t instanceof N||T(t.lift)&&T(t.subscribe))}var dn=On(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});var hI=On(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function pI(t,e){let{first:r,each:n,with:i=mI,scheduler:o=e??ln,meta:s=null}=na(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return S((a,c)=>{let u,l,d=null,f=0,h=m=>{l=Ne(c,o,()=>{try{u.unsubscribe(),V(i({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(_){c.error(_)}},m)};u=a.subscribe(M(c,m=>{l?.unsubscribe(),f++,c.next(d=m),n>0&&h(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&h(r!=null?typeof r=="number"?r:+r-o.now():n)})}function mI(t){throw new hI(t)}var{isArray:gI}=Array;function vI(t,e){return gI(e)?t(...e):t(e)}function Zr(t){return C(e=>vI(t,e))}var{isArray:bI}=Array,{getPrototypeOf:yI,prototype:DI,keys:_I}=Object;function ca(t){if(t.length===1){let e=t[0];if(bI(e))return{args:e,keys:null};if(wI(e)){let r=_I(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function wI(t){return t&&typeof t=="object"&&yI(t)===DI}function ua(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function dr(...t){let e=Vt(t),r=Gr(t),{args:n,keys:i}=ca(t);if(n.length===0)return re([],e);let o=new N(EI(n,e,i?s=>ua(i,s):Ce));return r?o.pipe(Zr(r)):o}function EI(t,e,r=Ce){return n=>{dg(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let u=re(t[c],e),l=!1;u.subscribe(M(n,d=>{o[c]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function dg(t,e,r){t?Ne(r,t,e):e()}function so(t){return new N(e=>{V(t()).subscribe(e)})}function ao(...t){let e=Gr(t),{args:r,keys:n}=ca(t),i=new N(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(n?ua(n,a):a),o.complete())}))}});return e?i.pipe(Zr(e)):i}var II=["addListener","removeListener"],CI=["addEventListener","removeEventListener"],xI=["on","off"];function Nl(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return Nl(t,e,r).pipe(Zr(n));let[i,o]=TI(t)?CI.map(s=>a=>t[s](e,a,r)):MI(t)?II.map(fg(t,e)):SI(t)?xI.map(fg(t,e)):[];if(!i&&Hr(t))return Q(s=>Nl(s,e,r))(V(t));if(!i)throw new TypeError("Invalid event target");return new N(s=>{let a=(...c)=>s.next(1o(a)})}function fg(t,e){return r=>n=>t[r](e,n)}function MI(t){return T(t.addListener)&&T(t.removeListener)}function SI(t){return T(t.on)&&T(t.off)}function TI(t){return T(t.addEventListener)&&T(t.removeEventListener)}function la(...t){let e=Vt(t),r=eg(t,1/0),n=t;return n.length?n.length===1?V(n[0]):jt(r)(re(n,e)):xe}function hg(t){return S((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let u=i;i=null,r.next(u)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(M(r,u=>{n=!0,i=u,o||V(t(u)).subscribe(o=M(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function AI(t,e=ln){return hg(()=>ro(t,e))}function Re(t){return S((e,r)=>{let n=null,i=!1,o;n=e.subscribe(M(r,void 0,void 0,s=>{o=V(t(s,Re(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function pg(t,e,r,n,i){return(o,s)=>{let a=r,c=e,u=0;o.subscribe(M(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function $t(t,e){return T(e)?Q(t,e,1):Q(t,1)}function Yr(t,e=ln){return S((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l{o=u,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function Ln(t){return S((e,r)=>{let n=!1;e.subscribe(M(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Rl(){return S((t,e)=>{t.subscribe(M(e,r=>Tl(r,e)))})}function Kr(t,e=Ce){return t=t??NI,S((r,n)=>{let i,o=!0;r.subscribe(M(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function NI(t,e){return t===e}function da(t=RI){return S((e,r)=>{let n=!1;e.subscribe(M(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function RI(){return new dn}function fa(t,e){return e?r=>r.pipe(fa((n,i)=>V(t(n,i)).pipe(C((o,s)=>e(n,o,i,s))))):S((r,n)=>{let i=0,o=null,s=!1;r.subscribe(M(n,a=>{o||(o=M(n,void 0,()=>{o=null,s&&n.complete()}),V(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function ht(t){return S((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Tt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?le((i,o)=>t(i,o,n)):Ce,me(1),r?Ln(e):da(()=>new dn))}function ha(t,e,r,n){return S((i,o)=>{let s;!e||typeof e=="function"?s=e:{duration:r,element:s,connector:n}=e;let a=new Map,c=m=>{a.forEach(m),m(o)},u=m=>c(_=>_.error(m)),l=0,d=!1,f=new Xi(o,m=>{try{let _=t(m),w=a.get(_);if(!w){a.set(_,w=n?n():new B);let E=h(_,w);if(o.next(E),r){let k=M(w,()=>{w.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(_));f.add(V(r(E)).subscribe(k))}}w.next(s?s(m):m)}catch(_){u(_)}},()=>c(m=>m.complete()),u,()=>a.clear(),()=>(d=!0,l===0));i.subscribe(f);function h(m,_){let w=new N(E=>{l++;let k=_.subscribe(E);return()=>{k.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return w.key=m,w}})}function Qr(t){return t<=0?()=>xe:S((e,r)=>{let n=[];e.subscribe(M(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Ol(t,e){let r=arguments.length>=2;return n=>n.pipe(t?le((i,o)=>t(i,o,n)):Ce,Qr(1),r?Ln(e):da(()=>new dn))}function Fl(){return S((t,e)=>{t.subscribe(M(e,r=>{e.next(Pn.createNext(r))},()=>{e.next(Pn.createComplete()),e.complete()},r=>{e.next(Pn.createError(r)),e.complete()}))})}function kl(...t){let e=t.length;if(e===0)throw new Error("list of properties cannot be empty.");return C(r=>{let n=r;for(let i=0;i=2,!0))}function uo(t={}){let{connector:e=()=>new B,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},m=()=>{let _=s;h(),_?.unsubscribe()};return S((_,w)=>{u++,!d&&!l&&f();let E=c=c??e();w.add(()=>{u--,u===0&&!d&&!l&&(a=Pl(m,i))}),E.subscribe(w),!s&&u>0&&(s=new un({next:k=>E.next(k),error:k=>{d=!0,f(),a=Pl(h,r,k),E.error(k)},complete:()=>{l=!0,f(),a=Pl(h,n),E.complete()}}),V(_).subscribe(s))})(o)}}function Pl(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new un({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function OI(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,uo({connector:()=>new io(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Xr(t){return le((e,r)=>t<=r)}function lo(...t){let e=Vt(t);return S((r,n)=>{(e?Ut(t,r,e):Ut(t,r)).subscribe(n)})}function Ve(t,e){return S((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(M(n,c=>{i?.unsubscribe();let u=0,l=o++;V(t(c,l)).subscribe(i=M(n,d=>n.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function jn(t){return S((e,r)=>{V(t).subscribe(M(r,()=>r.complete(),cn)),!r.closed&&e.subscribe(r)})}function FI(t,e=!1){return S((r,n)=>{let i=0;r.subscribe(M(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function ee(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?S((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(M(o,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),o.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Ce}function fo(...t){let e=Gr(t);return S((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c{o[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(Ce))&&(s=null))},cn));r.subscribe(M(n,c=>{if(a){let u=[c,...o];n.next(e?e(...u):u)}}))})}function mg(t,e){return Object.is(t,e)}var ge=null,ho=!1,pa=1,Ht=Symbol("SIGNAL");function $(t){let e=ge;return ge=t,e}function gg(){return ge}function kI(){return ho}var Jr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ul(t){if(ho)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(t);let e=ge.nextProducerIndex++;if(Da(ge),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function va(t){Da(t);for(let e=0;e0}function Da(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function wg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Eg(t){return t.producerNode!==void 0}function Ig(t){let e=Object.create(LI);e.computation=t;let r=()=>{if(vg(e),Ul(e),e.value===ma)throw e.error;return e.value};return r[Ht]=e,r}var Ll=Symbol("UNSET"),jl=Symbol("COMPUTING"),ma=Symbol("ERRORED"),LI=O(b({},Jr),{value:Ll,dirty:!0,error:null,equal:mg,producerMustRecompute(t){return t.value===Ll||t.value===jl},producerRecomputeValue(t){if(t.value===jl)throw new Error("Detected cycle in computations.");let e=t.value;t.value=jl;let r=mo(t),n;try{n=t.computation()}catch(i){n=ma,t.error=i}finally{ga(t,r)}if(e!==Ll&&e!==ma&&n!==ma&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function jI(){throw new Error}var Cg=jI;function xg(){Cg()}function Mg(t){Cg=t}var VI=null;function Sg(t){let e=Object.create(Ag);e.value=t;let r=()=>(Ul(e),e.value);return r[Ht]=e,r}function Bl(t,e){yg()||xg(),t.equal(t.value,e)||(t.value=e,UI(t))}function Tg(t,e){yg()||xg(),Bl(t,e(t.value))}var Ag=O(b({},Jr),{equal:mg,value:void 0});function UI(t){t.version++,PI(),bg(t),VI?.()}function Ng(t,e,r){let n=Object.create(BI);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let i=c=>{n.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(ba(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Vl)}let a=()=>{if(n.fn===null)return;if(kI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!va(n))return;n.hasRun=!0;let c=mo(n);try{n.cleanupFn(),n.cleanupFn=Vl,n.fn(i)}finally{ga(n,c)}};return n.ref={notify:()=>Dg(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Ht]:n},n.ref}var Vl=()=>{},BI=O(b({},Jr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Vl});var Cv="https://g.co/ng/security#xss",I=class extends Error{constructor(e,r){super(lc(e,r)),this.code=e}};function lc(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function xo(t){return{toString:t}.toString()}var _a="__parameters__";function $I(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function wf(t,e,r){return xo(()=>{let n=$I(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(_a)?c[_a]:Object.defineProperty(c,_a,{value:[]})[_a];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var ye=globalThis;function ie(t){for(let e in t)if(t[e]===ie)return e;throw Error("Could not find renamed property on target object.")}function HI(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function $e(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map($e).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function sd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var zI=ie({__forward_ref__:ie});function Ot(t){return t.__forward_ref__=Ot,t.toString=function(){return $e(this())},t}function Ue(t){return xv(t)?t():t}function xv(t){return typeof t=="function"&&t.hasOwnProperty(zI)&&t.__forward_ref__===Ot}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function H(t){return{providers:t.providers||[],imports:t.imports||[]}}function dc(t){return Rg(t,Sv)||Rg(t,Tv)}function Mv(t){return dc(t)!==null}function Rg(t,e){return t.hasOwnProperty(e)?t[e]:null}function GI(t){let e=t&&(t[Sv]||t[Tv]);return e||null}function Og(t){return t&&(t.hasOwnProperty(Fg)||t.hasOwnProperty(WI))?t[Fg]:null}var Sv=ie({\u0275prov:ie}),Fg=ie({\u0275inj:ie}),Tv=ie({ngInjectableDef:ie}),WI=ie({ngInjectorDef:ie}),v=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=D({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Av(t){return t&&!!t.\u0275providers}var qI=ie({\u0275cmp:ie}),ZI=ie({\u0275dir:ie}),YI=ie({\u0275pipe:ie}),KI=ie({\u0275mod:ie}),Pa=ie({\u0275fac:ie}),go=ie({__NG_ELEMENT_ID__:ie}),kg=ie({__NG_ENV_ID__:ie});function fc(t){return typeof t=="string"?t:t==null?"":String(t)}function QI(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():fc(t)}function XI(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new I(-200,t)}function Ef(t,e){throw new I(-201,!1)}var U=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(U||{}),ad;function Nv(){return ad}function qe(t){let e=ad;return ad=t,e}function Rv(t,e,r){let n=dc(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&U.Optional)return null;if(e!==void 0)return e;Ef(t,"Injector")}var JI={},vo=JI,cd="__NG_DI_FLAG__",La="ngTempTokenPath",eC="ngTokenPath",tC=/\n/gm,nC="\u0275",Pg="__source",ii;function rC(){return ii}function Vn(t){let e=ii;return ii=t,e}function iC(t,e=U.Default){if(ii===void 0)throw new I(-203,!1);return ii===null?Rv(t,void 0,e):ii.get(t,e&U.Optional?null:void 0,e)}function p(t,e=U.Default){return(Nv()||iC)(Ue(t),e)}function g(t,e=U.Default){return p(t,hc(e))}function hc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ud(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):$e(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(tC,` - `)}`}var Cf=If(wf("Inject",t=>({token:t})),-1),yi=If(wf("Optional"),8);var Mo=If(wf("SkipSelf"),4);function mr(t,e){let r=t.hasOwnProperty(Pa);return r?t[Pa]:null}function cC(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?xf(r,e):e(r))}function Ov(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ja(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function lC(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function So(t,e,r){let n=To(t,e);return n>=0?t[n|1]=r:(n=~n,dC(t,n,e,r)),n}function $l(t,e){let r=To(t,e);if(r>=0)return t[r|1]}function To(t,e){return fC(t,e,1)}function fC(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),n&2&&u!==d){if(At(n))return!1;s=!0}}}}return At(n)||s}function At(t){return(t&1)===0}function bC(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!At(s)&&(e+=jg(o,i),i=""),n=s,o=o||!At(n);r++}return i!==""&&(e+=jg(o,i)),e}function IC(t){return t.map(EC).join(",")}function CC(t){let e=[],r=[],n=1,i=2;for(;n{let e=zv(t),r=O(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Pv.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wt.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});Gv(r);let n=t.dependencies;return r.directiveDefs=Ug(n,!1),r.pipeDefs=Ug(n,!0),r.id=SC(r),r})}function xC(t){return $n(t)||Uv(t)}function MC(t){return t!==null}function z(t){return xo(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Vg(t,e){if(t==null)return si;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=Bn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==Bn.None?[n,a]:n,e[o]=s):r[o]=n}return r}function G(t){return xo(()=>{let e=zv(t);return Gv(e),e})}function pc(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function $n(t){return t[qI]||null}function Uv(t){return t[ZI]||null}function Bv(t){return t[YI]||null}function $v(t){let e=$n(t)||Uv(t)||Bv(t);return e!==null?e.standalone:!1}function Hv(t,e){let r=t[KI]||null;if(!r&&e===!0)throw new Error(`Type ${$e(t)} does not have '\u0275mod' property.`);return r}function zv(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||si,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vg(t.inputs,e),outputs:Vg(t.outputs),debugInfo:null}}function Gv(t){t.features?.forEach(e=>e(t))}function Ug(t,e){if(!t)return null;let r=e?Bv:xC;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(MC)}function SC(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function vn(t){return{\u0275providers:t}}function TC(...t){return{\u0275providers:Wv(!0,t),\u0275fromNgModule:!0}}function Wv(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return xf(e,s=>{let a=s;dd(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&qv(i,o),r}function qv(t,e){for(let r=0;r{e(o,n)})}}function dd(t,e,r,n){if(t=Ue(t),!t)return!1;let i=null,o=Og(t),s=!o&&$n(t);if(!o&&!s){let c=t.ngModule;if(o=Og(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)dd(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{xf(o.imports,l=>{dd(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&qv(u,e)}if(!a){let u=mr(i)||(()=>new i);e({provide:i,useFactory:u,deps:Oe},i),e({provide:kv,useValue:i,multi:!0},i),e({provide:fn,useValue:()=>p(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=t;Sf(c,l=>{e(l,u)})}}else return!1;return i!==t&&t.providers!==void 0}function Sf(t,e){for(let r of t)Av(r)&&(r=r.\u0275providers),Array.isArray(r)?Sf(r,e):e(r)}var AC=ie({provide:String,useValue:ie});function Zv(t){return t!==null&&typeof t=="object"&&AC in t}function NC(t){return!!(t&&t.useExisting)}function RC(t){return!!(t&&t.useFactory)}function ai(t){return typeof t=="function"}function OC(t){return!!t.useClass}var mc=new v(""),Ta={},FC={},Hl;function Tf(){return Hl===void 0&&(Hl=new Va),Hl}var Fe=class{},yo=class extends Fe{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hd(e,s=>this.processProvider(s)),this.records.set(Fv,ei(void 0,this)),i.has("environment")&&this.records.set(Fe,ei(void 0,this));let o=this.records.get(mc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(kv,Oe,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=$(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),$(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Vn(this),n=qe(void 0),i;try{return e()}finally{Vn(r),qe(n)}}get(e,r=vo,n=U.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(kg))return e[kg](this);n=hc(n);let i,o=Vn(this),s=qe(void 0);try{if(!(n&U.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=VC(e)&&dc(e);u&&this.injectableDefInScope(u)?c=ei(fd(e),Ta):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&U.Self?Tf():this.parent;return r=n&U.Optional&&r===vo?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[La]=a[La]||[]).unshift($e(e)),o)throw a;return sC(a,e,"R3InjectorError",this.source)}else throw a}finally{qe(s),Vn(o)}}resolveInjectorInitializers(){let e=$(null),r=Vn(this),n=qe(void 0),i;try{let o=this.get(fn,Oe,U.Self);for(let s of o)s()}finally{Vn(r),qe(n),$(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push($e(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(e){e=Ue(e);let r=ai(e)?e:Ue(e&&e.provide),n=PC(e);if(!ai(e)&&e.multi===!0){let i=this.records.get(r);i||(i=ei(void 0,Ta,!0),i.factory=()=>ud(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=$(null);try{return r.value===Ta&&(r.value=FC,r.value=r.factory()),typeof r.value=="object"&&r.value&&jC(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{$(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ue(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function fd(t){let e=dc(t),r=e!==null?e.factory:mr(t);if(r!==null)return r;if(t instanceof v)throw new I(204,!1);if(t instanceof Function)return kC(t);throw new I(204,!1)}function kC(t){if(t.length>0)throw new I(204,!1);let r=GI(t);return r!==null?()=>r.factory(t):()=>new t}function PC(t){if(Zv(t))return ei(void 0,t.useValue);{let e=Yv(t);return ei(e,Ta)}}function Yv(t,e,r){let n;if(ai(t)){let i=Ue(t);return mr(i)||fd(i)}else if(Zv(t))n=()=>Ue(t.useValue);else if(RC(t))n=()=>t.useFactory(...ud(t.deps||[]));else if(NC(t))n=()=>p(Ue(t.useExisting));else{let i=Ue(t&&(t.useClass||t.provide));if(LC(t))n=()=>new i(...ud(t.deps));else return mr(i)||fd(i)}return n}function ei(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function LC(t){return!!t.deps}function jC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function VC(t){return typeof t=="function"||typeof t=="object"&&t instanceof v}function hd(t,e){for(let r of t)Array.isArray(r)?hd(r,e):r&&Av(r)?hd(r.\u0275providers,e):e(r)}function rt(t,e){t instanceof yo&&t.assertNotDestroyed();let r,n=Vn(t),i=qe(void 0);try{return e()}finally{Vn(n),qe(i)}}function Kv(){return Nv()!==void 0||rC()!=null}function Ao(t){if(!Kv())throw new I(-203,!1)}function UC(t){return typeof t=="function"}var Ze=0,A=1,F=2,Se=3,Nt=4,Ke=5,gt=6,Ua=7,De=8,ci=9,qt=10,te=11,Do=12,Bg=13,Di=14,He=15,gr=16,ti=17,hn=18,No=19,Qv=20,Un=21,Aa=22,mt=23,oe=25,Af=1,_o=6,pn=7,Ba=8,ui=9,Me=10,$a=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}($a||{});function Rt(t){return Array.isArray(t)&&typeof t[Af]=="object"}function Kt(t){return Array.isArray(t)&&t[Af]===!0}function Nf(t){return(t.flags&4)!==0}function Ro(t){return t.componentOffset>-1}function gc(t){return(t.flags&1)===1}function mn(t){return!!t.template}function Ha(t){return(t[F]&512)!==0}var pd=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Xv(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function it(){return Jv}function Jv(t){return t.type.prototype.ngOnChanges&&(t.setInput=$C),BC}it.ngInherit=!0;function BC(){let t=tb(this),e=t?.current;if(e){let r=t.previous;if(r===si)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function $C(t,e,r,n,i){let o=this.declaredInputs[n],s=tb(t)||HC(t,{previous:si,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new pd(u&&u.currentValue,r,c===si),Xv(t,e,i,r)}var eb="__ngSimpleChanges__";function tb(t){return t[eb]||null}function HC(t,e){return t[eb]=e}var $g=null;var zt=function(t,e,r){$g?.(t,e,r)},nb="svg",zC="math";function Ye(t){for(;Array.isArray(t);)t=t[Ze];return t}function GC(t){for(;Array.isArray(t);){if(typeof t[Af]=="object")return t;t=t[Ze]}return null}function rb(t,e){return Ye(e[t])}function ot(t,e){return Ye(e[t.index])}function Rf(t,e){return t.data[e]}function Of(t,e){return t[e]}function Zt(t,e){let r=e[t];return Rt(r)?r:r[Ze]}function WC(t){return(t[F]&4)===4}function Ff(t){return(t[F]&128)===128}function qC(t){return Kt(t[Se])}function Hn(t,e){return e==null?null:t[e]}function ib(t){t[ti]=0}function ob(t){t[F]&1024||(t[F]|=1024,Ff(t)&&vc(t))}function ZC(t,e){for(;t>0;)e=e[Di],t--;return e}function wo(t){return!!(t[F]&9216||t[mt]?.dirty)}function md(t){t[qt].changeDetectionScheduler?.notify(7),t[F]&64&&(t[F]|=1024),wo(t)&&vc(t)}function vc(t){t[qt].changeDetectionScheduler?.notify(0);let e=vr(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!Ff(e)));)e=vr(e)}function sb(t,e){if((t[F]&256)===256)throw new I(911,!1);t[Un]===null&&(t[Un]=[]),t[Un].push(e)}function YC(t,e){if(t[Un]===null)return;let r=t[Un].indexOf(e);r!==-1&&t[Un].splice(r,1)}function vr(t){let e=t[Se];return Kt(e)?e[Se]:e}var L={lFrame:mb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ab=!1;function KC(){return L.lFrame.elementDepthCount}function QC(){L.lFrame.elementDepthCount++}function XC(){L.lFrame.elementDepthCount--}function cb(){return L.bindingsEnabled}function _i(){return L.skipHydrationRootTNode!==null}function JC(t){return L.skipHydrationRootTNode===t}function ex(t){L.skipHydrationRootTNode=t}function tx(){L.skipHydrationRootTNode=null}function R(){return L.lFrame.lView}function ce(){return L.lFrame.tView}function Nz(t){return L.lFrame.contextLView=t,t[De]}function Rz(t){return L.lFrame.contextLView=null,t}function _e(){let t=ub();for(;t!==null&&t.type===64;)t=t.parent;return t}function ub(){return L.lFrame.currentTNode}function nx(){let t=L.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ir(t,e){let r=L.lFrame;r.currentTNode=t,r.isParent=e}function kf(){return L.lFrame.isParent}function Pf(){L.lFrame.isParent=!1}function rx(){return L.lFrame.contextLView}function lb(){return ab}function Hg(t){ab=t}function Oo(){let t=L.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ix(t){return L.lFrame.bindingIndex=t}function Gn(){return L.lFrame.bindingIndex++}function db(t){let e=L.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function ox(){return L.lFrame.inI18n}function sx(t,e){let r=L.lFrame;r.bindingIndex=r.bindingRootIndex=t,gd(e)}function ax(){return L.lFrame.currentDirectiveIndex}function gd(t){L.lFrame.currentDirectiveIndex=t}function Lf(t){let e=L.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function fb(){return L.lFrame.currentQueryIndex}function jf(t){L.lFrame.currentQueryIndex=t}function cx(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[Ke]:null}function hb(t,e,r){if(r&U.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&U.Host);)if(i=cx(o),i===null||(o=o[Di],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=L.lFrame=pb();return n.currentTNode=e,n.lView=t,!0}function Vf(t){let e=pb(),r=t[A];L.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function pb(){let t=L.lFrame,e=t===null?null:t.child;return e===null?mb(t):e}function mb(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function gb(){let t=L.lFrame;return L.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var vb=gb;function Uf(){let t=gb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ux(t){return(L.lFrame.contextLView=ZC(t,L.lFrame.contextLView))[De]}function Wn(){return L.lFrame.selectedIndex}function br(t){L.lFrame.selectedIndex=t}function wi(){let t=L.lFrame;return Rf(t.tView,t.selectedIndex)}function Oz(){L.lFrame.currentNamespace=nb}function Fz(){lx()}function lx(){L.lFrame.currentNamespace=null}function bb(){return L.lFrame.currentNamespace}var yb=!0;function bc(){return yb}function qn(t){yb=t}function dx(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=Jv(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function yc(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[ti]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,zg(a,o)):zg(a,o)}var oi=-1,yr=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function hx(t){return t instanceof yr}function px(t){return(t.flags&8)!==0}function mx(t){return(t.flags&16)!==0}var Gl={},vd=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=hc(n);let i=this.injector.get(e,Gl,n);return i!==Gl||r===Gl?i:this.parentInjector.get(e,r,n)}};function _b(t){return t!==oi}function za(t){return t&32767}function gx(t){return t>>16}function Ga(t,e){let r=gx(t),n=e;for(;r>0;)n=n[Di],r--;return n}var bd=!0;function Wa(t){let e=bd;return bd=t,e}var vx=256,wb=vx-1,Eb=5,bx=0,Gt={};function yx(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(go)&&(n=r[go]),n==null&&(n=r[go]=bx++);let i=n&wb,o=1<>Eb)]|=o}function qa(t,e){let r=Ib(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,Wl(n.data,t),Wl(e,null),Wl(n.blueprint,null));let i=Bf(t,e),o=t.injectorIndex;if(_b(i)){let s=za(i),a=Ga(i,e),c=a[A].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function Wl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ib(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Bf(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Tb(i),n===null)return oi;if(r++,i=i[Di],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return oi}function yd(t,e,r){yx(t,e,r)}function Dx(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+l,f=i?a+l:u;for(let h=d;h=c&&m.type===r)return h}if(i){let h=s[c];if(h&&mn(h)&&h.type===r)return c}return null}function Dr(t,e,r,n){let i=t[r],o=e.data;if(hx(i)){let s=i;s.resolving&&XI(QI(o[r]));let a=Wa(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?qe(s.injectImpl):null,l=hb(t,n,U.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&dx(r,o[r],e)}finally{u!==null&&qe(u),Wa(a),s.resolving=!1,vb()}}return i}function wx(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(go)?t[go]:void 0;return typeof e=="number"?e>=0?e&wb:Ex:e}function Gg(t,e,r){let n=1<>Eb)]&n)}function Wg(t,e){return!(t&U.Self)&&!(t&U.Host&&e)}var pr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Mb(this._tNode,this._lView,e,hc(n),r)}};function Ex(){return new pr(_e(),R())}function Zn(t){return xo(()=>{let e=t.prototype.constructor,r=e[Pa]||Dd(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Pa]||Dd(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Dd(t){return xv(t)?()=>{let e=Dd(Ue(t));return e&&e()}:mr(t)}function Ix(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=Sb(o,s,r,n|U.Self,Gt);if(a!==Gt)return a;let c=o.parent;if(!c){let u=s[Qv];if(u){let l=u.get(r,Gt,n);if(l!==Gt)return l}c=Tb(s),s=s[Di]}o=c}return i}function Tb(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[Ke]:null}function Fo(t){return Dx(_e(),t)}function qg(t,e=null,r=null,n){let i=Ab(t,e,r,n);return i.resolveInjectorInitializers(),i}function Ab(t,e=null,r=null,n,i=new Set){let o=[r||Oe,TC(t)];return n=n||(typeof t=="object"?void 0:$e(t)),new yo(o,e||Tf(),n||null,i)}var hr=class hr{static create(e,r){if(Array.isArray(e))return qg({name:""},r,e,"");{let n=e.name??"";return qg({name:n},e.parent,e.providers,n)}}};hr.THROW_IF_NOT_FOUND=vo,hr.NULL=new Va,hr.\u0275prov=D({token:hr,providedIn:"any",factory:()=>p(Fv)}),hr.__NG_ELEMENT_ID__=-1;var ke=hr;var Cx=new v("");Cx.__NG_ELEMENT_ID__=t=>{let e=_e();if(e===null)throw new I(204,!1);if(e.type&2)return e.value;if(t&U.Optional)return null;throw new I(204,!1)};var xx="ngOriginalError";function ql(t){return t[xx]}var Te=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&ql(e);for(;r&&ql(r);)r=ql(r);return r||null}},Nb=new v("",{providedIn:"root",factory:()=>g(Te).handleError.bind(void 0)}),Cr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Mx,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),_d=class extends Cr{constructor(e){super(),this._lView=e}onDestroy(e){return sb(this._lView,e),()=>YC(this._lView,e)}};function Mx(){return new _d(R())}function Sx(){return Ei(_e(),R())}function Ei(t,e){return new ne(ot(t,e))}var ne=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Sx;let t=e;return t})();function Tx(t){return t instanceof ne?t.nativeElement:t}var Qt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var wd=class extends B{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Kv()&&(this.destroyRef=g(Cr,{optional:!0})??void 0,this.pendingTasks=g(Qt,{optional:!0})??void 0)}emit(e){let r=$(null);try{super.next(e)}finally{$(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ae&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},X=wd;function Ax(){return this._results[Symbol.iterator]()}var li=class t{get changes(){return this._changes??=new X}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Ax)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=uC(e);(this._changesDetected=!cC(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Nx="ngSkipHydration",Rx="ngskiphydration";function Rb(t){let e=t.mergedAttrs;if(e===null)return!1;for(let r=0;r=0){let a=Ye(o[s]),c=Zg(o,s,a);pt(a,c),e=c;break}}}}return e||null}function Zg(t,e,r){return new Ed(t[No],e,r)}var Id="__ngContext__";function pt(t,e){Rt(e)?(t[Id]=e[No],Px(e)):t[Id]=e}function Zl(t){let e=t[Id];return typeof e=="number"?Fb(e):e||null}function kb(t){return t&&t.constructor&&t.constructor.\u0275cmp}function jx(t){return t&&t.constructor&&t.constructor.\u0275dir}function Yg(t,e){let r=t[A];for(let n=oe;nHx}),Hx="ng",Hf=new v(""),Qe=new v("",{providedIn:"platform",factory:()=>"unknown"});var Yn=new v(""),ko=new v("",{providedIn:"root",factory:()=>Dc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function zx(){let t=new Ii;return g(Qe)==="browser"&&(t.store=Gx(Dc(),g(xr))),t}var Ii=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,i){return this.store[n]!==void 0?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/null;function Xx(t,e,r=!1){let n=t.getAttribute(Yl);if(n==null)return null;let[i,o]=n.split("|");if(n=r?o:i,!n)return null;let s=o?`|${o}`:"",a=r?i:s,c={};if(n!==""){let l=e.get(Ii,null,{optional:!0});l!==null&&(c=l.get(zb,[])[Number(n)])}let u={data:c,firstChild:t.firstChild??null};return r&&(u.firstChild=t,_c(u,0,t.nextSibling)),a?t.setAttribute(Yl,a):t.removeAttribute(Yl),u}function Jx(){Gb=Xx}function Gf(t,e,r=!1){return Gb(t,e,r)}function eM(t){let e=t._lView;return e[A].type===2?null:(Ha(e)&&(e=e[oe]),e)}function tM(t){return t.textContent?.replace(/\s/gm,"")}function nM(t){let e=Dc(),r=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(o){let s=tM(o);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,i=[];for(;n=r.nextNode();)i.push(n);for(let o of i)o.textContent==="ngetn"?o.replaceWith(e.createTextNode("")):o.remove()}function _c(t,e,r){t.segmentHeads??={},t.segmentHeads[e]=r}function Md(t,e){return t.segmentHeads?.[e]??null}function rM(t,e){let r=t.data,n=r[Wx]?.[e]??null;return n===null&&r[zf]?.[e]&&(n=Wf(t,e)),n}function Wb(t,e){return t.data[zf]?.[e]??null}function Wf(t,e){let r=Wb(t,e)??[],n=0;for(let i of r)n+=i[Ya]*(i[$b]??1);return n}function iM(t){if(typeof t.disconnectedNodes>"u"){let e=t.data[Hb];t.disconnectedNodes=e?new Set(e):null}return t.disconnectedNodes}function wc(t,e){if(typeof t.disconnectedNodes>"u"){let r=t.data[Hb];t.disconnectedNodes=r?new Set(r):null}return!!iM(t)?.has(e)}var wa=new v(""),qb=!1,Zb=new v("",{providedIn:"root",factory:()=>qb});var Ea;function oM(){if(Ea===void 0&&(Ea=null,ye.trustedTypes))try{Ea=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ea}function Ec(t){return oM()?.createHTML(t)||t}var Ia;function sM(){if(Ia===void 0&&(Ia=null,ye.trustedTypes))try{Ia=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ia}function Kg(t){return sM()?.createScriptURL(t)||t}var gn=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Cv})`}},Sd=class extends gn{getTypeName(){return"HTML"}},Td=class extends gn{getTypeName(){return"Style"}},Ad=class extends gn{getTypeName(){return"Script"}},Nd=class extends gn{getTypeName(){return"URL"}},Rd=class extends gn{getTypeName(){return"ResourceURL"}};function vt(t){return t instanceof gn?t.changingThisBreaksApplicationSecurity:t}function Kn(t,e){let r=aM(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Cv})`)}return r===e}function aM(t){return t instanceof gn&&t.getTypeName()||null}function Yb(t){return new Sd(t)}function Kb(t){return new Td(t)}function Qb(t){return new Ad(t)}function Xb(t){return new Nd(t)}function Jb(t){return new Rd(t)}function cM(t){let e=new Fd(t);return uM()?new Od(e):e}var Od=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Ec(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Fd=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Ec(e),r}};function uM(){try{return!!new window.DOMParser().parseFromString(Ec(""),"text/html")}catch{return!1}}var lM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ic(t){return t=String(t),t.match(lM)?t:"unsafe:"+t}function bn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Po(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var ey=bn("area,br,col,hr,img,wbr"),ty=bn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ny=bn("rp,rt"),dM=Po(ny,ty),fM=Po(ty,bn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),hM=Po(ny,bn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Qg=Po(ey,fM,hM,dM),ry=bn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pM=bn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),mM=bn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),gM=Po(ry,pM,mM),vM=bn("script,style,template"),kd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){i.push(r),r=DM(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=yM(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=Xg(e).toLowerCase();if(!Qg.hasOwnProperty(r))return this.sanitizedSomething=!0,!vM.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=Xg(e).toLowerCase();Qg.hasOwnProperty(r)&&!ey.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Jg(e))}};function bM(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function yM(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw iy(e);return e}function DM(t){let e=t.firstChild;if(e&&bM(t,e))throw iy(e);return e}function Xg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function iy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var _M=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wM=/([^\#-~ |!])/g;function Jg(t){return t.replace(/&/g,"&").replace(_M,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(wM,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Ca;function oy(t,e){let r=null;try{Ca=Ca||cM(t);let n=e?String(e):"";r=Ca.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Ca.getInertBodyElement(n)}while(n!==o);let a=new kd().sanitizeChildren(ev(r)||r);return Ec(a)}finally{if(r){let n=ev(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function ev(t){return"content"in t&&EM(t)?t.content:null}function EM(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Pe=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Pe||{});function IM(t){let e=ay();return e?e.sanitize(Pe.URL,t)||"":Kn(t,"URL")?vt(t):Ic(fc(t))}function CM(t){let e=ay();if(e)return Kg(e.sanitize(Pe.RESOURCE_URL,t)||"");if(Kn(t,"ResourceURL"))return Kg(vt(t));throw new I(904,!1)}function xM(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?CM:IM}function sy(t,e,r){return xM(e,r)(t)}function ay(){let t=R();return t&&t[qt].sanitizer}var MM=/^>|^->||--!>|)/g,TM="\u200B$1\u200B";function AM(t){return t.replace(MM,e=>e.replace(SM,TM))}function Pz(t){return t.ownerDocument.defaultView}function Lz(t){return t.ownerDocument}function NM(t){return t.ownerDocument.body}function cy(t){return t instanceof Function?t():t}function ni(t){return(t??g(ke)).get(Qe)==="browser"}var Yt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Yt||{}),RM;function qf(t,e){return RM(t,e)}function ri(t,e,r,n,i){if(n!=null){let o,s=!1;Kt(n)?o=n:Rt(n)&&(s=!0,n=n[Ze]);let a=Ye(n);t===0&&r!==null?i==null?py(e,r,a):Ka(e,r,a,i||null,!0):t===1&&r!==null?Ka(e,r,a,i||null,!0):t===2?Qf(e,a,s):t===3&&e.destroyNode(a),o!=null&&WM(e,t,o,r,i)}}function uy(t,e){return t.createText(e)}function OM(t,e,r){t.setValue(e,r)}function ly(t,e){return t.createComment(AM(e))}function Zf(t,e,r){return t.createElement(e,r)}function FM(t,e){dy(t,e),e[Ze]=null,e[Ke]=null}function kM(t,e,r,n,i,o){n[Ze]=i,n[Ke]=e,Mc(t,n,r,1,i,o)}function dy(t,e){e[qt].changeDetectionScheduler?.notify(8),Mc(t,e,e[te],2,null,null)}function PM(t){let e=t[Do];if(!e)return Kl(t[A],t);for(;e;){let r=null;if(Rt(e))r=e[Do];else{let n=e[Me];n&&(r=n)}if(!r){for(;e&&!e[Nt]&&e!==t;)Rt(e)&&Kl(e[A],e),e=e[Se];e===null&&(e=t),Rt(e)&&Kl(e[A],e),r=e&&e[Nt]}e=r}}function LM(t,e,r,n){let i=Me+n,o=r.length;n>0&&(r[i-1][Nt]=e),n0&&(t[r-1][Nt]=n[Nt]);let o=ja(t,Me+e);FM(n[A],n);let s=o[hn];s!==null&&s.detachView(o[A]),n[Se]=null,n[Nt]=null,n[F]&=-129}return n}function Cc(t,e){if(!(e[F]&256)){let r=e[te];r.destroyNode&&Mc(t,e,r,3,null,null),PM(e)}}function Kl(t,e){if(e[F]&256)return;let r=$(null);try{e[F]&=-129,e[F]|=256,e[mt]&&ba(e[mt]),VM(t,e),jM(t,e),e[A].type===1&&e[te].destroy();let n=e[gr];if(n!==null&&Kt(e[Se])){n!==e[Se]&&Yf(n,e);let i=e[hn];i!==null&&i.detachView(t)}Lx(e)}finally{$(r)}}function jM(t,e){let r=t.cleanup,n=e[Ua];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ua]=null);let i=e[Un];if(i!==null){e[Un]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Wt.None||o===Wt.Emulated)return null}return ot(n,r)}}function Ka(t,e,r,n,i){t.insertBefore(e,r,n,i)}function py(t,e,r){t.appendChild(e,r)}function tv(t,e,r,n,i){n!==null?Ka(t,e,r,n,i):py(t,e,r)}function BM(t,e,r,n){t.removeChild(e,r,n)}function Kf(t,e){return t.parentNode(e)}function $M(t,e){return t.nextSibling(e)}function my(t,e,r){return zM(t,e,r)}function HM(t,e,r){return t.type&40?ot(t,r):null}var zM=HM,nv;function xc(t,e,r,n){let i=hy(t,n,e),o=e[te],s=n.parent||e[Ke],a=my(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;coe&&_y(t,e,oe,!1),zt(s?2:0,i),r(n,i)}finally{br(o),zt(s?3:1,i)}}function Jf(t,e,r){if(Nf(e)){let n=$(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function eS(t){Ob(t)?vy(t):nM(t)}function tS(){xy=eS}function nS(t,e,r,n){let i=Ny(e);i.push(r),t.firstCreatePass&&Ry(t).push(n,i.length-1)}function rS(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return _i()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function rv(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=Bn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?iv(n,r,u,a,c):iv(n,r,u,a)}return n}function iv(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function iS(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function uS(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Ro(r)&&gS(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||qa(r,e),pt(n,e);let s=r.initialInputs;for(let a=i;a{vc(t.lView)},consumerOnSignalRead(){this.lView[mt]=this}});function AS(t){let e=t[mt]??Object.create(NS);return e.lView=t,e}var NS=O(b({},Jr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=vr(t.lView);for(;e&&!jy(e[A]);)e=vr(e);e&&ob(e)},consumerOnSignalRead(){this.lView[mt]=this}});function jy(t){return t.type!==2}var RS=100;function Vy(t,e=!0,r=0){let n=t[qt],i=n.rendererFactory,o=!1;o||i.begin?.();try{OS(t,r)}catch(s){throw e&&Fy(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function OS(t,e){let r=lb();try{Hg(!0),Vd(t,e);let n=0;for(;wo(t);){if(n===RS)throw new I(103,!1);n++,Vd(t,1)}}finally{Hg(r)}}function FS(t,e,r,n){let i=e[F];if((i&256)===256)return;let o=!1,s=!1;!o&&e[qt].inlineEffectRunner?.flush(),Vf(e);let a=!0,c=null,u=null;o||(jy(t)?(u=xS(e),c=mo(u)):gg()===null?(a=!1,u=AS(e),c=mo(u)):e[mt]&&(ba(e[mt]),e[mt]=null));try{ib(e),ix(t.bindingStartIndex),r!==null&&Iy(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let h=t.preOrderCheckHooks;h!==null&&Na(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Ra(e,h,0,null),zl(e,0)}if(s||kS(e),Uy(e,0),t.contentQueries!==null&&Ay(t,e),!o)if(l){let h=t.contentCheckHooks;h!==null&&Na(e,h)}else{let h=t.contentHooks;h!==null&&Ra(e,h,1),zl(e,1)}YM(t,e);let d=t.components;d!==null&&$y(e,d,0);let f=t.viewQuery;if(f!==null&&jd(2,f,n),!o)if(l){let h=t.viewCheckHooks;h!==null&&Na(e,h)}else{let h=t.viewHooks;h!==null&&Ra(e,h,2),zl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Aa]){for(let h of e[Aa])h();e[Aa]=null}o||(e[F]&=-73)}catch(l){throw o||vc(e),l}finally{u!==null&&(ga(u,c),a&&SS(u)),Uf()}}function Uy(t,e){for(let r=Pb(t);r!==null;r=Lb(r))for(let n=Me;n-1&&(Eo(e,n),ja(r,n))}this._attachedToViewContainer=!1}Cc(this._lView[A],this._lView)}onDestroy(e){sb(this._lView,e)}markForCheck(){sh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){md(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,Vy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ha(this._lView),r=this._lView[gr];r!==null&&!e&&Yf(r,this._lView),dy(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=e;let r=Ha(this._lView),n=this._lView[gr];n!==null&&!r&&fy(n,this._lView),md(this._lView)}},wr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=VS;let t=e;return t})(),LS=wr,jS=class extends LS{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Vo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new _r(i)}};function VS(){return Ac(_e(),R())}function Ac(t,e){return t.type&4?new jS(e,t,Ei(t,e)):null}var US=new RegExp(`^(\\d+)*(${Bb}|${Ub})*(.*)`);function BS(t){let e=t.match(US),[r,n,i,o]=e,s=n?parseInt(n,10):i,a=[];for(let[c,u,l]of o.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function $S(t){return!t.prev&&t.parent?.type===8}function Ql(t){return t.index-oe}function HS(t,e){let r=t.i18nNodes;if(r)return r.get(e)}function Nc(t,e,r,n){let i=Ql(n),o=HS(t,i);if(o===void 0){let s=t.data[Yx];if(s?.[i])o=GS(s[i],r);else if(e.firstChild===n)o=t.firstChild;else{let a=n.prev===null,c=n.prev??n.parent;if($S(n)){let u=Ql(n.parent);o=Md(t,u)}else{let u=ot(c,r);if(a)o=u.firstChild;else{let l=Ql(c),d=Md(t,l);if(c.type===2&&d){let h=Wf(t,l)+1;o=Rc(h,d)}else o=u.nextSibling}}}}return o}function Rc(t,e){let r=e;for(let n=0;n0&&(o.firstChild=t,t=Rc(n[Ya],t)),r.push(o)}return[t,r]}var Gy=()=>null;function JS(t,e){let r=t[_o];return!e||r===null||r.length===0?null:r[0].data[Zx]===e?r.shift():(Hy(t),null)}function eT(){Gy=JS}function fi(t,e){return Gy(t,e)}var hi=class{},Wy=new v("",{providedIn:"root",factory:()=>!1});var qy=new v(""),Ud=class{},Ja=class{};function tT(t){let e=Error(`No component factory found for ${$e(t)}.`);return e[nT]=t,e}var nT="ngComponent";var Bd=class{resolveComponentFactory(e){throw tT(e)}},Ih=class Ih{};Ih.NULL=new Bd;var pi=Ih,mi=class{},Xt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>rT();let t=e;return t})();function rT(){let t=R(),e=_e(),r=Zt(e.index,t);return(Rt(r)?r:t)[te]}var iT=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var ov=new Set;function yt(t){ov.has(t)||(ov.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Zy(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof ye.requestAnimationFrame=="function"&&ye.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function sv(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function av(...t){}var P=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,aT(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new I(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,oT,av,av);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},oT={};function ah(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function sT(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Zy(()=>{t.callbackScheduled=!1,$d(t),t.isCheckStableRunning=!0,ah(t),t.isCheckStableRunning=!1})}),$d(t))}function aT(t){let e=()=>{sT(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(cT(a))return r.invokeTask(i,o,s,a);try{return cv(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),uv(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return cv(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!uT(a)&&e(),uv(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,$d(t),ah(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function $d(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function cv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uv(t){t._nesting--,ah(t)}var Hd=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function cT(t){return Yy(t,"__ignore_ng_zone__")}function uT(t){return Yy(t,"__scheduler_tick__")}function Yy(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Be=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Be||{}),Ky={destroy(){}};function lT(t,e){!e&&Ao(lT);let r=e?.injector??g(ke);return ni(r)?(yt("NgAfterRender"),Qy(t,r,!1,e?.phase??Be.MixedReadWrite)):Ky}function Bo(t,e){!e&&Ao(Bo);let r=e?.injector??g(ke);return ni(r)?(yt("NgAfterNextRender"),Qy(t,r,!0,e?.phase??Be.MixedReadWrite)):Ky}function dT(t,e){if(t instanceof Function)switch(e){case Be.EarlyRead:return{earlyRead:t};case Be.Write:return{write:t};case Be.MixedReadWrite:return{mixedReadWrite:t};case Be.Read:return{read:t}}return t}function Qy(t,e,r,n){let i=dT(t,n),o=e.get(ch),s=o.handler??=new Gd,a=[],c=[],u=()=>{for(let f of c)s.unregister(f);l()},l=e.get(Cr).onDestroy(u),d=(f,h)=>{if(!h)return;let m=r?(...w)=>{u(),h(...w)}:h,_=rt(e,()=>new zd(f,a,m));s.register(_),c.push(_)};return d(Be.EarlyRead,i.earlyRead),d(Be.Write,i.write),d(Be.MixedReadWrite,i.mixedReadWrite),d(Be.Read,i.read),{destroy:u}}var zd=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=g(P),this.errorHandler=g(Te,{optional:!0}),g(hi,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},Gd=class{constructor(){this.executingCallbacks=!1,this.buckets={[Be.EarlyRead]:new Set,[Be.Write]:new Set,[Be.MixedReadWrite]:new Set,[Be.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ch=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ec(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&yy(t,r,o.join(" "))}}function bT(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=DT;let t=e;return t})();function DT(){let t=_e();return Jy(t,R())}var _T=yn,Xy=class extends _T{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Ei(this._hostTNode,this._hostLView)}get injector(){return new pr(this._hostTNode,this._hostLView)}get parentInjector(){let e=Bf(this._hostTNode,this._hostLView);if(_b(e)){let r=Ga(e,this._hostLView),n=za(e),i=r[A].data[n+8];return new pr(i,r)}else return new pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=dv(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Me}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=fi(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,di(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!UC(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let c=s?e:new gi($n(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let _=(s?u:this.parentInjector).get(Fe,null);_&&(o=_)}let l=$n(c.componentType??{}),d=fi(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,i,f,o);return this.insertImpl(h.hostView,a,di(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(qC(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Se],u=new Xy(c,c[Ke],c[Se]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Uo(s,i,o,n),e.attachToViewContainerRef(),Ov(Xl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=dv(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Eo(this._lContainer,r);n&&(ja(Xl(this._lContainer),r),Cc(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=Eo(this._lContainer,r);return n&&ja(Xl(this._lContainer),r)!=null?new _r(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function dv(t){return t[Ba]}function Xl(t){return t[Ba]||(t[Ba]=[])}function Jy(t,e){let r,n=e[t.index];return Kt(n)?r=n:(r=Ty(n,e,null,t),e[t.index]=r,Tc(e,r)),eD(r,e,t,n),new Xy(r,t,e)}function wT(t,e){let r=t[te],n=r.createComment(""),i=ot(e,t),o=Kf(r,i);return Ka(r,o,n,$M(r,i),!1),n}var eD=tD,uh=()=>!1;function ET(t,e,r){return uh(t,e,r)}function tD(t,e,r,n){if(t[pn])return;let i;r.type&8?i=Ye(n):i=wT(e,r),t[pn]=i}function IT(t,e,r){if(t[pn]&&t[_o])return!0;let n=r[gt],i=e.index-oe;if(!n||Ox(e)||wc(n,i))return!1;let s=Md(n,i),a=n.data[zf]?.[i],[c,u]=XS(s,a);return t[pn]=c,t[_o]=u,!0}function CT(t,e,r,n){uh(t,r,e)||tD(t,e,r,n)}function xT(){eD=CT,uh=IT}var qd=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Zd=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let u=o[a+1],l=e[-c];for(let d=Me;de.trim())}function iD(t,e,r){t.queries===null&&(t.queries=new Yd),t.queries.track(new Kd(e,r))}function kT(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function lh(t,e){return t.queries.getByIndex(e)}function PT(t,e){let r=t[A],n=lh(r,e);return n.crossesNgTemplate?Qd(r,t,e,[]):nD(r,t,n,e)}function Oc(t){return typeof t=="function"&&t[Ht]!==void 0}function Dn(t,e){yt("NgSignals");let r=Sg(t),n=r[Ht];return e?.equal&&(n.equal=e.equal),r.set=i=>Bl(n,i),r.update=i=>Tg(n,i),r.asReadonly=LT.bind(r),r}function LT(){let t=this[Ht];if(t.readonlyFn===void 0){let e=()=>this();e[Ht]=t,t.readonlyFn=e}return t.readonlyFn}function oD(t){return Oc(t)&&typeof t.set=="function"}function jT(t){return Object.getPrototypeOf(t.prototype).constructor}function be(t){let e=jT(t.type),r=!0,n=[t];for(;e;){let i;if(mn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new I(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=xa(t.inputs),s.inputTransforms=xa(t.inputTransforms),s.declaredInputs=xa(t.declaredInputs),s.outputs=xa(t.outputs);let a=i.hostBindings;a&&HT(t,a);let c=i.viewQuery,u=i.contentQueries;if(c&&BT(t,c),u&&$T(t,u),VT(t,i),HI(t.outputs,i.outputs),mn(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=bo(i.hostAttrs,r=bo(r,i.hostAttrs))}}function xa(t){return t===si?{}:t===Oe?[]:t}function BT(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function $T(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function HT(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function st(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var zn=class{},Io=class{};var Xd=class extends zn{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new tc(this);let i=Hv(e);this._bootstrapComponents=cy(i.bootstrap),this._r3Injector=Ab(e,r,[{provide:zn,useValue:this},{provide:pi,useValue:this.componentFactoryResolver},...n],$e(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Jd=class extends Io{constructor(e){super(),this.moduleType=e}create(e){return new Xd(this.moduleType,e,[])}};var rc=class extends zn{constructor(e){super(),this.componentFactoryResolver=new tc(this),this.instance=null;let r=new yo([...e.providers,{provide:zn,useValue:this},{provide:pi,useValue:this.componentFactoryResolver}],e.parent||Tf(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Fc(t,e,r=null){return new rc({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function sD(t){return dh(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function zT(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function KT(t){return(t&2)==2}function QT(t,e){return t&131071|e<<17}function ef(t){return t|2}function vi(t){return(t&131068)>>2}function Jl(t,e){return t&-131069|e<<2}function XT(t){return(t&1)===1}function tf(t){return t|1}function JT(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Er(s),c=vi(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||To(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let f=Er(t[a+1]);t[n+1]=Ma(f,a),f!==0&&(t[f+1]=Jl(t[f+1],n)),t[a+1]=QT(t[a+1],n)}else t[n+1]=Ma(a,0),a!==0&&(t[a+1]=Jl(t[a+1],n)),a=n;else t[n+1]=Ma(c,0),a===0?a=n:t[c+1]=Jl(t[c+1],n),c=n;u&&(t[n+1]=ef(t[n+1])),fv(t,l,n,!0),fv(t,l,n,!1),eA(e,l,t,n,o),s=Ma(a,c),o?e.classBindings=s:e.styleBindings=s}function eA(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&To(o,e)>=0&&(r[n+1]=tf(r[n+1]))}function fv(t,e,r,n){let i=t[r+1],o=e===null,s=n?Er(i):vi(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],u=t[s+1];tA(c,e)&&(a=!0,t[s+1]=n?tf(u):ef(u)),s=n?Er(u):vi(u)}a&&(t[r+1]=n?ef(i):tf(i))}function tA(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?To(t,e)>=0:!1}var ve={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uD(t){return t.substring(ve.key,ve.keyEnd)}function nA(t){return t.substring(ve.value,ve.valueEnd)}function rA(t){return fD(t),lD(t,bi(t,0,ve.textEnd))}function lD(t,e){let r=ve.textEnd;return r===e?-1:(e=ve.keyEnd=oA(t,ve.key=e,r),bi(t,e,r))}function iA(t){return fD(t),dD(t,bi(t,0,ve.textEnd))}function dD(t,e){let r=ve.textEnd,n=ve.key=bi(t,e,r);return r===n?-1:(n=ve.keyEnd=sA(t,n,r),n=hv(t,n,r,58),n=ve.value=bi(t,n,r),n=ve.valueEnd=aA(t,n,r),hv(t,n,r,59))}function fD(t){ve.key=0,ve.keyEnd=0,ve.value=0,ve.valueEnd=0,ve.textEnd=t.length}function bi(t,e,r){for(;e32;)e++;return e}function sA(t,e,r){let n;for(;e=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function hv(t,e,r,n){return e=bi(t,e,r),e32&&(a=s),o=i,i=n,n=c&-33}return a}function pv(t,e,r,n){let i=-1,o=r;for(;o=0;r=dD(e,r))bD(t,uD(e),nA(e))}function Si(t){ph(pA,pD,t,!0)}function pD(t,e){for(let r=rA(e);r>=0;r=lD(e,r))So(t,uD(e),!0)}function mD(t,e,r,n){let i=R(),o=ce(),s=db(2);if(o.firstUpdatePass&&vD(o,t,s,n),e!==bt&&tt(i,s,e)){let a=o.data[Wn()];yD(o,a,i,i[te],t,i[s+1]=gA(e,r),n,s)}}function ph(t,e,r,n){let i=ce(),o=db(2);i.firstUpdatePass&&vD(i,null,o,n);let s=R();if(r!==bt&&tt(s,o,r)){let a=i.data[Wn()];if(DD(a,n)&&!gD(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=sd(c,r||"")),nf(i,a,s,r,n)}else mA(i,a,s,s[te],s[o+1],s[o+1]=hA(t,e,r),n,o)}}function gD(t,e){return e>=t.expandoStartIndex}function vD(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Wn()],s=gD(t,r);DD(o,n)&&e===null&&!s&&(e=!1),e=uA(i,o,e,n),JT(i,o,e,r,s,n)}}function uA(t,e,r,n){let i=Lf(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=ed(null,t,e,r,n),r=Co(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=ed(i,t,e,r,n),o===null){let c=lA(t,e,n);c!==void 0&&Array.isArray(c)&&(c=ed(null,t,e,c[1],n),c=Co(c,e.attrs,n),dA(t,e,n,c))}else o=fA(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function lA(t,e,r){let n=r?e.classBindings:e.styleBindings;if(vi(n)!==0)return t[Er(n)]}function dA(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Er(i)]=n}function fA(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[i+1];f===bt&&(f=d?Oe:void 0);let h=d?$l(f,n):l===n?f:void 0;if(u&&!oc(h)&&(h=$l(c,n)),oc(h)&&(a=h,s))return a;let m=t[i+1];i=s?Er(m):vi(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=$l(c,n))}return a}function oc(t){return t!==void 0}function gA(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=$e(vt(t)))),t}function DD(t,e){return(t.flags&(e?8:16))!==0}function Bz(t,e,r){let n=R(),i=hh(n,t,e,r);ph(So,pD,i,!0)}var rf=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function td(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function vA(t,e,r){let n,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;o<=s&&o<=c;){let u=t.at(o),l=e[o],d=td(o,u,o,l,r);if(d!==0){d<0&&t.updateValue(o,l),o++;continue}let f=t.at(s),h=e[c],m=td(s,f,c,h,r);if(m!==0){m<0&&t.updateValue(s,h),s--,c--;continue}let _=r(o,u),w=r(s,f),E=r(o,l);if(Object.is(E,w)){let k=r(c,h);Object.is(k,_)?(t.swap(o,s),t.updateValue(s,h),c--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(n??=new sc,i??=vv(t,o,s,r),of(t,n,o,E))t.updateValue(o,l),o++,s++;else if(i.has(E))n.set(_,t.detach(o)),s--;else{let k=t.create(o,e[o]);t.attach(o,k),o++,s++}}for(;o<=c;)gv(t,n,r,o,e[o]),o++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&o<=s;){let l=t.at(o),d=u.value,f=td(o,l,o,d,r);if(f!==0)f<0&&t.updateValue(o,d),o++,u=c.next();else{n??=new sc,i??=vv(t,o,s,r);let h=r(o,d);if(of(t,n,o,h))t.updateValue(o,d),o++,s++,u=c.next();else if(!i.has(h))t.attach(o,t.create(o,d)),o++,s++,u=c.next();else{let m=r(o,l);n.set(m,t.detach(o)),s--}}}for(;!u.done;)gv(t,n,r,t.length,u.value),u=c.next()}for(;o<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function of(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function gv(t,e,r,n,i){if(of(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function vv(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var sc=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};function Pc(t,e){yt("NgControlFlow");let r=R(),n=Gn(),i=r[n]!==bt?r[n]:-1,o=i!==-1?ac(r,oe+i):void 0,s=0;if(tt(r,n,t)){let a=$(null);try{if(o!==void 0&&Py(o,s),t!==-1){let c=oe+t,u=ac(r,c),l=uf(r[A],c),d=fi(u,l.tView.ssrId),f=Vo(r,l,e,{dehydratedView:d});Uo(u,f,s,di(l,d))}}finally{$(a)}}else if(o!==void 0){let a=ky(o,s);a!==void 0&&(a[De]=e)}}var sf=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Me}};function $z(t,e){return e}var af=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Hz(t,e,r,n,i,o,s,a,c,u,l,d,f){yt("NgControlFlow");let h=R(),m=ce(),_=c!==void 0,w=R(),E=a?s.bind(w[He][De]):s,k=new af(_,E);w[oe+t]=k,ic(h,m,t+1,e,r,n,i,Hn(m.consts,o)),_&&ic(h,m,t+2,c,u,l,d,Hn(m.consts,f))}var cf=class extends rf{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Me}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[gt];this.needsIndexUpdate||=e!==this.length,Uo(this.lContainer,r,e,di(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,bA(this.lContainer,e)}create(e,r){let n=fi(this.lContainer,this.templateTNode.tView.ssrId),i=Vo(this.hostLView,this.templateTNode,new sf(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(e){Cc(e[A],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(qn(!0),Zf(n,i,bb()));function _A(t,e,r,n,i,o){let s=e[gt],a=!s||_i()||$o(r)||wc(s,o);if(qn(a),a)return Zf(n,i,bb());let c=Nc(s,t,e,r);return Wb(s,o)&&_c(s,o,c.nextSibling),s&&(Rb(r)||Ob(c))&&Ro(r)&&(ex(r),vy(c)),c}function wA(){_D=_A}function EA(t,e,r,n,i){let o=e.consts,s=Hn(o,n),a=xi(e,t,8,"ng-container",s);s!==null&&ec(a,s,!0);let c=Hn(o,i);return rh(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function wD(t,e,r){let n=R(),i=ce(),o=t+oe,s=i.firstCreatePass?EA(o,i,n,e,r):i.data[o];Ir(s,!0);let a=ID(i,n,s,t);return n[o]=a,bc()&&xc(i,n,a,s),pt(a,n),gc(s)&&(eh(i,n,s),Jf(i,s,n)),r!=null&&th(n,s),wD}function ED(){let t=_e(),e=ce();return kf()?Pf():(t=t.parent,Ir(t,!1)),e.firstCreatePass&&(yc(e,t),Nf(t)&&e.queries.elementEnd(t)),ED}function IA(t,e,r){return wD(t,e,r),ED(),IA}var ID=(t,e,r,n)=>(qn(!0),ly(e[te],""));function CA(t,e,r,n){let i,o=e[gt],s=!o||_i()||$o(r);if(qn(s),s)return ly(e[te],"");let a=Nc(o,t,e,r),c=rM(o,n);return _c(o,n,a),i=Rc(c,a),i}function xA(){ID=CA}function Gz(){return R()}function mh(t,e,r){let n=R(),i=Gn();if(tt(n,i,e)){let o=ce(),s=wi();jo(o,s,n,t,e,n[te],r,!0)}return mh}function MA(t,e,r){let n=R(),i=Gn();if(tt(n,i,e)){let o=ce(),s=wi(),a=Lf(o.data),c=Oy(a,s,n);jo(o,s,n,t,e,c,r,!0)}return MA}var fr=void 0;function SA(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var TA=["en",[["a","p"],["AM","PM"],fr],[["AM","PM"],fr,fr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],fr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],fr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",fr,"{1} 'at' {0}",fr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",SA],nd={};function Dt(t){let e=AA(t),r=bv(e);if(r)return r;let n=e.split("-")[0];if(r=bv(n),r)return r;if(n==="en")return TA;throw new I(701,!1)}function bv(t){return t in nd||(nd[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),nd[t]}var fe=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(fe||{});function AA(t){return t.toLowerCase().replace(/_/g,"-")}var cc="en-US";var NA=cc;function RA(t){typeof t=="string"&&(NA=t.toLowerCase().replace(/_/g,"-"))}var OA=(t,e,r)=>{};function En(t,e,r,n){let i=R(),o=ce(),s=_e();return gh(o,i,i[te],s,t,e,n),En}function FA(t,e){let r=_e(),n=R(),i=ce(),o=Lf(i.data),s=Oy(o,r,n);return gh(i,n,s,r,t,e),FA}function kA(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function gh(t,e,r,n,i,o,s){let a=gc(n),u=t.firstCreatePass&&Ry(t),l=e[De],d=Ny(e),f=!0;if(n.type&3||s){let _=ot(n,e),w=s?s(_):_,E=d.length,k=s?Z=>s(Ye(Z[n.index])):n.index,q=null;if(!s&&a&&(q=kA(t,e,i,n.index)),q!==null){let Z=q.__ngLastListenerFn__||q;Z.__ngNextListenerFn__=o,q.__ngLastListenerFn__=o,f=!1}else{o=Dv(n,e,l,o),OA(_,i,o);let Z=r.listen(w,i,o);d.push(o,Z),u&&u.push(i,k,E,E+1)}}else o=Dv(n,e,l,o);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let _=m.length;if(_)for(let w=0;w<_;w+=2){let E=m[w],k=m[w+1],We=e[E][k].subscribe(o),pe=d.length;d.push(o,We),u&&u.push(i,n.index,pe,-(pe+1))}}}function yv(t,e,r,n){let i=$(null);try{return zt(6,e,r),r(n)!==!1}catch(o){return Fy(t,o),!1}finally{zt(7,e,r),$(i)}}function Dv(t,e,r,n){return function i(o){if(o===Function)return n;let s=t.componentOffset>-1?Zt(t.index,e):e;sh(s,5);let a=yv(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=yv(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Lc(t=1){return ux(t)}function PA(t,e){let r=null,n=yC(t);for(let i=0;i=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Wz(t){let e=rx();return Of(e,oe+t)}function vh(t,e=""){let r=R(),n=ce(),i=t+oe,o=n.firstCreatePass?xi(n,i,1,e,null):n.data[i],s=SD(n,r,o,e,t);r[i]=s,bc()&&xc(n,r,s,o),Ir(o,!1)}var SD=(t,e,r,n,i)=>(qn(!0),uy(e[te],n));function UA(t,e,r,n,i){let o=e[gt],s=!o||_i()||$o(r)||wc(o,i);return qn(s),s?uy(e[te],n):Nc(o,t,e,r)}function BA(){SD=UA}function $A(t){return Ho("",t,""),$A}function Ho(t,e,r){let n=R(),i=hh(n,t,e,r);return i!==bt&&_S(n,Wn(),i),Ho}function HA(t,e,r){oD(e)&&(e=e());let n=R(),i=Gn();if(tt(n,i,e)){let o=ce(),s=wi();jo(o,s,n,t,e,n[te],r,!1)}return HA}function qz(t,e){let r=oD(t);return r&&t.set(e),r}function zA(t,e){let r=R(),n=ce(),i=_e();return gh(n,r,r[te],i,t,e),zA}function GA(t,e,r){let n=ce();if(n.firstCreatePass){let i=mn(t);lf(r,n.data,n.blueprint,i,!0),lf(e,n.data,n.blueprint,i,!1)}}function lf(t,e,r,n,i){if(t=Ue(t),Array.isArray(t))for(let o=0;o>20;if(ai(t)||!t.multi){let h=new yr(u,i,y),m=id(c,e,i?l:l+f,d);m===-1?(yd(qa(a,s),o,c),rd(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=id(c,e,l+f,d),m=id(c,e,l,l+f),_=h>=0&&r[h],w=m>=0&&r[m];if(i&&!w||!i&&!_){yd(qa(a,s),o,c);let E=ZA(i?qA:WA,r.length,i,n,u);!i&&w&&(r[m].providerFactory=E),rd(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(E),s.push(E)}else{let E=TD(r[i?m:h],u,!i&&n);rd(o,t,h>-1?h:m,E)}!i&&n&&w&&r[m].componentProviders++}}}function rd(t,e,r,n){let i=ai(e),o=OC(e);if(i||o){let c=(o?Ue(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function TD(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function id(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>GA(n,i?i(t):t,e)}}var YA=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Wv(!1,n.type),o=i.length>0?Fc([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(p(Fe))});let t=e;return t})();function at(t){yt("NgStandalone"),t.getStandaloneInjector=e=>e.get(YA).getOrCreateStandaloneInjector(t)}function Zz(t,e,r){let n=Oo()+t,i=R();return i[n]===bt?fh(i,n,r?e.call(r):e()):GT(i,n)}function Yz(t,e,r,n){return ND(R(),Oo(),t,e,r,n)}function Kz(t,e,r,n,i){return RD(R(),Oo(),t,e,r,n,i)}function AD(t,e){let r=t[e];return r===bt?void 0:r}function ND(t,e,r,n,i,o){let s=e+r;return tt(t,s,i)?fh(t,s+1,o?n.call(o,i):n(i)):AD(t,s+1)}function RD(t,e,r,n,i,o,s){let a=e+r;return WT(t,a,i,o)?fh(t,a+2,s?n.call(s,i,o):n(i,o)):AD(t,a+2)}function Qz(t,e){let r=ce(),n,i=t+oe;r.firstCreatePass?(n=KA(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=mr(n.type,!0)),s,a=qe(y);try{let c=Wa(!1),u=o();return Wa(c),VA(r,R(),i,u),u}finally{qe(a)}}function KA(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Xz(t,e,r){let n=t+oe,i=R(),o=Of(i,n);return OD(i,n)?ND(i,Oo(),e,o.transform,r,o):o.transform(r)}function Jz(t,e,r,n){let i=t+oe,o=R(),s=Of(o,i);return OD(o,i)?RD(o,Oo(),e,s.transform,r,n,s):s.transform(r,n)}function OD(t,e){return t[A].data[e].pure}function e3(t,e){return Ac(t,e)}var Uc=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var bh=new v(""),zo=new v(""),Bc=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,yh||(QA(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(p(P),p($c),p(zo))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),$c=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return yh?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function QA(t){yh=t}var yh;function Qn(t){return!!t&&typeof t.then=="function"}function Dh(t){return!!t&&typeof t.subscribe=="function"}var Hc=new v(""),FD=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=g(Hc,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Qn(s))n.push(s);else if(Dh(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mr=new v("");function XA(){Mg(()=>{throw new I(600,!1)})}function JA(t){return t.isBoundToModule}var eN=10;function tN(t,e,r){try{let n=r();return Qn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var en=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Nb),this.afterRenderEffectManager=g(ch),this.zonelessEnabled=g(Wy),this.externalTestViews=new Set,this.beforeRender=new B,this.afterTick=new B,this.componentTypes=[],this.components=[],this.isStable=g(Qt).hasPendingTasks.pipe(C(n=>!n)),this._injector=g(Fe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Ja;if(!this._injector.get(FD).done){let h=!o&&$v(n),m=!1;throw new I(405,m)}let a;o?a=n:a=this._injector.get(pi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=JA(a)?void 0:this._injector.get(zn),u=i||a.selector,l=a.create(ke.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(bh,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),od(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new I(101,!1);let i=$(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,$(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(mi,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;owo(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>wo(c))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;od(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Mr,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>od(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function od(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var Sa;function zc(t){Sa??=new WeakMap;let e=Sa.get(t);if(e)return e;let r=t.isStable.pipe(Tt(n=>n)).toPromise().then(()=>{});return Sa.set(t,r),t.onDestroy(()=>Sa?.delete(t)),r}function nN(t,e,r,n){if(!r&&!wo(t))return;Vy(t,e,r&&!n?0:1)}var ff=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Gc=(()=>{let e=class e{compileModuleSync(n){return new Jd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=Hv(n),s=cy(o.declarations).reduce((a,c)=>{let u=$n(c);return u&&a.push(new gi(u)),a},[]);return new ff(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var rN=(()=>{let e=class e{constructor(){this.zone=g(P),this.changeDetectionScheduler=g(hi),this.applicationRef=g(en)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iN({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new P(sN()),[{provide:P,useFactory:t},{provide:fn,multi:!0,useFactory:()=>{let r=g(rN,{optional:!0});return()=>r.initialize()}},{provide:fn,multi:!0,useFactory:()=>{let r=g(aN);return()=>{r.initialize()}}},{provide:Nb,useFactory:oN},e===!0?{provide:qy,useValue:!0}:[]]}function oN(){let t=g(P),e=g(Te);return r=>t.runOutsideAngular(()=>e.handleError(r))}function sN(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var aN=(()=>{let e=class e{constructor(){this.subscription=new ae,this.initialized=!1,this.zone=g(P),this.pendingTasks=g(Qt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{P.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var cN=(()=>{let e=class e{constructor(){this.appRef=g(en),this.taskService=g(Qt),this.ngZone=g(P),this.zonelessEnabled=g(Wy),this.disableScheduling=g(qy,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ae,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Hd||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?sv:Zy;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&P.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,sv(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uN(){return typeof $localize<"u"&&$localize.locale||cc}var Go=new v("",{providedIn:"root",factory:()=>g(Go,U.Optional|U.SkipSelf)||uN()});var kD=new v("");var ka=null;function lN(t=[],e){return ke.create({name:e,providers:[{provide:mc,useValue:"platform"},{provide:kD,useValue:new Set([()=>ka=null])},...t]})}function dN(t=[]){if(ka)return ka;let e=lN(t);return ka=e,XA(),fN(e),e}function fN(t){t.get(Hf,null)?.forEach(r=>r())}function _h(){return!1}var wt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=hN;let t=e;return t})();function hN(t){return pN(_e(),R(),(t&16)===16)}function pN(t,e,r){if(Ro(t)&&!r){let n=Zt(t.index,e);return new _r(n,n)}else if(t.type&175){let n=e[He];return new _r(n,e)}return null}var hf=class{constructor(){}supports(e){return sD(e)}create(e){return new pf(e)}},mN=(t,e)=>e,pf=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||mN}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex<_v(n,i,o)?r:n,a=_v(s,i,o),c=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)i++;else{o||(o=[]);let u=a-i,l=c-i;if(u!=l){for(let f=0;f{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new mf(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new uc),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new uc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},mf=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},gf=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},uc=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new gf,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function _v(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new yf(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},yf=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function wv(){return new wh([new hf])}var wh=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||wv()),deps:[[e,new Mo,new yi]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new I(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:wv});let t=e;return t})();function Ev(){return new Wc([new vf])}var Wc=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Ev()),deps:[[e,new Mo,new yi]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new I(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:Ev});let t=e;return t})();var PD=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(p(en))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function LD(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=dN(n),o=[iN({}),{provide:hi,useExisting:cN},...r||[]],a=new rc({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(P);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Te,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=i.get(kD);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),tN(u,c,()=>{let h=a.get(FD);return h.runInitializers(),h.donePromise.then(()=>{let m=a.get(Go,cc);RA(m||cc);let _=a.get(en);return e!==void 0&&_.bootstrap(e),_})})})}catch(e){return Promise.reject(e)}}var jD=new v("");var Iv=!1;function gN(){Iv||(Iv=!0,Jx(),wA(),BA(),xA(),YT(),xT(),eT(),tS())}function vN(t,e){return zc(t)}function VD(){return vn([{provide:wa,useFactory:()=>{let t=!0;return ni()&&(t=!!g(Ii,{optional:!0})?.get(zb,null)),t&&yt("NgHydration"),t}},{provide:fn,useValue:()=>{qS(!1),ni()&&g(wa)&&(bN(),gN())},multi:!0},{provide:Zb,useFactory:()=>ni()&&g(wa)},{provide:Mr,useFactory:()=>{if(ni()&&g(wa)){let t=g(en),e=g(ke);return()=>{vN(t,e).then(()=>{QS(t)})}}return()=>{}},multi:!0}])}function bN(){let t=Dc(),e;for(let r of t.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===Qx){e=r;break}if(!e)throw new I(-507,!1)}function Ee(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Eh(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function tn(t,e){yt("NgSignals");let r=Ig(t);return e?.equal&&(r[Ht].equal=e.equal),r}function ct(t){let e=$(null);try{return t()}finally{$(e)}}var yN=new v("",{providedIn:"root",factory:()=>g(DN)}),DN=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new Df});let t=e;return t})(),Df=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(Qt),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},_f=class{constructor(e,r,n,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=o,this.watcher=Ng(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(Te,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function qc(t,e){yt("NgSignals"),!e?.injector&&Ao(qc);let r=e?.injector??g(ke),n=e?.manualCleanup!==!0?r.get(Cr):null,i=new _f(r.get(yN),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),o=r.get(wt,null,{optional:!0});return!o||!(o._lView[F]&8)?i.watcher.notify():(o._lView[Aa]??=[]).push(i.watcher.notify),i}function UD(t){let e=$n(t);if(!e)return null;let r=new gi(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ZD=null;function nn(){return ZD}function YD(t){ZD??=t}var nu=class{};var W=new v(""),kh=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(_N),providedIn:"platform"});let t=e;return t})(),KD=new v(""),_N=(()=>{let e=class e extends kh{constructor(){super(),this._doc=g(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nn().getBaseHref(this._doc)}onPopState(n){let i=nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Ph(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function BD(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Cn(t){return t&&t[0]!=="?"?"?"+t:t}var Mn=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(Lh),providedIn:"root"});let t=e;return t})(),QD=new v(""),Lh=(()=>{let e=class e extends Mn{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(W).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ph(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Cn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(p(kh),p(QD,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),XD=(()=>{let e=class e extends Mn{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Ph(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(p(kh),p(QD,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Ai=(()=>{let e=class e{constructor(n){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=IN(BD($D(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Cn(i))}normalize(n){return e.stripTrailingSlash(EN(this._basePath,$D(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Cn,e.joinWithSlash=Ph,e.stripTrailingSlash=BD,e.\u0275fac=function(i){return new(i||e)(p(Mn))},e.\u0275prov=D({token:e,factory:()=>wN(),providedIn:"root"});let t=e;return t})();function wN(){return new Ai(p(Mn))}function EN(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function $D(t){return t.replace(/\/index.html$/,"")}function IN(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var ze=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(ze||{}),se=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(se||{}),ut=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(ut||{}),Xn={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 CN(t){return Dt(t)[fe.LocaleId]}function xN(t,e,r){let n=Dt(t),i=[n[fe.DayPeriodsFormat],n[fe.DayPeriodsStandalone]],o=Et(i,e);return Et(o,r)}function MN(t,e,r){let n=Dt(t),i=[n[fe.DaysFormat],n[fe.DaysStandalone]],o=Et(i,e);return Et(o,r)}function SN(t,e,r){let n=Dt(t),i=[n[fe.MonthsFormat],n[fe.MonthsStandalone]],o=Et(i,e);return Et(o,r)}function TN(t,e){let n=Dt(t)[fe.Eras];return Et(n,e)}function Zc(t,e){let r=Dt(t);return Et(r[fe.DateFormat],e)}function Yc(t,e){let r=Dt(t);return Et(r[fe.TimeFormat],e)}function Kc(t,e){let n=Dt(t)[fe.DateTimeFormat];return Et(n,e)}function ou(t,e){let r=Dt(t),n=r[fe.NumberSymbols][e];if(typeof n>"u"){if(e===Xn.CurrencyDecimal)return r[fe.NumberSymbols][Xn.Decimal];if(e===Xn.CurrencyGroup)return r[fe.NumberSymbols][Xn.Group]}return n}function JD(t){if(!t[fe.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[fe.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function AN(t){let e=Dt(t);return JD(e),(e[fe.ExtraData][2]||[]).map(n=>typeof n=="string"?Ch(n):[Ch(n[0]),Ch(n[1])])}function NN(t,e,r){let n=Dt(t);JD(n);let i=[n[fe.ExtraData][0],n[fe.ExtraData][1]],o=Et(i,e)||[];return Et(o,r)||[]}function Et(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Ch(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var RN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qc={},ON=/((?:[^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]*)/,xn=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(xn||{}),K=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(K||{}),Y=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(Y||{});function FN(t,e,r,n){let i=HN(t);e=In(r,e)||e;let s=[],a;for(;e;)if(a=ON.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=i.getTimezoneOffset();n&&(c=t_(n,c),i=$N(i,n,!0));let u="";return s.forEach(l=>{let d=UN(l);u+=d?d(i,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ru(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function In(t,e){let r=CN(t);if(Qc[r]??={},Qc[r][e])return Qc[r][e];let n="";switch(e){case"shortDate":n=Zc(t,ut.Short);break;case"mediumDate":n=Zc(t,ut.Medium);break;case"longDate":n=Zc(t,ut.Long);break;case"fullDate":n=Zc(t,ut.Full);break;case"shortTime":n=Yc(t,ut.Short);break;case"mediumTime":n=Yc(t,ut.Medium);break;case"longTime":n=Yc(t,ut.Long);break;case"fullTime":n=Yc(t,ut.Full);break;case"short":let i=In(t,"shortTime"),o=In(t,"shortDate");n=Xc(Kc(t,ut.Short),[i,o]);break;case"medium":let s=In(t,"mediumTime"),a=In(t,"mediumDate");n=Xc(Kc(t,ut.Medium),[s,a]);break;case"long":let c=In(t,"longTime"),u=In(t,"longDate");n=Xc(Kc(t,ut.Long),[c,u]);break;case"full":let l=In(t,"fullTime"),d=In(t,"fullDate");n=Xc(Kc(t,ut.Full),[l,d]);break}return n&&(Qc[r][e]=n),n}function Xc(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Ft(t,e,r="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=r));let s=String(t);for(;s.length0||a>-r)&&(a+=r),t===K.Hours)a===0&&r===-12&&(a=12);else if(t===K.FractionalSeconds)return kN(a,e);let c=ou(s,Xn.MinusSign);return Ft(a,e,c,n,i)}}function PN(t,e){switch(t){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function ue(t,e,r=ze.Format,n=!1){return function(i,o){return LN(i,o,t,e,r,n)}}function LN(t,e,r,n,i,o){switch(r){case Y.Months:return SN(e,i,n)[t.getMonth()];case Y.Days:return MN(e,i,n)[t.getDay()];case Y.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(o){let u=AN(e),l=NN(e,i,n),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,m]=f,_=s>=h.hours&&a>=h.minutes,w=s0?Math.floor(i/60):Math.ceil(i/60);switch(t){case xn.Short:return(i>=0?"+":"")+Ft(s,2,o)+Ft(Math.abs(i%60),2,o);case xn.ShortGMT:return"GMT"+(i>=0?"+":"")+Ft(s,1,o);case xn.Long:return"GMT"+(i>=0?"+":"")+Ft(s,2,o)+":"+Ft(Math.abs(i%60),2,o);case xn.Extended:return n===0?"Z":(i>=0?"+":"")+Ft(s,2,o)+":"+Ft(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var jN=0,tu=4;function VN(t){let e=ru(t,jN,1).getDay();return ru(t,0,1+(e<=tu?tu:tu+7)-e)}function e_(t){let e=t.getDay(),r=e===0?-3:tu-e;return ru(t.getFullYear(),t.getMonth(),t.getDate()+r)}function xh(t,e=!1){return function(r,n){let i;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{let o=e_(r),s=VN(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Ft(i,t,ou(n,Xn.MinusSign))}}function eu(t,e=!1){return function(r,n){let o=e_(r).getFullYear();return Ft(o,t,ou(n,Xn.MinusSign),e)}}var Mh={};function UN(t){if(Mh[t])return Mh[t];let e;switch(t){case"G":case"GG":case"GGG":e=ue(Y.Eras,se.Abbreviated);break;case"GGGG":e=ue(Y.Eras,se.Wide);break;case"GGGGG":e=ue(Y.Eras,se.Narrow);break;case"y":e=he(K.FullYear,1,0,!1,!0);break;case"yy":e=he(K.FullYear,2,0,!0,!0);break;case"yyy":e=he(K.FullYear,3,0,!1,!0);break;case"yyyy":e=he(K.FullYear,4,0,!1,!0);break;case"Y":e=eu(1);break;case"YY":e=eu(2,!0);break;case"YYY":e=eu(3);break;case"YYYY":e=eu(4);break;case"M":case"L":e=he(K.Month,1,1);break;case"MM":case"LL":e=he(K.Month,2,1);break;case"MMM":e=ue(Y.Months,se.Abbreviated);break;case"MMMM":e=ue(Y.Months,se.Wide);break;case"MMMMM":e=ue(Y.Months,se.Narrow);break;case"LLL":e=ue(Y.Months,se.Abbreviated,ze.Standalone);break;case"LLLL":e=ue(Y.Months,se.Wide,ze.Standalone);break;case"LLLLL":e=ue(Y.Months,se.Narrow,ze.Standalone);break;case"w":e=xh(1);break;case"ww":e=xh(2);break;case"W":e=xh(1,!0);break;case"d":e=he(K.Date,1);break;case"dd":e=he(K.Date,2);break;case"c":case"cc":e=he(K.Day,1);break;case"ccc":e=ue(Y.Days,se.Abbreviated,ze.Standalone);break;case"cccc":e=ue(Y.Days,se.Wide,ze.Standalone);break;case"ccccc":e=ue(Y.Days,se.Narrow,ze.Standalone);break;case"cccccc":e=ue(Y.Days,se.Short,ze.Standalone);break;case"E":case"EE":case"EEE":e=ue(Y.Days,se.Abbreviated);break;case"EEEE":e=ue(Y.Days,se.Wide);break;case"EEEEE":e=ue(Y.Days,se.Narrow);break;case"EEEEEE":e=ue(Y.Days,se.Short);break;case"a":case"aa":case"aaa":e=ue(Y.DayPeriods,se.Abbreviated);break;case"aaaa":e=ue(Y.DayPeriods,se.Wide);break;case"aaaaa":e=ue(Y.DayPeriods,se.Narrow);break;case"b":case"bb":case"bbb":e=ue(Y.DayPeriods,se.Abbreviated,ze.Standalone,!0);break;case"bbbb":e=ue(Y.DayPeriods,se.Wide,ze.Standalone,!0);break;case"bbbbb":e=ue(Y.DayPeriods,se.Narrow,ze.Standalone,!0);break;case"B":case"BB":case"BBB":e=ue(Y.DayPeriods,se.Abbreviated,ze.Format,!0);break;case"BBBB":e=ue(Y.DayPeriods,se.Wide,ze.Format,!0);break;case"BBBBB":e=ue(Y.DayPeriods,se.Narrow,ze.Format,!0);break;case"h":e=he(K.Hours,1,-12);break;case"hh":e=he(K.Hours,2,-12);break;case"H":e=he(K.Hours,1);break;case"HH":e=he(K.Hours,2);break;case"m":e=he(K.Minutes,1);break;case"mm":e=he(K.Minutes,2);break;case"s":e=he(K.Seconds,1);break;case"ss":e=he(K.Seconds,2);break;case"S":e=he(K.FractionalSeconds,1);break;case"SS":e=he(K.FractionalSeconds,2);break;case"SSS":e=he(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Jc(xn.Short);break;case"ZZZZZ":e=Jc(xn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Jc(xn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Jc(xn.Long);break;default:return null}return Mh[t]=e,e}function t_(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function BN(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function $N(t,e,r){let n=r?-1:1,i=t.getTimezoneOffset(),o=t_(e,i);return BN(t,n*(o-i))}function HN(t){if(HD(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 ru(i,o-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(RN))return zN(n)}let e=new Date(t);if(!HD(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function zN(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,a,c,u),e}function HD(t){return t instanceof Date&&!isNaN(t.valueOf())}function su(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Sh=/\s+/,zD=[],D3=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=zD,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Sh):zD}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Sh):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Sh).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(Xt))},e.\u0275dir=G({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Th=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},_3=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Th(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),GD(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);GD(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(y(yn),y(wr),y(wh))},e.\u0275dir=G({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function GD(t,e){t.context.$implicit=e.item}var w3=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Ah,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){WD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){WD("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(y(yn),y(wr))},e.\u0275dir=G({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Ah=class{constructor(){this.$implicit=null,this.ngIf=null}};function WD(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${$e(e)}'.`)}var E3=(()=>{let e=class e{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:Yt.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(Wc),y(Xt))},e.\u0275dir=G({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),I3=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(y(yn))},e.\u0275dir=G({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[it]});let t=e;return t})();function n_(t,e){return new I(2100,!1)}var Nh=class{createSubscription(e,r){return ct(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){ct(()=>e.unsubscribe())}},Rh=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},GN=new Rh,WN=new Nh,C3=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Qn(n))return GN;if(Dh(n))return WN;throw n_(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(y(wt,16))},e.\u0275pipe=pc({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var qN="mediumDate",ZN=new v(""),YN=new v(""),x3=(()=>{let e=class e{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{let a=i??this.defaultOptions?.dateFormat??qN,c=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return FN(n,a,s||this.locale,c)}catch(a){throw n_(e,a.message)}}};e.\u0275fac=function(i){return new(i||e)(y(Go,16),y(ZN,24),y(YN,24))},e.\u0275pipe=pc({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();function KN(t,e){return{key:t,value:e}}var M3=(()=>{let e=class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=qD}transform(n,i=qD){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),s=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(KN(a.key,a.currentValue))})),(o||s)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}};e.\u0275fac=function(i){return new(i||e)(y(Wc,16))},e.\u0275pipe=pc({name:"keyvalue",type:e,pure:!1,standalone:!0});let t=e;return t})();function qD(t,e){let r=t.key,n=e.key;if(r===n)return 0;if(r===void 0)return 1;if(n===void 0)return-1;if(r===null)return 1;if(n===null)return-1;if(typeof r=="string"&&typeof n=="string")return r{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),jh="browser",QN="server";function Vh(t){return t===jh}function Wo(t){return t===QN}var i_=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>Vh(g(Qe))?new Oh(g(W),window):new Fh});let t=e;return t})(),Oh=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=XN(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function XN(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Fh=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ti=class{};var Zo=class{},uu=class{},on=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Bh=class{encodeKey(e){return s_(e)}encodeValue(e){return s_(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function JN(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var eR=/%(\d[a-f0-9])/gi,tR={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function s_(t){return encodeURIComponent(t).replace(eR,(e,r)=>tR[r]??e)}function au(t){return`${t}`}var rn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Bh,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=JN(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(au):[au(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(au(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(au(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var $h=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function nR(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function a_(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function c_(t){return typeof Blob<"u"&&t instanceof Blob}function u_(t){return typeof FormData<"u"&&t instanceof FormData}function rR(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var qo=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(nR(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new on,this.context??=new $h,!this.params)this.params=new rn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":af.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},er=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}(er||{}),Yo=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new on,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},lu=class t extends Yo{constructor(e={}){super(e),this.type=er.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Sr=class t extends Yo{constructor(e={}){super(e),this.type=er.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Jn=class extends Yo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},__=200,iR=204;function Uh(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Gh=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof qo)s=n;else{let u;o.headers instanceof on?u=o.headers:u=new on(o.headers);let l;o.params&&(o.params instanceof rn?l=o.params:l=new rn({fromObject:o.params})),s=new qo(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=x(s).pipe($t(u=>this.handler.handle(u)));if(n instanceof qo||o.observe==="events")return a;let c=a.pipe(le(u=>u instanceof Sr));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(C(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(C(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(C(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(C(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new rn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Uh(o,i))}post(n,i,o={}){return this.request("POST",n,Uh(o,i))}put(n,i,o={}){return this.request("PUT",n,Uh(o,i))}};e.\u0275fac=function(i){return new(i||e)(p(Zo))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),oR=/^\)\]\}',?\n/,sR="X-Request-URL";function l_(t){if(t.url)return t.url;let e=sR.toLocaleLowerCase();return t.headers.get(e)}var aR=(()=>{let e=class e{constructor(){this.fetchImpl=g(Hh,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(P)}handle(n){return new N(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(zh,s=>i.error(new Jn({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Vr(this,null,function*(){let s=this.createRequestInit(n),a;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,b({signal:i},s)));cR(m),o.next({type:er.Sent}),a=yield m}catch(m){o.error(new Jn({error:m,status:m.status??0,statusText:m.statusText,url:n.urlWithParams,headers:m.headers}));return}let c=new on(a.headers),u=a.statusText,l=l_(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&o.next(new lu({headers:c,status:d,statusText:u,url:l})),a.body){let m=a.headers.get("content-length"),_=[],w=a.body.getReader(),E=0,k,q,Z=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Vr(this,null,function*(){for(;;){let{done:pe,value:ft}=yield w.read();if(pe)break;if(_.push(ft),E+=ft.length,n.reportProgress){q=n.responseType==="text"?(q??"")+(k??=new TextDecoder).decode(ft,{stream:!0}):void 0;let jr=()=>o.next({type:er.DownloadProgress,total:m?+m:void 0,loaded:E,partialText:q});Z?Z.run(jr):jr()}}}));let We=this.concatChunks(_,E);try{let pe=a.headers.get("Content-Type")??"";f=this.parseBody(n,We,pe)}catch(pe){o.error(new Jn({error:pe,headers:new on(a.headers),status:a.status,statusText:a.statusText,url:l_(a)??n.urlWithParams}));return}}d===0&&(d=f?__:0),d>=200&&d<300?(o.next(new Sr({body:f,headers:c,status:d,statusText:u,url:l})),o.complete()):o.error(new Jn({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(oR,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Hh=class{};function zh(){}function cR(t){t.then(zh,zh)}function w_(t,e){return e(t)}function uR(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function lR(t,e,r){return(n,i)=>rt(r,()=>e(n,o=>t(o,i)))}var dR=new v(""),Wh=new v(""),E_=new v(""),I_=new v("",{providedIn:"root",factory:()=>!0});function fR(){let t=null;return(e,r)=>{t===null&&(t=(g(dR,{optional:!0})??[]).reduceRight(uR,w_));let n=g(Qt);if(g(I_)){let o=n.add();return t(e,r).pipe(ht(()=>n.remove(o)))}else return t(e,r)}}var d_=(()=>{let e=class e extends Zo{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=g(Qt),this.contributeToStability=g(I_)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Wh),...this.injector.get(E_,[])]));this.chain=i.reduceRight((o,s)=>lR(o,s,this.injector),w_)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ht(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(p(uu),p(Fe))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();var hR=/^\)\]\}',?\n/;function pR(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var f_=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new I(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?re(i.\u0275loadImpl()):x(null)).pipe(Ve(()=>new N(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,E)=>a.setRequestHeader(w,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let w=a.statusText||"OK",E=new on(a.getAllResponseHeaders()),k=pR(a)||n.url;return u=new lu({headers:E,status:a.status,statusText:w,url:k}),u},d=()=>{let{headers:w,status:E,statusText:k,url:q}=l(),Z=null;E!==iR&&(Z=typeof a.response>"u"?a.responseText:a.response),E===0&&(E=Z?__:0);let We=E>=200&&E<300;if(n.responseType==="json"&&typeof Z=="string"){let pe=Z;Z=Z.replace(hR,"");try{Z=Z!==""?JSON.parse(Z):null}catch(ft){Z=pe,We&&(We=!1,Z={error:ft,text:Z})}}We?(s.next(new Sr({body:Z,headers:w,status:E,statusText:k,url:q||void 0})),s.complete()):s.error(new Jn({error:Z,headers:w,status:E,statusText:k,url:q||void 0}))},f=w=>{let{url:E}=l(),k=new Jn({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(k)},h=!1,m=w=>{h||(s.next(l()),h=!0);let E={type:er.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),n.responseType==="text"&&a.responseText&&(E.partialText=a.responseText),s.next(E)},_=w=>{let E={type:er.UploadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(c),s.next({type:er.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(p(Ti))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),C_=new v(""),mR="XSRF-TOKEN",gR=new v("",{providedIn:"root",factory:()=>mR}),vR="X-XSRF-TOKEN",bR=new v("",{providedIn:"root",factory:()=>vR}),du=class{},yR=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=su(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(p(W),p(Qe),p(gR))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function DR(t,e){let r=t.url.toLowerCase();if(!g(C_)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(du).getToken(),i=g(bR);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var x_=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}(x_||{});function _R(t,e){return{\u0275kind:t,\u0275providers:e}}function V3(...t){let e=[Gh,f_,d_,{provide:Zo,useExisting:d_},{provide:uu,useFactory:()=>g(aR,{optional:!0})??g(f_)},{provide:Wh,useValue:DR,multi:!0},{provide:C_,useValue:!0},{provide:du,useClass:yR}];for(let r of t)e.push(...r.\u0275providers);return vn(e)}var h_=new v("");function U3(){return _R(x_.LegacyInterceptors,[{provide:h_,useFactory:fR},{provide:Wh,useExisting:h_,multi:!0}])}var wR=new v(""),p_="b",m_="h",g_="s",v_="st",b_="u",y_="rt",cu=new v(""),ER=["GET","HEAD"];function IR(t,e){let h=g(cu),{isCacheActive:r}=h,n=Vm(h,["isCacheActive"]),{transferCache:i,method:o}=t;if(!r||i===!1||o==="POST"&&!n.includePostRequests&&!i||o!=="POST"&&!ER.includes(o)||!n.includeRequestsWithAuthHeaders&&CR(t)||n.filter?.(t)===!1)return e(t);let s=g(Ii),a=g(wR,{optional:!0}),c=Wo(g(Qe));if(a&&!c)throw new I(2803,!1);let u=c&&a?TR(t.url,a):t.url,l=MR(t,u),d=s.get(l,null),f=n.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(f=i.includeHeaders),d){let{[p_]:m,[y_]:_,[m_]:w,[g_]:E,[v_]:k,[b_]:q}=d,Z=m;switch(_){case"arraybuffer":Z=new TextEncoder().encode(m).buffer;break;case"blob":Z=new Blob([m]);break}let We=new on(w);return x(new Sr({body:Z,headers:We,status:E,statusText:k,url:q}))}return e(t).pipe(ee(m=>{m instanceof Sr&&c&&s.set(l,{[p_]:m.body,[m_]:xR(m.headers,f),[g_]:m.status,[v_]:m.statusText,[b_]:u,[y_]:t.responseType})}))}function CR(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function xR(t,e){if(!e)return{};let r={};for(let n of e){let i=t.getAll(n);i!==null&&(r[n]=i)}return r}function D_(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function MR(t,e){let{params:r,method:n,responseType:i}=t,o=D_(r),s=t.serializeBody();s instanceof URLSearchParams?s=D_(s):typeof s!="string"&&(s="");let a=[n,i,e,s,o].join("|"),c=SR(a);return c}function SR(t){let e=0;for(let r of t)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function M_(t){return[{provide:cu,useFactory:()=>(yt("NgHttpTransferCache"),b({isCacheActive:!0},t))},{provide:E_,useValue:IR,multi:!0,deps:[Ii,cu]},{provide:Mr,multi:!0,useFactory:()=>{let e=g(en),r=g(cu);return()=>{zc(e).then(()=>{r.isCacheActive=!1})}}}]}function TR(t,e){let r=new URL(t,"resolve://").origin,n=e[r];return n?t.replace(r,n):t}var Yh=class extends nu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Kh=class t extends Yh{static makeCurrent(){YD(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=NR();return r==null?null:RR(r)}resetBaseElement(){Ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return su(document.cookie,e)}},Ko=null;function NR(){return Ko=Ko||document.querySelector("base"),Ko?Ko.getAttribute("href"):null}function RR(t){return new URL(t,document.baseURI).pathname}var Qh=class{addToWindow(e){ye.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new I(5103,!1);return o},ye.getAllAngularTestabilities=()=>e.getAllTestabilities(),ye.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=ye.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};ye.frameworkStabilizers||(ye.frameworkStabilizers=[]),ye.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?nn().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},OR=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),fu=new v(""),N_=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new I(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(p(fu),p(P))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Qo=class{constructor(e){this._doc=e}},qh="ng-app-id",R_=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Wo(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${qh}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(qh),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(qh,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(p(W),p(xr),p(ko,8),p(Qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Zh={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"},ep=/%COMP%/g,O_="%COMP%",FR=`_nghost-${O_}`,kR=`_ngcontent-${O_}`,PR=!0,LR=new v("",{providedIn:"root",factory:()=>PR});function jR(t){return kR.replace(ep,t)}function VR(t){return FR.replace(ep,t)}function F_(t,e){return e.map(r=>r.replace(ep,t))}var S_=(()=>{let e=class e{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Wo(c),this.defaultRenderer=new Xo(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wt.ShadowDom&&(i=O(b({},i),{encapsulation:Wt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof hu?o.applyToHost(n):o instanceof Jo&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Wt.Emulated:s=new hu(u,l,i,this.appId,d,a,c,f);break;case Wt.ShadowDom:return new Xh(u,l,n,i,a,c,this.nonce,f);default:s=new Jo(u,l,i,d,a,c,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(p(N_),p(R_),p(xr),p(LR),p(W),p(Qe),p(P),p(ko))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Xo=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Zh[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(T_(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(T_(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new I(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Zh[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Zh[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Yt.DashCase|Yt.Important)?e.style.setProperty(r,n,i&Yt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Yt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=nn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function T_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Xh=class extends Xo{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=F_(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Jo=class extends Xo{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?F_(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},hu=class extends Jo{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=jR(u),this.hostAttr=VR(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},UR=(()=>{let e=class e extends Qo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),BR=(()=>{let e=class e extends Qo{constructor(n){super(n),this.delegate=g(jD,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,i,o){return this.delegate.addEventListener(n,i,o)}removeEventListener(n,i,o){return this.delegate.removeEventListener(n,i,o)}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),A_=["alt","control","meta","shift"],$R={"\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"},HR={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zR=(()=>{let e=class e extends Qo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),A_.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=$R[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),A_.forEach(a=>{if(a!==o){let c=HR[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function t4(t,e){return LD(b({rootComponent:t},GR(e)))}function GR(t){return{appProviders:[...k_,...t?.providers??[]],platformProviders:YR}}function WR(){Kh.makeCurrent()}function qR(){return new Te}function ZR(){return Vb(document),document}var YR=[{provide:Qe,useValue:jh},{provide:Hf,useValue:WR,multi:!0},{provide:W,useFactory:ZR,deps:[]}];var KR=new v(""),QR=[{provide:zo,useClass:Qh,deps:[]},{provide:bh,useClass:Bc,deps:[P,$c,zo]},{provide:Bc,useClass:Bc,deps:[P,$c,zo]}],k_=[{provide:mc,useValue:"root"},{provide:Te,useFactory:qR,deps:[]},{provide:fu,useClass:UR,multi:!0,deps:[W,P,Qe]},{provide:fu,useClass:zR,multi:!0,deps:[W]},{provide:fu,useClass:BR,multi:!0},S_,R_,N_,{provide:mi,useExisting:S_},{provide:Ti,useClass:OR,deps:[]},[]],n4=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:xr,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(p(KR,12))},e.\u0275mod=z({type:e}),e.\u0275inj=H({providers:[...k_,...QR],imports:[r_,PD]});let t=e;return t})();var P_=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var tp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=p(XR),o},providedIn:"root"});let t=e;return t})(),XR=(()=>{let e=class e extends tp{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Pe.NONE:return i;case Pe.HTML:return Kn(i,"HTML")?vt(i):oy(this._doc,String(i)).toString();case Pe.STYLE:return Kn(i,"Style")?vt(i):i;case Pe.SCRIPT:if(Kn(i,"Script"))return vt(i);throw new I(5200,!1);case Pe.URL:return Kn(i,"URL")?vt(i):Ic(String(i));case Pe.RESOURCE_URL:if(Kn(i,"ResourceURL"))return vt(i);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(n){return Yb(n)}bypassSecurityTrustStyle(n){return Kb(n)}bypassSecurityTrustScript(n){return Qb(n)}bypassSecurityTrustUrl(n){return Xb(n)}bypassSecurityTrustResourceUrl(n){return Jb(n)}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jh=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t}(Jh||{});function r4(...t){let e=[],r=new Set,n=r.has(Jh.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:o}of t)r.add(o),i.length&&e.push(i);return vn([[],VD(),r.has(Jh.NoHttpTransferCache)||n?[]:M_({}),e])}var j="primary",ps=Symbol("RouteTitle"),sp=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Pi(t){return new sp(t)}function JR(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function K_(t){return t.length>0?t[t.length-1]:null}function rr(t){return Al(t)?t:Qn(t)?re(Promise.resolve(t)):x(t)}var tO={exact:X_,subset:J_},Q_={exact:nO,subset:rO,ignored:()=>!0};function j_(t,e,r){return tO[r.paths](t.root,e.root,r.matrixParams)&&Q_[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function nO(t,e){return sn(t,e)}function X_(t,e,r){if(!Ar(t.segments,e.segments)||!gu(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!X_(t.children[n],e.children[n],r))return!1;return!0}function rO(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Y_(t[r],e[r]))}function J_(t,e,r){return ew(t,e,e.segments,r)}function ew(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Ar(i,r)||e.hasChildren()||!gu(i,r,n))}else if(t.segments.length===r.length){if(!Ar(t.segments,r)||!gu(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!J_(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Ar(t.segments,i)||!gu(t.segments,i,n)||!t.children[j]?!1:ew(t.children[j],e,o,n)}}function gu(t,e,r){return e.every((n,i)=>Q_[r](t[i].parameters,n.parameters))}var Tn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Pi(this.queryParams),this._queryParamMap}toString(){return sO.serialize(this)}},J=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vu(this)}},Tr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Pi(this.parameters),this._parameterMap}toString(){return nw(this)}};function iO(t,e){return Ar(t,e)&&t.every((r,n)=>sn(r.parameters,e[n].parameters))}function Ar(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function oO(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===j&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==j&&(r=r.concat(e(i,n)))}),r}var ms=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>new Li,providedIn:"root"});let t=e;return t})(),Li=class{parse(e){let r=new up(e);return new Tn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${es(e.root,!0)}`,n=uO(e.queryParams),i=typeof e.fragment=="string"?`#${aO(e.fragment)}`:"";return`${r}${n}${i}`}},sO=new Li;function vu(t){return t.segments.map(e=>nw(e)).join("/")}function es(t,e){if(!t.hasChildren())return vu(t);if(e){let r=t.children[j]?es(t.children[j],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==j&&n.push(`${i}:${es(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=oO(t,(n,i)=>i===j?[es(t.children[j],!1)]:[`${i}:${es(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[j]!=null?`${vu(t)}/${r[0]}`:`${vu(t)}/(${r.join("//")})`}}function tw(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pu(t){return tw(t).replace(/%3B/gi,";")}function aO(t){return encodeURI(t)}function cp(t){return tw(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bu(t){return decodeURIComponent(t)}function V_(t){return bu(t.replace(/\+/g,"%20"))}function nw(t){return`${cp(t.path)}${cO(t.parameters)}`}function cO(t){return Object.entries(t).map(([e,r])=>`;${cp(e)}=${cp(r)}`).join("")}function uO(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${pu(r)}=${pu(i)}`).join("&"):`${pu(r)}=${pu(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var lO=/^[^\/()?;#]+/;function np(t){let e=t.match(lO);return e?e[0]:""}var dO=/^[^\/()?;=#]+/;function fO(t){let e=t.match(dO);return e?e[0]:""}var hO=/^[^=?&#]+/;function pO(t){let e=t.match(hO);return e?e[0]:""}var mO=/^[^&#]+/;function gO(t){let e=t.match(mO);return e?e[0]:""}var up=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[j]=new J(e,r)),n}parseSegment(){let e=np(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(e),new Tr(bu(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=fO(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=np(this.remaining);i&&(n=i,this.capture(n))}e[bu(r)]=bu(n)}parseQueryParam(e){let r=pO(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=gO(this.remaining);s&&(n=s,this.capture(n))}let i=V_(r),o=V_(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=np(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new I(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=j);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[j]:new J([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new I(4011,!1)}};function rw(t){return t.segments.length>0?new J([],{[j]:t}):t}function iw(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=iw(i);if(n===j&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new J(t.segments,e);return vO(r)}function vO(t){if(t.numberOfChildren===1&&t.children[j]){let e=t.children[j];return new J(t.segments.concat(e.segments),e.children)}return t}function Nr(t){return t instanceof Tn}function bO(t,e,r=null,n=null){let i=ow(t);return sw(i,e,r,n)}function ow(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=rw(n);return e??i}function sw(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return rp(i,i,i,r,n);let o=yO(e);if(o.toRoot())return rp(i,i,new J([],{}),r,n);let s=DO(o,i,t),a=s.processChildren?rs(s.segmentGroup,s.index,o.commands):cw(s.segmentGroup,s.index,o.commands);return rp(i,s.segmentGroup,a,r,n)}function yu(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ss(t){return typeof t=="object"&&t!=null&&t.outlets}function rp(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=aw(t,e,r);let a=rw(iw(s));return new Tn(a,o,i)}function aw(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=aw(o,e,r)}),new J(t.segments,n)}var Du=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&yu(n[0]))throw new I(4003,!1);let i=n.find(ss);if(i&&i!==K_(n))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function yO(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Du(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Du(r,e,n)}var Oi=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function DO(t,e,r){if(t.isAbsolute)return new Oi(e,!0,0);if(!r)return new Oi(e,!1,NaN);if(r.parent===null)return new Oi(r,!0,0);let n=yu(t.commands[0])?0:1,i=r.segments.length-1+n;return _O(r,i,t.numberOfDoubleDots)}function _O(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new I(4005,!1);i=n.segments.length}return new Oi(n,!1,i-o)}function wO(t){return ss(t[0])?t[0].outlets:{[j]:t}}function cw(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return rs(t,e,r);let n=EO(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==j)&&t.children[j]&&t.numberOfChildren===1&&t.children[j].segments.length===0){let o=rs(t.children[j],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=cw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function EO(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(ss(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!B_(c,u,s))return o;n+=2}else{if(!B_(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function lp(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=lp(new J([],{}),0,n))}),e}function U_(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function B_(t,e,r){return t==r.path&&sn(e,r.parameters)}var is="imperative",Ie=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Ie||{}),It=class{constructor(e,r){this.id=e,this.url=r}},ji=class extends It{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Ie.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Pt=class extends It{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},dt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(dt||{}),_u=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(_u||{}),Sn=class extends It{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},tr=class extends It{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationSkipped}},as=class extends It{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},wu=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dp=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fp=class extends It{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},hp=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pp=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mp=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},gp=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},vp=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bp=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yp=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Dp=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Eu=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Ie.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},cs=class{},Vi=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function CO(t,e){return t.providers&&!t._injector&&(t._injector=Fc(t.providers,e,`Route: ${t.path}`)),t._injector??e}function kt(t){return t.outlet||j}function xO(t,e){let r=t.filter(n=>kt(n)===e);return r.push(...t.filter(n=>kt(n)!==e)),r}function gs(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var _p=class{get injector(){return gs(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new vs(this.rootInjector),this.attachRef=null}},vs=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new _p(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(p(Fe))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Iu=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=wp(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=wp(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Ep(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Ep(e,this._root).map(r=>r.value)}};function wp(t,e){if(t===e.value)return e;for(let r of e.children){let n=wp(t,r);if(n)return n}return null}function Ep(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Ep(t,r);if(n.length)return n.unshift(e),n}return[]}var lt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ri(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Cu=class extends Iu{constructor(e,r){super(e),this.snapshot=r,Rp(this,e)}toString(){return this.snapshot.toString()}};function uw(t){let e=MO(t),r=new de([new Tr("",{})]),n=new de({}),i=new de({}),o=new de({}),s=new de(""),a=new nr(r,n,o,s,i,j,t,e.root);return a.snapshot=e.root,new Cu(new lt(a,[]),e)}function MO(t){let e={},r={},n={},i="",o=new Fi([],e,n,i,r,j,t,null,{});return new Mu("",new lt(o,[]))}var nr=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(C(u=>u[ps]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(C(e=>Pi(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(C(e=>Pi(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function xu(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&dw(i)&&(n.resolve[ps]=i.title),n}var Fi=class{get title(){return this.data?.[ps]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Pi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pi(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Mu=class extends Iu{constructor(e,r){super(r),this.url=e,Rp(this,r)}toString(){return lw(this._root)}};function Rp(t,e){e.value._routerState=t,e.children.forEach(r=>Rp(t,r))}function lw(t){let e=t.children.length>0?` { ${t.children.map(lw).join(", ")} } `:"";return`${t.value}${e}`}function ip(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,sn(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),sn(e.params,r.params)||t.paramsSubject.next(r.params),eO(e.url,r.url)||t.urlSubject.next(r.url),sn(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ip(t,e){let r=sn(t.params,e.params)&&iO(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Ip(t.parent,e.parent))}function dw(t){return typeof t.title=="string"||t.title===null}var SO=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=j,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=g(vs),this.location=g(yn),this.changeDetector=g(wt),this.inputBinder=g(Nu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Cp(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=G({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[it]});let t=e;return t})(),Cp=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===nr?this.route:e===vs?this.childContexts:this.parent.get(e,r)}},Nu=new v(""),$_=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=dr([i.queryParams,i.params,i.data]).pipe(Ve(([s,a,c],u)=>(c=b(b(b({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=UD(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function TO(t,e,r){let n=us(t,e._root,r?r._root:void 0);return new Cu(n,e)}function us(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=AO(t,e,r);return new lt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>us(t,a)),s}}let n=NO(e.value),i=e.children.map(o=>us(t,o));return new lt(n,i)}}function AO(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return us(t,n,i);return us(t,n)})}function NO(t){return new nr(new de(t.url),new de(t.params),new de(t.queryParams),new de(t.fragment),new de(t.data),t.outlet,t.component,t)}var ls=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},fw="ngNavigationCancelingError";function Su(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Nr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=hw(!1,dt.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function hw(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[fw]=!0,r.cancellationCode=e,r}function RO(t){return pw(t)&&Nr(t.url)}function pw(t){return!!t&&t[fw]}var OO=(t,e,r,n)=>C(i=>(new xp(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),xp=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),ip(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Ri(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ri(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ri(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Ri(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Dp(o.value.snapshot))}),e.children.length&&this.forwardEvent(new bp(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(ip(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ip(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Tu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ki=class{constructor(e,r){this.component=e,this.route=r}};function FO(t,e,r){let n=t._root,i=e?e._root:null;return ts(n,i,r,[n.value])}function kO(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Bi(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Mv(t)?t:e.get(t):n}function ts(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ri(e);return t.children.forEach(s=>{PO(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>os(a,r.getContext(s),i)),i}function PO(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=LO(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Tu(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ts(t,e,a?a.children:null,n,i):ts(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ki(a.outlet.component,s))}else s&&os(e,a,i),i.canActivateChecks.push(new Tu(n)),o.component?ts(t,null,a?a.children:null,n,i):ts(t,null,r,n,i);return i}function LO(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Ar(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ar(t.url,e.url)||!sn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ip(t,e)||!sn(t.queryParams,e.queryParams);case"paramsChange":default:return!Ip(t,e)}}function os(t,e,r){let n=Ri(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?os(s,e.children.getContext(o),r):os(s,null,r):os(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ki(e.outlet.component,i)):r.canDeactivateChecks.push(new ki(null,i)):r.canDeactivateChecks.push(new ki(null,i))}function bs(t){return typeof t=="function"}function jO(t){return typeof t=="boolean"}function VO(t){return t&&bs(t.canLoad)}function UO(t){return t&&bs(t.canActivate)}function BO(t){return t&&bs(t.canActivateChild)}function $O(t){return t&&bs(t.canDeactivate)}function HO(t){return t&&bs(t.canMatch)}function mw(t){return t instanceof dn||t?.name==="EmptyError"}var mu=Symbol("INITIAL_VALUE");function Ui(){return Ve(t=>dr(t.map(e=>e.pipe(me(1),lo(mu)))).pipe(C(e=>{for(let r of e)if(r!==!0){if(r===mu)return mu;if(r===!1||zO(r))return r}return!0}),le(e=>e!==mu),me(1)))}function zO(t){return Nr(t)||t instanceof ls}function GO(t,e){return Q(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?x(O(b({},r),{guardsResult:!0})):WO(s,n,i,t).pipe(Q(a=>a&&jO(a)?qO(n,o,t,e):x(a)),C(a=>O(b({},r),{guardsResult:a})))})}function WO(t,e,r,n){return re(t).pipe(Q(i=>XO(i.component,i.route,r,e,n)),Tt(i=>i!==!0,!0))}function qO(t,e,r,n){return re(e).pipe($t(i=>Ut(YO(i.route.parent,n),ZO(i.route,n),QO(t,i.path,r),KO(t,i.route,r))),Tt(i=>i!==!0,!0))}function ZO(t,e){return t!==null&&e&&e(new yp(t)),x(!0)}function YO(t,e){return t!==null&&e&&e(new vp(t)),x(!0)}function KO(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let i=n.map(o=>so(()=>{let s=gs(e)??r,a=Bi(o,s),c=UO(a)?a.canActivate(e,t):rt(s,()=>a(e,t));return rr(c).pipe(Tt())}));return x(i).pipe(Ui())}function QO(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>kO(s)).filter(s=>s!==null).map(s=>so(()=>{let a=s.guards.map(c=>{let u=gs(s.node)??r,l=Bi(c,u),d=BO(l)?l.canActivateChild(n,t):rt(u,()=>l(n,t));return rr(d).pipe(Tt())});return x(a).pipe(Ui())}));return x(o).pipe(Ui())}function XO(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let s=o.map(a=>{let c=gs(e)??i,u=Bi(a,c),l=$O(u)?u.canDeactivate(t,e,r,n):rt(c,()=>u(t,e,r,n));return rr(l).pipe(Tt())});return x(s).pipe(Ui())}function JO(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return x(!0);let o=i.map(s=>{let a=Bi(s,t),c=VO(a)?a.canLoad(e,r):rt(t,()=>a(e,r));return rr(c)});return x(o).pipe(Ui(),gw(n))}function gw(t){return wl(ee(e=>{if(typeof e!="boolean")throw Su(t,e)}),C(e=>e===!0))}function eF(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return x(!0);let o=i.map(s=>{let a=Bi(s,t),c=HO(a)?a.canMatch(e,r):rt(t,()=>a(e,r));return rr(c)});return x(o).pipe(Ui(),gw(n))}var ds=class{constructor(e){this.segmentGroup=e||null}},fs=class extends Error{constructor(e){super(),this.urlTree=e}};function Ni(t){return Bt(new ds(t))}function tF(t){return Bt(new I(4e3,!1))}function nF(t){return Bt(hw(!1,dt.GuardRejected))}var Mp=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return x(n);if(i.numberOfChildren>1||!i.children[j])return tF(`${e.redirectTo}`);i=i.children[j]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:m,title:_}=i,w=rt(o,()=>a({params:h,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:_}));if(w instanceof Tn)throw new fs(w);r=w}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new fs(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Tn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new J(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new I(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Sp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rF(t,e,r,n,i){let o=Op(t,e,r);return o.matched?(n=CO(e,n),eF(n,e,r,i).pipe(C(s=>s===!0?o:b({},Sp)))):x(o)}function Op(t,e,r){if(e.path==="**")return iF(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},Sp):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||JR)(r,t,e);if(!i)return b({},Sp);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function iF(t){return{matched:!0,parameters:t.length>0?K_(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function H_(t,e,r,n){return r.length>0&&aF(t,r,n)?{segmentGroup:new J(e,sF(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&cF(t,r,n)?{segmentGroup:new J(t.segments,oF(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function oF(t,e,r,n){let i={};for(let o of r)if(Ru(t,e,o)&&!n[kt(o)]){let s=new J([],{});i[kt(o)]=s}return b(b({},n),i)}function sF(t,e){let r={};r[j]=e;for(let n of t)if(n.path===""&&kt(n)!==j){let i=new J([],{});r[kt(n)]=i}return r}function aF(t,e,r){return r.some(n=>Ru(t,e,n)&&kt(n)!==j)}function cF(t,e,r){return r.some(n=>Ru(t,e,n))}function Ru(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function uF(t,e,r,n){return kt(t)!==n&&(n===j||!Ru(e,r,t))?!1:Op(e,t,r).matched}function lF(t,e,r){return e.length===0&&!t.children[r]}var Tp=class{};function dF(t,e,r,n,i,o,s="emptyOnly"){return new Ap(t,e,r,n,i,s,o).recognize()}var fF=31,Ap=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Mp(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new I(4002,`'${e.segmentGroup}'`)}recognize(){let e=H_(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(C(({children:r,rootSnapshot:n})=>{let i=new lt(n,r),o=new Mu("",i),s=bO(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Fi([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),j,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,j,r).pipe(C(n=>({children:n,rootSnapshot:r})),Re(n=>{if(n instanceof fs)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof ds?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(C(s=>s instanceof lt?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return re(o).pipe($t(s=>{let a=n.children[s],c=xO(r,s);return this.processSegmentGroup(e,c,a,s,i)}),co((s,a)=>(s.push(...a),s)),Ln(null),Ol(),Q(s=>{if(s===null)return Ni(n);let a=vw(s);return hF(a),x(a)}))}processSegment(e,r,n,i,o,s,a){return re(r).pipe($t(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(Re(u=>{if(u instanceof ds)return x(null);throw u}))),Tt(c=>!!c),Re(c=>{if(mw(c))return lF(n,i,o)?x(new Tp):Ni(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return uF(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):Ni(i):Ni(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Op(r,i,o);if(!c)return Ni(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fF&&(this.allowRedirects=!1));let h=new Fi(o,u,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,z_(i),kt(i),i.component??i._loadedComponent??null,i,G_(i)),m=xu(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(m.params),h.data=Object.freeze(m.data);let _=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(i,_).pipe(Q(w=>this.processSegment(e,n,r,w.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=rF(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Ve(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Ve(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,m=new Fi(f,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,z_(n),kt(n),n.component??n._loadedComponent??null,n,G_(n)),_=xu(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(_.params),m.data=Object.freeze(_.data);let{segmentGroup:w,slicedSegments:E}=H_(r,f,h,u);if(E.length===0&&w.hasChildren())return this.processChildren(l,u,w,m).pipe(C(q=>new lt(m,q)));if(u.length===0&&E.length===0)return x(new lt(m,[]));let k=kt(n)===o;return this.processSegment(l,u,w,E,k?j:o,!0,m).pipe(C(q=>new lt(m,q instanceof lt?[q]:[])))}))):Ni(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):JO(e,r,n,this.urlSerializer).pipe(Q(i=>i?this.configLoader.loadChildren(e,r).pipe(ee(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):nF(r))):x({routes:[],injector:e})}};function hF(t){t.sort((e,r)=>e.value.outlet===j?-1:r.value.outlet===j?1:e.value.outlet.localeCompare(r.value.outlet))}function pF(t){let e=t.value.routeConfig;return e&&e.path===""}function vw(t){let e=[],r=new Set;for(let n of t){if(!pF(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=vw(n.children);e.push(new lt(n.value,i))}return e.filter(n=>!r.has(n))}function z_(t){return t.data||{}}function G_(t){return t.resolve||{}}function mF(t,e,r,n,i,o){return Q(s=>dF(t,e,r,n,s.extractedUrl,i,o).pipe(C(({state:a,tree:c})=>O(b({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function gF(t,e){return Q(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return x(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of bw(c))s.add(u);let a=0;return re(s).pipe($t(c=>o.has(c)?vF(c,n,t,e):(c.data=xu(c,c.parent,t).resolve,x(void 0))),ee(()=>a++),Qr(1),Q(c=>a===s.size?x(r):xe))})}function bw(t){let e=t.children.map(r=>bw(r)).flat();return[t,...e]}function vF(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!dw(i)&&(o[ps]=i.title),bF(o,t,e,n).pipe(C(s=>(t._resolvedData=s,t.data=xu(t,t.parent,r).resolve,null)))}function bF(t,e,r,n){let i=ap(t);if(i.length===0)return x({});let o={};return re(i).pipe(Q(s=>yF(t[s],e,r,n).pipe(Tt(),ee(a=>{if(a instanceof ls)throw Su(new Li,a);o[s]=a}))),Qr(1),no(o),Re(s=>mw(s)?xe:Bt(s)))}function yF(t,e,r,n){let i=gs(e)??n,o=Bi(t,i),s=o.resolve?o.resolve(e,r):rt(i,()=>o(e,r));return rr(s)}function op(t){return Ve(e=>{let r=t(e);return r?re(r).pipe(C(()=>e)):x(e)})}var yw=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===j);return i}getResolvedTitleForRoute(n){return n.data[ps]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(DF),providedIn:"root"});let t=e;return t})(),DF=(()=>{let e=class e extends yw{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(p(P_))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ys=new v("",{providedIn:"root",factory:()=>({})}),_F=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=nt({type:e,selectors:[["ng-component"]],standalone:!0,features:[at],decls:1,vars:0,template:function(i,o){i&1&&Je(0,"router-outlet")},dependencies:[SO],encapsulation:2});let t=e;return t})();function Fp(t){let e=t.children&&t.children.map(Fp),r=e?O(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==j&&(r.component=_F),r}var hs=new v(""),kp=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Gc)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=rr(n.loadComponent()).pipe(C(Dw),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ht(()=>{this.componentLoaders.delete(n)})),o=new qr(i,()=>new B).pipe(Wr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return x({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=wF(i,this.compiler,n,this.onLoadEndListener).pipe(ht(()=>{this.childrenLoaders.delete(i)})),a=new qr(s,()=>new B).pipe(Wr());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wF(t,e,r,n){return rr(t.loadChildren()).pipe(C(Dw),Q(i=>i instanceof Io||Array.isArray(i)?x(i):re(e.compileModuleAsync(i))),C(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(hs,[],{optional:!0,self:!0}).flat()),{routes:s.map(Fp),injector:o}}))}function EF(t){return t&&typeof t=="object"&&"default"in t}function Dw(t){return EF(t)?t.default:t}var Pp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(IF),providedIn:"root"});let t=e;return t})(),IF=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_w=new v(""),ww=new v("");function CF(t,e,r){let n=t.get(ww),i=t.get(W);return t.get(P).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),xF(t))),{onViewTransitionCreated:c}=n;return c&&rt(t,()=>c({transition:a,from:e,to:r})),s})}function xF(t){return new Promise(e=>{Bo({read:()=>setTimeout(e)},{injector:t})})}var MF=new v(""),Lp=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new B,this.transitionAbortSubject=new B,this.configLoader=g(kp),this.environmentInjector=g(Fe),this.urlSerializer=g(ms),this.rootContexts=g(vs),this.location=g(Ai),this.inputBindingEnabled=g(Nu,{optional:!0})!==null,this.titleStrategy=g(yw),this.options=g(ys,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Pp),this.createViewTransition=g(_w,{optional:!0}),this.navigationErrorHandler=g(MF,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=o=>this.events.next(new mp(o)),i=o=>this.events.next(new gp(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(O(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new de({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:is,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(le(s=>s.id!==0),C(s=>O(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ve(s=>{let a=!1,c=!1;return x(s).pipe(Ve(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",dt.SupersededByNewNavigation),xe;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?O(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new tr(u.id,this.urlSerializer.serialize(u.rawUrl),f,_u.IgnoredSameUrlNavigation)),u.resolve(!1),xe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(Ve(f=>{let h=this.transitions?.getValue();return this.events.next(new ji(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?xe:Promise.resolve(f)}),mF(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=O(b({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new wu(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:_,extras:w}=u,E=new ji(f,this.urlSerializer.serialize(h),m,_);this.events.next(E);let k=uw(this.rootComponentType).snapshot;return this.currentTransition=s=O(b({},u),{targetSnapshot:k,urlAfterRedirects:h,extras:O(b({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new tr(u.id,this.urlSerializer.serialize(u.extractedUrl),f,_u.IgnoredByUrlHandlingStrategy)),u.resolve(!1),xe}}),ee(u=>{let l=new dp(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),C(u=>(this.currentTransition=s=O(b({},u),{guards:FO(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),GO(this.environmentInjector,u=>this.events.next(u)),ee(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Su(this.urlSerializer,u.guardsResult);let l=new fp(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),le(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",dt.GuardRejected),!1)),op(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(ee(l=>{let d=new hp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ve(l=>{let d=!1;return x(l).pipe(gF(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",dt.NoDataFromResolver)}}))}),ee(l=>{let d=new pp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),op(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(ee(h=>{d.component=h}),C(()=>{})));for(let h of d.children)f.push(...l(h));return f};return dr(l(u.targetSnapshot.root)).pipe(Ln(null),me(1))}),op(()=>this.afterPreactivation()),Ve(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?re(d).pipe(C(()=>s)):x(s)}),C(u=>{let l=TO(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=O(b({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ee(()=>{this.events.next(new cs)}),OO(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),me(1),ee({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),jn(this.transitionAbortSubject.pipe(ee(u=>{throw u}))),ht(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",dt.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Re(u=>{if(c=!0,pw(u))this.events.next(new Sn(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),RO(u)?this.events.next(new Vi(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new as(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=rt(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof ls){let{message:f,cancellationCode:h}=Su(this.urlSerializer,d);this.events.next(new Sn(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new Vi(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return xe}))}))}cancelNavigationTransition(n,i,o){let s=new Sn(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function SF(t){return t!==is}var TF=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(AF),providedIn:"root"});let t=e;return t})(),Np=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},AF=(()=>{let e=class e extends Np{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ew=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(NF),providedIn:"root"});let t=e;return t})(),NF=(()=>{let e=class e extends Ew{constructor(){super(...arguments),this.location=g(Ai),this.urlSerializer=g(ms),this.options=g(ys,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Pp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Tn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=uw(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof ji)this.stateMemento=this.createStateMemento();else if(n instanceof tr)this.rawUrlTree=i.initialUrl;else if(n instanceof wu){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof cs?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof Sn&&(n.code===dt.GuardRejected||n.code===dt.NoDataFromResolver)?this.restoreHistory(i):n instanceof as?this.restoreHistory(i,!0):n instanceof Pt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof Tn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ns=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ns||{});function Iw(t,e){t.events.pipe(le(r=>r instanceof Pt||r instanceof Sn||r instanceof as||r instanceof tr),C(r=>r instanceof Pt||r instanceof tr?ns.COMPLETE:(r instanceof Sn?r.code===dt.Redirect||r.code===dt.SupersededByNewNavigation:!1)?ns.REDIRECTING:ns.FAILED),le(r=>r!==ns.REDIRECTING),me(1)).subscribe(()=>{e()})}function RF(t){throw t}var OF={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},FF={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ct=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(Uc),this.stateManager=g(Ew),this.options=g(ys,{optional:!0})||{},this.pendingTasks=g(Qt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Lp),this.urlSerializer=g(ms),this.location=g(Ai),this.urlHandlingStrategy=g(Pp),this._events=new B,this.errorHandler=this.options.errorHandler||RF,this.navigated=!1,this.routeReuseStrategy=g(TF),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(hs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(Nu,{optional:!0}),this.eventsSubscription=new ae,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Sn&&i.code!==dt.Redirect&&i.code!==dt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Pt)this.navigated=!0;else if(i instanceof Vi){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=b({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||SF(o.source)},a);this.scheduleNavigation(c,is,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}PF(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),is,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=b({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Fp),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=ow(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return sw(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Nr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,is,null,i)}navigate(n,i={skipLocationChange:!1}){return kF(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},OF):i===!1?o=b({},FF):o=i,Nr(n))return j_(this.currentUrlTree,n,o);let s=this.parseUrl(n);return j_(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return Iw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kF(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Pt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Nr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:sy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:Nr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(y(Ct),y(nr),Fo("tabindex"),y(Xt),y(ne),y(Mn))},e.\u0275dir=G({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&En("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Xe("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ee],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ee],replaceUrl:[2,"replaceUrl","replaceUrl",Ee],routerLink:"routerLink"},standalone:!0,features:[st,it]});let t=e;return t})(),_4=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new X,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof Pt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(jt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=re(n).pipe(jt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=LF(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ct),y(ne),y(Xt),y(wt),y(W_,8))},e.\u0275dir=G({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&xD(s,W_,5),i&2){let a;jc(a=Vc())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[it]});let t=e;return t})();function LF(t){return!!t.paths}var Au=class{};var jF=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(le(n=>n instanceof Pt),$t(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Fc(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return re(o).pipe(jt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=x(null);let s=o.pipe(Q(a=>a===null?x(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return re([s,a]).pipe(jt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(p(Ct),p(Gc),p(Fe),p(Au),p(kp))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Cw=new v(""),VF=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(Fe),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ji?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Pt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof tr&&n.code===_u.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Eu&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>Vr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Bo(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Eu(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Lo()},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function w4(t,...e){return vn([{provide:hs,multi:!0,useValue:t},[],{provide:nr,useFactory:xw,deps:[Ct]},{provide:Mr,multi:!0,useFactory:Mw},e.map(r=>r.\u0275providers)])}function xw(t){return t.routerState.root}function Ds(t,e){return{\u0275kind:t,\u0275providers:e}}function Mw(){let t=g(ke);return e=>{let r=t.get(en);if(e!==r.components[0])return;let n=t.get(Ct),i=t.get(Sw);t.get(jp)===1&&n.initialNavigation(),t.get(Tw,null,U.Optional)?.setUpPreloading(),t.get(Cw,null,U.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Sw=new v("",{factory:()=>new B}),jp=new v("",{providedIn:"root",factory:()=>1});function UF(){return Ds(2,[{provide:jp,useValue:0},{provide:Hc,multi:!0,deps:[ke],useFactory:e=>{let r=e.get(KD,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ct),o=e.get(Sw);Iw(i,()=>{n(!0)}),e.get(Lp).afterPreactivation=()=>(n(!0),o.closed?x(void 0):o),i.initialNavigation()}))}}])}function BF(){return Ds(3,[{provide:Hc,multi:!0,useFactory:()=>{let e=g(Ct);return()=>{e.setUpLocationChangeListener()}}},{provide:jp,useValue:2}])}var Tw=new v("");function $F(t){return Ds(0,[{provide:Tw,useExisting:jF},{provide:Au,useExisting:t}])}function HF(){return Ds(8,[$_,{provide:Nu,useExisting:$_}])}function zF(t){let e=[{provide:_w,useValue:CF},{provide:ww,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ds(9,e)}var q_=new v("ROUTER_FORROOT_GUARD"),GF=[Ai,{provide:ms,useClass:Li},Ct,vs,{provide:nr,useFactory:xw,deps:[Ct]},kp,[]],E4=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[GF,[],{provide:hs,multi:!0,useValue:n},{provide:q_,useFactory:YF,deps:[[Ct,new yi,new Mo]]},{provide:ys,useValue:i||{}},i?.useHash?qF():ZF(),WF(),i?.preloadingStrategy?$F(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?KF(i):[],i?.bindToComponentInputs?HF().\u0275providers:[],i?.enableViewTransitions?zF().\u0275providers:[],QF()]}}static forChild(n){return{ngModule:e,providers:[{provide:hs,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(p(q_,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function WF(){return{provide:Cw,useFactory:()=>{let t=g(i_),e=g(P),r=g(ys),n=g(Lp),i=g(ms);return r.scrollOffset&&t.setOffset(r.scrollOffset),new VF(i,n,t,e,r)}}}function qF(){return{provide:Mn,useClass:XD}}function ZF(){return{provide:Mn,useClass:Lh}}function YF(t){return"guarded"}function KF(t){return[t.initialNavigation==="disabled"?BF().\u0275providers:[],t.initialNavigation==="enabledBlocking"?UF().\u0275providers:[]]}var Z_=new v("");function QF(){return[{provide:Z_,useFactory:Mw},{provide:Mr,multi:!0,useExisting:Z_}]}var jw=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(y(Xt),y(ne))},e.\u0275dir=G({type:e});let t=e;return t})(),JF=(()=>{let e=class e extends jw{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zn(e)))(o||e)}})(),e.\u0275dir=G({type:e,features:[be]});let t=e;return t})(),Bu=new v("");var ek={provide:Bu,useExisting:Ot(()=>Vw),multi:!0};function tk(){let t=nn()?nn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var nk=new v(""),Vw=(()=>{let e=class e extends jw{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!tk())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(y(Xt),y(ne),y(nk,8))},e.\u0275dir=G({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&En("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[_t([ek]),be]});let t=e;return t})();function ir(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Uw(t){return t!=null&&typeof t.length=="number"}var Rr=new v(""),Or=new v(""),rk=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Aw=class{static min(e){return ik(e)}static max(e){return ok(e)}static required(e){return sk(e)}static requiredTrue(e){return ak(e)}static email(e){return ck(e)}static minLength(e){return uk(e)}static maxLength(e){return lk(e)}static pattern(e){return dk(e)}static nullValidator(e){return Bw(e)}static compose(e){return qw(e)}static composeAsync(e){return Zw(e)}};function ik(t){return e=>{if(ir(e.value)||ir(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(ir(e.value)||ir(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function sk(t){return ir(t.value)?{required:!0}:null}function ak(t){return t.value===!0?null:{required:!0}}function ck(t){return ir(t.value)||rk.test(t.value)?null:{email:!0}}function uk(t){return e=>ir(e.value)||!Uw(e.value)?null:e.value.lengthUw(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function dk(t){if(!t)return Bw;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(ir(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Bw(t){return null}function $w(t){return t!=null}function Hw(t){return Qn(t)?re(t):t}function zw(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function Gw(t,e){return e.map(r=>r(t))}function fk(t){return!t.validate}function Ww(t){return t.map(e=>fk(e)?e:r=>e.validate(r))}function qw(t){if(!t)return null;let e=t.filter($w);return e.length==0?null:function(r){return zw(Gw(r,e))}}function zp(t){return t!=null?qw(Ww(t)):null}function Zw(t){if(!t)return null;let e=t.filter($w);return e.length==0?null:function(r){let n=Gw(r,e).map(Hw);return ao(n).pipe(C(zw))}}function Gp(t){return t!=null?Zw(Ww(t)):null}function Nw(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Yw(t){return t._rawValidators}function Kw(t){return t._rawAsyncValidators}function Vp(t){return t?Array.isArray(t)?t:[t]:[]}function Fu(t,e){return Array.isArray(t)?t.includes(e):t===e}function Rw(t,e){let r=Vp(e);return Vp(t).forEach(i=>{Fu(r,i)||r.push(i)}),r}function Ow(t,e){return Vp(e).filter(r=>!Fu(t,r))}var ku=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=zp(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Gp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Ge=class extends ku{get formDirective(){return null}get path(){return null}},An=class extends ku{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Pu=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},hk={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},U4=O(b({},hk),{"[class.ng-submitted]":"isSubmitted"}),B4=(()=>{let e=class e extends Pu{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(y(An,2))},e.\u0275dir=G({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&we("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[be]});let t=e;return t})(),$4=(()=>{let e=class e extends Pu{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ge,10))},e.\u0275dir=G({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&we("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[be]});let t=e;return t})();var _s="VALID",Ou="INVALID",$i="PENDING",ws="DISABLED",or=class{},Lu=class extends or{constructor(e,r){super(),this.value=e,this.source=r}},Is=class extends or{constructor(e,r){super(),this.pristine=e,this.source=r}},Cs=class extends or{constructor(e,r){super(),this.touched=e,this.source=r}},Hi=class extends or{constructor(e,r){super(),this.status=e,this.source=r}},Up=class extends or{constructor(e){super(),this.source=e}},Bp=class extends or{constructor(e){super(),this.source=e}};function Wp(t){return($u(t)?t.validators:t)||null}function pk(t){return Array.isArray(t)?zp(t):t||null}function qp(t,e){return($u(e)?e.asyncValidators:t)||null}function mk(t){return Array.isArray(t)?Gp(t):t||null}function $u(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Qw(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new I(1e3,"");if(!n[r])throw new I(1001,"")}function Xw(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new I(1002,"")})}var zi=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=tn(()=>this.statusReactive()),this.statusReactive=Dn(void 0),this._pristine=tn(()=>this.pristineReactive()),this.pristineReactive=Dn(!0),this._touched=tn(()=>this.touchedReactive()),this.touchedReactive=Dn(!1),this._events=new B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return ct(this.statusReactive)}set status(e){ct(()=>this.statusReactive.set(e))}get valid(){return this.status===_s}get invalid(){return this.status===Ou}get pending(){return this.status==$i}get disabled(){return this.status===ws}get enabled(){return this.status!==ws}get pristine(){return ct(this.pristineReactive)}set pristine(e){ct(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return ct(this.touchedReactive)}set touched(e){ct(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Rw(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Rw(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ow(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ow(e,this._rawAsyncValidators))}hasValidator(e){return Fu(this._rawValidators,e)}hasAsyncValidator(e){return Fu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(O(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Cs(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new Cs(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(O(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Is(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Is(!0,n))}markAsPending(e={}){this.status=$i;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Hi(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(O(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=ws,this.errors=null,this._forEachChild(i=>{i.disable(O(b({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Lu(this.value,n)),this._events.next(new Hi(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(O(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=_s,this._forEachChild(n=>{n.enable(O(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(O(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_s||this.status===$i)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Lu(this.value,r)),this._events.next(new Hi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(O(b({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ws:_s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=$i,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=Hw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new Hi(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?ws:this.errors?Ou:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($i)?$i:this._anyControlsHaveStatus(Ou)?Ou:_s}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Is(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Cs(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){$u(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=pk(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=mk(this._rawAsyncValidators)}},Gi=class extends zi{constructor(e,r,n){super(Wp(r),qp(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Xw(this,!0,e),Object.keys(e).forEach(n=>{Qw(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var $p=class extends Gi{};var Wi=new v("CallSetDisabledState",{providedIn:"root",factory:()=>Hu}),Hu="always";function zu(t,e){return[...e.path,t]}function Ms(t,e,r=Hu){Zp(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),vk(t,e),yk(t,e),bk(t,e),gk(t,e)}function ju(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Uu(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Vu(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function gk(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Zp(t,e){let r=Yw(t);e.validator!==null?t.setValidators(Nw(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Kw(t);e.asyncValidator!==null?t.setAsyncValidators(Nw(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Vu(e._rawValidators,i),Vu(e._rawAsyncValidators,i)}function Uu(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=Yw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=Kw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Vu(e._rawValidators,n),Vu(e._rawAsyncValidators,n),r}function vk(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Jw(t,e)})}function bk(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Jw(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Jw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function yk(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function eE(t,e){t==null,Zp(t,e)}function Dk(t,e){return Uu(t,e)}function Yp(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function _k(t){return Object.getPrototypeOf(t.constructor)===JF}function tE(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Kp(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Vw?r=o:_k(o)?n=o:i=o}),i||n||r||null}function wk(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var Ek={provide:Ge,useExisting:Ot(()=>Ik)},Es=Promise.resolve(),Ik=(()=>{let e=class e extends Ge{get submitted(){return ct(this.submittedReactive)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=tn(()=>this.submittedReactive()),this.submittedReactive=Dn(!1),this._directives=new Set,this.ngSubmit=new X,this.form=new Gi({},zp(n),Gp(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Es.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Ms(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Es.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Es.then(()=>{let i=this._findContainer(n.path),o=new Gi({});eE(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Es.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Es.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),tE(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(y(Rr,10),y(Or,10),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&En("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Ek]),be]});let t=e;return t})();function Fw(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function kw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var xs=class extends zi{constructor(e=null,r,n){super(Wp(r),qp(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$u(r)&&(r.nonNullable||r.initialValueIsDefault)&&(kw(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Fw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Fw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){kw(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Ck=t=>t instanceof xs,xk=(()=>{let e=class e extends Ge{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return zu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zn(e)))(o||e)}})(),e.\u0275dir=G({type:e,features:[be]});let t=e;return t})();var Mk={provide:An,useExisting:Ot(()=>Sk)},Pw=Promise.resolve(),Sk=(()=>{let e=class e extends An{constructor(n,i,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new xs,this._registered=!1,this.name="",this.update=new X,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Kp(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Yp(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ms(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Pw.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Ee(i);Pw.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?zu(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(y(Ge,9),y(Rr,10),y(Or,10),y(Bu,10),y(wt,8),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([Mk]),be,it]});let t=e;return t})(),z4=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var Qp=new v(""),Tk={provide:An,useExisting:Ot(()=>Ak)},Ak=(()=>{let e=class e extends An{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new X,this._ngModelWarningSent=!1,this._setValidators(n),this._setAsyncValidators(i),this.valueAccessor=Kp(this,o)}ngOnChanges(n){if(this._isControlChanged(n)){let i=n.form.previousValue;i&&ju(i,this,!1),Ms(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yp(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ju(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(y(Rr,10),y(Or,10),y(Bu,10),y(Qp,8),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[_t([Tk]),be,it]});let t=e;return t})(),Nk={provide:Ge,useExisting:Ot(()=>nE)},nE=(()=>{let e=class e extends Ge{get submitted(){return ct(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=tn(()=>this._submittedReactive()),this._submittedReactive=Dn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new X,this._setValidators(n),this._setAsyncValidators(i)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Uu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let i=this.form.get(n.path);return Ms(i,n,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),i}getControl(n){return this.form.get(n.path)}removeControl(n){ju(n.control||null,n,!1),wk(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,i){this.form.get(n.path).setValue(i)}onSubmit(n){return this._submittedReactive.set(!0),tE(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new Up(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new Bp(this.form))}_updateDomValue(){this.directives.forEach(n=>{let i=n.control,o=this.form.get(n.path);i!==o&&(ju(i||null,n),Ck(o)&&(Ms(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let i=this.form.get(n.path);eE(i,n),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let i=this.form.get(n.path);i&&Dk(i,n)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zp(this.form,this),this._oldForm&&Uu(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(y(Rr,10),y(Or,10),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&En("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Nk]),be,it]});let t=e;return t})(),Rk={provide:Ge,useExisting:Ot(()=>rE)},rE=(()=>{let e=class e extends xk{constructor(n,i,o){super(),this.name=null,this._parent=n,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){oE(this._parent)}};e.\u0275fac=function(i){return new(i||e)(y(Ge,13),y(Rr,10),y(Or,10))},e.\u0275dir=G({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[_t([Rk]),be]});let t=e;return t})(),Ok={provide:Ge,useExisting:Ot(()=>iE)},iE=(()=>{let e=class e extends Ge{constructor(n,i,o){super(),this.name=null,this._parent=n,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return zu(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){oE(this._parent)}};e.\u0275fac=function(i){return new(i||e)(y(Ge,13),y(Rr,10),y(Or,10))},e.\u0275dir=G({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[_t([Ok]),be]});let t=e;return t})();function oE(t){return!(t instanceof rE)&&!(t instanceof nE)&&!(t instanceof iE)}var Fk={provide:An,useExisting:Ot(()=>kk)},kk=(()=>{let e=class e extends An{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new X,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Kp(this,s)}ngOnChanges(n){this._added||this._setUpControl(),Yp(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return zu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(y(Ge,13),y(Rr,10),y(Or,10),y(Bu,10),y(Qp,8))},e.\u0275dir=G({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[_t([Fk]),be,it]});let t=e;return t})();var sE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),Hp=class extends zi{constructor(e,r,n){super(Wp(r),qp(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,n={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,r={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),r&&(this.controls.splice(i,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){Xw(this,!1,e),e.forEach((n,i)=>{Qw(this,!1,i),this.at(i).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((n,i)=>{this.at(i)&&this.at(i).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,n)=>n._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,n)=>{e(r,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Lw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var G4=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,i=null){let o=this._reduceControls(n),s={};return Lw(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Gi(o,s)}record(n,i=null){let o=this._reduceControls(n);return new $p(o,i)}control(n,i,o){let s={};return this.useNonNullable?(Lw(i)?s=i:(s.validators=i,s.asyncValidators=o),new xs(n,O(b({},s),{nonNullable:!0}))):new xs(n,i,o)}array(n,i,o){let s=n.map(a=>this._createControl(a));return new Hp(s,i,o)}_reduceControls(n){let i={};return Object.keys(n).forEach(o=>{i[o]=this._createControl(n[o])}),i}_createControl(n){if(n instanceof xs)return n;if(n instanceof zi)return n;if(Array.isArray(n)){let i=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(i,o,s)}else return this.control(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var W4=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Wi,useValue:n.callSetDisabledState??Hu}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[sE]});let t=e;return t})(),q4=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Qp,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Wi,useValue:n.callSetDisabledState??Hu}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[sE]});let t=e;return t})();var Jp;try{Jp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jp=!1}var je=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Vh(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Jp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(p(Qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var qi,aE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function tG(){if(qi)return qi;if(typeof document!="object"||!document)return qi=new Set(aE),qi;let t=document.createElement("input");return qi=new Set(aE.filter(e=>(t.setAttribute("type",e),t.type===e))),qi}var Ss;function Pk(){if(Ss==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ss=!0}))}finally{Ss=Ss||!1}return Ss}function Zi(t){return Pk()?t:!!t.capture}var Fr;function nG(){if(Fr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Fr=!1,Fr;if("scrollBehavior"in document.documentElement.style)Fr=!0;else{let t=Element.prototype.scrollTo;t?Fr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Fr=!1}}return Fr}var Xp;function Lk(){if(Xp==null){let t=typeof document<"u"?document.head:null;Xp=!!(t&&(t.createShadowRoot||t.attachShadow))}return Xp}function cE(t){if(Lk()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function jk(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Nn(t){return t.composedPath?t.composedPath()[0]:t.target}function uE(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Wu(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Vk(t){return t!=null&&`${t}`!="false"}function Uk(t,e=0){return Bk(t)?Number(t):e}function Bk(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function em(t){return Array.isArray(t)?t:[t]}function oG(t){return t==null?"":typeof t=="string"?t:`${t}px`}function kr(t){return t instanceof ne?t.nativeElement:t}var $k=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({providers:[$k]});let t=e;return t})();var dE=new Set,Pr,Hk=(()=>{let e=class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Gk}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&zk(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(i){return new(i||e)(p(je),p(ko,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zk(t,e){if(!dE.has(t))try{Pr||(Pr=document.createElement("style"),e&&Pr.setAttribute("nonce",e),Pr.setAttribute("type","text/css"),document.head.appendChild(Pr)),Pr.sheet&&(Pr.sheet.insertRule(`@media ${t} {body{ }}`,0),dE.add(t))}catch(r){console.error(r)}}function Gk(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var hE=(()=>{let e=class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return fE(em(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=fE(em(n)).map(a=>this._registerQuery(a).observable),s=dr(o);return s=Ut(s.pipe(me(1)),s.pipe(Xr(1),Yr(0))),s.pipe(C(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:u,query:l})=>{c.matches=c.matches||u,c.breakpoints[l]=u}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new N(a=>{let c=u=>this._zone.run(()=>a.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(lo(i),C(({matches:a})=>({query:n,matches:a})),jn(this._destroySubject)),mql:i};return this._queries.set(n,s),s}};e.\u0275fac=function(i){return new(i||e)(p(Hk),p(P))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function fE(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var gG={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var yE=" ";function l1(t,e,r){let n=Ku(t,e);r=r.trim(),!n.some(i=>i.trim()===r)&&(n.push(r),t.setAttribute(e,n.join(yE)))}function d1(t,e,r){let n=Ku(t,e);r=r.trim();let i=n.filter(o=>o!==r);i.length?t.setAttribute(e,i.join(yE)):t.removeAttribute(e)}function Ku(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}var DE="cdk-describedby-message",qu="cdk-describedby-host",rm=0,FG=(()=>{let e=class e{constructor(n,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${rm++}`,this._document=n,this._id=g(xr)+"-"+rm++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=tm(i,o);typeof i!="string"?(pE(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){if(!i||!this._isElementNode(n))return;let s=tm(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${qu}="${this._id}"]`);for(let i=0;io.indexOf(DE)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);l1(n,"aria-describedby",o.messageElement.id),n.setAttribute(qu,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,d1(n,"aria-describedby",o.messageElement.id),n.removeAttribute(qu)}_isElementDescribedByMessage(n,i){let o=Ku(n,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(i){return new(i||e)(p(W),p(je))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tm(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function pE(t,e){t.id||(t.id=`${DE}-${e}-${rm++}`)}var Qu=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new B,this._typeaheadSubscription=ae.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new B,this.change=new B,e instanceof li?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Oc(e)&&(this._effectRef=qc(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ee(r=>this._pressedLetters.push(r)),Yr(e),le(()=>this._pressedLetters.length>0),C(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Oc(this._items)?this._items():this._items instanceof li?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},mE=class extends Qu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},gE=class extends Qu{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};function im(t){return t.buttons===0||t.detail===0}function om(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var f1=new v("cdk-input-modality-detector-options"),h1={ignoreKeys:[18,17,224,91,16]},_E=650,Yi=Zi({passive:!0,capture:!0}),p1=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new de(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Nn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<_E||(this._modality.next(im(a)?"keyboard":"mouse"),this._mostRecentTarget=Nn(a))},this._onTouchstart=a=>{if(om(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Nn(a)},this._options=b(b({},h1),s),this.modalityDetected=this._modality.pipe(Xr(1)),this.modalityChanged=this.modalityDetected.pipe(Kr()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Yi),o.addEventListener("mousedown",this._onMousedown,Yi),o.addEventListener("touchstart",this._onTouchstart,Yi)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Yi),document.removeEventListener("mousedown",this._onMousedown,Yi),document.removeEventListener("touchstart",this._onTouchstart,Yi))}};e.\u0275fac=function(i){return new(i||e)(p(je),p(P),p(W),p(f1,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),m1=new v("liveAnnouncerElement",{providedIn:"root",factory:g1});function g1(){return null}var v1=new v("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),b1=0,kG=(()=>{let e=class e{constructor(n,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new B,this._rootNodeFocusAndBlurListener=c=>{let u=Nn(c);for(let l=u;l;l=l.parentElement)c.type==="focus"?this._onFocus(c,l):this._onBlur(c,l)},this._document=s,this._detectionMode=a?.detectionMode||Yu.IMMEDIATE}monitor(n,i=!1){let o=kr(n);if(!this._platform.isBrowser||o.nodeType!==1)return x();let s=cE(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new B,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=kr(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=kr(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,u])=>this._originChanged(c,i,u)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Yu.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===Yu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?_E:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=Nn(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zu)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(jn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{let e=class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=g(hE).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Lr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Lr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Lr.BLACK_ON_WHITE}return Lr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(nm,vE,bE),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Lr.BLACK_ON_WHITE?n.add(nm,vE):i===Lr.WHITE_ON_BLACK&&n.add(nm,bE)}}};e.\u0275fac=function(i){return new(i||e)(p(je),p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),PG=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(p(sm))},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[lE]});let t=e;return t})();var _1=new v("cdk-dir-doc",{providedIn:"root",factory:w1});function w1(){return g(W)}var E1=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function I1(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?E1.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var qG=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new X,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=I1(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(p(_1,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var am=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();var M1=["*",[["mat-option"],["ng-container"]]],S1=["*","mat-option, ng-container"],T1=["text"],A1=[[["mat-icon"]],"*"],N1=["mat-icon","*"];function R1(t,e){if(t&1&&Je(0,"mat-pseudo-checkbox",1),t&2){let r=Lc();Mi("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function O1(t,e){if(t&1&&Je(0,"mat-pseudo-checkbox",3),t&2){let r=Lc();Mi("disabled",r.disabled)}}function F1(t,e){if(t&1&&(_n(0,"span",4),vh(1),wn()),t&2){let r=Lc();Ci(),Ho("(",r.group.label,")")}}var k1=["mat-internal-form-field",""],P1=["*"];var p5=(()=>{let e=class e{};e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let t=e;return t})(),m5=(()=>{let e=class e{};e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms";let t=e;return t})();function L1(){return!0}var j1=new v("mat-sanity-checks",{providedIn:"root",factory:L1}),an=(()=>{let e=class e{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return uE()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(i){return new(i||e)(p(sm),p(j1,8),p(W))},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[am,am]});let t=e;return t})();var EE=class{constructor(e,r,n,i,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=n,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(i,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var g5=(()=>{let e=class e{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var xt=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(xt||{}),lm=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=xt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},IE=Zi({passive:!0,capture:!0}),dm=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Nn(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,IE)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,IE)))}},CE={enterDuration:225,exitDuration:150},V1=800,xE=Zi({passive:!0,capture:!0}),ME=["mousedown","touchstart"],SE=["mouseup","mouseleave","touchend","touchcancel"],Ts=class Ts{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=kr(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=b(b({},CE),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||U1(e,r,i),a=e-i.left,c=r-i.top,u=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-s}px`,l.style.top=`${c-s}px`,l.style.height=`${s*2}px`,l.style.width=`${s*2}px`,n.color!=null&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(l);let d=window.getComputedStyle(l),f=d.transitionProperty,h=d.transitionDuration,m=f==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,_=new lm(this,l,n,m);l.style.transform="scale3d(1, 1, 1)",_.state=xt.FADING_IN,n.persistent||(this._mostRecentTransientRipple=_);let w=null;return!m&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let E=()=>{w&&(w.fallbackTimer=null),clearTimeout(q),this._finishRippleTransition(_)},k=()=>this._destroyRipple(_),q=setTimeout(k,u+100);l.addEventListener("transitionend",E),l.addEventListener("transitioncancel",k),w={onTransitionEnd:E,onTransitionCancel:k,fallbackTimer:q}}),this._activeRipples.set(_,w),(m||!u)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===xt.FADING_OUT||e.state===xt.HIDDEN)return;let r=e.element,n=b(b({},CE),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=xt.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=kr(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,ME.forEach(n=>{Ts._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{SE.forEach(r=>{this._triggerElement.addEventListener(r,this,xE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===xt.FADING_IN?this._startFadeOutTransition(e):e.state===xt.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=xt.VISIBLE,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=xt.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=im(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===xt.VISIBLE||e.config.terminateOnPointerUp&&e.state===xt.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(ME.forEach(r=>Ts._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(SE.forEach(r=>e.removeEventListener(r,this,xE)),this._pointerUpEventsRegistered=!1))}};Ts._eventManager=new dm;var fm=Ts;function U1(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var RE=new v("mat-ripple-global-options"),OE=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new fm(this,i,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:b(b(b({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,b(b({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,b(b({},this.rippleConfig),n))}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(P),y(je),y(RE,8),y(Yn,8))},e.\u0275dir=G({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&we("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),pm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an,an]});let t=e;return t})(),B1=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(y(Yn,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&we("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[at],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),$1=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an]});let t=e;return t})(),FE=new v("MAT_OPTION_PARENT_COMPONENT"),H1=0,kE=new v("MatOptgroup"),v5=(()=>{let e=class e{constructor(n){this.disabled=!1,this._labelId=`mat-optgroup-label-${H1++}`,this._inert=n?.inertGroups??!1}};e.\u0275fac=function(i){return new(i||e)(y(FE,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(i,o){i&2&&Xe("role",o._inert?null:"group")("aria-disabled",o._inert?null:o.disabled.toString())("aria-labelledby",o._inert?null:o._labelId)},inputs:{label:"label",disabled:[2,"disabled","disabled",Ee]},exportAs:["matOptgroup"],standalone:!0,features:[_t([{provide:kE,useExisting:e}]),st,at],ngContentSelectors:S1,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(i,o){i&1&&(Jt(M1),_n(0,"span",0)(1,"span",1),vh(2),Le(3),wn()(),Le(4,1)),i&2&&(we("mdc-list-item--disabled",o.disabled),Mi("id",o._labelId),Ci(2),Ho("",o.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0});let t=e;return t})(),z1=0,hm=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},b5=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,i,o,s){this._element=n,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${z1++}`,this.onSelectionChange=new X,this._stateChanges=new B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!Wu(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new hm(this,n))}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(wt),y(FE,8),y(kE,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&MD(T1,7),i&2){let s;jc(s=Vc())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&En("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),i&2&&(mh("id",o.id),Xe("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),we("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Ee]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[st,at],ngContentSelectors:N1,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(Jt(A1),kc(0,R1,1,2,"mat-pseudo-checkbox",1),Le(1),_n(2,"span",2,0),Le(4,1),wn(),kc(5,O1,1,1,"mat-pseudo-checkbox",3)(6,F1,2,1,"span",4),Je(7,"div",5)),i&2&&(Pc(o.multiple?0:-1),Ci(5),Pc(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),Ci(),Pc(o.group&&o.group._inert?6:-1),Ci(),Mi("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[B1,OE],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight)}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();function y5(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+n?Math.max(0,t-n+e):r}var _5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[pm,an,$1]});let t=e;return t})(),TE={capture:!0},AE=["focus","mousedown","mouseenter","touchstart"],cm="mat-ripple-loader-uninitialized",um="mat-ripple-loader-class-name",NE="mat-ripple-loader-centered",Xu="mat-ripple-loader-disabled",PE=(()=>{let e=class e{constructor(){this._document=g(W,{optional:!0}),this._animationMode=g(Yn,{optional:!0}),this._globalRippleOptions=g(RE,{optional:!0}),this._platform=g(je),this._ngZone=g(P),this._hosts=new Map,this._onInteraction=n=>{let i=Nn(n);if(i instanceof HTMLElement){let o=i.closest(`[${cm}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let n of AE)this._document?.addEventListener(n,this._onInteraction,TE)})}ngOnDestroy(){let n=this._hosts.keys();for(let i of n)this.destroyRipple(i);for(let i of AE)this._document?.removeEventListener(i,this._onInteraction,TE)}configureRipple(n,i){n.setAttribute(cm,this._globalRippleOptions?.namespace??""),(i.className||!n.hasAttribute(um))&&n.setAttribute(um,i.className||""),i.centered&&n.setAttribute(NE,""),i.disabled&&n.setAttribute(Xu,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,i){let o=this._hosts.get(n);if(o){o.disabled=i;return}i?n.setAttribute(Xu,""):n.removeAttribute(Xu)}_createRipple(n){if(!this._document)return;let i=this._hosts.get(n);if(i)return i;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(um)),n.append(o);let s=new OE(new ne(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(NE),s.disabled=n.hasAttribute(Xu),this.attachRipple(n,s),s}attachRipple(n,i){n.removeAttribute(cm),this._hosts.set(n,i)}destroyRipple(n){let i=this._hosts.get(n);i&&(i.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),w5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=nt({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&we("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[at],attrs:k1,ngContentSelectors:P1,decls:1,vars:0,template:function(i,o){i&1&&(Jt(),Le(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let t=e;return t})();var LE=["mat-button",""],jE=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],VE=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],G1='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',UE=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var W1=["mat-icon-button",""],q1=["*"];var Z1=new v("MAT_BUTTON_CONFIG");var Y1=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],mm=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,i,o,s){this._elementRef=n,this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=g(wE),this._rippleLoader=g(PE),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=g(Z1,{optional:!0}),c=n.nativeElement,u=c.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of Y1)c.hasAttribute(l)&&u.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){Lo()},e.\u0275dir=G({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ee],disabled:[2,"disabled","disabled",Ee],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ee],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ee]},features:[st]});let t=e;return t})();var K1=(()=>{let e=class e extends mm{constructor(n,i,o,s){super(n,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(i){Lo()},e.\u0275dir=G({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",n=>n==null?void 0:Eh(n)]},features:[st,be]});let t=e;return t})(),P5=(()=>{let e=class e extends mm{constructor(n,i,o,s){super(n,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(je),y(P),y(Yn,8))},e.\u0275cmp=nt({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Si(o.color?"mat-"+o.color:""),we("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[be,at],attrs:LE,ngContentSelectors:VE,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Jt(jE),Je(0,"span",0),Le(1),_n(2,"span",1),Le(3,1),wn(),Le(4,2),Je(5,"span",2)(6,"span",3)),i&2&&we("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let t=e;return t})(),L5=(()=>{let e=class e extends K1{constructor(n,i,o,s){super(n,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(je),y(P),y(Yn,8))},e.\u0275cmp=nt({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),Si(o.color?"mat-"+o.color:""),we("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[be,at],attrs:LE,ngContentSelectors:VE,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Jt(jE),Je(0,"span",0),Le(1),_n(2,"span",1),Le(3,1),wn(),Le(4,2),Je(5,"span",2)(6,"span",3)),i&2&&we("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[G1,UE],encapsulation:2,changeDetection:0});let t=e;return t})();var j5=(()=>{let e=class e extends mm{constructor(n,i,o,s){super(n,i,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(je),y(P),y(Yn,8))},e.\u0275cmp=nt({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Si(o.color?"mat-"+o.color:""),we("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[be,at],attrs:W1,ngContentSelectors:q1,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Jt(),Je(0,"span",0),Le(1),Je(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',UE],encapsulation:2,changeDetection:0});let t=e;return t})();var V5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an,pm,an]});let t=e;return t})();var Q1=["*"],Ju;function X1(){if(Ju===void 0&&(Ju=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Ju=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Ju}function As(t){return X1()?.createHTML(t)||t}function BE(t){return Error(`Unable to find icon with the name "${t}"`)}function J1(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function $E(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function HE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Rn=class{constructor(e,r,n){this.url=e,this.svgText=r,this.options=n}},eP=(()=>{let e=class e{constructor(n,i,o,s){this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new Rn(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let a=this._sanitizer.sanitize(Pe.HTML,o);if(!a)throw HE(o);let c=As(a);return this._addSvgIconConfig(n,i,new Rn("",c,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new Rn(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Pe.HTML,i);if(!s)throw HE(i);let a=As(s);return this._addSvgIconSetConfig(n,new Rn("",a,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Pe.RESOURCE_URL,n);if(!i)throw $E(n);let o=this._cachedIconsByUrl.get(i);return o?x(el(o)):this._loadSvgIconFromConfig(new Rn(n,null)).pipe(ee(s=>this._cachedIconsByUrl.set(i,s)),C(s=>el(s)))}getNamedSvgIcon(n,i=""){let o=zE(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(n,a):Bt(BE(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?x(el(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(C(i=>el(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return x(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Re(c=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Pe.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(l)),x(null)})));return ao(s).pipe(C(()=>{let a=this._extractIconWithNameFromAnySet(n,i);if(!a)throw BE(n);return a}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,n,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ee(i=>n.svgText=i),C(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?x(null):this._fetchIcon(n).pipe(ee(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(As(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(As("")),o=n.attributes;for(let s=0;sAs(l)),ht(()=>this._inProgressUrlFetches.delete(a)),uo());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(zE(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;oe?e.pathname+e.search:""}}var GE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],oP=GE.map(t=>`[${t}]`).join(", "),sP=/^url\(['"]?#(.*?)['"]?\)$/,eW=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(n,i,o,s,a,c){this._elementRef=n,this._iconRegistry=i,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ae.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(oP),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],u=c.getAttribute(a),l=u?u.match(sP):null;if(l){let d=o.get(c);d||(d=[],o.set(c,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(me(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(eP),Fo("aria-hidden"),y(rP),y(Te),y(nP,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Xe("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Si(o.color?"mat-"+o.color:""),we("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Ee],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[st,at],ngContentSelectors:Q1,decls:1,vars:0,template:function(i,o){i&1&&(Jt(),Le(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})(),tW=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an,an]});let t=e;return t})();var Mt=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Mt||{}),rW="*";function iW(t,e){return{type:Mt.Trigger,name:t,definitions:e,options:{}}}function oW(t,e=null){return{type:Mt.Animate,styles:e,timings:t}}function sW(t,e=null){return{type:Mt.Group,steps:t,options:e}}function aW(t,e=null){return{type:Mt.Sequence,steps:t,options:e}}function cW(t){return{type:Mt.Style,styles:t,offset:null}}function uW(t,e,r){return{type:Mt.State,name:t,styles:e,options:r}}function lW(t){return{type:Mt.Keyframes,steps:t}}function dW(t,e,r=null){return{type:Mt.Transition,expr:t,animation:e,options:r}}function fW(t=null){return{type:Mt.AnimateChild,options:t}}function hW(t,e,r=null){return{type:Mt.Query,selector:t,animation:e,options:r}}function pW(t,e){return{type:Mt.Stagger,timings:t,animation:e}}var WE=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},qE=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},mW="!";function gm(t,e){let r=!e?.manualCleanup;r&&!e?.injector&&Ao(gm);let n=r?e?.injector?.get(Cr)??g(Cr):null,i=aP(e?.equal),o;e?.requireSync?o=Dn({kind:0},{equal:i}):o=Dn({kind:1,value:e?.initialValue},{equal:i});let s=t.subscribe({next:a=>o.set({kind:1,value:a}),error:a=>{if(e?.rejectErrors)throw a;o.set({kind:2,error:a})}});return n?.onDestroy(s.unsubscribe.bind(s)),tn(()=>{let a=o();switch(a.kind){case 1:return a.value;case 2:throw a.error;case 0:throw new I(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}},{equal:e?.equal})}function aP(t=Object.is){return(e,r)=>e.kind===1&&r.kind===1&&t(e.value,r.value)}var Dm={};function Im(t,e){if(Dm[t]=(Dm[t]||0)+1,typeof e=="function")return vm(t,(...n)=>O(b({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return vm(t,()=>({type:t}));case"props":return vm(t,n=>O(b({},n),{type:t}));default:throw new Error("Unexpected config.")}}function Ki(){return{_as:"props",_p:void 0}}function vm(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}function cP(t){return t.charAt(0).toUpperCase()+t.substring(1)}function uP(t){return t.charAt(0).toLowerCase()+t.substring(1)}function u0(t){let{source:e,events:r}=t;return Object.keys(r).reduce((n,i)=>O(b({},n),{[lP(i)]:Im(dP(e,i),r[i])}),{})}function Cm(){return Ki()}function lP(t){return t.trim().split(" ").map((e,r)=>r===0?uP(e):cP(e)).join("")}function dP(t,e){return`[${t}] ${e}`}var l0="@ngrx/store/init",Qi=(()=>{let e=class e extends de{constructor(){super({type:l0})}next(n){if(typeof n=="function")throw new TypeError(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function cr(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ce=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(T(n))try{n()}catch(o){e=o instanceof Us?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{zm(o)}catch(s){e=e??[],s instanceof Us?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Us(e)}}add(e){var r;if(e&&e!==this)if(this.closed)zm(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&cr(r,e)}remove(e){let{_finalizers:r}=this;r&&cr(r,e),e instanceof t&&e._removeParent(this)}};ce.EMPTY=(()=>{let t=new ce;return t.closed=!0,t})();var vl=ce.EMPTY;function Bs(t){return t instanceof ce||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function zm(t){T(t)?t():t.unsubscribe()}var St={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Br={setTimeout(t,e,...r){let{delegate:n}=Br;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Br;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function $s(t){Br.setTimeout(()=>{let{onUnhandledError:e}=St;if(e)e(t);else throw t})}function cn(){}var Gm=bl("C",void 0,void 0);function Wm(t){return bl("E",void 0,t)}function qm(t){return bl("N",t,void 0)}function bl(t,e,r){return{kind:t,value:e,error:r}}var ur=null;function $r(t){if(St.useDeprecatedSynchronousErrorHandling){let e=!ur;if(e&&(ur={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=ur;if(ur=null,r)throw n}}else t()}function Zm(t){St.useDeprecatedSynchronousErrorHandling&&ur&&(ur.errorThrown=!0,ur.error=t)}var lr=class extends ce{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Bs(e)&&e.add(this)):this.destination=eI}static create(e,r,n){return new un(e,r,n)}next(e){this.isStopped?Dl(qm(e),this):this._next(e)}error(e){this.isStopped?Dl(Wm(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Dl(Gm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},X0=Function.prototype.bind;function yl(t,e){return X0.call(t,e)}var _l=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Hs(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Hs(n)}else Hs(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Hs(r)}}},un=class extends lr{constructor(e,r,n){super();let i;if(T(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&St.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&yl(e.next,o),error:e.error&&yl(e.error,o),complete:e.complete&&yl(e.complete,o)}):i=e}this.destination=new _l(i)}};function Hs(t){St.useDeprecatedSynchronousErrorHandling?Zm(t):$s(t)}function J0(t){throw t}function Dl(t,e){let{onStoppedNotification:r}=St;r&&Br.setTimeout(()=>r(t,e))}var eI={closed:!0,next:cn,error:J0,complete:cn};function M(t,e,r,n,i){return new Xi(t,e,r,n,i)}var Xi=class extends lr{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function le(t,e){return S((r,n)=>{let i=0;r.subscribe(M(n,o=>t.call(e,o,i++)&&n.next(o)))})}var zs=class extends ce{constructor(e,r){super()}schedule(e,r=0){return this}};var Ji={setInterval(t,e,...r){let{delegate:n}=Ji;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Ji;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Fn=class extends zs{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,r),this}requestAsyncId(e,r,n=0){return Ji.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Ji.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,cr(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var eo={now(){return(eo.delegate||Date).now()},delegate:void 0};var Hr=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};Hr.now=eo.now;var kn=class extends Hr{constructor(e,r=Hr.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var ln=new kn(Fn),Ym=ln;function C(t,e){return S((r,n)=>{let i=0;r.subscribe(M(n,o=>{n.next(t.call(e,o,i++))}))})}var zr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Gs(t){return T(t?.then)}var Gr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ce(t){return t}function wl(...t){return El(t)}function El(t){return t.length===0?Ce:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var N=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=nI(r)?r:new un(r,n,i);return $r(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Km(n),new n((i,o)=>{let s=new un({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Gr](){return this}pipe(...r){return El(r)(this)}toPromise(r){return r=Km(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Km(t){var e;return(e=t??St.Promise)!==null&&e!==void 0?e:Promise}function tI(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function nI(t){return t&&t instanceof lr||tI(t)&&Bs(t)}function Ws(t){return T(t[Gr])}function qs(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function Zs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function rI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ys=rI();function Ks(t){return T(t?.[Ys])}function Qs(t){return $m(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield ar(r.read());if(i)return yield ar(void 0);yield yield ar(n)}}finally{r.releaseLock()}})}function Xs(t){return T(t?.getReader)}function V(t){if(t instanceof N)return t;if(t!=null){if(Ws(t))return iI(t);if(zr(t))return oI(t);if(Gs(t))return sI(t);if(qs(t))return Qm(t);if(Ks(t))return aI(t);if(Xs(t))return cI(t)}throw Zs(t)}function iI(t){return new N(e=>{let r=t[Gr]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function oI(t){return new N(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,$s)})}function aI(t){return new N(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Qm(t){return new N(e=>{uI(t,e).catch(r=>e.error(r))})}function cI(t){return Qm(Qs(t))}function uI(t,e){var r,n,i,o;return Bm(this,void 0,void 0,function*(){try{for(r=Hm(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Ne(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function Xm(t,e,r,n,i,o,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=_=>u{o&&e.next(_),u++;let w=!1;V(r(_,l++)).subscribe(M(e,E=>{i?.(E),o?h(E):e.next(E)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;c.length&&um(E)):m(E)}f()}catch(E){e.error(E)}}))};return t.subscribe(M(e,h,()=>{d=!0,f()})),()=>{a?.()}}function Q(t,e,r=1/0){return T(e)?Q((n,i)=>C((o,s)=>e(n,o,i,s))(V(t(n,i))),r):(typeof e=="number"&&(r=e),S((n,i)=>Xm(n,i,t,r)))}function jt(t=1/0){return Q(Ce,t)}function Jm(){return jt(1)}function Js(t){return t&&T(t.schedule)}function Il(t){return t[t.length-1]}function Wr(t){return T(Il(t))?t.pop():void 0}function Vt(t){return Js(Il(t))?t.pop():void 0}function eg(t,e){return typeof Il(t)=="number"?t.pop():e}function dr(t,e=0){return S((r,n)=>{r.subscribe(M(n,i=>Ne(n,t,()=>n.next(i),e),()=>Ne(n,t,()=>n.complete(),e),i=>Ne(n,t,()=>n.error(i),e)))})}function ea(t,e=0){return S((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function tg(t,e){return V(t).pipe(ea(e),dr(e))}function ng(t,e){return V(t).pipe(ea(e),dr(e))}function rg(t,e){return new N(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function ig(t,e){return new N(r=>{let n;return Ne(r,e,()=>{n=t[Ys](),Ne(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>T(n?.return)&&n.return()})}function ta(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(r=>{Ne(r,e,()=>{let n=t[Symbol.asyncIterator]();Ne(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function og(t,e){return ta(Qs(t),e)}function sg(t,e){if(t!=null){if(Ws(t))return tg(t,e);if(zr(t))return rg(t,e);if(Gs(t))return ng(t,e);if(qs(t))return ta(t,e);if(Ks(t))return ig(t,e);if(Xs(t))return og(t,e)}throw Zs(t)}function re(t,e){return e?sg(t,e):V(t)}function Ut(...t){return Jm()(re(t,Vt(t)))}var xe=new N(t=>t.complete());function me(t){return t<=0?()=>xe:S((e,r)=>{let n=0;e.subscribe(M(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function to(){return S((t,e)=>{t.subscribe(M(e,cn))})}function no(t){return C(()=>t)}function Cl(t,e){return e?r=>Ut(e.pipe(me(1),to()),r.pipe(Cl(t))):Q((r,n)=>V(t(r,n)).pipe(me(1),no(r)))}function na(t){return t instanceof Date&&!isNaN(t)}function ro(t=0,e,r=Ym){let n=-1;return e!=null&&(Js(e)?r=e:n=e),new N(i=>{let o=na(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function ag(t,e=ln){let r=ro(t,e);return Cl(()=>r)}function qr(){return S((t,e)=>{let r=null;t._refCount++;let n=M(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Zr=class extends N{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,gl(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ce;let r=this.getSubject();e.add(this.source.subscribe(M(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ce.EMPTY)}return e}refCount(){return qr()(this)}};var cg=On(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=(()=>{class t extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ra(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new cg}next(r){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?vl:(this.currentObservers=null,o.push(r),new ce(()=>{this.currentObservers=null,cr(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new N;return r.source=this,r}}return t.create=(e,r)=>new ra(e,r),t})(),ra=class extends B{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:vl}};var de=class extends B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var io=class extends B{constructor(e=1/0,r=1/0,n=eo){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;sug(e)&&t()),e},clearImmediate(t){ug(t)}};var{setImmediate:dI,clearImmediate:fI}=lg,oo={setImmediate(...t){let{delegate:e}=oo;return(e?.setImmediate||dI)(...t)},clearImmediate(t){let{delegate:e}=oo;return(e?.clearImmediate||fI)(t)},delegate:void 0};var ia=class extends Fn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=oo.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(oo.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var oa=class extends kn{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var hI=new oa(ia);var sa=class extends Fn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var aa=class extends kn{};var Sl=new aa(sa);function x(...t){let e=Vt(t);return re(t,e)}function Bt(t,e){let r=T(t)?t:()=>t,n=i=>i.error(r());return new N(e?i=>e.schedule(n,0,i):n)}var Pn=class t{constructor(e,r,n){this.kind=e,this.value=r,this.error=n,this.hasValue=e==="N"}observe(e){return Tl(this,e)}do(e,r,n){let{kind:i,value:o,error:s}=this;return i==="N"?e?.(o):i==="E"?r?.(s):n?.()}accept(e,r,n){var i;return T((i=e)===null||i===void 0?void 0:i.next)?this.observe(e):this.do(e,r,n)}toObservable(){let{kind:e,value:r,error:n}=this,i=e==="N"?x(r):e==="E"?Bt(()=>n):e==="C"?xe:0;if(!i)throw new TypeError(`Unexpected notification kind ${e}`);return i}static createNext(e){return new t("N",e)}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}};Pn.completeNotification=new Pn("C");function Tl(t,e){var r,n,i;let{kind:o,value:s,error:a}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(r=e.next)===null||r===void 0||r.call(e,s):o==="E"?(n=e.error)===null||n===void 0||n.call(e,a):(i=e.complete)===null||i===void 0||i.call(e)}function Al(t){return!!t&&(t instanceof N||T(t.lift)&&T(t.subscribe))}var dn=On(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});var pI=On(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function mI(t,e){let{first:r,each:n,with:i=gI,scheduler:o=e??ln,meta:s=null}=na(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return S((a,c)=>{let u,l,d=null,f=0,h=m=>{l=Ne(c,o,()=>{try{u.unsubscribe(),V(i({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(_){c.error(_)}},m)};u=a.subscribe(M(c,m=>{l?.unsubscribe(),f++,c.next(d=m),n>0&&h(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&h(r!=null?typeof r=="number"?r:+r-o.now():n)})}function gI(t){throw new pI(t)}var{isArray:vI}=Array;function bI(t,e){return vI(e)?t(...e):t(e)}function Yr(t){return C(e=>bI(t,e))}var{isArray:yI}=Array,{getPrototypeOf:DI,prototype:_I,keys:wI}=Object;function ca(t){if(t.length===1){let e=t[0];if(yI(e))return{args:e,keys:null};if(EI(e)){let r=wI(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function EI(t){return t&&typeof t=="object"&&DI(t)===_I}function ua(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function fr(...t){let e=Vt(t),r=Wr(t),{args:n,keys:i}=ca(t);if(n.length===0)return re([],e);let o=new N(II(n,e,i?s=>ua(i,s):Ce));return r?o.pipe(Yr(r)):o}function II(t,e,r=Ce){return n=>{dg(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let u=re(t[c],e),l=!1;u.subscribe(M(n,d=>{o[c]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function dg(t,e,r){t?Ne(r,t,e):e()}function so(t){return new N(e=>{V(t()).subscribe(e)})}function ao(...t){let e=Wr(t),{args:r,keys:n}=ca(t),i=new N(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(n?ua(n,a):a),o.complete())}))}});return e?i.pipe(Yr(e)):i}var CI=["addListener","removeListener"],xI=["addEventListener","removeEventListener"],MI=["on","off"];function Nl(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return Nl(t,e,r).pipe(Yr(n));let[i,o]=AI(t)?xI.map(s=>a=>t[s](e,a,r)):SI(t)?CI.map(fg(t,e)):TI(t)?MI.map(fg(t,e)):[];if(!i&&zr(t))return Q(s=>Nl(s,e,r))(V(t));if(!i)throw new TypeError("Invalid event target");return new N(s=>{let a=(...c)=>s.next(1o(a)})}function fg(t,e){return r=>n=>t[r](e,n)}function SI(t){return T(t.addListener)&&T(t.removeListener)}function TI(t){return T(t.on)&&T(t.off)}function AI(t){return T(t.addEventListener)&&T(t.removeEventListener)}function la(...t){let e=Vt(t),r=eg(t,1/0),n=t;return n.length?n.length===1?V(n[0]):jt(r)(re(n,e)):xe}function hg(t){return S((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let u=i;i=null,r.next(u)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(M(r,u=>{n=!0,i=u,o||V(t(u)).subscribe(o=M(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function NI(t,e=ln){return hg(()=>ro(t,e))}function Re(t){return S((e,r)=>{let n=null,i=!1,o;n=e.subscribe(M(r,void 0,void 0,s=>{o=V(t(s,Re(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function pg(t,e,r,n,i){return(o,s)=>{let a=r,c=e,u=0;o.subscribe(M(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function $t(t,e){return T(e)?Q(t,e,1):Q(t,1)}function Kr(t,e=ln){return S((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l{o=u,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function Ln(t){return S((e,r)=>{let n=!1;e.subscribe(M(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Rl(){return S((t,e)=>{t.subscribe(M(e,r=>Tl(r,e)))})}function Qr(t,e=Ce){return t=t??RI,S((r,n)=>{let i,o=!0;r.subscribe(M(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function RI(t,e){return t===e}function da(t=OI){return S((e,r)=>{let n=!1;e.subscribe(M(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function OI(){return new dn}function fa(t,e){return e?r=>r.pipe(fa((n,i)=>V(t(n,i)).pipe(C((o,s)=>e(n,o,i,s))))):S((r,n)=>{let i=0,o=null,s=!1;r.subscribe(M(n,a=>{o||(o=M(n,void 0,()=>{o=null,s&&n.complete()}),V(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function ht(t){return S((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Tt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?le((i,o)=>t(i,o,n)):Ce,me(1),r?Ln(e):da(()=>new dn))}function ha(t,e,r,n){return S((i,o)=>{let s;!e||typeof e=="function"?s=e:{duration:r,element:s,connector:n}=e;let a=new Map,c=m=>{a.forEach(m),m(o)},u=m=>c(_=>_.error(m)),l=0,d=!1,f=new Xi(o,m=>{try{let _=t(m),w=a.get(_);if(!w){a.set(_,w=n?n():new B);let E=h(_,w);if(o.next(E),r){let k=M(w,()=>{w.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(_));f.add(V(r(E)).subscribe(k))}}w.next(s?s(m):m)}catch(_){u(_)}},()=>c(m=>m.complete()),u,()=>a.clear(),()=>(d=!0,l===0));i.subscribe(f);function h(m,_){let w=new N(E=>{l++;let k=_.subscribe(E);return()=>{k.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return w.key=m,w}})}function Xr(t){return t<=0?()=>xe:S((e,r)=>{let n=[];e.subscribe(M(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Ol(t,e){let r=arguments.length>=2;return n=>n.pipe(t?le((i,o)=>t(i,o,n)):Ce,Xr(1),r?Ln(e):da(()=>new dn))}function Fl(){return S((t,e)=>{t.subscribe(M(e,r=>{e.next(Pn.createNext(r))},()=>{e.next(Pn.createComplete()),e.complete()},r=>{e.next(Pn.createError(r)),e.complete()}))})}function kl(...t){let e=t.length;if(e===0)throw new Error("list of properties cannot be empty.");return C(r=>{let n=r;for(let i=0;i=2,!0))}function uo(t={}){let{connector:e=()=>new B,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},m=()=>{let _=s;h(),_?.unsubscribe()};return S((_,w)=>{u++,!d&&!l&&f();let E=c=c??e();w.add(()=>{u--,u===0&&!d&&!l&&(a=Pl(m,i))}),E.subscribe(w),!s&&u>0&&(s=new un({next:k=>E.next(k),error:k=>{d=!0,f(),a=Pl(h,r,k),E.error(k)},complete:()=>{l=!0,f(),a=Pl(h,n),E.complete()}}),V(_).subscribe(s))})(o)}}function Pl(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new un({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function FI(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,uo({connector:()=>new io(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Jr(t){return le((e,r)=>t<=r)}function lo(...t){let e=Vt(t);return S((r,n)=>{(e?Ut(t,r,e):Ut(t,r)).subscribe(n)})}function Ve(t,e){return S((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(M(n,c=>{i?.unsubscribe();let u=0,l=o++;V(t(c,l)).subscribe(i=M(n,d=>n.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function jn(t){return S((e,r)=>{V(t).subscribe(M(r,()=>r.complete(),cn)),!r.closed&&e.subscribe(r)})}function kI(t,e=!1){return S((r,n)=>{let i=0;r.subscribe(M(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function ee(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?S((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(M(o,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),o.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Ce}function fo(...t){let e=Wr(t);return S((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c{o[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(Ce))&&(s=null))},cn));r.subscribe(M(n,c=>{if(a){let u=[c,...o];n.next(e?e(...u):u)}}))})}function mg(t,e){return Object.is(t,e)}var ge=null,ho=!1,pa=1,Ht=Symbol("SIGNAL");function $(t){let e=ge;return ge=t,e}function gg(){return ge}function PI(){return ho}var ei={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ul(t){if(ho)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(t);let e=ge.nextProducerIndex++;if(Da(ge),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function va(t){Da(t);for(let e=0;e0}function Da(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function wg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Eg(t){return t.producerNode!==void 0}function Ig(t){let e=Object.create(jI);e.computation=t;let r=()=>{if(vg(e),Ul(e),e.value===ma)throw e.error;return e.value};return r[Ht]=e,r}var Ll=Symbol("UNSET"),jl=Symbol("COMPUTING"),ma=Symbol("ERRORED"),jI=O(b({},ei),{value:Ll,dirty:!0,error:null,equal:mg,producerMustRecompute(t){return t.value===Ll||t.value===jl},producerRecomputeValue(t){if(t.value===jl)throw new Error("Detected cycle in computations.");let e=t.value;t.value=jl;let r=mo(t),n;try{n=t.computation()}catch(i){n=ma,t.error=i}finally{ga(t,r)}if(e!==Ll&&e!==ma&&n!==ma&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function VI(){throw new Error}var Cg=VI;function xg(){Cg()}function Mg(t){Cg=t}var UI=null;function Sg(t){let e=Object.create(Ag);e.value=t;let r=()=>(Ul(e),e.value);return r[Ht]=e,r}function Bl(t,e){yg()||xg(),t.equal(t.value,e)||(t.value=e,BI(t))}function Tg(t,e){yg()||xg(),Bl(t,e(t.value))}var Ag=O(b({},ei),{equal:mg,value:void 0});function BI(t){t.version++,LI(),bg(t),UI?.()}function Ng(t,e,r){let n=Object.create($I);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let i=c=>{n.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(ba(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Vl)}let a=()=>{if(n.fn===null)return;if(PI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!va(n))return;n.hasRun=!0;let c=mo(n);try{n.cleanupFn(),n.cleanupFn=Vl,n.fn(i)}finally{ga(n,c)}};return n.ref={notify:()=>Dg(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Ht]:n},n.ref}var Vl=()=>{},$I=O(b({},ei),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Vl});var Cv="https://g.co/ng/security#xss",I=class extends Error{constructor(e,r){super(lc(e,r)),this.code=e}};function lc(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function xo(t){return{toString:t}.toString()}var _a="__parameters__";function HI(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function wf(t,e,r){return xo(()=>{let n=HI(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(_a)?c[_a]:Object.defineProperty(c,_a,{value:[]})[_a];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var ye=globalThis;function oe(t){for(let e in t)if(t[e]===oe)return e;throw Error("Could not find renamed property on target object.")}function zI(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function $e(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map($e).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function sd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var GI=oe({__forward_ref__:oe});function Ot(t){return t.__forward_ref__=Ot,t.toString=function(){return $e(this())},t}function Ue(t){return xv(t)?t():t}function xv(t){return typeof t=="function"&&t.hasOwnProperty(GI)&&t.__forward_ref__===Ot}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function H(t){return{providers:t.providers||[],imports:t.imports||[]}}function dc(t){return Rg(t,Sv)||Rg(t,Tv)}function Mv(t){return dc(t)!==null}function Rg(t,e){return t.hasOwnProperty(e)?t[e]:null}function WI(t){let e=t&&(t[Sv]||t[Tv]);return e||null}function Og(t){return t&&(t.hasOwnProperty(Fg)||t.hasOwnProperty(qI))?t[Fg]:null}var Sv=oe({\u0275prov:oe}),Fg=oe({\u0275inj:oe}),Tv=oe({ngInjectableDef:oe}),qI=oe({ngInjectorDef:oe}),v=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=D({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Av(t){return t&&!!t.\u0275providers}var ZI=oe({\u0275cmp:oe}),YI=oe({\u0275dir:oe}),KI=oe({\u0275pipe:oe}),QI=oe({\u0275mod:oe}),Pa=oe({\u0275fac:oe}),go=oe({__NG_ELEMENT_ID__:oe}),kg=oe({__NG_ENV_ID__:oe});function fc(t){return typeof t=="string"?t:t==null?"":String(t)}function XI(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():fc(t)}function JI(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new I(-200,t)}function Ef(t,e){throw new I(-201,!1)}var U=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(U||{}),ad;function Nv(){return ad}function qe(t){let e=ad;return ad=t,e}function Rv(t,e,r){let n=dc(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&U.Optional)return null;if(e!==void 0)return e;Ef(t,"Injector")}var eC={},vo=eC,cd="__NG_DI_FLAG__",La="ngTempTokenPath",tC="ngTokenPath",nC=/\n/gm,rC="\u0275",Pg="__source",oi;function iC(){return oi}function Vn(t){let e=oi;return oi=t,e}function oC(t,e=U.Default){if(oi===void 0)throw new I(-203,!1);return oi===null?Rv(t,void 0,e):oi.get(t,e&U.Optional?null:void 0,e)}function p(t,e=U.Default){return(Nv()||oC)(Ue(t),e)}function g(t,e=U.Default){return p(t,hc(e))}function hc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ud(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):$e(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(nC,` + `)}`}var Cf=If(wf("Inject",t=>({token:t})),-1),Di=If(wf("Optional"),8);var Mo=If(wf("SkipSelf"),4);function gr(t,e){let r=t.hasOwnProperty(Pa);return r?t[Pa]:null}function uC(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?xf(r,e):e(r))}function Ov(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ja(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dC(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function So(t,e,r){let n=To(t,e);return n>=0?t[n|1]=r:(n=~n,fC(t,n,e,r)),n}function $l(t,e){let r=To(t,e);if(r>=0)return t[r|1]}function To(t,e){return hC(t,e,1)}function hC(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),n&2&&u!==d){if(At(n))return!1;s=!0}}}}return At(n)||s}function At(t){return(t&1)===0}function yC(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!At(s)&&(e+=jg(o,i),i=""),n=s,o=o||!At(n);r++}return i!==""&&(e+=jg(o,i)),e}function CC(t){return t.map(IC).join(",")}function xC(t){let e=[],r=[],n=1,i=2;for(;n{let e=zv(t),r=O(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Pv.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wt.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});Gv(r);let n=t.dependencies;return r.directiveDefs=Ug(n,!1),r.pipeDefs=Ug(n,!0),r.id=TC(r),r})}function MC(t){return $n(t)||Uv(t)}function SC(t){return t!==null}function z(t){return xo(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Vg(t,e){if(t==null)return ai;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=Bn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==Bn.None?[n,a]:n,e[o]=s):r[o]=n}return r}function G(t){return xo(()=>{let e=zv(t);return Gv(e),e})}function pc(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function $n(t){return t[ZI]||null}function Uv(t){return t[YI]||null}function Bv(t){return t[KI]||null}function $v(t){let e=$n(t)||Uv(t)||Bv(t);return e!==null?e.standalone:!1}function Hv(t,e){let r=t[QI]||null;if(!r&&e===!0)throw new Error(`Type ${$e(t)} does not have '\u0275mod' property.`);return r}function zv(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||ai,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vg(t.inputs,e),outputs:Vg(t.outputs),debugInfo:null}}function Gv(t){t.features?.forEach(e=>e(t))}function Ug(t,e){if(!t)return null;let r=e?Bv:MC;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(SC)}function TC(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function vn(t){return{\u0275providers:t}}function AC(...t){return{\u0275providers:Wv(!0,t),\u0275fromNgModule:!0}}function Wv(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return xf(e,s=>{let a=s;dd(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&qv(i,o),r}function qv(t,e){for(let r=0;r{e(o,n)})}}function dd(t,e,r,n){if(t=Ue(t),!t)return!1;let i=null,o=Og(t),s=!o&&$n(t);if(!o&&!s){let c=t.ngModule;if(o=Og(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)dd(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{xf(o.imports,l=>{dd(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&qv(u,e)}if(!a){let u=gr(i)||(()=>new i);e({provide:i,useFactory:u,deps:Oe},i),e({provide:kv,useValue:i,multi:!0},i),e({provide:fn,useValue:()=>p(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=t;Sf(c,l=>{e(l,u)})}}else return!1;return i!==t&&t.providers!==void 0}function Sf(t,e){for(let r of t)Av(r)&&(r=r.\u0275providers),Array.isArray(r)?Sf(r,e):e(r)}var NC=oe({provide:String,useValue:oe});function Zv(t){return t!==null&&typeof t=="object"&&NC in t}function RC(t){return!!(t&&t.useExisting)}function OC(t){return!!(t&&t.useFactory)}function ci(t){return typeof t=="function"}function FC(t){return!!t.useClass}var mc=new v(""),Ta={},kC={},Hl;function Tf(){return Hl===void 0&&(Hl=new Va),Hl}var Fe=class{},yo=class extends Fe{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hd(e,s=>this.processProvider(s)),this.records.set(Fv,ti(void 0,this)),i.has("environment")&&this.records.set(Fe,ti(void 0,this));let o=this.records.get(mc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(kv,Oe,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=$(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),$(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Vn(this),n=qe(void 0),i;try{return e()}finally{Vn(r),qe(n)}}get(e,r=vo,n=U.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(kg))return e[kg](this);n=hc(n);let i,o=Vn(this),s=qe(void 0);try{if(!(n&U.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=UC(e)&&dc(e);u&&this.injectableDefInScope(u)?c=ti(fd(e),Ta):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&U.Self?Tf():this.parent;return r=n&U.Optional&&r===vo?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[La]=a[La]||[]).unshift($e(e)),o)throw a;return aC(a,e,"R3InjectorError",this.source)}else throw a}finally{qe(s),Vn(o)}}resolveInjectorInitializers(){let e=$(null),r=Vn(this),n=qe(void 0),i;try{let o=this.get(fn,Oe,U.Self);for(let s of o)s()}finally{Vn(r),qe(n),$(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push($e(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(e){e=Ue(e);let r=ci(e)?e:Ue(e&&e.provide),n=LC(e);if(!ci(e)&&e.multi===!0){let i=this.records.get(r);i||(i=ti(void 0,Ta,!0),i.factory=()=>ud(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=$(null);try{return r.value===Ta&&(r.value=kC,r.value=r.factory()),typeof r.value=="object"&&r.value&&VC(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{$(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ue(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function fd(t){let e=dc(t),r=e!==null?e.factory:gr(t);if(r!==null)return r;if(t instanceof v)throw new I(204,!1);if(t instanceof Function)return PC(t);throw new I(204,!1)}function PC(t){if(t.length>0)throw new I(204,!1);let r=WI(t);return r!==null?()=>r.factory(t):()=>new t}function LC(t){if(Zv(t))return ti(void 0,t.useValue);{let e=Yv(t);return ti(e,Ta)}}function Yv(t,e,r){let n;if(ci(t)){let i=Ue(t);return gr(i)||fd(i)}else if(Zv(t))n=()=>Ue(t.useValue);else if(OC(t))n=()=>t.useFactory(...ud(t.deps||[]));else if(RC(t))n=()=>p(Ue(t.useExisting));else{let i=Ue(t&&(t.useClass||t.provide));if(jC(t))n=()=>new i(...ud(t.deps));else return gr(i)||fd(i)}return n}function ti(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function jC(t){return!!t.deps}function VC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function UC(t){return typeof t=="function"||typeof t=="object"&&t instanceof v}function hd(t,e){for(let r of t)Array.isArray(r)?hd(r,e):r&&Av(r)?hd(r.\u0275providers,e):e(r)}function rt(t,e){t instanceof yo&&t.assertNotDestroyed();let r,n=Vn(t),i=qe(void 0);try{return e()}finally{Vn(n),qe(i)}}function Kv(){return Nv()!==void 0||iC()!=null}function Ao(t){if(!Kv())throw new I(-203,!1)}function BC(t){return typeof t=="function"}var Ze=0,A=1,F=2,Se=3,Nt=4,Ke=5,gt=6,Ua=7,De=8,ui=9,qt=10,te=11,Do=12,Bg=13,_i=14,He=15,vr=16,ni=17,hn=18,No=19,Qv=20,Un=21,Aa=22,mt=23,ie=25,Af=1,_o=6,pn=7,Ba=8,li=9,Me=10,$a=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}($a||{});function Rt(t){return Array.isArray(t)&&typeof t[Af]=="object"}function Kt(t){return Array.isArray(t)&&t[Af]===!0}function Nf(t){return(t.flags&4)!==0}function Ro(t){return t.componentOffset>-1}function gc(t){return(t.flags&1)===1}function mn(t){return!!t.template}function Ha(t){return(t[F]&512)!==0}var pd=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Xv(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function it(){return Jv}function Jv(t){return t.type.prototype.ngOnChanges&&(t.setInput=HC),$C}it.ngInherit=!0;function $C(){let t=tb(this),e=t?.current;if(e){let r=t.previous;if(r===ai)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function HC(t,e,r,n,i){let o=this.declaredInputs[n],s=tb(t)||zC(t,{previous:ai,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new pd(u&&u.currentValue,r,c===ai),Xv(t,e,i,r)}var eb="__ngSimpleChanges__";function tb(t){return t[eb]||null}function zC(t,e){return t[eb]=e}var $g=null;var zt=function(t,e,r){$g?.(t,e,r)},nb="svg",GC="math";function Ye(t){for(;Array.isArray(t);)t=t[Ze];return t}function WC(t){for(;Array.isArray(t);){if(typeof t[Af]=="object")return t;t=t[Ze]}return null}function rb(t,e){return Ye(e[t])}function ot(t,e){return Ye(e[t.index])}function Rf(t,e){return t.data[e]}function Of(t,e){return t[e]}function Zt(t,e){let r=e[t];return Rt(r)?r:r[Ze]}function qC(t){return(t[F]&4)===4}function Ff(t){return(t[F]&128)===128}function ZC(t){return Kt(t[Se])}function Hn(t,e){return e==null?null:t[e]}function ib(t){t[ni]=0}function ob(t){t[F]&1024||(t[F]|=1024,Ff(t)&&vc(t))}function YC(t,e){for(;t>0;)e=e[_i],t--;return e}function wo(t){return!!(t[F]&9216||t[mt]?.dirty)}function md(t){t[qt].changeDetectionScheduler?.notify(7),t[F]&64&&(t[F]|=1024),wo(t)&&vc(t)}function vc(t){t[qt].changeDetectionScheduler?.notify(0);let e=br(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!Ff(e)));)e=br(e)}function sb(t,e){if((t[F]&256)===256)throw new I(911,!1);t[Un]===null&&(t[Un]=[]),t[Un].push(e)}function KC(t,e){if(t[Un]===null)return;let r=t[Un].indexOf(e);r!==-1&&t[Un].splice(r,1)}function br(t){let e=t[Se];return Kt(e)?e[Se]:e}var L={lFrame:mb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ab=!1;function QC(){return L.lFrame.elementDepthCount}function XC(){L.lFrame.elementDepthCount++}function JC(){L.lFrame.elementDepthCount--}function cb(){return L.bindingsEnabled}function wi(){return L.skipHydrationRootTNode!==null}function ex(t){return L.skipHydrationRootTNode===t}function tx(t){L.skipHydrationRootTNode=t}function nx(){L.skipHydrationRootTNode=null}function R(){return L.lFrame.lView}function se(){return L.lFrame.tView}function Oz(t){return L.lFrame.contextLView=t,t[De]}function Fz(t){return L.lFrame.contextLView=null,t}function _e(){let t=ub();for(;t!==null&&t.type===64;)t=t.parent;return t}function ub(){return L.lFrame.currentTNode}function rx(){let t=L.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Gn(t,e){let r=L.lFrame;r.currentTNode=t,r.isParent=e}function kf(){return L.lFrame.isParent}function Pf(){L.lFrame.isParent=!1}function ix(){return L.lFrame.contextLView}function lb(){return ab}function Hg(t){ab=t}function Oo(){let t=L.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ox(t){return L.lFrame.bindingIndex=t}function Wn(){return L.lFrame.bindingIndex++}function db(t){let e=L.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function sx(){return L.lFrame.inI18n}function ax(t,e){let r=L.lFrame;r.bindingIndex=r.bindingRootIndex=t,gd(e)}function cx(){return L.lFrame.currentDirectiveIndex}function gd(t){L.lFrame.currentDirectiveIndex=t}function Lf(t){let e=L.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function fb(){return L.lFrame.currentQueryIndex}function jf(t){L.lFrame.currentQueryIndex=t}function ux(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[Ke]:null}function hb(t,e,r){if(r&U.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&U.Host);)if(i=ux(o),i===null||(o=o[_i],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=L.lFrame=pb();return n.currentTNode=e,n.lView=t,!0}function Vf(t){let e=pb(),r=t[A];L.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function pb(){let t=L.lFrame,e=t===null?null:t.child;return e===null?mb(t):e}function mb(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function gb(){let t=L.lFrame;return L.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var vb=gb;function Uf(){let t=gb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function lx(t){return(L.lFrame.contextLView=YC(t,L.lFrame.contextLView))[De]}function qn(){return L.lFrame.selectedIndex}function yr(t){L.lFrame.selectedIndex=t}function Ei(){let t=L.lFrame;return Rf(t.tView,t.selectedIndex)}function kz(){L.lFrame.currentNamespace=nb}function Pz(){dx()}function dx(){L.lFrame.currentNamespace=null}function bb(){return L.lFrame.currentNamespace}var yb=!0;function bc(){return yb}function Zn(t){yb=t}function fx(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=Jv(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function yc(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[ni]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,zg(a,o)):zg(a,o)}var si=-1,Dr=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function px(t){return t instanceof Dr}function mx(t){return(t.flags&8)!==0}function gx(t){return(t.flags&16)!==0}var Gl={},vd=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=hc(n);let i=this.injector.get(e,Gl,n);return i!==Gl||r===Gl?i:this.parentInjector.get(e,r,n)}};function _b(t){return t!==si}function za(t){return t&32767}function vx(t){return t>>16}function Ga(t,e){let r=vx(t),n=e;for(;r>0;)n=n[_i],r--;return n}var bd=!0;function Wa(t){let e=bd;return bd=t,e}var bx=256,wb=bx-1,Eb=5,yx=0,Gt={};function Dx(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(go)&&(n=r[go]),n==null&&(n=r[go]=yx++);let i=n&wb,o=1<>Eb)]|=o}function qa(t,e){let r=Ib(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,Wl(n.data,t),Wl(e,null),Wl(n.blueprint,null));let i=Bf(t,e),o=t.injectorIndex;if(_b(i)){let s=za(i),a=Ga(i,e),c=a[A].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function Wl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ib(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Bf(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Tb(i),n===null)return si;if(r++,i=i[_i],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return si}function yd(t,e,r){Dx(t,e,r)}function _x(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+l,f=i?a+l:u;for(let h=d;h=c&&m.type===r)return h}if(i){let h=s[c];if(h&&mn(h)&&h.type===r)return c}return null}function _r(t,e,r,n){let i=t[r],o=e.data;if(px(i)){let s=i;s.resolving&&JI(XI(o[r]));let a=Wa(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?qe(s.injectImpl):null,l=hb(t,n,U.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&fx(r,o[r],e)}finally{u!==null&&qe(u),Wa(a),s.resolving=!1,vb()}}return i}function Ex(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(go)?t[go]:void 0;return typeof e=="number"?e>=0?e&wb:Ix:e}function Gg(t,e,r){let n=1<>Eb)]&n)}function Wg(t,e){return!(t&U.Self)&&!(t&U.Host&&e)}var mr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Mb(this._tNode,this._lView,e,hc(n),r)}};function Ix(){return new mr(_e(),R())}function Yn(t){return xo(()=>{let e=t.prototype.constructor,r=e[Pa]||Dd(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Pa]||Dd(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Dd(t){return xv(t)?()=>{let e=Dd(Ue(t));return e&&e()}:gr(t)}function Cx(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=Sb(o,s,r,n|U.Self,Gt);if(a!==Gt)return a;let c=o.parent;if(!c){let u=s[Qv];if(u){let l=u.get(r,Gt,n);if(l!==Gt)return l}c=Tb(s),s=s[_i]}o=c}return i}function Tb(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[Ke]:null}function Fo(t){return _x(_e(),t)}function qg(t,e=null,r=null,n){let i=Ab(t,e,r,n);return i.resolveInjectorInitializers(),i}function Ab(t,e=null,r=null,n,i=new Set){let o=[r||Oe,AC(t)];return n=n||(typeof t=="object"?void 0:$e(t)),new yo(o,e||Tf(),n||null,i)}var pr=class pr{static create(e,r){if(Array.isArray(e))return qg({name:""},r,e,"");{let n=e.name??"";return qg({name:n},e.parent,e.providers,n)}}};pr.THROW_IF_NOT_FOUND=vo,pr.NULL=new Va,pr.\u0275prov=D({token:pr,providedIn:"any",factory:()=>p(Fv)}),pr.__NG_ELEMENT_ID__=-1;var ke=pr;var xx=new v("");xx.__NG_ELEMENT_ID__=t=>{let e=_e();if(e===null)throw new I(204,!1);if(e.type&2)return e.value;if(t&U.Optional)return null;throw new I(204,!1)};var Mx="ngOriginalError";function ql(t){return t[Mx]}var Te=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&ql(e);for(;r&&ql(r);)r=ql(r);return r||null}},Nb=new v("",{providedIn:"root",factory:()=>g(Te).handleError.bind(void 0)}),Cr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Sx,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),_d=class extends Cr{constructor(e){super(),this._lView=e}onDestroy(e){return sb(this._lView,e),()=>KC(this._lView,e)}};function Sx(){return new _d(R())}function Tx(){return Ii(_e(),R())}function Ii(t,e){return new ne(ot(t,e))}var ne=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Tx;let t=e;return t})();function Ax(t){return t instanceof ne?t.nativeElement:t}var Qt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var wd=class extends B{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Kv()&&(this.destroyRef=g(Cr,{optional:!0})??void 0,this.pendingTasks=g(Qt,{optional:!0})??void 0)}emit(e){let r=$(null);try{super.next(e)}finally{$(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ce&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},X=wd;function Nx(){return this._results[Symbol.iterator]()}var di=class t{get changes(){return this._changes??=new X}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Nx)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=lC(e);(this._changesDetected=!uC(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Rx="ngSkipHydration",Ox="ngskiphydration";function Rb(t){let e=t.mergedAttrs;if(e===null)return!1;for(let r=0;r=0){let a=Ye(o[s]),c=Zg(o,s,a);pt(a,c),e=c;break}}}}return e||null}function Zg(t,e,r){return new Ed(t[No],e,r)}var Id="__ngContext__";function pt(t,e){Rt(e)?(t[Id]=e[No],Lx(e)):t[Id]=e}function Zl(t){let e=t[Id];return typeof e=="number"?Fb(e):e||null}function kb(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Vx(t){return t&&t.constructor&&t.constructor.\u0275dir}function Yg(t,e){let r=t[A];for(let n=ie;nzx}),zx="ng",Hf=new v(""),Qe=new v("",{providedIn:"platform",factory:()=>"unknown"});var Kn=new v(""),ko=new v("",{providedIn:"root",factory:()=>Dc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Gx(){let t=new Ci;return g(Qe)==="browser"&&(t.store=Wx(Dc(),g(xr))),t}var Ci=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,i){return this.store[n]!==void 0?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/null;function Jx(t,e,r=!1){let n=t.getAttribute(Yl);if(n==null)return null;let[i,o]=n.split("|");if(n=r?o:i,!n)return null;let s=o?`|${o}`:"",a=r?i:s,c={};if(n!==""){let l=e.get(Ci,null,{optional:!0});l!==null&&(c=l.get(zb,[])[Number(n)])}let u={data:c,firstChild:t.firstChild??null};return r&&(u.firstChild=t,_c(u,0,t.nextSibling)),a?t.setAttribute(Yl,a):t.removeAttribute(Yl),u}function eM(){Gb=Jx}function Gf(t,e,r=!1){return Gb(t,e,r)}function tM(t){let e=t._lView;return e[A].type===2?null:(Ha(e)&&(e=e[ie]),e)}function nM(t){return t.textContent?.replace(/\s/gm,"")}function rM(t){let e=Dc(),r=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(o){let s=nM(o);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,i=[];for(;n=r.nextNode();)i.push(n);for(let o of i)o.textContent==="ngetn"?o.replaceWith(e.createTextNode("")):o.remove()}function _c(t,e,r){t.segmentHeads??={},t.segmentHeads[e]=r}function Md(t,e){return t.segmentHeads?.[e]??null}function iM(t,e){let r=t.data,n=r[qx]?.[e]??null;return n===null&&r[zf]?.[e]&&(n=Wf(t,e)),n}function Wb(t,e){return t.data[zf]?.[e]??null}function Wf(t,e){let r=Wb(t,e)??[],n=0;for(let i of r)n+=i[Ya]*(i[$b]??1);return n}function oM(t){if(typeof t.disconnectedNodes>"u"){let e=t.data[Hb];t.disconnectedNodes=e?new Set(e):null}return t.disconnectedNodes}function wc(t,e){if(typeof t.disconnectedNodes>"u"){let r=t.data[Hb];t.disconnectedNodes=r?new Set(r):null}return!!oM(t)?.has(e)}var wa=new v(""),qb=!1,Zb=new v("",{providedIn:"root",factory:()=>qb});var Ea;function sM(){if(Ea===void 0&&(Ea=null,ye.trustedTypes))try{Ea=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ea}function Ec(t){return sM()?.createHTML(t)||t}var Ia;function aM(){if(Ia===void 0&&(Ia=null,ye.trustedTypes))try{Ia=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ia}function Kg(t){return aM()?.createScriptURL(t)||t}var gn=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Cv})`}},Sd=class extends gn{getTypeName(){return"HTML"}},Td=class extends gn{getTypeName(){return"Style"}},Ad=class extends gn{getTypeName(){return"Script"}},Nd=class extends gn{getTypeName(){return"URL"}},Rd=class extends gn{getTypeName(){return"ResourceURL"}};function vt(t){return t instanceof gn?t.changingThisBreaksApplicationSecurity:t}function Qn(t,e){let r=cM(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Cv})`)}return r===e}function cM(t){return t instanceof gn&&t.getTypeName()||null}function Yb(t){return new Sd(t)}function Kb(t){return new Td(t)}function Qb(t){return new Ad(t)}function Xb(t){return new Nd(t)}function Jb(t){return new Rd(t)}function uM(t){let e=new Fd(t);return lM()?new Od(e):e}var Od=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Ec(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Fd=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Ec(e),r}};function lM(){try{return!!new window.DOMParser().parseFromString(Ec(""),"text/html")}catch{return!1}}var dM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ic(t){return t=String(t),t.match(dM)?t:"unsafe:"+t}function bn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Po(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var ey=bn("area,br,col,hr,img,wbr"),ty=bn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ny=bn("rp,rt"),fM=Po(ny,ty),hM=Po(ty,bn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),pM=Po(ny,bn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Qg=Po(ey,hM,pM,fM),ry=bn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mM=bn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),gM=bn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),vM=Po(ry,mM,gM),bM=bn("script,style,template"),kd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){i.push(r),r=_M(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=DM(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=Xg(e).toLowerCase();if(!Qg.hasOwnProperty(r))return this.sanitizedSomething=!0,!bM.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=Xg(e).toLowerCase();Qg.hasOwnProperty(r)&&!ey.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Jg(e))}};function yM(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DM(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw iy(e);return e}function _M(t){let e=t.firstChild;if(e&&yM(t,e))throw iy(e);return e}function Xg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function iy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var wM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,EM=/([^\#-~ |!])/g;function Jg(t){return t.replace(/&/g,"&").replace(wM,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(EM,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Ca;function oy(t,e){let r=null;try{Ca=Ca||uM(t);let n=e?String(e):"";r=Ca.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Ca.getInertBodyElement(n)}while(n!==o);let a=new kd().sanitizeChildren(ev(r)||r);return Ec(a)}finally{if(r){let n=ev(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function ev(t){return"content"in t&&IM(t)?t.content:null}function IM(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Pe=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Pe||{});function CM(t){let e=ay();return e?e.sanitize(Pe.URL,t)||"":Qn(t,"URL")?vt(t):Ic(fc(t))}function xM(t){let e=ay();if(e)return Kg(e.sanitize(Pe.RESOURCE_URL,t)||"");if(Qn(t,"ResourceURL"))return Kg(vt(t));throw new I(904,!1)}function MM(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?xM:CM}function sy(t,e,r){return MM(e,r)(t)}function ay(){let t=R();return t&&t[qt].sanitizer}var SM=/^>|^->||--!>|)/g,AM="\u200B$1\u200B";function NM(t){return t.replace(SM,e=>e.replace(TM,AM))}function jz(t){return t.ownerDocument.defaultView}function Vz(t){return t.ownerDocument}function RM(t){return t.ownerDocument.body}function cy(t){return t instanceof Function?t():t}function ri(t){return(t??g(ke)).get(Qe)==="browser"}var Yt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Yt||{}),OM;function qf(t,e){return OM(t,e)}function ii(t,e,r,n,i){if(n!=null){let o,s=!1;Kt(n)?o=n:Rt(n)&&(s=!0,n=n[Ze]);let a=Ye(n);t===0&&r!==null?i==null?py(e,r,a):Ka(e,r,a,i||null,!0):t===1&&r!==null?Ka(e,r,a,i||null,!0):t===2?Qf(e,a,s):t===3&&e.destroyNode(a),o!=null&&qM(e,t,o,r,i)}}function uy(t,e){return t.createText(e)}function FM(t,e,r){t.setValue(e,r)}function ly(t,e){return t.createComment(NM(e))}function Zf(t,e,r){return t.createElement(e,r)}function kM(t,e){dy(t,e),e[Ze]=null,e[Ke]=null}function PM(t,e,r,n,i,o){n[Ze]=i,n[Ke]=e,Mc(t,n,r,1,i,o)}function dy(t,e){e[qt].changeDetectionScheduler?.notify(8),Mc(t,e,e[te],2,null,null)}function LM(t){let e=t[Do];if(!e)return Kl(t[A],t);for(;e;){let r=null;if(Rt(e))r=e[Do];else{let n=e[Me];n&&(r=n)}if(!r){for(;e&&!e[Nt]&&e!==t;)Rt(e)&&Kl(e[A],e),e=e[Se];e===null&&(e=t),Rt(e)&&Kl(e[A],e),r=e&&e[Nt]}e=r}}function jM(t,e,r,n){let i=Me+n,o=r.length;n>0&&(r[i-1][Nt]=e),n0&&(t[r-1][Nt]=n[Nt]);let o=ja(t,Me+e);kM(n[A],n);let s=o[hn];s!==null&&s.detachView(o[A]),n[Se]=null,n[Nt]=null,n[F]&=-129}return n}function Cc(t,e){if(!(e[F]&256)){let r=e[te];r.destroyNode&&Mc(t,e,r,3,null,null),LM(e)}}function Kl(t,e){if(e[F]&256)return;let r=$(null);try{e[F]&=-129,e[F]|=256,e[mt]&&ba(e[mt]),UM(t,e),VM(t,e),e[A].type===1&&e[te].destroy();let n=e[vr];if(n!==null&&Kt(e[Se])){n!==e[Se]&&Yf(n,e);let i=e[hn];i!==null&&i.detachView(t)}jx(e)}finally{$(r)}}function VM(t,e){let r=t.cleanup,n=e[Ua];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ua]=null);let i=e[Un];if(i!==null){e[Un]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Wt.None||o===Wt.Emulated)return null}return ot(n,r)}}function Ka(t,e,r,n,i){t.insertBefore(e,r,n,i)}function py(t,e,r){t.appendChild(e,r)}function tv(t,e,r,n,i){n!==null?Ka(t,e,r,n,i):py(t,e,r)}function $M(t,e,r,n){t.removeChild(e,r,n)}function Kf(t,e){return t.parentNode(e)}function HM(t,e){return t.nextSibling(e)}function my(t,e,r){return GM(t,e,r)}function zM(t,e,r){return t.type&40?ot(t,r):null}var GM=zM,nv;function xc(t,e,r,n){let i=hy(t,n,e),o=e[te],s=n.parent||e[Ke],a=my(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;cie&&_y(t,e,ie,!1),zt(s?2:0,i),r(n,i)}finally{yr(o),zt(s?3:1,i)}}function Jf(t,e,r){if(Nf(e)){let n=$(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function tS(t){Ob(t)?vy(t):rM(t)}function nS(){xy=tS}function rS(t,e,r,n){let i=Ny(e);i.push(r),t.firstCreatePass&&Ry(t).push(n,i.length-1)}function iS(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return wi()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function rv(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=Bn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?iv(n,r,u,a,c):iv(n,r,u,a)}return n}function iv(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function oS(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function lS(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Ro(r)&&vS(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||qa(r,e),pt(n,e);let s=r.initialInputs;for(let a=i;a{vc(t.lView)},consumerOnSignalRead(){this.lView[mt]=this}});function NS(t){let e=t[mt]??Object.create(RS);return e.lView=t,e}var RS=O(b({},ei),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=br(t.lView);for(;e&&!jy(e[A]);)e=br(e);e&&ob(e)},consumerOnSignalRead(){this.lView[mt]=this}});function jy(t){return t.type!==2}var OS=100;function Vy(t,e=!0,r=0){let n=t[qt],i=n.rendererFactory,o=!1;o||i.begin?.();try{FS(t,r)}catch(s){throw e&&Fy(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function FS(t,e){let r=lb();try{Hg(!0),Vd(t,e);let n=0;for(;wo(t);){if(n===OS)throw new I(103,!1);n++,Vd(t,1)}}finally{Hg(r)}}function kS(t,e,r,n){let i=e[F];if((i&256)===256)return;let o=!1,s=!1;!o&&e[qt].inlineEffectRunner?.flush(),Vf(e);let a=!0,c=null,u=null;o||(jy(t)?(u=MS(e),c=mo(u)):gg()===null?(a=!1,u=NS(e),c=mo(u)):e[mt]&&(ba(e[mt]),e[mt]=null));try{ib(e),ox(t.bindingStartIndex),r!==null&&Iy(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let h=t.preOrderCheckHooks;h!==null&&Na(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Ra(e,h,0,null),zl(e,0)}if(s||PS(e),Uy(e,0),t.contentQueries!==null&&Ay(t,e),!o)if(l){let h=t.contentCheckHooks;h!==null&&Na(e,h)}else{let h=t.contentHooks;h!==null&&Ra(e,h,1),zl(e,1)}KM(t,e);let d=t.components;d!==null&&$y(e,d,0);let f=t.viewQuery;if(f!==null&&jd(2,f,n),!o)if(l){let h=t.viewCheckHooks;h!==null&&Na(e,h)}else{let h=t.viewHooks;h!==null&&Ra(e,h,2),zl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Aa]){for(let h of e[Aa])h();e[Aa]=null}o||(e[F]&=-73)}catch(l){throw o||vc(e),l}finally{u!==null&&(ga(u,c),a&&TS(u)),Uf()}}function Uy(t,e){for(let r=Pb(t);r!==null;r=Lb(r))for(let n=Me;n-1&&(Eo(e,n),ja(r,n))}this._attachedToViewContainer=!1}Cc(this._lView[A],this._lView)}onDestroy(e){sb(this._lView,e)}markForCheck(){sh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){md(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,Vy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ha(this._lView),r=this._lView[vr];r!==null&&!e&&Yf(r,this._lView),dy(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=e;let r=Ha(this._lView),n=this._lView[vr];n!==null&&!r&&fy(n,this._lView),md(this._lView)}},Er=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=US;let t=e;return t})(),jS=Er,VS=class extends jS{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Vo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new wr(i)}};function US(){return Ac(_e(),R())}function Ac(t,e){return t.type&4?new VS(e,t,Ii(t,e)):null}var BS=new RegExp(`^(\\d+)*(${Bb}|${Ub})*(.*)`);function $S(t){let e=t.match(BS),[r,n,i,o]=e,s=n?parseInt(n,10):i,a=[];for(let[c,u,l]of o.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function HS(t){return!t.prev&&t.parent?.type===8}function Ql(t){return t.index-ie}function zS(t,e){let r=t.i18nNodes;if(r)return r.get(e)}function Nc(t,e,r,n){let i=Ql(n),o=zS(t,i);if(o===void 0){let s=t.data[Kx];if(s?.[i])o=WS(s[i],r);else if(e.firstChild===n)o=t.firstChild;else{let a=n.prev===null,c=n.prev??n.parent;if(HS(n)){let u=Ql(n.parent);o=Md(t,u)}else{let u=ot(c,r);if(a)o=u.firstChild;else{let l=Ql(c),d=Md(t,l);if(c.type===2&&d){let h=Wf(t,l)+1;o=Rc(h,d)}else o=u.nextSibling}}}}return o}function Rc(t,e){let r=e;for(let n=0;n0&&(o.firstChild=t,t=Rc(n[Ya],t)),r.push(o)}return[t,r]}var Gy=()=>null;function eT(t,e){let r=t[_o];return!e||r===null||r.length===0?null:r[0].data[Yx]===e?r.shift():(Hy(t),null)}function tT(){Gy=eT}function hi(t,e){return Gy(t,e)}var pi=class{},Wy=new v("",{providedIn:"root",factory:()=>!1});var qy=new v(""),Ud=class{},Ja=class{};function nT(t){let e=Error(`No component factory found for ${$e(t)}.`);return e[rT]=t,e}var rT="ngComponent";var Bd=class{resolveComponentFactory(e){throw nT(e)}},Ih=class Ih{};Ih.NULL=new Bd;var mi=Ih,gi=class{},Xt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>iT();let t=e;return t})();function iT(){let t=R(),e=_e(),r=Zt(e.index,t);return(Rt(r)?r:t)[te]}var oT=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var ov=new Set;function yt(t){ov.has(t)||(ov.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Zy(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof ye.requestAnimationFrame=="function"&&ye.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function sv(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function av(...t){}var P=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,cT(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new I(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,sT,av,av);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},sT={};function ah(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function aT(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Zy(()=>{t.callbackScheduled=!1,$d(t),t.isCheckStableRunning=!0,ah(t),t.isCheckStableRunning=!1})}),$d(t))}function cT(t){let e=()=>{aT(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(uT(a))return r.invokeTask(i,o,s,a);try{return cv(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),uv(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return cv(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!lT(a)&&e(),uv(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,$d(t),ah(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function $d(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function cv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uv(t){t._nesting--,ah(t)}var Hd=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function uT(t){return Yy(t,"__ignore_ng_zone__")}function lT(t){return Yy(t,"__scheduler_tick__")}function Yy(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Be=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Be||{}),Ky={destroy(){}};function dT(t,e){!e&&Ao(dT);let r=e?.injector??g(ke);return ri(r)?(yt("NgAfterRender"),Qy(t,r,!1,e?.phase??Be.MixedReadWrite)):Ky}function Bo(t,e){!e&&Ao(Bo);let r=e?.injector??g(ke);return ri(r)?(yt("NgAfterNextRender"),Qy(t,r,!0,e?.phase??Be.MixedReadWrite)):Ky}function fT(t,e){if(t instanceof Function)switch(e){case Be.EarlyRead:return{earlyRead:t};case Be.Write:return{write:t};case Be.MixedReadWrite:return{mixedReadWrite:t};case Be.Read:return{read:t}}return t}function Qy(t,e,r,n){let i=fT(t,n),o=e.get(ch),s=o.handler??=new Gd,a=[],c=[],u=()=>{for(let f of c)s.unregister(f);l()},l=e.get(Cr).onDestroy(u),d=(f,h)=>{if(!h)return;let m=r?(...w)=>{u(),h(...w)}:h,_=rt(e,()=>new zd(f,a,m));s.register(_),c.push(_)};return d(Be.EarlyRead,i.earlyRead),d(Be.Write,i.write),d(Be.MixedReadWrite,i.mixedReadWrite),d(Be.Read,i.read),{destroy:u}}var zd=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=g(P),this.errorHandler=g(Te,{optional:!0}),g(pi,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},Gd=class{constructor(){this.executingCallbacks=!1,this.buckets={[Be.EarlyRead]:new Set,[Be.Write]:new Set,[Be.MixedReadWrite]:new Set,[Be.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ch=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ec(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&yy(t,r,o.join(" "))}}function yT(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=_T;let t=e;return t})();function _T(){let t=_e();return Jy(t,R())}var wT=yn,Xy=class extends wT{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Ii(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){let e=Bf(this._hostTNode,this._hostLView);if(_b(e)){let r=Ga(e,this._hostLView),n=za(e),i=r[A].data[n+8];return new mr(i,r)}else return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=dv(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Me}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=hi(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,fi(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!BC(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let c=s?e:new vi($n(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let _=(s?u:this.parentInjector).get(Fe,null);_&&(o=_)}let l=$n(c.componentType??{}),d=hi(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,i,f,o);return this.insertImpl(h.hostView,a,fi(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(ZC(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Se],u=new Xy(c,c[Ke],c[Se]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Uo(s,i,o,n),e.attachToViewContainerRef(),Ov(Xl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=dv(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Eo(this._lContainer,r);n&&(ja(Xl(this._lContainer),r),Cc(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=Eo(this._lContainer,r);return n&&ja(Xl(this._lContainer),r)!=null?new wr(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function dv(t){return t[Ba]}function Xl(t){return t[Ba]||(t[Ba]=[])}function Jy(t,e){let r,n=e[t.index];return Kt(n)?r=n:(r=Ty(n,e,null,t),e[t.index]=r,Tc(e,r)),eD(r,e,t,n),new Xy(r,t,e)}function ET(t,e){let r=t[te],n=r.createComment(""),i=ot(e,t),o=Kf(r,i);return Ka(r,o,n,HM(r,i),!1),n}var eD=tD,uh=()=>!1;function IT(t,e,r){return uh(t,e,r)}function tD(t,e,r,n){if(t[pn])return;let i;r.type&8?i=Ye(n):i=ET(e,r),t[pn]=i}function CT(t,e,r){if(t[pn]&&t[_o])return!0;let n=r[gt],i=e.index-ie;if(!n||Fx(e)||wc(n,i))return!1;let s=Md(n,i),a=n.data[zf]?.[i],[c,u]=JS(s,a);return t[pn]=c,t[_o]=u,!0}function xT(t,e,r,n){uh(t,r,e)||tD(t,e,r,n)}function MT(){eD=xT,uh=CT}var qd=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Zd=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let u=o[a+1],l=e[-c];for(let d=Me;de.trim())}function iD(t,e,r){t.queries===null&&(t.queries=new Yd),t.queries.track(new Kd(e,r))}function PT(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function lh(t,e){return t.queries.getByIndex(e)}function LT(t,e){let r=t[A],n=lh(r,e);return n.crossesNgTemplate?Qd(r,t,e,[]):nD(r,t,n,e)}function Oc(t){return typeof t=="function"&&t[Ht]!==void 0}function Dn(t,e){yt("NgSignals");let r=Sg(t),n=r[Ht];return e?.equal&&(n.equal=e.equal),r.set=i=>Bl(n,i),r.update=i=>Tg(n,i),r.asReadonly=jT.bind(r),r}function jT(){let t=this[Ht];if(t.readonlyFn===void 0){let e=()=>this();e[Ht]=t,t.readonlyFn=e}return t.readonlyFn}function oD(t){return Oc(t)&&typeof t.set=="function"}function VT(t){return Object.getPrototypeOf(t.prototype).constructor}function be(t){let e=VT(t.type),r=!0,n=[t];for(;e;){let i;if(mn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new I(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=xa(t.inputs),s.inputTransforms=xa(t.inputTransforms),s.declaredInputs=xa(t.declaredInputs),s.outputs=xa(t.outputs);let a=i.hostBindings;a&&zT(t,a);let c=i.viewQuery,u=i.contentQueries;if(c&&$T(t,c),u&&HT(t,u),UT(t,i),zI(t.outputs,i.outputs),mn(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=bo(i.hostAttrs,r=bo(r,i.hostAttrs))}}function xa(t){return t===ai?{}:t===Oe?[]:t}function $T(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function HT(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function zT(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function st(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var zn=class{},Io=class{};var Xd=class extends zn{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new tc(this);let i=Hv(e);this._bootstrapComponents=cy(i.bootstrap),this._r3Injector=Ab(e,r,[{provide:zn,useValue:this},{provide:mi,useValue:this.componentFactoryResolver},...n],$e(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Jd=class extends Io{constructor(e){super(),this.moduleType=e}create(e){return new Xd(this.moduleType,e,[])}};var rc=class extends zn{constructor(e){super(),this.componentFactoryResolver=new tc(this),this.instance=null;let r=new yo([...e.providers,{provide:zn,useValue:this},{provide:mi,useValue:this.componentFactoryResolver}],e.parent||Tf(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Fc(t,e,r=null){return new rc({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function sD(t){return dh(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function GT(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function QT(t){return(t&2)==2}function XT(t,e){return t&131071|e<<17}function ef(t){return t|2}function bi(t){return(t&131068)>>2}function Jl(t,e){return t&-131069|e<<2}function JT(t){return(t&1)===1}function tf(t){return t|1}function eA(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Ir(s),c=bi(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||To(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let f=Ir(t[a+1]);t[n+1]=Ma(f,a),f!==0&&(t[f+1]=Jl(t[f+1],n)),t[a+1]=XT(t[a+1],n)}else t[n+1]=Ma(a,0),a!==0&&(t[a+1]=Jl(t[a+1],n)),a=n;else t[n+1]=Ma(c,0),a===0?a=n:t[c+1]=Jl(t[c+1],n),c=n;u&&(t[n+1]=ef(t[n+1])),fv(t,l,n,!0),fv(t,l,n,!1),tA(e,l,t,n,o),s=Ma(a,c),o?e.classBindings=s:e.styleBindings=s}function tA(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&To(o,e)>=0&&(r[n+1]=tf(r[n+1]))}function fv(t,e,r,n){let i=t[r+1],o=e===null,s=n?Ir(i):bi(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],u=t[s+1];nA(c,e)&&(a=!0,t[s+1]=n?tf(u):ef(u)),s=n?Ir(u):bi(u)}a&&(t[r+1]=n?ef(i):tf(i))}function nA(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?To(t,e)>=0:!1}var ve={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uD(t){return t.substring(ve.key,ve.keyEnd)}function rA(t){return t.substring(ve.value,ve.valueEnd)}function iA(t){return fD(t),lD(t,yi(t,0,ve.textEnd))}function lD(t,e){let r=ve.textEnd;return r===e?-1:(e=ve.keyEnd=sA(t,ve.key=e,r),yi(t,e,r))}function oA(t){return fD(t),dD(t,yi(t,0,ve.textEnd))}function dD(t,e){let r=ve.textEnd,n=ve.key=yi(t,e,r);return r===n?-1:(n=ve.keyEnd=aA(t,n,r),n=hv(t,n,r,58),n=ve.value=yi(t,n,r),n=ve.valueEnd=cA(t,n,r),hv(t,n,r,59))}function fD(t){ve.key=0,ve.keyEnd=0,ve.value=0,ve.valueEnd=0,ve.textEnd=t.length}function yi(t,e,r){for(;e32;)e++;return e}function aA(t,e,r){let n;for(;e=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function hv(t,e,r,n){return e=yi(t,e,r),e32&&(a=s),o=i,i=n,n=c&-33}return a}function pv(t,e,r,n){let i=-1,o=r;for(;o=0;r=dD(e,r))bD(t,uD(e),rA(e))}function Si(t){ph(mA,pD,t,!0)}function pD(t,e){for(let r=iA(e);r>=0;r=lD(e,r))So(t,uD(e),!0)}function mD(t,e,r,n){let i=R(),o=se(),s=db(2);if(o.firstUpdatePass&&vD(o,t,s,n),e!==bt&&tt(i,s,e)){let a=o.data[qn()];yD(o,a,i,i[te],t,i[s+1]=vA(e,r),n,s)}}function ph(t,e,r,n){let i=se(),o=db(2);i.firstUpdatePass&&vD(i,null,o,n);let s=R();if(r!==bt&&tt(s,o,r)){let a=i.data[qn()];if(DD(a,n)&&!gD(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=sd(c,r||"")),nf(i,a,s,r,n)}else gA(i,a,s,s[te],s[o+1],s[o+1]=pA(t,e,r),n,o)}}function gD(t,e){return e>=t.expandoStartIndex}function vD(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[qn()],s=gD(t,r);DD(o,n)&&e===null&&!s&&(e=!1),e=lA(i,o,e,n),eA(i,o,e,r,s,n)}}function lA(t,e,r,n){let i=Lf(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=ed(null,t,e,r,n),r=Co(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=ed(i,t,e,r,n),o===null){let c=dA(t,e,n);c!==void 0&&Array.isArray(c)&&(c=ed(null,t,e,c[1],n),c=Co(c,e.attrs,n),fA(t,e,n,c))}else o=hA(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function dA(t,e,r){let n=r?e.classBindings:e.styleBindings;if(bi(n)!==0)return t[Ir(n)]}function fA(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Ir(i)]=n}function hA(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[i+1];f===bt&&(f=d?Oe:void 0);let h=d?$l(f,n):l===n?f:void 0;if(u&&!oc(h)&&(h=$l(c,n)),oc(h)&&(a=h,s))return a;let m=t[i+1];i=s?Ir(m):bi(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=$l(c,n))}return a}function oc(t){return t!==void 0}function vA(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=$e(vt(t)))),t}function DD(t,e){return(t.flags&(e?8:16))!==0}function Hz(t,e,r){let n=R(),i=hh(n,t,e,r);ph(So,pD,i,!0)}var rf=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function td(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function bA(t,e,r){let n,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;o<=s&&o<=c;){let u=t.at(o),l=e[o],d=td(o,u,o,l,r);if(d!==0){d<0&&t.updateValue(o,l),o++;continue}let f=t.at(s),h=e[c],m=td(s,f,c,h,r);if(m!==0){m<0&&t.updateValue(s,h),s--,c--;continue}let _=r(o,u),w=r(s,f),E=r(o,l);if(Object.is(E,w)){let k=r(c,h);Object.is(k,_)?(t.swap(o,s),t.updateValue(s,h),c--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(n??=new sc,i??=vv(t,o,s,r),of(t,n,o,E))t.updateValue(o,l),o++,s++;else if(i.has(E))n.set(_,t.detach(o)),s--;else{let k=t.create(o,e[o]);t.attach(o,k),o++,s++}}for(;o<=c;)gv(t,n,r,o,e[o]),o++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&o<=s;){let l=t.at(o),d=u.value,f=td(o,l,o,d,r);if(f!==0)f<0&&t.updateValue(o,d),o++,u=c.next();else{n??=new sc,i??=vv(t,o,s,r);let h=r(o,d);if(of(t,n,o,h))t.updateValue(o,d),o++,s++,u=c.next();else if(!i.has(h))t.attach(o,t.create(o,d)),o++,s++,u=c.next();else{let m=r(o,l);n.set(m,t.detach(o)),s--}}}for(;!u.done;)gv(t,n,r,t.length,u.value),u=c.next()}for(;o<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function of(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function gv(t,e,r,n,i){if(of(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function vv(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var sc=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};function Pc(t,e){yt("NgControlFlow");let r=R(),n=Wn(),i=r[n]!==bt?r[n]:-1,o=i!==-1?ac(r,ie+i):void 0,s=0;if(tt(r,n,t)){let a=$(null);try{if(o!==void 0&&Py(o,s),t!==-1){let c=ie+t,u=ac(r,c),l=uf(r[A],c),d=hi(u,l.tView.ssrId),f=Vo(r,l,e,{dehydratedView:d});Uo(u,f,s,fi(l,d))}}finally{$(a)}}else if(o!==void 0){let a=ky(o,s);a!==void 0&&(a[De]=e)}}var sf=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Me}};function zz(t,e){return e}var af=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Gz(t,e,r,n,i,o,s,a,c,u,l,d,f){yt("NgControlFlow");let h=R(),m=se(),_=c!==void 0,w=R(),E=a?s.bind(w[He][De]):s,k=new af(_,E);w[ie+t]=k,ic(h,m,t+1,e,r,n,i,Hn(m.consts,o)),_&&ic(h,m,t+2,c,u,l,d,Hn(m.consts,f))}var cf=class extends rf{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Me}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[gt];this.needsIndexUpdate||=e!==this.length,Uo(this.lContainer,r,e,fi(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,yA(this.lContainer,e)}create(e,r){let n=hi(this.lContainer,this.templateTNode.tView.ssrId),i=Vo(this.hostLView,this.templateTNode,new sf(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(e){Cc(e[A],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Zn(!0),Zf(n,i,bb()));function wA(t,e,r,n,i,o){let s=e[gt],a=!s||wi()||$o(r)||wc(s,o);if(Zn(a),a)return Zf(n,i,bb());let c=Nc(s,t,e,r);return Wb(s,o)&&_c(s,o,c.nextSibling),s&&(Rb(r)||Ob(c))&&Ro(r)&&(tx(r),vy(c)),c}function EA(){_D=wA}function IA(t,e,r,n,i){let o=e.consts,s=Hn(o,n),a=Mr(e,t,8,"ng-container",s);s!==null&&ec(a,s,!0);let c=Hn(o,i);return rh(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function wD(t,e,r){let n=R(),i=se(),o=t+ie,s=i.firstCreatePass?IA(o,i,n,e,r):i.data[o];Gn(s,!0);let a=ID(i,n,s,t);return n[o]=a,bc()&&xc(i,n,a,s),pt(a,n),gc(s)&&(eh(i,n,s),Jf(i,s,n)),r!=null&&th(n,s),wD}function ED(){let t=_e(),e=se();return kf()?Pf():(t=t.parent,Gn(t,!1)),e.firstCreatePass&&(yc(e,t),Nf(t)&&e.queries.elementEnd(t)),ED}function CA(t,e,r){return wD(t,e,r),ED(),CA}var ID=(t,e,r,n)=>(Zn(!0),ly(e[te],""));function xA(t,e,r,n){let i,o=e[gt],s=!o||wi()||$o(r);if(Zn(s),s)return ly(e[te],"");let a=Nc(o,t,e,r),c=iM(o,n);return _c(o,n,a),i=Rc(c,a),i}function MA(){ID=xA}function qz(){return R()}function mh(t,e,r){let n=R(),i=Wn();if(tt(n,i,e)){let o=se(),s=Ei();jo(o,s,n,t,e,n[te],r,!0)}return mh}function SA(t,e,r){let n=R(),i=Wn();if(tt(n,i,e)){let o=se(),s=Ei(),a=Lf(o.data),c=Oy(a,s,n);jo(o,s,n,t,e,c,r,!0)}return SA}var hr=void 0;function TA(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var AA=["en",[["a","p"],["AM","PM"],hr],[["AM","PM"],hr,hr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hr,"{1} 'at' {0}",hr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",TA],nd={};function Dt(t){let e=NA(t),r=bv(e);if(r)return r;let n=e.split("-")[0];if(r=bv(n),r)return r;if(n==="en")return AA;throw new I(701,!1)}function bv(t){return t in nd||(nd[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),nd[t]}var fe=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(fe||{});function NA(t){return t.toLowerCase().replace(/_/g,"-")}var cc="en-US";var RA=cc;function OA(t){typeof t=="string"&&(RA=t.toLowerCase().replace(/_/g,"-"))}var FA=(t,e,r)=>{};function En(t,e,r,n){let i=R(),o=se(),s=_e();return gh(o,i,i[te],s,t,e,n),En}function kA(t,e){let r=_e(),n=R(),i=se(),o=Lf(i.data),s=Oy(o,r,n);return gh(i,n,s,r,t,e),kA}function PA(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function gh(t,e,r,n,i,o,s){let a=gc(n),u=t.firstCreatePass&&Ry(t),l=e[De],d=Ny(e),f=!0;if(n.type&3||s){let _=ot(n,e),w=s?s(_):_,E=d.length,k=s?Z=>s(Ye(Z[n.index])):n.index,q=null;if(!s&&a&&(q=PA(t,e,i,n.index)),q!==null){let Z=q.__ngLastListenerFn__||q;Z.__ngNextListenerFn__=o,q.__ngLastListenerFn__=o,f=!1}else{o=Dv(n,e,l,o),FA(_,i,o);let Z=r.listen(w,i,o);d.push(o,Z),u&&u.push(i,k,E,E+1)}}else o=Dv(n,e,l,o);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let _=m.length;if(_)for(let w=0;w<_;w+=2){let E=m[w],k=m[w+1],We=e[E][k].subscribe(o),pe=d.length;d.push(o,We),u&&u.push(i,n.index,pe,-(pe+1))}}}function yv(t,e,r,n){let i=$(null);try{return zt(6,e,r),r(n)!==!1}catch(o){return Fy(t,o),!1}finally{zt(7,e,r),$(i)}}function Dv(t,e,r,n){return function i(o){if(o===Function)return n;let s=t.componentOffset>-1?Zt(t.index,e):e;sh(s,5);let a=yv(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=yv(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Lc(t=1){return lx(t)}function LA(t,e){let r=null,n=DC(t);for(let i=0;i=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Zz(t){let e=ix();return Of(e,ie+t)}function vh(t,e=""){let r=R(),n=se(),i=t+ie,o=n.firstCreatePass?Mr(n,i,1,e,null):n.data[i],s=TD(n,r,o,e,t);r[i]=s,bc()&&xc(n,r,s,o),Gn(o,!1)}var TD=(t,e,r,n,i)=>(Zn(!0),uy(e[te],n));function UA(t,e,r,n,i){let o=e[gt],s=!o||wi()||$o(r)||wc(o,i);return Zn(s),s?uy(e[te],n):Nc(o,t,e,r)}function BA(){TD=UA}function $A(t){return Ho("",t,""),$A}function Ho(t,e,r){let n=R(),i=hh(n,t,e,r);return i!==bt&&wS(n,qn(),i),Ho}function HA(t,e,r){oD(e)&&(e=e());let n=R(),i=Wn();if(tt(n,i,e)){let o=se(),s=Ei();jo(o,s,n,t,e,n[te],r,!1)}return HA}function Yz(t,e){let r=oD(t);return r&&t.set(e),r}function zA(t,e){let r=R(),n=se(),i=_e();return gh(n,r,r[te],i,t,e),zA}var GA={};function WA(t){let e=se(),r=R(),n=t+ie,i=Mr(e,n,128,null,null);return Gn(i,!1),SD(e,r,n,GA),WA}function qA(t,e,r){let n=se();if(n.firstCreatePass){let i=mn(t);lf(r,n.data,n.blueprint,i,!0),lf(e,n.data,n.blueprint,i,!1)}}function lf(t,e,r,n,i){if(t=Ue(t),Array.isArray(t))for(let o=0;o>20;if(ci(t)||!t.multi){let h=new Dr(u,i,y),m=id(c,e,i?l:l+f,d);m===-1?(yd(qa(a,s),o,c),rd(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=id(c,e,l+f,d),m=id(c,e,l,l+f),_=h>=0&&r[h],w=m>=0&&r[m];if(i&&!w||!i&&!_){yd(qa(a,s),o,c);let E=KA(i?YA:ZA,r.length,i,n,u);!i&&w&&(r[m].providerFactory=E),rd(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(E),s.push(E)}else{let E=AD(r[i?m:h],u,!i&&n);rd(o,t,h>-1?h:m,E)}!i&&n&&w&&r[m].componentProviders++}}}function rd(t,e,r,n){let i=ci(e),o=FC(e);if(i||o){let c=(o?Ue(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function AD(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function id(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>qA(n,i?i(t):t,e)}}var QA=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Wv(!1,n.type),o=i.length>0?Fc([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(p(Fe))});let t=e;return t})();function at(t){yt("NgStandalone"),t.getStandaloneInjector=e=>e.get(QA).getOrCreateStandaloneInjector(t)}function Kz(t,e,r){let n=Oo()+t,i=R();return i[n]===bt?fh(i,n,r?e.call(r):e()):WT(i,n)}function Qz(t,e,r,n){return RD(R(),Oo(),t,e,r,n)}function Xz(t,e,r,n,i){return OD(R(),Oo(),t,e,r,n,i)}function ND(t,e){let r=t[e];return r===bt?void 0:r}function RD(t,e,r,n,i,o){let s=e+r;return tt(t,s,i)?fh(t,s+1,o?n.call(o,i):n(i)):ND(t,s+1)}function OD(t,e,r,n,i,o,s){let a=e+r;return qT(t,a,i,o)?fh(t,a+2,s?n.call(s,i,o):n(i,o)):ND(t,a+2)}function Jz(t,e){let r=se(),n,i=t+ie;r.firstCreatePass?(n=XA(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=gr(n.type,!0)),s,a=qe(y);try{let c=Wa(!1),u=o();return Wa(c),SD(r,R(),i,u),u}finally{qe(a)}}function XA(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function e3(t,e,r){let n=t+ie,i=R(),o=Of(i,n);return FD(i,n)?RD(i,Oo(),e,o.transform,r,o):o.transform(r)}function t3(t,e,r,n){let i=t+ie,o=R(),s=Of(o,i);return FD(o,i)?OD(o,Oo(),e,s.transform,r,n,s):s.transform(r,n)}function FD(t,e){return t[A].data[e].pure}function n3(t,e){return Ac(t,e)}var Uc=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var bh=new v(""),zo=new v(""),Bc=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,yh||(JA(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(p(P),p($c),p(zo))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),$c=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return yh?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function JA(t){yh=t}var yh;function Xn(t){return!!t&&typeof t.then=="function"}function Dh(t){return!!t&&typeof t.subscribe=="function"}var Hc=new v(""),kD=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=g(Hc,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Xn(s))n.push(s);else if(Dh(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sr=new v("");function eN(){Mg(()=>{throw new I(600,!1)})}function tN(t){return t.isBoundToModule}var nN=10;function rN(t,e,r){try{let n=r();return Xn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var en=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Nb),this.afterRenderEffectManager=g(ch),this.zonelessEnabled=g(Wy),this.externalTestViews=new Set,this.beforeRender=new B,this.afterTick=new B,this.componentTypes=[],this.components=[],this.isStable=g(Qt).hasPendingTasks.pipe(C(n=>!n)),this._injector=g(Fe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Ja;if(!this._injector.get(kD).done){let h=!o&&$v(n),m=!1;throw new I(405,m)}let a;o?a=n:a=this._injector.get(mi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=tN(a)?void 0:this._injector.get(zn),u=i||a.selector,l=a.create(ke.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(bh,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),od(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new I(101,!1);let i=$(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,$(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(gi,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;owo(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>wo(c))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;od(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Sr,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>od(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function od(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var Sa;function zc(t){Sa??=new WeakMap;let e=Sa.get(t);if(e)return e;let r=t.isStable.pipe(Tt(n=>n)).toPromise().then(()=>{});return Sa.set(t,r),t.onDestroy(()=>Sa?.delete(t)),r}function iN(t,e,r,n){if(!r&&!wo(t))return;Vy(t,e,r&&!n?0:1)}var ff=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Gc=(()=>{let e=class e{compileModuleSync(n){return new Jd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=Hv(n),s=cy(o.declarations).reduce((a,c)=>{let u=$n(c);return u&&a.push(new vi(u)),a},[]);return new ff(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var oN=(()=>{let e=class e{constructor(){this.zone=g(P),this.changeDetectionScheduler=g(pi),this.applicationRef=g(en)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sN({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new P(cN()),[{provide:P,useFactory:t},{provide:fn,multi:!0,useFactory:()=>{let r=g(oN,{optional:!0});return()=>r.initialize()}},{provide:fn,multi:!0,useFactory:()=>{let r=g(uN);return()=>{r.initialize()}}},{provide:Nb,useFactory:aN},e===!0?{provide:qy,useValue:!0}:[]]}function aN(){let t=g(P),e=g(Te);return r=>t.runOutsideAngular(()=>e.handleError(r))}function cN(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var uN=(()=>{let e=class e{constructor(){this.subscription=new ce,this.initialized=!1,this.zone=g(P),this.pendingTasks=g(Qt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{P.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lN=(()=>{let e=class e{constructor(){this.appRef=g(en),this.taskService=g(Qt),this.ngZone=g(P),this.zonelessEnabled=g(Wy),this.disableScheduling=g(qy,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ce,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Hd||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?sv:Zy;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&P.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,sv(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function dN(){return typeof $localize<"u"&&$localize.locale||cc}var Go=new v("",{providedIn:"root",factory:()=>g(Go,U.Optional|U.SkipSelf)||dN()});var PD=new v("");var ka=null;function fN(t=[],e){return ke.create({name:e,providers:[{provide:mc,useValue:"platform"},{provide:PD,useValue:new Set([()=>ka=null])},...t]})}function hN(t=[]){if(ka)return ka;let e=fN(t);return ka=e,eN(),pN(e),e}function pN(t){t.get(Hf,null)?.forEach(r=>r())}function _h(){return!1}var wt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mN;let t=e;return t})();function mN(t){return gN(_e(),R(),(t&16)===16)}function gN(t,e,r){if(Ro(t)&&!r){let n=Zt(t.index,e);return new wr(n,n)}else if(t.type&175){let n=e[He];return new wr(n,e)}return null}var hf=class{constructor(){}supports(e){return sD(e)}create(e){return new pf(e)}},vN=(t,e)=>e,pf=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||vN}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex<_v(n,i,o)?r:n,a=_v(s,i,o),c=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)i++;else{o||(o=[]);let u=a-i,l=c-i;if(u!=l){for(let f=0;f{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new mf(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new uc),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new uc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},mf=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},gf=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},uc=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new gf,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function _v(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new yf(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},yf=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function wv(){return new wh([new hf])}var wh=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||wv()),deps:[[e,new Mo,new Di]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new I(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:wv});let t=e;return t})();function Ev(){return new Wc([new vf])}var Wc=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Ev()),deps:[[e,new Mo,new Di]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new I(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:Ev});let t=e;return t})();var LD=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(p(en))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function jD(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=hN(n),o=[sN({}),{provide:pi,useExisting:lN},...r||[]],a=new rc({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(P);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Te,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=i.get(PD);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),rN(u,c,()=>{let h=a.get(kD);return h.runInitializers(),h.donePromise.then(()=>{let m=a.get(Go,cc);OA(m||cc);let _=a.get(en);return e!==void 0&&_.bootstrap(e),_})})})}catch(e){return Promise.reject(e)}}var VD=new v("");var Iv=!1;function bN(){Iv||(Iv=!0,eM(),EA(),BA(),MA(),KT(),MT(),tT(),nS())}function yN(t,e){return zc(t)}function UD(){return vn([{provide:wa,useFactory:()=>{let t=!0;return ri()&&(t=!!g(Ci,{optional:!0})?.get(zb,null)),t&&yt("NgHydration"),t}},{provide:fn,useValue:()=>{ZS(!1),ri()&&g(wa)&&(DN(),bN())},multi:!0},{provide:Zb,useFactory:()=>ri()&&g(wa)},{provide:Sr,useFactory:()=>{if(ri()&&g(wa)){let t=g(en),e=g(ke);return()=>{yN(t,e).then(()=>{XS(t)})}}return()=>{}},multi:!0}])}function DN(){let t=Dc(),e;for(let r of t.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===Xx){e=r;break}if(!e)throw new I(-507,!1)}function Ee(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Eh(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function tn(t,e){yt("NgSignals");let r=Ig(t);return e?.equal&&(r[Ht].equal=e.equal),r}function ct(t){let e=$(null);try{return t()}finally{$(e)}}var _N=new v("",{providedIn:"root",factory:()=>g(wN)}),wN=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new Df});let t=e;return t})(),Df=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(Qt),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},_f=class{constructor(e,r,n,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=o,this.watcher=Ng(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(Te,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function qc(t,e){yt("NgSignals"),!e?.injector&&Ao(qc);let r=e?.injector??g(ke),n=e?.manualCleanup!==!0?r.get(Cr):null,i=new _f(r.get(_N),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),o=r.get(wt,null,{optional:!0});return!o||!(o._lView[F]&8)?i.watcher.notify():(o._lView[Aa]??=[]).push(i.watcher.notify),i}function BD(t){let e=$n(t);if(!e)return null;let r=new vi(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var YD=null;function nn(){return YD}function KD(t){YD??=t}var nu=class{};var W=new v(""),kh=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(EN),providedIn:"platform"});let t=e;return t})(),QD=new v(""),EN=(()=>{let e=class e extends kh{constructor(){super(),this._doc=g(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nn().getBaseHref(this._doc)}onPopState(n){let i=nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Ph(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function $D(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Cn(t){return t&&t[0]!=="?"?"?"+t:t}var Mn=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(Lh),providedIn:"root"});let t=e;return t})(),XD=new v(""),Lh=(()=>{let e=class e extends Mn{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(W).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ph(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Cn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(p(kh),p(XD,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),JD=(()=>{let e=class e extends Mn{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Ph(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Cn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(p(kh),p(XD,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Ai=(()=>{let e=class e{constructor(n){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=xN($D(HD(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Cn(i))}normalize(n){return e.stripTrailingSlash(CN(this._basePath,HD(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Cn,e.joinWithSlash=Ph,e.stripTrailingSlash=$D,e.\u0275fac=function(i){return new(i||e)(p(Mn))},e.\u0275prov=D({token:e,factory:()=>IN(),providedIn:"root"});let t=e;return t})();function IN(){return new Ai(p(Mn))}function CN(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function HD(t){return t.replace(/\/index.html$/,"")}function xN(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var ze=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(ze||{}),ae=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(ae||{}),ut=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(ut||{}),Jn={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 MN(t){return Dt(t)[fe.LocaleId]}function SN(t,e,r){let n=Dt(t),i=[n[fe.DayPeriodsFormat],n[fe.DayPeriodsStandalone]],o=Et(i,e);return Et(o,r)}function TN(t,e,r){let n=Dt(t),i=[n[fe.DaysFormat],n[fe.DaysStandalone]],o=Et(i,e);return Et(o,r)}function AN(t,e,r){let n=Dt(t),i=[n[fe.MonthsFormat],n[fe.MonthsStandalone]],o=Et(i,e);return Et(o,r)}function NN(t,e){let n=Dt(t)[fe.Eras];return Et(n,e)}function Zc(t,e){let r=Dt(t);return Et(r[fe.DateFormat],e)}function Yc(t,e){let r=Dt(t);return Et(r[fe.TimeFormat],e)}function Kc(t,e){let n=Dt(t)[fe.DateTimeFormat];return Et(n,e)}function ou(t,e){let r=Dt(t),n=r[fe.NumberSymbols][e];if(typeof n>"u"){if(e===Jn.CurrencyDecimal)return r[fe.NumberSymbols][Jn.Decimal];if(e===Jn.CurrencyGroup)return r[fe.NumberSymbols][Jn.Group]}return n}function e_(t){if(!t[fe.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[fe.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function RN(t){let e=Dt(t);return e_(e),(e[fe.ExtraData][2]||[]).map(n=>typeof n=="string"?Ch(n):[Ch(n[0]),Ch(n[1])])}function ON(t,e,r){let n=Dt(t);e_(n);let i=[n[fe.ExtraData][0],n[fe.ExtraData][1]],o=Et(i,e)||[];return Et(o,r)||[]}function Et(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Ch(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var FN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qc={},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]*)/,xn=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(xn||{}),K=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(K||{}),Y=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(Y||{});function PN(t,e,r,n){let i=GN(t);e=In(r,e)||e;let s=[],a;for(;e;)if(a=kN.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=i.getTimezoneOffset();n&&(c=n_(n,c),i=zN(i,n,!0));let u="";return s.forEach(l=>{let d=$N(l);u+=d?d(i,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ru(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function In(t,e){let r=MN(t);if(Qc[r]??={},Qc[r][e])return Qc[r][e];let n="";switch(e){case"shortDate":n=Zc(t,ut.Short);break;case"mediumDate":n=Zc(t,ut.Medium);break;case"longDate":n=Zc(t,ut.Long);break;case"fullDate":n=Zc(t,ut.Full);break;case"shortTime":n=Yc(t,ut.Short);break;case"mediumTime":n=Yc(t,ut.Medium);break;case"longTime":n=Yc(t,ut.Long);break;case"fullTime":n=Yc(t,ut.Full);break;case"short":let i=In(t,"shortTime"),o=In(t,"shortDate");n=Xc(Kc(t,ut.Short),[i,o]);break;case"medium":let s=In(t,"mediumTime"),a=In(t,"mediumDate");n=Xc(Kc(t,ut.Medium),[s,a]);break;case"long":let c=In(t,"longTime"),u=In(t,"longDate");n=Xc(Kc(t,ut.Long),[c,u]);break;case"full":let l=In(t,"fullTime"),d=In(t,"fullDate");n=Xc(Kc(t,ut.Full),[l,d]);break}return n&&(Qc[r][e]=n),n}function Xc(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Ft(t,e,r="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=r));let s=String(t);for(;s.length0||a>-r)&&(a+=r),t===K.Hours)a===0&&r===-12&&(a=12);else if(t===K.FractionalSeconds)return LN(a,e);let c=ou(s,Jn.MinusSign);return Ft(a,e,c,n,i)}}function jN(t,e){switch(t){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function ue(t,e,r=ze.Format,n=!1){return function(i,o){return VN(i,o,t,e,r,n)}}function VN(t,e,r,n,i,o){switch(r){case Y.Months:return AN(e,i,n)[t.getMonth()];case Y.Days:return TN(e,i,n)[t.getDay()];case Y.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(o){let u=RN(e),l=ON(e,i,n),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,m]=f,_=s>=h.hours&&a>=h.minutes,w=s0?Math.floor(i/60):Math.ceil(i/60);switch(t){case xn.Short:return(i>=0?"+":"")+Ft(s,2,o)+Ft(Math.abs(i%60),2,o);case xn.ShortGMT:return"GMT"+(i>=0?"+":"")+Ft(s,1,o);case xn.Long:return"GMT"+(i>=0?"+":"")+Ft(s,2,o)+":"+Ft(Math.abs(i%60),2,o);case xn.Extended:return n===0?"Z":(i>=0?"+":"")+Ft(s,2,o)+":"+Ft(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var UN=0,tu=4;function BN(t){let e=ru(t,UN,1).getDay();return ru(t,0,1+(e<=tu?tu:tu+7)-e)}function t_(t){let e=t.getDay(),r=e===0?-3:tu-e;return ru(t.getFullYear(),t.getMonth(),t.getDate()+r)}function xh(t,e=!1){return function(r,n){let i;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{let o=t_(r),s=BN(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Ft(i,t,ou(n,Jn.MinusSign))}}function eu(t,e=!1){return function(r,n){let o=t_(r).getFullYear();return Ft(o,t,ou(n,Jn.MinusSign),e)}}var Mh={};function $N(t){if(Mh[t])return Mh[t];let e;switch(t){case"G":case"GG":case"GGG":e=ue(Y.Eras,ae.Abbreviated);break;case"GGGG":e=ue(Y.Eras,ae.Wide);break;case"GGGGG":e=ue(Y.Eras,ae.Narrow);break;case"y":e=he(K.FullYear,1,0,!1,!0);break;case"yy":e=he(K.FullYear,2,0,!0,!0);break;case"yyy":e=he(K.FullYear,3,0,!1,!0);break;case"yyyy":e=he(K.FullYear,4,0,!1,!0);break;case"Y":e=eu(1);break;case"YY":e=eu(2,!0);break;case"YYY":e=eu(3);break;case"YYYY":e=eu(4);break;case"M":case"L":e=he(K.Month,1,1);break;case"MM":case"LL":e=he(K.Month,2,1);break;case"MMM":e=ue(Y.Months,ae.Abbreviated);break;case"MMMM":e=ue(Y.Months,ae.Wide);break;case"MMMMM":e=ue(Y.Months,ae.Narrow);break;case"LLL":e=ue(Y.Months,ae.Abbreviated,ze.Standalone);break;case"LLLL":e=ue(Y.Months,ae.Wide,ze.Standalone);break;case"LLLLL":e=ue(Y.Months,ae.Narrow,ze.Standalone);break;case"w":e=xh(1);break;case"ww":e=xh(2);break;case"W":e=xh(1,!0);break;case"d":e=he(K.Date,1);break;case"dd":e=he(K.Date,2);break;case"c":case"cc":e=he(K.Day,1);break;case"ccc":e=ue(Y.Days,ae.Abbreviated,ze.Standalone);break;case"cccc":e=ue(Y.Days,ae.Wide,ze.Standalone);break;case"ccccc":e=ue(Y.Days,ae.Narrow,ze.Standalone);break;case"cccccc":e=ue(Y.Days,ae.Short,ze.Standalone);break;case"E":case"EE":case"EEE":e=ue(Y.Days,ae.Abbreviated);break;case"EEEE":e=ue(Y.Days,ae.Wide);break;case"EEEEE":e=ue(Y.Days,ae.Narrow);break;case"EEEEEE":e=ue(Y.Days,ae.Short);break;case"a":case"aa":case"aaa":e=ue(Y.DayPeriods,ae.Abbreviated);break;case"aaaa":e=ue(Y.DayPeriods,ae.Wide);break;case"aaaaa":e=ue(Y.DayPeriods,ae.Narrow);break;case"b":case"bb":case"bbb":e=ue(Y.DayPeriods,ae.Abbreviated,ze.Standalone,!0);break;case"bbbb":e=ue(Y.DayPeriods,ae.Wide,ze.Standalone,!0);break;case"bbbbb":e=ue(Y.DayPeriods,ae.Narrow,ze.Standalone,!0);break;case"B":case"BB":case"BBB":e=ue(Y.DayPeriods,ae.Abbreviated,ze.Format,!0);break;case"BBBB":e=ue(Y.DayPeriods,ae.Wide,ze.Format,!0);break;case"BBBBB":e=ue(Y.DayPeriods,ae.Narrow,ze.Format,!0);break;case"h":e=he(K.Hours,1,-12);break;case"hh":e=he(K.Hours,2,-12);break;case"H":e=he(K.Hours,1);break;case"HH":e=he(K.Hours,2);break;case"m":e=he(K.Minutes,1);break;case"mm":e=he(K.Minutes,2);break;case"s":e=he(K.Seconds,1);break;case"ss":e=he(K.Seconds,2);break;case"S":e=he(K.FractionalSeconds,1);break;case"SS":e=he(K.FractionalSeconds,2);break;case"SSS":e=he(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Jc(xn.Short);break;case"ZZZZZ":e=Jc(xn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Jc(xn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Jc(xn.Long);break;default:return null}return Mh[t]=e,e}function n_(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function HN(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function zN(t,e,r){let n=r?-1:1,i=t.getTimezoneOffset(),o=n_(e,i);return HN(t,n*(o-i))}function GN(t){if(zD(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 ru(i,o-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(FN))return WN(n)}let e=new Date(t);if(!zD(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function WN(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,a,c,u),e}function zD(t){return t instanceof Date&&!isNaN(t.valueOf())}function su(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Sh=/\s+/,GD=[],w3=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=GD,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Sh):GD}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Sh):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Sh).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(Xt))},e.\u0275dir=G({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Th=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},E3=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Th(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),WD(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);WD(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(y(yn),y(Er),y(wh))},e.\u0275dir=G({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function WD(t,e){t.context.$implicit=e.item}var I3=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Ah,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){qD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){qD("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(y(yn),y(Er))},e.\u0275dir=G({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Ah=class{constructor(){this.$implicit=null,this.ngIf=null}};function qD(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${$e(e)}'.`)}var C3=(()=>{let e=class e{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:Yt.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(Wc),y(Xt))},e.\u0275dir=G({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),x3=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(y(yn))},e.\u0275dir=G({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[it]});let t=e;return t})();function r_(t,e){return new I(2100,!1)}var Nh=class{createSubscription(e,r){return ct(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){ct(()=>e.unsubscribe())}},Rh=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},qN=new Rh,ZN=new Nh,M3=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Xn(n))return qN;if(Dh(n))return ZN;throw r_(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(y(wt,16))},e.\u0275pipe=pc({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var YN="mediumDate",KN=new v(""),QN=new v(""),S3=(()=>{let e=class e{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{let a=i??this.defaultOptions?.dateFormat??YN,c=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return PN(n,a,s||this.locale,c)}catch(a){throw r_(e,a.message)}}};e.\u0275fac=function(i){return new(i||e)(y(Go,16),y(KN,24),y(QN,24))},e.\u0275pipe=pc({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();function XN(t,e){return{key:t,value:e}}var T3=(()=>{let e=class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=ZD}transform(n,i=ZD){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),s=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(XN(a.key,a.currentValue))})),(o||s)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}};e.\u0275fac=function(i){return new(i||e)(y(Wc,16))},e.\u0275pipe=pc({name:"keyvalue",type:e,pure:!1,standalone:!0});let t=e;return t})();function ZD(t,e){let r=t.key,n=e.key;if(r===n)return 0;if(r===void 0)return 1;if(n===void 0)return-1;if(r===null)return 1;if(n===null)return-1;if(typeof r=="string"&&typeof n=="string")return r{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),jh="browser",JN="server";function Vh(t){return t===jh}function Wo(t){return t===JN}var o_=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>Vh(g(Qe))?new Oh(g(W),window):new Fh});let t=e;return t})(),Oh=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=eR(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function eR(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Fh=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ti=class{};var Zo=class{},uu=class{},on=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Bh=class{encodeKey(e){return a_(e)}encodeValue(e){return a_(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function tR(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var nR=/%(\d[a-f0-9])/gi,rR={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function a_(t){return encodeURIComponent(t).replace(nR,(e,r)=>rR[r]??e)}function au(t){return`${t}`}var rn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Bh,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=tR(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(au):[au(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(au(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(au(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var $h=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function iR(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function c_(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function u_(t){return typeof Blob<"u"&&t instanceof Blob}function l_(t){return typeof FormData<"u"&&t instanceof FormData}function oR(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var qo=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(iR(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new on,this.context??=new $h,!this.params)this.params=new rn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":af.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},tr=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}(tr||{}),Yo=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new on,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},lu=class t extends Yo{constructor(e={}){super(e),this.type=tr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Tr=class t extends Yo{constructor(e={}){super(e),this.type=tr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},er=class extends Yo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},w_=200,sR=204;function Uh(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Gh=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof qo)s=n;else{let u;o.headers instanceof on?u=o.headers:u=new on(o.headers);let l;o.params&&(o.params instanceof rn?l=o.params:l=new rn({fromObject:o.params})),s=new qo(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=x(s).pipe($t(u=>this.handler.handle(u)));if(n instanceof qo||o.observe==="events")return a;let c=a.pipe(le(u=>u instanceof Tr));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(C(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(C(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(C(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(C(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new rn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Uh(o,i))}post(n,i,o={}){return this.request("POST",n,Uh(o,i))}put(n,i,o={}){return this.request("PUT",n,Uh(o,i))}};e.\u0275fac=function(i){return new(i||e)(p(Zo))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),aR=/^\)\]\}',?\n/,cR="X-Request-URL";function d_(t){if(t.url)return t.url;let e=cR.toLocaleLowerCase();return t.headers.get(e)}var uR=(()=>{let e=class e{constructor(){this.fetchImpl=g(Hh,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(P)}handle(n){return new N(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(zh,s=>i.error(new er({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Ur(this,null,function*(){let s=this.createRequestInit(n),a;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,b({signal:i},s)));lR(m),o.next({type:tr.Sent}),a=yield m}catch(m){o.error(new er({error:m,status:m.status??0,statusText:m.statusText,url:n.urlWithParams,headers:m.headers}));return}let c=new on(a.headers),u=a.statusText,l=d_(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&o.next(new lu({headers:c,status:d,statusText:u,url:l})),a.body){let m=a.headers.get("content-length"),_=[],w=a.body.getReader(),E=0,k,q,Z=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ur(this,null,function*(){for(;;){let{done:pe,value:ft}=yield w.read();if(pe)break;if(_.push(ft),E+=ft.length,n.reportProgress){q=n.responseType==="text"?(q??"")+(k??=new TextDecoder).decode(ft,{stream:!0}):void 0;let Vr=()=>o.next({type:tr.DownloadProgress,total:m?+m:void 0,loaded:E,partialText:q});Z?Z.run(Vr):Vr()}}}));let We=this.concatChunks(_,E);try{let pe=a.headers.get("Content-Type")??"";f=this.parseBody(n,We,pe)}catch(pe){o.error(new er({error:pe,headers:new on(a.headers),status:a.status,statusText:a.statusText,url:d_(a)??n.urlWithParams}));return}}d===0&&(d=f?w_:0),d>=200&&d<300?(o.next(new Tr({body:f,headers:c,status:d,statusText:u,url:l})),o.complete()):o.error(new er({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(aR,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Hh=class{};function zh(){}function lR(t){t.then(zh,zh)}function E_(t,e){return e(t)}function dR(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function fR(t,e,r){return(n,i)=>rt(r,()=>e(n,o=>t(o,i)))}var hR=new v(""),Wh=new v(""),I_=new v(""),C_=new v("",{providedIn:"root",factory:()=>!0});function pR(){let t=null;return(e,r)=>{t===null&&(t=(g(hR,{optional:!0})??[]).reduceRight(dR,E_));let n=g(Qt);if(g(C_)){let o=n.add();return t(e,r).pipe(ht(()=>n.remove(o)))}else return t(e,r)}}var f_=(()=>{let e=class e extends Zo{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=g(Qt),this.contributeToStability=g(C_)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Wh),...this.injector.get(I_,[])]));this.chain=i.reduceRight((o,s)=>fR(o,s,this.injector),E_)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ht(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(p(uu),p(Fe))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();var mR=/^\)\]\}',?\n/;function gR(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var h_=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new I(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?re(i.\u0275loadImpl()):x(null)).pipe(Ve(()=>new N(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,E)=>a.setRequestHeader(w,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let w=a.statusText||"OK",E=new on(a.getAllResponseHeaders()),k=gR(a)||n.url;return u=new lu({headers:E,status:a.status,statusText:w,url:k}),u},d=()=>{let{headers:w,status:E,statusText:k,url:q}=l(),Z=null;E!==sR&&(Z=typeof a.response>"u"?a.responseText:a.response),E===0&&(E=Z?w_:0);let We=E>=200&&E<300;if(n.responseType==="json"&&typeof Z=="string"){let pe=Z;Z=Z.replace(mR,"");try{Z=Z!==""?JSON.parse(Z):null}catch(ft){Z=pe,We&&(We=!1,Z={error:ft,text:Z})}}We?(s.next(new Tr({body:Z,headers:w,status:E,statusText:k,url:q||void 0})),s.complete()):s.error(new er({error:Z,headers:w,status:E,statusText:k,url:q||void 0}))},f=w=>{let{url:E}=l(),k=new er({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(k)},h=!1,m=w=>{h||(s.next(l()),h=!0);let E={type:tr.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),n.responseType==="text"&&a.responseText&&(E.partialText=a.responseText),s.next(E)},_=w=>{let E={type:tr.UploadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(c),s.next({type:tr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(p(Ti))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),x_=new v(""),vR="XSRF-TOKEN",bR=new v("",{providedIn:"root",factory:()=>vR}),yR="X-XSRF-TOKEN",DR=new v("",{providedIn:"root",factory:()=>yR}),du=class{},_R=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=su(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(p(W),p(Qe),p(bR))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function wR(t,e){let r=t.url.toLowerCase();if(!g(x_)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(du).getToken(),i=g(DR);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var M_=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}(M_||{});function ER(t,e){return{\u0275kind:t,\u0275providers:e}}function B3(...t){let e=[Gh,h_,f_,{provide:Zo,useExisting:f_},{provide:uu,useFactory:()=>g(uR,{optional:!0})??g(h_)},{provide:Wh,useValue:wR,multi:!0},{provide:x_,useValue:!0},{provide:du,useClass:_R}];for(let r of t)e.push(...r.\u0275providers);return vn(e)}var p_=new v("");function $3(){return ER(M_.LegacyInterceptors,[{provide:p_,useFactory:pR},{provide:Wh,useExisting:p_,multi:!0}])}var IR=new v(""),m_="b",g_="h",v_="s",b_="st",y_="u",D_="rt",cu=new v(""),CR=["GET","HEAD"];function xR(t,e){let h=g(cu),{isCacheActive:r}=h,n=Vm(h,["isCacheActive"]),{transferCache:i,method:o}=t;if(!r||i===!1||o==="POST"&&!n.includePostRequests&&!i||o!=="POST"&&!CR.includes(o)||!n.includeRequestsWithAuthHeaders&&MR(t)||n.filter?.(t)===!1)return e(t);let s=g(Ci),a=g(IR,{optional:!0}),c=Wo(g(Qe));if(a&&!c)throw new I(2803,!1);let u=c&&a?NR(t.url,a):t.url,l=TR(t,u),d=s.get(l,null),f=n.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(f=i.includeHeaders),d){let{[m_]:m,[D_]:_,[g_]:w,[v_]:E,[b_]:k,[y_]:q}=d,Z=m;switch(_){case"arraybuffer":Z=new TextEncoder().encode(m).buffer;break;case"blob":Z=new Blob([m]);break}let We=new on(w);return x(new Tr({body:Z,headers:We,status:E,statusText:k,url:q}))}return e(t).pipe(ee(m=>{m instanceof Tr&&c&&s.set(l,{[m_]:m.body,[g_]:SR(m.headers,f),[v_]:m.status,[b_]:m.statusText,[y_]:u,[D_]:t.responseType})}))}function MR(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function SR(t,e){if(!e)return{};let r={};for(let n of e){let i=t.getAll(n);i!==null&&(r[n]=i)}return r}function __(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function TR(t,e){let{params:r,method:n,responseType:i}=t,o=__(r),s=t.serializeBody();s instanceof URLSearchParams?s=__(s):typeof s!="string"&&(s="");let a=[n,i,e,s,o].join("|"),c=AR(a);return c}function AR(t){let e=0;for(let r of t)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function S_(t){return[{provide:cu,useFactory:()=>(yt("NgHttpTransferCache"),b({isCacheActive:!0},t))},{provide:I_,useValue:xR,multi:!0,deps:[Ci,cu]},{provide:Sr,multi:!0,useFactory:()=>{let e=g(en),r=g(cu);return()=>{zc(e).then(()=>{r.isCacheActive=!1})}}}]}function NR(t,e){let r=new URL(t,"resolve://").origin,n=e[r];return n?t.replace(r,n):t}var Yh=class extends nu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Kh=class t extends Yh{static makeCurrent(){KD(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=OR();return r==null?null:FR(r)}resetBaseElement(){Ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return su(document.cookie,e)}},Ko=null;function OR(){return Ko=Ko||document.querySelector("base"),Ko?Ko.getAttribute("href"):null}function FR(t){return new URL(t,document.baseURI).pathname}var Qh=class{addToWindow(e){ye.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new I(5103,!1);return o},ye.getAllAngularTestabilities=()=>e.getAllTestabilities(),ye.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=ye.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};ye.frameworkStabilizers||(ye.frameworkStabilizers=[]),ye.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?nn().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},kR=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),fu=new v(""),R_=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new I(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(p(fu),p(P))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Qo=class{constructor(e){this._doc=e}},qh="ng-app-id",O_=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Wo(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${qh}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(qh),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(qh,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(p(W),p(xr),p(ko,8),p(Qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Zh={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"},ep=/%COMP%/g,F_="%COMP%",PR=`_nghost-${F_}`,LR=`_ngcontent-${F_}`,jR=!0,VR=new v("",{providedIn:"root",factory:()=>jR});function UR(t){return LR.replace(ep,t)}function BR(t){return PR.replace(ep,t)}function k_(t,e){return e.map(r=>r.replace(ep,t))}var T_=(()=>{let e=class e{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Wo(c),this.defaultRenderer=new Xo(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wt.ShadowDom&&(i=O(b({},i),{encapsulation:Wt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof hu?o.applyToHost(n):o instanceof Jo&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Wt.Emulated:s=new hu(u,l,i,this.appId,d,a,c,f);break;case Wt.ShadowDom:return new Xh(u,l,n,i,a,c,this.nonce,f);default:s=new Jo(u,l,i,d,a,c,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(p(R_),p(O_),p(xr),p(VR),p(W),p(Qe),p(P),p(ko))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Xo=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Zh[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(A_(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(A_(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new I(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Zh[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Zh[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Yt.DashCase|Yt.Important)?e.style.setProperty(r,n,i&Yt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Yt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=nn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function A_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Xh=class extends Xo{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=k_(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Jo=class extends Xo{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?k_(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},hu=class extends Jo{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=UR(u),this.hostAttr=BR(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},$R=(()=>{let e=class e extends Qo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),HR=(()=>{let e=class e extends Qo{constructor(n){super(n),this.delegate=g(VD,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,i,o){return this.delegate.addEventListener(n,i,o)}removeEventListener(n,i,o){return this.delegate.removeEventListener(n,i,o)}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),N_=["alt","control","meta","shift"],zR={"\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"},GR={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},WR=(()=>{let e=class e extends Qo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),N_.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=zR[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),N_.forEach(a=>{if(a!==o){let c=GR[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function r4(t,e){return jD(b({rootComponent:t},qR(e)))}function qR(t){return{appProviders:[...P_,...t?.providers??[]],platformProviders:QR}}function ZR(){Kh.makeCurrent()}function YR(){return new Te}function KR(){return Vb(document),document}var QR=[{provide:Qe,useValue:jh},{provide:Hf,useValue:ZR,multi:!0},{provide:W,useFactory:KR,deps:[]}];var XR=new v(""),JR=[{provide:zo,useClass:Qh,deps:[]},{provide:bh,useClass:Bc,deps:[P,$c,zo]},{provide:Bc,useClass:Bc,deps:[P,$c,zo]}],P_=[{provide:mc,useValue:"root"},{provide:Te,useFactory:YR,deps:[]},{provide:fu,useClass:$R,multi:!0,deps:[W,P,Qe]},{provide:fu,useClass:WR,multi:!0,deps:[W]},{provide:fu,useClass:HR,multi:!0},T_,O_,R_,{provide:gi,useExisting:T_},{provide:Ti,useClass:kR,deps:[]},[]],i4=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:xr,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(p(XR,12))},e.\u0275mod=z({type:e}),e.\u0275inj=H({providers:[...P_,...JR],imports:[i_,LD]});let t=e;return t})();var L_=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var tp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=p(eO),o},providedIn:"root"});let t=e;return t})(),eO=(()=>{let e=class e extends tp{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Pe.NONE:return i;case Pe.HTML:return Qn(i,"HTML")?vt(i):oy(this._doc,String(i)).toString();case Pe.STYLE:return Qn(i,"Style")?vt(i):i;case Pe.SCRIPT:if(Qn(i,"Script"))return vt(i);throw new I(5200,!1);case Pe.URL:return Qn(i,"URL")?vt(i):Ic(String(i));case Pe.RESOURCE_URL:if(Qn(i,"ResourceURL"))return vt(i);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(n){return Yb(n)}bypassSecurityTrustStyle(n){return Kb(n)}bypassSecurityTrustScript(n){return Qb(n)}bypassSecurityTrustUrl(n){return Xb(n)}bypassSecurityTrustResourceUrl(n){return Jb(n)}};e.\u0275fac=function(i){return new(i||e)(p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jh=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t}(Jh||{});function o4(...t){let e=[],r=new Set,n=r.has(Jh.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:o}of t)r.add(o),i.length&&e.push(i);return vn([[],UD(),r.has(Jh.NoHttpTransferCache)||n?[]:S_({}),e])}var j="primary",ps=Symbol("RouteTitle"),sp=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Pi(t){return new sp(t)}function tO(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Q_(t){return t.length>0?t[t.length-1]:null}function ir(t){return Al(t)?t:Xn(t)?re(Promise.resolve(t)):x(t)}var rO={exact:J_,subset:ew},X_={exact:iO,subset:oO,ignored:()=>!0};function V_(t,e,r){return rO[r.paths](t.root,e.root,r.matrixParams)&&X_[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function iO(t,e){return sn(t,e)}function J_(t,e,r){if(!Nr(t.segments,e.segments)||!gu(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!J_(t.children[n],e.children[n],r))return!1;return!0}function oO(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>K_(t[r],e[r]))}function ew(t,e,r){return tw(t,e,e.segments,r)}function tw(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Nr(i,r)||e.hasChildren()||!gu(i,r,n))}else if(t.segments.length===r.length){if(!Nr(t.segments,r)||!gu(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!ew(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Nr(t.segments,i)||!gu(t.segments,i,n)||!t.children[j]?!1:tw(t.children[j],e,o,n)}}function gu(t,e,r){return e.every((n,i)=>X_[r](t[i].parameters,n.parameters))}var Tn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Pi(this.queryParams),this._queryParamMap}toString(){return cO.serialize(this)}},J=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vu(this)}},Ar=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Pi(this.parameters),this._parameterMap}toString(){return rw(this)}};function sO(t,e){return Nr(t,e)&&t.every((r,n)=>sn(r.parameters,e[n].parameters))}function Nr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function aO(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===j&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==j&&(r=r.concat(e(i,n)))}),r}var ms=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>new Li,providedIn:"root"});let t=e;return t})(),Li=class{parse(e){let r=new up(e);return new Tn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${es(e.root,!0)}`,n=dO(e.queryParams),i=typeof e.fragment=="string"?`#${uO(e.fragment)}`:"";return`${r}${n}${i}`}},cO=new Li;function vu(t){return t.segments.map(e=>rw(e)).join("/")}function es(t,e){if(!t.hasChildren())return vu(t);if(e){let r=t.children[j]?es(t.children[j],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==j&&n.push(`${i}:${es(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=aO(t,(n,i)=>i===j?[es(t.children[j],!1)]:[`${i}:${es(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[j]!=null?`${vu(t)}/${r[0]}`:`${vu(t)}/(${r.join("//")})`}}function nw(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pu(t){return nw(t).replace(/%3B/gi,";")}function uO(t){return encodeURI(t)}function cp(t){return nw(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bu(t){return decodeURIComponent(t)}function U_(t){return bu(t.replace(/\+/g,"%20"))}function rw(t){return`${cp(t.path)}${lO(t.parameters)}`}function lO(t){return Object.entries(t).map(([e,r])=>`;${cp(e)}=${cp(r)}`).join("")}function dO(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${pu(r)}=${pu(i)}`).join("&"):`${pu(r)}=${pu(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var fO=/^[^\/()?;#]+/;function np(t){let e=t.match(fO);return e?e[0]:""}var hO=/^[^\/()?;=#]+/;function pO(t){let e=t.match(hO);return e?e[0]:""}var mO=/^[^=?&#]+/;function gO(t){let e=t.match(mO);return e?e[0]:""}var vO=/^[^&#]+/;function bO(t){let e=t.match(vO);return e?e[0]:""}var up=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[j]=new J(e,r)),n}parseSegment(){let e=np(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(e),new Ar(bu(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=pO(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=np(this.remaining);i&&(n=i,this.capture(n))}e[bu(r)]=bu(n)}parseQueryParam(e){let r=gO(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=bO(this.remaining);s&&(n=s,this.capture(n))}let i=U_(r),o=U_(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=np(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new I(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=j);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[j]:new J([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new I(4011,!1)}};function iw(t){return t.segments.length>0?new J([],{[j]:t}):t}function ow(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=ow(i);if(n===j&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new J(t.segments,e);return yO(r)}function yO(t){if(t.numberOfChildren===1&&t.children[j]){let e=t.children[j];return new J(t.segments.concat(e.segments),e.children)}return t}function Rr(t){return t instanceof Tn}function DO(t,e,r=null,n=null){let i=sw(t);return aw(i,e,r,n)}function sw(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=iw(n);return e??i}function aw(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return rp(i,i,i,r,n);let o=_O(e);if(o.toRoot())return rp(i,i,new J([],{}),r,n);let s=wO(o,i,t),a=s.processChildren?rs(s.segmentGroup,s.index,o.commands):uw(s.segmentGroup,s.index,o.commands);return rp(i,s.segmentGroup,a,r,n)}function yu(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ss(t){return typeof t=="object"&&t!=null&&t.outlets}function rp(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=cw(t,e,r);let a=iw(ow(s));return new Tn(a,o,i)}function cw(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=cw(o,e,r)}),new J(t.segments,n)}var Du=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&yu(n[0]))throw new I(4003,!1);let i=n.find(ss);if(i&&i!==Q_(n))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _O(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Du(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Du(r,e,n)}var Oi=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function wO(t,e,r){if(t.isAbsolute)return new Oi(e,!0,0);if(!r)return new Oi(e,!1,NaN);if(r.parent===null)return new Oi(r,!0,0);let n=yu(t.commands[0])?0:1,i=r.segments.length-1+n;return EO(r,i,t.numberOfDoubleDots)}function EO(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new I(4005,!1);i=n.segments.length}return new Oi(n,!1,i-o)}function IO(t){return ss(t[0])?t[0].outlets:{[j]:t}}function uw(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return rs(t,e,r);let n=CO(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==j)&&t.children[j]&&t.numberOfChildren===1&&t.children[j].segments.length===0){let o=rs(t.children[j],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=uw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function CO(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(ss(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!$_(c,u,s))return o;n+=2}else{if(!$_(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function lp(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=lp(new J([],{}),0,n))}),e}function B_(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function $_(t,e,r){return t==r.path&&sn(e,r.parameters)}var is="imperative",Ie=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Ie||{}),It=class{constructor(e,r){this.id=e,this.url=r}},ji=class extends It{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Ie.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Pt=class extends It{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},dt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(dt||{}),_u=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(_u||{}),Sn=class extends It{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},nr=class extends It{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationSkipped}},as=class extends It{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},wu=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dp=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fp=class extends It{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},hp=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pp=class extends It{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mp=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},gp=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},vp=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bp=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yp=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Dp=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Eu=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Ie.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},cs=class{},Vi=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function MO(t,e){return t.providers&&!t._injector&&(t._injector=Fc(t.providers,e,`Route: ${t.path}`)),t._injector??e}function kt(t){return t.outlet||j}function SO(t,e){let r=t.filter(n=>kt(n)===e);return r.push(...t.filter(n=>kt(n)!==e)),r}function gs(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var _p=class{get injector(){return gs(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new vs(this.rootInjector),this.attachRef=null}},vs=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new _p(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(p(Fe))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Iu=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=wp(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=wp(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Ep(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Ep(e,this._root).map(r=>r.value)}};function wp(t,e){if(t===e.value)return e;for(let r of e.children){let n=wp(t,r);if(n)return n}return null}function Ep(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Ep(t,r);if(n.length)return n.unshift(e),n}return[]}var lt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ri(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Cu=class extends Iu{constructor(e,r){super(e),this.snapshot=r,Rp(this,e)}toString(){return this.snapshot.toString()}};function lw(t){let e=TO(t),r=new de([new Ar("",{})]),n=new de({}),i=new de({}),o=new de({}),s=new de(""),a=new rr(r,n,o,s,i,j,t,e.root);return a.snapshot=e.root,new Cu(new lt(a,[]),e)}function TO(t){let e={},r={},n={},i="",o=new Fi([],e,n,i,r,j,t,null,{});return new Mu("",new lt(o,[]))}var rr=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(C(u=>u[ps]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(C(e=>Pi(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(C(e=>Pi(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function xu(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&fw(i)&&(n.resolve[ps]=i.title),n}var Fi=class{get title(){return this.data?.[ps]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Pi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pi(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Mu=class extends Iu{constructor(e,r){super(r),this.url=e,Rp(this,r)}toString(){return dw(this._root)}};function Rp(t,e){e.value._routerState=t,e.children.forEach(r=>Rp(t,r))}function dw(t){let e=t.children.length>0?` { ${t.children.map(dw).join(", ")} } `:"";return`${t.value}${e}`}function ip(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,sn(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),sn(e.params,r.params)||t.paramsSubject.next(r.params),nO(e.url,r.url)||t.urlSubject.next(r.url),sn(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ip(t,e){let r=sn(t.params,e.params)&&sO(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Ip(t.parent,e.parent))}function fw(t){return typeof t.title=="string"||t.title===null}var AO=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=j,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=g(vs),this.location=g(yn),this.changeDetector=g(wt),this.inputBinder=g(Nu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Cp(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=G({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[it]});let t=e;return t})(),Cp=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===rr?this.route:e===vs?this.childContexts:this.parent.get(e,r)}},Nu=new v(""),H_=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=fr([i.queryParams,i.params,i.data]).pipe(Ve(([s,a,c],u)=>(c=b(b(b({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=BD(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function NO(t,e,r){let n=us(t,e._root,r?r._root:void 0);return new Cu(n,e)}function us(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=RO(t,e,r);return new lt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>us(t,a)),s}}let n=OO(e.value),i=e.children.map(o=>us(t,o));return new lt(n,i)}}function RO(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return us(t,n,i);return us(t,n)})}function OO(t){return new rr(new de(t.url),new de(t.params),new de(t.queryParams),new de(t.fragment),new de(t.data),t.outlet,t.component,t)}var ls=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},hw="ngNavigationCancelingError";function Su(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Rr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=pw(!1,dt.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function pw(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[hw]=!0,r.cancellationCode=e,r}function FO(t){return mw(t)&&Rr(t.url)}function mw(t){return!!t&&t[hw]}var kO=(t,e,r,n)=>C(i=>(new xp(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),xp=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),ip(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Ri(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ri(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ri(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Ri(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Dp(o.value.snapshot))}),e.children.length&&this.forwardEvent(new bp(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(ip(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ip(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Tu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ki=class{constructor(e,r){this.component=e,this.route=r}};function PO(t,e,r){let n=t._root,i=e?e._root:null;return ts(n,i,r,[n.value])}function LO(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Bi(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Mv(t)?t:e.get(t):n}function ts(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ri(e);return t.children.forEach(s=>{jO(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>os(a,r.getContext(s),i)),i}function jO(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=VO(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Tu(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ts(t,e,a?a.children:null,n,i):ts(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ki(a.outlet.component,s))}else s&&os(e,a,i),i.canActivateChecks.push(new Tu(n)),o.component?ts(t,null,a?a.children:null,n,i):ts(t,null,r,n,i);return i}function VO(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Nr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Nr(t.url,e.url)||!sn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ip(t,e)||!sn(t.queryParams,e.queryParams);case"paramsChange":default:return!Ip(t,e)}}function os(t,e,r){let n=Ri(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?os(s,e.children.getContext(o),r):os(s,null,r):os(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ki(e.outlet.component,i)):r.canDeactivateChecks.push(new ki(null,i)):r.canDeactivateChecks.push(new ki(null,i))}function bs(t){return typeof t=="function"}function UO(t){return typeof t=="boolean"}function BO(t){return t&&bs(t.canLoad)}function $O(t){return t&&bs(t.canActivate)}function HO(t){return t&&bs(t.canActivateChild)}function zO(t){return t&&bs(t.canDeactivate)}function GO(t){return t&&bs(t.canMatch)}function gw(t){return t instanceof dn||t?.name==="EmptyError"}var mu=Symbol("INITIAL_VALUE");function Ui(){return Ve(t=>fr(t.map(e=>e.pipe(me(1),lo(mu)))).pipe(C(e=>{for(let r of e)if(r!==!0){if(r===mu)return mu;if(r===!1||WO(r))return r}return!0}),le(e=>e!==mu),me(1)))}function WO(t){return Rr(t)||t instanceof ls}function qO(t,e){return Q(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?x(O(b({},r),{guardsResult:!0})):ZO(s,n,i,t).pipe(Q(a=>a&&UO(a)?YO(n,o,t,e):x(a)),C(a=>O(b({},r),{guardsResult:a})))})}function ZO(t,e,r,n){return re(t).pipe(Q(i=>eF(i.component,i.route,r,e,n)),Tt(i=>i!==!0,!0))}function YO(t,e,r,n){return re(e).pipe($t(i=>Ut(QO(i.route.parent,n),KO(i.route,n),JO(t,i.path,r),XO(t,i.route,r))),Tt(i=>i!==!0,!0))}function KO(t,e){return t!==null&&e&&e(new yp(t)),x(!0)}function QO(t,e){return t!==null&&e&&e(new vp(t)),x(!0)}function XO(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let i=n.map(o=>so(()=>{let s=gs(e)??r,a=Bi(o,s),c=$O(a)?a.canActivate(e,t):rt(s,()=>a(e,t));return ir(c).pipe(Tt())}));return x(i).pipe(Ui())}function JO(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>LO(s)).filter(s=>s!==null).map(s=>so(()=>{let a=s.guards.map(c=>{let u=gs(s.node)??r,l=Bi(c,u),d=HO(l)?l.canActivateChild(n,t):rt(u,()=>l(n,t));return ir(d).pipe(Tt())});return x(a).pipe(Ui())}));return x(o).pipe(Ui())}function eF(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let s=o.map(a=>{let c=gs(e)??i,u=Bi(a,c),l=zO(u)?u.canDeactivate(t,e,r,n):rt(c,()=>u(t,e,r,n));return ir(l).pipe(Tt())});return x(s).pipe(Ui())}function tF(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return x(!0);let o=i.map(s=>{let a=Bi(s,t),c=BO(a)?a.canLoad(e,r):rt(t,()=>a(e,r));return ir(c)});return x(o).pipe(Ui(),vw(n))}function vw(t){return wl(ee(e=>{if(typeof e!="boolean")throw Su(t,e)}),C(e=>e===!0))}function nF(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return x(!0);let o=i.map(s=>{let a=Bi(s,t),c=GO(a)?a.canMatch(e,r):rt(t,()=>a(e,r));return ir(c)});return x(o).pipe(Ui(),vw(n))}var ds=class{constructor(e){this.segmentGroup=e||null}},fs=class extends Error{constructor(e){super(),this.urlTree=e}};function Ni(t){return Bt(new ds(t))}function rF(t){return Bt(new I(4e3,!1))}function iF(t){return Bt(pw(!1,dt.GuardRejected))}var Mp=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return x(n);if(i.numberOfChildren>1||!i.children[j])return rF(`${e.redirectTo}`);i=i.children[j]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:m,title:_}=i,w=rt(o,()=>a({params:h,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:_}));if(w instanceof Tn)throw new fs(w);r=w}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new fs(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Tn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new J(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new I(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Sp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oF(t,e,r,n,i){let o=Op(t,e,r);return o.matched?(n=MO(e,n),nF(n,e,r,i).pipe(C(s=>s===!0?o:b({},Sp)))):x(o)}function Op(t,e,r){if(e.path==="**")return sF(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},Sp):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||tO)(r,t,e);if(!i)return b({},Sp);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function sF(t){return{matched:!0,parameters:t.length>0?Q_(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function z_(t,e,r,n){return r.length>0&&uF(t,r,n)?{segmentGroup:new J(e,cF(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&lF(t,r,n)?{segmentGroup:new J(t.segments,aF(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function aF(t,e,r,n){let i={};for(let o of r)if(Ru(t,e,o)&&!n[kt(o)]){let s=new J([],{});i[kt(o)]=s}return b(b({},n),i)}function cF(t,e){let r={};r[j]=e;for(let n of t)if(n.path===""&&kt(n)!==j){let i=new J([],{});r[kt(n)]=i}return r}function uF(t,e,r){return r.some(n=>Ru(t,e,n)&&kt(n)!==j)}function lF(t,e,r){return r.some(n=>Ru(t,e,n))}function Ru(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function dF(t,e,r,n){return kt(t)!==n&&(n===j||!Ru(e,r,t))?!1:Op(e,t,r).matched}function fF(t,e,r){return e.length===0&&!t.children[r]}var Tp=class{};function hF(t,e,r,n,i,o,s="emptyOnly"){return new Ap(t,e,r,n,i,s,o).recognize()}var pF=31,Ap=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Mp(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new I(4002,`'${e.segmentGroup}'`)}recognize(){let e=z_(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(C(({children:r,rootSnapshot:n})=>{let i=new lt(n,r),o=new Mu("",i),s=DO(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Fi([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),j,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,j,r).pipe(C(n=>({children:n,rootSnapshot:r})),Re(n=>{if(n instanceof fs)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof ds?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(C(s=>s instanceof lt?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return re(o).pipe($t(s=>{let a=n.children[s],c=SO(r,s);return this.processSegmentGroup(e,c,a,s,i)}),co((s,a)=>(s.push(...a),s)),Ln(null),Ol(),Q(s=>{if(s===null)return Ni(n);let a=bw(s);return mF(a),x(a)}))}processSegment(e,r,n,i,o,s,a){return re(r).pipe($t(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(Re(u=>{if(u instanceof ds)return x(null);throw u}))),Tt(c=>!!c),Re(c=>{if(gw(c))return fF(n,i,o)?x(new Tp):Ni(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return dF(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):Ni(i):Ni(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Op(r,i,o);if(!c)return Ni(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>pF&&(this.allowRedirects=!1));let h=new Fi(o,u,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,G_(i),kt(i),i.component??i._loadedComponent??null,i,W_(i)),m=xu(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(m.params),h.data=Object.freeze(m.data);let _=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(i,_).pipe(Q(w=>this.processSegment(e,n,r,w.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=oF(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Ve(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Ve(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,m=new Fi(f,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,G_(n),kt(n),n.component??n._loadedComponent??null,n,W_(n)),_=xu(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(_.params),m.data=Object.freeze(_.data);let{segmentGroup:w,slicedSegments:E}=z_(r,f,h,u);if(E.length===0&&w.hasChildren())return this.processChildren(l,u,w,m).pipe(C(q=>new lt(m,q)));if(u.length===0&&E.length===0)return x(new lt(m,[]));let k=kt(n)===o;return this.processSegment(l,u,w,E,k?j:o,!0,m).pipe(C(q=>new lt(m,q instanceof lt?[q]:[])))}))):Ni(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):tF(e,r,n,this.urlSerializer).pipe(Q(i=>i?this.configLoader.loadChildren(e,r).pipe(ee(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):iF(r))):x({routes:[],injector:e})}};function mF(t){t.sort((e,r)=>e.value.outlet===j?-1:r.value.outlet===j?1:e.value.outlet.localeCompare(r.value.outlet))}function gF(t){let e=t.value.routeConfig;return e&&e.path===""}function bw(t){let e=[],r=new Set;for(let n of t){if(!gF(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=bw(n.children);e.push(new lt(n.value,i))}return e.filter(n=>!r.has(n))}function G_(t){return t.data||{}}function W_(t){return t.resolve||{}}function vF(t,e,r,n,i,o){return Q(s=>hF(t,e,r,n,s.extractedUrl,i,o).pipe(C(({state:a,tree:c})=>O(b({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function bF(t,e){return Q(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return x(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of yw(c))s.add(u);let a=0;return re(s).pipe($t(c=>o.has(c)?yF(c,n,t,e):(c.data=xu(c,c.parent,t).resolve,x(void 0))),ee(()=>a++),Xr(1),Q(c=>a===s.size?x(r):xe))})}function yw(t){let e=t.children.map(r=>yw(r)).flat();return[t,...e]}function yF(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!fw(i)&&(o[ps]=i.title),DF(o,t,e,n).pipe(C(s=>(t._resolvedData=s,t.data=xu(t,t.parent,r).resolve,null)))}function DF(t,e,r,n){let i=ap(t);if(i.length===0)return x({});let o={};return re(i).pipe(Q(s=>_F(t[s],e,r,n).pipe(Tt(),ee(a=>{if(a instanceof ls)throw Su(new Li,a);o[s]=a}))),Xr(1),no(o),Re(s=>gw(s)?xe:Bt(s)))}function _F(t,e,r,n){let i=gs(e)??n,o=Bi(t,i),s=o.resolve?o.resolve(e,r):rt(i,()=>o(e,r));return ir(s)}function op(t){return Ve(e=>{let r=t(e);return r?re(r).pipe(C(()=>e)):x(e)})}var Dw=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===j);return i}getResolvedTitleForRoute(n){return n.data[ps]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(wF),providedIn:"root"});let t=e;return t})(),wF=(()=>{let e=class e extends Dw{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(p(L_))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ys=new v("",{providedIn:"root",factory:()=>({})}),EF=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=nt({type:e,selectors:[["ng-component"]],standalone:!0,features:[at],decls:1,vars:0,template:function(i,o){i&1&&Je(0,"router-outlet")},dependencies:[AO],encapsulation:2});let t=e;return t})();function Fp(t){let e=t.children&&t.children.map(Fp),r=e?O(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==j&&(r.component=EF),r}var hs=new v(""),kp=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Gc)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=ir(n.loadComponent()).pipe(C(_w),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ht(()=>{this.componentLoaders.delete(n)})),o=new Zr(i,()=>new B).pipe(qr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return x({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=IF(i,this.compiler,n,this.onLoadEndListener).pipe(ht(()=>{this.childrenLoaders.delete(i)})),a=new Zr(s,()=>new B).pipe(qr());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function IF(t,e,r,n){return ir(t.loadChildren()).pipe(C(_w),Q(i=>i instanceof Io||Array.isArray(i)?x(i):re(e.compileModuleAsync(i))),C(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(hs,[],{optional:!0,self:!0}).flat()),{routes:s.map(Fp),injector:o}}))}function CF(t){return t&&typeof t=="object"&&"default"in t}function _w(t){return CF(t)?t.default:t}var Pp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(xF),providedIn:"root"});let t=e;return t})(),xF=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ww=new v(""),Ew=new v("");function MF(t,e,r){let n=t.get(Ew),i=t.get(W);return t.get(P).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),SF(t))),{onViewTransitionCreated:c}=n;return c&&rt(t,()=>c({transition:a,from:e,to:r})),s})}function SF(t){return new Promise(e=>{Bo({read:()=>setTimeout(e)},{injector:t})})}var TF=new v(""),Lp=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new B,this.transitionAbortSubject=new B,this.configLoader=g(kp),this.environmentInjector=g(Fe),this.urlSerializer=g(ms),this.rootContexts=g(vs),this.location=g(Ai),this.inputBindingEnabled=g(Nu,{optional:!0})!==null,this.titleStrategy=g(Dw),this.options=g(ys,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Pp),this.createViewTransition=g(ww,{optional:!0}),this.navigationErrorHandler=g(TF,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=o=>this.events.next(new mp(o)),i=o=>this.events.next(new gp(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(O(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new de({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:is,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(le(s=>s.id!==0),C(s=>O(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ve(s=>{let a=!1,c=!1;return x(s).pipe(Ve(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",dt.SupersededByNewNavigation),xe;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?O(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new nr(u.id,this.urlSerializer.serialize(u.rawUrl),f,_u.IgnoredSameUrlNavigation)),u.resolve(!1),xe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(Ve(f=>{let h=this.transitions?.getValue();return this.events.next(new ji(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?xe:Promise.resolve(f)}),vF(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=O(b({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new wu(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:_,extras:w}=u,E=new ji(f,this.urlSerializer.serialize(h),m,_);this.events.next(E);let k=lw(this.rootComponentType).snapshot;return this.currentTransition=s=O(b({},u),{targetSnapshot:k,urlAfterRedirects:h,extras:O(b({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new nr(u.id,this.urlSerializer.serialize(u.extractedUrl),f,_u.IgnoredByUrlHandlingStrategy)),u.resolve(!1),xe}}),ee(u=>{let l=new dp(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),C(u=>(this.currentTransition=s=O(b({},u),{guards:PO(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),qO(this.environmentInjector,u=>this.events.next(u)),ee(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Su(this.urlSerializer,u.guardsResult);let l=new fp(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),le(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",dt.GuardRejected),!1)),op(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(ee(l=>{let d=new hp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ve(l=>{let d=!1;return x(l).pipe(bF(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",dt.NoDataFromResolver)}}))}),ee(l=>{let d=new pp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),op(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(ee(h=>{d.component=h}),C(()=>{})));for(let h of d.children)f.push(...l(h));return f};return fr(l(u.targetSnapshot.root)).pipe(Ln(null),me(1))}),op(()=>this.afterPreactivation()),Ve(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?re(d).pipe(C(()=>s)):x(s)}),C(u=>{let l=NO(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=O(b({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ee(()=>{this.events.next(new cs)}),kO(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),me(1),ee({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),jn(this.transitionAbortSubject.pipe(ee(u=>{throw u}))),ht(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",dt.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Re(u=>{if(c=!0,mw(u))this.events.next(new Sn(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),FO(u)?this.events.next(new Vi(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new as(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=rt(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof ls){let{message:f,cancellationCode:h}=Su(this.urlSerializer,d);this.events.next(new Sn(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new Vi(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return xe}))}))}cancelNavigationTransition(n,i,o){let s=new Sn(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function AF(t){return t!==is}var NF=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(RF),providedIn:"root"});let t=e;return t})(),Np=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},RF=(()=>{let e=class e extends Np{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Yn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Iw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>g(OF),providedIn:"root"});let t=e;return t})(),OF=(()=>{let e=class e extends Iw{constructor(){super(...arguments),this.location=g(Ai),this.urlSerializer=g(ms),this.options=g(ys,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Pp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Tn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=lw(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof ji)this.stateMemento=this.createStateMemento();else if(n instanceof nr)this.rawUrlTree=i.initialUrl;else if(n instanceof wu){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof cs?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof Sn&&(n.code===dt.GuardRejected||n.code===dt.NoDataFromResolver)?this.restoreHistory(i):n instanceof as?this.restoreHistory(i,!0):n instanceof Pt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof Tn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Yn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ns=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ns||{});function Cw(t,e){t.events.pipe(le(r=>r instanceof Pt||r instanceof Sn||r instanceof as||r instanceof nr),C(r=>r instanceof Pt||r instanceof nr?ns.COMPLETE:(r instanceof Sn?r.code===dt.Redirect||r.code===dt.SupersededByNewNavigation:!1)?ns.REDIRECTING:ns.FAILED),le(r=>r!==ns.REDIRECTING),me(1)).subscribe(()=>{e()})}function FF(t){throw t}var kF={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},PF={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ct=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(Uc),this.stateManager=g(Iw),this.options=g(ys,{optional:!0})||{},this.pendingTasks=g(Qt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Lp),this.urlSerializer=g(ms),this.location=g(Ai),this.urlHandlingStrategy=g(Pp),this._events=new B,this.errorHandler=this.options.errorHandler||FF,this.navigated=!1,this.routeReuseStrategy=g(NF),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(hs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(Nu,{optional:!0}),this.eventsSubscription=new ce,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Sn&&i.code!==dt.Redirect&&i.code!==dt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Pt)this.navigated=!0;else if(i instanceof Vi){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=b({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||AF(o.source)},a);this.scheduleNavigation(c,is,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}jF(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),is,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=b({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Fp),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=sw(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return aw(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Rr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,is,null,i)}navigate(n,i={skipLocationChange:!1}){return LF(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},kF):i===!1?o=b({},PF):o=i,Rr(n))return V_(this.currentUrlTree,n,o);let s=this.parseUrl(n);return V_(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return Cw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function LF(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Pt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Rr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:sy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:Rr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(y(Ct),y(rr),Fo("tabindex"),y(Xt),y(ne),y(Mn))},e.\u0275dir=G({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&En("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Xe("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ee],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ee],replaceUrl:[2,"replaceUrl","replaceUrl",Ee],routerLink:"routerLink"},standalone:!0,features:[st,it]});let t=e;return t})(),E4=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new X,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof Pt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(jt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=re(n).pipe(jt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=VF(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ct),y(ne),y(Xt),y(wt),y(q_,8))},e.\u0275dir=G({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&xD(s,q_,5),i&2){let a;jc(a=Vc())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[it]});let t=e;return t})();function VF(t){return!!t.paths}var Au=class{};var UF=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(le(n=>n instanceof Pt),$t(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Fc(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return re(o).pipe(jt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=x(null);let s=o.pipe(Q(a=>a===null?x(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return re([s,a]).pipe(jt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(p(Ct),p(Gc),p(Fe),p(Au),p(kp))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xw=new v(""),BF=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(Fe),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ji?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Pt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof nr&&n.code===_u.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Eu&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>Ur(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Bo(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Eu(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Lo()},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function I4(t,...e){return vn([{provide:hs,multi:!0,useValue:t},[],{provide:rr,useFactory:Mw,deps:[Ct]},{provide:Sr,multi:!0,useFactory:Sw},e.map(r=>r.\u0275providers)])}function Mw(t){return t.routerState.root}function Ds(t,e){return{\u0275kind:t,\u0275providers:e}}function Sw(){let t=g(ke);return e=>{let r=t.get(en);if(e!==r.components[0])return;let n=t.get(Ct),i=t.get(Tw);t.get(jp)===1&&n.initialNavigation(),t.get(Aw,null,U.Optional)?.setUpPreloading(),t.get(xw,null,U.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Tw=new v("",{factory:()=>new B}),jp=new v("",{providedIn:"root",factory:()=>1});function $F(){return Ds(2,[{provide:jp,useValue:0},{provide:Hc,multi:!0,deps:[ke],useFactory:e=>{let r=e.get(QD,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ct),o=e.get(Tw);Cw(i,()=>{n(!0)}),e.get(Lp).afterPreactivation=()=>(n(!0),o.closed?x(void 0):o),i.initialNavigation()}))}}])}function HF(){return Ds(3,[{provide:Hc,multi:!0,useFactory:()=>{let e=g(Ct);return()=>{e.setUpLocationChangeListener()}}},{provide:jp,useValue:2}])}var Aw=new v("");function zF(t){return Ds(0,[{provide:Aw,useExisting:UF},{provide:Au,useExisting:t}])}function GF(){return Ds(8,[H_,{provide:Nu,useExisting:H_}])}function WF(t){let e=[{provide:ww,useValue:MF},{provide:Ew,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ds(9,e)}var Z_=new v("ROUTER_FORROOT_GUARD"),qF=[Ai,{provide:ms,useClass:Li},Ct,vs,{provide:rr,useFactory:Mw,deps:[Ct]},kp,[]],C4=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[qF,[],{provide:hs,multi:!0,useValue:n},{provide:Z_,useFactory:QF,deps:[[Ct,new Di,new Mo]]},{provide:ys,useValue:i||{}},i?.useHash?YF():KF(),ZF(),i?.preloadingStrategy?zF(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?XF(i):[],i?.bindToComponentInputs?GF().\u0275providers:[],i?.enableViewTransitions?WF().\u0275providers:[],JF()]}}static forChild(n){return{ngModule:e,providers:[{provide:hs,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(p(Z_,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function ZF(){return{provide:xw,useFactory:()=>{let t=g(o_),e=g(P),r=g(ys),n=g(Lp),i=g(ms);return r.scrollOffset&&t.setOffset(r.scrollOffset),new BF(i,n,t,e,r)}}}function YF(){return{provide:Mn,useClass:JD}}function KF(){return{provide:Mn,useClass:Lh}}function QF(t){return"guarded"}function XF(t){return[t.initialNavigation==="disabled"?HF().\u0275providers:[],t.initialNavigation==="enabledBlocking"?$F().\u0275providers:[]]}var Y_=new v("");function JF(){return[{provide:Y_,useFactory:Sw},{provide:Sr,multi:!0,useExisting:Y_}]}var Vw=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(y(Xt),y(ne))},e.\u0275dir=G({type:e});let t=e;return t})(),tk=(()=>{let e=class e extends Vw{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Yn(e)))(o||e)}})(),e.\u0275dir=G({type:e,features:[be]});let t=e;return t})(),Bu=new v("");var nk={provide:Bu,useExisting:Ot(()=>Uw),multi:!0};function rk(){let t=nn()?nn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var ik=new v(""),Uw=(()=>{let e=class e extends Vw{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!rk())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(y(Xt),y(ne),y(ik,8))},e.\u0275dir=G({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&En("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[_t([nk]),be]});let t=e;return t})();function or(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Bw(t){return t!=null&&typeof t.length=="number"}var Or=new v(""),Fr=new v(""),ok=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Nw=class{static min(e){return sk(e)}static max(e){return ak(e)}static required(e){return ck(e)}static requiredTrue(e){return uk(e)}static email(e){return lk(e)}static minLength(e){return dk(e)}static maxLength(e){return fk(e)}static pattern(e){return hk(e)}static nullValidator(e){return $w(e)}static compose(e){return Zw(e)}static composeAsync(e){return Yw(e)}};function sk(t){return e=>{if(or(e.value)||or(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(or(e.value)||or(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function ck(t){return or(t.value)?{required:!0}:null}function uk(t){return t.value===!0?null:{required:!0}}function lk(t){return or(t.value)||ok.test(t.value)?null:{email:!0}}function dk(t){return e=>or(e.value)||!Bw(e.value)?null:e.value.lengthBw(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function hk(t){if(!t)return $w;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(or(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function $w(t){return null}function Hw(t){return t!=null}function zw(t){return Xn(t)?re(t):t}function Gw(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function Ww(t,e){return e.map(r=>r(t))}function pk(t){return!t.validate}function qw(t){return t.map(e=>pk(e)?e:r=>e.validate(r))}function Zw(t){if(!t)return null;let e=t.filter(Hw);return e.length==0?null:function(r){return Gw(Ww(r,e))}}function zp(t){return t!=null?Zw(qw(t)):null}function Yw(t){if(!t)return null;let e=t.filter(Hw);return e.length==0?null:function(r){let n=Ww(r,e).map(zw);return ao(n).pipe(C(Gw))}}function Gp(t){return t!=null?Yw(qw(t)):null}function Rw(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Kw(t){return t._rawValidators}function Qw(t){return t._rawAsyncValidators}function Vp(t){return t?Array.isArray(t)?t:[t]:[]}function Fu(t,e){return Array.isArray(t)?t.includes(e):t===e}function Ow(t,e){let r=Vp(e);return Vp(t).forEach(i=>{Fu(r,i)||r.push(i)}),r}function Fw(t,e){return Vp(e).filter(r=>!Fu(t,r))}var ku=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=zp(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Gp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Ge=class extends ku{get formDirective(){return null}get path(){return null}},An=class extends ku{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Pu=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},mk={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},$4=O(b({},mk),{"[class.ng-submitted]":"isSubmitted"}),H4=(()=>{let e=class e extends Pu{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(y(An,2))},e.\u0275dir=G({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&we("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[be]});let t=e;return t})(),z4=(()=>{let e=class e extends Pu{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ge,10))},e.\u0275dir=G({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&we("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[be]});let t=e;return t})();var _s="VALID",Ou="INVALID",$i="PENDING",ws="DISABLED",sr=class{},Lu=class extends sr{constructor(e,r){super(),this.value=e,this.source=r}},Is=class extends sr{constructor(e,r){super(),this.pristine=e,this.source=r}},Cs=class extends sr{constructor(e,r){super(),this.touched=e,this.source=r}},Hi=class extends sr{constructor(e,r){super(),this.status=e,this.source=r}},Up=class extends sr{constructor(e){super(),this.source=e}},Bp=class extends sr{constructor(e){super(),this.source=e}};function Wp(t){return($u(t)?t.validators:t)||null}function gk(t){return Array.isArray(t)?zp(t):t||null}function qp(t,e){return($u(e)?e.asyncValidators:t)||null}function vk(t){return Array.isArray(t)?Gp(t):t||null}function $u(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Xw(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new I(1e3,"");if(!n[r])throw new I(1001,"")}function Jw(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new I(1002,"")})}var zi=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=tn(()=>this.statusReactive()),this.statusReactive=Dn(void 0),this._pristine=tn(()=>this.pristineReactive()),this.pristineReactive=Dn(!0),this._touched=tn(()=>this.touchedReactive()),this.touchedReactive=Dn(!1),this._events=new B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return ct(this.statusReactive)}set status(e){ct(()=>this.statusReactive.set(e))}get valid(){return this.status===_s}get invalid(){return this.status===Ou}get pending(){return this.status==$i}get disabled(){return this.status===ws}get enabled(){return this.status!==ws}get pristine(){return ct(this.pristineReactive)}set pristine(e){ct(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return ct(this.touchedReactive)}set touched(e){ct(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Ow(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Ow(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Fw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Fw(e,this._rawAsyncValidators))}hasValidator(e){return Fu(this._rawValidators,e)}hasAsyncValidator(e){return Fu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(O(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Cs(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new Cs(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(O(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Is(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Is(!0,n))}markAsPending(e={}){this.status=$i;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Hi(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(O(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=ws,this.errors=null,this._forEachChild(i=>{i.disable(O(b({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Lu(this.value,n)),this._events.next(new Hi(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(O(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=_s,this._forEachChild(n=>{n.enable(O(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(O(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_s||this.status===$i)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Lu(this.value,r)),this._events.next(new Hi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(O(b({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ws:_s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=$i,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=zw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new Hi(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?ws:this.errors?Ou:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($i)?$i:this._anyControlsHaveStatus(Ou)?Ou:_s}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Is(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Cs(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){$u(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=gk(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=vk(this._rawAsyncValidators)}},Gi=class extends zi{constructor(e,r,n){super(Wp(r),qp(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Jw(this,!0,e),Object.keys(e).forEach(n=>{Xw(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var $p=class extends Gi{};var Wi=new v("CallSetDisabledState",{providedIn:"root",factory:()=>Hu}),Hu="always";function zu(t,e){return[...e.path,t]}function Ms(t,e,r=Hu){Zp(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),yk(t,e),_k(t,e),Dk(t,e),bk(t,e)}function ju(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Uu(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Vu(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function bk(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Zp(t,e){let r=Kw(t);e.validator!==null?t.setValidators(Rw(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Qw(t);e.asyncValidator!==null?t.setAsyncValidators(Rw(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Vu(e._rawValidators,i),Vu(e._rawAsyncValidators,i)}function Uu(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=Kw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=Qw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Vu(e._rawValidators,n),Vu(e._rawAsyncValidators,n),r}function yk(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&eE(t,e)})}function Dk(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&eE(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function eE(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function _k(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function tE(t,e){t==null,Zp(t,e)}function wk(t,e){return Uu(t,e)}function Yp(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function Ek(t){return Object.getPrototypeOf(t.constructor)===tk}function nE(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Kp(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Uw?r=o:Ek(o)?n=o:i=o}),i||n||r||null}function Ik(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var Ck={provide:Ge,useExisting:Ot(()=>xk)},Es=Promise.resolve(),xk=(()=>{let e=class e extends Ge{get submitted(){return ct(this.submittedReactive)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=tn(()=>this.submittedReactive()),this.submittedReactive=Dn(!1),this._directives=new Set,this.ngSubmit=new X,this.form=new Gi({},zp(n),Gp(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Es.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Ms(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Es.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Es.then(()=>{let i=this._findContainer(n.path),o=new Gi({});tE(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Es.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Es.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),nE(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(y(Or,10),y(Fr,10),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&En("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Ck]),be]});let t=e;return t})();function kw(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Pw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var xs=class extends zi{constructor(e=null,r,n){super(Wp(r),qp(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$u(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Pw(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){kw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){kw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Pw(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Mk=t=>t instanceof xs,Sk=(()=>{let e=class e extends Ge{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return zu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Yn(e)))(o||e)}})(),e.\u0275dir=G({type:e,features:[be]});let t=e;return t})();var Tk={provide:An,useExisting:Ot(()=>Ak)},Lw=Promise.resolve(),Ak=(()=>{let e=class e extends An{constructor(n,i,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new xs,this._registered=!1,this.name="",this.update=new X,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Kp(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Yp(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ms(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Lw.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Ee(i);Lw.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?zu(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(y(Ge,9),y(Or,10),y(Fr,10),y(Bu,10),y(wt,8),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([Tk]),be,it]});let t=e;return t})(),W4=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var Qp=new v(""),Nk={provide:An,useExisting:Ot(()=>Rk)},Rk=(()=>{let e=class e extends An{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new X,this._ngModelWarningSent=!1,this._setValidators(n),this._setAsyncValidators(i),this.valueAccessor=Kp(this,o)}ngOnChanges(n){if(this._isControlChanged(n)){let i=n.form.previousValue;i&&ju(i,this,!1),Ms(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yp(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ju(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(y(Or,10),y(Fr,10),y(Bu,10),y(Qp,8),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[_t([Nk]),be,it]});let t=e;return t})(),Ok={provide:Ge,useExisting:Ot(()=>rE)},rE=(()=>{let e=class e extends Ge{get submitted(){return ct(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=tn(()=>this._submittedReactive()),this._submittedReactive=Dn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new X,this._setValidators(n),this._setAsyncValidators(i)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Uu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let i=this.form.get(n.path);return Ms(i,n,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),i}getControl(n){return this.form.get(n.path)}removeControl(n){ju(n.control||null,n,!1),Ik(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,i){this.form.get(n.path).setValue(i)}onSubmit(n){return this._submittedReactive.set(!0),nE(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new Up(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new Bp(this.form))}_updateDomValue(){this.directives.forEach(n=>{let i=n.control,o=this.form.get(n.path);i!==o&&(ju(i||null,n),Mk(o)&&(Ms(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let i=this.form.get(n.path);tE(i,n),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let i=this.form.get(n.path);i&&wk(i,n)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zp(this.form,this),this._oldForm&&Uu(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(y(Or,10),y(Fr,10),y(Wi,8))},e.\u0275dir=G({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&En("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Ok]),be,it]});let t=e;return t})(),Fk={provide:Ge,useExisting:Ot(()=>iE)},iE=(()=>{let e=class e extends Sk{constructor(n,i,o){super(),this.name=null,this._parent=n,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){sE(this._parent)}};e.\u0275fac=function(i){return new(i||e)(y(Ge,13),y(Or,10),y(Fr,10))},e.\u0275dir=G({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[_t([Fk]),be]});let t=e;return t})(),kk={provide:Ge,useExisting:Ot(()=>oE)},oE=(()=>{let e=class e extends Ge{constructor(n,i,o){super(),this.name=null,this._parent=n,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return zu(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){sE(this._parent)}};e.\u0275fac=function(i){return new(i||e)(y(Ge,13),y(Or,10),y(Fr,10))},e.\u0275dir=G({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[_t([kk]),be]});let t=e;return t})();function sE(t){return!(t instanceof iE)&&!(t instanceof rE)&&!(t instanceof oE)}var Pk={provide:An,useExisting:Ot(()=>Lk)},Lk=(()=>{let e=class e extends An{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new X,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Kp(this,s)}ngOnChanges(n){this._added||this._setUpControl(),Yp(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return zu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(y(Ge,13),y(Or,10),y(Fr,10),y(Bu,10),y(Qp,8))},e.\u0275dir=G({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[_t([Pk]),be,it]});let t=e;return t})();var aE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),Hp=class extends zi{constructor(e,r,n){super(Wp(r),qp(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,n={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,r={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),r&&(this.controls.splice(i,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){Jw(this,!1,e),e.forEach((n,i)=>{Xw(this,!1,i),this.at(i).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((n,i)=>{this.at(i)&&this.at(i).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,n)=>n._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,n)=>{e(r,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function jw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var q4=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,i=null){let o=this._reduceControls(n),s={};return jw(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Gi(o,s)}record(n,i=null){let o=this._reduceControls(n);return new $p(o,i)}control(n,i,o){let s={};return this.useNonNullable?(jw(i)?s=i:(s.validators=i,s.asyncValidators=o),new xs(n,O(b({},s),{nonNullable:!0}))):new xs(n,i,o)}array(n,i,o){let s=n.map(a=>this._createControl(a));return new Hp(s,i,o)}_reduceControls(n){let i={};return Object.keys(n).forEach(o=>{i[o]=this._createControl(n[o])}),i}_createControl(n){if(n instanceof xs)return n;if(n instanceof zi)return n;if(Array.isArray(n)){let i=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(i,o,s)}else return this.control(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Z4=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Wi,useValue:n.callSetDisabledState??Hu}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[aE]});let t=e;return t})(),Y4=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Qp,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Wi,useValue:n.callSetDisabledState??Hu}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[aE]});let t=e;return t})();var Jp;try{Jp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jp=!1}var je=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Vh(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Jp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(p(Qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var qi,cE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function rG(){if(qi)return qi;if(typeof document!="object"||!document)return qi=new Set(cE),qi;let t=document.createElement("input");return qi=new Set(cE.filter(e=>(t.setAttribute("type",e),t.type===e))),qi}var Ss;function jk(){if(Ss==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ss=!0}))}finally{Ss=Ss||!1}return Ss}function Zi(t){return jk()?t:!!t.capture}var kr;function iG(){if(kr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return kr=!1,kr;if("scrollBehavior"in document.documentElement.style)kr=!0;else{let t=Element.prototype.scrollTo;t?kr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):kr=!1}}return kr}var Xp;function Vk(){if(Xp==null){let t=typeof document<"u"?document.head:null;Xp=!!(t&&(t.createShadowRoot||t.attachShadow))}return Xp}function uE(t){if(Vk()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Uk(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Nn(t){return t.composedPath?t.composedPath()[0]:t.target}function lE(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Wu(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Bk(t){return t!=null&&`${t}`!="false"}function $k(t,e=0){return Hk(t)?Number(t):e}function Hk(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function em(t){return Array.isArray(t)?t:[t]}function aG(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Pr(t){return t instanceof ne?t.nativeElement:t}var zk=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var dE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({providers:[zk]});let t=e;return t})();var fE=new Set,Lr,Gk=(()=>{let e=class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):qk}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&Wk(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(i){return new(i||e)(p(je),p(ko,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Wk(t,e){if(!fE.has(t))try{Lr||(Lr=document.createElement("style"),e&&Lr.setAttribute("nonce",e),Lr.setAttribute("type","text/css"),document.head.appendChild(Lr)),Lr.sheet&&(Lr.sheet.insertRule(`@media ${t} {body{ }}`,0),fE.add(t))}catch(r){console.error(r)}}function qk(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var pE=(()=>{let e=class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return hE(em(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=hE(em(n)).map(a=>this._registerQuery(a).observable),s=fr(o);return s=Ut(s.pipe(me(1)),s.pipe(Jr(1),Kr(0))),s.pipe(C(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:u,query:l})=>{c.matches=c.matches||u,c.breakpoints[l]=u}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new N(a=>{let c=u=>this._zone.run(()=>a.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(lo(i),C(({matches:a})=>({query:n,matches:a})),jn(this._destroySubject)),mql:i};return this._queries.set(n,s),s}};e.\u0275fac=function(i){return new(i||e)(p(Gk),p(P))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hE(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var bG={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var DE=" ";function f1(t,e,r){let n=Ku(t,e);r=r.trim(),!n.some(i=>i.trim()===r)&&(n.push(r),t.setAttribute(e,n.join(DE)))}function h1(t,e,r){let n=Ku(t,e);r=r.trim();let i=n.filter(o=>o!==r);i.length?t.setAttribute(e,i.join(DE)):t.removeAttribute(e)}function Ku(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}var _E="cdk-describedby-message",qu="cdk-describedby-host",rm=0,PG=(()=>{let e=class e{constructor(n,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${rm++}`,this._document=n,this._id=g(xr)+"-"+rm++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=tm(i,o);typeof i!="string"?(mE(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){if(!i||!this._isElementNode(n))return;let s=tm(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${qu}="${this._id}"]`);for(let i=0;io.indexOf(_E)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);f1(n,"aria-describedby",o.messageElement.id),n.setAttribute(qu,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,h1(n,"aria-describedby",o.messageElement.id),n.removeAttribute(qu)}_isElementDescribedByMessage(n,i){let o=Ku(n,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(i){return new(i||e)(p(W),p(je))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tm(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function mE(t,e){t.id||(t.id=`${_E}-${e}-${rm++}`)}var Qu=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new B,this._typeaheadSubscription=ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new B,this.change=new B,e instanceof di?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Oc(e)&&(this._effectRef=qc(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ee(r=>this._pressedLetters.push(r)),Kr(e),le(()=>this._pressedLetters.length>0),C(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Oc(this._items)?this._items():this._items instanceof di?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},gE=class extends Qu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},vE=class extends Qu{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};function im(t){return t.buttons===0||t.detail===0}function om(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var p1=new v("cdk-input-modality-detector-options"),m1={ignoreKeys:[18,17,224,91,16]},wE=650,Yi=Zi({passive:!0,capture:!0}),g1=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new de(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Nn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(om(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Nn(a)},this._options=b(b({},m1),s),this.modalityDetected=this._modality.pipe(Jr(1)),this.modalityChanged=this.modalityDetected.pipe(Qr()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Yi),o.addEventListener("mousedown",this._onMousedown,Yi),o.addEventListener("touchstart",this._onTouchstart,Yi)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Yi),document.removeEventListener("mousedown",this._onMousedown,Yi),document.removeEventListener("touchstart",this._onTouchstart,Yi))}};e.\u0275fac=function(i){return new(i||e)(p(je),p(P),p(W),p(p1,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),v1=new v("liveAnnouncerElement",{providedIn:"root",factory:b1});function b1(){return null}var y1=new v("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),D1=0,LG=(()=>{let e=class e{constructor(n,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new B,this._rootNodeFocusAndBlurListener=c=>{let u=Nn(c);for(let l=u;l;l=l.parentElement)c.type==="focus"?this._onFocus(c,l):this._onBlur(c,l)},this._document=s,this._detectionMode=a?.detectionMode||Yu.IMMEDIATE}monitor(n,i=!1){let o=Pr(n);if(!this._platform.isBrowser||o.nodeType!==1)return x();let s=uE(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new B,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=Pr(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=Pr(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,u])=>this._originChanged(c,i,u)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Yu.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===Yu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?wE:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=Nn(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zu)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(jn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{let e=class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=g(pE).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return jr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return jr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return jr.BLACK_ON_WHITE}return jr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(nm,bE,yE),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===jr.BLACK_ON_WHITE?n.add(nm,bE):i===jr.WHITE_ON_BLACK&&n.add(nm,yE)}}};e.\u0275fac=function(i){return new(i||e)(p(je),p(W))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jG=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(p(sm))},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[dE]});let t=e;return t})();var E1=new v("cdk-dir-doc",{providedIn:"root",factory:I1});function I1(){return g(W)}var C1=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function x1(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?C1.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var YG=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new X,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=x1(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(p(E1,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var am=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();var T1=["*",[["mat-option"],["ng-container"]]],A1=["*","mat-option, ng-container"],N1=["text"],R1=[[["mat-icon"]],"*"],O1=["mat-icon","*"];function F1(t,e){if(t&1&&Je(0,"mat-pseudo-checkbox",1),t&2){let r=Lc();Mi("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function k1(t,e){if(t&1&&Je(0,"mat-pseudo-checkbox",3),t&2){let r=Lc();Mi("disabled",r.disabled)}}function P1(t,e){if(t&1&&(_n(0,"span",4),vh(1),wn()),t&2){let r=Lc();xi(),Ho("(",r.group.label,")")}}var L1=["mat-internal-form-field",""],j1=["*"];var g5=(()=>{let e=class e{};e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let t=e;return t})(),v5=(()=>{let e=class e{};e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms";let t=e;return t})();function V1(){return!0}var U1=new v("mat-sanity-checks",{providedIn:"root",factory:V1}),an=(()=>{let e=class e{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return lE()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(i){return new(i||e)(p(sm),p(U1,8),p(W))},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[am,am]});let t=e;return t})();var IE=class{constructor(e,r,n,i,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=n,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(i,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var b5=(()=>{let e=class e{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var xt=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(xt||{}),lm=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=xt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},CE=Zi({passive:!0,capture:!0}),dm=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Nn(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,CE)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,CE)))}},xE={enterDuration:225,exitDuration:150},B1=800,ME=Zi({passive:!0,capture:!0}),SE=["mousedown","touchstart"],TE=["mouseup","mouseleave","touchend","touchcancel"],Ts=class Ts{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Pr(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=b(b({},xE),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||$1(e,r,i),a=e-i.left,c=r-i.top,u=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-s}px`,l.style.top=`${c-s}px`,l.style.height=`${s*2}px`,l.style.width=`${s*2}px`,n.color!=null&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(l);let d=window.getComputedStyle(l),f=d.transitionProperty,h=d.transitionDuration,m=f==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,_=new lm(this,l,n,m);l.style.transform="scale3d(1, 1, 1)",_.state=xt.FADING_IN,n.persistent||(this._mostRecentTransientRipple=_);let w=null;return!m&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let E=()=>{w&&(w.fallbackTimer=null),clearTimeout(q),this._finishRippleTransition(_)},k=()=>this._destroyRipple(_),q=setTimeout(k,u+100);l.addEventListener("transitionend",E),l.addEventListener("transitioncancel",k),w={onTransitionEnd:E,onTransitionCancel:k,fallbackTimer:q}}),this._activeRipples.set(_,w),(m||!u)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===xt.FADING_OUT||e.state===xt.HIDDEN)return;let r=e.element,n=b(b({},xE),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=xt.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Pr(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,SE.forEach(n=>{Ts._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{TE.forEach(r=>{this._triggerElement.addEventListener(r,this,ME)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===xt.FADING_IN?this._startFadeOutTransition(e):e.state===xt.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=xt.VISIBLE,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=xt.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=im(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===xt.VISIBLE||e.config.terminateOnPointerUp&&e.state===xt.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(SE.forEach(r=>Ts._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(TE.forEach(r=>e.removeEventListener(r,this,ME)),this._pointerUpEventsRegistered=!1))}};Ts._eventManager=new dm;var fm=Ts;function $1(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var OE=new v("mat-ripple-global-options"),FE=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new fm(this,i,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:b(b(b({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,b(b({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,b(b({},this.rippleConfig),n))}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(P),y(je),y(OE,8),y(Kn,8))},e.\u0275dir=G({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&we("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),pm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an,an]});let t=e;return t})(),H1=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(y(Kn,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&we("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[at],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),z1=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an]});let t=e;return t})(),kE=new v("MAT_OPTION_PARENT_COMPONENT"),G1=0,PE=new v("MatOptgroup"),y5=(()=>{let e=class e{constructor(n){this.disabled=!1,this._labelId=`mat-optgroup-label-${G1++}`,this._inert=n?.inertGroups??!1}};e.\u0275fac=function(i){return new(i||e)(y(kE,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(i,o){i&2&&Xe("role",o._inert?null:"group")("aria-disabled",o._inert?null:o.disabled.toString())("aria-labelledby",o._inert?null:o._labelId)},inputs:{label:"label",disabled:[2,"disabled","disabled",Ee]},exportAs:["matOptgroup"],standalone:!0,features:[_t([{provide:PE,useExisting:e}]),st,at],ngContentSelectors:A1,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(i,o){i&1&&(Jt(T1),_n(0,"span",0)(1,"span",1),vh(2),Le(3),wn()(),Le(4,1)),i&2&&(we("mdc-list-item--disabled",o.disabled),Mi("id",o._labelId),xi(2),Ho("",o.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0});let t=e;return t})(),W1=0,hm=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},D5=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,i,o,s){this._element=n,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${W1++}`,this.onSelectionChange=new X,this._stateChanges=new B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!Wu(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new hm(this,n))}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(wt),y(kE,8),y(PE,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&MD(N1,7),i&2){let s;jc(s=Vc())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&En("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),i&2&&(mh("id",o.id),Xe("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),we("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Ee]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[st,at],ngContentSelectors:O1,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(Jt(R1),kc(0,F1,1,2,"mat-pseudo-checkbox",1),Le(1),_n(2,"span",2,0),Le(4,1),wn(),kc(5,k1,1,1,"mat-pseudo-checkbox",3)(6,P1,2,1,"span",4),Je(7,"div",5)),i&2&&(Pc(o.multiple?0:-1),xi(5),Pc(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),xi(),Pc(o.group&&o.group._inert?6:-1),xi(),Mi("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[H1,FE],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight)}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();function _5(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+n?Math.max(0,t-n+e):r}var E5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[pm,an,z1]});let t=e;return t})(),AE={capture:!0},NE=["focus","mousedown","mouseenter","touchstart"],cm="mat-ripple-loader-uninitialized",um="mat-ripple-loader-class-name",RE="mat-ripple-loader-centered",Xu="mat-ripple-loader-disabled",LE=(()=>{let e=class e{constructor(){this._document=g(W,{optional:!0}),this._animationMode=g(Kn,{optional:!0}),this._globalRippleOptions=g(OE,{optional:!0}),this._platform=g(je),this._ngZone=g(P),this._hosts=new Map,this._onInteraction=n=>{let i=Nn(n);if(i instanceof HTMLElement){let o=i.closest(`[${cm}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let n of NE)this._document?.addEventListener(n,this._onInteraction,AE)})}ngOnDestroy(){let n=this._hosts.keys();for(let i of n)this.destroyRipple(i);for(let i of NE)this._document?.removeEventListener(i,this._onInteraction,AE)}configureRipple(n,i){n.setAttribute(cm,this._globalRippleOptions?.namespace??""),(i.className||!n.hasAttribute(um))&&n.setAttribute(um,i.className||""),i.centered&&n.setAttribute(RE,""),i.disabled&&n.setAttribute(Xu,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,i){let o=this._hosts.get(n);if(o){o.disabled=i;return}i?n.setAttribute(Xu,""):n.removeAttribute(Xu)}_createRipple(n){if(!this._document)return;let i=this._hosts.get(n);if(i)return i;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(um)),n.append(o);let s=new FE(new ne(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(RE),s.disabled=n.hasAttribute(Xu),this.attachRipple(n,s),s}attachRipple(n,i){n.removeAttribute(cm),this._hosts.set(n,i)}destroyRipple(n){let i=this._hosts.get(n);i&&(i.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),I5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=nt({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&we("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[at],attrs:L1,ngContentSelectors:j1,decls:1,vars:0,template:function(i,o){i&1&&(Jt(),Le(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let t=e;return t})();var jE=["mat-button",""],VE=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],UE=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],q1='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',BE=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var Z1=["mat-icon-button",""],Y1=["*"];var K1=new v("MAT_BUTTON_CONFIG");var Q1=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],mm=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,i,o,s){this._elementRef=n,this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=g(EE),this._rippleLoader=g(LE),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=g(K1,{optional:!0}),c=n.nativeElement,u=c.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of Q1)c.hasAttribute(l)&&u.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){Lo()},e.\u0275dir=G({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ee],disabled:[2,"disabled","disabled",Ee],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ee],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ee]},features:[st]});let t=e;return t})();var X1=(()=>{let e=class e extends mm{constructor(n,i,o,s){super(n,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(i){Lo()},e.\u0275dir=G({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",n=>n==null?void 0:Eh(n)]},features:[st,be]});let t=e;return t})(),j5=(()=>{let e=class e extends mm{constructor(n,i,o,s){super(n,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(je),y(P),y(Kn,8))},e.\u0275cmp=nt({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Si(o.color?"mat-"+o.color:""),we("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[be,at],attrs:jE,ngContentSelectors:UE,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Jt(VE),Je(0,"span",0),Le(1),_n(2,"span",1),Le(3,1),wn(),Le(4,2),Je(5,"span",2)(6,"span",3)),i&2&&we("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let t=e;return t})(),V5=(()=>{let e=class e extends X1{constructor(n,i,o,s){super(n,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(je),y(P),y(Kn,8))},e.\u0275cmp=nt({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),Si(o.color?"mat-"+o.color:""),we("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[be,at],attrs:jE,ngContentSelectors:UE,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Jt(VE),Je(0,"span",0),Le(1),_n(2,"span",1),Le(3,1),wn(),Le(4,2),Je(5,"span",2)(6,"span",3)),i&2&&we("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[q1,BE],encapsulation:2,changeDetection:0});let t=e;return t})();var U5=(()=>{let e=class e extends mm{constructor(n,i,o,s){super(n,i,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(je),y(P),y(Kn,8))},e.\u0275cmp=nt({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Si(o.color?"mat-"+o.color:""),we("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[be,at],attrs:Z1,ngContentSelectors:Y1,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Jt(),Je(0,"span",0),Le(1),Je(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',BE],encapsulation:2,changeDetection:0});let t=e;return t})();var B5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an,pm,an]});let t=e;return t})();var J1=["*"],Ju;function eP(){if(Ju===void 0&&(Ju=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Ju=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Ju}function As(t){return eP()?.createHTML(t)||t}function $E(t){return Error(`Unable to find icon with the name "${t}"`)}function tP(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function HE(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function zE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Rn=class{constructor(e,r,n){this.url=e,this.svgText=r,this.options=n}},nP=(()=>{let e=class e{constructor(n,i,o,s){this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new Rn(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let a=this._sanitizer.sanitize(Pe.HTML,o);if(!a)throw zE(o);let c=As(a);return this._addSvgIconConfig(n,i,new Rn("",c,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new Rn(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Pe.HTML,i);if(!s)throw zE(i);let a=As(s);return this._addSvgIconSetConfig(n,new Rn("",a,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Pe.RESOURCE_URL,n);if(!i)throw HE(n);let o=this._cachedIconsByUrl.get(i);return o?x(el(o)):this._loadSvgIconFromConfig(new Rn(n,null)).pipe(ee(s=>this._cachedIconsByUrl.set(i,s)),C(s=>el(s)))}getNamedSvgIcon(n,i=""){let o=GE(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(n,a):Bt($E(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?x(el(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(C(i=>el(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return x(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Re(c=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Pe.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(l)),x(null)})));return ao(s).pipe(C(()=>{let a=this._extractIconWithNameFromAnySet(n,i);if(!a)throw $E(n);return a}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,n,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ee(i=>n.svgText=i),C(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?x(null):this._fetchIcon(n).pipe(ee(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(As(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(As("")),o=n.attributes;for(let s=0;sAs(l)),ht(()=>this._inProgressUrlFetches.delete(a)),uo());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(GE(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;oe?e.pathname+e.search:""}}var WE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],aP=WE.map(t=>`[${t}]`).join(", "),cP=/^url\(['"]?#(.*?)['"]?\)$/,nW=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(n,i,o,s,a,c){this._elementRef=n,this._iconRegistry=i,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ce.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(aP),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],u=c.getAttribute(a),l=u?u.match(cP):null;if(l){let d=o.get(c);d||(d=[],o.set(c,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(me(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(nP),Fo("aria-hidden"),y(oP),y(Te),y(iP,8))},e.\u0275cmp=nt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Xe("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Si(o.color?"mat-"+o.color:""),we("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Ee],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[st,at],ngContentSelectors:J1,decls:1,vars:0,template:function(i,o){i&1&&(Jt(),Le(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})(),rW=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({imports:[an,an]});let t=e;return t})();var Mt=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Mt||{}),oW="*";function sW(t,e){return{type:Mt.Trigger,name:t,definitions:e,options:{}}}function aW(t,e=null){return{type:Mt.Animate,styles:e,timings:t}}function cW(t,e=null){return{type:Mt.Group,steps:t,options:e}}function uW(t,e=null){return{type:Mt.Sequence,steps:t,options:e}}function lW(t){return{type:Mt.Style,styles:t,offset:null}}function dW(t,e,r){return{type:Mt.State,name:t,styles:e,options:r}}function fW(t){return{type:Mt.Keyframes,steps:t}}function hW(t,e,r=null){return{type:Mt.Transition,expr:t,animation:e,options:r}}function pW(t=null){return{type:Mt.AnimateChild,options:t}}function mW(t,e,r=null){return{type:Mt.Query,selector:t,animation:e,options:r}}function gW(t,e){return{type:Mt.Stagger,timings:t,animation:e}}var qE=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},ZE=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},vW="!";function gm(t,e){let r=!e?.manualCleanup;r&&!e?.injector&&Ao(gm);let n=r?e?.injector?.get(Cr)??g(Cr):null,i=uP(e?.equal),o;e?.requireSync?o=Dn({kind:0},{equal:i}):o=Dn({kind:1,value:e?.initialValue},{equal:i});let s=t.subscribe({next:a=>o.set({kind:1,value:a}),error:a=>{if(e?.rejectErrors)throw a;o.set({kind:2,error:a})}});return n?.onDestroy(s.unsubscribe.bind(s)),tn(()=>{let a=o();switch(a.kind){case 1:return a.value;case 2:throw a.error;case 0:throw new I(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}},{equal:e?.equal})}function uP(t=Object.is){return(e,r)=>e.kind===1&&r.kind===1&&t(e.value,r.value)}var Dm={};function Im(t,e){if(Dm[t]=(Dm[t]||0)+1,typeof e=="function")return vm(t,(...n)=>O(b({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return vm(t,()=>({type:t}));case"props":return vm(t,n=>O(b({},n),{type:t}));default:throw new Error("Unexpected config.")}}function Ki(){return{_as:"props",_p:void 0}}function vm(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}function lP(t){return t.charAt(0).toUpperCase()+t.substring(1)}function dP(t){return t.charAt(0).toLowerCase()+t.substring(1)}function l0(t){let{source:e,events:r}=t;return Object.keys(r).reduce((n,i)=>O(b({},n),{[fP(i)]:Im(hP(e,i),r[i])}),{})}function Cm(){return Ki()}function fP(t){return t.trim().split(" ").map((e,r)=>r===0?dP(e):lP(e)).join("")}function hP(t,e){return`[${t}] ${e}`}var d0="@ngrx/store/init",Qi=(()=>{let e=class e extends de{constructor(){super({type:d0})}next(n){if(typeof n=="function")throw new TypeError(` Dispatch expected an object, instead it received a function. If you're using the createAction function, make sure to invoke the function - before dispatching the action. For example, someAction should be someAction().`);if(typeof n>"u")throw new TypeError("Actions must be objects");if(typeof n.type>"u")throw new TypeError("Actions must have a type property");super.next(n)}complete(){}ngOnDestroy(){super.complete()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),fP=[Qi],d0=new v("@ngrx/store Internal Root Guard"),ZE=new v("@ngrx/store Internal Initial State"),xm=new v("@ngrx/store Initial State"),f0=new v("@ngrx/store Reducer Factory"),YE=new v("@ngrx/store Internal Reducer Factory Provider"),h0=new v("@ngrx/store Initial Reducers"),bm=new v("@ngrx/store Internal Initial Reducers"),KE=new v("@ngrx/store Store Features"),QE=new v("@ngrx/store Internal Store Reducers"),ym=new v("@ngrx/store Internal Feature Reducers"),XE=new v("@ngrx/store Internal Feature Configs"),p0=new v("@ngrx/store Internal Store Features"),JE=new v("@ngrx/store Internal Feature Reducers Token"),m0=new v("@ngrx/store Feature Reducers"),e0=new v("@ngrx/store User Provided Meta Reducers"),tl=new v("@ngrx/store Meta Reducers"),t0=new v("@ngrx/store Internal Resolved Meta Reducers"),n0=new v("@ngrx/store User Runtime Checks Config"),r0=new v("@ngrx/store Internal User Runtime Checks Config"),Ns=new v("@ngrx/store Internal Runtime Checks"),Mm=new v("@ngrx/store Check if Action types are unique"),hP=new v("@ngrx/store Root Store Provider"),pP=new v("@ngrx/store Feature State Provider");function Sm(t,e={}){let r=Object.keys(t),n={};for(let o=0;or!==e).reduce((r,n)=>Object.assign(r,{[n]:t[n]}),{})}function g0(...t){return function(e){if(t.length===0)return e;let r=t[t.length-1];return t.slice(0,-1).reduceRight((i,o)=>o(i),r(e))}}function v0(t,e){return Array.isArray(e)&&e.length>0&&(t=g0.apply(null,[...e,t])),(r,n)=>{let i=t(r);return(o,s)=>(o=o===void 0?n:o,i(o,s))}}function gP(t){let e=Array.isArray(t)&&t.length>0?g0(...t):r=>r;return(r,n)=>(r=e(r),(i,o)=>(i=i===void 0?n:i,r(i,o)))}var Rs=class extends N{},nl=class extends Qi{},vP="@ngrx/store/update-reducers",rl=(()=>{let e=class e extends de{get currentReducers(){return this.reducers}constructor(n,i,o,s){super(s(o,i)),this.dispatcher=n,this.initialState=i,this.reducers=o,this.reducerFactory=s}addFeature(n){this.addFeatures([n])}addFeatures(n){let i=n.reduce((o,{reducers:s,reducerFactory:a,metaReducers:c,initialState:u,key:l})=>{let d=typeof s=="function"?gP(c)(s,u):v0(a,c)(s,u);return o[l]=d,o},{});this.addReducers(i)}removeFeature(n){this.removeFeatures([n])}removeFeatures(n){this.removeReducers(n.map(i=>i.key))}addReducer(n,i){this.addReducers({[n]:i})}addReducers(n){this.reducers=b(b({},this.reducers),n),this.updateReducers(Object.keys(n))}removeReducer(n){this.removeReducers([n])}removeReducers(n){n.forEach(i=>{this.reducers=mP(this.reducers,i)}),this.updateReducers(n)}updateReducers(n){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:vP,features:n})}ngOnDestroy(){this.complete()}};e.\u0275fac=function(i){return new(i||e)(p(nl),p(xm),p(h0),p(f0))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),bP=[rl,{provide:Rs,useExisting:rl},{provide:nl,useExisting:Qi}],Os=(()=>{let e=class e extends B{ngOnDestroy(){this.complete()}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),yP=[Os],il=class extends N{},i0=(()=>{let e=class e extends de{constructor(n,i,o,s){super(s);let c=n.pipe(lr(Sl)).pipe(fo(i)),u={state:s},l=c.pipe(co(DP,u));this.stateSubscription=l.subscribe(({state:d,action:f})=>{this.next(d),o.next(f)}),this.state=gm(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}};e.INIT=l0,e.\u0275fac=function(i){return new(i||e)(p(Qi),p(Rs),p(Os),p(xm))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function DP(t={state:void 0},[e,r]){let{state:n}=t;return{state:r(n,e),action:e}}var _P=[i0,{provide:il,useExisting:i0}],Lt=(()=>{let e=class e extends N{constructor(n,i,o){super(),this.actionsObserver=i,this.reducerManager=o,this.source=n,this.state=n.state}select(n,...i){return EP.call(null,n,...i)(this)}selectSignal(n,i){return tn(()=>n(this.state()),i)}lift(n){let i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=n,i}dispatch(n){this.actionsObserver.next(n)}next(n){this.actionsObserver.next(n)}error(n){this.actionsObserver.error(n)}complete(){this.actionsObserver.complete()}addReducer(n,i){this.reducerManager.addReducer(n,i)}removeReducer(n){this.reducerManager.removeReducer(n)}};e.\u0275fac=function(i){return new(i||e)(p(il),p(Qi),p(rl))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),wP=[Lt];function EP(t,e,...r){return function(i){let o;if(typeof t=="string"){let s=[e,...r].filter(Boolean);o=i.pipe(kl(t,...s))}else if(typeof t=="function")o=i.pipe(C(s=>t(s,e)));else throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);return o.pipe(Kr())}}var Tm="https://ngrx.io/guide/store/configuration/runtime-checks";function o0(t){return t===void 0}function s0(t){return t===null}function b0(t){return Array.isArray(t)}function IP(t){return typeof t=="string"}function CP(t){return typeof t=="boolean"}function xP(t){return typeof t=="number"}function y0(t){return typeof t=="object"&&t!==null}function MP(t){return y0(t)&&!b0(t)}function SP(t){if(!MP(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||e===null}function _m(t){return typeof t=="function"}function TP(t){return _m(t)&&t.hasOwnProperty("\u0275cmp")}function AP(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var NP=!1;function RP(){return NP}function a0(t,e){return t===e}function OP(t,e,r){for(let n=0;ns(t));return n.memoized.apply(null,o)}let i=e.map(o=>o(t,r));return n.memoized.apply(null,[...i,r])}function kP(t,e={stateFn:FP}){return function(...r){let n=r;if(Array.isArray(n[0])){let[l,...d]=n;n=[...l,...d]}else n.length===1&&PP(n[0])&&(n=LP(n[0]));let i=n.slice(0,n.length-1),o=n[n.length-1],s=i.filter(l=>l.release&&typeof l.release=="function"),a=t(function(...l){return o.apply(null,l)}),c=D0(function(l,d){return e.stateFn.apply(null,[l,i,d,a])});function u(){c.reset(),a.reset(),s.forEach(l=>l.release())}return Object.assign(c.memoized,{release:u,projector:a.memoized,setResult:c.setResult,clearResult:c.clearResult})}}function _0(t){return ol(e=>{let r=e[t];return!RP()&&_h()&&!(t in e)&&console.warn(`@ngrx/store: The feature name "${t}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${t}', ...) or StoreModule.forFeature('${t}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),r},e=>e)}function PP(t){return!!t&&typeof t=="object"&&Object.values(t).every(e=>typeof e=="function")}function LP(t){let e=Object.values(t),r=Object.keys(t),n=(...i)=>r.reduce((o,s,a)=>O(b({},o),{[s]:i[a]}),{});return[...e,n]}function jP(t){return t instanceof v?g(t):t}function VP(t,e){return e.map((r,n)=>{if(t[n]instanceof v){let i=g(t[n]);return{key:r.key,reducerFactory:i.reducerFactory?i.reducerFactory:Sm,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return r})}function UP(t){return t.map(e=>e instanceof v?g(e):e)}function w0(t){return typeof t=="function"?t():t}function BP(t,e){return t.concat(e)}function $P(){if(g(Lt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function HP(t,e){return function(r,n){let i=e.action(n)?wm(n):n,o=t(r,i);return e.state()?wm(o):o}}function wm(t){Object.freeze(t);let e=_m(t);return Object.getOwnPropertyNames(t).forEach(r=>{if(!r.startsWith("\u0275")&&AP(t,r)&&(!e||r!=="caller"&&r!=="callee"&&r!=="arguments")){let n=t[r];(y0(n)||_m(n))&&!Object.isFrozen(n)&&wm(n)}}),t}function zP(t,e){return function(r,n){if(e.action(n)){let o=Em(n);c0(o,"action")}let i=t(r,n);if(e.state()){let o=Em(i);c0(o,"state")}return i}}function Em(t,e=[]){return(o0(t)||s0(t))&&e.length===0?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;let o=t[i];return TP(o)?n:o0(o)||s0(o)||xP(o)||CP(o)||IP(o)||b0(o)?!1:SP(o)?Em(o,[...e,i]):{path:[...e,i],value:o}},!1)}function c0(t,e){if(t===!1)return;let r=t.path.join("."),n=new Error(`Detected unserializable ${e} at "${r}". ${Tm}#strict${e}serializability`);throw n.value=t.value,n.unserializablePath=r,n}function GP(t,e){return function(r,n){if(e.action(n)&&!P.isInAngularZone())throw new Error(`Action '${n.type}' running outside NgZone. ${Tm}#strictactionwithinngzone`);return t(r,n)}}function WP(t){return _h()?b({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function qP({strictActionSerializability:t,strictStateSerializability:e}){return r=>t||e?zP(r,{action:n=>t&&!Am(n),state:()=>e}):r}function ZP({strictActionImmutability:t,strictStateImmutability:e}){return r=>t||e?HP(r,{action:n=>t&&!Am(n),state:()=>e}):r}function Am(t){return t.type.startsWith("@ngrx")}function YP({strictActionWithinNgZone:t}){return e=>t?GP(e,{action:r=>t&&!Am(r)}):e}function KP(t){return[{provide:r0,useValue:t},{provide:n0,useFactory:QP,deps:[r0]},{provide:Ns,deps:[n0],useFactory:WP},{provide:tl,multi:!0,deps:[Ns],useFactory:ZP},{provide:tl,multi:!0,deps:[Ns],useFactory:qP},{provide:tl,multi:!0,deps:[Ns],useFactory:YP}]}function E0(){return[{provide:Mm,multi:!0,deps:[Ns],useFactory:XP}]}function QP(t){return t}function XP(t){if(!t.strictActionTypeUniqueness)return;let e=Object.entries(Dm).filter(([,r])=>r>1).map(([r])=>r);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(r=>`"${r}"`).join(", ")}. ${Tm}#strictactiontypeuniqueness`)}function JP(t={},e={}){return[{provide:d0,useFactory:$P},{provide:ZE,useValue:e.initialState},{provide:xm,useFactory:w0,deps:[ZE]},{provide:bm,useValue:t},{provide:QE,useExisting:t instanceof v?t:bm},{provide:h0,deps:[bm,[new Cf(QE)]],useFactory:jP},{provide:e0,useValue:e.metaReducers?e.metaReducers:[]},{provide:t0,deps:[tl,e0],useFactory:BP},{provide:YE,useValue:e.reducerFactory?e.reducerFactory:Sm},{provide:f0,deps:[YE,t0],useFactory:v0},fP,bP,yP,_P,wP,KP(e.runtimeChecks),E0()]}function eL(t,e,r={}){return[{provide:XE,multi:!0,useValue:t instanceof Object?{}:r},{provide:KE,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:!(r instanceof v)&&r.reducerFactory?r.reducerFactory:Sm,metaReducers:!(r instanceof v)&&r.metaReducers?r.metaReducers:[],initialState:!(r instanceof v)&&r.initialState?r.initialState:void 0}},{provide:p0,deps:[XE,KE],useFactory:VP},{provide:ym,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:JE,multi:!0,useExisting:e instanceof v?e:ym},{provide:m0,multi:!0,deps:[ym,[new Cf(JE)]],useFactory:UP},E0()]}var Fs=(()=>{let e=class e{constructor(n,i,o,s,a,c){}};e.\u0275fac=function(i){return new(i||e)(p(Qi),p(Rs),p(Os),p(Lt),p(d0,8),p(Mm,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),sl=(()=>{let e=class e{constructor(n,i,o,s,a){this.features=n,this.featureReducers=i,this.reducerManager=o;let c=n.map((u,l)=>{let f=i.shift()[l];return O(b({},u),{reducers:f,initialState:w0(u.initialState)})});o.addFeatures(c)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}};e.\u0275fac=function(i){return new(i||e)(p(p0),p(m0),p(rl),p(Fs),p(Mm,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),SW=(()=>{let e=class e{static forRoot(n,i){return{ngModule:Fs,providers:[...JP(n,i)]}}static forFeature(n,i,o={}){return{ngModule:sl,providers:[...eL(n,i,o)]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function ks(...t){let e=t.pop(),r=t.map(n=>n.type);return{reducer:e,types:r}}function I0(t,...e){let r=new Map;for(let n of e)for(let i of n.types){let o=r.get(i);if(o){let s=(a,c)=>n.reducer(o(a,c),c);r.set(i,s)}else r.set(i,n.reducer)}return function(n=t,i){let o=r.get(i.type);return o?o(n,i):n}}var Rm={AUTH:{ROOT:"auth",LOGIN:"login"},MODE_SELECT:{ROOT:"mode-select"},WIZARD:{ROOT:"wizard"},MODEL_COMPRESSION:{ROOT:"project-settings"},MACHINE_UNLEARNING:{ROOT:"machine-unlearning"},RUNNING:{ROOT:"running"},MODEL_TRAINING:{ROOT:"model-training"},ALGORITHM_COMPARISON:{ROOT:"algorithm-comparison"},MULTI_MODAL:{ROOT:"multi-modal"},AWQ:{ROOT:"awq"},ADMIN:{ROOT:"admin"},DIFFUSION_MODEL:{ROOT:"diffusion-model"},DEMO:{ROOT:"demo",BUTTONS:"buttons",FORM_FIELDS:"form-fields",TABLE:"table",TYPOGRAPHY:"typography",ICONS:"icons",MENU:"menu",CARDS:"cards",WIZARD:"wizard",CHIPS:"chips",CHECKBOXES:"checkboxes",NOTIFICATIONS:"notifications",DRAWER:"drawer",DIALOG:"dialog"}};var et=u0({source:"[Core -> Auth]",events:{Login:Ki(),"Login Success":Ki(),"Login Failure":Ki(),Logout:Cm(),"Logout Success":Cm(),"Logout Failure":Ki()}});var tL={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},cl="__@ngrx/effects_create__";function Ps(t,e={}){let r=e.functional?t:t(),n=b(b({},tL),e);return Object.defineProperty(r,cl,{value:n}),r}function nL(t){return Object.getOwnPropertyNames(t).filter(n=>t[n]&&t[n].hasOwnProperty(cl)?t[n][cl].hasOwnProperty("dispatch"):!1).map(n=>{let i=t[n][cl];return b({propertyName:n},i)})}function rL(t){return nL(t)}function S0(t){return Object.getPrototypeOf(t)}function iL(t){return!!t.constructor&&t.constructor.name!=="Object"&&t.constructor.name!=="Function"}function T0(t){return typeof t=="function"}function C0(t){return t.filter(T0)}function oL(t){return t instanceof v||T0(t)}function sL(t,e,r){let n=S0(t),o=!!n&&n.constructor.name!=="Object"?n.constructor.name:null,s=rL(t).map(({propertyName:a,dispatch:c,useEffectsErrorHandler:u})=>{let l=typeof t[a]=="function"?t[a]():t[a],d=u?r(l,e):l;return c===!1?d.pipe(to()):d.pipe(Fl()).pipe(C(h=>({effect:t[a],notification:h,propertyName:a,sourceName:o,sourceInstance:t})))});return la(...s)}var aL=10;function A0(t,e,r=aL){return t.pipe(Re(n=>(e&&e.handleError(n),r<=1?t:A0(t,e,r-1))))}var N0=(()=>{let e=class e extends N{constructor(n){super(),n&&(this.source=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}};e.\u0275fac=function(i){return new(i||e)(p(Os))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ls(...t){return le(e=>t.some(r=>typeof r=="string"?r===e.type:r.type===e.type))}var R0=new v("@ngrx/effects Internal Root Guard"),al=new v("@ngrx/effects User Provided Effects"),Om=new v("@ngrx/effects Internal Root Effects"),O0=new v("@ngrx/effects Internal Root Effects Instances"),x0=new v("@ngrx/effects Internal Feature Effects"),F0=new v("@ngrx/effects Internal Feature Effects Instance Groups"),cL=new v("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>A0}),k0="@ngrx/effects/init",BW=Im(k0);function uL(t,e){if(t.notification.kind==="N"){let r=t.notification.value;!lL(r)&&e.handleError(new Error(`Effect ${dL(t)} dispatched an invalid action: ${fL(r)}`))}}function lL(t){return typeof t!="function"&&t&&t.type&&typeof t.type=="string"}function dL({propertyName:t,sourceInstance:e,sourceName:r}){let n=typeof e[t]=="function";return!!r?`"${r}.${String(t)}${n?"()":""}"`:`"${String(t)}()"`}function fL(t){try{return JSON.stringify(t)}catch{return t}}var hL="ngrxOnIdentifyEffects";function pL(t){return Fm(t,hL)}var mL="ngrxOnRunEffects";function gL(t){return Fm(t,mL)}var vL="ngrxOnInitEffects";function bL(t){return Fm(t,vL)}function Fm(t,e){return t&&e in t&&typeof t[e]=="function"}var P0=(()=>{let e=class e extends B{constructor(n,i){super(),this.errorHandler=n,this.effectsErrorHandler=i}addEffects(n){this.next(n)}toActions(){return this.pipe(ha(n=>iL(n)?S0(n):n),Q(n=>n.pipe(ha(yL))),Q(n=>{let i=n.pipe(fa(s=>DL(this.errorHandler,this.effectsErrorHandler)(s)),C(s=>(uL(s,this.errorHandler),s.notification)),le(s=>s.kind==="N"&&s.value!=null),Rl()),o=n.pipe(me(1),le(bL),C(s=>s.ngrxOnInitEffects()));return la(i,o)}))}};e.\u0275fac=function(i){return new(i||e)(p(Te),p(cL))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yL(t){return pL(t)?t.ngrxOnIdentifyEffects():""}function DL(t,e){return r=>{let n=sL(r,t,e);return gL(r)?r.ngrxOnRunEffects(n):n}}var L0=(()=>{let e=class e{get isStarted(){return!!this.effectsSubscription}constructor(n,i){this.effectSources=n,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(p(P0),p(Lt))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),j0=(()=>{let e=class e{constructor(n,i,o,s,a,c,u){this.sources=n,i.start();for(let l of s)n.addEffects(l);o.dispatch({type:k0})}addEffects(n){this.sources.addEffects(n)}};e.\u0275fac=function(i){return new(i||e)(p(P0),p(L0),p(Lt),p(O0),p(Fs,8),p(sl,8),p(R0,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),_L=(()=>{let e=class e{constructor(n,i,o,s){let a=i.flat();for(let c of a)n.addEffects(c)}};e.\u0275fac=function(i){return new(i||e)(p(j0),p(F0),p(Fs,8),p(sl,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),$W=(()=>{let e=class e{static forFeature(...n){let i=n.flat(),o=C0(i);return{ngModule:_L,providers:[o,{provide:x0,multi:!0,useValue:i},{provide:al,multi:!0,useValue:[]},{provide:F0,multi:!0,useFactory:M0,deps:[x0,al]}]}}static forRoot(...n){let i=n.flat(),o=C0(i);return{ngModule:j0,providers:[o,{provide:Om,useValue:[i]},{provide:R0,useFactory:wL},{provide:al,multi:!0,useValue:[]},{provide:O0,useFactory:M0,deps:[Om,al]}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function M0(t,e){let r=[];for(let n of t)r.push(...n);for(let n of e)r.push(...n);return r.map(n=>oL(n)?g(n):n)}function wL(){let t=g(L0,{optional:!0,skipSelf:!0}),e=g(Om,{self:!0});if(!(e.length===1&&e[0].length===0)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var km={production:!0,apiUrl:"rest",backendBaseUrl:"http://localhost:3000",websocketUrl:"ws://localhost:3000/ws",terminalWebSocketUrl:"ws://localhost:3000/terminal"};var js=class{get getMock(){return this.mock}get getMockDelay(){return this.mockDelay}get getMethod(){return this.method}get getUrl(){return this.url}get getParams(){return this.params}get getBody(){return this.body}get getOptions(){return this.options}constructor(e,r,n,i,o){this.mockDelay=0,this.options={},this.method=e,this.params=n,this.options=i||{},o&&(this.mock=o),this.url="",this.mock?this.url=`/mock/${r}`:this.url=`${km.backendBaseUrl}/${km.apiUrl}/${r}`}},V0=class extends js{constructor(e,r,n,i=!0){let o=new rn;r&&(o=r),super("GET",e,o,n,i)}},ul=class extends js{constructor(e,r,n=!0){super("POST",e,void 0,void 0,n),this.body=r}},ll=class extends js{constructor(e,r=!0){super("PUT",e,void 0,void 0,r)}};var dl=class extends ul{constructor(e){super("login/authenticate",b({},e)),this.mock&&(this.url+="/post-response-body-200.json")}};var fl=class extends ll{constructor(){super("user/logout"),this.mock&&(this.url+="/put-response-body-200.json")}};var U0=new v("CLIENT");var Pm=_0("core");var hl=ol(Pm,t=>t.auth.isAuthenticated),B0=ol(Pm,t=>t.auth.user);var pq=(()=>{let e=class e{constructor(n,i,o,s){this.apiClient=n,this.actions$=i,this.store=o,this.router=s,this.login$=Ps(()=>this.actions$.pipe(Ls(et.login),fo(this.store.select(hl)),le(([a,c])=>!c),Q(([a,c])=>this.apiClient.serviceCall(new dl({email:a.email,password:a.password})).pipe(C(u=>et.loginSuccess({user:u})),Re(u=>[et.loginFailure({error:u})]))))),this.loginRedirect$=Ps(()=>this.actions$.pipe(Ls(et.loginSuccess),ee(()=>this.router.navigate([`${Rm.MODE_SELECT.ROOT}`]))),{dispatch:!1}),this.logout$=Ps(()=>this.actions$.pipe(Ls(et.logout),Q(()=>this.apiClient.serviceCall(new fl).pipe(C(()=>et.logoutSuccess()),Re(a=>[et.logoutFailure({error:a})]))))),this.logoutRedirect$=Ps(()=>this.actions$.pipe(Ls(et.logoutSuccess),ee(()=>this.router.navigate([`${Rm.AUTH.ROOT}`]))),{dispatch:!1})}};e.\u0275fac=function(i){return new(i||e)(p(U0),p(N0),p(Lt),p(Ct))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();var IL={isAuthenticated:!1,user:{},error:null},bq=I0(IL,ks(et.loginSuccess,(t,{user:e})=>O(b({},t),{isAuthenticated:!0,user:b({},e),error:null})),ks(et.loginFailure,(t,{error:e})=>O(b({},t),{error:e})),ks(et.logoutSuccess,()=>({isAuthenticated:!1,user:{},token:null,error:null})),ks(et.logoutFailure,(t,{error:e})=>O(b({},t),{error:e})));var Sq=(()=>{let e=class e{constructor(n){this.store=n,this.isAuthenticated$=this.store.select(hl),this.user$=this.store.select(B0)}dispatch(n){this.store.dispatch(n)}};e.\u0275fac=function(i){return new(i||e)(p(Lt))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();export{b as a,O as b,Vm as c,CL as d,xL as e,Vr as f,ae as g,N as h,qr as i,B as j,de as k,io as l,fI as m,Sl as n,xe as o,SL as p,lr as q,re as r,x as s,Bt as t,Al as u,pI as v,C as w,dr as x,Q as y,so as z,Nl as A,ro as B,la as C,le as D,AI as E,Re as F,$t as G,Yr as H,me as I,ag as J,Kr as K,ht as L,co as M,uo as N,OI as O,Xr as P,lo as Q,Ve as R,jn as S,FI as T,ee as U,fo as V,I as W,ye as X,Ot as Y,D as Z,H as _,v as $,YI as aa,p as ba,g as ca,yi as da,Mo as ea,fn as fa,nt as ga,z as ha,G as ia,pc as ja,vn as ka,TC as la,Fe as ma,it as na,Nz as oa,Rz as pa,Oz as qa,Fz as ra,Zn as sa,Fo as ta,ke as ua,Te as va,ne as wa,X as xa,li as ya,kz as za,Yn as Aa,Pz as Ba,Lz as Ca,Ci as Da,y as Ea,wr as Fa,pi as Ga,mi as Ha,Xt as Ia,P as Ja,lT as Ka,Bo as La,yn as Ma,be as Na,st as Oa,kc as Pa,Xe as Qa,Mi as Ra,hD as Sa,we as Ta,Uz as Ua,Si as Va,Bz as Wa,Pc as Xa,$z as Ya,Hz as Za,zz as _a,_n as $a,wn as ab,Je as bb,wD as cb,ED as db,IA as eb,Gz as fb,mh as gb,MA as hb,En as ib,FA as jb,Lc as kb,Jt as lb,Le as mb,jA as nb,xD as ob,MD as pb,jc as qb,Vc as rb,Wz as sb,vh as tb,$A as ub,Ho as vb,HA as wb,qz as xb,zA as yb,_t as zb,at as Ab,Zz as Bb,Yz as Cb,Kz as Db,Qz as Eb,Xz as Fb,Jz as Gb,e3 as Hb,en as Ib,_h as Jb,wt as Kb,wh as Lb,Ee as Mb,Eh as Nb,ct as Ob,W as Pb,Ai as Qb,D3 as Rb,_3 as Sb,w3 as Tb,E3 as Ub,I3 as Vb,C3 as Wb,x3 as Xb,M3 as Yb,r_ as Zb,on as _b,Gh as $b,dR as ac,V3 as bc,U3 as cc,S_ as dc,t4 as ec,n4 as fc,tp as gc,r4 as hc,Pt as ic,nr as jc,SO as kc,Ct as lc,W_ as mc,_4 as nc,w4 as oc,E4 as pc,Mt as qc,rW as rc,iW as sc,oW as tc,sW as uc,aW as vc,cW as wc,uW as xc,lW as yc,dW as zc,fW as Ac,hW as Bc,pW as Cc,WE as Dc,qE as Ec,mW as Fc,gm as Gc,Ki as Hc,u0 as Ic,Cm as Jc,l0 as Kc,Qi as Lc,xm as Mc,Rs as Nc,nl as Oc,vP as Pc,Os as Qc,il as Rc,Lt as Sc,ol as Tc,_0 as Uc,SW as Vc,ks as Wc,I0 as Xc,Ps as Yc,N0 as Zc,Ls as _c,$W as $c,Rm as ad,Pm as bd,Vk as cd,Uk as dd,Bk as ed,em as fd,oG as gd,kr as hd,je as id,tG as jd,Zi as kd,nG as ld,jk as md,Nn as nd,uE as od,Wu as pd,lE as qd,hE as rd,gG as sd,l1 as td,d1 as ud,FG as vd,mE as wd,gE as xd,im as yd,om as zd,kG as Ad,wE as Bd,PG as Cd,qG as Dd,am as Ed,p5 as Fd,m5 as Gd,an as Hd,EE as Id,g5 as Jd,RE as Kd,OE as Ld,pm as Md,B1 as Nd,FE as Od,kE as Pd,v5 as Qd,b5 as Rd,y5 as Sd,D5 as Td,_5 as Ud,PE as Vd,w5 as Wd,Bu as Xd,Vw as Yd,Rr as Zd,Aw as _d,Ge as $d,An as ae,B4 as be,$4 as ce,Gi as de,Ik as ee,xs as fe,Sk as ge,z4 as he,Ak as ie,nE as je,rE as ke,iE as le,kk as me,Hp as ne,G4 as oe,W4 as pe,q4 as qe,P5 as re,L5 as se,j5 as te,V5 as ue,eP as ve,eW as we,tW as xe,et as ye,km as ze,V0 as Ae,ul as Be,U0 as Ce,pq as De,bq as Ee,Sq as Fe}; + before dispatching the action. For example, someAction should be someAction().`);if(typeof n>"u")throw new TypeError("Actions must be objects");if(typeof n.type>"u")throw new TypeError("Actions must have a type property");super.next(n)}complete(){}ngOnDestroy(){super.complete()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),pP=[Qi],f0=new v("@ngrx/store Internal Root Guard"),YE=new v("@ngrx/store Internal Initial State"),xm=new v("@ngrx/store Initial State"),h0=new v("@ngrx/store Reducer Factory"),KE=new v("@ngrx/store Internal Reducer Factory Provider"),p0=new v("@ngrx/store Initial Reducers"),bm=new v("@ngrx/store Internal Initial Reducers"),QE=new v("@ngrx/store Store Features"),XE=new v("@ngrx/store Internal Store Reducers"),ym=new v("@ngrx/store Internal Feature Reducers"),JE=new v("@ngrx/store Internal Feature Configs"),m0=new v("@ngrx/store Internal Store Features"),e0=new v("@ngrx/store Internal Feature Reducers Token"),g0=new v("@ngrx/store Feature Reducers"),t0=new v("@ngrx/store User Provided Meta Reducers"),tl=new v("@ngrx/store Meta Reducers"),n0=new v("@ngrx/store Internal Resolved Meta Reducers"),r0=new v("@ngrx/store User Runtime Checks Config"),i0=new v("@ngrx/store Internal User Runtime Checks Config"),Ns=new v("@ngrx/store Internal Runtime Checks"),Mm=new v("@ngrx/store Check if Action types are unique"),mP=new v("@ngrx/store Root Store Provider"),gP=new v("@ngrx/store Feature State Provider");function Sm(t,e={}){let r=Object.keys(t),n={};for(let o=0;or!==e).reduce((r,n)=>Object.assign(r,{[n]:t[n]}),{})}function v0(...t){return function(e){if(t.length===0)return e;let r=t[t.length-1];return t.slice(0,-1).reduceRight((i,o)=>o(i),r(e))}}function b0(t,e){return Array.isArray(e)&&e.length>0&&(t=v0.apply(null,[...e,t])),(r,n)=>{let i=t(r);return(o,s)=>(o=o===void 0?n:o,i(o,s))}}function bP(t){let e=Array.isArray(t)&&t.length>0?v0(...t):r=>r;return(r,n)=>(r=e(r),(i,o)=>(i=i===void 0?n:i,r(i,o)))}var Rs=class extends N{},nl=class extends Qi{},yP="@ngrx/store/update-reducers",rl=(()=>{let e=class e extends de{get currentReducers(){return this.reducers}constructor(n,i,o,s){super(s(o,i)),this.dispatcher=n,this.initialState=i,this.reducers=o,this.reducerFactory=s}addFeature(n){this.addFeatures([n])}addFeatures(n){let i=n.reduce((o,{reducers:s,reducerFactory:a,metaReducers:c,initialState:u,key:l})=>{let d=typeof s=="function"?bP(c)(s,u):b0(a,c)(s,u);return o[l]=d,o},{});this.addReducers(i)}removeFeature(n){this.removeFeatures([n])}removeFeatures(n){this.removeReducers(n.map(i=>i.key))}addReducer(n,i){this.addReducers({[n]:i})}addReducers(n){this.reducers=b(b({},this.reducers),n),this.updateReducers(Object.keys(n))}removeReducer(n){this.removeReducers([n])}removeReducers(n){n.forEach(i=>{this.reducers=vP(this.reducers,i)}),this.updateReducers(n)}updateReducers(n){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:yP,features:n})}ngOnDestroy(){this.complete()}};e.\u0275fac=function(i){return new(i||e)(p(nl),p(xm),p(p0),p(h0))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),DP=[rl,{provide:Rs,useExisting:rl},{provide:nl,useExisting:Qi}],Os=(()=>{let e=class e extends B{ngOnDestroy(){this.complete()}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Yn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),_P=[Os],il=class extends N{},o0=(()=>{let e=class e extends de{constructor(n,i,o,s){super(s);let c=n.pipe(dr(Sl)).pipe(fo(i)),u={state:s},l=c.pipe(co(wP,u));this.stateSubscription=l.subscribe(({state:d,action:f})=>{this.next(d),o.next(f)}),this.state=gm(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}};e.INIT=d0,e.\u0275fac=function(i){return new(i||e)(p(Qi),p(Rs),p(Os),p(xm))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function wP(t={state:void 0},[e,r]){let{state:n}=t;return{state:r(n,e),action:e}}var EP=[o0,{provide:il,useExisting:o0}],Lt=(()=>{let e=class e extends N{constructor(n,i,o){super(),this.actionsObserver=i,this.reducerManager=o,this.source=n,this.state=n.state}select(n,...i){return CP.call(null,n,...i)(this)}selectSignal(n,i){return tn(()=>n(this.state()),i)}lift(n){let i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=n,i}dispatch(n){this.actionsObserver.next(n)}next(n){this.actionsObserver.next(n)}error(n){this.actionsObserver.error(n)}complete(){this.actionsObserver.complete()}addReducer(n,i){this.reducerManager.addReducer(n,i)}removeReducer(n){this.reducerManager.removeReducer(n)}};e.\u0275fac=function(i){return new(i||e)(p(il),p(Qi),p(rl))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),IP=[Lt];function CP(t,e,...r){return function(i){let o;if(typeof t=="string"){let s=[e,...r].filter(Boolean);o=i.pipe(kl(t,...s))}else if(typeof t=="function")o=i.pipe(C(s=>t(s,e)));else throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);return o.pipe(Qr())}}var Tm="https://ngrx.io/guide/store/configuration/runtime-checks";function s0(t){return t===void 0}function a0(t){return t===null}function y0(t){return Array.isArray(t)}function xP(t){return typeof t=="string"}function MP(t){return typeof t=="boolean"}function SP(t){return typeof t=="number"}function D0(t){return typeof t=="object"&&t!==null}function TP(t){return D0(t)&&!y0(t)}function AP(t){if(!TP(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||e===null}function _m(t){return typeof t=="function"}function NP(t){return _m(t)&&t.hasOwnProperty("\u0275cmp")}function RP(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var OP=!1;function FP(){return OP}function c0(t,e){return t===e}function kP(t,e,r){for(let n=0;ns(t));return n.memoized.apply(null,o)}let i=e.map(o=>o(t,r));return n.memoized.apply(null,[...i,r])}function LP(t,e={stateFn:PP}){return function(...r){let n=r;if(Array.isArray(n[0])){let[l,...d]=n;n=[...l,...d]}else n.length===1&&jP(n[0])&&(n=VP(n[0]));let i=n.slice(0,n.length-1),o=n[n.length-1],s=i.filter(l=>l.release&&typeof l.release=="function"),a=t(function(...l){return o.apply(null,l)}),c=_0(function(l,d){return e.stateFn.apply(null,[l,i,d,a])});function u(){c.reset(),a.reset(),s.forEach(l=>l.release())}return Object.assign(c.memoized,{release:u,projector:a.memoized,setResult:c.setResult,clearResult:c.clearResult})}}function w0(t){return ol(e=>{let r=e[t];return!FP()&&_h()&&!(t in e)&&console.warn(`@ngrx/store: The feature name "${t}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${t}', ...) or StoreModule.forFeature('${t}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),r},e=>e)}function jP(t){return!!t&&typeof t=="object"&&Object.values(t).every(e=>typeof e=="function")}function VP(t){let e=Object.values(t),r=Object.keys(t),n=(...i)=>r.reduce((o,s,a)=>O(b({},o),{[s]:i[a]}),{});return[...e,n]}function UP(t){return t instanceof v?g(t):t}function BP(t,e){return e.map((r,n)=>{if(t[n]instanceof v){let i=g(t[n]);return{key:r.key,reducerFactory:i.reducerFactory?i.reducerFactory:Sm,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return r})}function $P(t){return t.map(e=>e instanceof v?g(e):e)}function E0(t){return typeof t=="function"?t():t}function HP(t,e){return t.concat(e)}function zP(){if(g(Lt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function GP(t,e){return function(r,n){let i=e.action(n)?wm(n):n,o=t(r,i);return e.state()?wm(o):o}}function wm(t){Object.freeze(t);let e=_m(t);return Object.getOwnPropertyNames(t).forEach(r=>{if(!r.startsWith("\u0275")&&RP(t,r)&&(!e||r!=="caller"&&r!=="callee"&&r!=="arguments")){let n=t[r];(D0(n)||_m(n))&&!Object.isFrozen(n)&&wm(n)}}),t}function WP(t,e){return function(r,n){if(e.action(n)){let o=Em(n);u0(o,"action")}let i=t(r,n);if(e.state()){let o=Em(i);u0(o,"state")}return i}}function Em(t,e=[]){return(s0(t)||a0(t))&&e.length===0?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;let o=t[i];return NP(o)?n:s0(o)||a0(o)||SP(o)||MP(o)||xP(o)||y0(o)?!1:AP(o)?Em(o,[...e,i]):{path:[...e,i],value:o}},!1)}function u0(t,e){if(t===!1)return;let r=t.path.join("."),n=new Error(`Detected unserializable ${e} at "${r}". ${Tm}#strict${e}serializability`);throw n.value=t.value,n.unserializablePath=r,n}function qP(t,e){return function(r,n){if(e.action(n)&&!P.isInAngularZone())throw new Error(`Action '${n.type}' running outside NgZone. ${Tm}#strictactionwithinngzone`);return t(r,n)}}function ZP(t){return _h()?b({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function YP({strictActionSerializability:t,strictStateSerializability:e}){return r=>t||e?WP(r,{action:n=>t&&!Am(n),state:()=>e}):r}function KP({strictActionImmutability:t,strictStateImmutability:e}){return r=>t||e?GP(r,{action:n=>t&&!Am(n),state:()=>e}):r}function Am(t){return t.type.startsWith("@ngrx")}function QP({strictActionWithinNgZone:t}){return e=>t?qP(e,{action:r=>t&&!Am(r)}):e}function XP(t){return[{provide:i0,useValue:t},{provide:r0,useFactory:JP,deps:[i0]},{provide:Ns,deps:[r0],useFactory:ZP},{provide:tl,multi:!0,deps:[Ns],useFactory:KP},{provide:tl,multi:!0,deps:[Ns],useFactory:YP},{provide:tl,multi:!0,deps:[Ns],useFactory:QP}]}function I0(){return[{provide:Mm,multi:!0,deps:[Ns],useFactory:eL}]}function JP(t){return t}function eL(t){if(!t.strictActionTypeUniqueness)return;let e=Object.entries(Dm).filter(([,r])=>r>1).map(([r])=>r);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(r=>`"${r}"`).join(", ")}. ${Tm}#strictactiontypeuniqueness`)}function tL(t={},e={}){return[{provide:f0,useFactory:zP},{provide:YE,useValue:e.initialState},{provide:xm,useFactory:E0,deps:[YE]},{provide:bm,useValue:t},{provide:XE,useExisting:t instanceof v?t:bm},{provide:p0,deps:[bm,[new Cf(XE)]],useFactory:UP},{provide:t0,useValue:e.metaReducers?e.metaReducers:[]},{provide:n0,deps:[tl,t0],useFactory:HP},{provide:KE,useValue:e.reducerFactory?e.reducerFactory:Sm},{provide:h0,deps:[KE,n0],useFactory:b0},pP,DP,_P,EP,IP,XP(e.runtimeChecks),I0()]}function nL(t,e,r={}){return[{provide:JE,multi:!0,useValue:t instanceof Object?{}:r},{provide:QE,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:!(r instanceof v)&&r.reducerFactory?r.reducerFactory:Sm,metaReducers:!(r instanceof v)&&r.metaReducers?r.metaReducers:[],initialState:!(r instanceof v)&&r.initialState?r.initialState:void 0}},{provide:m0,deps:[JE,QE],useFactory:BP},{provide:ym,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:e0,multi:!0,useExisting:e instanceof v?e:ym},{provide:g0,multi:!0,deps:[ym,[new Cf(e0)]],useFactory:$P},I0()]}var Fs=(()=>{let e=class e{constructor(n,i,o,s,a,c){}};e.\u0275fac=function(i){return new(i||e)(p(Qi),p(Rs),p(Os),p(Lt),p(f0,8),p(Mm,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),sl=(()=>{let e=class e{constructor(n,i,o,s,a){this.features=n,this.featureReducers=i,this.reducerManager=o;let c=n.map((u,l)=>{let f=i.shift()[l];return O(b({},u),{reducers:f,initialState:E0(u.initialState)})});o.addFeatures(c)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}};e.\u0275fac=function(i){return new(i||e)(p(m0),p(g0),p(rl),p(Fs),p(Mm,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),AW=(()=>{let e=class e{static forRoot(n,i){return{ngModule:Fs,providers:[...tL(n,i)]}}static forFeature(n,i,o={}){return{ngModule:sl,providers:[...nL(n,i,o)]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function ks(...t){let e=t.pop(),r=t.map(n=>n.type);return{reducer:e,types:r}}function C0(t,...e){let r=new Map;for(let n of e)for(let i of n.types){let o=r.get(i);if(o){let s=(a,c)=>n.reducer(o(a,c),c);r.set(i,s)}else r.set(i,n.reducer)}return function(n=t,i){let o=r.get(i.type);return o?o(n,i):n}}var Rm={AUTH:{ROOT:"auth",LOGIN:"login"},MODE_SELECT:{ROOT:"mode-select"},WIZARD:{ROOT:"wizard"},MODEL_COMPRESSION:{ROOT:"project-settings"},MACHINE_UNLEARNING:{ROOT:"machine-unlearning"},RUNNING:{ROOT:"running"},MODEL_TRAINING:{ROOT:"model-training"},ALGORITHM_COMPARISON:{ROOT:"algorithm-comparison"},MULTI_MODAL:{ROOT:"multi-modal"},AWQ:{ROOT:"awq"},ADMIN:{ROOT:"admin"},DIFFUSION_MODEL:{ROOT:"diffusion-model"},DEMO:{ROOT:"demo",BUTTONS:"buttons",FORM_FIELDS:"form-fields",TABLE:"table",TYPOGRAPHY:"typography",ICONS:"icons",MENU:"menu",CARDS:"cards",WIZARD:"wizard",CHIPS:"chips",CHECKBOXES:"checkboxes",NOTIFICATIONS:"notifications",DRAWER:"drawer",DIALOG:"dialog"}};var et=l0({source:"[Core -> Auth]",events:{Login:Ki(),"Login Success":Ki(),"Login Failure":Ki(),Logout:Cm(),"Logout Success":Cm(),"Logout Failure":Ki()}});var rL={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},cl="__@ngrx/effects_create__";function Ps(t,e={}){let r=e.functional?t:t(),n=b(b({},rL),e);return Object.defineProperty(r,cl,{value:n}),r}function iL(t){return Object.getOwnPropertyNames(t).filter(n=>t[n]&&t[n].hasOwnProperty(cl)?t[n][cl].hasOwnProperty("dispatch"):!1).map(n=>{let i=t[n][cl];return b({propertyName:n},i)})}function oL(t){return iL(t)}function T0(t){return Object.getPrototypeOf(t)}function sL(t){return!!t.constructor&&t.constructor.name!=="Object"&&t.constructor.name!=="Function"}function A0(t){return typeof t=="function"}function x0(t){return t.filter(A0)}function aL(t){return t instanceof v||A0(t)}function cL(t,e,r){let n=T0(t),o=!!n&&n.constructor.name!=="Object"?n.constructor.name:null,s=oL(t).map(({propertyName:a,dispatch:c,useEffectsErrorHandler:u})=>{let l=typeof t[a]=="function"?t[a]():t[a],d=u?r(l,e):l;return c===!1?d.pipe(to()):d.pipe(Fl()).pipe(C(h=>({effect:t[a],notification:h,propertyName:a,sourceName:o,sourceInstance:t})))});return la(...s)}var uL=10;function N0(t,e,r=uL){return t.pipe(Re(n=>(e&&e.handleError(n),r<=1?t:N0(t,e,r-1))))}var R0=(()=>{let e=class e extends N{constructor(n){super(),n&&(this.source=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}};e.\u0275fac=function(i){return new(i||e)(p(Os))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ls(...t){return le(e=>t.some(r=>typeof r=="string"?r===e.type:r.type===e.type))}var O0=new v("@ngrx/effects Internal Root Guard"),al=new v("@ngrx/effects User Provided Effects"),Om=new v("@ngrx/effects Internal Root Effects"),F0=new v("@ngrx/effects Internal Root Effects Instances"),M0=new v("@ngrx/effects Internal Feature Effects"),k0=new v("@ngrx/effects Internal Feature Effects Instance Groups"),lL=new v("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>N0}),P0="@ngrx/effects/init",HW=Im(P0);function dL(t,e){if(t.notification.kind==="N"){let r=t.notification.value;!fL(r)&&e.handleError(new Error(`Effect ${hL(t)} dispatched an invalid action: ${pL(r)}`))}}function fL(t){return typeof t!="function"&&t&&t.type&&typeof t.type=="string"}function hL({propertyName:t,sourceInstance:e,sourceName:r}){let n=typeof e[t]=="function";return!!r?`"${r}.${String(t)}${n?"()":""}"`:`"${String(t)}()"`}function pL(t){try{return JSON.stringify(t)}catch{return t}}var mL="ngrxOnIdentifyEffects";function gL(t){return Fm(t,mL)}var vL="ngrxOnRunEffects";function bL(t){return Fm(t,vL)}var yL="ngrxOnInitEffects";function DL(t){return Fm(t,yL)}function Fm(t,e){return t&&e in t&&typeof t[e]=="function"}var L0=(()=>{let e=class e extends B{constructor(n,i){super(),this.errorHandler=n,this.effectsErrorHandler=i}addEffects(n){this.next(n)}toActions(){return this.pipe(ha(n=>sL(n)?T0(n):n),Q(n=>n.pipe(ha(_L))),Q(n=>{let i=n.pipe(fa(s=>wL(this.errorHandler,this.effectsErrorHandler)(s)),C(s=>(dL(s,this.errorHandler),s.notification)),le(s=>s.kind==="N"&&s.value!=null),Rl()),o=n.pipe(me(1),le(DL),C(s=>s.ngrxOnInitEffects()));return la(i,o)}))}};e.\u0275fac=function(i){return new(i||e)(p(Te),p(lL))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _L(t){return gL(t)?t.ngrxOnIdentifyEffects():""}function wL(t,e){return r=>{let n=cL(r,t,e);return bL(r)?r.ngrxOnRunEffects(n):n}}var j0=(()=>{let e=class e{get isStarted(){return!!this.effectsSubscription}constructor(n,i){this.effectSources=n,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(p(L0),p(Lt))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),V0=(()=>{let e=class e{constructor(n,i,o,s,a,c,u){this.sources=n,i.start();for(let l of s)n.addEffects(l);o.dispatch({type:P0})}addEffects(n){this.sources.addEffects(n)}};e.\u0275fac=function(i){return new(i||e)(p(L0),p(j0),p(Lt),p(F0),p(Fs,8),p(sl,8),p(O0,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),EL=(()=>{let e=class e{constructor(n,i,o,s){let a=i.flat();for(let c of a)n.addEffects(c)}};e.\u0275fac=function(i){return new(i||e)(p(V0),p(k0),p(Fs,8),p(sl,8))},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})(),zW=(()=>{let e=class e{static forFeature(...n){let i=n.flat(),o=x0(i);return{ngModule:EL,providers:[o,{provide:M0,multi:!0,useValue:i},{provide:al,multi:!0,useValue:[]},{provide:k0,multi:!0,useFactory:S0,deps:[M0,al]}]}}static forRoot(...n){let i=n.flat(),o=x0(i);return{ngModule:V0,providers:[o,{provide:Om,useValue:[i]},{provide:O0,useFactory:IL},{provide:al,multi:!0,useValue:[]},{provide:F0,useFactory:S0,deps:[Om,al]}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=z({type:e}),e.\u0275inj=H({});let t=e;return t})();function S0(t,e){let r=[];for(let n of t)r.push(...n);for(let n of e)r.push(...n);return r.map(n=>aL(n)?g(n):n)}function IL(){let t=g(j0,{optional:!0,skipSelf:!0}),e=g(Om,{self:!0});if(!(e.length===1&&e[0].length===0)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var km={production:!0,apiUrl:"rest",backendBaseUrl:"http://localhost:3000",websocketUrl:"ws://localhost:3000/ws",terminalWebSocketUrl:"ws://localhost:3000/terminal"};var js=class{get getMock(){return this.mock}get getMockDelay(){return this.mockDelay}get getMethod(){return this.method}get getUrl(){return this.url}get getParams(){return this.params}get getBody(){return this.body}get getOptions(){return this.options}constructor(e,r,n,i,o){this.mockDelay=0,this.options={},this.method=e,this.params=n,this.options=i||{},o&&(this.mock=o),this.url="",this.mock?this.url=`/mock/${r}`:this.url=`${km.backendBaseUrl}/${km.apiUrl}/${r}`}},U0=class extends js{constructor(e,r,n,i=!0){let o=new rn;r&&(o=r),super("GET",e,o,n,i)}},ul=class extends js{constructor(e,r,n=!0){super("POST",e,void 0,void 0,n),this.body=r}},ll=class extends js{constructor(e,r=!0){super("PUT",e,void 0,void 0,r)}};var dl=class extends ul{constructor(e){super("login/authenticate",b({},e)),this.mock&&(this.url+="/post-response-body-200.json")}};var fl=class extends ll{constructor(){super("user/logout"),this.mock&&(this.url+="/put-response-body-200.json")}};var B0=new v("CLIENT");var Pm=w0("core");var hl=ol(Pm,t=>t.auth.isAuthenticated),$0=ol(Pm,t=>t.auth.user);var gq=(()=>{let e=class e{constructor(n,i,o,s){this.apiClient=n,this.actions$=i,this.store=o,this.router=s,this.login$=Ps(()=>this.actions$.pipe(Ls(et.login),fo(this.store.select(hl)),le(([a,c])=>!c),Q(([a,c])=>this.apiClient.serviceCall(new dl({email:a.email,password:a.password})).pipe(C(u=>et.loginSuccess({user:u})),Re(u=>[et.loginFailure({error:u})]))))),this.loginRedirect$=Ps(()=>this.actions$.pipe(Ls(et.loginSuccess),ee(()=>this.router.navigate([`${Rm.MODE_SELECT.ROOT}`]))),{dispatch:!1}),this.logout$=Ps(()=>this.actions$.pipe(Ls(et.logout),Q(()=>this.apiClient.serviceCall(new fl).pipe(C(()=>et.logoutSuccess()),Re(a=>[et.logoutFailure({error:a})]))))),this.logoutRedirect$=Ps(()=>this.actions$.pipe(Ls(et.logoutSuccess),ee(()=>this.router.navigate([`${Rm.AUTH.ROOT}`]))),{dispatch:!1})}};e.\u0275fac=function(i){return new(i||e)(p(B0),p(R0),p(Lt),p(Ct))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();var xL={isAuthenticated:!1,user:{},error:null},Dq=C0(xL,ks(et.loginSuccess,(t,{user:e})=>O(b({},t),{isAuthenticated:!0,user:b({},e),error:null})),ks(et.loginFailure,(t,{error:e})=>O(b({},t),{error:e})),ks(et.logoutSuccess,()=>({isAuthenticated:!1,user:{},token:null,error:null})),ks(et.logoutFailure,(t,{error:e})=>O(b({},t),{error:e})));var Aq=(()=>{let e=class e{constructor(n){this.store=n,this.isAuthenticated$=this.store.select(hl),this.user$=this.store.select($0)}dispatch(n){this.store.dispatch(n)}};e.\u0275fac=function(i){return new(i||e)(p(Lt))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();export{b as a,O as b,Vm as c,ML as d,SL as e,Ur as f,ce as g,N as h,Zr as i,B as j,de as k,io as l,hI as m,Sl as n,xe as o,AL as p,dr as q,re as r,x as s,Bt as t,Al as u,mI as v,C as w,fr as x,Q as y,so as z,Nl as A,ro as B,la as C,le as D,NI as E,Re as F,$t as G,Kr as H,me as I,ag as J,Qr as K,ht as L,co as M,uo as N,FI as O,Jr as P,lo as Q,Ve as R,jn as S,kI as T,ee as U,fo as V,I as W,ye as X,Ot as Y,D as Z,H as _,v as $,KI as aa,p as ba,g as ca,Di as da,Mo as ea,fn as fa,nt as ga,z as ha,G as ia,pc as ja,vn as ka,AC as la,Fe as ma,it as na,Oz as oa,Fz as pa,kz as qa,Pz as ra,Yn as sa,Fo as ta,ke as ua,Te as va,ne as wa,X as xa,di as ya,Lz as za,Kn as Aa,jz as Ba,Vz as Ca,xi as Da,y as Ea,Er as Fa,mi as Ga,gi as Ha,Xt as Ia,P as Ja,dT as Ka,Bo as La,yn as Ma,be as Na,st as Oa,kc as Pa,Xe as Qa,Mi as Ra,hD as Sa,we as Ta,$z as Ua,Si as Va,Hz as Wa,Pc as Xa,zz as Ya,Gz as Za,Wz as _a,_n as $a,wn as ab,Je as bb,wD as cb,ED as db,CA as eb,qz as fb,mh as gb,SA as hb,En as ib,kA as jb,Lc as kb,Jt as lb,Le as mb,VA as nb,xD as ob,MD as pb,jc as qb,Vc as rb,Zz as sb,vh as tb,$A as ub,Ho as vb,HA as wb,Yz as xb,zA as yb,WA as zb,_t as Ab,at as Bb,Kz as Cb,Qz as Db,Xz as Eb,Jz as Fb,e3 as Gb,t3 as Hb,n3 as Ib,en as Jb,_h as Kb,wt as Lb,wh as Mb,Ee as Nb,Eh as Ob,ct as Pb,W as Qb,Ai as Rb,w3 as Sb,E3 as Tb,I3 as Ub,C3 as Vb,x3 as Wb,M3 as Xb,S3 as Yb,T3 as Zb,i_ as _b,on as $b,Gh as ac,hR as bc,B3 as cc,$3 as dc,T_ as ec,r4 as fc,i4 as gc,tp as hc,o4 as ic,Pt as jc,rr as kc,AO as lc,Ct as mc,q_ as nc,E4 as oc,I4 as pc,C4 as qc,Mt as rc,oW as sc,sW as tc,aW as uc,cW as vc,uW as wc,lW as xc,dW as yc,fW as zc,hW as Ac,pW as Bc,mW as Cc,gW as Dc,qE as Ec,ZE as Fc,vW as Gc,gm as Hc,Ki as Ic,l0 as Jc,Cm as Kc,d0 as Lc,Qi as Mc,xm as Nc,Rs as Oc,nl as Pc,yP as Qc,Os as Rc,il as Sc,Lt as Tc,ol as Uc,w0 as Vc,AW as Wc,ks as Xc,C0 as Yc,Ps as Zc,R0 as _c,Ls as $c,zW as ad,Rm as bd,Pm as cd,Bk as dd,$k as ed,Hk as fd,em as gd,aG as hd,Pr as id,je as jd,rG as kd,Zi as ld,iG as md,Uk as nd,Nn as od,lE as pd,Wu as qd,dE as rd,pE as sd,bG as td,f1 as ud,h1 as vd,PG as wd,gE as xd,vE as yd,im as zd,om as Ad,LG as Bd,EE as Cd,jG as Dd,YG as Ed,am as Fd,g5 as Gd,v5 as Hd,an as Id,IE as Jd,b5 as Kd,OE as Ld,FE as Md,pm as Nd,H1 as Od,kE as Pd,PE as Qd,y5 as Rd,D5 as Sd,_5 as Td,w5 as Ud,E5 as Vd,LE as Wd,I5 as Xd,Bu as Yd,Uw as Zd,Or as _d,Nw as $d,Ge as ae,An as be,H4 as ce,z4 as de,Gi as ee,xk as fe,xs as ge,Ak as he,W4 as ie,Rk as je,rE as ke,iE as le,oE as me,Lk as ne,Hp as oe,q4 as pe,Z4 as qe,Y4 as re,j5 as se,V5 as te,U5 as ue,B5 as ve,nP as we,nW as xe,rW as ye,et as ze,km as Ae,U0 as Be,ul as Ce,B0 as De,gq as Ee,Dq as Fe,Aq as Ge}; diff --git a/frontend/server/modelsmith-build/browser/chunk-NGJ5CWHR.js b/frontend/server/modelsmith-build/browser/chunk-NBUJA3ZB.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-NGJ5CWHR.js rename to frontend/server/modelsmith-build/browser/chunk-NBUJA3ZB.js index e17f9f92..89471fb0 100644 --- a/frontend/server/modelsmith-build/browser/chunk-NGJ5CWHR.js +++ b/frontend/server/modelsmith-build/browser/chunk-NBUJA3ZB.js @@ -1 +1 @@ -import{$ as y,$a as o,Aa as C,Ab as W,Da as a,Ea as l,Hb as P,Hd as B,Nb as _,Oa as T,Pa as x,Qa as n,Ra as p,Sa as g,Ta as E,Va as z,Vb as N,Zb as D,_ as v,ab as m,bb as f,eb as u,ga as b,ha as k,kb as I,pb as M,qa as h,qb as O,ra as w,rb as A,sb as R,wa as S}from"./chunk-MDAOMI2L.js";var F=["determinateSpinner"];function L(c,i){if(c&1&&(h(),o(0,"svg",11),f(1,"circle",12),m()),c&2){let d=I();n("viewBox",d._viewBox()),a(),g("stroke-dasharray",d._strokeCircumference(),"px")("stroke-dashoffset",d._strokeCircumference()/2,"px")("stroke-width",d._circleStrokeWidth(),"%"),n("r",d._circleRadius())}}var V=new y("mat-progress-spinner-default-options",{providedIn:"root",factory:G});function G(){return{diameter:j}}var j=100,Q=10,tr=(()=>{let i=class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=j,this._noopAnimations=t==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-Q)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};i.\u0275fac=function(t){return new(t||i)(l(S),l(C,8),l(V))},i.\u0275cmp=b({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,r){if(t&1&&M(F,5),t&2){let s;O(s=A())&&(r._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,r){t&2&&(n("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),z("mat-"+r.color),g("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),E("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",_],diameter:[2,"diameter","diameter",_],strokeWidth:[2,"strokeWidth","strokeWidth",_]},exportAs:["matProgressSpinner"],standalone:!0,features:[T,W],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,r){if(t&1&&(x(0,L,2,8,"ng-template",null,0,P),o(2,"div",2,1),h(),o(4,"svg",3),f(5,"circle",4),m()(),w(),o(6,"div",5)(7,"div",6)(8,"div",7),u(9,8),m(),o(10,"div",9),u(11,8),m(),o(12,"div",10),u(13,8),m()()()),t&2){let s=R(1);a(4),n("viewBox",r._viewBox()),a(),g("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),n("r",r._circleRadius()),a(4),p("ngTemplateOutlet",s),a(2),p("ngTemplateOutlet",s),a(2),p("ngTemplateOutlet",s)}},dependencies:[N],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let c=i;return c})();var cr=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=k({type:i}),i.\u0275inj=v({imports:[D,B]});let c=i;return c})();export{tr as a,cr as b}; +import{$ as y,$a as o,Aa as C,Bb as W,Da as a,Ea as l,Ib as P,Id as B,Oa as T,Ob as _,Pa as x,Qa as n,Ra as p,Sa as g,Ta as E,Va as z,Wb as N,_ as v,_b as D,ab as m,bb as f,eb as u,ga as b,ha as k,kb as I,pb as M,qa as h,qb as O,ra as w,rb as A,sb as R,wa as S}from"./chunk-MVLCGSW5.js";var F=["determinateSpinner"];function L(c,i){if(c&1&&(h(),o(0,"svg",11),f(1,"circle",12),m()),c&2){let d=I();n("viewBox",d._viewBox()),a(),g("stroke-dasharray",d._strokeCircumference(),"px")("stroke-dashoffset",d._strokeCircumference()/2,"px")("stroke-width",d._circleStrokeWidth(),"%"),n("r",d._circleRadius())}}var V=new y("mat-progress-spinner-default-options",{providedIn:"root",factory:G});function G(){return{diameter:j}}var j=100,Q=10,tr=(()=>{let i=class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=j,this._noopAnimations=t==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-Q)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};i.\u0275fac=function(t){return new(t||i)(l(S),l(C,8),l(V))},i.\u0275cmp=b({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,r){if(t&1&&M(F,5),t&2){let s;O(s=A())&&(r._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,r){t&2&&(n("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),z("mat-"+r.color),g("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),E("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",_],diameter:[2,"diameter","diameter",_],strokeWidth:[2,"strokeWidth","strokeWidth",_]},exportAs:["matProgressSpinner"],standalone:!0,features:[T,W],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,r){if(t&1&&(x(0,L,2,8,"ng-template",null,0,P),o(2,"div",2,1),h(),o(4,"svg",3),f(5,"circle",4),m()(),w(),o(6,"div",5)(7,"div",6)(8,"div",7),u(9,8),m(),o(10,"div",9),u(11,8),m(),o(12,"div",10),u(13,8),m()()()),t&2){let s=R(1);a(4),n("viewBox",r._viewBox()),a(),g("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),n("r",r._circleRadius()),a(4),p("ngTemplateOutlet",s),a(2),p("ngTemplateOutlet",s),a(2),p("ngTemplateOutlet",s)}},dependencies:[N],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let c=i;return c})();var cr=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=k({type:i}),i.\u0275inj=v({imports:[D,B]});let c=i;return c})();export{tr as a,cr as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-OYTTYU2D.js b/frontend/server/modelsmith-build/browser/chunk-OYTTYU2D.js deleted file mode 100644 index d04e76cd..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-OYTTYU2D.js +++ /dev/null @@ -1 +0,0 @@ -import{a as d}from"./chunk-A7TE5TNF.js";import{a as u}from"./chunk-4LBYIHBY.js";import"./chunk-UJJEBS4W.js";import"./chunk-NGJ5CWHR.js";import"./chunk-D7DPXC3A.js";import"./chunk-R5LGWJKV.js";import"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import"./chunk-FELGKJRN.js";import{a as f}from"./chunk-WSCYSYQI.js";import"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import{b as A,c as K,i as T}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as q,b as X}from"./chunk-MCE6M2DX.js";import{a as j,b as G}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import"./chunk-BTHDGCD5.js";import{$a as s,Da as m,Ea as y,Ra as a,Zb as R,_ as p,a as g,ab as c,b as v,bb as C,cb as w,ce as z,db as I,fb as N,ga as Q,ha as l,ib as E,je as D,oa as F,oe as O,p as b,pa as P,pb as V,pc as M,pe as _,qb as W,qe as U,rb as L,re as k,tb as S,ue as B}from"./chunk-MDAOMI2L.js";var $=["panelParameters"],r,h=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=K,this.AWQAlgorithmsEnum=T,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(G(this)).subscribe(t=>{this.isScriptActive=A(t),A(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(T.AWQ_QUANTIZATION)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,o=v(g({},t),{params:v(g({},this.panelParametersComponent.parametersFormatted),{model:e})});this.scriptFacadeService.dispatch(q.callScript({configs:o}))}},r.\u0275fac=function(i){return new(i||r)(y(O),y(X))},r.\u0275cmp=Q({type:r,selectors:[["ms-llm-quantization"]],viewQuery:function(i,e){if(i&1&&V($,5),i&2){let o;W(o=L())&&(e.panelParametersComponent=o.first)}},decls:13,vars:6,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType","isTrainModelsPageRouteVisible"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=N();s(0,"p",1),S(1,"LLM Quantization"),c(),s(2,"div",2)(3,"div",3),w(4,4),C(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),I(),s(8,"div")(9,"button",7),E("click",function(){return F(o),P(e.submit())}),S(10," Run "),c()()(),s(11,"div",8),C(12,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.AWQ)("isTrainModelsPageRouteVisible",!1),m(),a("algorithm",e.AWQAlgorithmsEnum.AWQ_QUANTIZATION),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,u,f,z,D,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);h=b([j()],h);var H=[{path:"",component:h}],x=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[M.forChild(H),M]});let n=t;return n})();var bt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[R,x,d,u,f,U,_,B]});let n=t;return n})();export{bt as LlmQuantizationModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-ATNEYJ22.js b/frontend/server/modelsmith-build/browser/chunk-PAR2WLRN.js similarity index 96% rename from frontend/server/modelsmith-build/browser/chunk-ATNEYJ22.js rename to frontend/server/modelsmith-build/browser/chunk-PAR2WLRN.js index e3148b2b..0d0271f8 100644 --- a/frontend/server/modelsmith-build/browser/chunk-ATNEYJ22.js +++ b/frontend/server/modelsmith-build/browser/chunk-PAR2WLRN.js @@ -1 +1 @@ -import{$ as k,Ab as P,Dd as V,Ea as o,Ed as U,Fa as m,Kb as L,Mb as l,Nb as j,Oa as v,Pa as A,Q as p,S as f,Y as M,_ as O,ga as R,gb as E,ha as S,ia as c,ib as D,j as x,lb as T,mb as F,md as H,na as w,ob as y,pb as N,pd as Q,qb as h,rb as u,s as b,wa as g,xa as _,xd as B,ya as I}from"./chunk-MDAOMI2L.js";var K=["*"];function $(r,i){r&1&&F(0)}var W=(()=>{let i=class i{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}};i.\u0275fac=function(t){return new(t||i)(o(g))},i.\u0275dir=c({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});let r=i;return r})(),z=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(o(m))},i.\u0275dir=c({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0});let r=i;return r})(),J=0;var a={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},X=new k("STEPPER_GLOBAL_OPTIONS"),Y=(()=>{let i=class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new _,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}};i.\u0275fac=function(t){return new(t||i)(o(M(()=>C)),o(X,8))},i.\u0275cmp=R({type:i,selectors:[["cdk-step"]],contentQueries:function(t,s,n){if(t&1&&y(n,z,5),t&2){let d;h(d=u())&&(s.stepLabel=d.first)}},viewQuery:function(t,s){if(t&1&&N(m,7),t&2){let n;h(n=u())&&(s.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",l],optional:[2,"optional","optional",l],completed:[2,"completed","completed",l],hasError:[2,"hasError","hasError",l]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[v,w,P],ngContentSelectors:K,decls:1,vars:0,template:function(t,s){t&1&&(T(),A(0,$,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let r=i;return r})(),C=(()=>{let i=class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}constructor(e,t,s){this._dir=e,this._changeDetectorRef=t,this._elementRef=s,this._destroyed=new x,this.steps=new I,this._sortedHeaders=new I,this.linear=!1,this._selectedIndex=0,this.selectionChange=new _,this.selectedIndexChange=new _,this._orientation="horizontal",this._groupId=J++}ngAfterContentInit(){this._steps.changes.pipe(p(this._steps),f(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(p(this._stepHeader),f(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,s)=>t._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:b()).pipe(p(this._layoutDirection()),f(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex;return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,t=a.NUMBER){let s=this.steps.toArray()[e],n=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,n):this._getGuidelineLogic(s,n,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?a.ERROR:!e.completed||t?a.NUMBER:e.editable?a.EDIT:a.DONE}_getGuidelineLogic(e,t,s=a.NUMBER){return e._showError()&&e.hasError&&!t?a.ERROR:e.completed&&!t?a.DONE:e.completed&&t?s:e.editable&&t?a.EDIT:s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let t=Q(e),s=e.keyCode,n=this._keyManager;n.activeItemIndex!=null&&!t&&(s===32||s===13)?(this.selectedIndex=n.activeItemIndex,e.preventDefault()):n.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let s=t.stepControl;return(s?s.invalid||s.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=H();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{let i=class i{constructor(e){this._stepper=e,this.type="submit"}};i.\u0275fac=function(t){return new(t||i)(o(C))},i.\u0275dir=c({type:i,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,s){t&1&&D("click",function(){return s._stepper.next()}),t&2&&E("type",s.type)},inputs:{type:"type"},standalone:!0});let r=i;return r})(),Ee=(()=>{let i=class i{constructor(e){this._stepper=e,this.type="button"}};i.\u0275fac=function(t){return new(t||i)(o(C))},i.\u0275dir=c({type:i,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,s){t&1&&D("click",function(){return s._stepper.previous()}),t&2&&E("type",s.type)},inputs:{type:"type"},standalone:!0});let r=i;return r})(),De=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=S({type:i}),i.\u0275inj=O({imports:[U]});let r=i;return r})();export{W as a,z as b,X as c,Y as d,C as e,ve as f,Ee as g,De as h}; +import{$ as k,Bb as P,Ea as o,Ed as V,Fa as m,Fd as U,Lb as L,Nb as l,Oa as v,Ob as j,Pa as A,Q as p,S as f,Y as M,_ as O,ga as R,gb as E,ha as S,ia as c,ib as D,j as x,lb as T,mb as F,na as w,nd as H,ob as y,pb as N,qb as h,qd as Q,rb as u,s as b,wa as g,xa as _,ya as I,yd as B}from"./chunk-MVLCGSW5.js";var K=["*"];function $(r,i){r&1&&F(0)}var W=(()=>{let i=class i{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}};i.\u0275fac=function(t){return new(t||i)(o(g))},i.\u0275dir=c({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});let r=i;return r})(),z=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(o(m))},i.\u0275dir=c({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0});let r=i;return r})(),J=0;var a={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},X=new k("STEPPER_GLOBAL_OPTIONS"),Y=(()=>{let i=class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new _,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}};i.\u0275fac=function(t){return new(t||i)(o(M(()=>C)),o(X,8))},i.\u0275cmp=R({type:i,selectors:[["cdk-step"]],contentQueries:function(t,s,n){if(t&1&&y(n,z,5),t&2){let d;h(d=u())&&(s.stepLabel=d.first)}},viewQuery:function(t,s){if(t&1&&N(m,7),t&2){let n;h(n=u())&&(s.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",l],optional:[2,"optional","optional",l],completed:[2,"completed","completed",l],hasError:[2,"hasError","hasError",l]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[v,w,P],ngContentSelectors:K,decls:1,vars:0,template:function(t,s){t&1&&(T(),A(0,$,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let r=i;return r})(),C=(()=>{let i=class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}constructor(e,t,s){this._dir=e,this._changeDetectorRef=t,this._elementRef=s,this._destroyed=new x,this.steps=new I,this._sortedHeaders=new I,this.linear=!1,this._selectedIndex=0,this.selectionChange=new _,this.selectedIndexChange=new _,this._orientation="horizontal",this._groupId=J++}ngAfterContentInit(){this._steps.changes.pipe(p(this._steps),f(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(p(this._stepHeader),f(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,s)=>t._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:b()).pipe(p(this._layoutDirection()),f(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex;return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,t=a.NUMBER){let s=this.steps.toArray()[e],n=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,n):this._getGuidelineLogic(s,n,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?a.ERROR:!e.completed||t?a.NUMBER:e.editable?a.EDIT:a.DONE}_getGuidelineLogic(e,t,s=a.NUMBER){return e._showError()&&e.hasError&&!t?a.ERROR:e.completed&&!t?a.DONE:e.completed&&t?s:e.editable&&t?a.EDIT:s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let t=Q(e),s=e.keyCode,n=this._keyManager;n.activeItemIndex!=null&&!t&&(s===32||s===13)?(this.selectedIndex=n.activeItemIndex,e.preventDefault()):n.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let s=t.stepControl;return(s?s.invalid||s.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=H();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{let i=class i{constructor(e){this._stepper=e,this.type="submit"}};i.\u0275fac=function(t){return new(t||i)(o(C))},i.\u0275dir=c({type:i,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,s){t&1&&D("click",function(){return s._stepper.next()}),t&2&&E("type",s.type)},inputs:{type:"type"},standalone:!0});let r=i;return r})(),Ee=(()=>{let i=class i{constructor(e){this._stepper=e,this.type="button"}};i.\u0275fac=function(t){return new(t||i)(o(C))},i.\u0275dir=c({type:i,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,s){t&1&&D("click",function(){return s._stepper.previous()}),t&2&&E("type",s.type)},inputs:{type:"type"},standalone:!0});let r=i;return r})(),De=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=S({type:i}),i.\u0275inj=O({imports:[U]});let r=i;return r})();export{W as a,z as b,X as c,Y as d,C as e,ve as f,Ee as g,De as h}; diff --git a/frontend/server/modelsmith-build/browser/chunk-Z6QRPUWD.js b/frontend/server/modelsmith-build/browser/chunk-PMG2IJPH.js similarity index 95% rename from frontend/server/modelsmith-build/browser/chunk-Z6QRPUWD.js rename to frontend/server/modelsmith-build/browser/chunk-PMG2IJPH.js index 0dbcfd81..ee6eca5c 100644 --- a/frontend/server/modelsmith-build/browser/chunk-Z6QRPUWD.js +++ b/frontend/server/modelsmith-build/browser/chunk-PMG2IJPH.js @@ -1,2 +1,2 @@ -import{b as T}from"./chunk-BTHDGCD5.js";import{$a as E,Ab as g,Da as f,Ea as a,Ma as p,Pa as I,S as c,Xa as D,ab as h,ae as R,ga as u,ia as d,ib as v,j as m,kb as A,tb as _,vb as x}from"./chunk-MDAOMI2L.js";function N(t,e){if(t&1&&(E(0,"mat-error",0),_(1),h()),t&2){let o=A();f(),x(" ",o.text,` +import{b as T}from"./chunk-LCKMIOUI.js";import{$a as E,Bb as g,Da as f,Ea as a,Ma as p,Pa as I,S as c,Xa as D,ab as h,be as R,ga as u,ia as d,ib as v,j as m,kb as A,tb as _,vb as x}from"./chunk-MVLCGSW5.js";function N(t,e){if(t&1&&(E(0,"mat-error",0),_(1),h()),t&2){let o=A();f(),x(" ",o.text,` `)}}var V=(()=>{let e=class e{constructor(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=u({type:e,selectors:[["ms-error-message"]],inputs:{text:"text"},standalone:!0,features:[g],decls:1,vars:1,consts:[[1,"error-message"]],template:function(r,n){r&1&&I(0,N,2,1,"mat-error",0),r&2&&D(n.text?0:-1)},dependencies:[T],styles:[".error-message[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fade-in-translate .3s}@keyframes _ngcontent-%COMP%_fade-in-translate{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}"]});let t=e;return t})();var s="commaSeparatedValues";function S(){return t=>{let{value:e}=t;return e&&/^(\d+)(,\d+)*$/.test(e)===!1?{[s]:{actual:e}}:null}}var y="interval";function j(t){return e=>{let o=e.value;if(o==null)return null;let[i,r]=t;return or?{interval:{min:i,max:r,actual:o}}:null}}var M="maxDate";var C="maxDecimals";function P(t){return e=>{if(!e.value||isNaN(e.value))return null;let i=e.value.toString().split(".")[1];return i&&i.length>t?{maxDecimals:{requiredDecimals:t,actualDecimals:i.length}}:null}}var O="minDate";var l="onlyDigits";function X(){return t=>{let{value:e}=t;return e&&/^\d+(\.\d+)?$/.test(e)===!1?{[l]:{actual:e}}:null}}function b(t){if(!t)return;let[[e,o]]=Object.entries(t),r={required:"Field is required",email:"Invalid email format",min:n=>`Minimum allowed value is ${n.min}`,max:n=>`Maximum allowed value is ${n.max}`,minLength:n=>`Minimum length is ${n.requiredLength} characters`,maxLength:n=>`Maximum length is ${n.requiredLength} characters`,pattern:"Invalid format",nullValidator:"Field must not be null",requiredTrue:"Field must be true (checked)",url:"Invalid URL format",unique:"Value must be unique",whitespace:"Field cannot be empty or contain only whitespace",ip:"Invalid IP address format",uuid:"Invalid UUID format",[M]:n=>`Date must be before ${n.maxDate}`,[O]:n=>`Date must be after ${n.minDate}`,[l]:"Only digits are allowed",[C]:n=>`Maximum ${n.maxDecimals} decimal places allowed`,[s]:"Values must be a comma-separated list of numbers",[y]:n=>`Value must be between ${n.min} and ${n.max}.`}[e];return typeof r=="function"?r(o):r||`Unknown validation error: ${e}`}var ie=(()=>{let e=class e{constructor(i,r){this.control=i,this.vcr=r,this._destroyed$=new m}onBlur(){this.control.invalid&&!this.control.disabled&&this.insertErrorComponent()}ngOnInit(){this.control.touched&&this.control.invalid&&!this.control.disabled&&this.insertErrorComponent(),this.control?.statusChanges?.pipe(c(this._destroyed$)).subscribe(()=>{this.control.touched&&this.control.invalid&&!this.control.disabled&&this.insertErrorComponent(),(this.control.valid||this.control.disabled)&&this.destroyErrorComponent()})}insertErrorComponent(){if(!this.componentRef){this.componentRef=this.vcr.createComponent(V);let i=this.componentRef.location.nativeElement;i.parentElement?.parentElement?.parentElement?.parentElement?.getElementsByClassName("mat-mdc-form-field-subscript-wrapper")[0]?.getElementsByClassName("mat-mdc-form-field-hint-wrapper")[0]?.getElementsByClassName("mat-mdc-form-field-hint-spacer")[0].appendChild(i)}this.componentRef.instance&&(this.componentRef.instance.text=b(this.control.errors))}destroyErrorComponent(){this.componentRef&&(this.vcr.remove(),this.componentRef.destroy(),this.componentRef=void 0)}ngOnDestroy(){this.destroyErrorComponent(),this._destroyed$.next(),this._destroyed$.complete()}};e.\u0275fac=function(r){return new(r||e)(a(R),a(p))},e.\u0275dir=d({type:e,selectors:[["","msErrorDisplay",""]],hostBindings:function(r,n){r&1&&v("blur",function(){return n.onBlur()})},standalone:!0});let t=e;return t})();export{s as a,S as b,y as c,j as d,C as e,P as f,l as g,X as h,ie as i}; diff --git a/frontend/server/modelsmith-build/browser/chunk-HAH6VDBE.js b/frontend/server/modelsmith-build/browser/chunk-R27DMG2R.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-HAH6VDBE.js rename to frontend/server/modelsmith-build/browser/chunk-R27DMG2R.js index cf6c0a8c..327ec4c5 100644 --- a/frontend/server/modelsmith-build/browser/chunk-HAH6VDBE.js +++ b/frontend/server/modelsmith-build/browser/chunk-R27DMG2R.js @@ -1 +1 @@ -import{l as tt}from"./chunk-WXERLI5K.js";import{$ as v,$a as x,Ab as q,Bd as $,Da as b,Dd as Y,Ea as s,Hd as w,Kb as C,Ld as Z,Mb as d,Md as J,Nd as K,Oa as k,Pa as N,Qa as h,Ra as g,Ta as y,Xa as T,Xd as X,Y as B,_ as G,ab as L,bb as p,fb as j,ga as R,ha as A,ia as E,ib as m,kb as S,lb as P,mb as U,oa as D,ob as z,pa as F,pb as Q,qb as I,rb as M,sb as H,ta as O,wa as V,xa as u,zb as W}from"./chunk-MDAOMI2L.js";var it=["button"],lt=["*"];function rt(i,a){if(i&1&&p(0,"mat-pseudo-checkbox",3),i&2){let c=S();g("disabled",c.disabled)}}function st(i,a){if(i&1&&p(0,"mat-pseudo-checkbox",3),i&2){let c=S();g("disabled",c.disabled)}}var et=new v("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:dt});function dt(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}var ot=new v("MatButtonToggleGroup"),ct={provide:X,useExisting:B(()=>gt),multi:!0},at=0,f=class{constructor(a,c){this.source=a,this.value=c}},gt=(()=>{let a=class a{get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}get value(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(o=>o.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}constructor(t,o,e){this._changeDetector=t,this._dir=e,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${at++}`,this.valueChange=new u,this.change=new u,this.appearance=o&&o.appearance?o.appearance:"standard",this.hideSingleSelectionIndicator=o?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=o?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new tt(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;let e=t.target.id,n=this._buttonToggles.toArray().findIndex(r=>r.buttonId===e),l=null;switch(t.keyCode){case 32:case 13:l=this._buttonToggles.get(n)||null;break;case 38:l=this._getNextButton(n,-1);break;case 37:l=this._getNextButton(n,this.dir==="ltr"?-1:1);break;case 40:l=this._getNextButton(n,1);break;case 39:l=this._getNextButton(n,this.dir==="ltr"?1:-1);break;default:return}l&&(t.preventDefault(),l._onButtonClick(),l.focus())}_emitChangeEvent(t){let o=new f(t,this.value);this._rawValue=o.value,this._controlValueAccessorChangeFn(o.value),this.change.emit(o)}_syncButtonToggle(t,o,e=!1,n=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?o?this._selectionModel.select(t):this._selectionModel.deselect(t):n=!0,n?Promise.resolve().then(()=>this._updateModelValue(t,e)):this._updateModelValue(t,e)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(o=>t.value!=null&&o===t.value):t.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let t=0;tthis._selectValue(o))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t){let o=this._buttonToggles.find(e=>e.value!=null&&e.value===t);o&&(o.checked=!0,this._selectionModel.select(o),this.multiple||(o.tabIndex=0))}_updateModelValue(t,o){o&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}};a.\u0275fac=function(o){return new(o||a)(s(C),s(et,8),s(Y,8))},a.\u0275dir=E({type:a,selectors:[["mat-button-toggle-group"]],contentQueries:function(o,e,n){if(o&1&&z(n,nt,5),o&2){let l;I(l=M())&&(e._buttonToggles=l)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(o,e){o&1&&m("keydown",function(l){return e._keydown(l)}),o&2&&(h("role",e.multiple?"group":"radiogroup")("aria-disabled",e.disabled),y("mat-button-toggle-vertical",e.vertical)("mat-button-toggle-group-appearance-standard",e.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",d],value:"value",multiple:[2,"multiple","multiple",d],disabled:[2,"disabled","disabled",d],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",d],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",d]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[W([ct,{provide:ot,useExisting:a}]),k]});let i=a;return i})(),nt=(()=>{let a=class a{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}constructor(t,o,e,n,l,r){this._changeDetectorRef=o,this._elementRef=e,this._focusMonitor=n,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new u;let _=Number(l);this.tabIndex=_||_===0?_:null,this.buttonToggleGroup=t,this.appearance=r&&r.appearance?r.appearance:"standard"}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${at++}`,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let o=this.buttonToggleGroup._buttonToggles.find(e=>e.tabIndex===0);o&&(o.tabIndex=-1),this.tabIndex=0}this.change.emit(new f(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};a.\u0275fac=function(o){return new(o||a)(s(ot,8),s(C),s(V),s($),O("tabindex"),s(et,8))},a.\u0275cmp=R({type:a,selectors:[["mat-button-toggle"]],viewQuery:function(o,e){if(o&1&&Q(it,5),o&2){let n;I(n=M())&&(e._buttonElement=n.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(o,e){o&1&&m("focus",function(){return e.focus()}),o&2&&(h("aria-label",null)("aria-labelledby",null)("id",e.id)("name",null),y("mat-button-toggle-standalone",!e.buttonToggleGroup)("mat-button-toggle-checked",e.checked)("mat-button-toggle-disabled",e.disabled)("mat-button-toggle-appearance-standard",e.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",d],appearance:"appearance",checked:[2,"checked","checked",d],disabled:[2,"disabled","disabled",d]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[k,q],ngContentSelectors:lt,decls:8,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(o,e){if(o&1){let n=j();P(),x(0,"button",1,0),m("click",function(){return D(n),F(e._onButtonClick())}),x(2,"span",2),N(3,rt,1,1,"mat-pseudo-checkbox",3)(4,st,1,1,"mat-pseudo-checkbox",3),U(5),L()(),p(6,"span",4)(7,"span",5)}if(o&2){let n=H(1);g("id",e.buttonId)("disabled",e.disabled||null),h("role",e.isSingleSelector()?"radio":"button")("tabindex",e.disabled?-1:e.tabIndex)("aria-pressed",e.isSingleSelector()?null:e.checked)("aria-checked",e.isSingleSelector()?e.checked:null)("name",e._getButtonName())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),b(3),T(e.buttonToggleGroup&&e.checked&&!e.buttonToggleGroup.multiple&&!e.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),b(),T(e.buttonToggleGroup&&e.checked&&e.buttonToggleGroup.multiple&&!e.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),b(3),g("matRippleTrigger",n)("matRippleDisabled",e.disableRipple||e.disabled)}},dependencies:[Z,K],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0});let i=a;return i})(),Vt=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=A({type:a}),a.\u0275inj=G({imports:[w,J,nt,w]});let i=a;return i})();export{gt as a,nt as b,Vt as c}; +import{l as tt}from"./chunk-I333ACNB.js";import{$ as v,$a as x,Ab as W,Bb as q,Cd as $,Da as b,Ea as s,Ed as Y,Id as w,Lb as C,Md as Z,Nb as d,Nd as J,Oa as k,Od as K,Pa as N,Qa as h,Ra as g,Ta as y,Xa as T,Y as B,Yd as X,_ as G,ab as L,bb as p,fb as j,ga as R,ha as A,ia as E,ib as m,kb as S,lb as P,mb as U,oa as D,ob as z,pa as F,pb as Q,qb as I,rb as M,sb as H,ta as O,wa as V,xa as u}from"./chunk-MVLCGSW5.js";var it=["button"],lt=["*"];function rt(i,a){if(i&1&&p(0,"mat-pseudo-checkbox",3),i&2){let c=S();g("disabled",c.disabled)}}function st(i,a){if(i&1&&p(0,"mat-pseudo-checkbox",3),i&2){let c=S();g("disabled",c.disabled)}}var et=new v("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:dt});function dt(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}var ot=new v("MatButtonToggleGroup"),ct={provide:X,useExisting:B(()=>gt),multi:!0},at=0,f=class{constructor(a,c){this.source=a,this.value=c}},gt=(()=>{let a=class a{get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}get value(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(o=>o.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}constructor(t,o,e){this._changeDetector=t,this._dir=e,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${at++}`,this.valueChange=new u,this.change=new u,this.appearance=o&&o.appearance?o.appearance:"standard",this.hideSingleSelectionIndicator=o?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=o?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new tt(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;let e=t.target.id,n=this._buttonToggles.toArray().findIndex(r=>r.buttonId===e),l=null;switch(t.keyCode){case 32:case 13:l=this._buttonToggles.get(n)||null;break;case 38:l=this._getNextButton(n,-1);break;case 37:l=this._getNextButton(n,this.dir==="ltr"?-1:1);break;case 40:l=this._getNextButton(n,1);break;case 39:l=this._getNextButton(n,this.dir==="ltr"?1:-1);break;default:return}l&&(t.preventDefault(),l._onButtonClick(),l.focus())}_emitChangeEvent(t){let o=new f(t,this.value);this._rawValue=o.value,this._controlValueAccessorChangeFn(o.value),this.change.emit(o)}_syncButtonToggle(t,o,e=!1,n=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?o?this._selectionModel.select(t):this._selectionModel.deselect(t):n=!0,n?Promise.resolve().then(()=>this._updateModelValue(t,e)):this._updateModelValue(t,e)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(o=>t.value!=null&&o===t.value):t.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let t=0;tthis._selectValue(o))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t){let o=this._buttonToggles.find(e=>e.value!=null&&e.value===t);o&&(o.checked=!0,this._selectionModel.select(o),this.multiple||(o.tabIndex=0))}_updateModelValue(t,o){o&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}};a.\u0275fac=function(o){return new(o||a)(s(C),s(et,8),s(Y,8))},a.\u0275dir=E({type:a,selectors:[["mat-button-toggle-group"]],contentQueries:function(o,e,n){if(o&1&&z(n,nt,5),o&2){let l;I(l=M())&&(e._buttonToggles=l)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(o,e){o&1&&m("keydown",function(l){return e._keydown(l)}),o&2&&(h("role",e.multiple?"group":"radiogroup")("aria-disabled",e.disabled),y("mat-button-toggle-vertical",e.vertical)("mat-button-toggle-group-appearance-standard",e.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",d],value:"value",multiple:[2,"multiple","multiple",d],disabled:[2,"disabled","disabled",d],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",d],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",d]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[W([ct,{provide:ot,useExisting:a}]),k]});let i=a;return i})(),nt=(()=>{let a=class a{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}constructor(t,o,e,n,l,r){this._changeDetectorRef=o,this._elementRef=e,this._focusMonitor=n,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new u;let _=Number(l);this.tabIndex=_||_===0?_:null,this.buttonToggleGroup=t,this.appearance=r&&r.appearance?r.appearance:"standard"}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${at++}`,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let o=this.buttonToggleGroup._buttonToggles.find(e=>e.tabIndex===0);o&&(o.tabIndex=-1),this.tabIndex=0}this.change.emit(new f(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};a.\u0275fac=function(o){return new(o||a)(s(ot,8),s(C),s(V),s($),O("tabindex"),s(et,8))},a.\u0275cmp=R({type:a,selectors:[["mat-button-toggle"]],viewQuery:function(o,e){if(o&1&&Q(it,5),o&2){let n;I(n=M())&&(e._buttonElement=n.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(o,e){o&1&&m("focus",function(){return e.focus()}),o&2&&(h("aria-label",null)("aria-labelledby",null)("id",e.id)("name",null),y("mat-button-toggle-standalone",!e.buttonToggleGroup)("mat-button-toggle-checked",e.checked)("mat-button-toggle-disabled",e.disabled)("mat-button-toggle-appearance-standard",e.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",d],appearance:"appearance",checked:[2,"checked","checked",d],disabled:[2,"disabled","disabled",d]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[k,q],ngContentSelectors:lt,decls:8,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(o,e){if(o&1){let n=j();P(),x(0,"button",1,0),m("click",function(){return D(n),F(e._onButtonClick())}),x(2,"span",2),N(3,rt,1,1,"mat-pseudo-checkbox",3)(4,st,1,1,"mat-pseudo-checkbox",3),U(5),L()(),p(6,"span",4)(7,"span",5)}if(o&2){let n=H(1);g("id",e.buttonId)("disabled",e.disabled||null),h("role",e.isSingleSelector()?"radio":"button")("tabindex",e.disabled?-1:e.tabIndex)("aria-pressed",e.isSingleSelector()?null:e.checked)("aria-checked",e.isSingleSelector()?e.checked:null)("name",e._getButtonName())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),b(3),T(e.buttonToggleGroup&&e.checked&&!e.buttonToggleGroup.multiple&&!e.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),b(),T(e.buttonToggleGroup&&e.checked&&e.buttonToggleGroup.multiple&&!e.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),b(3),g("matRippleTrigger",n)("matRippleDisabled",e.disableRipple||e.disabled)}},dependencies:[Z,K],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0});let i=a;return i})(),Vt=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=A({type:a}),a.\u0275inj=G({imports:[w,J,nt,w]});let i=a;return i})();export{gt as a,nt as b,Vt as c}; diff --git a/frontend/server/modelsmith-build/browser/chunk-RF6RNDKJ.js b/frontend/server/modelsmith-build/browser/chunk-RF6RNDKJ.js deleted file mode 100644 index 00e01186..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-RF6RNDKJ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as h}from"./chunk-4LBYIHBY.js";import"./chunk-D7DPXC3A.js";import"./chunk-R5LGWJKV.js";import{a as it,b as rt}from"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import{a as u}from"./chunk-WSCYSYQI.js";import{a as tt,b as et}from"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import{b,f as c}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as Y,b as Z}from"./chunk-MCE6M2DX.js";import{a as x,b as y}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import{h as J}from"./chunk-BTHDGCD5.js";import{$a as n,Da as a,Ea as v,Ra as l,Rd as B,Za as N,Zb as U,_ as f,_a as O,a as S,ab as s,b as I,bb as M,be as V,cb as G,ce as $,db as P,fb as w,ga as A,ha as d,ib as L,je as H,ke as W,me as X,oa as D,oe as q,p as _,pa as E,pb as Q,pc as C,pe as T,qb as R,qe as F,rb as k,re as z,tb as p,ue as K,vb as j}from"./chunk-MDAOMI2L.js";var nt=["panelParameters"],at=(i,t)=>t.key;function st(i,t){if(i&1&&(n(0,"mat-option",10),p(1),s()),i&2){let e=t.$implicit;l("value",e.key),a(),j(" ",e.value," ")}}var o,g=(o=class{constructor(t,e){this.fb=t,this.scriptFacadeService=e,this.DiffusionModelAlgorithmsEnum=c,this.isScriptActive=!1,this.selectedAlgorithm=c.PTQ4DIT_GET_CALIBRATION_SET,this.DIFFUSION_MODEL_ALGORITHMS_LIST=[{key:c.PTQ4DIT_GET_CALIBRATION_SET,value:"Get calibration set"},{key:c.PTQ4DIT_QUANT_SAMPLE,value:"Quant sample"}]}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[this.selectedAlgorithm]})}),this.form.get("algorithm.alg")?.valueChanges.pipe(y(this)).subscribe(t=>{this.selectedAlgorithm=t})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(y(this)).subscribe(t=>{this.isScriptActive=b(t),b(t)?this.form.disable():this.form.enable()})}submit(){if(this.isScriptActive)return;let{algorithm:t}=this.form.getRawValue(),e=I(S({},t),{params:S({},this.panelParametersComponent.parametersFormatted)});this.scriptFacadeService.dispatch(Y.callScript({configs:e}))}},o.\u0275fac=function(e){return new(e||o)(v(q),v(Z))},o.\u0275cmp=A({type:o,selectors:[["ms-difussion-model"]],viewQuery:function(e,r){if(e&1&&Q(nt,5),e&2){let m;R(m=k())&&(r.panelParametersComponent=m.first)}},decls:20,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],[1,"ms-card","algorithm-card"],[1,"heading-sub-section-title"],["formGroupName","algorithm",1,"form-field-container"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","alg"],[3,"value"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(e,r){if(e&1){let m=w();n(0,"p",1),p(1,"Diffusion Model"),s(),n(2,"div",2)(3,"div",3),G(4,4),n(5,"mat-card",5)(6,"p",6),p(7,"Algorithm"),s(),n(8,"div",7)(9,"mat-form-field",8)(10,"mat-select",9),N(11,st,2,2,"mat-option",10,at),s()()()(),M(13,"ms-panel-parameters",11,0),P(),n(15,"div")(16,"button",12),L("click",function(){return D(m),E(r.submit())}),p(17," Run "),s()()(),n(18,"div",13),M(19,"ms-terminal-xterm-with-toolbar"),s()()}e&2&&(a(2),l("formGroup",r.form),a(2),l("formGroup",r.form),a(7),O(r.DIFFUSION_MODEL_ALGORITHMS_LIST),a(2),l("algorithm",r.selectedAlgorithm),a(3),l("disabled",r.isScriptActive||r.form.invalid))},dependencies:[h,u,V,$,H,X,W,z,J,it,B,tt],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),o);g=_([x()],g);var lt=[{path:"",component:g}],mt=(()=>{let t=class t{};t.\u0275fac=function(m){return new(m||t)},t.\u0275mod=d({type:t}),t.\u0275inj=f({imports:[C.forChild(lt),C]});let i=t;return i})();var Ut=(()=>{let t=class t{};t.\u0275fac=function(m){return new(m||t)},t.\u0275mod=d({type:t}),t.\u0275inj=f({imports:[mt,U,h,u,T,F,K,T,F,rt,et]});let i=t;return i})();export{Ut as DiffusionModelModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-THAYRGPL.js b/frontend/server/modelsmith-build/browser/chunk-THAYRGPL.js new file mode 100644 index 00000000..4ac589d8 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-THAYRGPL.js @@ -0,0 +1 @@ +import{a as O}from"./chunk-WT33ER4G.js";import{a as b}from"./chunk-CFM5DRTM.js";import"./chunk-EGGALFKU.js";import"./chunk-ZQAGOALV.js";import"./chunk-NBUJA3ZB.js";import"./chunk-CKI3LALG.js";import"./chunk-GULIW6WA.js";import{a as Ot,b as bt}from"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import"./chunk-4X6VBT7Z.js";import{a as _,b as Et,c as Rt,d as x}from"./chunk-25FQYPXL.js";import{a as Nt,b as _t}from"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import{b as g,c as d,g as Ft,l as Pt}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import{b as z,c as Mt}from"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as P,b as N,c as It,j as Gt}from"./chunk-XSOJ6DN4.js";import{a as T,b as f}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import{h as At,i as Tt}from"./chunk-LCKMIOUI.js";import{$a as a,$d as ct,Ab as nt,D as C,Da as n,Ea as c,H as B,I as Z,K as W,P as X,Ra as m,Rd as lt,Sd as pt,Za as D,_ as v,_a as k,_b as at,a as R,ab as s,ae as u,b as L,bb as U,bd as st,ca as J,cb as Y,ce as ht,db as tt,de as M,ee as F,fb as et,ga as y,ge as dt,ha as A,ib as K,ke as ft,le as ut,mc as mt,ne as gt,oa as w,p as S,pa as j,pb as it,qb as rt,qc as Q,qe as St,rb as ot,re as Ct,se as vt,tb as h,vb as V,ve as yt,w as q}from"./chunk-MVLCGSW5.js";var Lt=(r,t)=>t.key;function Ut(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}function Kt(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}var l,I=(l=class{get parentFormGroup(){return this.controlContainer.control}get algorithmFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmFormControl(){return this.algorithmFormGroup?.get(this.ALGORITHM_CONTROL_NAME)}constructor(t,e){this.controlContainer=t,this.scriptFacadeService=e,this.controlKey="",this.pruningAlgorithmsList=Et,this.quantAlgorithmsList=Rt,this.ALGORITHM_CONTROL_NAME="alg"}ngOnInit(){this.initForm(),this.listenToScriptStateChanges(),this.loadInitialData()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(X(1),Z(1),C(t=>!Mt(t?.algKey))).subscribe(t=>{let e=t.type,o=e===d.PRUNING||e===d.QUANTIZATION?t.algKey:x;this.algorithmFormControl?.setValue(o)}),this.scriptFacadeService.dispatch(P.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new F({[this.ALGORITHM_CONTROL_NAME]:new dt(x,ct.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{g(t)?this.algorithmFormGroup.disable():this.algorithmFormGroup.enable()})}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},l.\u0275fac=function(e){return new(e||l)(c(u),c(N))},l.\u0275cmp=y({type:l,selectors:[["ms-panel-algorithm"]],inputs:{controlKey:"controlKey"},features:[nt([],[{provide:u,useFactory:()=>J(u,{skipSelf:!0})}])],decls:12,vars:2,consts:[[1,"ms-card","algorithm-card"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],["label","Pruning"],[3,"value"],["label","Quantization"]],template:function(e,i){e&1&&(a(0,"mat-card",0)(1,"p",1),h(2,"Algorithm"),s(),a(3,"div",2)(4,"mat-form-field",3)(5,"mat-select",4)(6,"mat-optgroup",5),D(7,Ut,2,2,"mat-option",6,Lt),s(),a(9,"mat-optgroup",7),D(10,Kt,2,2,"mat-option",6,Lt),s()()()()()),e&2&&(n(3),m("formGroupName",i.controlKey),n(2),m("formControlName",i.ALGORITHM_CONTROL_NAME),n(2),k(i.pruningAlgorithmsList),n(3),k(i.quantAlgorithmsList))},dependencies:[Nt,At,Ot,pt,lt,ht,M,gt,ut]}),l);I=S([T()],I);var $="custommodel";function wt(r){let t=r.replace(/[^a-zA-Z0-9_]/g,"_");return/^[0-9_]/.test(t)&&(t="file_"+t),/.py$/.test(t)||(t+=".py"),t}var Qt=["panelParameters"],p,G=(p=class{constructor(t,e,i,o){this.scriptFacadeService=t,this.fileService=e,this.snackbarService=i,this.router=o,this.form=new F({}),this.AlgorithmType=d,this.isScriptActive=!1,this.isQuantAlgorithmSelected=!1,this.selectedAlgorithm=Ft.IMP,this.selectedAlgorithmType=d.PRUNING}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(B(50),q(()=>{let t=this.form.getRawValue();return t.algorithm&&t.algorithm.alg}),W(),C(t=>!z(t)),f(this)).subscribe(t=>{this.selectedAlgorithm=t,this.selectedAlgorithmType=Pt(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{this.isScriptActive=g(t),g(t)?this.form.disable():this.form.enable()})}submit(){if(z(this.selectedAlgorithm)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{algorithm:t,model:e}=this.form.getRawValue(),{model:i}=e;if(i===$&&!this.fileService.isFileLoaded){this.snackbarService.showError("Please select a predefined model or upload a custom file.");return}let o=i===$?wt(this.fileService?.file.name):i,E=L(R({},t),{params:L(R({},this.panelParametersComponent.parametersFormatted),{arch:o})});this.scriptFacadeService.dispatch(P.callScript({configs:E}))}goToChartPage(){this.router.navigate([st.RUNNING.ROOT])}},p.\u0275fac=function(e){return new(e||p)(c(N),c(Gt),c(It),c(mt))},p.\u0275cmp=y({type:p,selectors:[["ms-machine-unlearning"]],viewQuery:function(e,i){if(e&1&&it(Qt,5),e&2){let o;rt(o=ot())&&(i.panelParametersComponent=o.first)}},decls:17,vars:5,consts:[["panelAlgorithm",""],["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","algorithm"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(e,i){if(e&1){let o=et();a(0,"p",2),h(1,"Model Compression"),s(),a(2,"div",3)(3,"div",4),Y(4,5),U(5,"ms-panel-algorithm",6,0)(7,"ms-panel-model",7)(8,"ms-panel-parameters",8,1),tt(),a(10,"div")(11,"button",9),K("click",function(){return w(o),j(i.submit())}),h(12," Run "),s(),a(13,"button",10),K("click",function(){return w(o),j(i.goToChartPage())}),h(14,"View Chart"),s()()(),a(15,"div",11),U(16,"ms-terminal-xterm-with-toolbar"),s()()}e&2&&(n(2),m("formGroup",i.form),n(2),m("formGroup",i.form),n(3),m("algorithmType",i.selectedAlgorithmType),n(),m("algorithm",i.selectedAlgorithm),n(3),m("disabled",i.isScriptActive||i.form.invalid))},dependencies:[_,O,b,M,ft,vt,I],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),p);G=S([T()],G);var zt=[{path:"",component:G}],jt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[Q.forChild(zt),Q]});let r=t;return r})();var He=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[at,jt,_,O,b,_t,Tt,bt,St,Ct,yt]});let r=t;return r})();export{He as ModelCompressionModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-TJN6IR5M.js b/frontend/server/modelsmith-build/browser/chunk-TJN6IR5M.js new file mode 100644 index 00000000..2e7d5fba --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-TJN6IR5M.js @@ -0,0 +1 @@ +import{a as d}from"./chunk-WT33ER4G.js";import{a as u}from"./chunk-CFM5DRTM.js";import"./chunk-EGGALFKU.js";import"./chunk-ZQAGOALV.js";import"./chunk-NBUJA3ZB.js";import"./chunk-CKI3LALG.js";import"./chunk-GULIW6WA.js";import"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import"./chunk-4X6VBT7Z.js";import{a as f}from"./chunk-25FQYPXL.js";import"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import{b as A,c as K,i as T}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as q,b as X}from"./chunk-XSOJ6DN4.js";import{a as j,b as G}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as s,Da as m,Ea as y,Ra as a,_ as p,_b as R,a as g,ab as c,b as v,bb as C,cb as w,db as I,de as z,fb as N,ga as Q,ha as l,ib as E,ke as D,oa as F,p as b,pa as P,pb as V,pe as O,qb as W,qc as M,qe as _,rb as L,re as U,se as k,tb as S,ve as B}from"./chunk-MVLCGSW5.js";var $=["panelParameters"],r,h=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=K,this.AWQAlgorithmsEnum=T,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(G(this)).subscribe(t=>{this.isScriptActive=A(t),A(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(T.AWQ_QUANTIZATION)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,o=v(g({},t),{params:v(g({},this.panelParametersComponent.parametersFormatted),{model:e})});this.scriptFacadeService.dispatch(q.callScript({configs:o}))}},r.\u0275fac=function(i){return new(i||r)(y(O),y(X))},r.\u0275cmp=Q({type:r,selectors:[["ms-llm-quantization"]],viewQuery:function(i,e){if(i&1&&V($,5),i&2){let o;W(o=L())&&(e.panelParametersComponent=o.first)}},decls:13,vars:6,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType","isTrainModelsPageRouteVisible"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=N();s(0,"p",1),S(1,"LLM Quantization"),c(),s(2,"div",2)(3,"div",3),w(4,4),C(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),I(),s(8,"div")(9,"button",7),E("click",function(){return F(o),P(e.submit())}),S(10," Run "),c()()(),s(11,"div",8),C(12,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.AWQ)("isTrainModelsPageRouteVisible",!1),m(),a("algorithm",e.AWQAlgorithmsEnum.AWQ_QUANTIZATION),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,u,f,z,D,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);h=b([j()],h);var H=[{path:"",component:h}],x=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[M.forChild(H),M]});let n=t;return n})();var bt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[R,x,d,u,f,U,_,B]});let n=t;return n})();export{bt as LlmQuantizationModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-N3UEKYC2.js b/frontend/server/modelsmith-build/browser/chunk-TOG4AYSS.js similarity index 78% rename from frontend/server/modelsmith-build/browser/chunk-N3UEKYC2.js rename to frontend/server/modelsmith-build/browser/chunk-TOG4AYSS.js index 10eec76b..b8884abc 100644 --- a/frontend/server/modelsmith-build/browser/chunk-N3UEKYC2.js +++ b/frontend/server/modelsmith-build/browser/chunk-TOG4AYSS.js @@ -1 +1 @@ -import"./chunk-XQJ4YUBS.js";import{a as b,b as x}from"./chunk-52V65YCI.js";import{a as R,b as U,c as V}from"./chunk-HAH6VDBE.js";import{a as A,b as F}from"./chunk-FELGKJRN.js";import{a as k,b as z}from"./chunk-FODXYRF6.js";import{a as G,b as B}from"./chunk-JG6SCBOL.js";import{c as M}from"./chunk-XX6ZYDLH.js";import"./chunk-MCE6M2DX.js";import{a as D,b as E}from"./chunk-O6HMI7CW.js";import{a as T}from"./chunk-WXERLI5K.js";import{$a as e,Da as s,Ea as y,I as v,Ra as p,Zb as S,_ as d,ab as o,bb as c,be as I,fe as w,ga as C,ha as l,ie as N,p as h,pc as g,qe as O,tb as n,we as j,xe as P}from"./chunk-MDAOMI2L.js";var i,f=(i=class{constructor(t){this.configsFacadeService=t,this.selectedModeControl=new w(""),this.AppModes=x}ngOnInit(){this.loadDefaultValue(),this.listenToModeChanges()}listenToModeChanges(){this.selectedModeControl.valueChanges.pipe(E(this)).subscribe(t=>{M(t)||this.configsFacadeService.dispatch(b.setDefaultMode({mode:t}))})}loadDefaultValue(){this.configsFacadeService.defaultMode$.pipe(v(1)).subscribe(t=>{M(t)||this.selectedModeControl.setValue(t)})}},i.\u0275fac=function(a){return new(a||i)(y(T))},i.\u0275cmp=C({type:i,selectors:[["ms-admin"]],decls:20,vars:3,consts:[[1,"admin-settings-container"],[1,"heading-primary-title"],[1,"paragraph-regular-p3-default"],[1,"divider-container","mb-2"],[1,"ms-card","default-mode-card"],[1,"default-mode-header"],[1,"flex","items-center","mr-1"],["fontSet","ms","fontIcon","icon-Info","matTooltip","Allows users to choose the default startup mode for the app."],[1,"paragraph-bold-p3-small-bold","flex","items-center"],[1,"mt-2","mb-2"],[1,"mode-toggle-group",3,"formControl"],[3,"value"]],template:function(a,m){a&1&&(e(0,"div",0)(1,"p",1),n(2,"Admin"),o(),e(3,"p",2),n(4," The Global Settings Admin Page allows administrators to manage and customize key app configurations, all from one central location. "),o(),e(5,"div",3),c(6,"mat-divider"),o(),e(7,"mat-card",4)(8,"div",5)(9,"div",6),c(10,"mat-icon",7),o(),e(11,"div",8),n(12,"Default mode:"),o()(),e(13,"div",9),c(14,"mat-divider"),o(),e(15,"mat-button-toggle-group",10)(16,"mat-button-toggle",11),n(17,"Guided"),o(),e(18,"mat-button-toggle",11),n(19,"Expert"),o()()()()),a&2&&(s(15),p("formControl",m.selectedModeControl),s(),p("value",m.AppModes.GUIDED),s(2),p("value",m.AppModes.EXPERT))},dependencies:[A,j,G,R,U,I,N,k],styles:[".divider-container[_ngcontent-%COMP%]{margin-bottom:20px}.default-mode-card[_ngcontent-%COMP%]{width:300px}.default-mode-header[_ngcontent-%COMP%]{display:flex}.mode-toggle-group[_ngcontent-%COMP%]{display:flex;justify-content:center}"]}),i);f=h([D()],f);var q=[{path:"",component:f}],$=(()=>{let t=class t{};t.\u0275fac=function(u){return new(u||t)},t.\u0275mod=l({type:t}),t.\u0275inj=d({imports:[g.forChild(q),g]});let r=t;return r})();var Ct=(()=>{let t=class t{};t.\u0275fac=function(u){return new(u||t)},t.\u0275mod=l({type:t}),t.\u0275inj=d({imports:[S,$,F,P,B,V,O,z]});let r=t;return r})();export{Ct as AdminModule}; +import"./chunk-5ZR7IPM5.js";import{a as b,b as x}from"./chunk-WKH77ZME.js";import{a as R,b as U,c as V}from"./chunk-R27DMG2R.js";import{a as A,b as F}from"./chunk-4X6VBT7Z.js";import{a as k,b as z}from"./chunk-XUCLYHZN.js";import{a as G,b as B}from"./chunk-CXMHZ5XC.js";import{c as M}from"./chunk-XX6ZYDLH.js";import"./chunk-XSOJ6DN4.js";import{a as D,b as E}from"./chunk-KP473PLS.js";import{a as T}from"./chunk-I333ACNB.js";import{$a as e,Da as s,Ea as y,I as v,Ra as p,_ as d,_b as S,ab as o,bb as c,ce as I,ga as C,ge as w,ha as l,je as N,p as h,qc as g,re as O,tb as n,xe as j,ye as P}from"./chunk-MVLCGSW5.js";var i,f=(i=class{constructor(t){this.configsFacadeService=t,this.selectedModeControl=new w(""),this.AppModes=x}ngOnInit(){this.loadDefaultValue(),this.listenToModeChanges()}listenToModeChanges(){this.selectedModeControl.valueChanges.pipe(E(this)).subscribe(t=>{M(t)||this.configsFacadeService.dispatch(b.setDefaultMode({mode:t}))})}loadDefaultValue(){this.configsFacadeService.defaultMode$.pipe(v(1)).subscribe(t=>{M(t)||this.selectedModeControl.setValue(t)})}},i.\u0275fac=function(a){return new(a||i)(y(T))},i.\u0275cmp=C({type:i,selectors:[["ms-admin"]],decls:20,vars:3,consts:[[1,"admin-settings-container"],[1,"heading-primary-title"],[1,"paragraph-regular-p3-default"],[1,"divider-container","mb-2"],[1,"ms-card","default-mode-card"],[1,"default-mode-header"],[1,"flex","items-center","mr-1"],["fontSet","ms","fontIcon","icon-Info","matTooltip","Allows users to choose the default startup mode for the app."],[1,"paragraph-bold-p3-small-bold","flex","items-center"],[1,"mt-2","mb-2"],[1,"mode-toggle-group",3,"formControl"],[3,"value"]],template:function(a,m){a&1&&(e(0,"div",0)(1,"p",1),n(2,"Admin"),o(),e(3,"p",2),n(4," The Global Settings Admin Page allows administrators to manage and customize key app configurations, all from one central location. "),o(),e(5,"div",3),c(6,"mat-divider"),o(),e(7,"mat-card",4)(8,"div",5)(9,"div",6),c(10,"mat-icon",7),o(),e(11,"div",8),n(12,"Default mode:"),o()(),e(13,"div",9),c(14,"mat-divider"),o(),e(15,"mat-button-toggle-group",10)(16,"mat-button-toggle",11),n(17,"Guided"),o(),e(18,"mat-button-toggle",11),n(19,"Expert"),o()()()()),a&2&&(s(15),p("formControl",m.selectedModeControl),s(),p("value",m.AppModes.GUIDED),s(2),p("value",m.AppModes.EXPERT))},dependencies:[A,j,G,R,U,I,N,k],styles:[".divider-container[_ngcontent-%COMP%]{margin-bottom:20px}.default-mode-card[_ngcontent-%COMP%]{width:300px}.default-mode-header[_ngcontent-%COMP%]{display:flex}.mode-toggle-group[_ngcontent-%COMP%]{display:flex;justify-content:center}"]}),i);f=h([D()],f);var q=[{path:"",component:f}],$=(()=>{let t=class t{};t.\u0275fac=function(u){return new(u||t)},t.\u0275mod=l({type:t}),t.\u0275inj=d({imports:[g.forChild(q),g]});let r=t;return r})();var Ct=(()=>{let t=class t{};t.\u0275fac=function(u){return new(u||t)},t.\u0275mod=l({type:t}),t.\u0275inj=d({imports:[S,$,F,P,B,V,O,z]});let r=t;return r})();export{Ct as AdminModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-GZHRP7B4.js b/frontend/server/modelsmith-build/browser/chunk-UGYWAUWL.js similarity index 94% rename from frontend/server/modelsmith-build/browser/chunk-GZHRP7B4.js rename to frontend/server/modelsmith-build/browser/chunk-UGYWAUWL.js index fde8bfc1..60284b29 100644 --- a/frontend/server/modelsmith-build/browser/chunk-GZHRP7B4.js +++ b/frontend/server/modelsmith-build/browser/chunk-UGYWAUWL.js @@ -1 +1 @@ -import{Ae as R,Ce as E,F as z,Hc as s,Ic as w,L as C,R as b,Tc as p,Uc as j,Wc as u,Xc as y,Yc as D,Z as l,Zc as A,_c as M,a as n,b as c,ba as d,k as x,s as F,w as v}from"./chunk-MDAOMI2L.js";var a=w({source:"[Run Records -> Records]",events:{"Get Run Records Filenames":s(),"Get Run Records Filenames Success":s(),"Get Run Records Filenames Failure":s(),"Get Run Record Summarized Data":s(),"Get Run Record Summarized Data Success":s(),"Get Run Record Summarized Data Failure":s()}});var G=j("runRecords");var I=p(G,r=>r.records),H=p(I,r=>r.filenames),J=p(I,r=>r.summarizedRecord);var f=class extends R{constructor(e){super(`run-records-filenames/${e}`,void 0,void 0,!1)}};var g=class extends R{constructor(e,T){super(`run-records-summarized-data/${e}/${T}`,void 0,void 0,!1)}};var se=(()=>{let e=class e{constructor(o,t){this.apiClient=o,this.actions$=t,this.getRunRecordsFilenames$=D(()=>this.actions$.pipe(M(a.getRunRecordsFilenames),b(i=>{let{algorithmType:h}=i;return this.apiClient.serviceCall(new f(h)).pipe(v(m=>a.getRunRecordsFilenamesSuccess({files:m})),z(m=>F(a.getRunRecordsFilenamesFailure({error:m}))))}))),this.getRunRecordSummarizedData$=D(()=>this.actions$.pipe(M(a.getRunRecordSummarizedData),b(i=>{let{algorithmType:h,filename:m}=i;return this.apiClient.serviceCall(new g(h,m)).pipe(v(S=>a.getRunRecordSummarizedDataSuccess({record:S})),z(S=>F(a.getRunRecordSummarizedDataFailure({error:S}))))})))}};e.\u0275fac=function(t){return new(t||e)(d(E),d(A))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let r=e;return r})();var k={filenames:[],summarizedRecord:{},error:""},me=y(k,u(a.getRunRecordsFilenamesSuccess,(r,{files:e})=>c(n({},r),{filenames:e,error:null})),u(a.getRunRecordsFilenamesFailure,(r,{error:e})=>c(n({},r),{error:e})),u(a.getRunRecordSummarizedData,r=>c(n({},r),{loading:!0,error:null})),u(a.getRunRecordSummarizedDataSuccess,(r,{record:e})=>c(n({},r),{summarizedRecord:e,error:null})),u(a.getRunRecordSummarizedDataFailure,(r,{error:e})=>c(n({},r),{error:e})));var O=function(r){return r.RUN_RECORDS_SUMMARIZED_DATA="runRecordsSummarizedData",r}(O||{}),U=[{key:O.RUN_RECORDS_SUMMARIZED_DATA,urlPattern:"/rest/run-records-summarized-data/[^/]+/[^/]+",track:!0,useRegex:!0}],L=(()=>{let e=class e{constructor(){this.loadingMap=new Map}setLoading(o,t){this.loadingMap.has(t)||this.loadingMap.set(t,new x(!1)),this.loadingMap.get(t).next(o)}getLoadingObservableForKey(o){if(this.loadingMap.has(o))return this.loadingMap.get(o).asObservable();{let t=new x(!1);return this.loadingMap.set(o,t),t.asObservable()}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Fe=(()=>{let e=class e{constructor(o){this.loadingService=o}intercept(o,t){let i=this.getMatchingConfig(o);return i&&i.track&&this.loadingService.setLoading(!0,i.key),t.handle(o).pipe(C(()=>{i&&i.track&&this.loadingService.setLoading(!1,i.key)}))}getMatchingConfig(o){let t=o.url.split("?")[0];return U.find(i=>i.track&&(i.useRegex?new RegExp(i.urlPattern).test(t):i.urlPattern===t))}};e.\u0275fac=function(t){return new(t||e)(d(L))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let r=e;return r})();export{a,se as b,me as c,H as d,J as e,O as f,L as g,Fe as h}; +import{$c as M,Be as R,De as E,F as z,Ic as s,Jc as w,L as C,R as b,Uc as p,Vc as j,Xc as u,Yc as y,Z as l,Zc as D,_c as A,a as n,b as c,ba as d,k as x,s as F,w as v}from"./chunk-MVLCGSW5.js";var a=w({source:"[Run Records -> Records]",events:{"Get Run Records Filenames":s(),"Get Run Records Filenames Success":s(),"Get Run Records Filenames Failure":s(),"Get Run Record Summarized Data":s(),"Get Run Record Summarized Data Success":s(),"Get Run Record Summarized Data Failure":s()}});var G=j("runRecords");var I=p(G,r=>r.records),H=p(I,r=>r.filenames),J=p(I,r=>r.summarizedRecord);var f=class extends R{constructor(e){super(`run-records-filenames/${e}`,void 0,void 0,!1)}};var g=class extends R{constructor(e,T){super(`run-records-summarized-data/${e}/${T}`,void 0,void 0,!1)}};var se=(()=>{let e=class e{constructor(o,t){this.apiClient=o,this.actions$=t,this.getRunRecordsFilenames$=D(()=>this.actions$.pipe(M(a.getRunRecordsFilenames),b(i=>{let{algorithmType:h}=i;return this.apiClient.serviceCall(new f(h)).pipe(v(m=>a.getRunRecordsFilenamesSuccess({files:m})),z(m=>F(a.getRunRecordsFilenamesFailure({error:m}))))}))),this.getRunRecordSummarizedData$=D(()=>this.actions$.pipe(M(a.getRunRecordSummarizedData),b(i=>{let{algorithmType:h,filename:m}=i;return this.apiClient.serviceCall(new g(h,m)).pipe(v(S=>a.getRunRecordSummarizedDataSuccess({record:S})),z(S=>F(a.getRunRecordSummarizedDataFailure({error:S}))))})))}};e.\u0275fac=function(t){return new(t||e)(d(E),d(A))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let r=e;return r})();var k={filenames:[],summarizedRecord:{},error:""},me=y(k,u(a.getRunRecordsFilenamesSuccess,(r,{files:e})=>c(n({},r),{filenames:e,error:null})),u(a.getRunRecordsFilenamesFailure,(r,{error:e})=>c(n({},r),{error:e})),u(a.getRunRecordSummarizedData,r=>c(n({},r),{loading:!0,error:null})),u(a.getRunRecordSummarizedDataSuccess,(r,{record:e})=>c(n({},r),{summarizedRecord:e,error:null})),u(a.getRunRecordSummarizedDataFailure,(r,{error:e})=>c(n({},r),{error:e})));var O=function(r){return r.RUN_RECORDS_SUMMARIZED_DATA="runRecordsSummarizedData",r}(O||{}),U=[{key:O.RUN_RECORDS_SUMMARIZED_DATA,urlPattern:"/rest/run-records-summarized-data/[^/]+/[^/]+",track:!0,useRegex:!0}],L=(()=>{let e=class e{constructor(){this.loadingMap=new Map}setLoading(o,t){this.loadingMap.has(t)||this.loadingMap.set(t,new x(!1)),this.loadingMap.get(t).next(o)}getLoadingObservableForKey(o){if(this.loadingMap.has(o))return this.loadingMap.get(o).asObservable();{let t=new x(!1);return this.loadingMap.set(o,t),t.asObservable()}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Fe=(()=>{let e=class e{constructor(o){this.loadingService=o}intercept(o,t){let i=this.getMatchingConfig(o);return i&&i.track&&this.loadingService.setLoading(!0,i.key),t.handle(o).pipe(C(()=>{i&&i.track&&this.loadingService.setLoading(!1,i.key)}))}getMatchingConfig(o){let t=o.url.split("?")[0];return U.find(i=>i.track&&(i.useRegex?new RegExp(i.urlPattern).test(t):i.urlPattern===t))}};e.\u0275fac=function(t){return new(t||e)(d(L))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let r=e;return r})();export{a,se as b,me as c,H as d,J as e,O as f,L as g,Fe as h}; diff --git a/frontend/server/modelsmith-build/browser/chunk-UJJEBS4W.js b/frontend/server/modelsmith-build/browser/chunk-UJJEBS4W.js deleted file mode 100644 index f8a85aef..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-UJJEBS4W.js +++ /dev/null @@ -1 +0,0 @@ -import{a as w,b as L}from"./chunk-NGJ5CWHR.js";import{a as We}from"./chunk-WGAUYJ4P.js";import{a as je,b as He}from"./chunk-UIR5RKCN.js";import{a as Oe,b as ye}from"./chunk-FELGKJRN.js";import{a as k,c as g}from"./chunk-C4NPICWQ.js";import{a as R,b as V}from"./chunk-JG6SCBOL.js";import{c as Ve}from"./chunk-XX6ZYDLH.js";import{a as Re,b as Ge}from"./chunk-MCE6M2DX.js";import{o as Le}from"./chunk-WXERLI5K.js";import{h as De}from"./chunk-BTHDGCD5.js";import{$ as ne,$a as _,Ab as me,D as O,Da as p,Db as ue,Ea as f,Eb as de,Fb as ge,Hb as B,Hc as h,I as N,Ic as be,J,Kb as fe,P as X,Pa as b,Q as Y,Qa as se,R as y,Ra as s,Rb as _e,Rd as Ie,S as m,Tb as Se,U as v,Wb as Ce,Xd as ve,Y as ee,Yd as xe,Z as te,Zb as Me,_ as ie,ab as u,ba as oe,bb as I,be as Ee,fb as T,fe as ke,ga as P,ha as re,ia as j,ib as D,ie as Ae,j as Z,k as A,kb as d,lb as le,mb as F,oa as C,ob as W,pa as M,pb as Q,qb as x,qe as Ne,rb as E,s as z,sb as U,tb as $,te as Pe,ub as ce,ue as Te,vb as pe,w as S,wa as H,we as Fe,x as q,xa as ae,xe as we,zb as he}from"./chunk-MDAOMI2L.js";var ht=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=P({type:n,selectors:[["ms-spining-indicator"]],standalone:!0,features:[me],decls:1,vars:1,consts:[["matTooltip","Task in progress",3,"diameter"]],template:function(o,r){o&1&&I(0,"mat-spinner",0),o&2&&s("diameter",25)},dependencies:[L,w,V,R]});let i=n;return i})();var c=function(i){return i.MODEL_COMPRESSION="MODEL_COMPRESSION",i.MACHINE_UNLEARNING="MACHINE_UNLEARNING",i.MODEL_TRAINING="MODEL_TRAINING",i.AWQ="AWQ",i.MODEL_SPECIALIZATION="MODEL_SPECIALIZATION",i.DIFFUSION_MODEL="DIFFUSION_MODEL",i.NONE="NONE",i}(c||{});var bt=(()=>{let n=class n{get currentRunningPage$(){return this._currentRunningPage.asObservable()}constructor(t){this.scriptFacadeService=t,this._currentRunningPage=new A(c.NONE)}trackCurrentRunningPage(){this.scriptFacadeService.scriptStatus$.pipe(O(t=>t===k.RUNNING||t===k.STOPPING),v(()=>this.scriptFacadeService.dispatch(Re.getCurrentOrLastActiveScriptDetails())),y(()=>this.scriptFacadeService.scriptDetails$.pipe(X(1),N(1),O(t=>!Ve(t?.algKey)))),S(t=>t.type)).subscribe(t=>{switch(t){case g.PRUNING:case g.QUANTIZATION:this._currentRunningPage.next(c.MODEL_COMPRESSION);break;case g.MACHINE_UNLEARNING:{this._currentRunningPage.next(c.MACHINE_UNLEARNING);break}case g.AWQ:{this._currentRunningPage.next(c.AWQ);break}case g.TRAIN:{this._currentRunningPage.next(c.MODEL_TRAINING);break}case g.MULTIFLOW:{this._currentRunningPage.next(c.MODEL_SPECIALIZATION);break}case g.DIFFUSION_MODEL:{this._currentRunningPage.next(c.DIFFUSION_MODEL);break}default:{this._currentRunningPage.next(c.NONE);break}}}),this.scriptFacadeService.scriptStatus$.subscribe(t=>{t!==k.RUNNING&&t!==k.STOPPING&&this._currentRunningPage.next(c.NONE)})}};n.\u0275fac=function(o){return new(o||n)(oe(Ge))},n.\u0275prov=te({token:n,factory:n.\u0275fac});let i=n;return i})();var Be=["searchSelectInput"],Ke=["innerSelectSearch"],Ze=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],ze=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],qe=(i,n)=>({"mat-select-search-inner-multiple":i,"mat-select-search-inner-toggle-all":n});function Je(i,n){if(i&1){let e=T();_(0,"mat-checkbox",12),D("change",function(o){C(e);let r=d();return M(r._emitSelectAllBooleanToParent(o.checked))}),u()}if(i&2){let e=d();s("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function Xe(i,n){i&1&&I(0,"mat-spinner",13)}function Ye(i,n){i&1&&F(0,1,["*ngIf","clearIcon; else defaultIcon"])}function et(i,n){if(i&1&&(_(0,"mat-icon",16),$(1),u()),i&2){let e=d(2);s("svgIcon",e.closeSvgIcon),p(),pe(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function tt(i,n){if(i&1){let e=T();_(0,"button",14),D("click",function(){C(e);let o=d();return M(o._reset(!0))}),b(1,Ye,1,0,"ng-content",15)(2,et,2,2,"ng-template",null,2,B),u()}if(i&2){let e=U(3),t=d();p(),s("ngIf",t.clearIcon)("ngIfElse",e)}}function it(i,n){i&1&&F(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function nt(i,n){if(i&1&&$(0),i&2){let e=d(2);ce(e.noEntriesFoundLabel)}}function ot(i,n){if(i&1&&(_(0,"div",17),b(1,it,1,0,"ng-content",15)(2,nt,1,1,"ng-template",null,3,B),u()),i&2){let e=U(3),t=d();p(),s("ngIf",t.noEntriesFound)("ngIfElse",e)}}var rt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=j({type:i,selectors:[["","ngxMatSelectSearchClear",""]]}),i})(),at=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],st=new ne("mat-selectsearch-default-options"),lt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=j({type:i,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),i})(),hi=(()=>{class i{constructor(e,t,o,r=null,a=null,K){this.matSelect=e,this.changeDetectorRef=t,this._viewportRuler=o,this.matOption=r,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new ae,this.onTouched=l=>{},this._options$=new A(null),this.optionsList$=this._options$.pipe(y(l=>l?l.changes.pipe(S(G=>G.toArray()),Y(l.toArray())):z(null))),this.optionsLength$=this.optionsList$.pipe(S(l=>l?l.length:0)),this._formControl=new ke(""),this._showNoEntriesFound$=q([this._formControl.valueChanges,this.optionsLength$]).pipe(S(([l,G])=>this.noEntriesFoundLabel&&l&&G===this.getOptionsLengthOffset())),this._onDestroy=new Z,this.applyDefaultOptions(K)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let t of at)e.hasOwnProperty(t)&&(this[t]=e[t])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(J(1),m(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(N(1),y(e=>{this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(v(()=>{setTimeout(()=>{let o=this._options.toArray(),r=o[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&r&&((!t||!this.matSelect.compareWith(t.value,r.value)||!a.activeItem||!o.find(l=>this.matSelect.compareWith(l.value,a.activeItem.value)))&&a.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),t=r})}))})).pipe(m(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(m(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(m(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(m(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||e.keyCode>=65&&e.keyCode<=90||e.keyCode>=48&&e.keyCode<=57||e.keyCode===32||this.preventHomeEndKeyPropagation&&(e.keyCode===36||e.keyCode===35))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.keyCode===13&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed===!0&&e.keyCode===27&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.keyCode===38||e.keyCode===40){let t=this.matSelect._getAriaActiveDescendant(),o=this._options.toArray().findIndex(r=>r.id===t);o!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[o]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",t))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(O(t=>t!==this._lastExternalInputValue),v(()=>this._lastExternalInputValue=void 0),m(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,t=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=t}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe(m(this._onDestroy)).subscribe(e=>{let t=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let o=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!e.some(a=>this.matSelect.compareWith(a,r))&&!o.some(a=>this.matSelect.compareWith(a,r))&&(e.push(r),t=!0)})}this.previousSelectedValues=e,t&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,t;for(;e=e.parentElement;)if(e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return i.\u0275fac=function(e){return new(e||i)(f(We),f(fe),f(Le),f(Ie,8),f(De,8),f(st,8))},i.\u0275cmp=P({type:i,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,t,o){if(e&1&&(W(o,rt,5),W(o,lt,5)),e&2){let r;x(r=E())&&(t.clearIcon=r.first),x(r=E())&&(t.noEntriesFound=r.first)}},viewQuery:function(e,t){if(e&1&&(Q(Be,7,H),Q(Ke,7,H)),e&2){let o;x(o=E())&&(t.searchSelectInput=o.first),x(o=E())&&(t.innerSelectSearch=o.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[he([{provide:ve,useExisting:ee(()=>i),multi:!0}])],ngContentSelectors:ze,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,t){if(e&1){let o=T();le(Ze),I(0,"input",4),_(1,"div",5,0)(3,"div",6),b(4,Je,1,5,"mat-checkbox",7),_(5,"input",8,1),D("keydown",function(a){return C(o),M(t._handleKeydown(a))})("keyup",function(a){return C(o),M(t._handleKeyup(a))})("blur",function(){return C(o),M(t.onBlur())}),u(),b(7,Xe,1,0,"mat-spinner",9)(8,tt,4,2,"button",10),F(9),u(),I(10,"mat-divider"),u(),b(11,ot,4,2,"div",11),de(12,"async")}e&2&&(p(),s("ngClass",ue(11,qe,t.matSelect.multiple,t._isToggleAllCheckboxVisible())),p(3),s("ngIf",t._isToggleAllCheckboxVisible()),p(),s("type",t.type)("formControl",t._formControl)("placeholder",t.placeholderLabel),se("aria-label",t.ariaLabel),p(2),s("ngIf",t.searching),p(),s("ngIf",!t.hideClearSearchButton&&t.value&&!t.searching),p(3),s("ngIf",ge(12,9,t._showNoEntriesFound$)))},dependencies:[_e,Se,xe,Ee,Ae,Pe,je,Fe,w,R,Oe,Ce],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),i})();var mi=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=re({type:i}),i.\u0275inj=ie({imports:[Me,Ne,Te,He,we,L,V,ye]}),i})();var gi=be({source:"[Models]",events:{"Get Models List":h(),"Get Models List Success":h(),"Get Models List Failure":h(),"Get Current Or Previous Selected Model":h(),"Get Current Or Previous Selected Model Success":h(),"Get Current Or Previous Selected Model Failure":h(),"Get Model Metadata":h(),"Get Model Metadata Success":h(),"Get Model Metadata Failure":h()}});export{ht as a,c as b,bt as c,st as d,hi as e,mi as f,gi as g}; diff --git a/frontend/server/modelsmith-build/browser/chunk-V4WFZ5A5.js b/frontend/server/modelsmith-build/browser/chunk-V4WFZ5A5.js new file mode 100644 index 00000000..72a9edc9 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-V4WFZ5A5.js @@ -0,0 +1 @@ +import{a as Ne,b as Qe,c as $e,d as se,e as le,f as Be,g as qe,h as Ue}from"./chunk-PAR2WLRN.js";import{c as je,e as Ve,f as He}from"./chunk-I333ACNB.js";import{$a as p,Ab as W,Ac as ae,Bb as V,Bc as ne,Cc as re,Cd as Fe,Da as o,Db as Z,Ea as d,Eb as k,Ed as Re,Fa as B,Ib as we,Id as oe,K as he,Kd as E,Lb as J,Ma as De,Md as Oe,Na as g,Nd as Pe,Pa as f,Q as ue,Qa as I,R as fe,Ra as m,S as Q,Ta as v,Va as Me,Wa as ze,Wb as X,Xa as h,Y as ve,Ya as O,Z as _e,Za as P,_ as be,_a as L,_b as ke,ab as c,bb as q,ca as ge,da as xe,ea as ye,eb as x,fb as A,g as de,ga as F,gb as U,ha as Se,ia as C,ib as j,j as N,jd as Ee,kb as l,lb as G,mb as Y,oa as M,ob as w,pa as z,pb as Ie,qb as T,rb as D,sa as R,sb as K,tb as _,tc as ee,ub as b,uc as te,vc as ie,w as me,wa as $,xa as Ce,xc as y,xe as Le,ya as Te,yc as S,ye as Ae}from"./chunk-MVLCGSW5.js";function tt(t,e){if(t&1&&x(0,2),t&2){let r=l();m("ngTemplateOutlet",r.iconOverrides[r.state])("ngTemplateOutletContext",r._getIconContext())}}function it(t,e){if(t&1&&(p(0,"span",7),_(1),c()),t&2){let r=l(2);o(),b(r._getDefaultTextForState(r.state))}}function at(t,e){if(t&1&&(p(0,"span",8),_(1),c()),t&2){let r=l(3);o(),b(r._intl.completedLabel)}}function nt(t,e){if(t&1&&(p(0,"span",8),_(1),c()),t&2){let r=l(3);o(),b(r._intl.editableLabel)}}function rt(t,e){if(t&1&&(f(0,at,2,1,"span",8)(1,nt,2,1,"span",8),p(2,"mat-icon",7),_(3),c()),t&2){let r=l(2);h(r.state==="done"?0:r.state==="edit"?1:-1),o(3),b(r._getDefaultTextForState(r.state))}}function ot(t,e){if(t&1&&f(0,it,2,1,"span",7)(1,rt,4,2,"mat-icon",7),t&2){let r,i=l();h((r=i.state)==="number"?0:1)}}function st(t,e){t&1&&(p(0,"div",4),x(1,9),c()),t&2&&(o(),m("ngTemplateOutlet",e.template))}function lt(t,e){if(t&1&&(p(0,"div",4),_(1),c()),t&2){let r=l();o(),b(r.label)}}function pt(t,e){if(t&1&&(p(0,"div",5),_(1),c()),t&2){let r=l();o(),b(r._intl.optionalLabel)}}function ct(t,e){if(t&1&&(p(0,"div",6),_(1),c()),t&2){let r=l();o(),b(r.errorMessage)}}var Ye=["*"];function dt(t,e){}function mt(t,e){if(t&1&&(Y(0),f(1,dt,0,0,"ng-template",0)),t&2){let r=l();o(),m("cdkPortalOutlet",r._portal)}}var Ke=(t,e)=>({step:t,i:e}),We=t=>({animationDuration:t}),Ze=(t,e)=>({value:t,params:e});function ht(t,e){t&1&&Y(0)}function ut(t,e){t&1&&q(0,"div",6)}function ft(t,e){if(t&1&&(x(0,5),f(1,ut,1,0,"div",6)),t&2){let r=e.$implicit,i=e.$index,a=e.$count;l(2);let n=K(4);m("ngTemplateOutlet",n)("ngTemplateOutletContext",k(3,Ke,r,i)),o(),h(i!==a-1?1:-1)}}function vt(t,e){if(t&1){let r=A();p(0,"div",7),j("@horizontalStepTransition.done",function(a){M(r);let n=l(2);return z(n._animationDone.next(a))}),x(1,8),c()}if(t&2){let r=e.$implicit,i=e.$index,a=l(2);v("mat-horizontal-stepper-content-inactive",a.selectedIndex!==i),m("@horizontalStepTransition",k(8,Ze,a._getAnimationDirection(i),Z(6,We,a._getAnimationDuration())))("id",a._getStepContentId(i)),I("aria-labelledby",a._getStepLabelId(i)),o(),m("ngTemplateOutlet",r.content)}}function _t(t,e){if(t&1&&(p(0,"div",1)(1,"div",2),P(2,ft,2,6,null,null,O),c(),p(4,"div",3),P(5,vt,2,11,"div",4,O),c()()),t&2){let r=l();o(2),L(r.steps),o(3),L(r.steps)}}function bt(t,e){if(t&1){let r=A();p(0,"div",9),x(1,5),p(2,"div",10)(3,"div",11),j("@verticalStepTransition.done",function(a){M(r);let n=l(2);return z(n._animationDone.next(a))}),p(4,"div",12),x(5,8),c()()()()}if(t&2){let r=e.$implicit,i=e.$index,a=e.$count,n=l(2),s=K(4);o(),m("ngTemplateOutlet",s)("ngTemplateOutletContext",k(10,Ke,r,i)),o(),v("mat-stepper-vertical-line",i!==a-1),o(),v("mat-vertical-stepper-content-inactive",n.selectedIndex!==i),m("@verticalStepTransition",k(15,Ze,n._getAnimationDirection(i),Z(13,We,n._getAnimationDuration())))("id",n._getStepContentId(i)),I("aria-labelledby",n._getStepLabelId(i)),o(2),m("ngTemplateOutlet",r.content)}}function gt(t,e){if(t&1&&P(0,bt,6,18,"div",9,O),t&2){let r=l();L(r.steps)}}function xt(t,e){if(t&1){let r=A();p(0,"mat-step-header",13),j("click",function(){let a=M(r).step;return z(a.select())})("keydown",function(a){M(r);let n=l();return z(n._onKeydown(a))}),c()}if(t&2){let r=e.step,i=e.i,a=l();v("mat-horizontal-stepper-header",a.orientation==="horizontal")("mat-vertical-stepper-header",a.orientation==="vertical"),m("tabIndex",a._getFocusIndex()===i?0:-1)("id",a._getStepLabelId(i))("index",i)("state",a._getIndicatorType(i,r.state))("label",r.stepLabel||r.label)("selected",a.selectedIndex===i)("active",a._stepIsNavigable(i,r))("optional",r.optional)("errorMessage",r.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(i,r))("color",r.color||a.color),I("aria-posinset",i+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(i))("aria-selected",a.selectedIndex==i)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null)("aria-disabled",a._stepIsNavigable(i,r)?null:!0)}}var pe=(()=>{let e=class e extends Qe{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matStepLabel",""]],standalone:!0,features:[g]});let t=e;return t})(),H=(()=>{let e=class e{constructor(){this.changes=new N,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yt(t){return t||new H}var St={provide:H,deps:[[new xe,new ye,H]],useFactory:yt},ce=(()=>{let e=class e extends Ne{constructor(i,a,n,s){super(n),this._intl=i,this._focusMonitor=a,this._intlSubscription=i.changes.subscribe(()=>s.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(i,a){i?this._focusMonitor.focusVia(this._elementRef,i,a):this._elementRef.nativeElement.focus(a)}_stringLabel(){return this.label instanceof pe?null:this.label}_templateLabel(){return this.label instanceof pe?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(i){return i=="number"?`${this.index+1}`:i=="edit"?"create":i=="error"?"warning":i}};e.\u0275fac=function(a){return new(a||e)(d(H),d(Fe),d($),d(J))},e.\u0275cmp=F({type:e,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,n){a&2&&Me("mat-"+(n.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[g,V],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(a,n){if(a&1&&(q(0,"div",0),p(1,"div")(2,"div",1),f(3,tt,1,2,"ng-container",2)(4,ot,2,1),c()(),p(5,"div",3),f(6,st,2,1,"div",4)(7,lt,2,1,"div",4)(8,pt,2,1,"div",5)(9,ct,2,1,"div",6),c()),a&2){let s;m("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disableRipple),o(),ze("mat-step-icon-state-",n.state," mat-step-icon"),v("mat-step-icon-selected",n.selected),o(2),h(n.iconOverrides&&n.iconOverrides[n.state]?3:4),o(2),v("mat-step-label-active",n.active)("mat-step-label-selected",n.selected)("mat-step-label-error",n.state=="error"),o(),h((s=n._templateLabel())?6:n._stringLabel()?7:-1,s),o(2),h(n.optional&&n.state!="error"?8:-1),o(),h(n.state==="error"?9:-1)}},dependencies:[Oe,X,Le],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let t=e;return t})(),Je="500ms",Xe="225ms",Ge={horizontalStepTransition:ee("horizontalStepTransition",[S("previous",y({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),S("current",y({transform:"none",visibility:"inherit"})),S("next",y({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ae("* => *",ie([te("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),re("@*",ne(),{optional:!0})]),{params:{animationDuration:Je}})]),verticalStepTransition:ee("verticalStepTransition",[S("previous",y({height:"0px",visibility:"hidden"})),S("next",y({height:"0px",visibility:"hidden"})),S("current",y({height:"*",visibility:"inherit"})),ae("* <=> current",ie([te("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),re("@*",ne(),{optional:!0})]),{params:{animationDuration:Xe}})])},Ct=(()=>{let e=class e{constructor(i){this.templateRef=i}};e.\u0275fac=function(a){return new(a||e)(d(B))},e.\u0275dir=C({type:e,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});let t=e;return t})(),Tt=(()=>{let e=class e{constructor(i){this._template=i}};e.\u0275fac=function(a){return new(a||e)(d(B))},e.\u0275dir=C({type:e,selectors:[["ng-template","matStepContent",""]],standalone:!0});let t=e;return t})(),Dt=(()=>{let e=class e extends se{constructor(i,a,n,s){super(i,s),this._errorStateMatcher=a,this._viewContainerRef=n,this._isSelected=de.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(fe(()=>this._stepper.selectionChange.pipe(me(i=>i.selectedStep===this),ue(this._stepper.selected===this)))).subscribe(i=>{i&&this._lazyContent&&!this._portal&&(this._portal=new je(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(i,a){let n=this._errorStateMatcher.isErrorState(i,a),s=!!(i&&i.invalid&&this.interacted);return n||s}};e.\u0275fac=function(a){return new(a||e)(d(ve(()=>et)),d(E,4),d(De),d($e,8))},e.\u0275cmp=F({type:e,selectors:[["mat-step"]],contentQueries:function(a,n,s){if(a&1&&(w(s,pe,5),w(s,Tt,5)),a&2){let u;T(u=D())&&(n.stepLabel=u.first),T(u=D())&&(n._lazyContent=u.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[W([{provide:E,useExisting:e},{provide:se,useExisting:e}]),g,V],ngContentSelectors:Ye,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a,n){a&1&&(G(),f(0,mt,2,1,"ng-template"))},dependencies:[Ve],encapsulation:2,changeDetection:0});let t=e;return t})(),et=(()=>{let e=class e extends le{get animationDuration(){return this._animationDuration}set animationDuration(i){this._animationDuration=/^\d+$/.test(i)?i+"ms":i}constructor(i,a,n){super(i,a,n),this._stepHeader=void 0,this._steps=void 0,this.steps=new Te,this.animationDone=new Ce,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new N,this._animationDuration="",this._isServer=!ge(Ee).isBrowser;let s=n.nativeElement.nodeName.toLowerCase();this.orientation=s==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:i,templateRef:a})=>this._iconOverrides[i]=a),this.steps.changes.pipe(Q(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(he((i,a)=>i.fromState===a.fromState&&i.toState===a.toState),Q(this._destroyed)).subscribe(i=>{i.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(i,a){return a.completed||this.selectedIndex===i||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?Je:Xe}};e.\u0275fac=function(a){return new(a||e)(d(Re,8),d(J),d($))},e.\u0275cmp=F({type:e,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,n,s){if(a&1&&(w(s,Dt,5),w(s,Ct,5)),a&2){let u;T(u=D())&&(n._steps=u),T(u=D())&&(n._icons=u)}},viewQuery:function(a,n){if(a&1&&Ie(ce,5),a&2){let s;T(s=D())&&(n._stepHeader=s)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,n){a&2&&(I("aria-orientation",n.orientation),v("mat-stepper-horizontal",n.orientation==="horizontal")("mat-stepper-vertical",n.orientation==="vertical")("mat-stepper-label-position-end",n.orientation==="horizontal"&&n.labelPosition=="end")("mat-stepper-label-position-bottom",n.orientation==="horizontal"&&n.labelPosition=="bottom")("mat-stepper-header-position-bottom",n.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[W([{provide:le,useExisting:e}]),g,V],ngContentSelectors:Ye,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(a,n){if(a&1&&(G(),f(0,ht,1,0)(1,_t,7,0,"div",1)(2,gt,2,0)(3,xt,1,23,"ng-template",null,0,we)),a&2){let s;h(n._isServer?0:-1),o(),h((s=n.orientation)==="horizontal"?1:s==="vertical"?2:-1)}},dependencies:[X,ce],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Ge.horizontalStepTransition,Ge.verticalStepTransition]},changeDetection:0});let t=e;return t})(),Jt=(()=>{let e=class e extends Be{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275dir=C({type:e,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,n){a&2&&U("type",n.type)},standalone:!0,features:[g]});let t=e;return t})(),Xt=(()=>{let e=class e extends qe{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275dir=C({type:e,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,n){a&2&&U("type",n.type)},standalone:!0,features:[g]});let t=e;return t})(),ei=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Se({type:e}),e.\u0275inj=be({providers:[St,E],imports:[oe,ke,He,Ue,Ae,Pe,et,ce,oe]});let t=e;return t})();export{pe as a,Tt as b,Dt as c,et as d,Jt as e,Xt as f,ei as g}; diff --git a/frontend/server/modelsmith-build/browser/chunk-IPCM5XN4.js b/frontend/server/modelsmith-build/browser/chunk-VOZENGGC.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-IPCM5XN4.js rename to frontend/server/modelsmith-build/browser/chunk-VOZENGGC.js index db270944..9b48ab81 100644 --- a/frontend/server/modelsmith-build/browser/chunk-IPCM5XN4.js +++ b/frontend/server/modelsmith-build/browser/chunk-VOZENGGC.js @@ -1,4 +1,4 @@ -import{b as ca}from"./chunk-C4NPICWQ.js";import{a as he,c as ha}from"./chunk-XX6ZYDLH.js";import{b as fa,r as Ss,s as ua}from"./chunk-MCE6M2DX.js";import{a as la,b as qe}from"./chunk-O6HMI7CW.js";import{$a as sa,Ab as aa,Da as ta,Ea as ce,J as qn,Ja as ea,K as Gr,Ra as ia,Z as Ee,_ as qr,a as xs,ab as na,b as _s,ba as ys,bb as oa,d as Uf,e as Yf,ga as Kr,ha as Zr,ia as Qr,j as Gn,k as Mi,na as vs,p as $r,pb as Zn,qb as Qn,rb as Jn,wa as Jr,xa as Kn,zb as ra}from"./chunk-MDAOMI2L.js";var Gh=Uf((MT,Fn)=>{"use strict";(function(e,i,t,s){"use strict";var n=["","webkit","Moz","MS","ms","o"],o=i.createElement("div"),r="function",a=Math.round,l=Math.abs,c=Date.now;function h(d,g,x){return setTimeout(S(d,x),g)}function f(d,g,x){return Array.isArray(d)?(u(d,x[g],x),!0):!1}function u(d,g,x){var v;if(d)if(d.forEach)d.forEach(g,x);else if(d.length!==s)for(v=0;v{"use strict";(function(e,i,t,s){"use strict";var n=["","webkit","Moz","MS","ms","o"],o=i.createElement("div"),r="function",a=Math.round,l=Math.abs,c=Date.now;function h(d,g,x){return setTimeout(S(d,x),g)}function f(d,g,x){return Array.isArray(d)?(u(d,x[g],x),!0):!1}function u(d,g,x){var v;if(d)if(d.forEach)d.forEach(g,x);else if(d.length!==s)for(v=0;v\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",B=e.console&&(e.console.warn||e.console.log);return B&&B.call(e.console,v,k),d.apply(this,arguments)}}var m;typeof Object.assign!="function"?m=function(g){if(g===s||g===null)throw new TypeError("Cannot convert undefined or null to object");for(var x=Object(g),v=1;v-1}function D(d){return d.trim().split(/\s+/g)}function I(d,g,x){if(d.indexOf&&!x)return d.indexOf(g);for(var v=0;vht[g]}):v=v.sort()),v}function Q(d,g){for(var x,v,P=g[0].toUpperCase()+g.slice(1),k=0;k1&&!x.firstMultiple?x.firstMultiple=kr(g):P===1&&(x.firstMultiple=!1);var k=x.firstInput,B=x.firstMultiple,nt=B?B.center:k.center,at=g.center=Dr(v);g.timeStamp=c(),g.deltaTime=g.timeStamp-k.timeStamp,g.angle=Nn(nt,at),g.distance=hs(nt,at),yf(x,g),g.offsetDirection=Ir(g.deltaX,g.deltaY);var ht=Er(g.deltaTime,g.deltaX,g.deltaY);g.overallVelocityX=ht.x,g.overallVelocityY=ht.y,g.overallVelocity=l(ht.x)>l(ht.y)?ht.x:ht.y,g.scale=B?Cf(B.pointers,v):1,g.rotation=B?Sf(B.pointers,v):0,g.maxPointers=x.prevInput?g.pointers.length>x.prevInput.maxPointers?g.pointers.length:x.prevInput.maxPointers:g.pointers.length,vf(x,g);var Ft=d.element;A(g.srcEvent.target,Ft)&&(Ft=g.srcEvent.target),g.target=Ft}function yf(d,g){var x=g.center,v=d.offsetDelta||{},P=d.prevDelta||{},k=d.prevInput||{};(g.eventType===K||k.eventType===et)&&(P=d.prevDelta={x:k.deltaX||0,y:k.deltaY||0},v=d.offsetDelta={x:x.x,y:x.y}),g.deltaX=P.x+(x.x-v.x),g.deltaY=P.y+(x.y-v.y)}function vf(d,g){var x=d.lastInterval||g,v=g.timeStamp-x.timeStamp,P,k,B,nt;if(g.eventType!=gt&&(v>Oe||x.velocity===s)){var at=g.deltaX-x.deltaX,ht=g.deltaY-x.deltaY,Ft=Er(v,at,ht);k=Ft.x,B=Ft.y,P=l(Ft.x)>l(Ft.y)?Ft.x:Ft.y,nt=Ir(at,ht),d.lastInterval=g}else P=x.velocity,k=x.velocityX,B=x.velocityY,nt=x.direction;g.velocity=P,g.velocityX=k,g.velocityY=B,g.direction=nt}function kr(d){for(var g=[],x=0;x=l(g)?d<0?xi:_i:g<0?yi:vi}function hs(d,g,x){x||(x=Ar);var v=g[x[0]]-d[x[0]],P=g[x[1]]-d[x[1]];return Math.sqrt(v*v+P*P)}function Nn(d,g,x){x||(x=Ar);var v=g[x[0]]-d[x[0]],P=g[x[1]]-d[x[1]];return Math.atan2(P,v)*180/Math.PI}function Sf(d,g){return Nn(g[1],g[0],cs)+Nn(d[1],d[0],cs)}function Cf(d,g){return hs(g[0],g[1],cs)/hs(d[0],d[1],cs)}var Tf={mousedown:K,mousemove:Ae,mouseup:et},Mf="mousedown",Pf="mousemove mouseup";function fs(){this.evEl=Mf,this.evWin=Pf,this.pressed=!1,St.apply(this,arguments)}y(fs,St,{handler:function(g){var x=Tf[g.type];x&K&&g.button===0&&(this.pressed=!0),x&Ae&&g.which!==1&&(x=et),this.pressed&&(x&et&&(this.pressed=!1),this.callback(this.manager,x,{pointers:[g],changedPointers:[g],pointerType:Ut,srcEvent:g}))}});var wf={pointerdown:K,pointermove:Ae,pointerup:et,pointercancel:gt,pointerout:gt},Of={2:It,3:ae,4:Ut,5:Yt},Lr="pointerdown",Rr="pointermove pointerup pointercancel";e.MSPointerEvent&&!e.PointerEvent&&(Lr="MSPointerDown",Rr="MSPointerMove MSPointerUp MSPointerCancel");function Bn(){this.evEl=Lr,this.evWin=Rr,St.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}y(Bn,St,{handler:function(g){var x=this.store,v=!1,P=g.type.toLowerCase().replace("ms",""),k=wf[P],B=Of[g.pointerType]||g.pointerType,nt=B==It,at=I(x,g.pointerId,"pointerId");k&K&&(g.button===0||nt)?at<0&&(x.push(g),at=x.length-1):k&(et|gt)&&(v=!0),!(at<0)&&(x[at]=g,this.callback(this.manager,k,{pointers:x,changedPointers:[g],pointerType:B,srcEvent:g}),v&&x.splice(at,1))}});var Af={touchstart:K,touchmove:Ae,touchend:et,touchcancel:gt},kf="touchstart",Df="touchstart touchmove touchend touchcancel";function Fr(){this.evTarget=kf,this.evWin=Df,this.started=!1,St.apply(this,arguments)}y(Fr,St,{handler:function(g){var x=Af[g.type];if(x===K&&(this.started=!0),!!this.started){var v=Ef.call(this,g,x);x&(et|gt)&&v[0].length-v[1].length===0&&(this.started=!1),this.callback(this.manager,x,{pointers:v[0],changedPointers:v[1],pointerType:It,srcEvent:g})}}});function Ef(d,g){var x=R(d.touches),v=R(d.changedTouches);return g&(et|gt)&&(x=z(x.concat(v),"identifier",!0)),[x,v]}var If={touchstart:K,touchmove:Ae,touchend:et,touchcancel:gt},Lf="touchstart touchmove touchend touchcancel";function us(){this.evTarget=Lf,this.targetIds={},St.apply(this,arguments)}y(us,St,{handler:function(g){var x=If[g.type],v=Rf.call(this,g,x);v&&this.callback(this.manager,x,{pointers:v[0],changedPointers:v[1],pointerType:It,srcEvent:g})}});function Rf(d,g){var x=R(d.touches),v=this.targetIds;if(g&(K|Ae)&&x.length===1)return v[x[0].identifier]=!0,[x,x];var P,k,B=R(d.changedTouches),nt=[],at=this.target;if(k=x.filter(function(ht){return A(ht.target,at)}),g===K)for(P=0;P-1&&v.splice(k,1)};setTimeout(P,Ff)}}function Nf(d){for(var g=d.srcEvent.clientX,x=d.srcEvent.clientY,v=0;v-1&&this.requireFail.splice(g,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(d){return!!this.simultaneous[d.id]},emit:function(d){var g=this,x=this.state;function v(P){g.manager.emit(P,d)}x=le&&v(g.options.event+Hr(x))},tryEmit:function(d){if(this.canEmit())return this.emit(d);this.state=Rt},canEmit:function(){for(var d=0;dg.threshold&&P&g.direction},attrTest:function(d){return Pt.prototype.attrTest.call(this,d)&&(this.state&Ct||!(this.state&Ct)&&this.directionTest(d))},emit:function(d){this.pX=d.deltaX,this.pY=d.deltaY;var g=Ur(d.direction);g&&(d.additionalEvent=this.options.event+g),this._super.emit.call(this,d)}});function Hn(){Pt.apply(this,arguments)}y(Hn,Pt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[De]},attrTest:function(d){return this._super.attrTest.call(this,d)&&(Math.abs(d.scale-1)>this.options.threshold||this.state&Ct)},emit:function(d){if(d.scale!==1){var g=d.scale<1?"in":"out";d.additionalEvent=this.options.event+g}this._super.emit.call(this,d)}});function Un(){$t.apply(this,arguments),this._timer=null,this._input=null}y(Un,$t,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[jr]},process:function(d){var g=this.options,x=d.pointers.length===g.pointers,v=d.distanceg.time;if(this._input=d,!v||!x||d.eventType&(et|gt)&&!P)this.reset();else if(d.eventType&K)this.reset(),this._timer=h(function(){this.state=Xt,this.tryEmit()},g.time,this);else if(d.eventType&et)return Xt;return Rt},reset:function(){clearTimeout(this._timer)},emit:function(d){this.state===Xt&&(d&&d.eventType&et?this.manager.emit(this.options.event+"up",d):(this._input.timeStamp=c(),this.manager.emit(this.options.event,this._input)))}});function Yn(){Pt.apply(this,arguments)}y(Yn,Pt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[De]},attrTest:function(d){return this._super.attrTest.call(this,d)&&(Math.abs(d.rotation)>this.options.threshold||this.state&Ct)}});function Xn(){Pt.apply(this,arguments)}y(Xn,Pt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Lt|ke,pointers:1},getTouchAction:function(){return ms.prototype.getTouchAction.call(this)},attrTest:function(d){var g=this.options.direction,x;return g&(Lt|ke)?x=d.overallVelocity:g&Lt?x=d.overallVelocityX:g&ke&&(x=d.overallVelocityY),this._super.attrTest.call(this,d)&&g&d.offsetDirection&&d.distance>this.options.threshold&&d.maxPointers==this.options.pointers&&l(x)>this.options.velocity&&d.eventType&et},emit:function(d){var g=Ur(d.offsetDirection);g&&this.manager.emit(this.options.event+g,d),this.manager.emit(this.options.event,d)}});function bs(){$t.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}y(bs,$t,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Wn]},process:function(d){var g=this.options,x=d.pointers.length===g.pointers,v=d.distance{let i=class i{get toggleZoom$(){return this._toggleZoomSubject.asObservable()}set toggleZoom(s){this._toggleZoomSubject.next(s)}get toggleTooltips$(){return this._toggleTooltipsSubject.asObservable()}set toggleTooltips(s){this._toggleTooltipsSubject.next(s)}constructor(){this._toggleTooltipsSubject=new Mi(!1),this._toggleZoomSubject=new Mi(!1)}};i.\u0275fac=function(n){return new(n||i)},i.\u0275prov=Ee({token:i,factory:i.\u0275fac});let e=i;return e})();function Oi(e){return e+.5|0}var fe=(e,i,t)=>Math.max(Math.min(e,t),i);function Pi(e){return fe(Oi(e*2.55),0,255)}function ue(e){return fe(Oi(e*255),0,255)}function qt(e){return fe(Oi(e/2.55)/100,0,1)}function pa(e){return fe(Oi(e*100),0,100)}var Tt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},io=[..."0123456789ABCDEF"],$f=e=>io[e&15],Gf=e=>io[(e&240)>>4]+io[e&15],Cs=e=>(e&240)>>4===(e&15),qf=e=>Cs(e.r)&&Cs(e.g)&&Cs(e.b)&&Cs(e.a);function Kf(e){var i=e.length,t;return e[0]==="#"&&(i===4||i===5?t={r:255&Tt[e[1]]*17,g:255&Tt[e[2]]*17,b:255&Tt[e[3]]*17,a:i===5?Tt[e[4]]*17:255}:(i===7||i===9)&&(t={r:Tt[e[1]]<<4|Tt[e[2]],g:Tt[e[3]]<<4|Tt[e[4]],b:Tt[e[5]]<<4|Tt[e[6]],a:i===9?Tt[e[7]]<<4|Tt[e[8]]:255})),t}var Zf=(e,i)=>e<255?i(e):"";function Qf(e){var i=qf(e)?$f:Gf;return e?"#"+i(e.r)+i(e.g)+i(e.b)+Zf(e.a,i):void 0}var Jf=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function xa(e,i,t){let s=i*Math.min(t,1-t),n=(o,r=(o+e/30)%12)=>t-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function tu(e,i,t){let s=(n,o=(n+e/60)%6)=>t-t*i*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function eu(e,i,t){let s=xa(e,1,.5),n;for(i+t>1&&(n=1/(i+t),i*=n,t*=n),n=0;n<3;n++)s[n]*=1-i-t,s[n]+=i;return s}function iu(e,i,t,s,n){return e===n?(i-t)/s+(i.5?h/(2-o-r):h/(o+r),l=iu(t,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function no(e,i,t,s){return(Array.isArray(i)?e(i[0],i[1],i[2]):e(i,t,s)).map(ue)}function oo(e,i,t){return no(xa,e,i,t)}function su(e,i,t){return no(eu,e,i,t)}function nu(e,i,t){return no(tu,e,i,t)}function _a(e){return(e%360+360)%360}function ou(e){let i=Jf.exec(e),t=255,s;if(!i)return;i[5]!==s&&(t=i[6]?Pi(+i[5]):ue(+i[5]));let n=_a(+i[2]),o=+i[3]/100,r=+i[4]/100;return i[1]==="hwb"?s=su(n,o,r):i[1]==="hsv"?s=nu(n,o,r):s=oo(n,o,r),{r:s[0],g:s[1],b:s[2],a:t}}function ru(e,i){var t=so(e);t[0]=_a(t[0]+i),t=oo(t),e.r=t[0],e.g=t[1],e.b=t[2]}function au(e){if(!e)return;let i=so(e),t=i[0],s=pa(i[1]),n=pa(i[2]);return e.a<255?`hsla(${t}, ${s}%, ${n}%, ${qt(e.a)})`:`hsl(${t}, ${s}%, ${n}%)`}var ga={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},ma={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function lu(){let e={},i=Object.keys(ma),t=Object.keys(ga),s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return e}var Ts;function cu(e){Ts||(Ts=lu(),Ts.transparent=[0,0,0,0]);let i=Ts[e.toLowerCase()];return i&&{r:i[0],g:i[1],b:i[2],a:i.length===4?i[3]:255}}var hu=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function fu(e){let i=hu.exec(e),t=255,s,n,o;if(i){if(i[7]!==s){let r=+i[7];t=i[8]?Pi(r):fe(r*255,0,255)}return s=+i[1],n=+i[3],o=+i[5],s=255&(i[2]?Pi(s):fe(s,0,255)),n=255&(i[4]?Pi(n):fe(n,0,255)),o=255&(i[6]?Pi(o):fe(o,0,255)),{r:s,g:n,b:o,a:t}}}function uu(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${qt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var eo=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Ke=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function du(e,i,t){let s=Ke(qt(e.r)),n=Ke(qt(e.g)),o=Ke(qt(e.b));return{r:ue(eo(s+t*(Ke(qt(i.r))-s))),g:ue(eo(n+t*(Ke(qt(i.g))-n))),b:ue(eo(o+t*(Ke(qt(i.b))-o))),a:e.a+t*(i.a-e.a)}}function Ms(e,i,t){if(e){let s=so(e);s[i]=Math.max(0,Math.min(s[i]+s[i]*t,i===0?360:1)),s=oo(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function ya(e,i){return e&&Object.assign(i||{},e)}function ba(e){var i={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(i={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(i.a=ue(e[3]))):(i=ya(e,{r:0,g:0,b:0,a:1}),i.a=ue(i.a)),i}function pu(e){return e.charAt(0)==="r"?fu(e):ou(e)}var wi=class e{constructor(i){if(i instanceof e)return i;let t=typeof i,s;t==="object"?s=ba(i):t==="string"&&(s=Kf(i)||cu(i)||pu(i)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var i=ya(this._rgb);return i&&(i.a=qt(i.a)),i}set rgb(i){this._rgb=ba(i)}rgbString(){return this._valid?uu(this._rgb):void 0}hexString(){return this._valid?Qf(this._rgb):void 0}hslString(){return this._valid?au(this._rgb):void 0}mix(i,t){if(i){let s=this.rgb,n=i.rgb,o,r=t===o?.5:t,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(i,t){return i&&(this._rgb=du(this._rgb,i._rgb,t)),this}clone(){return new e(this.rgb)}alpha(i){return this._rgb.a=ue(i),this}clearer(i){let t=this._rgb;return t.a*=1-i,this}greyscale(){let i=this._rgb,t=Oi(i.r*.3+i.g*.59+i.b*.11);return i.r=i.g=i.b=t,this}opaquer(i){let t=this._rgb;return t.a*=1+i,this}negate(){let i=this._rgb;return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,this}lighten(i){return Ms(this._rgb,2,i),this}darken(i){return Ms(this._rgb,2,-i),this}saturate(i){return Ms(this._rgb,1,i),this}desaturate(i){return Ms(this._rgb,1,-i),this}rotate(i){return ru(this._rgb,i),this}};function At(){}var co=(()=>{let e=0;return()=>e++})();function V(e){return e===null||typeof e>"u"}function H(e){if(Array.isArray&&Array.isArray(e))return!0;let i=Object.prototype.toString.call(e);return i.slice(0,7)==="[object"&&i.slice(-6)==="Array]"}function N(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function G(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function dt(e,i){return G(e)?e:i}function E(e,i){return typeof e>"u"?i:e}var ho=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/i,Ds=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*i:+e;function L(e,i,t){if(e&&typeof e.call=="function")return e.apply(t,i)}function F(e,i,t,s){let n,o,r;if(H(e))if(o=e.length,s)for(n=o-1;n>=0;n--)i.call(t,e[n],n);else for(n=0;ne,x:e=>e.x,y:e=>e.y};function Ia(e){let i=e.split("."),t=[],s="";for(let n of i)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(t.push(s),s="");return t}function gu(e){let i=Ia(e);return t=>{for(let s of i){if(s==="")break;t=t&&t[s]}return t}}function Bt(e,i){return(va[i]||(va[i]=gu(i)))(e)}function Ii(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ze=e=>typeof e<"u",zt=e=>typeof e=="function",Es=(e,i)=>{if(e.size!==i.size)return!1;for(let t of e)if(!i.has(t))return!1;return!0};function fo(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var U=Math.PI,Y=2*U,La=Y+U,Di=Number.POSITIVE_INFINITY,Ra=U/180,Z=U/2,de=U/4,ao=U*2/3,Nt=Math.log10,ut=Math.sign;function Ne(e,i,t){return Math.abs(e-i)n-o).pop(),i}function ge(e){return!isNaN(parseFloat(e))&&isFinite(e)}function po(e,i){let t=Math.round(e);return t-i<=e&&t+i>=e}function Ls(e,i,t){let s,n,o;for(s=0,n=e.length;sl&&c=Math.min(i,t)-s&&e<=Math.max(i,t)+s}function Ri(e,i,t){t=t||(r=>e[r]1;)o=n+s>>1,t(o)?n=o:s=o;return{lo:n,hi:s}}var wt=(e,i,t,s)=>Ri(e,t,s?n=>{let o=e[n][i];return oe[n][i]Ri(e,t,s=>e[s][i]>=t);function bo(e,i,t){let s=0,n=e.length;for(;ss&&e[n-1]>t;)n--;return s>0||n{let s="_onData"+Ii(t),n=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...o){let r=n.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function zs(e,i){let t=e._chartjs;if(!t)return;let s=t.listeners,n=s.indexOf(i);n!==-1&&s.splice(n,1),!(s.length>0)&&(za.forEach(o=>{delete e[o]}),delete e._chartjs)}function Ns(e){let i=new Set(e);return i.size===e.length?e:Array.from(i)}var Bs=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function Vs(e,i){let t=[],s=!1;return function(...n){t=n,s||(s=!0,Bs.call(window,()=>{s=!1,e.apply(i,t)}))}}function _o(e,i){let t;return function(...s){return i?(clearTimeout(t),t=setTimeout(e,i,s)):e.apply(this,s),i}}var Fi=e=>e==="start"?"left":e==="end"?"right":"center",ot=(e,i,t)=>e==="start"?i:e==="end"?t:(i+t)/2,yo=(e,i,t,s)=>e===(s?"left":"right")?t:e==="center"?(i+t)/2:i;function Ws(e,i,t){let s=i.length,n=0,o=s;if(e._sorted){let{iScale:r,_parsed:a}=e,l=r.axis,{min:c,max:h,minDefined:f,maxDefined:u}=r.getUserBounds();f&&(n=it(Math.min(wt(a,l,c).lo,t?s:wt(i,l,r.getPixelForValue(c)).lo),0,s-1)),u?o=it(Math.max(wt(a,r.axis,h,!0).hi+1,t?0:wt(i,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function js(e){let{xScale:i,yScale:t,_scaleRanges:s}=e,n={xmin:i.min,xmax:i.max,ymin:t.min,ymax:t.max};if(!s)return e._scaleRanges=n,!0;let o=s.xmin!==i.min||s.xmax!==i.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,n),o}var Ps=e=>e===0||e===1,Sa=(e,i,t)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-i)*Y/t)),Ca=(e,i,t)=>Math.pow(2,-10*e)*Math.sin((e-i)*Y/t)+1,Ie={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Z)+1,easeOutSine:e=>Math.sin(e*Z),easeInOutSine:e=>-.5*(Math.cos(U*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Ps(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Ps(e)?e:Sa(e,.075,.3),easeOutElastic:e=>Ps(e)?e:Ca(e,.075,.3),easeInOutElastic(e){return Ps(e)?e:e<.5?.5*Sa(e*2,.1125,.45):.5+.5*Ca(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let i=1.70158;return(e/=.5)<1?.5*(e*e*(((i*=1.525)+1)*e-i)):.5*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)},easeInBounce:e=>1-Ie.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Ie.easeInBounce(e*2)*.5:Ie.easeOutBounce(e*2-1)*.5+.5};function Hs(e){if(e&&typeof e=="object"){let i=e.toString();return i==="[object CanvasPattern]"||i==="[object CanvasGradient]"}return!1}function Us(e){return Hs(e)?e:new wi(e)}function As(e){return Hs(e)?e:new wi(e).saturate(.5).darken(.1).hexString()}var mu=["x","y","borderWidth","radius","tension"],bu=["color","borderColor","backgroundColor"];function xu(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:i=>i!=="onProgress"&&i!=="onComplete"&&i!=="fn"}),e.set("animations",{colors:{type:"color",properties:bu},numbers:{type:"number",properties:mu}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:i=>i|0}}}})}function _u(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Ta=new Map;function yu(e,i){i=i||{};let t=e+JSON.stringify(i),s=Ta.get(t);return s||(s=new Intl.NumberFormat(e,i),Ta.set(t,s)),s}function Ve(e,i,t){return yu(i,t).format(e)}var Na={values(e){return H(e)?e:""+e},numeric(e,i,t){if(e===0)return"0";let s=this.chart.options.locale,n,o=e;if(t.length>1){let c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=vu(e,t)}let r=Nt(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Ve(e,s,l)},logarithmic(e,i,t){if(e===0)return"0";let s=t[i].significand||e/Math.pow(10,Math.floor(Nt(e)));return[1,2,3,5,10,15].includes(s)||i>.8*t.length?Na.numeric.call(this,e,i,t):""}};function vu(e,i){let t=i.length>3?i[2].value-i[1].value:i[1].value-i[0].value;return Math.abs(t)>=1&&e!==Math.floor(e)&&(t=e-Math.floor(e)),t}var zi={formatters:Na};function Su(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(i,t)=>t.lineWidth,tickColor:(i,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:zi.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:i=>!i.startsWith("before")&&!i.startsWith("after")&&i!=="callback"&&i!=="parser",_indexable:i=>i!=="borderDash"&&i!=="tickBorderDash"&&i!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:i=>i!=="backdropPadding"&&i!=="callback",_indexable:i=>i!=="backdropPadding"})}var me=Object.create(null),Ys=Object.create(null);function Ai(e,i){if(!i)return e;let t=i.split(".");for(let s=0,n=t.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>As(n.backgroundColor),this.hoverBorderColor=(s,n)=>As(n.borderColor),this.hoverColor=(s,n)=>As(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(i),this.apply(t)}set(i,t){return ro(this,i,t)}get(i){return Ai(this,i)}describe(i,t){return ro(Ys,i,t)}override(i,t){return ro(me,i,t)}route(i,t,s,n){let o=Ai(this,i),r=Ai(this,s),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){let l=this[a],c=r[n];return N(l)?Object.assign({},c,l):E(l,c)},set(l){this[a]=l}}})}apply(i){i.forEach(t=>t(this))}},X=new lo({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[xu,_u,Su]);function Ba(e){return!e||V(e.size)||V(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Ze(e,i,t,s,n){let o=i[n];return o||(o=i[n]=e.measureText(n).width,t.push(n)),o>s&&(s=o),s}function vo(e,i,t,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==i&&(n=s.data={},o=s.garbageCollect=[],s.font=i),e.save(),e.font=i;let r=0,a=t.length,l,c,h,f,u;for(l=0;lt.length){for(l=0;l0&&e.stroke()}}function Ot(e,i,t){return t=t||.5,!i||e&&e.x>i.left-t&&e.xi.top-t&&e.y0&&o.strokeColor!=="",l,c;for(e.save(),e.font=n.string,Cu(e,o),l=0;l+e||0;function Bi(e,i){let t={},s=N(i),n=s?Object.keys(i):i,o=N(e)?s?r=>E(e[r],e[i[r]]):r=>e[r]:()=>e;for(let r of n)t[r]=Ou(o(r));return t}function Gs(e){return Bi(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Jt(e){return Bi(e,["topLeft","topRight","bottomLeft","bottomRight"])}function rt(e){let i=Gs(e);return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function J(e,i){e=e||{},i=i||X.font;let t=E(e.size,i.size);typeof t=="string"&&(t=parseInt(t,10));let s=E(e.style,i.style);s&&!(""+s).match(wu)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);let n={family:E(e.family,i.family),lineHeight:Va(E(e.lineHeight,i.lineHeight),t),size:t,style:s,weight:E(e.weight,i.weight),string:""};return n.string=Ba(n),n}function je(e,i,t,s){let n=!0,o,r,a;for(o=0,r=e.length;ot&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function Vt(e,i){return Object.assign(Object.create(e),i)}function Vi(e,i=[""],t,s,n=()=>e[0]){let o=t||e;typeof s>"u"&&(s=Ha("_fallback",e));let r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Vi([a,...e],i,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return Wa(a,l,()=>Fu(l,i,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return Pa(a).includes(l)},ownKeys(a){return Pa(a)},set(a,l,c){let h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function pe(e,i,t,s){let n={_cacheable:!1,_proxy:e,_context:i,_subProxy:t,_stack:new Set,_descriptors:qs(e,s),setContext:o=>pe(e,o,t,s),override:o=>pe(e.override(o),i,t,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete e[r],!0},get(o,r,a){return Wa(o,r,()=>ku(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,r){return Reflect.has(e,r)},ownKeys(){return Reflect.ownKeys(e)},set(o,r,a){return e[r]=a,delete o[r],!0}})}function qs(e,i={scriptable:!0,indexable:!0}){let{_scriptable:t=i.scriptable,_indexable:s=i.indexable,_allKeys:n=i.allKeys}=e;return{allKeys:n,scriptable:t,indexable:s,isScriptable:zt(t)?t:()=>t,isIndexable:zt(s)?s:()=>s}}var Au=(e,i)=>e?e+Ii(i):i,Mo=(e,i)=>N(i)&&e!=="adapters"&&(Object.getPrototypeOf(i)===null||i.constructor===Object);function Wa(e,i,t){if(Object.prototype.hasOwnProperty.call(e,i))return e[i];let s=t();return e[i]=s,s}function ku(e,i,t){let{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=e,a=s[i];return zt(a)&&r.isScriptable(i)&&(a=Du(i,a,e,t)),H(a)&&a.length&&(a=Eu(i,a,e,r.isIndexable)),Mo(i,a)&&(a=pe(a,n,o&&o[i],r)),a}function Du(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_stack:a}=t;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=i(o,r||s);return a.delete(e),Mo(e,l)&&(l=Po(n._scopes,n,e,l)),l}function Eu(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=t;if(typeof o.index<"u"&&s(e))return i[o.index%i.length];if(N(i[0])){let l=i,c=n._scopes.filter(h=>h!==l);i=[];for(let h of l){let f=Po(c,n,e,h);i.push(pe(f,o,r&&r[e],a))}}return i}function ja(e,i,t){return zt(e)?e(i,t):e}var Iu=(e,i)=>e===!0?i:typeof e=="string"?Bt(i,e):void 0;function Lu(e,i,t,s,n){for(let o of i){let r=Iu(t,o);if(r){e.add(r);let a=ja(r._fallback,t,n);if(typeof a<"u"&&a!==t&&a!==s)return a}else if(r===!1&&typeof s<"u"&&t!==s)return null}return!1}function Po(e,i,t,s){let n=i._rootScopes,o=ja(i._fallback,t,s),r=[...e,...n],a=new Set;a.add(s);let l=Ma(a,r,t,o||t,s);return l===null||typeof o<"u"&&o!==t&&(l=Ma(a,r,o,l,s),l===null)?!1:Vi(Array.from(a),[""],n,o,()=>Ru(i,t,s))}function Ma(e,i,t,s,n){for(;t;)t=Lu(e,i,t,s,n);return t}function Ru(e,i,t){let s=e._getTarget();i in s||(s[i]={});let n=s[i];return H(n)&&N(t)?t:n||{}}function Fu(e,i,t,s){let n;for(let o of i)if(n=Ha(Au(o,e),t),typeof n<"u")return Mo(e,n)?Po(t,s,e,n):n}function Ha(e,i){for(let t of i){if(!t)continue;let s=t[e];if(typeof s<"u")return s}}function Pa(e){let i=e._keys;return i||(i=e._keys=zu(e._scopes)),i}function zu(e){let i=new Set;for(let t of e)for(let s of Object.keys(t).filter(n=>!n.startsWith("_")))i.add(s);return Array.from(i)}function Ks(e,i,t,s){let{iScale:n}=e,{key:o="r"}=this._parsing,r=new Array(s),a,l,c,h;for(a=0,l=s;aie==="x"?"y":"x";function Ya(e,i,t,s){let n=e.skip?i:e,o=i,r=t.skip?i:t,a=Ei(o,n),l=Ei(r,o),c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;let f=s*c,u=s*h;return{previous:{x:o.x-f*(r.x-n.x),y:o.y-f*(r.y-n.y)},next:{x:o.x+u*(r.x-n.x),y:o.y+u*(r.y-n.y)}}}function Bu(e,i,t){let s=e.length,n,o,r,a,l,c=Qe(e,0);for(let h=0;h!c.skip)),i.cubicInterpolationMode==="monotone")Xa(e,n);else{let c=s?e[e.length-1]:e[0];for(o=0,r=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function $a(e,i){return Zs(e).getPropertyValue(i)}var ju=["top","right","bottom","left"];function Le(e,i,t){let s={};t=t?"-"+t:"";for(let n=0;n<4;n++){let o=ju[n];s[o]=parseFloat(e[i+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}var Hu=(e,i,t)=>(e>0||i>0)&&(!t||!t.shadowRoot);function Uu(e,i){let t=e.touches,s=t&&t.length?t[0]:e,{offsetX:n,offsetY:o}=s,r=!1,a,l;if(Hu(n,o,e.target))a=n,l=o;else{let c=i.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function vt(e,i){if("native"in e)return e;let{canvas:t,currentDevicePixelRatio:s}=i,n=Zs(t),o=n.boxSizing==="border-box",r=Le(n,"padding"),a=Le(n,"border","width"),{x:l,y:c,box:h}=Uu(e,t),f=r.left+(h&&a.left),u=r.top+(h&&a.top),{width:p,height:m}=i;return o&&(p-=r.width+a.width,m-=r.height+a.height),{x:Math.round((l-f)/p*t.width/s),y:Math.round((c-u)/m*t.height/s)}}function Yu(e,i,t){let s,n;if(i===void 0||t===void 0){let o=ji(e);if(!o)i=e.clientWidth,t=e.clientHeight;else{let r=o.getBoundingClientRect(),a=Zs(o),l=Le(a,"border","width"),c=Le(a,"padding");i=r.width-c.width-l.width,t=r.height-c.height-l.height,s=ks(a.maxWidth,o,"clientWidth"),n=ks(a.maxHeight,o,"clientHeight")}}return{width:i,height:t,maxWidth:s||Di,maxHeight:n||Di}}var Os=e=>Math.round(e*10)/10;function Oo(e,i,t,s){let n=Zs(e),o=Le(n,"margin"),r=ks(n.maxWidth,e,"clientWidth")||Di,a=ks(n.maxHeight,e,"clientHeight")||Di,l=Yu(e,i,t),{width:c,height:h}=l;if(n.boxSizing==="content-box"){let u=Le(n,"border","width"),p=Le(n,"padding");c-=p.width+u.width,h-=p.height+u.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=Os(Math.min(c,r,l.maxWidth)),h=Os(Math.min(h,a,l.maxHeight)),c&&!h&&(h=Os(c/2)),(i!==void 0||t!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=Os(Math.floor(h*s))),{width:c,height:h}}function Qs(e,i,t){let s=i||1,n=Math.floor(e.height*s),o=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);let r=e.canvas;return r.style&&(t||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(e.currentDevicePixelRatio=s,r.height=n,r.width=o,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}var Ao=function(){let e=!1;try{let i={get passive(){return e=!0,!1}};Wi()&&(window.addEventListener("test",null,i),window.removeEventListener("test",null,i))}catch{}return e}();function Js(e,i){let t=$a(e,i),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Kt(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:e.y+t*(i.y-e.y)}}function ko(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:s==="middle"?t<.5?e.y:i.y:s==="after"?t<1?e.y:i.y:t>0?i.y:e.y}}function Do(e,i,t,s){let n={x:e.cp2x,y:e.cp2y},o={x:i.cp1x,y:i.cp1y},r=Kt(e,n,t),a=Kt(n,o,t),l=Kt(o,i,t),c=Kt(r,a,t),h=Kt(a,l,t);return Kt(c,h,t)}var Xu=function(e,i){return{x(t){return e+e+i-t},setWidth(t){i=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,s){return t-s},leftForLtr(t,s){return t-s}}},$u=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,i){return e+i},leftForLtr(e,i){return e}}};function be(e,i,t){return e?Xu(i,t):$u()}function tn(e,i){let t,s;(i==="ltr"||i==="rtl")&&(t=e.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",i,"important"),e.prevTextDirection=s)}function en(e,i){i!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",i[0],i[1]))}function Ga(e){return e==="angle"?{between:Be,compare:Fa,normalize:ft}:{between:kt,compare:(i,t)=>i-t,normalize:i=>i}}function wa({start:e,end:i,count:t,loop:s,style:n}){return{start:e%t,end:i%t,loop:s&&(i-e+1)%t===0,style:n}}function Gu(e,i,t){let{property:s,start:n,end:o}=t,{between:r,normalize:a}=Ga(s),l=i.length,{start:c,end:h,loop:f}=e,u,p;if(f){for(c+=l,h+=l,u=0,p=l;ul(n,T,y)&&a(n,T)!==0,C=()=>a(o,y)===0||l(o,T,y),M=()=>b||w(),A=()=>!b||C();for(let O=h,D=h;O<=f;++O)S=i[O%r],!S.skip&&(y=c(S[s]),y!==T&&(b=l(y,n,o),_===null&&M()&&(_=a(y,n)===0?O:D),_!==null&&A()&&(m.push(wa({start:_,end:O,loop:u,count:r,style:p})),_=null),D=O,T=y));return _!==null&&m.push(wa({start:_,end:f,loop:u,count:r,style:p})),m}function nn(e,i){let t=[],s=e.segments;for(let n=0;nn&&e[o%i].skip;)o--;return o%=i,{start:n,end:o}}function Ku(e,i,t,s){let n=e.length,o=[],r=i,a=e[i],l;for(l=i+1;l<=t;++l){let c=e[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:i%n,end:(l-1)%n,loop:s}),i=r=c.stop?l:null):(r=l,a.skip&&(i=l)),a=c}return r!==null&&o.push({start:i%n,end:r%n,loop:s}),o}function Eo(e,i){let t=e.points,s=e.options.spanGaps,n=t.length;if(!n)return[];let o=!!e._loop,{start:r,end:a}=qu(t,n,o,s);if(s===!0)return Oa(e,[{start:r,end:a,loop:o}],t,i);let l=aa({chart:i,initial:t.initial,numSteps:r,currentStep:Math.min(s-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=Bs.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(i=Date.now()){let t=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;let o=s.items,r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(i),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,i,"progress")),o.length||(s.running=!1,this._notify(n,s,i,"complete"),s.initial=!1),t+=o.length}),this._lastDate=i,t===0&&(this._running=!1)}_getAnims(i){let t=this._charts,s=t.get(i);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(i,s)),s}listen(i,t,s){this._getAnims(i).listeners[t].push(s)}add(i,t){!t||!t.length||this._getAnims(i).items.push(...t)}has(i){return this._getAnims(i).items.length>0}start(i){let t=this._charts.get(i);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(i){if(!this._running)return!1;let t=this._charts.get(i);return!(!t||!t.running||!t.items.length)}stop(i){let t=this._charts.get(i);if(!t||!t.items.length)return;let s=t.items,n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(i,t,Date.now(),"complete")}remove(i){return this._charts.delete(i)}},te=new jo,qa="transparent",Ju={boolean(e,i,t){return t>.5?i:e},color(e,i,t){let s=Us(e||qa),n=s.valid&&Us(i||qa);return n&&n.valid?n.mix(s,t).hexString():i},number(e,i,t){return e+(i-e)*t}},Ho=class{constructor(i,t,s,n){let o=t[s];n=je([i.to,n,o,i.from]);let r=je([i.from,o,n]);this._active=!0,this._fn=i.fn||Ju[i.type||typeof r],this._easing=Ie[i.easing]||Ie.linear,this._start=Math.floor(Date.now()+(i.delay||0)),this._duration=this._total=Math.floor(i.duration),this._loop=!!i.loop,this._target=t,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(i,t,s){if(this._active){this._notify(!1);let n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,i.duration)),this._total+=o,this._loop=!!i.loop,this._to=je([i.to,t,n,i.from]),this._from=je([i.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(i){let t=i-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to,l;if(this._active=o!==a&&(r||t1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){let i=this._promises||(this._promises=[]);return new Promise((t,s)=>{i.push({res:t,rej:s})})}_notify(i){let t=i?"res":"rej",s=this._promises||[];for(let n=0;n{let o=i[n];if(!N(o))return;let r={};for(let a of t)r[a]=o[a];(H(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(i,t){let s=t.options,n=ed(i,s);if(!n)return[];let o=this._createAnimations(n,s);return s.$shared&&td(i.options.$animations,s).then(()=>{i.options=s},()=>{}),o}_createAnimations(i,t){let s=this._properties,n=[],o=i.$animations||(i.$animations={}),r=Object.keys(t),a=Date.now(),l;for(l=r.length-1;l>=0;--l){let c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(i,t));continue}let h=t[c],f=o[c],u=s.get(c);if(f)if(u&&f.active()){f.update(u,h,a);continue}else f.cancel();if(!u||!u.duration){i[c]=h;continue}o[c]=f=new Ho(u,i,c,h),n.push(f)}return n}update(i,t){if(this._properties.size===0){Object.assign(i,t);return}let s=this._createAnimations(i,t);if(s.length)return te.add(this._chart,s),!0}};function td(e,i){let t=[],s=Object.keys(i);for(let n=0;n0||!t&&o<0)return n.index}return null}function tl(e,i){let{chart:t,_cachedMeta:s}=e,n=t._stacks||(t._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=od(o,r,s),f=i.length,u;for(let p=0;pt[s].axis===i).shift()}function ld(e,i){return Vt(e,{active:!1,dataset:void 0,datasetIndex:i,index:i,mode:"default",type:"dataset"})}function cd(e,i,t){return Vt(e,{active:!1,dataIndex:i,parsed:void 0,raw:void 0,element:t,index:i,mode:"default",type:"data"})}function Hi(e,i){let t=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){i=i||e._parsed;for(let n of i){let o=n._stacks;if(!o||o[s]===void 0||o[s][t]===void 0)return;delete o[s][t],o[s]._visualValues!==void 0&&o[s]._visualValues[t]!==void 0&&delete o[s]._visualValues[t]}}}var Lo=e=>e==="reset"||e==="none",el=(e,i)=>i?e:Object.assign({},e),hd=(e,i,t)=>e&&!i.hidden&&i._stacked&&{keys:Kl(t,!0),values:null},_e=(()=>{class e{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Qa(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Hi(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,s=this._cachedMeta,n=this.getDataset(),o=(u,p,m,b)=>u==="x"?p:u==="r"?b:m,r=s.xAxisID=E(n.xAxisID,Io(t,"x")),a=s.yAxisID=E(n.yAxisID,Io(t,"y")),l=s.rAxisID=E(n.rAxisID,Io(t,"r")),c=s.indexAxis,h=s.iAxisID=o(c,r,a,l),f=s.vAxisID=o(c,a,r,l);s.xScale=this.getScaleForId(r),s.yScale=this.getScaleForId(a),s.rScale=this.getScaleForId(l),s.iScale=this.getScaleForId(h),s.vScale=this.getScaleForId(f)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&zs(this._data,this),t._stacked&&Hi(t)}_dataCheck(){let t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(N(s))this._data=nd(s);else if(n!==s){if(n){zs(n,this);let o=this._cachedMeta;Hi(o),o._parsed=[]}s&&Object.isExtensible(s)&&xo(s,this),this._syncList=[],this._data=s}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let s=this._cachedMeta,n=this.getDataset(),o=!1;this._dataCheck();let r=s._stacked;s._stacked=Qa(s.vScale,s),s.stack!==n.stack&&(o=!0,Hi(s),s.stack=n.stack),this._resyncElements(t),(o||r!==s._stacked)&&tl(this,s._parsed)}configure(){let t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){let{_cachedMeta:n,_data:o}=this,{iScale:r,_stacked:a}=n,l=r.axis,c=t===0&&s===o.length?!0:n._sorted,h=t>0&&n._parsed[t-1],f,u,p;if(this._parsing===!1)n._parsed=o,n._sorted=!0,p=o;else{H(o[t])?p=this.parseArrayData(n,o,t,s):N(o[t])?p=this.parseObjectData(n,o,t,s):p=this.parsePrimitiveData(n,o,t,s);let m=()=>u[l]===null||h&&u[l]_||u<_}for(p=0;p=0;--p)if(!b()){this.updateRangeFromParsed(h,t,m,c);break}}return h}getAllParsedValues(t){let s=this._cachedMeta._parsed,n=[],o,r,a;for(o=0,r=s.length;o=0&&tthis.getContext(n,o,s),_=h.resolveNamedOptions(p,m,b,u);return _.$shared&&(_.$shared=c,r[a]=Object.freeze(el(_,c))),_}_resolveAnimations(t,s,n){let o=this.chart,r=this._cachedDataOpts,a=`animation-${s}`,l=r[a];if(l)return l;let c;if(o.options.animation!==!1){let f=this.chart.config,u=f.datasetAnimationScopeKeys(this._type,s),p=f.getOptionScopes(this.getDataset(),u);c=f.createResolver(p,this.getContext(t,n,s))}let h=new pn(o,c&&c.animations);return c&&c._cacheable&&(r[a]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Lo(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){let n=this.resolveDataElementOptions(t,s),o=this._sharedOptions,r=this.getSharedOptions(n),a=this.includeOptions(s,r)||r!==o;return this.updateSharedOptions(r,s,n),{sharedOptions:r,includeOptions:a}}updateElement(t,s,n,o){Lo(o)?Object.assign(t,n):this._resolveAnimations(s,o).update(t,n)}updateSharedOptions(t,s,n){t&&!Lo(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,o){t.active=o;let r=this.getStyle(s,o);this._resolveAnimations(s,n,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,s,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,s,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let s=this._data,n=this._cachedMeta.data;for(let[l,c,h]of this._syncList)this[l](c,h);this._syncList=[];let o=n.length,r=s.length,a=Math.min(r,o);a&&this.parse(0,a),r>o?this._insertElements(o,r-o,t):r{for(h.length+=s,l=h.length-1;l>=a;l--)h[l]=h[l-s]};for(c(r),l=t;ln-o))}return e._cache.$bar}function ud(e){let i=e.iScale,t=fd(i,e.type),s=i._length,n,o,r,a,l=()=>{r===32767||r===-32768||(ze(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=t.length;n0?n[e-1]:null,a=eMath.abs(a)&&(l=a,c=r),i[t.axis]=c,i._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function Zl(e,i,t,s){return H(e)?gd(e,i,t,s):i[t.axis]=t.parse(e,s),i}function il(e,i,t,s){let n=e.iScale,o=e.vScale,r=n.getLabels(),a=n===o,l=[],c,h,f,u;for(c=t,h=t+s;c=t?1:-1)}function bd(e){let i,t,s,n,o;return e.horizontal?(i=e.base>e.x,t="left",s="right"):(i=e.base{class e extends _e{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,s,n,o){return il(t,s,n,o)}parseArrayData(t,s,n,o){return il(t,s,n,o)}parseObjectData(t,s,n,o){let{iScale:r,vScale:a}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,h=r.axis==="x"?l:c,f=a.axis==="x"?l:c,u=[],p,m,b,_;for(p=n,m=n+o;pc.controller.options.grouped),r=n.options.stacked,a=[],l=c=>{let h=c.controller.getParsed(s),f=h&&h[c.vScale.axis];if(V(f)||isNaN(f))return!0};for(let c of o)if(!(s!==void 0&&l(c))&&((r===!1||a.indexOf(c.stack)===-1||r===void 0&&c.stack===void 0)&&a.push(c.stack),c.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,s,n){let o=this._getStacks(t,n),r=s!==void 0?o.indexOf(s):-1;return r===-1?o.length-1:r}_getRuler(){let t=this.options,s=this._cachedMeta,n=s.iScale,o=[],r,a;for(r=0,a=s.data.length;r{class e extends _e{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,s,n,o){let r=super.parsePrimitiveData(t,s,n,o);for(let a=0;a=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y),h=a._custom;return{label:n[t]||"",value:"("+l+", "+c+(h?", "+h:"")+")"}}update(t){let s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(s,o),f=a.axis,u=l.axis;for(let p=s;pBe(T,a,l,!0)?1:Math.max(w,w*t,C,C*t),m=(T,w,C)=>Be(T,a,l,!0)?-1:Math.min(w,w*t,C,C*t),b=p(0,c,f),_=p(Z,h,u),y=m(U,c,f),S=m(U+Z,h,u);s=(b-y)/2,n=(_-S)/2,o=-(b+y)/2,r=-(_+S)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}var cr=(()=>{class e extends _e{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}}};constructor(t,s){super(t,s),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,s){let n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let r=c=>+n[c];if(N(n[t])){let{key:c="value"}=this._parsing;r=h=>+Bt(n[h],c)}let a,l;for(a=t,l=t+s;a0&&!isNaN(t)?Y*(Math.abs(t)/s):0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=Ve(s._parsed[t],n.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let s=0,n=this.chart,o,r,a,l,c;if(!t){for(o=0,r=n.data.datasets.length;o{class e extends _e{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let s=this._cachedMeta,{dataset:n,data:o=[],_dataset:r}=s,a=this.chart._animationsDisabled,{start:l,count:c}=Ws(s,o,a);this._drawStart=l,this._drawCount=c,js(s)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=o;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:h},t),this.updateElements(o,l,c,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,{sharedOptions:f,includeOptions:u}=this._getSharedOptions(s,o),p=a.axis,m=l.axis,{spanGaps:b,segment:_}=this.options,y=ge(b)?b:Number.POSITIVE_INFINITY,S=this.chart._animationsDisabled||r||o==="none",T=s+n,w=t.length,C=s>0&&this.getParsed(s-1);for(let M=0;M=T){O.skip=!0;continue}let D=this.getParsed(M),I=V(D[m]),R=O[p]=a.getPixelForValue(D[p],M),z=O[m]=r||I?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,D,c):D[m],M);O.skip=isNaN(R)||isNaN(z)||I,O.stop=M>0&&Math.abs(D[p]-C[p])>y,_&&(O.parsed=D,O.raw=h.data[M]),u&&(O.options=f||this.resolveDataElementOptions(M,A.active?"active":o)),S||this.updateElement(A,M,O,o),C=D}}getMaxOverflow(){let t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,o=t.data||[];if(!o.length)return n;let r=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(n,r,a)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return e})(),Ql=(()=>{class e extends _e{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,s){super(t,s),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=Ve(s._parsed[t].r,n.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,s,n,o){return Ks.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta.data;this._updateRadius(),this.updateElements(s,0,s.length,t)}getMinMax(){let t=this._cachedMeta,s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,o)=>{let r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(rs.max&&(s.max=r))}),s}_updateRadius(){let t=this.chart,s=t.chartArea,n=t.options,o=Math.min(s.right-s.left,s.bottom-s.top),r=Math.max(o/2,0),a=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),l=(r-a)/t.getVisibleDatasetCount();this.outerRadius=r-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(t,s,n,o){let r=o==="reset",a=this.chart,c=a.options.animation,h=this._cachedMeta.rScale,f=h.xCenter,u=h.yCenter,p=h.getIndexAngle(0)-.5*U,m=p,b,_=360/this.countVisibleElements();for(b=0;b{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(t,s,n){return this.chart.getDataVisibility(t)?yt(this.resolveDataElementOptions(t,s).angle||n):0}}return e})(),Md=(()=>{class e extends cr{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return e})(),Pd=(()=>{class e extends _e{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){let s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:""+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,o){return Ks.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta,n=s.dataset,o=s.data||[],r=s.iScale.getLabels();if(n.points=o,t!=="resize"){let a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);let l={_loop:!0,_fullLoop:r.length===o.length,options:a};this.updateElement(n,void 0,l,t)}this.updateElements(o,0,o.length,t)}updateElements(t,s,n,o){let r=this._cachedMeta.rScale,a=o==="reset";for(let l=s;l{class e extends _e{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y);return{label:n[t]||"",value:"("+l+", "+c+")"}}update(t){let s=this._cachedMeta,{data:n=[]}=s,o=this.chart._animationsDisabled,{start:r,count:a}=Ws(s,n,o);if(this._drawStart=r,this._drawCount=a,js(s)&&(r=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=s;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=n;let h=this.resolveDatasetElementOptions(t);h.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:h},t)}else this.datasetElementType&&(delete s.dataset,this.datasetElementType=!1);this.updateElements(n,r,a,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,f=this.resolveDataElementOptions(s,o),u=this.getSharedOptions(f),p=this.includeOptions(o,u),m=a.axis,b=l.axis,{spanGaps:_,segment:y}=this.options,S=ge(_)?_:Number.POSITIVE_INFINITY,T=this.chart._animationsDisabled||r||o==="none",w=s>0&&this.getParsed(s-1);for(let C=s;C0&&Math.abs(A[m]-w[m])>S,y&&(O.parsed=A,O.raw=h.data[C]),p&&(O.options=u||this.resolveDataElementOptions(C,M.active?"active":o)),T||this.updateElement(M,C,O,o),w=A}this.updateSharedOptions(u,o,f)}getMaxOverflow(){let t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let l=0;for(let c=s.length-1;c>=0;--c)l=Math.max(l,s[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let n=t.dataset,o=n.options&&n.options.borderWidth||0;if(!s.length)return o;let r=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,r,a)/2}}return e})(),Od=Object.freeze({__proto__:null,BarController:vd,BubbleController:Sd,DoughnutController:cr,LineController:Td,PieController:Md,PolarAreaController:Ql,RadarController:Pd,ScatterController:wd});function He(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var Uo=class e{static override(i){Object.assign(e.prototype,i)}options;constructor(i){this.options=i||{}}init(){}formats(){return He()}parse(){return He()}format(){return He()}add(){return He()}diff(){return He()}startOf(){return He()}endOf(){return He()}},Ad={_date:Uo};function kd(e,i,t,s){let{controller:n,data:o,_sorted:r}=e,a=n._cachedMeta.iScale;if(a&&i===a.axis&&i!=="r"&&r&&o.length){let l=a._reversePixels?mo:wt;if(s){if(n._sharedOptions){let c=o[0],h=typeof c.getRange=="function"&&c.getRange(i);if(h){let f=l(o,i,t-h),u=l(o,i,t+h);return{lo:f.lo,hi:u.hi}}}}else return l(o,i,t)}return{lo:0,hi:o.length-1}}function Ji(e,i,t,s,n){let o=e.getSortedVisibleDatasetMetas(),r=t[i];for(let a=0,l=o.length;a{l[r](i[t],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(i.x,i.y,n))}),s&&!a?[]:o}var Ld={evaluateInteractionItems:Ji,modes:{index(e,i,t,s){let n=vt(i,e),o=t.axis||"x",r=t.includeInvisible||!1,a=t.intersect?Fo(e,n,o,s,r):zo(e,n,o,!1,s,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let h=a[0].index,f=c.data[h];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:h})}),l):[]},dataset(e,i,t,s){let n=vt(i,e),o=t.axis||"xy",r=t.includeInvisible||!1,a=t.intersect?Fo(e,n,o,s,r):zo(e,n,o,!1,s,r);if(a.length>0){let l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let h=0;ht.pos===i)}function rl(e,i){return e.filter(t=>Jl.indexOf(t.pos)===-1&&t.box.axis===i)}function Yi(e,i){return e.sort((t,s)=>{let n=i?s:t,o=i?t:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Rd(e){let i=[],t,s,n,o,r,a;for(t=0,s=(e||[]).length;tc.box.fullSize),!0),s=Yi(Ui(i,"left"),!0),n=Yi(Ui(i,"right")),o=Yi(Ui(i,"top"),!0),r=Yi(Ui(i,"bottom")),a=rl(i,"x"),l=rl(i,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:Ui(i,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function al(e,i,t,s){return Math.max(e[t],i[t])+Math.max(e[s],i[s])}function tc(e,i){e.top=Math.max(e.top,i.top),e.left=Math.max(e.left,i.left),e.bottom=Math.max(e.bottom,i.bottom),e.right=Math.max(e.right,i.right)}function Bd(e,i,t,s){let{pos:n,box:o}=t,r=e.maxPadding;if(!N(n)){t.size&&(e[n]-=t.size);let f=s[t.stack]||{size:0,count:1};f.size=Math.max(f.size,t.horizontal?o.height:o.width),t.size=f.size/f.count,e[n]+=t.size}o.getPadding&&tc(r,o.getPadding());let a=Math.max(0,i.outerWidth-al(r,e,"left","right")),l=Math.max(0,i.outerHeight-al(r,e,"top","bottom")),c=a!==e.w,h=l!==e.h;return e.w=a,e.h=l,t.horizontal?{same:c,other:h}:{same:h,other:c}}function Vd(e){let i=e.maxPadding;function t(s){let n=Math.max(i[s]-e[s],0);return e[s]+=n,n}e.y+=t("top"),e.x+=t("left"),t("right"),t("bottom")}function Wd(e,i){let t=i.maxPadding;function s(n){let o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(i[r],t[r])}),o}return s(e?["left","right"]:["top","bottom"])}function Gi(e,i,t,s){let n=[],o,r,a,l,c,h;for(o=0,r=e.length,c=0;o{typeof b.beforeLayout=="function"&&b.beforeLayout()});let h=l.reduce((b,_)=>_.box.options&&_.box.options.display===!1?b:b+1,0)||1,f=Object.freeze({outerWidth:i,outerHeight:t,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),u=Object.assign({},n);tc(u,rt(s));let p=Object.assign({maxPadding:u,w:o,h:r,x:n.left,y:n.top},n),m=zd(l.concat(c),f);Gi(a.fullSize,p,f,m),Gi(l,p,f,m),Gi(c,p,f,m)&&Gi(l,p,f,m),Vd(p),ll(a.leftAndTop,p,f,m),p.x+=p.w,p.y+=p.h,ll(a.rightAndBottom,p,f,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},F(a.chartArea,b=>{let _=b.box;Object.assign(_,e.chartArea),_.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},gn=class{acquireContext(i,t){}releaseContext(i){return!1}addEventListener(i,t,s){}removeEventListener(i,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(i,t,s,n){return t=Math.max(0,t||i.width),s=s||i.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(i){return!0}updateConfig(i){}},Yo=class extends gn{acquireContext(i){return i&&i.getContext&&i.getContext("2d")||null}updateConfig(i){i.options.animation=!1}},un="$chartjs",jd={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},cl=e=>e===null||e==="";function Hd(e,i){let t=e.style,s=e.getAttribute("height"),n=e.getAttribute("width");if(e[un]={initial:{height:s,width:n,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",cl(n)){let o=Js(e,"width");o!==void 0&&(e.width=o)}if(cl(s))if(e.style.height==="")e.height=e.width/(i||2);else{let o=Js(e,"height");o!==void 0&&(e.height=o)}return e}var ec=Ao?{passive:!0}:!1;function Ud(e,i,t){e.addEventListener(i,t,ec)}function Yd(e,i,t){e.canvas.removeEventListener(i,t,ec)}function Xd(e,i){let t=jd[e.type]||e.type,{x:s,y:n}=vt(e,i);return{type:t,chart:i,native:e,x:s!==void 0?s:null,y:n!==void 0?n:null}}function mn(e,i){for(let t of e)if(t===i||t.contains(i))return!0}function $d(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||mn(a.addedNodes,s),r=r&&!mn(a.removedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}function Gd(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||mn(a.removedNodes,s),r=r&&!mn(a.addedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}var Ki=new Map,hl=0;function ic(){let e=window.devicePixelRatio;e!==hl&&(hl=e,Ki.forEach((i,t)=>{t.currentDevicePixelRatio!==e&&i()}))}function qd(e,i){Ki.size||window.addEventListener("resize",ic),Ki.set(e,i)}function Kd(e){Ki.delete(e),Ki.size||window.removeEventListener("resize",ic)}function Zd(e,i,t){let s=e.canvas,n=s&&ji(s);if(!n)return;let o=Vs((a,l)=>{let c=n.clientWidth;t(a,l),c{let l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),qd(e,o),r}function No(e,i,t){t&&t.disconnect(),i==="resize"&&Kd(e)}function Qd(e,i,t){let s=e.canvas,n=Vs(o=>{e.ctx!==null&&t(Xd(o,e))},e);return Ud(s,i,n),n}var Xo=class extends gn{acquireContext(i,t){let s=i&&i.getContext&&i.getContext("2d");return s&&s.canvas===i?(Hd(i,t),s):null}releaseContext(i){let t=i.canvas;if(!t[un])return!1;let s=t[un].initial;["height","width"].forEach(o=>{let r=s[o];V(r)?t.removeAttribute(o):t.setAttribute(o,r)});let n=s.style||{};return Object.keys(n).forEach(o=>{t.style[o]=n[o]}),t.width=t.width,delete t[un],!0}addEventListener(i,t,s){this.removeEventListener(i,t);let n=i.$proxies||(i.$proxies={}),r={attach:$d,detach:Gd,resize:Zd}[t]||Qd;n[t]=r(i,t,s)}removeEventListener(i,t){let s=i.$proxies||(i.$proxies={}),n=s[t];if(!n)return;({attach:No,detach:No,resize:No}[t]||Yd)(i,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(i,t,s,n){return Oo(i,t,s,n)}isAttached(i){let t=ji(i);return!!(t&&t.isConnected)}};function Jd(e){return!Wi()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Yo:Xo}var Dt=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(i){let{x:t,y:s}=this.getProps(["x","y"],i);return{x:t,y:s}}hasValue(){return ge(this.x)&&ge(this.y)}getProps(i,t){let s=this.$animations;if(!t||!s)return this;let n={};return i.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}};function tp(e,i){let t=e.options.ticks,s=ep(e),n=Math.min(t.maxTicksLimit||s,s),o=t.major.enabled?sp(i):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return np(i,c,o,r/n),c;let h=ip(o,i,n);if(r>0){let f,u,p=r>1?Math.round((l-a)/(r-1)):null;for(rn(i,c,h,V(p)?0:a-p,a),f=0,u=r-1;fn)return l}return Math.max(n,1)}function sp(e){let i=[],t,s;for(t=0,s=e.length;te==="left"?"right":e==="right"?"left":e,fl=(e,i,t)=>i==="top"||i==="left"?e[i]+t:e[i]-t,ul=(e,i)=>Math.min(i||e,e);function dl(e,i){let t=[],s=e.length/i,n=e.length,o=0;for(;or+a)))return l}function lp(e,i){F(e,t=>{let s=t.gc,n=s.length/2,o;if(n>i){for(o=0;os?s:t,s=n&&t>s?t:s,{min:dt(t,dt(s,t)),max:dt(s,dt(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let i=this.chart.data;return this.options.labels||(this.isHorizontal()?i.xLabels:i.yLabels)||i.labels||[]}getLabelItems(i=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(i))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){L(this.options.beforeUpdate,[this])}update(i,t,s){let{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=i,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=To(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}let h=this._getLabelSizes(),f=h.widest.width,u=h.highest.height,p=it(this.chart.width-f,0,this.maxWidth);a=i.offset?this.maxWidth/s:p/(s-1),f+6>a&&(a=p/(s-(i.offset?.5:1)),l=this.maxHeight-Xi(i.grid)-t.padding-pl(i.title,this.chart.options.font),c=Math.sqrt(f*f+u*u),r=Li(Math.min(Math.asin(it((h.highest.height+6)/a,-1,1)),Math.asin(it(l/c,-1,1))-Math.asin(it(u/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){L(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){L(this.options.beforeFit,[this])}fit(){let i={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){let l=pl(n,t.options.font);if(a?(i.width=this.maxWidth,i.height=Xi(o)+l):(i.height=this.maxHeight,i.width=Xi(o)+l),s.display&&this.ticks.length){let{first:c,last:h,widest:f,highest:u}=this._getLabelSizes(),p=s.padding*2,m=yt(this.labelRotation),b=Math.cos(m),_=Math.sin(m);if(a){let y=s.mirror?0:_*f.width+b*u.height;i.height=Math.min(this.maxHeight,i.height+y+p)}else{let y=s.mirror?0:b*f.width+_*u.height;i.width=Math.min(this.maxWidth,i.width+y+p)}this._calculatePadding(c,h,_,b)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=i.height):(this.width=i.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(i,t,s,n){let{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1),u=0,p=0;l?c?(u=n*i.width,p=s*t.height):(u=s*i.height,p=n*t.width):o==="start"?p=t.width:o==="end"?u=i.width:o!=="inner"&&(u=i.width/2,p=t.width/2),this.paddingLeft=Math.max((u-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((p-f+r)*this.width/(this.width-f),0)}else{let h=t.height/2,f=i.height/2;o==="start"?(h=0,f=i.height):o==="end"&&(h=t.height,f=0),this.paddingTop=h+r,this.paddingBottom=f+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){L(this.options.afterFit,[this])}isHorizontal(){let{axis:i,position:t}=this.options;return t==="top"||t==="bottom"||i==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(i){this.beforeTickToLabelConversion(),this.generateTickLabels(i);let t,s;for(t=0,s=i.length;t({width:r[D]||0,height:a[D]||0});return{first:O(0),last:O(t-1),widest:O(M),highest:O(A),widths:r,heights:a}}getLabelForValue(i){return i}getPixelForValue(i,t){return NaN}getValueForPixel(i){}getPixelForTick(i){let t=this.ticks;return i<0||i>t.length-1?null:this.getPixelForValue(t[i].value)}getPixelForDecimal(i){this._reversePixels&&(i=1-i);let t=this._startPixel+i*this._length;return go(this._alignToPixels?Zt(this.chart,t,0):t)}getDecimalForPixel(i){let t=(i-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:i,max:t}=this;return i<0&&t<0?t:i>0&&t>0?i:0}getContext(i){let t=this.ticks||[];if(i>=0&&ia*n?a/s:l/n:l*n0}_computeGridLineItems(i){let t=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),f=this.ticks.length+(l?1:0),u=Xi(o),p=[],m=a.setContext(this.getContext()),b=m.display?m.width:0,_=b/2,y=function(j){return Zt(s,j,b)},S,T,w,C,M,A,O,D,I,R,z,Q;if(r==="top")S=y(this.bottom),A=this.bottom-u,D=S-_,R=y(i.top)+_,Q=i.bottom;else if(r==="bottom")S=y(this.top),R=i.top,Q=y(i.bottom)-_,A=S+_,D=this.top+u;else if(r==="left")S=y(this.right),M=this.right-u,O=S-_,I=y(i.left)+_,z=i.right;else if(r==="right")S=y(this.left),I=i.left,z=y(i.right)-_,M=S+_,O=this.left+u;else if(t==="x"){if(r==="center")S=y((i.top+i.bottom)/2+.5);else if(N(r)){let j=Object.keys(r)[0],q=r[j];S=y(this.chart.scales[j].getPixelForValue(q))}R=i.top,Q=i.bottom,A=S+_,D=A+u}else if(t==="y"){if(r==="center")S=y((i.left+i.right)/2);else if(N(r)){let j=Object.keys(r)[0],q=r[j];S=y(this.chart.scales[j].getPixelForValue(q))}M=S-_,O=M-u,I=i.left,z=i.right}let ct=E(n.ticks.maxTicksLimit,f),W=Math.max(1,Math.ceil(f/ct));for(T=0;T0&&(K-=Yt/2);break}It={left:K,top:Oe,width:Yt+ae.width,height:Ut+ae.height,color:W.backdropColor}}_.push({label:w,font:D,textOffset:z,options:{rotation:b,color:q,strokeColor:pt,strokeWidth:st,textAlign:re,textBaseline:Q,translation:[C,M],backdrop:It}})}return _}_getXAxisLabelAlignment(){let{position:i,ticks:t}=this.options;if(-yt(this.labelRotation))return i==="top"?"left":"right";let n="center";return t.align==="start"?n="left":t.align==="end"?n="right":t.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(i){let{position:t,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=i+o,l=r.widest.width,c,h;return t==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):t==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;let i=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:i.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:i.width}}drawBackground(){let{ctx:i,options:{backgroundColor:t},left:s,top:n,width:o,height:r}=this;t&&(i.save(),i.fillStyle=t,i.fillRect(s,n,o,r),i.restore())}getLineWidthForValue(i){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(o=>o.value===i);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(i){let t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(i)),o,r,a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(t.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(i){let t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[],o,r;for(o=0,r=t.length;o{let s=t.split("."),n=s.pop(),o=[e].concat(s).join("."),r=i[t].split("."),a=r.pop(),l=r.join(".");X.route(o,n,l,a)})}function gp(e){return"id"in e&&"defaults"in e}var $o=class{constructor(){this.controllers=new si(_e,"datasets",!0),this.elements=new si(Dt,"elements"),this.plugins=new si(Object,"plugins"),this.scales=new si(Ye,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...i){this._each("register",i)}remove(...i){this._each("unregister",i)}addControllers(...i){this._each("register",i,this.controllers)}addElements(...i){this._each("register",i,this.elements)}addPlugins(...i){this._each("register",i,this.plugins)}addScales(...i){this._each("register",i,this.scales)}getController(i){return this._get(i,this.controllers,"controller")}getElement(i){return this._get(i,this.elements,"element")}getPlugin(i){return this._get(i,this.plugins,"plugin")}getScale(i){return this._get(i,this.scales,"scale")}removeControllers(...i){this._each("unregister",i,this.controllers)}removeElements(...i){this._each("unregister",i,this.elements)}removePlugins(...i){this._each("unregister",i,this.plugins)}removeScales(...i){this._each("unregister",i,this.scales)}_each(i,t,s){[...t].forEach(n=>{let o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(i,o,n):F(n,r=>{let a=s||this._getRegistryForType(r);this._exec(i,a,r)})})}_exec(i,t,s){let n=Ii(i);L(s["before"+n],[],s),t[i](s),L(s["after"+n],[],s)}_getRegistryForType(i){for(let t=0;to.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(t,s),i,"stop"),this._notify(n(s,t),i,"start")}};function mp(e){let i={},t=[],s=Object.keys(jt.plugins.items);for(let o=0;o1&&gl(e[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function ml(e,i,t){if(t[i+"AxisID"]===e)return{axis:i}}function Cp(e,i){if(i.data&&i.data.datasets){let t=i.data.datasets.filter(s=>s.xAxisID===e||s.yAxisID===e);if(t.length)return ml(e,"x",t[0])||ml(e,"y",t[0])}return{}}function Tp(e,i){let t=me[e.type]||{scales:{}},s=i.scales||{},n=qo(e.type,i),o=Object.create(null);return Object.keys(s).forEach(r=>{let a=s[r];if(!N(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);let l=Ko(r,a,Cp(r,e),X.scales[a.type]),c=vp(l,n),h=t.scales||{};o[r]=Fe(Object.create(null),[{axis:l},a,h[l],h[c]])}),e.data.datasets.forEach(r=>{let a=r.type||e.type,l=r.indexAxis||qo(a,i),h=(me[a]||{}).scales||{};Object.keys(h).forEach(f=>{let u=yp(f,l),p=r[u+"AxisID"]||u;o[p]=o[p]||Object.create(null),Fe(o[p],[{axis:u},s[p],h[f]])})}),Object.keys(o).forEach(r=>{let a=o[r];Fe(a,[X.scales[a.type],X.scale])}),o}function sc(e){let i=e.options||(e.options={});i.plugins=E(i.plugins,{}),i.scales=Tp(e,i)}function nc(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Mp(e){return e=e||{},e.data=nc(e.data),sc(e),e}var bl=new Map,oc=new Set;function an(e,i){let t=bl.get(e);return t||(t=i(),bl.set(e,t),oc.add(t)),t}var $i=(e,i,t)=>{let s=Bt(i,t);s!==void 0&&e.add(s)},Zo=class{constructor(i){this._config=Mp(i),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(i){this._config.type=i}get data(){return this._config.data}set data(i){this._config.data=nc(i)}get options(){return this._config.options}set options(i){this._config.options=i}get plugins(){return this._config.plugins}update(){let i=this._config;this.clearCache(),sc(i)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(i){return an(i,()=>[[`datasets.${i}`,""]])}datasetAnimationScopeKeys(i,t){return an(`${i}.transition.${t}`,()=>[[`datasets.${i}.transitions.${t}`,`transitions.${t}`],[`datasets.${i}`,""]])}datasetElementScopeKeys(i,t){return an(`${i}-${t}`,()=>[[`datasets.${i}.elements.${t}`,`datasets.${i}`,`elements.${t}`,""]])}pluginScopeKeys(i){let t=i.id,s=this.type;return an(`${s}-plugin-${t}`,()=>[[`plugins.${t}`,...i.additionalOptionScopes||[]]])}_cachedScopes(i,t){let s=this._scopeCache,n=s.get(i);return(!n||t)&&(n=new Map,s.set(i,n)),n}getOptionScopes(i,t,s){let{options:n,type:o}=this,r=this._cachedScopes(i,s),a=r.get(t);if(a)return a;let l=new Set;t.forEach(h=>{i&&(l.add(i),h.forEach(f=>$i(l,i,f))),h.forEach(f=>$i(l,n,f)),h.forEach(f=>$i(l,me[o]||{},f)),h.forEach(f=>$i(l,X,f)),h.forEach(f=>$i(l,Ys,f))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),oc.has(t)&&r.set(t,c),c}chartOptionScopes(){let{options:i,type:t}=this;return[i,me[t]||{},X.datasets[t]||{},{type:t},X,Ys]}resolveNamedOptions(i,t,s,n=[""]){let o={$shared:!0},{resolver:r,subPrefixes:a}=xl(this._resolverCache,i,n),l=r;if(wp(r,t)){o.$shared=!1,s=zt(s)?s():s;let c=this.createResolver(i,s,a);l=pe(r,s,c)}for(let c of t)o[c]=l[c];return o}createResolver(i,t,s=[""],n){let{resolver:o}=xl(this._resolverCache,i,s);return N(t)?pe(o,t,void 0,n):o}};function xl(e,i,t){let s=e.get(i);s||(s=new Map,e.set(i,s));let n=t.join(),o=s.get(n);return o||(o={resolver:Vi(i,t),subPrefixes:t.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}var Pp=e=>N(e)&&Object.getOwnPropertyNames(e).some(i=>zt(e[i]));function wp(e,i){let{isScriptable:t,isIndexable:s}=qs(e);for(let n of i){let o=t(n),r=s(n),a=(r||o)&&e[n];if(o&&(zt(a)||Pp(a))||r&&H(a))return!0}return!1}var Op="4.4.1",Ap=["top","bottom","left","right","chartArea"];function _l(e,i){return e==="top"||e==="bottom"||Ap.indexOf(e)===-1&&i==="x"}function yl(e,i){return function(t,s){return t[e]===s[e]?t[i]-s[i]:t[e]-s[e]}}function vl(e){let i=e.chart,t=i.options.animation;i.notifyPlugins("afterRender"),L(t&&t.onComplete,[e],i)}function kp(e){let i=e.chart,t=i.options.animation;L(t&&t.onProgress,[e],i)}function rc(e){return Wi()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var dn={},Sl=e=>{let i=rc(e);return Object.values(dn).filter(t=>t.canvas===i).pop()};function Dp(e,i,t){let s=Object.keys(e);for(let n of s){let o=+n;if(o>=i){let r=e[n];delete e[n],(t>0||o>i)&&(e[o+t]=r)}}}function Ep(e,i,t,s){return!t||e.type==="mouseout"?null:s?i:e}function ln(e,i,t){return e.options.clip?e[t]:i[t]}function Ip(e,i){let{xScale:t,yScale:s}=e;return t&&s?{left:ln(t,i,"left"),right:ln(t,i,"right"),top:ln(s,i,"top"),bottom:ln(s,i,"bottom")}:i}var Et=(()=>{class e{static defaults=X;static instances=dn;static overrides=me;static registry=jt;static version=Op;static getChart=Sl;static register(...t){jt.add(...t),Cl()}static unregister(...t){jt.remove(...t),Cl()}constructor(t,s){let n=this.config=new Zo(s),o=rc(t),r=Sl(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||Jd(o)),this.platform.updateConfig(n);let l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,h=c&&c.height,f=c&&c.width;if(this.id=co(),this.ctx=l,this.canvas=c,this.width=f,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Go,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=_o(u=>this.update(u),a.resizeDelay||0),this._dataChanges=[],dn[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}te.listen(this,"complete",vl),te.listen(this,"progress",kp),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:o,_aspectRatio:r}=this;return V(t)?s&&r?r:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return jt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Qs(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Xs(this.canvas,this.ctx),this}stop(){return te.stop(this),this}resize(t,s){te.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){let n=this.options,o=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,t,s,r),l=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Qs(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),L(n.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){let s=this.options.scales||{};F(s,(n,o)=>{n.id=o})}buildOrUpdateScales(){let t=this.options,s=t.scales,n=this.scales,o=Object.keys(n).reduce((a,l)=>(a[l]=!1,a),{}),r=[];s&&(r=r.concat(Object.keys(s).map(a=>{let l=s[a],c=Ko(a,l),h=c==="r",f=c==="x";return{options:l,dposition:h?"chartArea":f?"bottom":"left",dtype:h?"radialLinear":f?"category":"linear"}}))),F(r,a=>{let l=a.options,c=l.id,h=Ko(c,l),f=E(l.type,a.dtype);(l.position===void 0||_l(l.position,h)!==_l(a.dposition))&&(l.position=a.dposition),o[c]=!0;let u=null;if(c in n&&n[c].type===f)u=n[c];else{let p=jt.getScale(f);u=new p({id:c,type:f,ctx:this.ctx,chart:this}),n[u.id]=u}u.init(l,t)}),F(o,(a,l)=>{a||delete n[l]}),F(n,a=>{lt.configure(this,a,a.options),lt.addBox(this,a)})}_updateMetasets(){let t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((o,r)=>o.index-r.index),n>s){for(let o=s;os.length&&delete this._stacks,t.forEach((n,o)=>{s.filter(r=>r===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){let t=[],s=this.data.datasets,n,o;for(this._removeUnreferencedMetasets(),n=0,o=s.length;n{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let s=this.config;s.update();let n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let h=0,f=this.data.datasets.length;h{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(yl("z","_idx"));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){F(this.scales,t=>{lt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,s=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!Es(s,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(let{method:n,start:o,count:r}of s){let a=n==="_removeElements"?-r:r;Dp(t,o,a)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let s=this.data.datasets.length,n=r=>new Set(t.filter(a=>a[0]===r).map((a,l)=>l+","+a.splice(1).join(","))),o=n(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;lt.update(this,this.width,this.height,t);let s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],F(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let s=0,n=this.data.datasets.length;s=0;--s)this._drawDataset(t[s]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let s=this.ctx,n=t._clip,o=!n.disabled,r=Ip(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(o&&ti(s,{left:n.left===!1?0:r.left-n.left,right:n.right===!1?this.width:r.right+n.right,top:n.top===!1?0:r.top-n.top,bottom:n.bottom===!1?this.height:r.bottom+n.bottom}),t.controller.draw(),o&&ei(s),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return Ot(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,o){let r=Ld.modes[s];return typeof r=="function"?r(this,t,n,o):[]}getDatasetMeta(t){let s=this.data.datasets[t],n=this._metasets,o=n.filter(r=>r&&r._dataset===s).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=Vt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let s=this.data.datasets[t];if(!s)return!1;let n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!s.hidden}setDatasetVisibility(t,s){let n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){let o=n?"show":"hide",r=this.getDatasetMeta(t),a=r.controller._resolveAnimations(void 0,o);ze(s)?(r.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(r,{visible:n}),this.update(l=>l.datasetIndex===t?o:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){let s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),te.remove(this),t=0,s=this.data.datasets.length;t{s.addEventListener(this,r,a),t[r]=a},o=(r,a,l)=>{r.offsetX=a,r.offsetY=l,this._eventHandler(r)};F(this.options.events,r=>n(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,s=this.platform,n=(c,h)=>{s.addEventListener(this,c,h),t[c]=h},o=(c,h)=>{t[c]&&(s.removeEventListener(this,c,h),delete t[c])},r=(c,h)=>{this.canvas&&this.resize(c,h)},a,l=()=>{o("attach",l),this.attached=!0,this.resize(),n("resize",r),n("detach",a)};a=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),n("attach",l)},s.isAttached(this.canvas)?l():a()}unbindEvents(){F(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},F(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){let o=n?"set":"remove",r,a,l,c;for(s==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=t.length;l{let l=this.getDatasetMeta(r);if(!l)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:l.data[a],index:a}});!Je(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){let o=this.options.hover,r=(c,h)=>c.filter(f=>!h.some(u=>f.datasetIndex===u.datasetIndex&&f.index===u.index)),a=r(s,t),l=n?t:r(t,s);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(t,s){let n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},o=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;let r=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(r||n.changed)&&this.render(),this}_handleEvent(t,s,n){let{_active:o=[],options:r}=this,a=s,l=this._getActiveElements(t,o,n,a),c=fo(t),h=Ep(t,this._lastEvent,n,c);n&&(this._lastEvent=null,L(r.onHover,[t,l,this],this),c&&L(r.onClick,[t,l,this],this));let f=!Je(l,o);return(f||s)&&(this._active=l,this._updateHoverStyles(l,o,s)),this._lastEvent=h,f}_getActiveElements(t,s,n,o){if(t.type==="mouseout")return[];if(!n)return s;let r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}}return e})();function Cl(){return F(Et.instances,e=>e._plugins.invalidate())}function Lp(e,i,t){let{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=i,c=n/a;e.beginPath(),e.arc(o,r,a,s-c,t+c),l>n?(c=n/l,e.arc(o,r,l,t+c,s-c,!0)):e.arc(o,r,n,t+Z,s-Z),e.closePath(),e.clip()}function Rp(e){return Bi(e,["outerStart","outerEnd","innerStart","innerEnd"])}function Fp(e,i,t,s){let n=Rp(e.options.borderRadius),o=(t-i)/2,r=Math.min(o,s*i/2),a=l=>{let c=(t-Math.min(o,l))*s/2;return it(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:it(n.innerStart,0,r),innerEnd:it(n.innerEnd,0,r)}}function ii(e,i,t,s){return{x:t+e*Math.cos(i),y:s+e*Math.sin(i)}}function bn(e,i,t,s,n,o){let{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=i,f=Math.max(i.outerRadius+s+t-c,0),u=h>0?h+s+t+c:0,p=0,m=n-l;if(s){let W=h>0?h-s:0,j=f>0?f-s:0,q=(W+j)/2,pt=q!==0?m*q/(q+s):m;p=(m-pt)/2}let b=Math.max(.001,m*f-t/U)/f,_=(m-b)/2,y=l+_+p,S=n-_-p,{outerStart:T,outerEnd:w,innerStart:C,innerEnd:M}=Fp(i,u,f,S-y),A=f-T,O=f-w,D=y+T/A,I=S-w/O,R=u+C,z=u+M,Q=y+C/R,ct=S-M/z;if(e.beginPath(),o){let W=(D+I)/2;if(e.arc(r,a,f,D,W),e.arc(r,a,f,W,I),w>0){let st=ii(O,I,r,a);e.arc(st.x,st.y,w,I,S+Z)}let j=ii(z,S,r,a);if(e.lineTo(j.x,j.y),M>0){let st=ii(z,ct,r,a);e.arc(st.x,st.y,M,S+Z,ct+Math.PI)}let q=(S-M/u+(y+C/u))/2;if(e.arc(r,a,u,S-M/u,q,!0),e.arc(r,a,u,q,y+C/u,!0),C>0){let st=ii(R,Q,r,a);e.arc(st.x,st.y,C,Q+Math.PI,y-Z)}let pt=ii(A,y,r,a);if(e.lineTo(pt.x,pt.y),T>0){let st=ii(A,D,r,a);e.arc(st.x,st.y,T,y-Z,D)}}else{e.moveTo(r,a);let W=Math.cos(D)*f+r,j=Math.sin(D)*f+a;e.lineTo(W,j);let q=Math.cos(I)*f+r,pt=Math.sin(I)*f+a;e.lineTo(q,pt)}e.closePath()}function zp(e,i,t,s,n){let{fullCircles:o,startAngle:r,circumference:a}=i,l=i.endAngle;if(o){bn(e,i,t,s,l,n);for(let c=0;ci!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(i){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,t,s){let n=this.getProps(["x","y"],s),{angle:o,distance:r}=Fs(n,{x:i,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:h,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),u=(this.options.spacing+this.options.borderWidth)/2,m=E(f,l-a)>=Y||Be(o,a,l),b=kt(r,c+u,h+u);return m&&b}getCenterPoint(i){let{x:t,y:s,startAngle:n,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:l,spacing:c}=this.options,h=(n+o)/2,f=(r+a+c+l)/2;return{x:t+Math.cos(h)*f,y:s+Math.sin(h)*f}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){let{options:t,circumference:s}=this,n=(t.offset||0)/4,o=(t.spacing||0)/2,r=t.circular;if(this.pixelMargin=t.borderAlign==="inner"?.33:0,this.fullCircles=s>Y?Math.floor(s/Y):0,s===0||this.innerRadius<0||this.outerRadius<0)return;i.save();let a=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(a)*n,Math.sin(a)*n);let l=1-Math.sin(Math.min(U,s||0)),c=n*l;i.fillStyle=t.backgroundColor,i.strokeStyle=t.borderColor,zp(i,this,c,o,r),Np(i,this,c,o,r),i.restore()}};function ac(e,i,t=i){e.lineCap=E(t.borderCapStyle,i.borderCapStyle),e.setLineDash(E(t.borderDash,i.borderDash)),e.lineDashOffset=E(t.borderDashOffset,i.borderDashOffset),e.lineJoin=E(t.borderJoinStyle,i.borderJoinStyle),e.lineWidth=E(t.borderWidth,i.borderWidth),e.strokeStyle=E(t.borderColor,i.borderColor)}function Bp(e,i,t){e.lineTo(t.x,t.y)}function Vp(e){return e.stepped?So:e.tension||e.cubicInterpolationMode==="monotone"?Co:Bp}function lc(e,i,t={}){let s=e.length,{start:n=0,end:o=s-1}=t,{start:r,end:a}=i,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:i.loop,ilen:c(r+(c?a-w:w))%o,T=()=>{b!==_&&(e.lineTo(h,_),e.lineTo(h,b),e.lineTo(h,y))};for(l&&(p=n[S(0)],e.moveTo(p.x,p.y)),u=0;u<=a;++u){if(p=n[S(u)],p.skip)continue;let w=p.x,C=p.y,M=w|0;M===m?(C_&&(_=C),h=(f*h+w)/++f):(T(),e.lineTo(w,C),m=M,f=0,b=_=C),y=C}T()}function Jo(e){let i=e.options,t=i.borderDash&&i.borderDash.length;return!e._decimated&&!e._loop&&!i.tension&&i.cubicInterpolationMode!=="monotone"&&!i.stepped&&!t?jp:Wp}function Hp(e){return e.stepped?ko:e.tension||e.cubicInterpolationMode==="monotone"?Do:Kt}function Up(e,i,t,s){let n=i._path;n||(n=i._path=new Path2D,i.path(n,t,s)&&n.closePath()),ac(e,i.options),e.stroke(n)}function Yp(e,i,t,s){let{segments:n,options:o}=i,r=Jo(i);for(let a of n)ac(e,o,a.style),e.beginPath(),r(e,i,a,{start:t,end:t+s-1})&&e.closePath(),e.stroke()}var Xp=typeof Path2D=="function";function $p(e,i,t,s){Xp&&!i.options.segment?Up(e,i,t,s):Yp(e,i,t,s)}var yn=(()=>{class e extends Dt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,s){let n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){let o=n.spanGaps?this._loop:this._fullLoop;wo(this._points,n,t,o,s),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Eo(this,this.options.segment))}first(){let t=this.segments,s=this.points;return t.length&&s[t[0].start]}last(){let t=this.segments,s=this.points,n=t.length;return n&&s[t[n-1].end]}interpolate(t,s){let n=this.options,o=t[s],r=this.points,a=nn(this,{property:s,start:o,end:o});if(!a.length)return;let l=[],c=Hp(n),h,f;for(h=0,f=a.length;h{class e extends Dt{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,s,n){let o=this.options,{x:r,y:a}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(s-a,2)e.replace("rgb(","rgba(").replace(")",", 0.5)"));function hc(e){return er[e%er.length]}function fc(e){return Ml[e%Ml.length]}function eg(e,i){return e.borderColor=hc(i),e.backgroundColor=fc(i),++i}function ig(e,i){return e.backgroundColor=e.data.map(()=>hc(i++)),i}function sg(e,i){return e.backgroundColor=e.data.map(()=>fc(i++)),i}function ng(e){let i=0;return(t,s)=>{let n=e.getDatasetMeta(s).controller;n instanceof cr?i=ig(t,i):n instanceof Ql?i=sg(t,i):n&&(i=eg(t,i))}}function Pl(e){let i;for(i in e)if(e[i].borderColor||e[i].backgroundColor)return!0;return!1}function og(e){return e&&(e.borderColor||e.backgroundColor)}var rg={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,i,t){if(!t.enabled)return;let{data:{datasets:s},options:n}=e.config,{elements:o}=n;if(!t.forceOverride&&(Pl(s)||og(n)||o&&Pl(o)))return;let r=ng(e);s.forEach(r)}};function ag(e,i,t,s,n){let o=n.samples||s;if(o>=t)return e.slice(i,i+t);let r=[],a=(t-2)/(o-2),l=0,c=i+t-1,h=i,f,u,p,m,b;for(r[l++]=e[h],f=0;fp&&(p=m,u=e[S],b=S);r[l++]=u,h=b}return r[l++]=e[c],r}function lg(e,i,t,s){let n=0,o=0,r,a,l,c,h,f,u,p,m,b,_=[],y=i+t-1,S=e[i].x,w=e[y].x-S;for(r=i;rb&&(b=c,u=r),n=(o*n+a.x)/++o;else{let M=r-1;if(!V(f)&&!V(u)){let A=Math.min(f,u),O=Math.max(f,u);A!==p&&A!==M&&_.push(_s(xs({},e[A]),{x:n})),O!==p&&O!==M&&_.push(_s(xs({},e[O]),{x:n}))}r>0&&M!==p&&_.push(e[M]),_.push(a),h=C,o=0,m=b=c,f=u=p=r}}return _}function uc(e){if(e._decimated){let i=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:i})}}function wl(e){e.data.datasets.forEach(i=>{uc(i)})}function cg(e,i){let t=i.length,s=0,n,{iScale:o}=e,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=it(wt(i,o.axis,r).lo,0,t-1)),c?n=it(wt(i,o.axis,a).hi+1,s,t)-s:n=t-s,{start:s,count:n}}var hg={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,i,t)=>{if(!t.enabled){wl(e);return}let s=e.width;e.data.datasets.forEach((n,o)=>{let{_data:r,indexAxis:a}=n,l=e.getDatasetMeta(o),c=r||n.data;if(je([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;let h=e.scales[l.xAxisID];if(h.type!=="linear"&&h.type!=="time"||e.options.parsing)return;let{start:f,count:u}=cg(l,c),p=t.threshold||4*s;if(u<=p){uc(n);return}V(r)&&(n._data=c,delete n.data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(b){this._data=b}}));let m;switch(t.algorithm){case"lttb":m=ag(c,f,u,s,t);break;case"min-max":m=lg(c,f,u,s);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}n._decimated=m})},destroy(e){wl(e)}};function fg(e,i,t){let s=e.segments,n=e.points,o=i.points,r=[];for(let a of s){let{start:l,end:c}=a;c=hr(l,c,n);let h=ir(t,n[l],n[c],a.loop);if(!i.segments){r.push({source:a,target:h,start:n[l],end:n[c]});continue}let f=nn(i,h);for(let u of f){let p=ir(t,o[u.start],o[u.end],u.loop),m=sn(a,n,p);for(let b of m)r.push({source:b,target:u,start:{[t]:Ol(h,p,"start",Math.max)},end:{[t]:Ol(h,p,"end",Math.min)}})}}return r}function ir(e,i,t,s){if(s)return;let n=i[e],o=t[e];return e==="angle"&&(n=ft(n),o=ft(o)),{property:e,start:n,end:o}}function ug(e,i){let{x:t=null,y:s=null}=e||{},n=i.points,o=[];return i.segments.forEach(({start:r,end:a})=>{a=hr(r,a,n);let l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):t!==null&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}function hr(e,i,t){for(;i>e;i--){let s=t[i];if(!isNaN(s.x)&&!isNaN(s.y))break}return i}function Ol(e,i,t,s){return e&&i?s(e[t],i[t]):e?e[t]:i?i[t]:0}function dc(e,i){let t=[],s=!1;return H(e)?(s=!0,t=e):t=ug(e,i),t.length?new yn({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function Al(e){return e&&e.fill!==!1}function dg(e,i,t){let n=e[i].fill,o=[i],r;if(!t)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!G(n))return n;if(r=e[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function pg(e,i,t){let s=xg(e);if(N(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return G(n)&&Math.floor(n)===n?gg(s[0],i,n,t):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function gg(e,i,t,s){return(e==="-"||e==="+")&&(t=i+t),t===i||t<0||t>=s?!1:t}function mg(e,i){let t=null;return e==="start"?t=i.bottom:e==="end"?t=i.top:N(e)?t=i.getPixelForValue(e.value):i.getBasePixel&&(t=i.getBasePixel()),t}function bg(e,i,t){let s;return e==="start"?s=t:e==="end"?s=i.options.reverse?i.min:i.max:N(e)?s=e.value:s=i.getBaseValue(),s}function xg(e){let i=e.options,t=i.fill,s=E(t&&t.target,t);return s===void 0&&(s=!!i.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function _g(e){let{scale:i,index:t,line:s}=e,n=[],o=s.segments,r=s.points,a=yg(i,t);a.push(dc({x:null,y:i.bottom},s));for(let l=0;l=0;--r){let a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&Wo(e.ctx,a,o))}},beforeDatasetsDraw(e,i,t){if(t.drawTime!=="beforeDatasetsDraw")return;let s=e.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){let o=s[n].$filler;Al(o)&&Wo(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,i,t){let s=i.meta.$filler;!Al(s)||t.drawTime!=="beforeDatasetDraw"||Wo(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Il=(e,i)=>{let{boxHeight:t=i,boxWidth:s=i}=e;return e.usePointStyle&&(t=Math.min(t,i),s=e.pointStyleWidth||Math.min(s,i)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(i,t)}},Dg=(e,i)=>e!==null&&i!==null&&e.datasetIndex===i.datasetIndex&&e.index===i.index,_n=class extends Dt{constructor(i){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t,s){this.maxWidth=i,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let i=this.options.labels||{},t=L(i.generateLabels,[this.chart],this)||[];i.filter&&(t=t.filter(s=>i.filter(s,this.chart.data))),i.sort&&(t=t.sort((s,n)=>i.sort(s,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:i,ctx:t}=this;if(!i.display){this.width=this.height=0;return}let s=i.labels,n=J(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Il(s,o),c,h;t.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,i.maxWidth||this.maxWidth),this.height=Math.min(h,i.maxHeight||this.maxHeight)}_fitRows(i,t,s,n){let{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a,f=i;o.textAlign="left",o.textBaseline="middle";let u=-1,p=-h;return this.legendItems.forEach((m,b)=>{let _=s+t/2+o.measureText(m.text).width;(b===0||c[c.length-1]+_+2*a>r)&&(f+=h,c[c.length-(b>0?0:1)]=0,p+=h,u++),l[b]={left:0,top:p,row:u,width:_,height:n},c[c.length-1]+=_+a}),f}_fitCols(i,t,s,n){let{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-i,f=a,u=0,p=0,m=0,b=0;return this.legendItems.forEach((_,y)=>{let{itemWidth:S,itemHeight:T}=Eg(s,t,o,_,n);y>0&&p+T+2*a>h&&(f+=u+a,c.push({width:u,height:p}),m+=u+a,b++,u=p=0),l[y]={left:m,top:p,col:b,width:S,height:T},u=Math.max(u,S),p+=T+a}),f+=u,c.push({width:u,height:p}),f}adjustHitBoxes(){if(!this.options.display)return;let i=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:o}}=this,r=be(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=ot(s,this.left+n,this.right-this.lineWidths[a]);for(let c of t)a!==c.row&&(a=c.row,l=ot(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+i+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=ot(s,this.top+i+n,this.bottom-this.columnSizes[a].height);for(let c of t)c.col!==a&&(a=c.col,l=ot(s,this.top+i+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let i=this.ctx;ti(i,this),this._draw(),ei(i)}}_draw(){let{options:i,columnSizes:t,lineWidths:s,ctx:n}=this,{align:o,labels:r}=i,a=X.color,l=be(i.rtl,this.left,this.width),c=J(r.font),{padding:h}=r,f=c.size,u=f/2,p;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:m,boxHeight:b,itemHeight:_}=Il(r,f),y=function(M,A,O){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;n.save();let D=E(O.lineWidth,1);if(n.fillStyle=E(O.fillStyle,a),n.lineCap=E(O.lineCap,"butt"),n.lineDashOffset=E(O.lineDashOffset,0),n.lineJoin=E(O.lineJoin,"miter"),n.lineWidth=D,n.strokeStyle=E(O.strokeStyle,a),n.setLineDash(E(O.lineDash,[])),r.usePointStyle){let I={radius:b*Math.SQRT2/2,pointStyle:O.pointStyle,rotation:O.rotation,borderWidth:D},R=l.xPlus(M,m/2),z=A+u;$s(n,I,R,z,r.pointStyleWidth&&m)}else{let I=A+Math.max((f-b)/2,0),R=l.leftForLtr(M,m),z=Jt(O.borderRadius);n.beginPath(),Object.values(z).some(Q=>Q!==0)?We(n,{x:R,y:I,w:m,h:b,radius:z}):n.rect(R,I,m,b),n.fill(),D!==0&&n.stroke()}n.restore()},S=function(M,A,O){Qt(n,O.text,M,A+_/2,c,{strikethrough:O.hidden,textAlign:l.textAlign(O.textAlign)})},T=this.isHorizontal(),w=this._computeTitleHeight();T?p={x:ot(o,this.left+h,this.right-s[0]),y:this.top+h+w,line:0}:p={x:this.left+h,y:ot(o,this.top+w+h,this.bottom-t[0].height),line:0},tn(this.ctx,i.textDirection);let C=_+h;this.legendItems.forEach((M,A)=>{n.strokeStyle=M.fontColor,n.fillStyle=M.fontColor;let O=n.measureText(M.text).width,D=l.textAlign(M.textAlign||(M.textAlign=r.textAlign)),I=m+u+O,R=p.x,z=p.y;l.setWidth(this.width),T?A>0&&R+I+h>this.right&&(z=p.y+=C,p.line++,R=p.x=ot(o,this.left+h,this.right-s[p.line])):A>0&&z+C>this.bottom&&(R=p.x=R+t[p.line].width+h,p.line++,z=p.y=ot(o,this.top+w+h,this.bottom-t[p.line].height));let Q=l.x(R);if(y(Q,z,M),R=yo(D,R+m+u,T?R+I:this.right,i.rtl),S(l.x(R),z,M),T)p.x+=I+h;else if(typeof M.text!="string"){let ct=c.lineHeight;p.y+=pc(M,ct)+h}else p.y+=C}),en(this.ctx,i.textDirection)}drawTitle(){let i=this.options,t=i.title,s=J(t.font),n=rt(t.padding);if(!t.display)return;let o=be(i.rtl,this.left,this.width),r=this.ctx,a=t.position,l=s.size/2,c=n.top+l,h,f=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),h=this.top+c,f=ot(i.align,f,this.right-u);else{let m=this.columnSizes.reduce((b,_)=>Math.max(b,_.height),0);h=c+ot(i.align,this.top,this.bottom-m-i.labels.padding-this._computeTitleHeight())}let p=ot(a,f,f+u);r.textAlign=o.textAlign(Fi(a)),r.textBaseline="middle",r.strokeStyle=t.color,r.fillStyle=t.color,r.font=s.string,Qt(r,t.text,p,h,s)}_computeTitleHeight(){let i=this.options.title,t=J(i.font),s=rt(i.padding);return i.display?t.lineHeight+s.height:0}_getLegendItemAt(i,t){let s,n,o;if(kt(i,this.left,this.right)&&kt(t,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),i+t.size/2+s.measureText(n).width}function Lg(e,i,t){let s=e;return typeof i.text!="string"&&(s=pc(i,t)),s}function pc(e,i){let t=e.text?e.text.length:0;return i*t}function Rg(e,i){return!!((e==="mousemove"||e==="mouseout")&&(i.onHover||i.onLeave)||i.onClick&&(e==="click"||e==="mouseup"))}var Fg={id:"legend",_element:_n,start(e,i,t){let s=e.legend=new _n({ctx:e.ctx,options:t,chart:e});lt.configure(e,s,t),lt.addBox(e,s)},stop(e){lt.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,i,t){let s=e.legend;lt.configure(e,s,t),s.options=t},afterUpdate(e){let i=e.legend;i.buildLabels(),i.adjustHitBoxes()},afterEvent(e,i){i.replay||e.legend.handleEvent(i.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,i,t){let s=i.datasetIndex,n=t.chart;n.isDatasetVisible(s)?(n.hide(s),i.hidden=!0):(n.show(s),i.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let i=e.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(t?0:void 0),h=rt(c.borderWidth);return{text:i[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}},Zi=class extends Dt{constructor(i){super(),this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t){let s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=i,this.height=this.bottom=t;let n=H(s.text)?s.text.length:1;this._padding=rt(s.padding);let o=n*J(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){let i=this.options.position;return i==="top"||i==="bottom"}_drawArgs(i){let{top:t,left:s,bottom:n,right:o,options:r}=this,a=r.align,l=0,c,h,f;return this.isHorizontal()?(h=ot(a,s,o),f=t+i,c=o-s):(r.position==="left"?(h=s+i,f=ot(a,n,t),l=U*-.5):(h=o-i,f=ot(a,t,n),l=U*.5),c=n-t),{titleX:h,titleY:f,maxWidth:c,rotation:l}}draw(){let i=this.ctx,t=this.options;if(!t.display)return;let s=J(t.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Qt(i,t.text,0,0,s,{color:t.color,maxWidth:l,rotation:c,textAlign:Fi(t.align),textBaseline:"middle",translation:[r,a]})}};function zg(e,i){let t=new Zi({ctx:e.ctx,options:i,chart:e});lt.configure(e,t,i),lt.addBox(e,t),e.titleBlock=t}var Ng={id:"title",_element:Zi,start(e,i,t){zg(e,t)},stop(e){let i=e.titleBlock;lt.removeBox(e,i),delete e.titleBlock},beforeUpdate(e,i,t){let s=e.titleBlock;lt.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},cn=new WeakMap,Bg={id:"subtitle",start(e,i,t){let s=new Zi({ctx:e.ctx,options:t,chart:e});lt.configure(e,s,t),lt.addBox(e,s),cn.set(e,s)},stop(e){lt.removeBox(e,cn.get(e)),cn.delete(e)},beforeUpdate(e,i,t){let s=cn.get(e);lt.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},qi={average(e){if(!e.length)return!1;let i,t,s=0,n=0,o=0;for(i=0,t=e.length;i-1?e.split(` diff --git a/frontend/server/modelsmith-build/browser/chunk-TVXWZIGN.js b/frontend/server/modelsmith-build/browser/chunk-VTKC7GIQ.js similarity index 88% rename from frontend/server/modelsmith-build/browser/chunk-TVXWZIGN.js rename to frontend/server/modelsmith-build/browser/chunk-VTKC7GIQ.js index ad401cda..75aada69 100644 --- a/frontend/server/modelsmith-build/browser/chunk-TVXWZIGN.js +++ b/frontend/server/modelsmith-build/browser/chunk-VTKC7GIQ.js @@ -1 +1 @@ -import{a as H,b as J,c as K,d as W}from"./chunk-6WFPQN4T.js";import{c as $,h as z,i as G,j as Q,k as q}from"./chunk-BTHDGCD5.js";import{$a as t,Ab as p,Da as a,Ea as F,Eb as T,Fb as D,Fe as Y,Pa as w,Ra as d,Sa as x,Wb as P,Xa as b,Yd as A,Zb as B,ab as i,ad as k,bb as n,be as N,fb as _,fe as O,ga as l,ib as E,ie as U,oa as C,pa as I,pe as j,qe as L,re as V,sb as M,tb as u,te as R,ub as h,ue as f,we as g,xe as v,ye as X}from"./chunk-MDAOMI2L.js";function oe(o,e){if(o&1&&(t(0,"div",6)(1,"div",12),u(2),i(),t(3,"div",13),u(4),i()()),o&2){let S=e;a(2),h(S.name),a(2),h(S.role)}}var Z=(()=>{let e=class e{constructor(m){this.authFacadeService=m,this.RoutesList=k,this.user$=this.authFacadeService.user$}logout(){this.authFacadeService.dispatch(X.logout())}};e.\u0275fac=function(r){return new(r||e)(F(Y))},e.\u0275cmp=l({type:e,selectors:[["ms-user-navigation"]],standalone:!0,features:[p],decls:14,vars:6,consts:[["menuTrigger","matMenuTrigger"],["menu","matMenu"],["mat-button","",3,"matMenuTriggerFor"],[1,"user-navigation-content-wrapper","flex","items-center","gap-2"],[1,"content-1","flex","items-center"],["fontSet","ms","fontIcon","icon-User",1,"mat-white"],[1,"content-2","right","text-left","ml-2"],[1,"content-3"],["fontSet","ms","fontIcon","icon-CaretDown",1,"mat-white","rotate-icon","text-base"],[1,"ms-mat-menu"],["mat-menu-item","",3,"click"],["fontSet","ms","fontIcon","icon-SignOut"],[1,"paragraph-semibold-p3-default-emphasis"],[1,"paragraph-regular-p3-default"]],template:function(r,s){if(r&1){let c=_();t(0,"button",2,0)(2,"div",3)(3,"div",4),n(4,"mat-icon",5),i(),w(5,oe,5,2,"div",6),T(6,"async"),t(7,"div",7),n(8,"mat-icon",8),i()()(),t(9,"mat-menu",9,1)(11,"button",10),E("click",function(){return C(c),I(s.logout())}),n(12,"mat-icon",11),u(13," Logout "),i()()}if(r&2){let c,y=M(1),ee=M(10);d("matMenuTriggerFor",ee),a(5),b((c=D(6,4,s.user$))?5:-1,c),a(3),x("transform",y.menuOpen?"rotate(180deg)":"rotate(0)")}},dependencies:[B,P,v,g,W,J,H,K,f,V],styles:[".rotate-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.content-2[_ngcontent-%COMP%]{color:var(--backgrounds-50)}"]});let o=e;return o})();var we=(()=>{let e=class e{constructor(){this.search=new O}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=l({type:e,selectors:[["ms-header"]],standalone:!0,features:[p],decls:24,vars:1,consts:[[1,"header-wrapper"],[1,"left","flex","justify-center","items-center"],[1,"icon"],["mat-icon-button",""],["fontSet","ms","fontIcon","icon-Nav",1,"mat-white"],[1,"logo","ml-4"],["src","./assets/logo/logo-header.svg","alt",""],[1,"right","flex","justify-center","items-center","gap-1"],[1,"form-field-container","ms-white-form-field"],["subscriptSizing","dynamic","floatLabel","auto"],["matInput","","placeholder","Search",3,"formControl"],["matPrefix","","fontSet","ms","fontIcon","icon-MagnifyingGlass",1,"mat-gray"],["fontSet","ms","fontIcon","icon-Question",1,"mat-white"],["fontSet","ms","fontIcon","icon-Bell",1,"mat-white"],[1,"vertical-divider","h-9"],[1,"icon","cursor-pointer"]],template:function(r,s){r&1&&(t(0,"header",0)(1,"div",1)(2,"div",2)(3,"button",3),n(4,"mat-icon",4),i()(),t(5,"div",5),n(6,"img",6),i()(),t(7,"div",7)(8,"div",8)(9,"mat-form-field",9),n(10,"input",10)(11,"mat-icon",11),i()(),t(12,"div")(13,"button",3),n(14,"mat-icon",12),i()(),t(15,"div")(16,"button",3),n(17,"mat-icon",13),i()(),n(18,"div",14),t(19,"div"),n(20,"ms-user-navigation"),i(),t(21,"div",15)(22,"button",3),n(23,"mat-icon",4),i()()()()),r&2&&(a(10),d("formControl",s.search))},dependencies:[v,g,Z,L,A,N,U,j,G,z,$,f,R,q,Q],styles:[".header-wrapper[_ngcontent-%COMP%]{height:56px;padding:0 10px;background:linear-gradient(to right,var(--header-left),var(--header-right));display:flex;justify-content:space-between}"]});let o=e;return o})();export{we as a}; +import{a as H,b as J,c as K,d as W}from"./chunk-BT5J7FFS.js";import{c as $,h as z,i as G,j as Q,k as q}from"./chunk-LCKMIOUI.js";import{$a as t,Bb as p,Da as a,Ea as F,Fb as T,Gb as D,Ge as Y,Pa as w,Ra as d,Sa as x,Xa as b,Xb as P,Zd as A,_b as B,ab as i,bb as n,bd as k,ce as N,fb as _,ga as l,ge as O,ib as E,je as U,oa as C,pa as I,qe as j,re as L,sb as M,se as V,tb as u,ub as h,ue as R,ve as f,xe as g,ye as v,ze as X}from"./chunk-MVLCGSW5.js";function oe(o,e){if(o&1&&(t(0,"div",6)(1,"div",12),u(2),i(),t(3,"div",13),u(4),i()()),o&2){let S=e;a(2),h(S.name),a(2),h(S.role)}}var Z=(()=>{let e=class e{constructor(m){this.authFacadeService=m,this.RoutesList=k,this.user$=this.authFacadeService.user$}logout(){this.authFacadeService.dispatch(X.logout())}};e.\u0275fac=function(r){return new(r||e)(F(Y))},e.\u0275cmp=l({type:e,selectors:[["ms-user-navigation"]],standalone:!0,features:[p],decls:14,vars:6,consts:[["menuTrigger","matMenuTrigger"],["menu","matMenu"],["mat-button","",3,"matMenuTriggerFor"],[1,"user-navigation-content-wrapper","flex","items-center","gap-2"],[1,"content-1","flex","items-center"],["fontSet","ms","fontIcon","icon-User",1,"mat-white"],[1,"content-2","right","text-left","ml-2"],[1,"content-3"],["fontSet","ms","fontIcon","icon-CaretDown",1,"mat-white","rotate-icon","text-base"],[1,"ms-mat-menu"],["mat-menu-item","",3,"click"],["fontSet","ms","fontIcon","icon-SignOut"],[1,"paragraph-semibold-p3-default-emphasis"],[1,"paragraph-regular-p3-default"]],template:function(r,s){if(r&1){let c=_();t(0,"button",2,0)(2,"div",3)(3,"div",4),n(4,"mat-icon",5),i(),w(5,oe,5,2,"div",6),T(6,"async"),t(7,"div",7),n(8,"mat-icon",8),i()()(),t(9,"mat-menu",9,1)(11,"button",10),E("click",function(){return C(c),I(s.logout())}),n(12,"mat-icon",11),u(13," Logout "),i()()}if(r&2){let c,y=M(1),ee=M(10);d("matMenuTriggerFor",ee),a(5),b((c=D(6,4,s.user$))?5:-1,c),a(3),x("transform",y.menuOpen?"rotate(180deg)":"rotate(0)")}},dependencies:[B,P,v,g,W,J,H,K,f,V],styles:[".rotate-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.content-2[_ngcontent-%COMP%]{color:var(--backgrounds-50)}"]});let o=e;return o})();var we=(()=>{let e=class e{constructor(){this.search=new O}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=l({type:e,selectors:[["ms-header"]],standalone:!0,features:[p],decls:24,vars:1,consts:[[1,"header-wrapper"],[1,"left","flex","justify-center","items-center"],[1,"icon"],["mat-icon-button",""],["fontSet","ms","fontIcon","icon-Nav",1,"mat-white"],[1,"logo","ml-4"],["src","./assets/logo/logo-header.svg","alt",""],[1,"right","flex","justify-center","items-center","gap-1"],[1,"form-field-container","ms-white-form-field"],["subscriptSizing","dynamic","floatLabel","auto"],["matInput","","placeholder","Search",3,"formControl"],["matPrefix","","fontSet","ms","fontIcon","icon-MagnifyingGlass",1,"mat-gray"],["fontSet","ms","fontIcon","icon-Question",1,"mat-white"],["fontSet","ms","fontIcon","icon-Bell",1,"mat-white"],[1,"vertical-divider","h-9"],[1,"icon","cursor-pointer"]],template:function(r,s){r&1&&(t(0,"header",0)(1,"div",1)(2,"div",2)(3,"button",3),n(4,"mat-icon",4),i()(),t(5,"div",5),n(6,"img",6),i()(),t(7,"div",7)(8,"div",8)(9,"mat-form-field",9),n(10,"input",10)(11,"mat-icon",11),i()(),t(12,"div")(13,"button",3),n(14,"mat-icon",12),i()(),t(15,"div")(16,"button",3),n(17,"mat-icon",13),i()(),n(18,"div",14),t(19,"div"),n(20,"ms-user-navigation"),i(),t(21,"div",15)(22,"button",3),n(23,"mat-icon",4),i()()()()),r&2&&(a(10),d("formControl",s.search))},dependencies:[v,g,Z,L,A,N,U,j,G,z,$,f,R,q,Q],styles:[".header-wrapper[_ngcontent-%COMP%]{height:56px;padding:0 10px;background:linear-gradient(to right,var(--header-left),var(--header-right));display:flex;justify-content:space-between}"]});let o=e;return o})();export{we as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-7MILYS6Z.js b/frontend/server/modelsmith-build/browser/chunk-VWQ54OR3.js similarity index 98% rename from frontend/server/modelsmith-build/browser/chunk-7MILYS6Z.js rename to frontend/server/modelsmith-build/browser/chunk-VWQ54OR3.js index e43be9f6..0deedd1d 100644 --- a/frontend/server/modelsmith-build/browser/chunk-7MILYS6Z.js +++ b/frontend/server/modelsmith-build/browser/chunk-VWQ54OR3.js @@ -1 +1 @@ -import{a as dt,b as ut}from"./chunk-O6HMI7CW.js";import{b as Dt,g as Ct,h as _e,i as vt,j as re,k as De,o as Rt,q as bt,s as kt}from"./chunk-WXERLI5K.js";import{$,$a as f,Ab as x,Ba as Je,C as Fe,Da as _,Dd as mt,Ea as c,Eb as nt,Fa as E,Fb as ot,Hb as Ae,Hd as Ne,Ja as ie,Kb as rt,La as et,Lb as G,Ma as K,Mb as O,Na as m,Oa as L,Pa as P,Pb as st,Ra as Z,S as le,Ta as ye,Ub as at,Vb as ct,Xa as M,Z as de,Zb as lt,_ as ue,a as Ie,ab as p,ba as te,bb as tt,ca as B,eb as g,ed as ht,fb as we,ga as b,ha as he,ia as h,ib as ne,id as ft,j as U,ja as Xe,k as W,kb as k,lb as Y,mb as S,na as fe,oa as me,ob as T,p as Ze,pa as pe,qb as I,rb as F,re as pt,s as Q,sa as v,sb as Oe,ta as Ge,tb as X,te as gt,u as Ye,ua as q,ub as it,ue as yt,vb as oe,w as ae,wa as j,we as wt,x as ce,xa as ge,xe as _t,zb as C}from"./chunk-MDAOMI2L.js";var zt=[[["caption"]],[["colgroup"],["col"]],"*"],Ut=["caption","colgroup, col","*"];function Wt(n,e){n&1&&S(0,2)}function Qt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",0),g(3,2)(4,3),p(),f(5,"tfoot",0),g(6,4),p())}function $t(n,e){n&1&&g(0,1)(1,2)(2,3)(3,4)}var R=new $("CDK_TABLE");var xe=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let n=e;return n})(),Ee=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let n=e;return n})(),Et=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let n=e;return n})(),J=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(i){return new(i||e)(c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,xe,5),T(a,Ee,5),T(a,Et,5)),i&2){let s;I(s=F())&&(o.cell=s.first),I(s=F())&&(o.headerCell=s.first),I(s=F())&&(o.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[C([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),L]});let n=e;return n})(),ve=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},Mt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[m]});let n=e;return n})();var Tt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i);let o=t._table?._getCellRole();o&&i.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[m]});let n=e;return n})(),Re=class{constructor(){this.tasks=[],this.endTasks=[]}},be=new $("_COALESCED_STYLE_SCHEDULER"),Pe=(()=>{let e=class e{constructor(t){this._currentSchedule=null,this._ngZone=B(ie)}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Re,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Re;for(let i of t.tasks)i();for(let i of t.endTasks)i()}this._currentSchedule=null})))}};e.\u0275fac=function(i){return new(i||e)(te(ie))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();var Be=(()=>{let e=class e{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){let i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof se?t.headerCell.template:this instanceof Le?t.footerCell.template:t.cell.template}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G))},e.\u0275dir=h({type:e,features:[fe]});let n=e;return n})(),se=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Le=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Me=(()=>{let e=class e extends Be{constructor(t,i,o){super(t,i),this._table=o}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[m]});let n=e;return n})(),H=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(i){return new(i||e)(c(K))},e.\u0275dir=h({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let n=e;return n})(),He=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})(),It=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let n=e;return n})(),St=["top","bottom","left","right"],je=class{constructor(e,r,t,i,o=!0,a=!0,s){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let i of e)if(i.nodeType===i.ELEMENT_NODE){t.push(i);for(let o=0;o{for(let i of t)this._removeStickyStyle(i,r)})}updateStickyColumns(e,r,t,i=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],a=o.children.length,s=this._getCellWidths(o,i),l=this._getStickyStartColumnPositions(s,r),d=this._getStickyEndColumnPositions(s,t),u=r.lastIndexOf(!0),w=t.indexOf(!0),y=this.direction==="rtl",N=y?"right":"left",qe=y?"left":"right";for(let ee of e)for(let D=0;Dr[D]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:s.slice(w).map((ee,D)=>t[D+w]?ee:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let i=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,a=[],s=[],l=[];for(let u=0,w=0;u{let t=e.querySelector("tfoot");t&&(r.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let i of r)e.style[i]="",e.classList.remove(this._borderCellCss[i]);St.some(i=>r.indexOf(i)===-1&&e.style[i])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let i of St)e.style[i]&&(t+=r[i]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=i,i+=e[o]);return t}};var ke=new $("CDK_SPL");var ze=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let n=e;return n})(),Ue=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let n=e;return n})(),We=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let n=e;return n})(),Qe=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let n=e;return n})();var $e=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),i=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&i==="cell"?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,i,o,a,s,l,d,u,w,y,N,qe){this._differs=t,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=d,this._viewRepeater=u,this._coalescedStyleScheduler=w,this._viewportRuler=y,this._stickyPositioningListener=N,this._onDestroy=new U,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new ge,this.viewChange=new W({start:0,end:Number.MAX_VALUE}),this._injector=B(q),a||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!d.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(le(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),_e(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(o,a,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===vt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let a=i.get(o.currentIndex);a.context.$implicit=o.item.data}),this._updateNoDataRow(),et(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let i=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let i=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((a,s)=>{this._addStickyColumnStyles([a],this._headerRowDefs[s])}),this._rowDefs.forEach(a=>{let s=[];for(let l=0;l{this._addStickyColumnStyles([a],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(s)?o.get(s):[];if(l.length){let d=l.shift();return d.dataIndex=i,d}else return{data:t,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ce(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Ce(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ce(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ce(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,l)=>s||!!l.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(t,!1);return a&&this._forceRenderFooterRows(),i||o||a}_switchDataSource(t){this._data=[],_e(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;_e(this.dataSource)?t=this.dataSource.connect(this):Ye(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Q(this.dataSource)),this._renderChangeSubscription=t.pipe(le(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){let o=Array.from(i.columns||[]).map(l=>{let d=this._columnDefsByName.get(l);return d}),a=o.map(l=>l.sticky),s=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,a,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let i=[];for(let o=0;o!a.when||a.when(i,t));else{let a=this._rowDefs.find(s=>s.when&&s.when(i,t))||this._defaultRowDef;a&&o.push(a)}return o.length,o}_getEmbeddedViewArgs(t,i){let o=t.rowDef,a={$implicit:t.data};return{templateRef:o.template,context:a,index:i}}_renderRow(t,i,o,a={}){let s=t.viewContainer.createEmbeddedView(i.template,a,o);return this._renderCellTemplateForItem(i,a),s}_renderCellTemplateForItem(t,i){for(let o of this._getCellTemplates(t))H.mostRecentCellOutlet&&H.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let i=0,o=t.length;i{let o=this._columnDefsByName.get(i);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new je(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Q()).pipe(le(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(i){let a=o.createEmbeddedView(t.templateRef),s=a.rootNodes[0];a.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(i){return new(i||e)(c(G),c(rt),c(j),Ge("role"),c(mt,8),c(st),c(ft),c(re),c(be),c(Rt),c(ke,12),c(ie,8))},e.\u0275cmp=b({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,It,5),T(a,J,5),T(a,Me,5),T(a,se,5),T(a,Le,5)),i&2){let s;I(s=F())&&(o._noDataRow=s.first),I(s=F())&&(o._contentColumnDefs=s),I(s=F())&&(o._contentRowDefs=s),I(s=F())&&(o._contentHeaderRowDefs=s),I(s=F())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[C([{provide:R,useExisting:e},{provide:re,useClass:De},{provide:be,useClass:Pe},{provide:ke,useValue:null}]),L,x],ngContentSelectors:Ut,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(zt),S(0),S(1,1),P(2,Wt,1,0)(3,Qt,7,0)(4,$t,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let n=e;return n})();function Ce(n,e){return n.concat(Array.from(e))}function xt(n,e){let r=e.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===r)return t;if(i==="TABLE")break;t=t.parentNode}return null}var Ft=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[bt]});let n=e;return n})();var qt=[[["caption"]],[["colgroup"],["col"]],"*"],Kt=["caption","colgroup, col","*"];function Zt(n,e){n&1&&S(0,2)}function Yt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",2),g(3,3)(4,4),p(),f(5,"tfoot",0),g(6,5),p())}function Xt(n,e){n&1&&g(0,1)(1,3)(2,4)(3,5)}var Gi=(()=>{let e=class e extends $e{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[C([{provide:$e,useExisting:e},{provide:R,useExisting:e},{provide:be,useClass:Pe},{provide:re,useClass:De},{provide:ke,useValue:null}]),m,x],ngContentSelectors:Kt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(qt),S(0),S(1,1),P(2,Zt,1,0)(3,Yt,7,0)(4,Xt,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let n=e;return n})(),Ji=(()=>{let e=class e extends xe{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[C([{provide:xe,useExisting:e}]),m]});let n=e;return n})(),en=(()=>{let e=class e extends Ee{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[C([{provide:Ee,useExisting:e}]),m]});let n=e;return n})();var tn=(()=>{let e=class e extends J{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[C([{provide:J,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),m]});let n=e;return n})(),nn=(()=>{let e=class e extends Mt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[m]});let n=e;return n})();var on=(()=>{let e=class e extends Tt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[m]});let n=e;return n})();var rn=(()=>{let e=class e extends se{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[C([{provide:se,useExisting:e}]),L,m]});let n=e;return n})();var sn=(()=>{let e=class e extends Me{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[C([{provide:Me,useExisting:e}]),m]});let n=e;return n})(),an=(()=>{let e=class e extends He{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[C([{provide:He,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var cn=(()=>{let e=class e extends Ve{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[C([{provide:Ve,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var ln=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[Ne,Ft,Ne]});let n=e;return n})(),Gt=9007199254740991,Ot=class extends Ct{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new W([]),this._filter=new W(""),this._internalPageChanges=new U,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,t)=>{let i=r[t];if(ht(i)){let o=Number(i);return o{let i=t.active,o=t.direction;return!i||o==""?r:r.sort((a,s)=>{let l=this.sortingDataAccessor(a,i),d=this.sortingDataAccessor(s,i),u=typeof l,w=typeof d;u!==w&&(u==="number"&&(l+=""),w==="number"&&(d+=""));let y=0;return l!=null&&d!=null?l>d?y=1:l{let i=Object.keys(r).reduce((a,s)=>a+r[s]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return i.indexOf(o)!=-1},this._data=new W(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?Fe(this._sort.sortChange,this._sort.initialized):Q(null),r=this._paginator?Fe(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Q(null),t=this._data,i=ce([t,this._filter]).pipe(ae(([s])=>this._filterData(s))),o=ce([i,e]).pipe(ae(([s])=>this._orderData(s))),a=ce([o,r]).pipe(ae(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let r=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(r,r+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=e,r.pageIndex>0)){let t=Math.ceil(r.length/r.pageSize)-1||0,i=Math.min(r.pageIndex,t);i!==r.pageIndex&&(r.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Te=new $("DRAWER_DATA");var V=function(n){return n.OPEN="open",n.DISMISS="dismiss",n.SAVE="save",n.CLOSE="close",n}(V||{});var At=n=>{let e={};return n&&Jt(e,n,"width"),e},Jt=(n,e,r)=>{let t=ei(e);t==="px"||t==="rem"||t==="em"?n[`${r}.${t}`]=parseFloat(e):n[r]=e},ei=n=>{let r=(typeof n=="string"?n:"").match(/(px|rem|em|vw|vh|%)$/);return r?r[0]:"px"};var Nt=(()=>{let e=class e{transform(t){return At(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=Xe({name:"drawerSizeStyles",type:e,pure:!0,standalone:!0});let n=e;return n})();var z=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new U}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var ii=["*"];function ni(n,e){n&1&&g(0)}function oi(n,e){if(n&1){let r=we();f(0,"div",7)(1,"div",8),X(2),p(),f(3,"div",9)(4,"button",10),ne("click",function(){me(r);let i=k();return pe(i.onDismiss())}),tt(5,"mat-icon",11),p()()()}if(n&2){let r=k();_(2),it(r.data.title)}}function ri(n,e){n&1&&g(0)}function si(n,e){if(n&1){let r=we();f(0,"button",15),ne("click",function(){me(r);let i=k(2);return pe(i.onClose())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isDismissDisabled),_(),oe(" ",r.data.closeButtonLabel," ")}}function ai(n,e){if(n&1){let r=we();f(0,"button",16),ne("click",function(){me(r);let i=k(2);return pe(i.onSave())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isSaveDisabled),_(),oe(" ",r.data.saveButtonLabel," ")}}function ci(n,e){if(n&1&&(f(0,"div",12),P(1,si,2,2,"button",13)(2,ai,2,2,"button",14),p()),n&2){let r=k();_(),M(r.data.showCloseButton?1:-1),_(),M(r.data.showSaveButton?2:-1)}}var A,jt=(A=class{constructor(e,r){this.drawerRef=e,this.data=r,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.actionEvent=new ge,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(V.CLOSE),this.drawerRef.close({status:V.CLOSE})}onSave(){this.actionEvent.emit(V.SAVE)}onDismiss(){this.actionEvent.emit(V.DISMISS),this.drawerRef.close({status:V.DISMISS})}closeDrawerOnBackdropClick(){this.data.closeDialogOnBackdropClick&&this.drawerRef.backdropClick().pipe(ut(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closeDialogOnEscKeyUp&&this.onDismiss()}},A.\u0275fac=function(r){return new(r||A)(c(z),c(Te))},A.\u0275cmp=b({type:A,selectors:[["ms-drawer"]],hostBindings:function(r,t){r&1&&ne("keyup.esc",function(){return t.onEscKeyDown()},!1,Je)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[x],ngContentSelectors:ii,decls:12,vars:5,consts:[["defaultDrawerHeader",""],["defaultDrawerActions",""],[1,"drawer-wrapper",3,"ngStyle"],[1,"drawer-header"],[4,"ngTemplateOutlet"],[1,"drawer-content"],[1,"drawer-actions"],[1,"drawer-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(r,t){if(r&1&&(Y(),f(0,"div",2),nt(1,"drawerSizeStyles"),f(2,"div",3),P(3,ni,1,0,"ng-container",4)(4,oi,6,1,"ng-template",null,0,Ae),p(),f(6,"div",5),S(7),p(),f(8,"div",6),P(9,ri,1,0,"ng-container",4)(10,ci,3,2,"ng-template",null,1,Ae),p()()),r&2){let i=Oe(5),o=Oe(11);Z("ngStyle",ot(1,3,t.data.width)),_(3),Z("ngTemplateOutlet",t.headerTemplate||i),_(6),Z("ngTemplateOutlet",t.actionsTemplate||o)}},dependencies:[lt,ct,at,yt,pt,gt,_t,wt,Nt],styles:[".drawer-wrapper[_ngcontent-%COMP%]{width:inherit;height:100vh;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header[_ngcontent-%COMP%]{min-height:90px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:20px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),A);jt=Ze([dt()],jt);var Pt="768px";var Wn=(()=>{let e=class e{constructor(t,i){this.overlay=t,this.injector=i}open(t,i){let o=this.overlay.position().global().right(),a=this.overlay.create(Ie({positionStrategy:o,hasBackdrop:!0,backdropClass:"drawer-backdrop",height:"100vh"},i)),s=new z(a),l=q.create({parent:this.injector,providers:[{provide:z,useValue:s},{provide:Te,useValue:Ie({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,closeDialogOnBackdropClick:!0,closeDialogOnEscKeyUp:!0,width:i?.width||Pt},i)}]}),d=new Dt(t,null,l);return a.attach(d),s}};e.\u0275fac=function(i){return new(i||e)(te(kt),te(q))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();export{Gi as a,Ji as b,en as c,tn as d,nn as e,on as f,rn as g,sn as h,an as i,cn as j,ln as k,Ot as l,Te as m,V as n,z as o,jt as p,Wn as q}; +import{a as dt,b as ut}from"./chunk-KP473PLS.js";import{b as Dt,g as Ct,h as _e,i as vt,j as re,k as De,o as Rt,q as bt,s as kt}from"./chunk-I333ACNB.js";import{$,$a as f,Ab as C,Ba as Je,Bb as x,C as Fe,Da as _,Ea as c,Ed as mt,Fa as E,Fb as nt,Gb as ot,Ib as Ae,Id as Ne,Ja as ie,La as et,Lb as rt,Ma as K,Mb as G,Na as m,Nb as O,Oa as L,Pa as P,Qb as st,Ra as Z,S as le,Ta as ye,Vb as at,Wb as ct,Xa as M,Z as de,_ as ue,_b as lt,a as Ie,ab as p,ba as te,bb as tt,ca as B,eb as g,fb as we,fd as ht,ga as b,ha as he,ia as h,ib as ne,j as U,ja as Xe,jd as ft,k as W,kb as k,lb as Y,mb as S,na as fe,oa as me,ob as T,p as Ze,pa as pe,qb as I,rb as F,s as Q,sa as v,sb as Oe,se as pt,ta as Ge,tb as X,u as Ye,ua as q,ub as it,ue as gt,vb as oe,ve as yt,w as ae,wa as j,x as ce,xa as ge,xe as wt,ye as _t}from"./chunk-MVLCGSW5.js";var zt=[[["caption"]],[["colgroup"],["col"]],"*"],Ut=["caption","colgroup, col","*"];function Wt(n,e){n&1&&S(0,2)}function Qt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",0),g(3,2)(4,3),p(),f(5,"tfoot",0),g(6,4),p())}function $t(n,e){n&1&&g(0,1)(1,2)(2,3)(3,4)}var R=new $("CDK_TABLE");var xe=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let n=e;return n})(),Ee=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let n=e;return n})(),Et=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let n=e;return n})(),J=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(i){return new(i||e)(c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,xe,5),T(a,Ee,5),T(a,Et,5)),i&2){let s;I(s=F())&&(o.cell=s.first),I(s=F())&&(o.headerCell=s.first),I(s=F())&&(o.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[C([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),L]});let n=e;return n})(),ve=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},Mt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[m]});let n=e;return n})();var Tt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i);let o=t._table?._getCellRole();o&&i.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[m]});let n=e;return n})(),Re=class{constructor(){this.tasks=[],this.endTasks=[]}},be=new $("_COALESCED_STYLE_SCHEDULER"),Pe=(()=>{let e=class e{constructor(t){this._currentSchedule=null,this._ngZone=B(ie)}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Re,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Re;for(let i of t.tasks)i();for(let i of t.endTasks)i()}this._currentSchedule=null})))}};e.\u0275fac=function(i){return new(i||e)(te(ie))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();var Be=(()=>{let e=class e{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){let i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof se?t.headerCell.template:this instanceof Le?t.footerCell.template:t.cell.template}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G))},e.\u0275dir=h({type:e,features:[fe]});let n=e;return n})(),se=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Le=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Me=(()=>{let e=class e extends Be{constructor(t,i,o){super(t,i),this._table=o}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[m]});let n=e;return n})(),H=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(i){return new(i||e)(c(K))},e.\u0275dir=h({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let n=e;return n})(),He=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})(),It=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let n=e;return n})(),St=["top","bottom","left","right"],je=class{constructor(e,r,t,i,o=!0,a=!0,s){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let i of e)if(i.nodeType===i.ELEMENT_NODE){t.push(i);for(let o=0;o{for(let i of t)this._removeStickyStyle(i,r)})}updateStickyColumns(e,r,t,i=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],a=o.children.length,s=this._getCellWidths(o,i),l=this._getStickyStartColumnPositions(s,r),d=this._getStickyEndColumnPositions(s,t),u=r.lastIndexOf(!0),w=t.indexOf(!0),y=this.direction==="rtl",N=y?"right":"left",qe=y?"left":"right";for(let ee of e)for(let D=0;Dr[D]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:s.slice(w).map((ee,D)=>t[D+w]?ee:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let i=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,a=[],s=[],l=[];for(let u=0,w=0;u{let t=e.querySelector("tfoot");t&&(r.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let i of r)e.style[i]="",e.classList.remove(this._borderCellCss[i]);St.some(i=>r.indexOf(i)===-1&&e.style[i])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let i of St)e.style[i]&&(t+=r[i]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=i,i+=e[o]);return t}};var ke=new $("CDK_SPL");var ze=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let n=e;return n})(),Ue=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let n=e;return n})(),We=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let n=e;return n})(),Qe=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let n=e;return n})();var $e=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),i=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&i==="cell"?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,i,o,a,s,l,d,u,w,y,N,qe){this._differs=t,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=d,this._viewRepeater=u,this._coalescedStyleScheduler=w,this._viewportRuler=y,this._stickyPositioningListener=N,this._onDestroy=new U,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new ge,this.viewChange=new W({start:0,end:Number.MAX_VALUE}),this._injector=B(q),a||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!d.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(le(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),_e(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(o,a,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===vt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let a=i.get(o.currentIndex);a.context.$implicit=o.item.data}),this._updateNoDataRow(),et(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let i=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let i=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((a,s)=>{this._addStickyColumnStyles([a],this._headerRowDefs[s])}),this._rowDefs.forEach(a=>{let s=[];for(let l=0;l{this._addStickyColumnStyles([a],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(s)?o.get(s):[];if(l.length){let d=l.shift();return d.dataIndex=i,d}else return{data:t,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ce(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Ce(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ce(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ce(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,l)=>s||!!l.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(t,!1);return a&&this._forceRenderFooterRows(),i||o||a}_switchDataSource(t){this._data=[],_e(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;_e(this.dataSource)?t=this.dataSource.connect(this):Ye(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Q(this.dataSource)),this._renderChangeSubscription=t.pipe(le(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){let o=Array.from(i.columns||[]).map(l=>{let d=this._columnDefsByName.get(l);return d}),a=o.map(l=>l.sticky),s=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,a,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let i=[];for(let o=0;o!a.when||a.when(i,t));else{let a=this._rowDefs.find(s=>s.when&&s.when(i,t))||this._defaultRowDef;a&&o.push(a)}return o.length,o}_getEmbeddedViewArgs(t,i){let o=t.rowDef,a={$implicit:t.data};return{templateRef:o.template,context:a,index:i}}_renderRow(t,i,o,a={}){let s=t.viewContainer.createEmbeddedView(i.template,a,o);return this._renderCellTemplateForItem(i,a),s}_renderCellTemplateForItem(t,i){for(let o of this._getCellTemplates(t))H.mostRecentCellOutlet&&H.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let i=0,o=t.length;i{let o=this._columnDefsByName.get(i);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new je(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Q()).pipe(le(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(i){let a=o.createEmbeddedView(t.templateRef),s=a.rootNodes[0];a.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(i){return new(i||e)(c(G),c(rt),c(j),Ge("role"),c(mt,8),c(st),c(ft),c(re),c(be),c(Rt),c(ke,12),c(ie,8))},e.\u0275cmp=b({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,It,5),T(a,J,5),T(a,Me,5),T(a,se,5),T(a,Le,5)),i&2){let s;I(s=F())&&(o._noDataRow=s.first),I(s=F())&&(o._contentColumnDefs=s),I(s=F())&&(o._contentRowDefs=s),I(s=F())&&(o._contentHeaderRowDefs=s),I(s=F())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[C([{provide:R,useExisting:e},{provide:re,useClass:De},{provide:be,useClass:Pe},{provide:ke,useValue:null}]),L,x],ngContentSelectors:Ut,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(zt),S(0),S(1,1),P(2,Wt,1,0)(3,Qt,7,0)(4,$t,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let n=e;return n})();function Ce(n,e){return n.concat(Array.from(e))}function xt(n,e){let r=e.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===r)return t;if(i==="TABLE")break;t=t.parentNode}return null}var Ft=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[bt]});let n=e;return n})();var qt=[[["caption"]],[["colgroup"],["col"]],"*"],Kt=["caption","colgroup, col","*"];function Zt(n,e){n&1&&S(0,2)}function Yt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",2),g(3,3)(4,4),p(),f(5,"tfoot",0),g(6,5),p())}function Xt(n,e){n&1&&g(0,1)(1,3)(2,4)(3,5)}var Gi=(()=>{let e=class e extends $e{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[C([{provide:$e,useExisting:e},{provide:R,useExisting:e},{provide:be,useClass:Pe},{provide:re,useClass:De},{provide:ke,useValue:null}]),m,x],ngContentSelectors:Kt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(qt),S(0),S(1,1),P(2,Zt,1,0)(3,Yt,7,0)(4,Xt,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let n=e;return n})(),Ji=(()=>{let e=class e extends xe{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[C([{provide:xe,useExisting:e}]),m]});let n=e;return n})(),en=(()=>{let e=class e extends Ee{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[C([{provide:Ee,useExisting:e}]),m]});let n=e;return n})();var tn=(()=>{let e=class e extends J{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[C([{provide:J,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),m]});let n=e;return n})(),nn=(()=>{let e=class e extends Mt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[m]});let n=e;return n})();var on=(()=>{let e=class e extends Tt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[m]});let n=e;return n})();var rn=(()=>{let e=class e extends se{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[C([{provide:se,useExisting:e}]),L,m]});let n=e;return n})();var sn=(()=>{let e=class e extends Me{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[C([{provide:Me,useExisting:e}]),m]});let n=e;return n})(),an=(()=>{let e=class e extends He{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[C([{provide:He,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var cn=(()=>{let e=class e extends Ve{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[C([{provide:Ve,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var ln=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[Ne,Ft,Ne]});let n=e;return n})(),Gt=9007199254740991,Ot=class extends Ct{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new W([]),this._filter=new W(""),this._internalPageChanges=new U,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,t)=>{let i=r[t];if(ht(i)){let o=Number(i);return o{let i=t.active,o=t.direction;return!i||o==""?r:r.sort((a,s)=>{let l=this.sortingDataAccessor(a,i),d=this.sortingDataAccessor(s,i),u=typeof l,w=typeof d;u!==w&&(u==="number"&&(l+=""),w==="number"&&(d+=""));let y=0;return l!=null&&d!=null?l>d?y=1:l{let i=Object.keys(r).reduce((a,s)=>a+r[s]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return i.indexOf(o)!=-1},this._data=new W(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?Fe(this._sort.sortChange,this._sort.initialized):Q(null),r=this._paginator?Fe(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Q(null),t=this._data,i=ce([t,this._filter]).pipe(ae(([s])=>this._filterData(s))),o=ce([i,e]).pipe(ae(([s])=>this._orderData(s))),a=ce([o,r]).pipe(ae(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let r=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(r,r+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=e,r.pageIndex>0)){let t=Math.ceil(r.length/r.pageSize)-1||0,i=Math.min(r.pageIndex,t);i!==r.pageIndex&&(r.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Te=new $("DRAWER_DATA");var V=function(n){return n.OPEN="open",n.DISMISS="dismiss",n.SAVE="save",n.CLOSE="close",n}(V||{});var At=n=>{let e={};return n&&Jt(e,n,"width"),e},Jt=(n,e,r)=>{let t=ei(e);t==="px"||t==="rem"||t==="em"?n[`${r}.${t}`]=parseFloat(e):n[r]=e},ei=n=>{let r=(typeof n=="string"?n:"").match(/(px|rem|em|vw|vh|%)$/);return r?r[0]:"px"};var Nt=(()=>{let e=class e{transform(t){return At(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=Xe({name:"drawerSizeStyles",type:e,pure:!0,standalone:!0});let n=e;return n})();var z=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new U}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var ii=["*"];function ni(n,e){n&1&&g(0)}function oi(n,e){if(n&1){let r=we();f(0,"div",7)(1,"div",8),X(2),p(),f(3,"div",9)(4,"button",10),ne("click",function(){me(r);let i=k();return pe(i.onDismiss())}),tt(5,"mat-icon",11),p()()()}if(n&2){let r=k();_(2),it(r.data.title)}}function ri(n,e){n&1&&g(0)}function si(n,e){if(n&1){let r=we();f(0,"button",15),ne("click",function(){me(r);let i=k(2);return pe(i.onClose())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isDismissDisabled),_(),oe(" ",r.data.closeButtonLabel," ")}}function ai(n,e){if(n&1){let r=we();f(0,"button",16),ne("click",function(){me(r);let i=k(2);return pe(i.onSave())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isSaveDisabled),_(),oe(" ",r.data.saveButtonLabel," ")}}function ci(n,e){if(n&1&&(f(0,"div",12),P(1,si,2,2,"button",13)(2,ai,2,2,"button",14),p()),n&2){let r=k();_(),M(r.data.showCloseButton?1:-1),_(),M(r.data.showSaveButton?2:-1)}}var A,jt=(A=class{constructor(e,r){this.drawerRef=e,this.data=r,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.actionEvent=new ge,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(V.CLOSE),this.drawerRef.close({status:V.CLOSE})}onSave(){this.actionEvent.emit(V.SAVE)}onDismiss(){this.actionEvent.emit(V.DISMISS),this.drawerRef.close({status:V.DISMISS})}closeDrawerOnBackdropClick(){this.data.closeDialogOnBackdropClick&&this.drawerRef.backdropClick().pipe(ut(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closeDialogOnEscKeyUp&&this.onDismiss()}},A.\u0275fac=function(r){return new(r||A)(c(z),c(Te))},A.\u0275cmp=b({type:A,selectors:[["ms-drawer"]],hostBindings:function(r,t){r&1&&ne("keyup.esc",function(){return t.onEscKeyDown()},!1,Je)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[x],ngContentSelectors:ii,decls:12,vars:5,consts:[["defaultDrawerHeader",""],["defaultDrawerActions",""],[1,"drawer-wrapper",3,"ngStyle"],[1,"drawer-header"],[4,"ngTemplateOutlet"],[1,"drawer-content"],[1,"drawer-actions"],[1,"drawer-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(r,t){if(r&1&&(Y(),f(0,"div",2),nt(1,"drawerSizeStyles"),f(2,"div",3),P(3,ni,1,0,"ng-container",4)(4,oi,6,1,"ng-template",null,0,Ae),p(),f(6,"div",5),S(7),p(),f(8,"div",6),P(9,ri,1,0,"ng-container",4)(10,ci,3,2,"ng-template",null,1,Ae),p()()),r&2){let i=Oe(5),o=Oe(11);Z("ngStyle",ot(1,3,t.data.width)),_(3),Z("ngTemplateOutlet",t.headerTemplate||i),_(6),Z("ngTemplateOutlet",t.actionsTemplate||o)}},dependencies:[lt,ct,at,yt,pt,gt,_t,wt,Nt],styles:[".drawer-wrapper[_ngcontent-%COMP%]{width:inherit;height:100vh;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header[_ngcontent-%COMP%]{min-height:90px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:20px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),A);jt=Ze([dt()],jt);var Pt="768px";var Wn=(()=>{let e=class e{constructor(t,i){this.overlay=t,this.injector=i}open(t,i){let o=this.overlay.position().global().right(),a=this.overlay.create(Ie({positionStrategy:o,hasBackdrop:!0,backdropClass:"drawer-backdrop",height:"100vh"},i)),s=new z(a),l=q.create({parent:this.injector,providers:[{provide:z,useValue:s},{provide:Te,useValue:Ie({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,closeDialogOnBackdropClick:!0,closeDialogOnEscKeyUp:!0,width:i?.width||Pt},i)}]}),d=new Dt(t,null,l);return a.attach(d),s}};e.\u0275fac=function(i){return new(i||e)(te(kt),te(q))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();export{Gi as a,Ji as b,en as c,tn as d,nn as e,on as f,rn as g,sn as h,an as i,cn as j,ln as k,Ot as l,Te as m,V as n,z as o,jt as p,Wn as q}; diff --git a/frontend/server/modelsmith-build/browser/chunk-WCP5O7G5.js b/frontend/server/modelsmith-build/browser/chunk-WCP5O7G5.js deleted file mode 100644 index d76bd587..00000000 --- a/frontend/server/modelsmith-build/browser/chunk-WCP5O7G5.js +++ /dev/null @@ -1 +0,0 @@ -import{a as nt,b as at,c as mt}from"./chunk-5CBUBWK4.js";import{a as rt}from"./chunk-QYJ4C4QM.js";import{a as de}from"./chunk-4LBYIHBY.js";import{b as Xe,c as Je,e as it,f as ot,g as O}from"./chunk-UJJEBS4W.js";import{b as Ze}from"./chunk-NGJ5CWHR.js";import"./chunk-D7DPXC3A.js";import"./chunk-R5LGWJKV.js";import{a as se,b as pe}from"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import{a as Ve,b as je}from"./chunk-FELGKJRN.js";import{a as ce}from"./chunk-WSCYSYQI.js";import{a as U,b as le}from"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import{a as K}from"./chunk-CRYH3KM4.js";import{b as E,c as p,j as g,k as We}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import{b as Ye,c as G,d as qe}from"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as me,b as D,c as et,k as tt}from"./chunk-MCE6M2DX.js";import{a as A,b as d}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import{h as oe,i as re}from"./chunk-BTHDGCD5.js";import{$a as m,$d as h,Ab as Re,D as P,Da as n,Ea as s,Eb as I,Fb as b,Gb as we,H as ge,I as Ne,K as Ce,P as Q,Pa as C,Q as Fe,Qd as Ke,Ra as c,Rd as W,Wb as ke,Xa as M,Xb as Le,Ya as Ae,Yb as De,Za as x,Zb as q,_ as z,_a as R,_d as X,a as Te,ab as r,ad as Ue,b as Se,bb as u,be as J,ca as H,cb as Pe,ce as k,db as be,de as L,fb as Ee,fe as $,ga as F,ha as Z,ib as _e,ie as $e,je as Be,kb as w,ke as ee,me as te,na as Ie,oa as Me,p as S,pa as ye,pb as Ge,pc as ve,pe as Qe,qb as Oe,qe as ie,rb as xe,re as ze,tb as l,ue as He,vb as f,w as N,we as ne,xe as ae,zb as Y}from"./chunk-MDAOMI2L.js";var Ct=(i,e)=>e.name;function Mt(i,e){i&1&&u(0,"mat-icon",10)}function yt(i,e){if(i&1&&(m(0,"mat-option",8),l(1),C(2,Mt,1,0,"mat-icon",10),r()),i&2){let t=e.$implicit;c("value",t.name),n(),f(" ",t.name," "),n(),M(t.isTrained?-1:2)}}function _t(i,e){i&1&&(m(0,"mat-option",9),l(1,"No results found"),r())}function vt(i,e){if(i&1&&(x(0,yt,3,3,"mat-option",8,Ct),C(2,_t,2,0,"mat-option",9)),i&2){let t=e;R(t),n(2),M(t.length===0?2:-1)}}var y,V=(y=class{ngOnChanges(e){e.algorithmType&&e.algorithmType.currentValue&&this.configureModels(e.algorithmType.currentValue)}get parentFormGroup(){return this.controlContainer.control}get modelFormGroup(){return this.parentFormGroup.get(this.controlKey)}get modelControl(){return this.modelFormGroup?.get(this.MODEL_CONTROL_NAME)}constructor(e,t,o,a){this.controlContainer=e,this.modelsFacadeService=t,this.scriptFacadeService=o,this.pageRunningScriptSpiningIndicatorService=a,this.controlKey="",this.PageKey=Xe,this.RoutesList=Ue,this.searchModel=new $,this.models=[],this.MODEL_CONTROL_NAME="model"}ngOnInit(){this.initializeForm(),this.listenToScriptStateChanges(),this.listenToSearchModelValueChanges(),this.configureModels(this.algorithmType)}configureModels(e){if(e)switch(this.getModelsByTypeSubscription?.unsubscribe(),this.getModelsByTypeSubscription=this.subscribeToModelsListChanges(e),this.modelsFacadeService.dispatch(O.getModelsList({algorithmType:e})),e){case p.PRUNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.PRUNING_TRAIN}));break}case p.QUANTIZATION:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.QUANTIZATION_TRAIN}));break}case p.MACHINE_UNLEARNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.MACHINE_UNLEARNING_TRAIN}));break}}}listenToCurrentModelChanges(){this.modelsFacadeService.currentModel$.pipe(d(this)).subscribe(e=>{if(G(e))return;this.models.find(o=>o.name===e)&&this.modelControl?.patchValue(e)})}subscribeToModelsListChanges(e){let t=!1;return this.modelsFacadeService.getModelsByType(e).pipe(P(o=>!qe(o)),N(o=>[...o].sort((a,j)=>Number(j.isTrained)-Number(a.isTrained)))).subscribe(o=>{this.models=o,this.searchModel.setValue(""),t||(this.listenToCurrentModelChanges(),t=!0)})}initializeForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.MODEL_CONTROL_NAME]:new $("",X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.modelFormGroup.disable():this.modelFormGroup.enable()})}listenToSearchModelValueChanges(){this.filteredModels=this.searchModel.valueChanges.pipe(d(this),Fe(""),N(e=>this.filterModels(e)))}filterModels(e){let t=e.toLowerCase();return this.models.filter(o=>o.name.toLowerCase().includes(t))}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},y.\u0275fac=function(t){return new(t||y)(s(h),s(K),s(D),s(Je))},y.\u0275cmp=F({type:y,selectors:[["ms-panel-model-training"]],inputs:{controlKey:"controlKey",algorithmType:"algorithmType"},standalone:!0,features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}]),Ie,Re],decls:12,vars:5,consts:[[1,"ms-card","model-card"],[1,"panel-title-wrapper"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","model","placeholder","Select a model..."],[3,"formControl"],["label","Predefined Models"],[3,"value"],["disabled",""],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"div",1)(2,"div",2),l(3,"Model"),r()(),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5)(7,"mat-option"),u(8,"ngx-mat-select-search",6),r(),m(9,"mat-optgroup",7),C(10,vt,3,1),I(11,"async"),r()()()()()),t&2){let a;n(4),c("formGroupName",o.controlKey),n(4),c("formControl",o.searchModel),n(2),M((a=b(11,3,o.filteredModels))?10:-1,a)}},dependencies:[ie,J,k,$e,te,ee,le,U,re,oe,pe,se,W,Ke,ae,ne,q,ke,ot,it,Ze],styles:[".panel-title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:12px}.panel-title-wrapper[_ngcontent-%COMP%] .train-models[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]}),y);V=S([A()],V);var Nt=(i,e)=>e.key;function Ft(i,e){if(i&1&&(m(0,"mat-option",6),l(1),r()),i&2){let t=e.$implicit;c("value",t.key),n(),f(" ",t.value," ")}}var _,ue=(_=class{get parentFormGroup(){return this.controlContainer.control}get algorithmTypeFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmTypeFormControl(){return this.algorithmTypeFormGroup.get(this.ALGORITHM_TYPE_CONTROL_NAME)}constructor(e,t){this.controlContainer=e,this.scriptFacadeService=t,this.controlKey="",this.algorithmTypesOptions=[{key:p.QUANTIZATION,value:"Quantization"},{key:p.PRUNING,value:"Pruning"},{key:p.MACHINE_UNLEARNING,value:"Machine Unlearning"}],this.ALGORITHM_TYPE_CONTROL_NAME="algorithmType"}ngOnInit(){this.initForm(),this.loadInitialData(),this.listenToScriptStateChanges()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(Q(1),Ne(1),P(e=>!G(e?.algKey)),N(e=>e.algKey)).subscribe(e=>{switch(e){case g.PRUNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.PRUNING);break}case g.MACHINE_UNLEARNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.MACHINE_UNLEARNING);break}case g.QUANTIZATION_TRAIN:{this.algorithmTypeFormControl.patchValue(p.QUANTIZATION);break}default:this.algorithmTypeFormControl.patchValue(p.PRUNING)}}),this.scriptFacadeService.dispatch(me.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.ALGORITHM_TYPE_CONTROL_NAME]:new $(p.PRUNING,X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.algorithmTypeFormGroup.disable():this.algorithmTypeFormGroup.enable()})}},_.\u0275fac=function(t){return new(t||_)(s(h),s(D))},_.\u0275cmp=F({type:_,selectors:[["ms-panel-algorithm-type-for-training"]],inputs:{controlKey:"controlKey"},features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}])],decls:9,vars:2,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[3,"formGroupName"],[1,"form-field-container"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],[3,"value"]],template:function(t,o){t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Algorithm Type"),r(),Pe(3,2),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5),x(7,Ft,2,2,"mat-option",6,Nt),r()()(),be(),r()),t&2&&(n(3),c("formGroupName",o.controlKey),n(3),c("formControlName",o.ALGORITHM_TYPE_CONTROL_NAME),n(),R(o.algorithmTypesOptions))},dependencies:[U,oe,se,W,J,k,te,ee]}),_);ue=S([A()],ue);function At(i,e){if(i&1&&(l(0),I(1,"adaptiveFileSize")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Pt(i,e){if(i&1&&(l(0),I(1,"date")),i&2){let t=w().$implicit;f(" ",we(1,1,t.value,"medium")," ")}}function bt(i,e){if(i&1&&(l(0),I(1,"readableDuration")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Et(i,e){if(i&1&&l(0),i&2){let t=w().$implicit;f(" ",t.value," ")}}function Gt(i,e){i&1&&(m(0,"div",8),u(1,"mat-divider"),r())}function Ot(i,e){if(i&1&&(m(0,"div")(1,"div",5)(2,"div",6),l(3),I(4,"parametersLabel"),r(),m(5,"div",7),C(6,At,2,3)(7,Pt,2,4)(8,bt,2,3)(9,Et,1,1),r()(),C(10,Gt,2,0,"div",8),r()),i&2){let t,o=e.$implicit,a=e.$index,j=e.$count;n(3),f("",b(4,3,o.key),":"),n(3),M((t=o.key)==="file_size_bytes"?6:t==="creation_date"?7:t==="training_duration_seconds"?8:9),n(4),M(a!==j-1?10:-1)}}function xt(i,e){if(i&1&&(m(0,"div",3),x(1,Ot,11,5,"div",null,Ae),r()),i&2){let t=w();n(),R(t)}}function Rt(i,e){i&1&&u(0,"ms-empty-state",4)}function wt(i,e){i&1&&(m(0,"div",2),C(1,xt,3,0,"div",3)(2,Rt,1,0,"ms-empty-state",4),r()),i&2&&(n(),M(e.length>0?1:2))}var v,fe=(v=class{constructor(e){this.modelsFacadeService=e,this.metadata={}}ngOnInit(){this.modelsFacadeService.modelMetadata$.pipe(Q(1),d(this)).subscribe(e=>{this.metadata=e})}},v.\u0275fac=function(t){return new(t||v)(s(K))},v.\u0275cmp=F({type:v,selectors:[["ms-panel-model-metadata"]],decls:5,vars:3,consts:[[1,"ms-card","metadata-card"],[1,"heading-sub-section-title"],[1,"metadata-wrapper"],[1,"key-value-container","single"],["title","No metadata available"],[1,"key-value-pair","space-between"],[1,"key-value-key"],[1,"key-value-value"],[1,"pt-2"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Model Training Information"),r(),C(3,wt,3,1,"div",2),I(4,"keyvalue"),r()),t&2){let a;n(3),M((a=b(4,1,o.metadata))?3:-1,a)}},dependencies:[rt,U,Ve,Le,De,nt,mt,at],styles:[".metadata-wrapper[_ngcontent-%COMP%]{max-height:300px;overflow:auto;padding-right:20px}"]}),v);fe=S([A()],fe);var Lt=["panelParameters"],T,he=(T=class{constructor(e,t,o,a){this.navigationService=e,this.scriptFacadeService=t,this.snackbarService=o,this.modelsFacadeService=a,this.form=new L({}),this.isScriptActive=!1,this.selectedAlgorithmType=p.PRUNING,this.selectedAlgorithmKey=g.PRUNING_TRAIN}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges(),this.listenToFormChangesToLoadModelMetadata()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(ge(50),N(()=>{let e=this.form.getRawValue();return e.algorithmTypeGroup&&e.algorithmTypeGroup.algorithmType}),Ce(),P(e=>!!e),d(this)).subscribe(e=>{this.selectedAlgorithmType=e,this.selectedAlgorithmKey=We[e]})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{this.isScriptActive=E(e),E(e)?this.form.disable():this.form.enable()})}listenToFormChangesToLoadModelMetadata(){this.form.valueChanges.pipe(ge(50),N(e=>{let t=e.algorithmTypeGroup?.algorithmType,o=e.model?.model;return{algorithmType:t,model:o}}),Ce((e,t)=>JSON.stringify(e)===JSON.stringify(t)),P(({algorithmType:e,model:t})=>!G(e)&&!G(t)),d(this)).subscribe(({algorithmType:e,model:t})=>{this.modelsFacadeService.dispatch(O.getModelMetadata({algorithmType:e,modelName:t}))})}submit(){if(Ye(this.selectedAlgorithmType)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{model:e}=this.form.getRawValue(),{model:t}=e,o={alg:this.selectedAlgorithmKey,params:Se(Te({},this.panelParametersComponent.parametersFormatted),{arch:t})};this.scriptFacadeService.dispatch(me.callScript({configs:o}))}},T.\u0275fac=function(t){return new(t||T)(s(tt),s(D),s(et),s(K))},T.\u0275cmp=F({type:T,selectors:[["ms-model-training"]],viewQuery:function(t,o){if(t&1&&Ge(Lt,5),t&2){let a;Oe(a=xe())&&(o.panelParametersComponent=a.first)}},decls:17,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper"],[1,"left",3,"formGroup"],["controlKey","algorithmTypeGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"ml-2",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],[1,"right"]],template:function(t,o){if(t&1){let a=Ee();m(0,"p",1),l(1,"Model Training"),r(),m(2,"div",2)(3,"div",3),u(4,"ms-panel-algorithm-type-for-training",4)(5,"ms-panel-model-training",5)(6,"ms-panel-model-metadata")(7,"ms-panel-parameters",6,0),m(9,"div")(10,"button",7),_e("click",function(){return Me(a),ye(o.submit())}),l(11," Run "),r(),m(12,"button",8),_e("click",function(){return Me(a),ye(o.navigationService.goToPreviousPage())}),u(13,"mat-icon",9),l(14," Go back "),r()()(),m(15,"div",10),u(16,"ms-terminal-xterm-with-toolbar"),r()()}t&2&&(n(3),c("formGroup",o.form),n(2),c("algorithmType",o.selectedAlgorithmType),n(2),c("algorithm",o.selectedAlgorithmKey),n(3),c("disabled",o.isScriptActive||o.form.invalid))},dependencies:[ce,V,de,k,Be,ne,ze,ue,fe],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),T);he=S([A()],he);var Dt=[{path:"",component:he}],ct=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ve.forChild(Dt),ve]});let i=e;return i})();var yo=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[q,ct,ce,V,de,le,je,pe,re,Qe,ie,ae,He]});let i=e;return i})();export{yo as ModelTrainingModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-Q2OLQC4D.js b/frontend/server/modelsmith-build/browser/chunk-WFESMHCU.js similarity index 70% rename from frontend/server/modelsmith-build/browser/chunk-Q2OLQC4D.js rename to frontend/server/modelsmith-build/browser/chunk-WFESMHCU.js index 6f0c724e..484ea60f 100644 --- a/frontend/server/modelsmith-build/browser/chunk-Q2OLQC4D.js +++ b/frontend/server/modelsmith-build/browser/chunk-WFESMHCU.js @@ -1 +1 @@ -import{a as u}from"./chunk-4LBYIHBY.js";import"./chunk-D7DPXC3A.js";import"./chunk-R5LGWJKV.js";import"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import{a as f}from"./chunk-WSCYSYQI.js";import"./chunk-FODXYRF6.js";import"./chunk-JBGOI3PV.js";import"./chunk-CRYH3KM4.js";import{b as S,c as X,e as y}from"./chunk-C4NPICWQ.js";import"./chunk-Z6QRPUWD.js";import"./chunk-I7VABAG6.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import"./chunk-UWC6A2K5.js";import{a as x,b as q}from"./chunk-MCE6M2DX.js";import{a as G,b as L}from"./chunk-O6HMI7CW.js";import"./chunk-WXERLI5K.js";import"./chunk-BTHDGCD5.js";import{$a as s,Da as n,Ea as g,Ra as a,Zb as D,_ as p,a as h,ab as c,b,bb as v,cb as E,ce as U,db as P,fb as I,ga as w,ha as l,ib as N,je as V,oa as T,oe as _,p as F,pa as A,pb as O,pc as C,pe as Q,qb as R,qe as W,rb as j,re as k,tb as M,ue as B}from"./chunk-MDAOMI2L.js";var $=["panelParameters"],r,d=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=X,this.MultiflowAlgorithmsEnum=y,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(y.MULTIFLOW_PRUNE)},0)}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(L(this)).subscribe(t=>{this.isScriptActive=S(t),S(t)?this.form.disable():this.form.enable()})}submit(){if(this.isScriptActive)return;let{algorithm:t}=this.form.getRawValue(),i=b(h({},t),{params:h({},this.panelParametersComponent.parametersFormatted)});this.scriptFacadeService.dispatch(x.callScript({configs:i}))}},r.\u0275fac=function(i){return new(i||r)(g(_),g(q))},r.\u0275cmp=w({type:r,selectors:[["ms-multi-modal"]],viewQuery:function(i,e){if(i&1&&O($,5),i&2){let o;R(o=j())&&(e.panelParametersComponent=o.first)}},decls:12,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=I();s(0,"p",1),M(1,"Multi-modal"),c(),s(2,"div",2)(3,"div",3),E(4,4),v(5,"ms-panel-parameters",5,0),P(),s(7,"div")(8,"button",6),N("click",function(){return T(o),A(e.submit())}),M(9," Run "),c()()(),s(10,"div",7),v(11,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(n(2),a("formGroup",e.form),n(2),a("formGroup",e.form),n(),a("algorithm",e.MultiflowAlgorithmsEnum.MULTIFLOW_PRUNE),n(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[u,f,U,V,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);d=F([G()],d);var z=[{path:"",component:d}],Z=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[C.forChild(z),C]});let m=t;return m})();var yt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[D,u,f,Z,Q,W,B]});let m=t;return m})();export{yt as MultiModalModule}; +import{a as u}from"./chunk-CFM5DRTM.js";import"./chunk-CKI3LALG.js";import"./chunk-GULIW6WA.js";import"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import{a as f}from"./chunk-25FQYPXL.js";import"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import"./chunk-WO6G2TMA.js";import{b as S,c as X,e as y}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as x,b as q}from"./chunk-XSOJ6DN4.js";import{a as G,b as L}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import"./chunk-LCKMIOUI.js";import{$a as s,Da as n,Ea as g,Ra as a,_ as p,_b as D,a as h,ab as c,b,bb as v,cb as E,db as P,de as U,fb as I,ga as w,ha as l,ib as N,ke as V,oa as T,p as F,pa as A,pb as O,pe as _,qb as R,qc as C,qe as Q,rb as j,re as W,se as k,tb as M,ve as B}from"./chunk-MVLCGSW5.js";var $=["panelParameters"],r,d=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=X,this.MultiflowAlgorithmsEnum=y,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(y.MULTIFLOW_PRUNE)},0)}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(L(this)).subscribe(t=>{this.isScriptActive=S(t),S(t)?this.form.disable():this.form.enable()})}submit(){if(this.isScriptActive)return;let{algorithm:t}=this.form.getRawValue(),i=b(h({},t),{params:h({},this.panelParametersComponent.parametersFormatted)});this.scriptFacadeService.dispatch(x.callScript({configs:i}))}},r.\u0275fac=function(i){return new(i||r)(g(_),g(q))},r.\u0275cmp=w({type:r,selectors:[["ms-multi-modal"]],viewQuery:function(i,e){if(i&1&&O($,5),i&2){let o;R(o=j())&&(e.panelParametersComponent=o.first)}},decls:12,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=I();s(0,"p",1),M(1,"Multi-modal"),c(),s(2,"div",2)(3,"div",3),E(4,4),v(5,"ms-panel-parameters",5,0),P(),s(7,"div")(8,"button",6),N("click",function(){return T(o),A(e.submit())}),M(9," Run "),c()()(),s(10,"div",7),v(11,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(n(2),a("formGroup",e.form),n(2),a("formGroup",e.form),n(),a("algorithm",e.MultiflowAlgorithmsEnum.MULTIFLOW_PRUNE),n(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[u,f,U,V,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);d=F([G()],d);var z=[{path:"",component:d}],Z=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[C.forChild(z),C]});let m=t;return m})();var yt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[D,u,f,Z,Q,W,B]});let m=t;return m})();export{yt as MultiModalModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-52V65YCI.js b/frontend/server/modelsmith-build/browser/chunk-WKH77ZME.js similarity index 72% rename from frontend/server/modelsmith-build/browser/chunk-52V65YCI.js rename to frontend/server/modelsmith-build/browser/chunk-WKH77ZME.js index 6bfd09a0..1a9e2e57 100644 --- a/frontend/server/modelsmith-build/browser/chunk-52V65YCI.js +++ b/frontend/server/modelsmith-build/browser/chunk-WKH77ZME.js @@ -1 +1 @@ -import{Hc as o,Ic as r}from"./chunk-MDAOMI2L.js";var i=r({source:"[Core -> Configs]",events:{"Set Default Mode":o(),"Set Current Mode":o()}});var t=function(e){return e.GUIDED="guided",e.EXPERT="expert",e}(t||{});export{i as a,t as b}; +import{Ic as o,Jc as r}from"./chunk-MVLCGSW5.js";var i=r({source:"[Core -> Configs]",events:{"Set Default Mode":o(),"Set Current Mode":o()}});var t=function(e){return e.GUIDED="guided",e.EXPERT="expert",e}(t||{});export{i as a,t as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-CRYH3KM4.js b/frontend/server/modelsmith-build/browser/chunk-WO6G2TMA.js similarity index 92% rename from frontend/server/modelsmith-build/browser/chunk-CRYH3KM4.js rename to frontend/server/modelsmith-build/browser/chunk-WO6G2TMA.js index dcfdd517..549754ea 100644 --- a/frontend/server/modelsmith-build/browser/chunk-CRYH3KM4.js +++ b/frontend/server/modelsmith-build/browser/chunk-WO6G2TMA.js @@ -1 +1 @@ -import{c as n}from"./chunk-C4NPICWQ.js";import{Ja as d,Sc as m,Tc as r,Z as c,ba as i,bd as a,k as l,l as h,ze as u}from"./chunk-MDAOMI2L.js";var f=o=>r(a,e=>{switch(o){case n.QUANTIZATION:return e.models.quantizationModels;case n.PRUNING:return e.models.pruningModels;case n.MACHINE_UNLEARNING:return e.models.machineUnlearningModels;case n.AWQ:return e.models.awqModels;default:return}}),g=r(a,o=>o.models.currentModel),S=r(a,o=>o.models.modelMetadata);var W=(()=>{let e=class e{constructor(t){this.store=t,this.currentModel$=this.store.select(g),this.modelMetadata$=this.store.select(S)}getModelsByType(t){return this.store.select(f(t))}dispatch(t){this.store.dispatch(t)}};e.\u0275fac=function(s){return new(s||e)(i(m))},e.\u0275prov=c({token:e,factory:e.\u0275fac});let o=e;return o})();var b=300,A=(()=>{let e=class e{constructor(t){this.ngZone=t,this.messageSubject=new h(b),this.connectionStatus=new l(!1),this.isConnecting=!1,this.messages$=this.messageSubject.asObservable(),this.connectionStatus$=this.connectionStatus.asObservable()}connect(){if(this.socket&&(this.socket.readyState===WebSocket.OPEN||this.socket.readyState===WebSocket.CONNECTING)){console.log("Terminal WebSocket is already connected or connecting.");return}if(this.isConnecting){console.log("Terminal WebSocket connection is already in progress.");return}this.isConnecting=!0;let t=u.terminalWebSocketUrl;this.socket=new WebSocket(t),this.socket.onmessage=s=>{let p=s.data;this.ngZone.run(()=>{this.messageSubject.next(p)})},this.socket.onopen=()=>{console.log("Terminal WebSocket connected!"),this.ngZone.run(()=>this.connectionStatus.next(!0)),this.isConnecting=!1,this.sendMessage("CLIENT_READY")},this.socket.onerror=s=>{console.error("Terminal WebSocket Error:",s),this.ngZone.run(()=>this.connectionStatus.next(!1)),this.isConnecting=!1},this.socket.onclose=()=>{console.log("Terminal WebSocket closed."),this.ngZone.run(()=>this.connectionStatus.next(!1)),this.isConnecting=!1}}sendMessage(t){this.socket&&this.socket.readyState===WebSocket.OPEN?this.socket.send(t):console.error("Terminal WebSocket is not open. Unable to send message:",t)}clearScreen(){this.sendMessage("clear\r")}closeConnection(){this.socket&&(this.socket.close(),console.log("Terminal WebSocket connection closed by client."))}reconnect(){this.closeConnection(),this.connect()}};e.\u0275fac=function(s){return new(s||e)(i(d))},e.\u0275prov=c({token:e,factory:e.\u0275fac});let o=e;return o})();export{W as a,A as b}; +import{c as n}from"./chunk-C4NPICWQ.js";import{Ae as u,Ja as d,Tc as m,Uc as r,Z as c,ba as i,cd as a,k as l,l as h}from"./chunk-MVLCGSW5.js";var f=o=>r(a,e=>{switch(o){case n.QUANTIZATION:return e.models.quantizationModels;case n.PRUNING:return e.models.pruningModels;case n.MACHINE_UNLEARNING:return e.models.machineUnlearningModels;case n.AWQ:return e.models.awqModels;default:return}}),g=r(a,o=>o.models.currentModel),S=r(a,o=>o.models.modelMetadata);var W=(()=>{let e=class e{constructor(t){this.store=t,this.currentModel$=this.store.select(g),this.modelMetadata$=this.store.select(S)}getModelsByType(t){return this.store.select(f(t))}dispatch(t){this.store.dispatch(t)}};e.\u0275fac=function(s){return new(s||e)(i(m))},e.\u0275prov=c({token:e,factory:e.\u0275fac});let o=e;return o})();var b=300,A=(()=>{let e=class e{constructor(t){this.ngZone=t,this.messageSubject=new h(b),this.connectionStatus=new l(!1),this.isConnecting=!1,this.messages$=this.messageSubject.asObservable(),this.connectionStatus$=this.connectionStatus.asObservable()}connect(){if(this.socket&&(this.socket.readyState===WebSocket.OPEN||this.socket.readyState===WebSocket.CONNECTING)){console.log("Terminal WebSocket is already connected or connecting.");return}if(this.isConnecting){console.log("Terminal WebSocket connection is already in progress.");return}this.isConnecting=!0;let t=u.terminalWebSocketUrl;this.socket=new WebSocket(t),this.socket.onmessage=s=>{let p=s.data;this.ngZone.run(()=>{this.messageSubject.next(p)})},this.socket.onopen=()=>{console.log("Terminal WebSocket connected!"),this.ngZone.run(()=>this.connectionStatus.next(!0)),this.isConnecting=!1,this.sendMessage("CLIENT_READY")},this.socket.onerror=s=>{console.error("Terminal WebSocket Error:",s),this.ngZone.run(()=>this.connectionStatus.next(!1)),this.isConnecting=!1},this.socket.onclose=()=>{console.log("Terminal WebSocket closed."),this.ngZone.run(()=>this.connectionStatus.next(!1)),this.isConnecting=!1}}sendMessage(t){this.socket&&this.socket.readyState===WebSocket.OPEN?this.socket.send(t):console.error("Terminal WebSocket is not open. Unable to send message:",t)}clearScreen(){this.sendMessage("clear\r")}closeConnection(){this.socket&&(this.socket.close(),console.log("Terminal WebSocket connection closed by client."))}reconnect(){this.closeConnection(),this.connect()}};e.\u0275fac=function(s){return new(s||e)(i(d))},e.\u0275prov=c({token:e,factory:e.\u0275fac});let o=e;return o})();export{W as a,A as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-WT33ER4G.js b/frontend/server/modelsmith-build/browser/chunk-WT33ER4G.js new file mode 100644 index 00000000..eb7f6c00 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-WT33ER4G.js @@ -0,0 +1 @@ +import{b as Me,c as he,d as v}from"./chunk-EGGALFKU.js";import{a as oe,b as se,c as me}from"./chunk-ZQAGOALV.js";import{b as ie}from"./chunk-NBUJA3ZB.js";import{a as ce,b as ue}from"./chunk-K5EGW2EZ.js";import{a as de,b as pe}from"./chunk-XUCLYHZN.js";import{a as fe}from"./chunk-WO6G2TMA.js";import{b as ne}from"./chunk-C4NPICWQ.js";import{c as re,d as ae}from"./chunk-XX6ZYDLH.js";import{b as le}from"./chunk-XSOJ6DN4.js";import{a as A,b as h}from"./chunk-KP473PLS.js";import{h as Y,i as Z}from"./chunk-LCKMIOUI.js";import{$a as s,$d as $,Ab as x,Bb as G,D as F,Da as n,Db as V,Ea as p,Fb as C,Gb as S,Pa as m,Q as T,Ra as c,Rd as k,Sd as B,Xa as d,Xb as D,Za as N,_a as L,_b as w,ab as r,ae as f,bb as M,bd as j,ca as b,ce as z,de as q,ee as U,ga as P,ge as _,je as W,kb as I,le as X,na as O,nc as K,ne as H,p as y,qe as J,re as Q,tb as u,vb as R,w as g,xe as ee,ye as te,zb as E}from"./chunk-MVLCGSW5.js";var Se=(o,e)=>e.name,_e=o=>[o];function ve(o,e){o&1&&M(0,"ms-spining-indicator",10)}function ye(o,e){if(o&1&&(s(0,"div",3)(1,"a",9),u(2,"Train models"),r(),E(3),C(4,"async"),m(5,ve,1,0,"ms-spining-indicator",10),r()),o&2){let t=I();n(),c("routerLink",V(4,_e,"/"+t.RoutesList.MODEL_TRAINING.ROOT));let i=S(4,2,t.pageRunningScriptSpiningIndicatorService.currentRunningPageInfo$);n(4),d((i==null?null:i.page)===t.PageKey.MODEL_TRAINING?5:-1)}}function Fe(o,e){o&1&&M(0,"mat-icon",13)}function Te(o,e){if(o&1&&(s(0,"mat-option",11),u(1),m(2,Fe,1,0,"mat-icon",13),r()),o&2){let t=e.$implicit;c("value",t.name)("disabled",!t.isTrained),n(),R(" ",t.name," "),n(),d(t.isTrained?-1:2)}}function be(o,e){o&1&&(s(0,"mat-option",12),u(1,"No results found"),r())}function Pe(o,e){if(o&1&&(N(0,Te,3,4,"mat-option",11,Se),m(2,be,2,0,"mat-option",12)),o&2){let t=e;L(t),n(2),d(t.length===0?2:-1)}}var a,ge=(a=class{ngOnChanges(e){e.algorithmType&&e.algorithmType.currentValue&&this.configureModels(e.algorithmType.currentValue)}get parentFormGroup(){return this.controlContainer.control}get modelFormGroup(){return this.parentFormGroup.get(this.controlKey)}get modelControl(){return this.modelFormGroup?.get(this.MODEL_CONTROL_NAME)}constructor(e,t,i,l){this.controlContainer=e,this.modelsFacadeService=t,this.scriptFacadeService=i,this.pageRunningScriptSpiningIndicatorService=l,this.controlKey="",this.isTrainModelsPageRouteVisible=!0,this.PageKey=se,this.RoutesList=j,this.searchModel=new _,this.models=[],this.MODEL_CONTROL_NAME="model"}ngOnInit(){this.initializeForm(),this.listenToScriptStateChanges(),this.listenToSearchModelValueChanges(),this.configureModels(this.algorithmType)}configureModels(e){e&&(this.getModelsByTypeSubscription?.unsubscribe(),this.getModelsByTypeSubscription=this.subscribeToModelsListChanges(e),this.modelsFacadeService.dispatch(v.getModelsList({algorithmType:e})),this.modelsFacadeService.dispatch(v.getCurrentOrPreviousSelectedModel({algorithmType:e})))}listenToCurrentModelChanges(){this.modelsFacadeService.currentModel$.pipe(h(this)).subscribe(e=>{if(re(e))return;let t=this.models.find(i=>i.name===e);t&&t.isTrained&&this.modelControl?.patchValue(e)})}subscribeToModelsListChanges(e){let t=!1;return this.modelsFacadeService.getModelsByType(e).pipe(F(i=>!ae(i)),g(i=>[...i].sort((l,Ce)=>Number(Ce.isTrained)-Number(l.isTrained)))).subscribe(i=>{this.models=i,this.searchModel.setValue(""),t||(this.listenToCurrentModelChanges(),t=!0)})}initializeForm(){this.parentFormGroup.addControl(this.controlKey,new U({[this.MODEL_CONTROL_NAME]:new _("",$.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(h(this)).subscribe(e=>{ne(e)?this.modelFormGroup.disable():this.modelFormGroup.enable()})}listenToSearchModelValueChanges(){this.filteredModels=this.searchModel.valueChanges.pipe(h(this),T(""),g(e=>this.filterModels(e)))}filterModels(e){let t=e.toLowerCase();return this.models.filter(i=>i.name.toLowerCase().includes(t))}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},a.\u0275fac=function(t){return new(t||a)(p(f),p(fe),p(le),p(me))},a.\u0275cmp=P({type:a,selectors:[["ms-panel-model"]],inputs:{controlKey:"controlKey",algorithmType:"algorithmType",isTrainModelsPageRouteVisible:"isTrainModelsPageRouteVisible"},standalone:!0,features:[x([],[{provide:f,useFactory:()=>b(f,{skipSelf:!0})}]),O,G],decls:13,vars:6,consts:[[1,"ms-card","model-card"],[1,"panel-title-wrapper"],[1,"heading-sub-section-title"],[1,"train-models"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","model","placeholder","Select a model..."],[3,"formControl"],["label","Predefined Models"],[3,"routerLink"],[1,"ml-2"],[3,"value","disabled"],["disabled",""],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(t,i){if(t&1&&(s(0,"mat-card",0)(1,"div",1)(2,"div",2),u(3,"Model"),r(),m(4,ye,6,6,"div",3),r(),s(5,"div",4)(6,"mat-form-field",5)(7,"mat-select",6)(8,"mat-option"),M(9,"ngx-mat-select-search",7),r(),s(10,"mat-optgroup",8),m(11,Pe,3,1),C(12,"async"),r()()()()()),t&2){let l;n(4),d(i.isTrainModelsPageRouteVisible?4:-1),n(),c("formGroupName",i.controlKey),n(4),c("formControl",i.searchModel),n(2),d((l=S(12,4,i.filteredModels))?11:-1,l)}},dependencies:[w,D,J,z,q,Q,W,H,X,pe,de,Z,Y,ue,ce,B,k,te,ee,he,Me,K,ie,oe],styles:[".panel-title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:12px}.panel-title-wrapper[_ngcontent-%COMP%] .train-models[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]}),a);ge=y([A()],ge);export{ge as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-MCE6M2DX.js b/frontend/server/modelsmith-build/browser/chunk-XSOJ6DN4.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-MCE6M2DX.js rename to frontend/server/modelsmith-build/browser/chunk-XSOJ6DN4.js index 14026d5b..6c46301d 100644 --- a/frontend/server/modelsmith-build/browser/chunk-MCE6M2DX.js +++ b/frontend/server/modelsmith-build/browser/chunk-XSOJ6DN4.js @@ -1,2 +1,2 @@ -import{b as ft,c as Wt,d as Kt,e as gt,r as Xt,s as Zt}from"./chunk-WXERLI5K.js";import{$ as st,$a as x,Ab as H,Ad as Ht,Ae as k,B as bt,Ce as J,D as vt,Da as I,Ea as b,F,Fa as wt,Hc as o,Ic as D,Ja as Dt,Jc as S,Kb as Mt,Na as Et,Pa as G,Pb as Bt,Qa as Pt,R as M,S as xt,Sc as _,Tc as d,Wc as f,Xa as W,Xc as Z,Yc as B,Z as l,Zc as Y,_c as O,a as p,ab as v,ad as Lt,b as h,ba as s,bb as $,bd as g,ca as kt,f as Ct,fb as Tt,ga as L,hb as jt,ia as V,ib as K,ic as Ot,id as zt,j as A,jb as Rt,k as _t,kb as ot,lc as Ut,oa as yt,pa as At,pb as ct,qb as lt,rb as mt,rd as Gt,re as Qt,s as j,sc as Nt,sd as $t,tb as w,tc as ut,ua as z,ub as Ft,vb as pt,w as R,wa as It,wc as X,we as qt,xc as ht,xe as Vt,zc as dt,ze as St}from"./chunk-MDAOMI2L.js";var Yt=d(g,i=>i.terminal.terminalHistory);var Ze=(()=>{let t=class t{constructor(e){this.store=e,this.terminalHistory=this.store.select(Yt)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var E=function(i){return i.SUCCESS="success",i.ERROR="error",i.INFO="info",i.WARNING="warning",i}(E||{});function _e(i,t){if(i&1){let P=Tt();x(0,"div",1)(1,"button",2),K("click",function(){yt(P);let n=ot();return At(n.action())}),w(2),v()()}if(i&2){let P=ot();I(2),pt(" ",P.data.action," ")}}var be=["label"];function ve(i,t){}var xe=Math.pow(2,31)-1,U=class{constructor(t,P){this._overlayRef=P,this._afterDismissed=new A,this._afterOpened=new A,this._onAction=new A,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,xe))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},tt=new st("MatSnackBarData"),N=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ke=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=V({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let i=t;return i})(),ye=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=V({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let i=t;return i})(),Ae=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=V({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let i=t;return i})(),Ie=(()=>{let t=class t{constructor(e,n){this.snackBarRef=e,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(n){return new(n||t)(b(U),b(tt))},t.\u0275cmp=L({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[H],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(x(0,"div",0),w(1),v(),G(2,_e,3,1,"div",1)),n&2&&(I(),pt(" ",r.data.message,` +import{b as ft,c as Wt,d as Kt,e as gt,r as Xt,s as Zt}from"./chunk-I333ACNB.js";import{$ as st,$a as x,$c as O,Ac as dt,Ae as St,B as bt,Bb as H,Bd as Ht,Be as k,D as vt,Da as I,De as J,Ea as b,F,Fa as wt,Ic as o,Ja as Dt,Jc as D,Kc as S,Lb as Mt,Na as Et,Pa as G,Qa as Pt,Qb as Bt,R as M,S as xt,Tc as _,Uc as d,Xa as W,Xc as f,Yc as Z,Z as l,Zc as B,_c as Y,a as p,ab as v,b as h,ba as s,bb as $,bd as Lt,ca as kt,cd as g,f as Ct,fb as Tt,ga as L,hb as jt,ia as V,ib as K,j as A,jb as Rt,jc as Ot,jd as zt,k as _t,kb as ot,mc as Ut,oa as yt,pa as At,pb as ct,qb as lt,rb as mt,s as j,sd as Gt,se as Qt,tb as w,tc as Nt,td as $t,ua as z,ub as Ft,uc as ut,vb as pt,w as R,wa as It,xc as X,xe as qt,yc as ht,ye as Vt}from"./chunk-MVLCGSW5.js";var Yt=d(g,i=>i.terminal.terminalHistory);var Ze=(()=>{let t=class t{constructor(e){this.store=e,this.terminalHistory=this.store.select(Yt)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var E=function(i){return i.SUCCESS="success",i.ERROR="error",i.INFO="info",i.WARNING="warning",i}(E||{});function _e(i,t){if(i&1){let P=Tt();x(0,"div",1)(1,"button",2),K("click",function(){yt(P);let n=ot();return At(n.action())}),w(2),v()()}if(i&2){let P=ot();I(2),pt(" ",P.data.action," ")}}var be=["label"];function ve(i,t){}var xe=Math.pow(2,31)-1,U=class{constructor(t,P){this._overlayRef=P,this._afterDismissed=new A,this._afterOpened=new A,this._onAction=new A,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,xe))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},tt=new st("MatSnackBarData"),N=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ke=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=V({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let i=t;return i})(),ye=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=V({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let i=t;return i})(),Ae=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=V({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let i=t;return i})(),Ie=(()=>{let t=class t{constructor(e,n){this.snackBarRef=e,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(n){return new(n||t)(b(U),b(tt))},t.\u0275cmp=L({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[H],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(x(0,"div",0),w(1),v(),G(2,_e,3,1,"div",1)),n&2&&(I(),pt(" ",r.data.message,` `),I(),W(r.hasAction?2:-1))},dependencies:[Qt,ke,ye,Ae],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let i=t;return i})(),we={snackBarState:Nt("state",[ht("void, hidden",X({transform:"scale(0.8)",opacity:0})),ht("visible",X({transform:"scale(1)",opacity:1})),dt("* => visible",ut("150ms cubic-bezier(0, 0, 0.2, 1)")),dt("* => void, * => hidden",ut("75ms cubic-bezier(0.4, 0.0, 1, 1)",X({opacity:0})))])},De=0,Ee=(()=>{let t=class t extends Kt{constructor(e,n,r,a,c){super(),this._ngZone=e,this._elementRef=n,this._changeDetectorRef=r,this._platform=a,this.snackBarConfig=c,this._document=kt(Bt),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new A,this._onExit=new A,this._onEnter=new A,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${De++}`,this.attachDomPortal=u=>{this._assertNotAttached();let T=this._portalOutlet.attachDomPortal(u);return this._afterPortalAttached(),T},c.politeness==="assertive"&&!c.announcementMessage?this._live="assertive":c.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}onAnimationEnd(e){let{fromState:n,toState:r}=e;if((r==="void"&&n!=="void"||r==="hidden")&&this._completeExit(),r==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(c=>e.classList.add(c)):e.classList.add(n)),this._exposeToModals();let r=this._label.nativeElement,a="mdc-snackbar__label";r.classList.toggle(a,!r.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{let n=e.getAttribute("aria-owns");if(n){let r=n.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(n){return new(n||t)(b(Dt),b(It),b(Mt),b(zt),b(N))},t.\u0275cmp=L({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(n&1&&(ct(gt,7),ct(be,7)),n&2){let a;lt(a=mt())&&(r._portalOutlet=a.first),lt(a=mt())&&(r._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(n,r){n&1&&Rt("@state.done",function(c){return r.onAnimationEnd(c)}),n&2&&jt("@state",r._animationState)},standalone:!0,features:[Et,H],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(x(0,"div",1)(1,"div",2,0)(3,"div",3),G(4,ve,0,0,"ng-template",4),v(),$(5,"div"),v()()),n&2&&(I(5),Pt("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[gt],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color);border-radius:var(--mdc-snackbar-container-shape);background-color:var(--mdc-snackbar-container-color)}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font);font-size:var(--mdc-snackbar-supporting-text-size);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[we.snackBarState]}});let i=t;return i})();function Pe(){return new N}var Te=new st("mat-snack-bar-default-options",{providedIn:"root",factory:Pe}),Jt=(()=>{let t=class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,n,r,a,c,u){this._overlay=e,this._live=n,this._injector=r,this._breakpointObserver=a,this._parentSnackBar=c,this._defaultConfig=u,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Ie,this.snackBarContainerComponent=Ee,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){let a=p(p({},this._defaultConfig),r);return a.data={message:e,action:n},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector,a=z.create({parent:r||this._injector,providers:[{provide:N,useValue:n}]}),c=new ft(this.snackBarContainerComponent,n.viewContainerRef,a),u=e.attach(c);return u.instance.snackBarConfig=n,u.instance}_attach(e,n){let r=p(p(p({},new N),this._defaultConfig),n),a=this._createOverlay(r),c=this._attachSnackBarContainer(a,r),u=new U(c,a);if(e instanceof wt){let T=new Wt(e,null,{$implicit:r.data,snackBarRef:u});u.instance=c.attachTemplatePortal(T)}else{let T=this._createInjector(r,u),Se=new ft(e,void 0,T),Ce=c.attachComponentPortal(Se);u.instance=Ce.instance}return this._breakpointObserver.observe($t.HandsetPortrait).pipe(xt(a.detachments())).subscribe(T=>{a.overlayElement.classList.toggle(this.handsetCssClass,T.matches)}),r.announcementMessage&&c._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(u,r),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration))}_createOverlay(e){let n=new Xt;n.direction=e.direction;let r=this._overlay.position().global(),a=e.direction==="rtl",c=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,u=!c&&e.horizontalPosition!=="center";return c?r.left("0"):u?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),n.positionStrategy=r,this._overlay.create(n)}_createInjector(e,n){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return z.create({parent:r||this._injector,providers:[{provide:U,useValue:n},{provide:tt,useValue:e.data}]})}};t.\u0275fac=function(n){return new(n||t)(s(Zt),s(Ht),s(z),s(Gt),s(t,12),s(Te))},t.\u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function je(i,t){i&1&&$(0,"mat-icon",3)}function Re(i,t){i&1&&$(0,"mat-icon",4)}function Fe(i,t){i&1&&(x(0,"mat-icon",5),w(1,"error_outline"),v())}function Me(i,t){i&1&&(x(0,"mat-icon",6),w(1,"warning"),v())}var ee=(()=>{let t=class t{constructor(e,n){this.bannerRef=e,this.data=n,this.NotificationTypes=E}};t.\u0275fac=function(n){return new(n||t)(b(U),b(tt))},t.\u0275cmp=L({type:t,selectors:[["ms-banner"]],standalone:!0,features:[H],decls:13,vars:2,consts:[[1,"banner"],[1,"banner-left-container"],[1,"banner-content"],["fontSet","ms","fontIcon","icon-CheckCircle",1,"mat-success"],["fontSet","ms","fontIcon","icon-Info",1,"mat-primary"],[1,"mat-error"],[1,"mat-warn"],[1,"banner-middle-container"],[1,"banner-right-container"],[1,"mat-gray",3,"click"]],template:function(n,r){if(n&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),G(3,je,1,0,"mat-icon",3)(4,Re,1,0,"mat-icon",4)(5,Fe,2,0,"mat-icon",5)(6,Me,2,0,"mat-icon",6),v()(),x(7,"div",7)(8,"div"),w(9),v()(),x(10,"div",8)(11,"mat-icon",9),K("click",function(){return r.bannerRef.dismiss()}),w(12,"clear"),v()()()),n&2){let a;I(3),W((a=r.data.notificationType)===r.NotificationTypes.SUCCESS?3:a===r.NotificationTypes.INFO?4:a===r.NotificationTypes.ERROR?5:a===r.NotificationTypes.WARNING?6:-1),I(6),Ft(r.data.message)}},dependencies:[Vt,qt],styles:[".banner[_ngcontent-%COMP%]{display:flex;width:100%}.banner[_ngcontent-%COMP%] .banner-left-container[_ngcontent-%COMP%]{flex:0 1 5%}.banner[_ngcontent-%COMP%] .banner-middle-container[_ngcontent-%COMP%]{flex:0 1 90%;margin:2px 10px}.banner[_ngcontent-%COMP%] .banner-right-container[_ngcontent-%COMP%]{flex:0 1 5%}.banner[_ngcontent-%COMP%] .banner-right-container[_ngcontent-%COMP%]:hover{cursor:pointer}"]});let i=t;return i})();var Be=5e3,ie=5e3,Oe=1e4,ne=(()=>{let t=class t{constructor(e){this.snackbar=e}showSuccess(e){this.showBanner(e,E.SUCCESS,Be,"notification-panel-success")}showInfo(e){this.showBanner(e,E.INFO,ie,"notification-panel-info")}showError(e){this.showBanner(e,E.ERROR,Oe,"notification-panel-error")}showWarning(e){this.showBanner(e,E.WARNING,ie,"notification-panel-warning")}showBanner(e,n,r,a){this.snackbar.openFromComponent(ee,{duration:r,data:{message:e,notificationType:n},panelClass:a})}};t.\u0275fac=function(n){return new(n||t)(s(Jt))},t.\u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var m=D({source:"[Core -> Charts]",events:{"Get Current Pruning Chart Data":S(),"Get Current Pruning Chart Data Success":o(),"Get Current Pruning Chart Data Failure":o(),"Get Current Quantization Chart Data":S(),"Get Current Quantization Chart Data Success":o(),"Get Current Quantization Chart Data Failure":o(),"Get Current Machine Unlearning Chart Data":S(),"Get Current Machine Unlearning Chart Data Success":o(),"Get Current Machine Unlearning Chart Data Failure":o(),"Get Chart Configuration Settings":o(),"Get Chart Configuration Settings Success":o(),"Get Chart Configuration Settings Failure":o()}});var et=class extends k{constructor(t){let P=`type=${t.join(",")}`;super(`chart-configuration-settings?${P}`,void 0,void 0,!1)}};var it=class extends k{constructor(){super("current-machine-unlearning-chart-data",void 0,void 0,!1)}};var nt=class extends k{constructor(){super("current-pruning-chart-data",void 0,void 0,!1)}};var rt=class extends k{constructor(){super("current-quantization-chart-data",void 0,void 0,!1)}};var tn=(()=>{let t=class t{constructor(e,n){this.apiClient=e,this.actions$=n,this.getCurrentPruningChartData$=B(()=>this.actions$.pipe(O(m.getCurrentPruningChartData),M(()=>this.apiClient.serviceCall(new nt).pipe(R(r=>m.getCurrentPruningChartDataSuccess({pruningProgress:r})),F(r=>j(m.getCurrentPruningChartDataFailure({error:r}))))))),this.getCurrentQuantizationChartData$=B(()=>this.actions$.pipe(O(m.getCurrentQuantizationChartData),M(()=>this.apiClient.serviceCall(new rt).pipe(R(r=>m.getCurrentQuantizationChartDataSuccess({quantizationProgress:r})),F(r=>j(m.getCurrentQuantizationChartDataFailure({error:r}))))))),this.getCurrentMachineUnlearningChartData$=B(()=>this.actions$.pipe(O(m.getCurrentMachineUnlearningChartData),M(()=>this.apiClient.serviceCall(new it).pipe(R(r=>m.getCurrentMachineUnlearningChartDataSuccess({machineUnlearningProgress:r})),F(r=>j(m.getCurrentMachineUnlearningChartDataFailure({error:r}))))))),this.getChartConfigurationSettings$=B(()=>this.actions$.pipe(O(m.getChartConfigurationSettings),M(r=>this.apiClient.serviceCall(new et(r.chartTypes)).pipe(R(a=>m.getChartConfigurationSettingsSuccess({settings:a})),F(a=>j(m.getChartConfigurationSettingsFailure({error:a})))))))}};t.\u0275fac=function(n){return new(n||t)(s(J),s(Y))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var Le={pruningProgress:[],machineUnlearningProgress:void 0,quantizationProgress:void 0,settings:{},error:null},an=Z(Le,f(m.getCurrentPruningChartDataSuccess,(i,{pruningProgress:t})=>h(p({},i),{pruningProgress:t,machineUnlearningProgress:void 0,quantizationProgress:void 0,error:null})),f(m.getCurrentPruningChartDataFailure,(i,{error:t})=>h(p({},i),{pruningProgress:[],error:t})),f(m.getCurrentQuantizationChartDataSuccess,(i,{quantizationProgress:t})=>h(p({},i),{pruningProgress:[],quantizationProgress:t,machineUnlearningProgress:void 0,error:null})),f(m.getCurrentQuantizationChartDataFailure,(i,{error:t})=>h(p({},i),{quantizationProgress:void 0,error:t})),f(m.getCurrentMachineUnlearningChartDataSuccess,(i,{machineUnlearningProgress:t})=>h(p({},i),{pruningProgress:[],quantizationProgress:void 0,machineUnlearningProgress:t,error:null})),f(m.getCurrentQuantizationChartDataFailure,(i,{error:t})=>h(p({},i),{quantizationProgress:void 0,error:t})),f(m.getCurrentPruningChartDataFailure,(i,{error:t})=>h(p({},i),{pruningProgress:[],error:t})),f(m.getChartConfigurationSettingsSuccess,(i,{settings:t})=>h(p({},i),{settings:p(p({},i.settings),t),error:null})),f(m.getChartConfigurationSettingsFailure,(i,{error:t})=>h(p({},i),{error:t})));var re=d(g,i=>i.charts.pruningProgress),ae=d(g,i=>i.charts.quantizationProgress),se=d(g,i=>i.charts.machineUnlearningProgress),oe=d(g,i=>i.charts.settings);var Cn=(()=>{let t=class t{constructor(e){this.store=e,this.pruningProgress=this.store.select(re),this.quantizationProgress$=this.store.select(ae),this.machineUnlearningProgress$=this.store.select(se),this.settings$=this.store.select(oe)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var ce=(()=>{let t=class t{constructor(e){this.store=e}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var le=D({source:"[Core -> File]",events:{"Upload File":o(),"Upload File Success":o(),"Upload File Failure":o(),"Upload File and Call Script":o()}});var yn=(()=>{let t=class t{constructor(e,n){this.bannerService=e,this.fileFacadeService=n,this._fileSubject=new _t(null)}get isFileLoaded(){return!!this._fileSubject.value}get file$(){return this._fileSubject.asObservable()}set file(e){this._fileSubject.next(e)}get file(){return this._fileSubject.value}clearFile(){this._fileSubject.next(null)}uploadFile(){if(!this.file){this.bannerService.showError("No file to upload.");return}this.fileFacadeService.dispatch(le.uploadFile({file:this.file}))}};t.\u0275fac=function(n){return new(n||t)(s(ne),s(ce))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var Pn=(()=>{let t=class t{constructor(e){this.router=e,this.history=[]}trackNavigationHistory(){this.addInitialUrl(),this.router.events.pipe(vt(e=>e instanceof Ot)).subscribe(e=>{this.history.push(e.urlAfterRedirects)})}addInitialUrl(){let e=this.router.url;this.history.push(e)}goToPreviousPage(e=Lt.MODEL_COMPRESSION.ROOT){let n=this.getPreviousUrl();n==="/"?this.router.navigateByUrl(`/${e}`):this.router.navigateByUrl(n)}getPreviousUrl(){return this.history[this.history.length-2]||"/"}};t.\u0275fac=function(n){return new(n||t)(s(Ut))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var me=d(g,i=>i.parameters);var Bn=(()=>{let t=class t{constructor(e){this.store=e,this.parameters$=this.store.select(me)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var pe=d(g,i=>i.script.scriptStatus),ue=d(g,i=>i.script.scriptDetails);var he=(()=>{let t=class t{constructor(e){this.store=e,this.scriptStatus$=this.store.select(pe),this.scriptDetails$=this.store.select(ue)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var de=d(g,i=>i.statistics.statistics);var fe=(()=>{let t=class t{constructor(e){this.store=e,this.statistics$=this.store.select(de)}dispatch(e){this.store.dispatch(e)}};t.\u0275fac=function(n){return new(n||t)(s(_))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var ge=D({source:"[Core -> Script]",events:{"Call Script":o(),"Call Script Success":S(),"Call Script Failure":o(),"Fetch Script Status":S(),"Update Script Status":o(),"Fetch Script Status Success":o(),"Fetch Script Status Failure":o(),"Stop Script":S(),"Stop Script Success":S(),"Stop Script Failure":o(),"Get Current or Last Active Script Details":S(),"Get Current or Last Active Script Details Success":o(),"Get Current or Last Active Script Details Failure":o(),"Execute Command":o(),"Execute Command Success":S(),"Execute Command Failure":o()}});var y=D({source:"[Core -> Statistics]",events:{"Get Statistics":S(),"Get Statistics Success":o(),"Get Statistics Failure":o(),"Update Statistics":o()}});var at=class extends k{constructor(){super("statistics",void 0,void 0,!1)}};var nr=(()=>{let t=class t{constructor(e,n){this.apiClient=e,this.actions$=n,this.getStatistics=B(()=>this.actions$.pipe(O(y.getStatistics),M(()=>this.apiClient.serviceCall(new at).pipe(R(r=>y.getStatisticsSuccess({statistics:r})),F(r=>j(y.getStatisticsFailure({error:r})))))))}};t.\u0275fac=function(n){return new(n||t)(s(J),s(Y))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();var He={statistics:{},error:null},or=Z(He,f(y.getStatisticsSuccess,(i,{statistics:t})=>h(p({},i),{statistics:t,error:null})),f(y.getStatisticsFailure,(i,{error:t})=>h(p({},i),{error:t})),f(y.updateStatistics,(i,{statistics:t})=>h(p({},i),{statistics:t,error:null})));var q=function(i){return i.SCRIPT_STATUS="script_status",i.STATISTICS="statistics",i.CHARTS_PREFIX="chart_",i}(q||{}),Qe=function(i){return i.UPDATE_TESTING="chart_updateTesting",i.UPDATE_LATEST_VALUE="chart_updateLatestValue",i.ENHANCE_SINGLE_PHASE_X_AXIS="chart_enhanceSinglePhaseXAxis",i}(Qe||{});var yr=(()=>{let t=class t{handleBeforeUnload(){this.close()}constructor(e,n){this.scriptFacadeService=e,this.statisticsFacadeService=n,this.chartsMessagesSubject=new A}connect(){this.close(),console.log("Connecting to WebSocket URL:",St.websocketUrl),this.socket=new WebSocket(St.websocketUrl),this.socket.onopen=()=>{console.log("WebSocket connected!")},this.socket.onmessage=e=>Ct(this,null,function*(){let n=JSON.parse(e.data),{topic:r="",data:a}=n;switch(r){case q.SCRIPT_STATUS:this.scriptFacadeService.dispatch(ge.updateScriptStatus({status:a}));break;case q.STATISTICS:let{statistics:c}=a||{};this.statisticsFacadeService.dispatch(y.updateStatistics({statistics:c}));break;default:r.startsWith(q.CHARTS_PREFIX)?this.chartsMessagesSubject.next({topic:r,data:a}):console.warn("Unknown message type:",r)}}),this.socket.onerror=e=>{console.error("WebSocket Error:",e)},this.socket.onclose=e=>{e.wasClean?console.log(`Closed cleanly, code=${e.code}, reason=${e.reason}`):console.error("Connection died"),bt(5e3).subscribe(()=>this.connect())}}get chartsMessages$(){return this.chartsMessagesSubject.asObservable()}send(e){this.socket&&this.socket.readyState===this.socket.OPEN&&this.socket.send(e)}close(){this.socket&&this.socket.readyState!==this.socket.CLOSED&&this.socket.close()}};t.\u0275fac=function(n){return new(n||t)(s(he),s(fe))},t.\u0275prov=l({token:t,factory:t.\u0275fac});let i=t;return i})();export{ge as a,he as b,ne as c,m as d,tn as e,an as f,Cn as g,ce as h,le as i,yn as j,Pn as k,Bn as l,fe as m,Ze as n,y as o,nr as p,or as q,Qe as r,yr as s}; diff --git a/frontend/server/modelsmith-build/browser/chunk-FODXYRF6.js b/frontend/server/modelsmith-build/browser/chunk-XUCLYHZN.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-FODXYRF6.js rename to frontend/server/modelsmith-build/browser/chunk-XUCLYHZN.js index e950fdce..0dcf9297 100644 --- a/frontend/server/modelsmith-build/browser/chunk-FODXYRF6.js +++ b/frontend/server/modelsmith-build/browser/chunk-XUCLYHZN.js @@ -1 +1 @@ -import{$ as n,Ab as p,Ea as s,Hd as i,Ta as l,Zb as f,_ as c,ga as o,ha as m,lb as u,mb as g}from"./chunk-MDAOMI2L.js";var h=["*"];var v=new n("MAT_CARD_CONFIG"),E=(()=>{let t=class t{constructor(r){this.appearance=r?.appearance||"raised"}};t.\u0275fac=function(a){return new(a||t)(s(v,8))},t.\u0275cmp=o({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,d){a&2&&l("mat-mdc-card-outlined",d.appearance==="outlined")("mdc-card--outlined",d.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[p],ngContentSelectors:h,decls:1,vars:0,template:function(a,d){a&1&&(u(),g(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color);border-color:var(--mdc-elevated-card-container-color);border-radius:var(--mdc-elevated-card-container-shape);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color);border-radius:var(--mdc-outlined-card-container-shape);border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});let e=t;return e})();var L=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=m({type:t}),t.\u0275inj=c({imports:[i,f,i]});let e=t;return e})();export{E as a,L as b}; +import{$ as n,Bb as p,Ea as s,Id as i,Ta as l,_ as c,_b as f,ga as o,ha as m,lb as u,mb as g}from"./chunk-MVLCGSW5.js";var h=["*"];var v=new n("MAT_CARD_CONFIG"),E=(()=>{let t=class t{constructor(r){this.appearance=r?.appearance||"raised"}};t.\u0275fac=function(a){return new(a||t)(s(v,8))},t.\u0275cmp=o({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,d){a&2&&l("mat-mdc-card-outlined",d.appearance==="outlined")("mdc-card--outlined",d.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[p],ngContentSelectors:h,decls:1,vars:0,template:function(a,d){a&1&&(u(),g(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color);border-color:var(--mdc-elevated-card-container-color);border-radius:var(--mdc-elevated-card-container-shape);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color);border-radius:var(--mdc-outlined-card-container-shape);border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});let e=t;return e})();var L=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=m({type:t}),t.\u0275inj=c({imports:[i,f,i]});let e=t;return e})();export{E as a,L as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-YTABWEBP.js b/frontend/server/modelsmith-build/browser/chunk-YTABWEBP.js new file mode 100644 index 00000000..8efea0a7 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-YTABWEBP.js @@ -0,0 +1 @@ +import{a as nt,b as at,c as mt}from"./chunk-KGVHLG7N.js";import{a as rt}from"./chunk-4P7ULTDI.js";import{a as de}from"./chunk-CFM5DRTM.js";import{b as it,c as ot,d as O}from"./chunk-EGGALFKU.js";import{b as Xe,c as Je}from"./chunk-ZQAGOALV.js";import{b as Ze}from"./chunk-NBUJA3ZB.js";import"./chunk-CKI3LALG.js";import"./chunk-GULIW6WA.js";import{a as se,b as pe}from"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import{a as Ve,b as je}from"./chunk-4X6VBT7Z.js";import{a as ce}from"./chunk-25FQYPXL.js";import{a as U,b as le}from"./chunk-XUCLYHZN.js";import"./chunk-IHFL5CFV.js";import{a as K}from"./chunk-WO6G2TMA.js";import{b as E,c as p,j as g,k as We}from"./chunk-C4NPICWQ.js";import"./chunk-PMG2IJPH.js";import"./chunk-HTQHSSGZ.js";import"./chunk-CXMHZ5XC.js";import{b as Ye,c as G,d as qe}from"./chunk-XX6ZYDLH.js";import"./chunk-5MCZHTBZ.js";import{a as me,b as D,c as et,k as tt}from"./chunk-XSOJ6DN4.js";import{a as A,b as d}from"./chunk-KP473PLS.js";import"./chunk-I333ACNB.js";import{h as oe,i as re}from"./chunk-LCKMIOUI.js";import{$a as m,$d as X,Ab as Y,Bb as Re,D as P,Da as n,Ea as s,Fb as I,Gb as b,H as ge,Hb as we,I as Ne,K as Ce,P as Q,Pa as C,Q as Fe,Ra as c,Rd as Ke,Sd as W,Xa as M,Xb as ke,Ya as Ae,Yb as Le,Za as x,Zb as De,_ as z,_a as R,_b as q,a as Te,ab as r,ae as h,b as Se,bb as u,bd as Ue,ca as H,cb as Pe,ce as J,db as be,de as k,ee as L,fb as Ee,ga as F,ge as $,ha as Z,ib as _e,je as $e,kb as w,ke as Be,le as ee,na as Ie,ne as te,oa as Me,p as S,pa as ye,pb as Ge,qb as Oe,qc as ve,qe as Qe,rb as xe,re as ie,se as ze,tb as l,vb as f,ve as He,w as N,xe as ne,ye as ae}from"./chunk-MVLCGSW5.js";var Ct=(i,e)=>e.name;function Mt(i,e){i&1&&u(0,"mat-icon",10)}function yt(i,e){if(i&1&&(m(0,"mat-option",8),l(1),C(2,Mt,1,0,"mat-icon",10),r()),i&2){let t=e.$implicit;c("value",t.name),n(),f(" ",t.name," "),n(),M(t.isTrained?-1:2)}}function _t(i,e){i&1&&(m(0,"mat-option",9),l(1,"No results found"),r())}function vt(i,e){if(i&1&&(x(0,yt,3,3,"mat-option",8,Ct),C(2,_t,2,0,"mat-option",9)),i&2){let t=e;R(t),n(2),M(t.length===0?2:-1)}}var y,V=(y=class{ngOnChanges(e){e.algorithmType&&e.algorithmType.currentValue&&this.configureModels(e.algorithmType.currentValue)}get parentFormGroup(){return this.controlContainer.control}get modelFormGroup(){return this.parentFormGroup.get(this.controlKey)}get modelControl(){return this.modelFormGroup?.get(this.MODEL_CONTROL_NAME)}constructor(e,t,o,a){this.controlContainer=e,this.modelsFacadeService=t,this.scriptFacadeService=o,this.pageRunningScriptSpiningIndicatorService=a,this.controlKey="",this.PageKey=Xe,this.RoutesList=Ue,this.searchModel=new $,this.models=[],this.MODEL_CONTROL_NAME="model"}ngOnInit(){this.initializeForm(),this.listenToScriptStateChanges(),this.listenToSearchModelValueChanges(),this.configureModels(this.algorithmType)}configureModels(e){if(e)switch(this.getModelsByTypeSubscription?.unsubscribe(),this.getModelsByTypeSubscription=this.subscribeToModelsListChanges(e),this.modelsFacadeService.dispatch(O.getModelsList({algorithmType:e})),e){case p.PRUNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.PRUNING_TRAIN}));break}case p.QUANTIZATION:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.QUANTIZATION_TRAIN}));break}case p.MACHINE_UNLEARNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.MACHINE_UNLEARNING_TRAIN}));break}}}listenToCurrentModelChanges(){this.modelsFacadeService.currentModel$.pipe(d(this)).subscribe(e=>{if(G(e))return;this.models.find(o=>o.name===e)&&this.modelControl?.patchValue(e)})}subscribeToModelsListChanges(e){let t=!1;return this.modelsFacadeService.getModelsByType(e).pipe(P(o=>!qe(o)),N(o=>[...o].sort((a,j)=>Number(j.isTrained)-Number(a.isTrained)))).subscribe(o=>{this.models=o,this.searchModel.setValue(""),t||(this.listenToCurrentModelChanges(),t=!0)})}initializeForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.MODEL_CONTROL_NAME]:new $("",X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.modelFormGroup.disable():this.modelFormGroup.enable()})}listenToSearchModelValueChanges(){this.filteredModels=this.searchModel.valueChanges.pipe(d(this),Fe(""),N(e=>this.filterModels(e)))}filterModels(e){let t=e.toLowerCase();return this.models.filter(o=>o.name.toLowerCase().includes(t))}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},y.\u0275fac=function(t){return new(t||y)(s(h),s(K),s(D),s(Je))},y.\u0275cmp=F({type:y,selectors:[["ms-panel-model-training"]],inputs:{controlKey:"controlKey",algorithmType:"algorithmType"},standalone:!0,features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}]),Ie,Re],decls:12,vars:5,consts:[[1,"ms-card","model-card"],[1,"panel-title-wrapper"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","model","placeholder","Select a model..."],[3,"formControl"],["label","Predefined Models"],[3,"value"],["disabled",""],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"div",1)(2,"div",2),l(3,"Model"),r()(),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5)(7,"mat-option"),u(8,"ngx-mat-select-search",6),r(),m(9,"mat-optgroup",7),C(10,vt,3,1),I(11,"async"),r()()()()()),t&2){let a;n(4),c("formGroupName",o.controlKey),n(4),c("formControl",o.searchModel),n(2),M((a=b(11,3,o.filteredModels))?10:-1,a)}},dependencies:[ie,J,k,$e,te,ee,le,U,re,oe,pe,se,W,Ke,ae,ne,q,ke,ot,it,Ze],styles:[".panel-title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:12px}.panel-title-wrapper[_ngcontent-%COMP%] .train-models[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]}),y);V=S([A()],V);var Nt=(i,e)=>e.key;function Ft(i,e){if(i&1&&(m(0,"mat-option",6),l(1),r()),i&2){let t=e.$implicit;c("value",t.key),n(),f(" ",t.value," ")}}var _,ue=(_=class{get parentFormGroup(){return this.controlContainer.control}get algorithmTypeFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmTypeFormControl(){return this.algorithmTypeFormGroup.get(this.ALGORITHM_TYPE_CONTROL_NAME)}constructor(e,t){this.controlContainer=e,this.scriptFacadeService=t,this.controlKey="",this.algorithmTypesOptions=[{key:p.QUANTIZATION,value:"Quantization"},{key:p.PRUNING,value:"Pruning"},{key:p.MACHINE_UNLEARNING,value:"Machine Unlearning"}],this.ALGORITHM_TYPE_CONTROL_NAME="algorithmType"}ngOnInit(){this.initForm(),this.loadInitialData(),this.listenToScriptStateChanges()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(Q(1),Ne(1),P(e=>!G(e?.algKey)),N(e=>e.algKey)).subscribe(e=>{switch(e){case g.PRUNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.PRUNING);break}case g.MACHINE_UNLEARNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.MACHINE_UNLEARNING);break}case g.QUANTIZATION_TRAIN:{this.algorithmTypeFormControl.patchValue(p.QUANTIZATION);break}default:this.algorithmTypeFormControl.patchValue(p.PRUNING)}}),this.scriptFacadeService.dispatch(me.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.ALGORITHM_TYPE_CONTROL_NAME]:new $(p.PRUNING,X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.algorithmTypeFormGroup.disable():this.algorithmTypeFormGroup.enable()})}},_.\u0275fac=function(t){return new(t||_)(s(h),s(D))},_.\u0275cmp=F({type:_,selectors:[["ms-panel-algorithm-type-for-training"]],inputs:{controlKey:"controlKey"},features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}])],decls:9,vars:2,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[3,"formGroupName"],[1,"form-field-container"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],[3,"value"]],template:function(t,o){t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Algorithm Type"),r(),Pe(3,2),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5),x(7,Ft,2,2,"mat-option",6,Nt),r()()(),be(),r()),t&2&&(n(3),c("formGroupName",o.controlKey),n(3),c("formControlName",o.ALGORITHM_TYPE_CONTROL_NAME),n(),R(o.algorithmTypesOptions))},dependencies:[U,oe,se,W,J,k,te,ee]}),_);ue=S([A()],ue);function At(i,e){if(i&1&&(l(0),I(1,"adaptiveFileSize")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Pt(i,e){if(i&1&&(l(0),I(1,"date")),i&2){let t=w().$implicit;f(" ",we(1,1,t.value,"medium")," ")}}function bt(i,e){if(i&1&&(l(0),I(1,"readableDuration")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Et(i,e){if(i&1&&l(0),i&2){let t=w().$implicit;f(" ",t.value," ")}}function Gt(i,e){i&1&&(m(0,"div",8),u(1,"mat-divider"),r())}function Ot(i,e){if(i&1&&(m(0,"div")(1,"div",5)(2,"div",6),l(3),I(4,"parametersLabel"),r(),m(5,"div",7),C(6,At,2,3)(7,Pt,2,4)(8,bt,2,3)(9,Et,1,1),r()(),C(10,Gt,2,0,"div",8),r()),i&2){let t,o=e.$implicit,a=e.$index,j=e.$count;n(3),f("",b(4,3,o.key),":"),n(3),M((t=o.key)==="file_size_bytes"?6:t==="creation_date"?7:t==="training_duration_seconds"?8:9),n(4),M(a!==j-1?10:-1)}}function xt(i,e){if(i&1&&(m(0,"div",3),x(1,Ot,11,5,"div",null,Ae),r()),i&2){let t=w();n(),R(t)}}function Rt(i,e){i&1&&u(0,"ms-empty-state",4)}function wt(i,e){i&1&&(m(0,"div",2),C(1,xt,3,0,"div",3)(2,Rt,1,0,"ms-empty-state",4),r()),i&2&&(n(),M(e.length>0?1:2))}var v,fe=(v=class{constructor(e){this.modelsFacadeService=e,this.metadata={}}ngOnInit(){this.modelsFacadeService.modelMetadata$.pipe(Q(1),d(this)).subscribe(e=>{this.metadata=e})}},v.\u0275fac=function(t){return new(t||v)(s(K))},v.\u0275cmp=F({type:v,selectors:[["ms-panel-model-metadata"]],decls:5,vars:3,consts:[[1,"ms-card","metadata-card"],[1,"heading-sub-section-title"],[1,"metadata-wrapper"],[1,"key-value-container","single"],["title","No metadata available"],[1,"key-value-pair","space-between"],[1,"key-value-key"],[1,"key-value-value"],[1,"pt-2"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Model Training Information"),r(),C(3,wt,3,1,"div",2),I(4,"keyvalue"),r()),t&2){let a;n(3),M((a=b(4,1,o.metadata))?3:-1,a)}},dependencies:[rt,U,Ve,Le,De,nt,mt,at],styles:[".metadata-wrapper[_ngcontent-%COMP%]{max-height:300px;overflow:auto;padding-right:20px}"]}),v);fe=S([A()],fe);var Lt=["panelParameters"],T,he=(T=class{constructor(e,t,o,a){this.navigationService=e,this.scriptFacadeService=t,this.snackbarService=o,this.modelsFacadeService=a,this.form=new L({}),this.isScriptActive=!1,this.selectedAlgorithmType=p.PRUNING,this.selectedAlgorithmKey=g.PRUNING_TRAIN}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges(),this.listenToFormChangesToLoadModelMetadata()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(ge(50),N(()=>{let e=this.form.getRawValue();return e.algorithmTypeGroup&&e.algorithmTypeGroup.algorithmType}),Ce(),P(e=>!!e),d(this)).subscribe(e=>{this.selectedAlgorithmType=e,this.selectedAlgorithmKey=We[e]})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{this.isScriptActive=E(e),E(e)?this.form.disable():this.form.enable()})}listenToFormChangesToLoadModelMetadata(){this.form.valueChanges.pipe(ge(50),N(e=>{let t=e.algorithmTypeGroup?.algorithmType,o=e.model?.model;return{algorithmType:t,model:o}}),Ce((e,t)=>JSON.stringify(e)===JSON.stringify(t)),P(({algorithmType:e,model:t})=>!G(e)&&!G(t)),d(this)).subscribe(({algorithmType:e,model:t})=>{this.modelsFacadeService.dispatch(O.getModelMetadata({algorithmType:e,modelName:t}))})}submit(){if(Ye(this.selectedAlgorithmType)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{model:e}=this.form.getRawValue(),{model:t}=e,o={alg:this.selectedAlgorithmKey,params:Se(Te({},this.panelParametersComponent.parametersFormatted),{arch:t})};this.scriptFacadeService.dispatch(me.callScript({configs:o}))}},T.\u0275fac=function(t){return new(t||T)(s(tt),s(D),s(et),s(K))},T.\u0275cmp=F({type:T,selectors:[["ms-model-training"]],viewQuery:function(t,o){if(t&1&&Ge(Lt,5),t&2){let a;Oe(a=xe())&&(o.panelParametersComponent=a.first)}},decls:17,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper"],[1,"left",3,"formGroup"],["controlKey","algorithmTypeGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"ml-2",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],[1,"right"]],template:function(t,o){if(t&1){let a=Ee();m(0,"p",1),l(1,"Model Training"),r(),m(2,"div",2)(3,"div",3),u(4,"ms-panel-algorithm-type-for-training",4)(5,"ms-panel-model-training",5)(6,"ms-panel-model-metadata")(7,"ms-panel-parameters",6,0),m(9,"div")(10,"button",7),_e("click",function(){return Me(a),ye(o.submit())}),l(11," Run "),r(),m(12,"button",8),_e("click",function(){return Me(a),ye(o.navigationService.goToPreviousPage())}),u(13,"mat-icon",9),l(14," Go back "),r()()(),m(15,"div",10),u(16,"ms-terminal-xterm-with-toolbar"),r()()}t&2&&(n(3),c("formGroup",o.form),n(2),c("algorithmType",o.selectedAlgorithmType),n(2),c("algorithm",o.selectedAlgorithmKey),n(3),c("disabled",o.isScriptActive||o.form.invalid))},dependencies:[ce,V,de,k,Be,ne,ze,ue,fe],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),T);he=S([A()],he);var Dt=[{path:"",component:he}],ct=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ve.forChild(Dt),ve]});let i=e;return i})();var yo=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[q,ct,ce,V,de,le,je,pe,re,Qe,ie,ae,He]});let i=e;return i})();export{yo as ModelTrainingModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-ZQAGOALV.js b/frontend/server/modelsmith-build/browser/chunk-ZQAGOALV.js new file mode 100644 index 00000000..b86871b2 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-ZQAGOALV.js @@ -0,0 +1 @@ +import{a as S,b as A}from"./chunk-NBUJA3ZB.js";import{a as o,c as n}from"./chunk-C4NPICWQ.js";import{a as d,b as L}from"./chunk-CXMHZ5XC.js";import{c as D}from"./chunk-XX6ZYDLH.js";import{a as g,b as R}from"./chunk-XSOJ6DN4.js";import{Bb as M,D as s,I as p,P as N,R as I,Ra as l,U as m,Z as u,ba as O,bb as E,ga as f,k as c}from"./chunk-MVLCGSW5.js";var C=(()=>{let i=class i{};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=f({type:i,selectors:[["ms-spining-indicator"]],standalone:!0,features:[M],decls:1,vars:1,consts:[["matTooltip","Task in progress",3,"diameter"]],template:function(r,F){r&1&&E(0,"mat-spinner",0),r&2&&l("diameter",25)},dependencies:[A,S,L,d]});let e=i;return e})();var a=function(e){return e.MODEL_COMPRESSION="MODEL_COMPRESSION",e.MACHINE_UNLEARNING="MACHINE_UNLEARNING",e.MODEL_TRAINING="MODEL_TRAINING",e.AWQ="AWQ",e.MODEL_SPECIALIZATION="MODEL_SPECIALIZATION",e.DIFFUSION_MODEL="DIFFUSION_MODEL",e.NONE="NONE",e}(a||{});var j=(()=>{let i=class i{get currentRunningPageInfo$(){return this._currentRunningPageInfo.asObservable()}constructor(t){this.scriptFacadeService=t,this._currentRunningPageInfo=new c({page:a.NONE,algKey:"",type:null})}trackCurrentRunningPage(){this.scriptFacadeService.scriptStatus$.pipe(s(t=>t===o.RUNNING||t===o.STOPPING),m(()=>this.scriptFacadeService.dispatch(g.getCurrentOrLastActiveScriptDetails())),I(()=>this.scriptFacadeService.scriptDetails$.pipe(N(1),p(1),s(t=>!D(t?.algKey))))).subscribe(t=>{let r;switch(t.type){case n.PRUNING:case n.QUANTIZATION:r=a.MODEL_COMPRESSION;break;case n.MACHINE_UNLEARNING:r=a.MACHINE_UNLEARNING;break;case n.AWQ:r=a.AWQ;break;case n.TRAIN:r=a.MODEL_TRAINING;break;case n.MULTIFLOW:r=a.MODEL_SPECIALIZATION;break;case n.DIFFUSION_MODEL:r=a.DIFFUSION_MODEL;break;default:r=a.NONE;break}this._currentRunningPageInfo.next({page:r,algKey:t.algKey??"",type:t.type??null})}),this.scriptFacadeService.scriptStatus$.subscribe(t=>{t!==o.RUNNING&&t!==o.STOPPING&&this._currentRunningPageInfo.next({page:a.NONE,algKey:"",type:null})})}};i.\u0275fac=function(r){return new(r||i)(O(R))},i.\u0275prov=u({token:i,factory:i.\u0275fac});let e=i;return e})();export{C as a,a as b,j as c}; diff --git a/frontend/server/modelsmith-build/browser/index.html b/frontend/server/modelsmith-build/browser/index.html index 476d5998..5a35ef37 100644 --- a/frontend/server/modelsmith-build/browser/index.html +++ b/frontend/server/modelsmith-build/browser/index.html @@ -28,8 +28,8 @@ - + - + diff --git a/frontend/server/modelsmith-build/browser/main-IVX42KAI.js b/frontend/server/modelsmith-build/browser/main-IVX42KAI.js deleted file mode 100644 index f72e7217..00000000 --- a/frontend/server/modelsmith-build/browser/main-IVX42KAI.js +++ /dev/null @@ -1 +0,0 @@ -import{b as Dr,c as xr,h as Xr}from"./chunk-GZHRP7B4.js";import{a as Yr}from"./chunk-XQJ4YUBS.js";import{a as Pr}from"./chunk-TVXWZIGN.js";import{a as Be,b as he}from"./chunk-52V65YCI.js";import{a as br}from"./chunk-FKZOS77R.js";import{c as Fr}from"./chunk-ATNEYJ22.js";import"./chunk-6WFPQN4T.js";import{b as Wr,c as Hr}from"./chunk-ABUQ4EIP.js";import{a as Ir,b as Qe,c as nt,d as Zr,g as B}from"./chunk-UJJEBS4W.js";import"./chunk-NGJ5CWHR.js";import{a as Ce}from"./chunk-D7DPXC3A.js";import{a as Rr,b as Nr}from"./chunk-R5LGWJKV.js";import"./chunk-WGAUYJ4P.js";import"./chunk-UIR5RKCN.js";import{a as _r,b as Tr}from"./chunk-FELGKJRN.js";import{a as Vr,b as Ai}from"./chunk-CRYH3KM4.js";import{c as it}from"./chunk-C4NPICWQ.js";import"./chunk-JG6SCBOL.js";import"./chunk-XX6ZYDLH.js";import{d as kr}from"./chunk-UWC6A2K5.js";import{a as xt,b as wi,c as Ft,e as Lr,f as jr,g as zr,h as $r,i as re,j as Ur,k as Oi,l as Kr,m as Br,n as qr,p as Qr,q as Gr,s as Ci}from"./chunk-MCE6M2DX.js";import{a as Ot,b as ur}from"./chunk-O6HMI7CW.js";import{a as qe}from"./chunk-WXERLI5K.js";import{g as Mr}from"./chunk-BTHDGCD5.js";import{$ as Xe,$a as x,$b as Jn,$c as tt,Aa as Si,Ab as be,Ae as we,Be as wr,C as hi,Ce as Oe,D as je,Da as K,Dc as $e,De as Or,Ea as Ye,Eb as Vn,Ec as Ti,Ee as Cr,F as X,Fb as Wn,Fc as Ct,Fe as Ar,G as xn,Gc as hr,H as Fn,Ha as Gn,I as kn,J as Ln,Ja as vt,Jb as bt,Kc as bi,Lc as At,M as jn,Mc as gr,N as zn,Nc as yr,Oc as Sr,P as $n,Pa as ue,Pb as Hn,Pc as Mi,Qc as vr,R as G,Ra as de,Rc as Er,S as St,Tc as Pt,V as Un,Vc as et,W as C,Wb as Zn,Wc as V,Xa as me,Xc as Ue,Yc as fe,Z as D,Za as Et,Zb as Xn,Zc as Ke,_ as gi,_a as _t,_b as Yn,_c as pe,a as A,ab as F,ac as Ei,ad as M,b as N,ba as E,bb as z,bc as er,bd as It,c as Cn,ca as ae,cc as tr,d as Po,dc as ir,e as Io,ec as nr,fa as Kn,fc as rr,ga as Ee,gc as sr,h as pi,ha as yi,hc as or,ib as vi,ka as Bn,kb as Y,kc as Mt,l as An,la as _e,lc as Me,mc as ar,n as Pn,nc as lr,o as In,oc as cr,p as yt,pc as wt,q as Rn,qc as b,rc as le,s as W,sa as qn,sc as dr,t as Nn,tb as Te,tc as mr,ub as Tt,v as Dn,va as Qn,vb as Je,vc as fr,ve as Rt,w as Q,wc as ze,we as Nt,xc as _i,xe as Dt,zc as pr}from"./chunk-MDAOMI2L.js";var fo=Po((Cd,mo)=>{"use strict";var zl=function(e){return $l(e)&&!Ul(e)};function $l(n){return!!n&&typeof n=="object"}function Ul(n){var e=Object.prototype.toString.call(n);return e==="[object RegExp]"||e==="[object Date]"||ql(n)}var Kl=typeof Symbol=="function"&&Symbol.for,Bl=Kl?Symbol.for("react.element"):60103;function ql(n){return n.$$typeof===Bl}function Ql(n){return Array.isArray(n)?[]:{}}function pt(n,e){return e.clone!==!1&&e.isMergeableObject(n)?Ze(Ql(n),n,e):n}function Gl(n,e,t){return n.concat(e).map(function(i){return pt(i,t)})}function Vl(n,e){if(!e.customMerge)return Ze;var t=e.customMerge(n);return typeof t=="function"?t:Ze}function Wl(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter(function(e){return Object.propertyIsEnumerable.call(n,e)}):[]}function co(n){return Object.keys(n).concat(Wl(n))}function uo(n,e){try{return e in n}catch{return!1}}function Hl(n,e){return uo(n,e)&&!(Object.hasOwnProperty.call(n,e)&&Object.propertyIsEnumerable.call(n,e))}function Zl(n,e,t){var i={};return t.isMergeableObject(n)&&co(n).forEach(function(r){i[r]=pt(n[r],t)}),co(e).forEach(function(r){Hl(n,r)||(uo(n,r)&&t.isMergeableObject(e[r])?i[r]=Vl(r,t)(n[r],e[r],t):i[r]=pt(e[r],t))}),i}function Ze(n,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Gl,t.isMergeableObject=t.isMergeableObject||zl,t.cloneUnlessOtherwiseSpecified=pt;var i=Array.isArray(e),r=Array.isArray(n),s=i===r;return s?i?t.arrayMerge(n,e,t):Zl(n,e,t):pt(e,t)}Ze.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,r){return Ze(i,r,t)},{})};var Xl=Ze;mo.exports=Xl});var ge,kt=(ge=class{constructor(){this.title="modelsmith"}ngOnInit(){}},ge.\u0275fac=function(t){return new(t||ge)},ge.\u0275cmp=Ee({type:ge,selectors:[["app-root"]],standalone:!0,features:[be],decls:1,vars:0,template:function(t,i){t&1&&z(0,"router-outlet")},dependencies:[Mt]}),ge);kt=yt([Ot()],kt);function Jr(n){return new C(3e3,!1)}function Ro(){return new C(3100,!1)}function No(){return new C(3101,!1)}function Do(n){return new C(3001,!1)}function xo(n){return new C(3003,!1)}function Fo(n){return new C(3004,!1)}function ko(n,e){return new C(3005,!1)}function Lo(){return new C(3006,!1)}function jo(){return new C(3007,!1)}function zo(n,e){return new C(3008,!1)}function $o(n){return new C(3002,!1)}function Uo(n,e,t,i,r){return new C(3010,!1)}function Ko(){return new C(3011,!1)}function Bo(){return new C(3012,!1)}function qo(){return new C(3200,!1)}function Qo(){return new C(3202,!1)}function Go(){return new C(3013,!1)}function Vo(n){return new C(3014,!1)}function Wo(n){return new C(3015,!1)}function Ho(n){return new C(3016,!1)}function Zo(n,e){return new C(3404,!1)}function Xo(n){return new C(3502,!1)}function Yo(n){return new C(3503,!1)}function Jo(){return new C(3300,!1)}function ea(n){return new C(3504,!1)}function ta(n){return new C(3301,!1)}function ia(n,e){return new C(3302,!1)}function na(n){return new C(3303,!1)}function ra(n,e){return new C(3400,!1)}function sa(n){return new C(3401,!1)}function oa(n){return new C(3402,!1)}function aa(n,e){return new C(3505,!1)}function Ae(n){switch(n.length){case 0:return new $e;case 1:return n[0];default:return new Ti(n)}}function fs(n,e,t=new Map,i=new Map){let r=[],s=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,u=d&&a||new Map;l.forEach((p,g)=>{let m=g,f=p;if(g!=="offset")switch(m=n.normalizePropertyName(m,r),f){case Ct:f=t.get(g);break;case le:f=i.get(g);break;default:f=n.normalizeStyleValue(g,m,f,r);break}u.set(m,f)}),d||s.push(u),a=u,o=c}),r.length)throw Xo(r);return s}function Xi(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Pi(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Pi(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Pi(t,"destroy",n)));break}}function Pi(n,e,t){let i=t.totalTime,r=!!t.disabled,s=Yi(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),o=n._data;return o!=null&&(s._data=o),s}function Yi(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function ee(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function es(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var la=typeof document>"u"?null:document.documentElement;function Ji(n){let e=n.parentNode||n.host||null;return e===la?null:e}function ca(n){return n.substring(1,6)=="ebkit"}var Ne=null,ts=!1;function ua(n){Ne||(Ne=da()||{},ts=Ne.style?"WebkitAppearance"in Ne.style:!1);let e=!0;return Ne.style&&!ca(n)&&(e=n in Ne.style,!e&&ts&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Ne.style)),e}function da(){return typeof document<"u"?document.body:null}function ps(n,e){for(;e;){if(e===n)return!0;e=Ji(e)}return!1}function hs(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var en=(()=>{let e=class e{validateStyleProperty(i){return ua(i)}containsElement(i,r){return ps(i,r)}getParentElement(i){return Ji(i)}query(i,r,s){return hs(i,r,s)}computeStyle(i,r,s){return s||""}animate(i,r,s,o,a,l=[],c){return new $e(s,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})(),sn=class sn{};sn.NOOP=new en;var Fe=sn,ke=class{};var ma=1e3,gs="{{",fa="}}",ys="ng-enter",Fi="ng-leave",Lt="ng-trigger",Kt=".ng-trigger",is="ng-animating",ki=".ng-animating";function ye(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Li(parseFloat(e[1]),e[2])}function Li(n,e){switch(e){case"s":return n*ma;default:return n}}function Bt(n,e,t){return n.hasOwnProperty("duration")?n:pa(n,e,t)}function pa(n,e,t){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,s=0,o="";if(typeof n=="string"){let a=n.match(i);if(a===null)return e.push(Jr(n)),{duration:0,delay:0,easing:""};r=Li(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=Li(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(Ro()),a=!0),s<0&&(e.push(No()),a=!0),a&&e.splice(l,0,Jr(n))}return{duration:r,delay:s,easing:o}}function ha(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function ce(n,e,t){e.forEach((i,r)=>{let s=tn(r);t&&!t.has(r)&&t.set(r,n.style[s]),n.style[s]=i})}function xe(n,e){e.forEach((t,i)=>{let r=tn(i);n.style[r]=""})}function rt(n){return Array.isArray(n)?n.length==1?n[0]:fr(n):n}function ga(n,e,t){let i=e.params||{},r=Ss(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(Do(s))})}var ji=new RegExp(`${gs}\\s*(.+?)\\s*${fa}`,"g");function Ss(n){let e=[];if(typeof n=="string"){let t;for(;t=ji.exec(n);)e.push(t[1]);ji.lastIndex=0}return e}function ot(n,e,t){let i=`${n}`,r=i.replace(ji,(s,o)=>{let a=e[o];return a==null&&(t.push(xo(o)),a=""),a.toString()});return r==i?n:r}var ya=/-+([a-z0-9])/g;function tn(n){return n.replace(ya,(...e)=>e[1].toUpperCase())}function Sa(n,e){return n===0||e===0}function va(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;so.set(a,nn(n,a)))}}return e}function J(n,e,t){switch(e.type){case b.Trigger:return n.visitTrigger(e,t);case b.State:return n.visitState(e,t);case b.Transition:return n.visitTransition(e,t);case b.Sequence:return n.visitSequence(e,t);case b.Group:return n.visitGroup(e,t);case b.Animate:return n.visitAnimate(e,t);case b.Keyframes:return n.visitKeyframes(e,t);case b.Style:return n.visitStyle(e,t);case b.Reference:return n.visitReference(e,t);case b.AnimateChild:return n.visitAnimateChild(e,t);case b.AnimateRef:return n.visitAnimateRef(e,t);case b.Query:return n.visitQuery(e,t);case b.Stagger:return n.visitStagger(e,t);default:throw Fo(e.type)}}function nn(n,e){return window.getComputedStyle(n)[e]}var Ea=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),qt=class extends ke{normalizePropertyName(e,t){return tn(e)}normalizeStyleValue(e,t,i,r){let s="",o=i.toString().trim();if(Ea.has(t)&&i!==0&&i!=="0")if(typeof i=="number")s="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(ko(e,i))}return o+s}};var Qt="*";function _a(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>Ta(i,t,e)):t.push(n),t}function Ta(n,e,t){if(n[0]==":"){let l=ba(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(Wo(n)),e;let r=i[1],s=i[2],o=i[3];e.push(ns(r,o));let a=r==Qt&&o==Qt;s[0]=="<"&&!a&&e.push(ns(o,r))}function ba(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}var jt=new Set(["true","1"]),zt=new Set(["false","0"]);function ns(n,e){let t=jt.has(n)||zt.has(n),i=jt.has(e)||zt.has(e);return(r,s)=>{let o=n==Qt||n==r,a=e==Qt||e==s;return!o&&t&&typeof r=="boolean"&&(o=r?jt.has(n):zt.has(n)),!a&&i&&typeof s=="boolean"&&(a=s?jt.has(e):zt.has(e)),o&&a}}var vs=":self",Ma=new RegExp(`s*${vs}s*,?`,"g");function Es(n,e,t,i){return new zi(n).build(e,t,i)}var rs="",zi=class{constructor(e){this._driver=e}build(e,t,i){let r=new $i(t);return this._resetContextStyleTimingState(r),J(this,rt(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=rs,e.collectedStyles=new Map,e.collectedStyles.set(rs,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(Lo()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==b.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,s.push(this.visitState(l,t))}),l.name=c}else if(a.type==b.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(jo())}),{type:b.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Ss(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&t.errors.push(zo(e.name,[...s.values()]))}return{type:b.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=J(this,rt(e.animation),t),r=_a(e.expr,t.errors);return{type:b.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:De(e.options)}}visitSequence(e,t){return{type:b.Sequence,steps:e.steps.map(i=>J(this,i,t)),options:De(e.options)}}visitGroup(e,t){let i=t.currentTime,r=0,s=e.steps.map(o=>{t.currentTime=i;let a=J(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:b.Group,steps:s,options:De(e.options)}}visitAnimate(e,t){let i=Aa(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:ze({});if(s.type==b.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=ze(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:b.Animate,timings:i,style:r,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===le?i.push(a):t.errors.push($o(a)):i.push(new Map(Object.entries(a)));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf(gs)>=0){s=!0;break}}}),{type:b.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(s!=r&&s>=d.startTime&&r<=d.endTime&&(t.errors.push(Uo(l,d.startTime,d.endTime,s,r)),u=!1),s=d.startTime),u&&c.set(l,{startTime:s,endTime:r}),t.options&&ga(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:b.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Ko()),i;let r=1,s=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(w=>{let P=this._makeStyleAst(w,t),j=P.offset!=null?P.offset:Ca(P.styles),v=0;return j!=null&&(s++,v=P.offset=j),l=l||v<0||v>1,a=a||v0&&s{let j=p>0?P==g?1:p*P:o[P],v=j*T;t.currentTime=m+f.delay+v,f.duration=v,this._validateStyleAst(w,t),w.offset=j,i.styles.push(w)}),i}visitReference(e,t){return{type:b.Reference,animation:J(this,rt(e.animation),t),options:De(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:b.AnimateChild,options:De(e.options)}}visitAnimateRef(e,t){return{type:b.AnimateRef,animation:this.visitReference(e.animation,t),options:De(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=wa(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,ee(t.collectedStyles,t.currentQuerySelector,new Map);let a=J(this,rt(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:b.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:De(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Go());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Bt(e.timings,t.errors,!0);return{type:b.Stagger,animation:J(this,rt(e.animation),t),timings:i,options:null}}};function wa(n){let e=!!n.split(/\s*,\s*/).find(t=>t==vs);return e&&(n=n.replace(Ma,"")),n=n.replace(/@\*/g,Kt).replace(/@\w+/g,t=>Kt+"-"+t.slice(1)).replace(/:animating/g,ki),[n,e]}function Oa(n){return n?A({},n):null}var $i=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Ca(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Aa(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let s=Bt(n,e).duration;return Ii(s,0,"")}let t=n;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=Ii(0,0,"");return s.dynamic=!0,s.strValue=t,s}let r=Bt(t,e);return Ii(r.duration,r.delay,r.easing)}function De(n){return n?(n=A({},n),n.params&&(n.params=Oa(n.params))):n={},n}function Ii(n,e,t){return{duration:n,delay:e,easing:t}}function rn(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}var at=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Pa=1,Ia=":enter",Ra=new RegExp(Ia,"g"),Na=":leave",Da=new RegExp(Na,"g");function _s(n,e,t,i,r,s=new Map,o=new Map,a,l,c=[]){return new Ui().buildKeyframes(n,e,t,i,r,s,o,a,l,c)}var Ui=class{buildKeyframes(e,t,i,r,s,o,a,l,c,d=[]){c=c||new at;let u=new Ki(e,t,c,r,s,d,[]);u.options=l;let p=l.delay?ye(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([o],null,u.errors,l),J(this,i,u);let g=u.timelines.filter(m=>m.containsAnimation());if(g.length&&a.size){let m;for(let f=g.length-1;f>=0;f--){let T=g[f];if(T.element===t){m=T;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return g.length?g.map(m=>m.buildKeyframes()):[rn(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let r of e){let s=r?.delay;if(s){let o=typeof s=="number"?s:ye(ot(s,r?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime,o=i.duration!=null?ye(i.duration):null,a=i.delay!=null?ye(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),J(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,r=t,s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),s.delay!=null)){r.previousNode.type==b.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Gt);let o=ye(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>J(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],r=t.currentTimeline.currentTime,s=e.options&&e.options.delay?ye(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),J(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,r=t.params?ot(i,t.params,t.errors):i;return Bt(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());let s=e.style;s.type==b.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?ye(r.delay):0;s&&(t.previousNode.type===b.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Gt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);s&&u.delayNextStep(s),c===t.element&&(l=u.currentTimeline),J(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;o=Math.max(o,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=t.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;J(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},Gt={},Ki=class n{constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Vt(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=ye(i.duration)),i.delay!=null&&(r.delay=ye(i.delay));let s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=ot(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){let r=t||this.element,s=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Gt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},s=new Bi(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(Ra,"."+this._enterClassName),e=e.replace(Da,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&a.length==0&&o.push(Vo(t)),a}},Vt=class n{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Pa,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||le),this._currentKeyframe.set(t,le);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);let s=r&&r.params||{},o=xa(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ot(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??le),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Ct?e.add(u):d===le&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let s=[...e.values()],o=[...t.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return rn(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}},Bi=class extends Vt{constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let c=new Map(e[0]);c.set("offset",ss(a)),s.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let p=new Map(e[u]),g=p.get("offset"),m=t+g*i;p.set("offset",ss(m/o)),s.push(p)}i=o,t=0,r="",e=s}return rn(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}};function ss(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function xa(n,e){let t=new Map,i;return n.forEach(r=>{if(r==="*"){i??=e.keys();for(let s of i)t.set(s,le)}else for(let[s,o]of r)t.set(s,o)}),t}function os(n,e,t,i,r,s,o,a,l,c,d,u,p){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:p}}var Ri={},Wt=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return Fa(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,s,o,a,l,c,d){let u=[],p=this.ast.options&&this.ast.options.params||Ri,g=a&&a.params||Ri,m=this.buildStyles(i,g,u),f=l&&l.params||Ri,T=this.buildStyles(r,f,u),w=new Set,P=new Map,j=new Map,v=r==="void",I={params:Ts(f,p),delay:this.ast.options?.delay},_=d?[]:_s(e,t,this.ast.animation,s,o,m,T,I,c,u),k=0;return _.forEach(R=>{k=Math.max(R.duration+R.delay,k)}),u.length?os(t,this._triggerName,i,r,v,m,T,[],[],P,j,k,u):(_.forEach(R=>{let ne=R.element,Le=ee(P,ne,new Set);R.preStyleProps.forEach(Ie=>Le.add(Ie));let bn=ee(j,ne,new Set);R.postStyleProps.forEach(Ie=>bn.add(Ie)),ne!==t&&w.add(ne)}),os(t,this._triggerName,i,r,v,m,T,_,[...w.values()],P,j,k))}};function Fa(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}function Ts(n,e){let t=A({},e);return Object.entries(n).forEach(([i,r])=>{r!=null&&(t[i]=r)}),t}var qi=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,r=Ts(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=ot(o,r,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function ka(n,e,t){return new Qi(n,e,t)}var Qi=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{let s=r.options&&r.options.params||{};this.states.set(r.name,new qi(r.style,s,i))}),as(this.states,"true","1"),as(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Wt(e,r,this.states))}),this.fallbackTransition=La(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function La(n,e,t){let i=[(o,a)=>!0],r={type:b.Sequence,steps:[],options:null},s={type:b.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Wt(n,s,e)}function as(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ja=new at,Gi=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],r=[],s=Es(this._driver,t,i,r);if(i.length)throw Yo(i);r.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,i){let r=e.element,s=fs(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let r=[],s=this._animations.get(e),o,a=new Map;if(s?(o=_s(this._driver,t,s,ys,Fi,new Map,new Map,i,ja,r),o.forEach(d=>{let u=ee(a,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(r.push(Jo()),o=[]),r.length)throw ea(r);a.forEach((d,u)=>{d.forEach((p,g)=>{d.set(g,this._driver.computeStyle(u,g,le))})});let l=o.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ae(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ta(e);return t}listen(e,t,i,r){let s=Yi(t,"","","");return Xi(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let o=r[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},ls="ng-animate-queued",za=".ng-animate-queued",Ni="ng-animate-disabled",$a=".ng-animate-disabled",Ua="ng-star-inserted",Ka=".ng-star-inserted",Ba=[],bs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},se="__ng_removed",lt=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=Ga(r),i){let s=e,{value:o}=s,a=Cn(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(r=>{i[r]==null&&(i[r]=t[r])})}}},st="void",Di=new lt(st),Vi=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,ie(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw ia(i,t);if(i==null||i.length==0)throw na(t);if(!Va(i))throw ra(i,t);let s=ee(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);let a=ee(this._engine.statesByElement,e,new Map);return a.has(t)||(ie(e,Lt),ie(e,Lt+"-"+t),a.set(t,Di)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw sa(e);return t}trigger(e,t,i,r=!0){let s=this._getTrigger(t),o=new ct(this.id,t,e),a=this._engine.statesByElement.get(e);a||(ie(e,Lt),ie(e,Lt+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new lt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Di),!(c.value===st)&&l.value===c.value){if(!Za(l.params,c.params)){let f=[],T=s.matchStyles(l.value,l.params,f),w=s.matchStyles(c.value,c.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(()=>{xe(e,T),ce(e,w)})}return}let p=ee(this._engine.playersByElement,e,[]);p.forEach(f=>{f.namespaceId==this.id&&f.triggerName==t&&f.queued&&f.destroy()});let g=s.matchTransition(l.value,c.value,e,c.params),m=!1;if(!g){if(!r)return;g=s.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:g,fromState:l,toState:c,player:o,isFallbackTransition:m}),m||(ie(e,ls),o.onStart(()=>{Ge(e,ls)})),o.onDone(()=>{let f=this.players.indexOf(o);f>=0&&this.players.splice(f,1);let T=this._engine.playersByElement.get(e);if(T){let w=T.indexOf(o);w>=0&&T.splice(w,1)}}),this.players.push(o),p.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,Kt,!0);i.forEach(r=>{if(r[se])return;let s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,st,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Ae(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let r=new Set;t.forEach(s=>{let o=s.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Di,d=new lt(st),u=new ct(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{let s=e[se];(!s||s===bs)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){ie(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Yi(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Xi(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{let s=i.transition.ast.depCount,o=r.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Wi=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Vi(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}}return t}trigger(e,t,i,r){if($t(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!$t(t))return;let s=t[se];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ie(e,Ni)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ge(e,Ni))}removeNode(e,t,i){if($t(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[se]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return $t(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,Kt,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ki,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ae(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[se];if(t&&t.setForRemoval){if(e[se]=bs,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ni)&&this.markElementAsDisabled(e,!1),this.driver.query(e,$a,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ae(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw oa(e)}_flushAnimations(e,t){let i=new at,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(h=>{d.add(h);let y=this.driver.query(h,za,!0);for(let S=0;S{let S=ys+f++;m.set(y,S),h.forEach(O=>ie(O,S))});let T=[],w=new Set,P=new Set;for(let h=0;hw.add(O)):P.add(y))}let j=new Map,v=ds(p,Array.from(w));v.forEach((h,y)=>{let S=Fi+f++;j.set(y,S),h.forEach(O=>ie(O,S))}),e.push(()=>{g.forEach((h,y)=>{let S=m.get(y);h.forEach(O=>Ge(O,S))}),v.forEach((h,y)=>{let S=j.get(y);h.forEach(O=>Ge(O,S))}),T.forEach(h=>{this.processLeaveNode(h)})});let I=[],_=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(S=>{let O=S.player,U=S.element;if(I.push(O),this.collectedEnterElements.length){let q=U[se];if(q&&q.setForMove){if(q.previousTriggersValues&&q.previousTriggersValues.has(S.triggerName)){let Re=q.previousTriggersValues.get(S.triggerName),te=this.statesByElement.get(S.element);if(te&&te.has(S.triggerName)){let gt=te.get(S.triggerName);gt.value=Re,te.set(S.triggerName,gt)}}O.destroy();return}}let oe=!u||!this.driver.containsElement(u,U),Z=j.get(U),ve=m.get(U),L=this._buildInstruction(S,i,ve,Z,oe);if(L.errors&&L.errors.length){_.push(L);return}if(oe){O.onStart(()=>xe(U,L.fromStyles)),O.onDestroy(()=>ce(U,L.toStyles)),r.push(O);return}if(S.isFallbackTransition){O.onStart(()=>xe(U,L.fromStyles)),O.onDestroy(()=>ce(U,L.toStyles)),r.push(O);return}let On=[];L.timelines.forEach(q=>{q.stretchStartingKeyframe=!0,this.disabledNodes.has(q.element)||On.push(q)}),L.timelines=On,i.append(U,L.timelines);let Ao={instruction:L,player:O,element:U};o.push(Ao),L.queriedElements.forEach(q=>ee(a,q,[]).push(O)),L.preStyleProps.forEach((q,Re)=>{if(q.size){let te=l.get(Re);te||l.set(Re,te=new Set),q.forEach((gt,fi)=>te.add(fi))}}),L.postStyleProps.forEach((q,Re)=>{let te=c.get(Re);te||c.set(Re,te=new Set),q.forEach((gt,fi)=>te.add(fi))})});if(_.length){let h=[];_.forEach(y=>{h.push(aa(y.triggerName,y.errors))}),I.forEach(y=>y.destroy()),this.reportError(h)}let k=new Map,R=new Map;o.forEach(h=>{let y=h.element;i.has(y)&&(R.set(y,y),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,k))}),r.forEach(h=>{let y=h.element;this._getPreviousPlayers(y,!1,h.namespaceId,h.triggerName,null).forEach(O=>{ee(k,y,[]).push(O),O.destroy()})});let ne=T.filter(h=>ms(h,l,c)),Le=new Map;us(Le,this.driver,P,c,le).forEach(h=>{ms(h,l,c)&&ne.push(h)});let Ie=new Map;g.forEach((h,y)=>{us(Ie,this.driver,new Set(h),l,Ct)}),ne.forEach(h=>{let y=Le.get(h),S=Ie.get(h);Le.set(h,new Map([...y?.entries()??[],...S?.entries()??[]]))});let mi=[],Mn=[],wn={};o.forEach(h=>{let{element:y,player:S,instruction:O}=h;if(i.has(y)){if(d.has(y)){S.onDestroy(()=>ce(y,O.toStyles)),S.disabled=!0,S.overrideTotalTime(O.totalTime),r.push(S);return}let U=wn;if(R.size>1){let Z=y,ve=[];for(;Z=Z.parentNode;){let L=R.get(Z);if(L){U=L;break}ve.push(Z)}ve.forEach(L=>R.set(L,U))}let oe=this._buildAnimation(S.namespaceId,O,k,s,Ie,Le);if(S.setRealPlayer(oe),U===wn)mi.push(S);else{let Z=this.playersByElement.get(U);Z&&Z.length&&(S.parentPlayer=Ae(Z)),r.push(S)}}else xe(y,O.fromStyles),S.onDestroy(()=>ce(y,O.toStyles)),Mn.push(S),d.has(y)&&r.push(S)}),Mn.forEach(h=>{let y=s.get(h.element);if(y&&y.length){let S=Ae(y);h.setRealPlayer(S)}}),r.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h!oe.destroyed);U.length?Wa(this,y,U):this.processLeaveNode(y)}return T.length=0,mi.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let y=this.players.indexOf(h);this.players.splice(y,1)}),h.play()}),mi}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==st;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let r=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let c=l.element,d=c!==s,u=ee(i,c,[]);this._getPreviousPlayers(c,d,o,a,t.toState).forEach(g=>{let m=g.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),g.destroy(),u.push(g)})}xe(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){let a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(m=>{let f=m.element;d.add(f);let T=f[se];if(T&&T.removedBeforeQueried)return new $e(m.duration,m.delay);let w=f!==l,P=Ha((i.get(f)||Ba).map(k=>k.getRealPlayer())).filter(k=>{let R=k;return R.element?R.element===f:!1}),j=s.get(f),v=o.get(f),I=fs(this._normalizer,m.keyframes,j,v),_=this._buildPlayer(m,I,P);if(m.subTimeline&&r&&u.add(f),w){let k=new ct(e,a,f);k.setRealPlayer(_),c.push(k)}return _});c.forEach(m=>{ee(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Qa(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>ie(m,is));let g=Ae(p);return g.onDestroy(()=>{d.forEach(m=>Ge(m,is)),ce(l,t.toStyles)}),u.forEach(m=>{ee(r,m,[]).push(g)}),g}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new $e(e.duration,e.delay)}},ct=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new $e,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Xi(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){ee(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Qa(n,e,t){let i=n.get(e);if(i){if(i.length){let r=i.indexOf(t);i.splice(r,1)}i.length==0&&n.delete(e)}return i}function Ga(n){return n??null}function $t(n){return n&&n.nodeType===1}function Va(n){return n=="start"||n=="done"}function cs(n,e){let t=n.style.display;return n.style.display=e??"none",t}function us(n,e,t,i,r){let s=[];t.forEach(l=>s.push(cs(l)));let o=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let p=e.computeStyle(c,u,r);d.set(u,p),(!p||p.length==0)&&(c[se]=qa,o.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>cs(l,s[a++])),o}function ds(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,r=new Set(e),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:r.has(c)?l=i:l=o(c),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function ie(n,e){n.classList?.add(e)}function Ge(n,e){n.classList?.remove(e)}function Wa(n,e,t){Ae(t).onDone(()=>n.processLeaveNode(e))}function Ha(n){let e=[];return Ms(n,e),e}function Ms(n,e){for(let t=0;tr.add(s)):e.set(n,i),t.delete(n),!0}var We=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Wi(e.body,t,i),this._timelineEngine=new Gi(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){let o=e+"-"+r,a=this._triggerCache[o];if(!a){let l=[],c=[],d=Es(this._driver,s,l,c);if(l.length)throw Zo(r,l);c.length&&void 0,a=ka(r,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if(i.charAt(0)=="@"){let[s,o]=es(i),a=r;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if(i.charAt(0)=="@"){let[o,a]=es(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Xa(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=xi(e[0]),e.length>1&&(i=xi(e[e.length-1]))):e instanceof Map&&(t=xi(e)),t||i?new Hi(n,t,i):null}var Ve=class Ve{constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let r=Ve.initialStylesByElement.get(e);r||Ve.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ce(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ce(this._element,this._initialStyles),this._endStyles&&(ce(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ve.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),ce(this._element,this._initialStyles),this._state=3)}};Ve.initialStylesByElement=new WeakMap;var Hi=Ve;function xi(n){let e=null;return n.forEach((t,i)=>{Ya(i)&&(e=e||new Map,e.set(i,t))}),e}function Ya(n){return n==="display"||n==="position"}var Ht=class{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:nn(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Zt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return ps(e,t)}getParentElement(e){return Ji(e)}query(e,t,i){return hs(e,t,i)}computeStyle(e,t,i){return nn(e,t)}animate(e,t,i,r,s,o=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};s&&(l.easing=s);let c=new Map,d=o.filter(g=>g instanceof Ht);Sa(i,r)&&d.forEach(g=>{g.currentSnapshot.forEach((m,f)=>c.set(f,m))});let u=ha(t).map(g=>new Map(g));u=va(e,u,c);let p=Xa(e,u);return new Ht(e,u,l,p)}};var Ut="@",ws="@.disabled",Xt=class{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==Ut&&t==ws?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Zi=class extends Xt{constructor(e,t,i,r,s){super(t,i,r,s),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==Ut?t.charAt(1)=="."&&t==ws?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==Ut){let r=Ja(e),s=t.slice(1),o="";return s.charAt(0)!=Ut&&([s,o]=el(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}};function Ja(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function el(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var Yt=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,s)=>{let o=s?.parentNode(r);o&&s.removeChild(o,r)}}createRenderer(e,t){let i="",r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Xt(i,r,this.engine,u),c.set(r,d)}return d}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,e,c.name,c)};return t.data.animation.forEach(a),new Zi(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var il=(()=>{let e=class e extends We{constructor(i,r,s){super(i,r,s)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(E(Hn),E(Fe),E(ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function nl(){return new qt}function rl(n,e,t){return new Yt(n,e,t)}var Cs=[{provide:ke,useFactory:nl},{provide:We,useClass:il},{provide:Gn,useFactory:rl,deps:[ir,We,vt]}],Os=[{provide:Fe,useFactory:()=>new Zt},{provide:Si,useValue:"BrowserAnimations"},...Cs],sl=[{provide:Fe,useClass:en},{provide:Si,useValue:"NoopAnimations"},...Cs],As=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?sl:Os}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=yi({type:e}),e.\u0275inj=gi({providers:Os,imports:[rr]});let n=e;return n})();var Pe=class{static setItem(e,t){localStorage.setItem(e,JSON.stringify(t))}static getItem(e){let t=localStorage.getItem(e);return t?JSON.parse(t):null}static getNestedItem(e,t){let i=this.getItem(e);return i?this.getNestedProperty(i,t):null}static removeItem(e){localStorage.removeItem(e)}static clear(){localStorage.clear()}static getNestedProperty(e,t){if(!t)return e;let i=t.split(".");for(let r=0;r{let e=class e{constructor(i){this.router=i}canActivate(){return Pe.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?!0:(this.router.navigate([`/${M.AUTH.ROOT}`]),!1)}};e.\u0275fac=function(r){return new(r||e)(E(Me))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var Jt=(()=>{let e=class e{constructor(i,r){this.router=i,this.configFacadeService=r}canActivate(){let i=Pe.getNestedItem($.CORE.ROOT,`${$.CONFIGS.ROOT}.${$.CONFIGS.DEFAULT_MODE}`);return i&&(i===he.GUIDED?(this.router.navigate([`/${M.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:he.GUIDED}))):(this.router.navigate([`/${M.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:he.EXPERT})))),!0}};e.\u0275fac=function(r){return new(r||e)(E(Me),E(qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var ei=(()=>{let e=class e{constructor(i){this.router=i}canActivate(){return Pe.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?(this.router.navigate([`/${M.MODE_SELECT.ROOT}`]),!1):!0}};e.\u0275fac=function(r){return new(r||e)(E(Me))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function al(n,e){if(n&1&&z(0,"mat-icon",3),n&2){let t=Y();de("fontSet",t.item.fontSet)("fontIcon",t.item.icon)}}function ll(n,e){if(n&1&&z(0,"mat-icon",4),n&2){let t=Y();de("svgIcon",t.item.icon)}}function cl(n,e){if(n&1&&(x(0,"mat-icon"),Te(1),F()),n&2){let t=Y();K(),Tt(t.item.icon)}}function ul(n,e){if(n&1&&(x(0,"div")(1,"div",6),Te(2),F()()),n&2){let t=Y();K(2),Je(" ",t.item.label," ")}}function dl(n,e){n&1&&(x(0,"div"),z(1,"ms-spining-indicator"),F())}function ml(n,e){if(n&1&&ue(0,dl,2,0,"div"),n&2){let t=Y();me(t.isExpanded&&e===t.item.key?0:-1)}}var Is=(()=>{let e=class e{constructor(i){this.pageRunningScriptSpiningIndicatorService=i,this.itemStyle="accent",this.isExpanded=!0}};e.\u0275fac=function(r){return new(r||e)(Ye(nt))},e.\u0275cmp=Ee({type:e,selectors:[["ms-sidenav-item"]],inputs:{item:"item",itemStyle:"itemStyle",isExpanded:"isExpanded"},standalone:!0,features:[be],decls:11,vars:6,consts:[["routerLinkActive","active-route",1,"sidenav-item",3,"routerLink"],[1,"left-side"],[1,"item-icon"],[3,"fontSet","fontIcon"],[3,"svgIcon"],[1,"right-side"],[1,"item-label","paragraph-semibold-p3-small-emphasis"]],template:function(r,s){if(r&1&&(x(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",2),ue(4,al,1,2,"mat-icon",3)(5,ll,1,1,"mat-icon",4)(6,cl,2,1,"mat-icon"),F()(),ue(7,ul,3,1,"div"),F(),x(8,"div",5),ue(9,ml,1,1),Vn(10,"async"),F()()),r&2){let o,a;de("routerLink",s.item.route),K(4),me((o=s.item.fontSet)==="ms"?4:o==="svg"?5:6),K(3),me(s.isExpanded?7:-1),K(2),me((a=Wn(10,4,s.pageRunningScriptSpiningIndicatorService.currentRunningPage$))?9:-1,a)}},dependencies:[Xn,Zn,Dt,Nt,Ir,wt,ar,lr],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.sidenav-item[_ngcontent-%COMP%]{padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.sidenav-item[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%], .sidenav-item[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{display:flex;align-items:center}.sidenav-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{margin-left:10px;white-space:nowrap}.sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}[itemStyle=grey][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--foregrounds-750)}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%]{background-color:var(--foregrounds-150);border-radius:8px}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{color:var(--foregrounds-800)}[itemStyle=accent][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--accent-400)}"]});let n=e;return n})();var fl=[{route:M.ADMIN.ROOT,label:"Admin",icon:"icon-Admin",fontSet:"ms"}],pl=[{route:M.WIZARD.ROOT,label:"Wizard",icon:"icon-Question",fontSet:"ms"}],hl=[{route:M.MODEL_COMPRESSION.ROOT,label:"Model Compression",icon:"icon-GearSix",fontSet:"ms",key:Qe.MODEL_COMPRESSION},{route:M.MACHINE_UNLEARNING.ROOT,label:"Machine Unlearning",icon:"icon-Systems-Manager",fontSet:"ms",key:Qe.MACHINE_UNLEARNING},{route:M.AWQ.ROOT,label:"LLM Quantization",icon:"icon-Lightning",fontSet:"ms",key:Qe.AWQ},{route:M.MULTI_MODAL.ROOT,label:"Multi-modal",icon:"icon-Environmental",fontSet:"ms",key:Qe.MODEL_SPECIALIZATION},{route:M.DIFFUSION_MODEL.ROOT,label:"Diffusion Model",icon:"machine-learning",fontSet:"svg",key:Qe.DIFFUSION_MODEL},{route:M.ALGORITHM_COMPARISON.ROOT,label:"Algorithm Comparison",icon:"icon-Rocket",fontSet:"ms"}],Rs={guided:pl,expert:hl,common:fl};var on=(n,e)=>e.route;function gl(n,e){if(n&1&&(x(0,"div",5)(1,"div",13),Te(2),F(),x(3,"div",14),Te(4),z(5,"mat-icon",15),F()()),n&2){let t=Y();K(2),Je(" ",t.currentMode===t.Modes.GUIDED?"Guided mode":"Expert mode"," "),K(2),Je(" ",t.currentMode===t.Modes.GUIDED?"Switch to expert mode":"Switch to guided mode"," ")}}function yl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=Y(2);K(),de("item",t)("isExpanded",i.isExpanded)}}function Sl(n,e){if(n&1&&Et(0,yl,2,2,"div",8,on),n&2){let t=Y();_t(t.SidenavConstants.guided)}}function vl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=Y(2);K(),de("item",t)("isExpanded",i.isExpanded)}}function El(n,e){if(n&1&&Et(0,vl,2,2,"div",8,on),n&2){let t=Y();_t(t.SidenavConstants.expert)}}function _l(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",17),F()),n&2){let t=e.$implicit,i=Y();K(),de("item",t)("isExpanded",i.isExpanded)}}function Tl(n,e){n&1&&(x(0,"span",12),Te(1,"Collapse"),F())}var Se,ti=(Se=class{constructor(e,t){this.router=e,this.configFacadeService=t,this.SidenavConstants=Rs,this.Modes=he,this.isExpanded=!0}ngOnInit(){this.listenToCurrentModeChanges()}listenToCurrentModeChanges(){this.configFacadeService.currentMode$.pipe(ur(this)).subscribe(e=>{this.currentMode=e})}toggleMode(){this.currentMode===he.GUIDED?(this.router.navigate([`/${M.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:he.EXPERT}))):(this.router.navigate([`/${M.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:he.GUIDED})))}toggleSidebar(){this.isExpanded=!this.isExpanded}},Se.\u0275fac=function(t){return new(t||Se)(Ye(Me),Ye(qe))},Se.\u0275cmp=Ee({type:Se,selectors:[["ms-sidenav"]],standalone:!0,features:[be],decls:21,vars:5,consts:[[1,"sidenav-wrapper"],[1,"top-section-items"],[1,"switch",3,"click"],[1,"left"],["fontSet","ms","fontIcon","icon-User"],[1,"right"],[1,"mt-3"],[1,"mt-5"],[1,"sidenav-items-wrapper"],[1,"mt-2","mb-4"],[1,"bottom-section-items"],[1,"sidebar-toggle",3,"click"],[1,"paragraph-semibold-p3-small-emphasis"],[1,"paragraph-semibold-p3-default-emphasis","text-container"],[1,"paragraph-regular-p4-small","switch-button","text-container"],["fontSet","ms","fontIcon","icon-ArrowRight",1,"switch-icon"],["itemStyle","grey",3,"item","isExpanded"],["itemStyle","accent",3,"item","isExpanded"]],template:function(t,i){t&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),vi("click",function(){return i.toggleMode()}),x(3,"div",3),z(4,"mat-icon",4),F(),ue(5,gl,6,2,"div",5),F(),x(6,"div",6),z(7,"mat-divider"),F(),ue(8,Sl,2,0)(9,El,2,0),x(10,"div",7),z(11,"mat-divider"),F(),Et(12,_l,2,2,"div",8,on),F(),x(14,"div",9),z(15,"mat-divider"),F(),x(16,"div",10)(17,"div",11),vi("click",function(){return i.toggleSidebar()}),x(18,"mat-icon"),Te(19),F(),ue(20,Tl,2,0,"span",12),F()()()),t&2&&(de("@expandCollapse",i.isExpanded?"expanded":"collapsed"),K(5),me(i.isExpanded?5:-1),K(3),me(i.currentMode===i.Modes.GUIDED?8:9),K(4),_t(i.SidenavConstants.common),K(7),Tt(i.isExpanded?"chevron_left":"chevron_right"),K(),me(i.isExpanded?20:-1))},dependencies:[Is,Dt,Nt,Tr,_r],styles:["[_nghost-%COMP%]{height:100%}.sidenav-wrapper[_ngcontent-%COMP%]{padding:0 12px;display:flex;flex-direction:column;justify-content:space-between}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%]{display:flex;cursor:pointer;height:38px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-600);margin-left:8px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{margin-left:10px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%] .switch-icon[_ngcontent-%COMP%]{margin-left:5px;font-size:16px;width:16px;height:16px}.sidenav-wrapper[_ngcontent-%COMP%] .sidenav-items-wrapper[_ngcontent-%COMP%]{margin-top:10px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;padding:6px;cursor:pointer;transition:background-color .3s ease;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]:hover{color:var(--foregrounds-800);background-color:var(--foregrounds-150);border-radius:8px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;color:var(--foregrounds-750)}.text-container[_ngcontent-%COMP%]{width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],data:{animation:[dr("expandCollapse",[_i("expanded",ze({width:"270px"})),_i("collapsed",ze({width:"40px"})),pr("expanded <=> collapsed",mr("300ms ease-in-out"))])]}}),Se);ti=yt([Ot()],ti);var Ns=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Ee({type:e,selectors:[["ms-main-layout"]],standalone:!0,features:[be],decls:9,vars:0,consts:[[1,"container"],[1,"body"],[1,"content"],[1,"router-outlet"],[1,"footer"],["styleMode","mainLayout"]],template:function(r,s){r&1&&(x(0,"div",0),z(1,"ms-header"),x(2,"div",1),z(3,"ms-sidenav"),x(4,"div",2)(5,"div",3),z(6,"router-outlet"),F(),x(7,"div",4),z(8,"ms-footer",5),F()()()())},dependencies:[br,Pr,ti,wt,Mt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden;max-width:100vw}.body[_ngcontent-%COMP%]{flex:1;display:flex;margin-top:20px}.content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;margin:0 10px;overflow-x:hidden}.router-outlet[_ngcontent-%COMP%]{flex:1;padding:0 2px}ms-footer[_ngcontent-%COMP%]{height:60px}ms-header[_ngcontent-%COMP%], ms-sidenav[_ngcontent-%COMP%]{overflow-x:hidden}"]});let n=e;return n})();var Ds={records:xr};var xs=[{path:M.AUTH.ROOT,loadChildren:()=>import("./chunk-PA77ZZ6Z.js").then(n=>n.AuthModule),canActivate:[ei]},{path:M.MODE_SELECT.ROOT,loadChildren:()=>import("./chunk-WHCT2CHH.js").then(n=>n.ModeSelectModule),canActivate:[dt,Jt]},{path:M.DEMO.ROOT,loadChildren:()=>import("./chunk-DZ5JICVV.js").then(n=>n.DemoModule)},{path:"",pathMatch:"full",redirectTo:M.AUTH.ROOT},{path:"",component:Ns,canActivate:[dt],children:[{path:"",redirectTo:M.WIZARD.ROOT,pathMatch:"full"},{path:M.WIZARD.ROOT,loadChildren:()=>import("./chunk-NWC74UFO.js").then(n=>n.WizardModule)},{path:M.MODEL_COMPRESSION.ROOT,loadChildren:()=>import("./chunk-HP7ZL2CH.js").then(n=>n.ModelCompressionModule)},{path:M.MACHINE_UNLEARNING.ROOT,loadChildren:()=>import("./chunk-AMTBOAY6.js").then(n=>n.MachineUnlearningModule)},{path:M.AWQ.ROOT,loadChildren:()=>import("./chunk-OYTTYU2D.js").then(n=>n.LlmQuantizationModule)},{path:M.RUNNING.ROOT,loadChildren:()=>import("./chunk-CTNLIWRS.js").then(n=>n.RunningModule)},{path:M.MODEL_TRAINING.ROOT,loadChildren:()=>import("./chunk-WCP5O7G5.js").then(n=>n.ModelTrainingModule)},{path:M.ALGORITHM_COMPARISON.ROOT,loadChildren:()=>import("./chunk-YCZBSARA.js").then(n=>n.AlgorithmComparisonModule),providers:[_e(et.forFeature("runRecords",Ds)),_e(tt.forFeature([Dr]))]},{path:M.MULTI_MODAL.ROOT,loadChildren:()=>import("./chunk-Q2OLQC4D.js").then(n=>n.MultiModalModule)},{path:M.DIFFUSION_MODEL.ROOT,loadChildren:()=>import("./chunk-RF6RNDKJ.js").then(n=>n.DiffusionModelModule)},{path:M.ADMIN.ROOT,loadChildren:()=>import("./chunk-N3UEKYC2.js").then(n=>n.AdminModule)}]}];var an=(()=>{let e=class e{constructor(i,r){this.matIconRegistry=i,this.domSanitizer=r}registerIcon(i,r){this.matIconRegistry.addSvgIcon(i,this.domSanitizer.bypassSecurityTrustResourceUrl(r))}registerIcons(i,r){i.forEach(s=>{let o=`${r}/${s}.svg`;this.registerIcon(s,o)})}registerAllCustomIcons(){this.registerIcons(["machine-learning"],"assets/icons")}initializeIcons(){this.registerAllCustomIcons()}};e.\u0275fac=function(r){return new(r||e)(E(Rt),E(sr))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function Fs(){return[Ci,Ai,dt,Oi,ei,Jt,wi,qe,Ar,Ur,$r,zr,Kr,qr,Br,nt,Vr,kr,an,{provide:Kn,multi:!0,useValue(){let n=ae(Oi),e=ae(nt),t=ae(Rt),i=ae(wi),r=ae(Ci),s=ae(Ai),o=ae(an);r.connect(),s.connect(),n.trackNavigationHistory(),e.trackCurrentRunningPage(),t.registerFontClassAlias("icomoon","ms"),o.registerAllCustomIcons(),i.dispatch(xt.fetchScriptStatus())}}]}function ks(){return[{provide:Mr,useValue:{floatLabel:"always",appearance:"outline",density:"cozy"}},{provide:Fr,useValue:{displayDefaultIndicatorType:!0,showError:!1}},{provide:Zr,useValue:{placeholderLabel:"Search...",noEntriesFoundLabel:"No matching entries found..."}}]}var ii=class{constructor(e){this.httpClient=e}get httpHeaders(){return new Yn}getRequestOptions(e){let t=e.getParams||void 0;return{headers:this.httpHeaders,params:t}}serviceCall(e){return bt()&&console.log(`serviceCall@Client - ${e.getMethod} - ${e.getUrl}`),W(e).pipe(G(t=>{if(t.getMock)return this.httpClient.get(t.getUrl,this.getRequestOptions(t)).pipe(Ln(t.getMockDelay));switch(t.getMethod){case"GET":return this.httpClient.get(t.getUrl,this.getRequestOptions(t));case"POST":return this.httpClient.post(t.getUrl,t.getBody,this.getRequestOptions(t));case"PUT":return this.httpClient.put(t.getUrl,null,this.getRequestOptions(t));default:throw new Error(`Unsupported method: ${t.getMethod}`)}}))}};function Ls(){return[{provide:Oe,useFactory:n=>new ii(n),deps:[Jn]}]}var bl=(()=>{let e=class e{constructor(i){this.bannerService=i}handleError(i,r){let s=r.error,{error:o}=s;switch(r.status){case 400:case 404:case 500:case 503:this.spawnNotification(o);break;case 504:this.spawnNotification(s);break;default:this.spawnNotification(o);break}return Nn(()=>r)}spawnNotification(i){this.bannerService.showError(i)}};e.\u0275fac=function(r){return new(r||e)(E(Ft))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),js=(()=>{let e=class e{constructor(i){this.errorHandler=i}intercept(i,r){return r.handle(i).pipe(X(s=>this.errorHandler.handleError(i,s)))}};e.\u0275fac=function(r){return new(r||e)(E(bl))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function zs(){return[{provide:Ei,useClass:js,multi:!0},{provide:Ei,useClass:Xr,multi:!0}]}var ft="PERFORM_ACTION",Ml="REFRESH",Qs="RESET",Gs="ROLLBACK",Vs="COMMIT",Ws="SWEEP",Hs="TOGGLE_ACTION",wl="SET_ACTIONS_ACTIVE",Zs="JUMP_TO_STATE",Xs="JUMP_TO_ACTION",En="IMPORT_STATE",Ys="LOCK_CHANGES",Js="PAUSE_RECORDING",He=class{constructor(e,t){if(this.action=e,this.timestamp=t,this.type=ft,typeof e.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},ln=class{constructor(){this.type=Ml}},cn=class{constructor(e){this.timestamp=e,this.type=Qs}},un=class{constructor(e){this.timestamp=e,this.type=Gs}},dn=class{constructor(e){this.timestamp=e,this.type=Vs}},mn=class{constructor(){this.type=Ws}},fn=class{constructor(e){this.id=e,this.type=Hs}};var pn=class{constructor(e){this.index=e,this.type=Zs}},hn=class{constructor(e){this.actionId=e,this.type=Xs}},gn=class{constructor(e){this.nextLiftedState=e,this.type=En}},yn=class{constructor(e){this.status=e,this.type=Ys}},Sn=class{constructor(e){this.status=e,this.type=Js}};var oi=new Xe("@ngrx/store-devtools Options"),$s=new Xe("@ngrx/store-devtools Initial Config");function eo(){return null}var Ol="NgRx Store DevTools";function Cl(n){let e={maxAge:!1,monitor:eo,actionSanitizer:void 0,stateSanitizer:void 0,name:Ol,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},t=typeof n=="function"?n():n,i=t.logOnly?{pause:!0,export:!0,test:!0}:!1,r=t.features||i||e.features;r.import===!0&&(r.import="custom");let s=Object.assign({},e,{features:r},t);if(s.maxAge&&s.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${s.maxAge}`);return s}function Us(n,e){return n.filter(t=>e.indexOf(t)<0)}function to(n){let{computedStates:e,currentStateIndex:t}=n;if(t>=e.length){let{state:r}=e[e.length-1];return r}let{state:i}=e[t];return i}function mt(n){return new He(n,+Date.now())}function Al(n,e){return Object.keys(e).reduce((t,i)=>{let r=Number(i);return t[r]=io(n,e[r],r),t},{})}function io(n,e,t){return N(A({},e),{action:n(e.action,t)})}function Pl(n,e){return e.map((t,i)=>({state:no(n,t.state,i),error:t.error}))}function no(n,e,t){return n(e,t)}function ro(n){return n.predicate||n.actionsSafelist||n.actionsBlocklist}function Il(n,e,t,i){let r=[],s={},o=[];return n.stagedActionIds.forEach((a,l)=>{let c=n.actionsById[a];c&&(l&&_n(n.computedStates[l],c,e,t,i)||(s[a]=c,r.push(a),o.push(n.computedStates[l])))}),N(A({},n),{stagedActionIds:r,actionsById:s,computedStates:o})}function _n(n,e,t,i,r){let s=t&&!t(n,e.action),o=i&&!e.action.type.match(i.map(l=>Ks(l)).join("|")),a=r&&e.action.type.match(r.map(l=>Ks(l)).join("|"));return s||o||a}function Ks(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function so(n){return{ngZone:n?ae(vt):null,connectInZone:n}}var ai=(()=>{let e=class e extends At{};e.\u0275fac=(()=>{let i;return function(s){return(i||(i=qn(e)))(s||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})(),ni={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},vn=new Xe("@ngrx/store-devtools Redux Devtools Extension"),oo=(()=>{let e=class e{constructor(i,r,s){this.config=r,this.dispatcher=s,this.zoneConfig=so(this.config.connectInZone),this.devtoolsExtension=i,this.createActionStreams()}notify(i,r){if(this.devtoolsExtension)if(i.type===ft){if(r.isLocked||r.isPaused)return;let s=to(r);if(ro(this.config)&&_n(s,i,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let o=this.config.stateSanitizer?no(this.config.stateSanitizer,s,r.currentStateIndex):s,a=this.config.actionSanitizer?io(this.config.actionSanitizer,i,r.nextActionId):i;this.sendToReduxDevtools(()=>this.extensionConnection.send(a,o))}else{let s=N(A({},r),{stagedActionIds:r.stagedActionIds,actionsById:this.config.actionSanitizer?Al(this.config.actionSanitizer,r.actionsById):r.actionsById,computedStates:this.config.stateSanitizer?Pl(this.config.stateSanitizer,r.computedStates):r.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,s,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new pi(i=>{let r=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=r,r.init(),r.subscribe(s=>i.next(s)),r.unsubscribe}):In}createActionStreams(){let i=this.createChangesObservable().pipe(zn()),r=i.pipe(je(d=>d.type===ni.START)),s=i.pipe(je(d=>d.type===ni.STOP)),o=i.pipe(je(d=>d.type===ni.DISPATCH),Q(d=>this.unwrapAction(d.payload)),xn(d=>d.type===En?this.dispatcher.pipe(je(u=>u.type===Mi),Dn(1e3),Fn(1e3),Q(()=>d),X(()=>W(d)),kn(1)):W(d))),l=i.pipe(je(d=>d.type===ni.ACTION),Q(d=>this.unwrapAction(d.payload))).pipe(St(s)),c=o.pipe(St(s));this.start$=r.pipe(St(s)),this.actions$=this.start$.pipe(G(()=>l)),this.liftedActions$=this.start$.pipe(G(()=>c))}unwrapAction(i){return typeof i=="string"?(0,eval)(`(${i})`):i}getExtensionConfig(i){let r={name:i.name,features:i.features,serialize:i.serialize,autoPause:i.autoPause??!1,trace:i.trace??!1,traceLimit:i.traceLimit??75};return i.maxAge!==!1&&(r.maxAge=i.maxAge),r}sendToReduxDevtools(i){try{i()}catch(r){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",r)}}};e.\u0275fac=function(r){return new(r||e)(E(vn),E(oi),E(ai))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})(),si={type:bi},Rl="@ngrx/store-devtools/recompute",Nl={type:Rl};function ao(n,e,t,i,r){if(i)return{state:t,error:"Interrupted by an error up the chain"};let s=t,o;try{s=n(t,e)}catch(a){o=a.toString(),r.handleError(a)}return{state:s,error:o}}function ri(n,e,t,i,r,s,o,a,l){if(e>=n.length&&n.length===s.length)return n;let c=n.slice(0,e),d=s.length-(l?1:0);for(let u=e;u-1?m:ao(t,g,f,T,a);c.push(P)}return l&&c.push(n[n.length-1]),c}function Dl(n,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:mt(si)},stagedActionIds:[0],skippedActionIds:[],committedState:n,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function xl(n,e,t,i,r={}){return s=>(o,a)=>{let{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:m,computedStates:f,isLocked:T,isPaused:w}=o||e;o||(c=Object.create(c));function P(I){let _=I,k=u.slice(1,_+1);for(let R=0;Rk.indexOf(R)===-1),u=[0,...u.slice(_+1)],g=f[_].state,f=f.slice(_),m=m>_?m-_:0}function j(){c={0:mt(si)},d=1,u=[0],p=[],g=f[m].state,m=0,f=[]}let v=0;switch(a.type){case Ys:{T=a.status,v=1/0;break}case Js:{w=a.status,w?(u=[...u,d],c[d]=new He({type:"@ngrx/devtools/pause"},+Date.now()),d++,v=u.length-1,f=f.concat(f[f.length-1]),m===u.length-2&&m++,v=1/0):j();break}case Qs:{c={0:mt(si)},d=1,u=[0],p=[],g=n,m=0,f=[];break}case Vs:{j();break}case Gs:{c={0:mt(si)},d=1,u=[0],p=[],m=0,f=[];break}case Hs:{let{id:I}=a;p.indexOf(I)===-1?p=[I,...p]:p=p.filter(k=>k!==I),v=u.indexOf(I);break}case wl:{let{start:I,end:_,active:k}=a,R=[];for(let ne=I;ne<_;ne++)R.push(ne);k?p=Us(p,R):p=[...p,...R],v=u.indexOf(I);break}case Zs:{m=a.index,v=1/0;break}case Xs:{let I=u.indexOf(a.actionId);I!==-1&&(m=I),v=1/0;break}case Ws:{u=Us(u,p),p=[],m=Math.min(m,u.length-1);break}case ft:{if(T)return o||e;if(w||o&&_n(o.computedStates[m],a,r.predicate,r.actionsSafelist,r.actionsBlocklist)){let _=f[f.length-1];f=[...f.slice(0,-1),ao(s,a.action,_.state,_.error,t)],v=1/0;break}r.maxAge&&u.length===r.maxAge&&P(1),m===u.length-1&&m++;let I=d++;c[I]=a,u=[...u,I],v=u.length-1;break}case En:{({monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:m,computedStates:f,isLocked:T,isPaused:w}=a.nextLiftedState);break}case bi:{v=0,r.maxAge&&u.length>r.maxAge&&(f=ri(f,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);break}case Mi:{if(f.filter(_=>_.error).length>0)v=0,r.maxAge&&u.length>r.maxAge&&(f=ri(f,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);else{if(!w&&!T){m===u.length-1&&m++;let _=d++;c[_]=new He(a,+Date.now()),u=[...u,_],v=u.length-1,f=ri(f,v,s,g,c,u,p,t,w)}f=f.map(_=>N(A({},_),{state:s(_.state,Nl)})),m=u.length-1,r.maxAge&&u.length>r.maxAge&&P(u.length-r.maxAge),v=1/0}break}default:{v=1/0;break}}return f=ri(f,v,s,g,c,u,p,t,w),l=i(l,a),{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:m,computedStates:f,isLocked:T,isPaused:w}}}var Bs=(()=>{let e=class e{constructor(i,r,s,o,a,l,c,d){let u=Dl(c,d.monitor),p=xl(c,u,l,d.monitor,d),g=hi(hi(r.asObservable().pipe($n(1)),o.actions$).pipe(Q(mt)),i,o.liftedActions$).pipe(Rn(Pn)),m=s.pipe(Q(p)),f=so(d.connectInZone),T=new An(1);this.liftedStateSubscription=g.pipe(Un(m),qs(f),jn(({state:j},[v,I])=>{let _=I(j,v);return v.type!==ft&&ro(d)&&(_=Il(_,d.predicate,d.actionsSafelist,d.actionsBlocklist)),o.notify(v,_),{state:_,action:v}},{state:u,action:null})).subscribe(({state:j,action:v})=>{if(T.next(j),v.type===ft){let I=v.action;a.next(I)}}),this.extensionStartSubscription=o.start$.pipe(qs(f)).subscribe(()=>{this.refresh()});let w=T.asObservable(),P=w.pipe(Q(to));Object.defineProperty(P,"state",{value:hr(P,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=i,this.liftedState=w,this.state=P}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(i){this.dispatcher.next(i)}next(i){this.dispatcher.next(i)}error(i){}complete(){}performAction(i){this.dispatch(new He(i,+Date.now()))}refresh(){this.dispatch(new ln)}reset(){this.dispatch(new cn(+Date.now()))}rollback(){this.dispatch(new un(+Date.now()))}commit(){this.dispatch(new dn(+Date.now()))}sweep(){this.dispatch(new mn)}toggleAction(i){this.dispatch(new fn(i))}jumpToAction(i){this.dispatch(new hn(i))}jumpToState(i){this.dispatch(new pn(i))}importState(i){this.dispatch(new gn(i))}lockChanges(i){this.dispatch(new yn(i))}pauseRecording(i){this.dispatch(new Sn(i))}};e.\u0275fac=function(r){return new(r||e)(E(ai),E(At),E(yr),E(oo),E(vr),E(Qn),E(gr),E(oi))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function qs({ngZone:n,connectInZone:e}){return t=>e?new pi(i=>t.subscribe({next:r=>n.run(()=>i.next(r)),error:r=>n.run(()=>i.error(r)),complete:()=>n.run(()=>i.complete())})):t}var Fl=new Xe("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function kl(n,e){return!!n||e.monitor!==eo}function Ll(){let n="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[n]<"u"?window[n]:null}function lo(n={}){return Bn([oo,ai,Bs,{provide:$s,useValue:n},{provide:Fl,deps:[vn,oi],useFactory:kl},{provide:vn,useFactory:Ll},{provide:oi,deps:[$s],useFactory:Cl},{provide:Er,deps:[Bs],useFactory:jl},{provide:Sr,useExisting:ai}])}function jl(n){return n.state}var po=Io(fo(),1);var Tn="@ngrx/store/init",Yl="@ngrx/store/update-reducers",Jl=/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/,ec=(n,e)=>typeof e=="string"&&Jl.test(e)?new Date(e):e,tc=(n,e)=>e,ic=()=>typeof window<"u",nc=n=>n.map(e=>{let t=e;if(typeof e=="object"&&(t=Object.keys(e)[0]),typeof t!="string")throw new TypeError(`localStorageSync Unknown Parameter Type: Expected type of string, got ${typeof t}`);return e}),rc=(n,e,t,i)=>n.reduce((r,s)=>{let o=s,a=i?ec:tc,l,c;if(typeof o=="object"&&(o=Object.keys(o)[0],typeof s[o]=="function"?a=s[o]:(s[o].reviver&&(a=s[o].reviver),s[o].deserialize&&(l=s[o].deserialize)),s[o].encrypt&&s[o].decrypt?typeof s[o].encrypt=="function"&&typeof s[o].decrypt=="function"?c=s[o].decrypt:console.error(`Either encrypt or decrypt is not a function on '${s[o]}' key object.`):(s[o].encrypt||s[o].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${s[o]}' key object.`)),e!==void 0){let d=e.getItem(t(o));if(d){c&&(d=c(d));let u=new RegExp("{|\\["),p=d;return(d==="null"||d==="true"||d==="false"||u.test(d.charAt(0)))&&(p=JSON.parse(d,a)),Object.assign({},r,{[o]:l?l(p):p})}}return r},{});function ho(n,e){return e.reduce((t,i)=>{if(typeof i=="string"||typeof i=="number"){let r=n?.[i];r!==void 0&&(t[i]=r)}else for(let r in i)if(Object.prototype.hasOwnProperty.call(i,r)){let s=i[r];t[r]=ho(n[r],s)}return t},{})}var sc=(n,e,t,i,r,s)=>{if(s)try{if(s(n)!==!0)return}catch(o){if(o instanceof TypeError)return;throw o}e.forEach(o=>{let a=n[o],l,c,d;if(typeof o=="object"){let u=Object.keys(o)[0];if(a=n[u],typeof a<"u"&&o[u]){if(o[u].serialize)a=o[u].serialize(a);else{let p;o[u].reduce?p=o[u]:o[u].filter&&(p=o[u].filter),p&&(a=ho(a,p)),o[u].encrypt&&o[u].decrypt?typeof o[u].encrypt=="function"&&(d=o[u].encrypt):(o[u].encrypt||o[u].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${o[u]}' key object.`)}l=o[u].replacer,c=o[u].space}o=u}if(typeof a<"u"&&t!==void 0)try{d&&(a=d(typeof a=="string"?a:JSON.stringify(a,l,c))),t.setItem(i(o),typeof a=="string"?a:JSON.stringify(a,l,c))}catch(u){console.warn("Unable to save state to localStorage:",u)}else if(typeof a>"u"&&r&&t!==void 0)try{t.removeItem(i(o))}catch(u){console.warn(`Exception on removing/cleaning undefined '${o}' state`,u)}})},oc=(n,e,t)=>((t.type===Tn||t.type===Yl)&&e&&(n=(0,po.default)(n,e,{arrayMerge:(s,o,a)=>o})),n),go=n=>e=>{(n.storage===void 0&&!n.checkStorageAvailability||n.checkStorageAvailability&&ic())&&(n.storage=localStorage||window.localStorage),n.storageKeySerializer===void 0&&(n.storageKeySerializer=s=>s),n.restoreDates===void 0&&(n.restoreDates=!0);let t=n.mergeReducer;(t===void 0||typeof t!="function")&&(t=oc);let i=nc(n.keys),r=n.rehydrate?rc(i,n.storage,n.storageKeySerializer,n.restoreDates):void 0;return function(s,o){let a;return o.type===Tn&&!s?a=e(s,o):a=A({},s),a=t(a,r,o),a=e(a,o),o.type!==Tn&&sc(a,i,n.storage,n.storageKeySerializer,n.removeOnUndefined,n.syncCondition),a}};function ac(n){let t={keys:[{[$.CORE.ROOT]:[$.AUTH.ROOT,$.CONFIGS.ROOT,$.SCRIPT.ROOT]}],rehydrate:!0};return go(t)(n)}var yo=[ac];var ht=class extends wr{constructor(e){if(!e)return;let t=new FormData;t.append("file",e),super("upload-model",t,!1)}};var vo=(()=>{let e=class e{constructor(i,r,s){this.apiClient=i,this.bannerService=r,this.actions$=s,this.uploadFile$=fe(()=>this.actions$.pipe(pe(re.uploadFile),G(o=>this.apiClient.serviceCall(new ht(o.file)).pipe(Q(a=>re.uploadFileSuccess({data:a})),X(a=>W(re.uploadFileFailure({error:a}))))))),this.uploadFileAndCallScript$=fe(()=>this.actions$.pipe(pe(re.uploadFileAndCallScript),G(o=>(this.bannerService.showInfo("Uploading file"),this.apiClient.serviceCall(new ht(o.file)).pipe(G(a=>(this.bannerService.showSuccess("File uploaded successfully."),[re.uploadFileSuccess({data:a}),xt.callScript({configs:o.configs})])),X(a=>W(re.uploadFileFailure({error:a}))))))))}};e.\u0275fac=function(r){return new(r||e)(E(Oe),E(Ft),E(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var lc={uploading:!1},Eo=Ue(lc,V(re.uploadFile,n=>N(A({},n),{uploading:!0})),V(re.uploadFileSuccess,(n,{data:e})=>N(A({},n),{uploading:!1,uploadedData:e})),V(re.uploadFileFailure,(n,{error:e})=>N(A({},n),{uploading:!1,error:e})));var Zd=Pt(It,({fileState:n})=>n.uploading),Xd=Pt(It,({fileState:n})=>n.uploadedData),Yd=Pt(It,({fileState:n})=>n.error);var cc={quantizationModels:[],pruningModels:[],machineUnlearningModels:[],awqModels:[],currentModel:"",modelMetadata:{},error:void 0},_o=Ue(cc,V(B.getModelsListSuccess,(n,{algorithmType:e,models:t})=>{switch(e){case it.QUANTIZATION:return N(A({},n),{quantizationModels:t,error:void 0});case it.PRUNING:return N(A({},n),{pruningModels:t,error:void 0});case it.MACHINE_UNLEARNING:return N(A({},n),{machineUnlearningModels:t,error:void 0});case it.AWQ:return N(A({},n),{awqModels:t,error:void 0});default:return n}}),V(B.getModelsListFailure,(n,{error:e})=>N(A({},n),{error:e})),V(B.getCurrentOrPreviousSelectedModelSuccess,(n,{model:e})=>N(A({},n),{currentModel:e})),V(B.getCurrentOrPreviousSelectedModelFailure,(n,{error:e})=>N(A({},n),{error:e})),V(B.getModelMetadataSuccess,(n,{metadata:e})=>N(A({},n),{modelMetadata:e,error:void 0})),V(B.getModelMetadataFailure,(n,{error:e})=>N(A({},n),{modelMetadata:{},error:e})));var li=class extends we{constructor(e){super(`parameters/${e}`,void 0,void 0,!1),this.mock&&(this.url+="/get-response-body-200.json")}};var To=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadParameters$=fe(()=>this.actions$.pipe(pe(Ce.loadParameters),G(({arg:s})=>this.apiClient.serviceCall(new li(s)).pipe(Q(o=>Ce.loadParametersSuccess({arg:s,parameters:o.parameters})),X(o=>W(Ce.loadParametersFailure({arg:s,error:o})))))))}};e.\u0275fac=function(r){return new(r||e)(E(Oe),E(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var uc={},bo=Ue(uc,V(Ce.loadParameters,(n,{arg:e})=>N(A({},n),{[e]:N(A({},n[e]),{loaded:!1,error:null})})),V(Ce.loadParametersSuccess,(n,{arg:e,parameters:t})=>N(A({},n),{[e]:{data:t,error:null,loaded:!0}})),V(Ce.loadParametersFailure,(n,{arg:e,error:t})=>N(A({},n),{[e]:N(A({},n[e]),{error:t,loaded:!0})})));var Mo={auth:Cr,configs:Yr,script:Nr,uploadFile:Eo,charts:jr,parameters:bo,terminal:Hr,statistics:Gr,models:_o};var ci=class extends we{constructor(e){super(`current-or-previous-selected-model/${e}`,void 0,void 0,!1)}};var ui=class extends we{constructor(e,t){super(`model-metadata/${e}/${t}`,void 0,void 0,!1)}};var di=class extends we{constructor(e){super(`models-list/${e}`,void 0,void 0,!1)}};var wo=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadModels$=fe(()=>this.actions$.pipe(pe(B.getModelsList),G(s=>{let{algorithmType:o}=s;return this.apiClient.serviceCall(new di(o)).pipe(Q(a=>B.getModelsListSuccess({algorithmType:o,models:a})),X(a=>W(B.getModelsListFailure({error:a}))))}))),this.getCurrentOrPreviousSelectedModel$=fe(()=>this.actions$.pipe(pe(B.getCurrentOrPreviousSelectedModel),G(s=>this.apiClient.serviceCall(new ci(s.algorithmType)).pipe(Q(o=>B.getCurrentOrPreviousSelectedModelSuccess({model:o.model})),X(o=>W(B.getCurrentOrPreviousSelectedModelFailure({error:o}))))))),this.getModelMetadata$=fe(()=>this.actions$.pipe(pe(B.getModelMetadata),G(s=>{let{algorithmType:o,modelName:a}=s;return this.apiClient.serviceCall(new ui(o,a)).pipe(Q(l=>B.getModelMetadataSuccess({metadata:l})),X(l=>W(B.getModelMetadataFailure({error:l}))))})))}};e.\u0275fac=function(r){return new(r||e)(E(Oe),E(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function Oo(){return[lo({maxAge:25,logOnly:bt(),connectInZone:!0}),_e([et.forRoot({},{metaReducers:yo}),tt.forRoot([]),et.forFeature("core",Mo)]),_e(tt.forFeature([Or,Rr,vo,Lr,To,Wr,Qr,wo]))]}var Co={providers:[_e(As),cr(xs),ks(),Oo(),Ls(),Fs(),zs(),or(),er(tr())]};nr(kt,Co).catch(n=>console.error(n)); diff --git a/frontend/server/modelsmith-build/browser/main-TFXPSNL7.js b/frontend/server/modelsmith-build/browser/main-TFXPSNL7.js new file mode 100644 index 00000000..b7c5f38e --- /dev/null +++ b/frontend/server/modelsmith-build/browser/main-TFXPSNL7.js @@ -0,0 +1 @@ +import{b as xr,c as Fr,h as Yr}from"./chunk-UGYWAUWL.js";import{a as Jr}from"./chunk-5ZR7IPM5.js";import{a as Ir}from"./chunk-VTKC7GIQ.js";import{a as Be,b as fe}from"./chunk-WKH77ZME.js";import{a as Mr}from"./chunk-6CY4G4GP.js";import{c as kr}from"./chunk-PAR2WLRN.js";import"./chunk-BT5J7FFS.js";import{b as Hr,c as Zr}from"./chunk-H3SVRTFN.js";import{a as Xr,d as B}from"./chunk-EGGALFKU.js";import{a as Rr,b as Qe,c as nt}from"./chunk-ZQAGOALV.js";import"./chunk-NBUJA3ZB.js";import{a as Ce}from"./chunk-CKI3LALG.js";import{a as Nr,b as Dr}from"./chunk-GULIW6WA.js";import"./chunk-K5EGW2EZ.js";import"./chunk-JKB4DNVM.js";import{a as Tr,b as br}from"./chunk-4X6VBT7Z.js";import{a as Wr,b as Ai}from"./chunk-WO6G2TMA.js";import{c as it}from"./chunk-C4NPICWQ.js";import"./chunk-CXMHZ5XC.js";import"./chunk-XX6ZYDLH.js";import{d as Lr}from"./chunk-5MCZHTBZ.js";import{a as xt,b as wi,c as Ft,e as jr,f as zr,g as $r,h as Ur,i as re,j as Kr,k as Oi,l as Br,m as qr,n as Qr,p as Gr,q as Vr,s as Ci}from"./chunk-XSOJ6DN4.js";import{a as Ot,b as dr}from"./chunk-KP473PLS.js";import{a as qe}from"./chunk-I333ACNB.js";import{g as wr}from"./chunk-LCKMIOUI.js";import{$ as Xe,$a as x,$b as Jn,$c as me,Aa as Si,Ac as hr,Bb as be,Be as we,C as hi,Ce as Or,D as je,Da as K,De as Oe,Ea as Ye,Ec as $e,Ee as Cr,F as X,Fb as Wn,Fc as Ti,Fe as Ar,G as xn,Gb as Hn,Gc as Ct,Ge as Pr,H as Fn,Ha as Gn,Hc as gr,I as kn,J as Ln,Ja as vt,Kb as bt,Lc as bi,M as jn,Mc as At,N as zn,Nc as yr,Oc as Sr,P as $n,Pa as Ee,Pc as vr,Qb as Zn,Qc as Mi,R as G,Ra as ue,Rc as Er,S as St,Sc as _r,Uc as Pt,V as Un,W as C,Wc as et,Xa as _e,Xb as Xn,Xc as V,Yc as Ue,Z as D,Za as Et,Zc as de,_ as gi,_a as _t,_b as Yn,_c as Ke,a as A,ab as F,ac as er,ad as tt,b as N,ba as E,bb as z,bc as Ei,bd as M,c as Cn,ca as ae,cc as tr,cd as It,d as Io,dc as ir,e as Ro,ec as nr,fa as Kn,fc as rr,ga as Se,gc as sr,h as pi,ha as yi,hc as or,ib as vi,ic as ar,ka as Bn,kb as te,l as An,la as ve,lc as Mt,mc as Me,n as Pn,nc as lr,o as In,oc as cr,p as yt,pc as ur,q as Rn,qc as wt,rc as b,s as W,sa as qn,sc as le,t as Nn,tb as Te,tc as mr,ub as Tt,uc as fr,v as Dn,va as Qn,vb as Je,w as Q,wc as pr,we as Rt,xc as ze,xe as Nt,yc as _i,ye as Dt,zb as Vn}from"./chunk-MVLCGSW5.js";var po=Io((Cd,fo)=>{"use strict";var zl=function(e){return $l(e)&&!Ul(e)};function $l(n){return!!n&&typeof n=="object"}function Ul(n){var e=Object.prototype.toString.call(n);return e==="[object RegExp]"||e==="[object Date]"||ql(n)}var Kl=typeof Symbol=="function"&&Symbol.for,Bl=Kl?Symbol.for("react.element"):60103;function ql(n){return n.$$typeof===Bl}function Ql(n){return Array.isArray(n)?[]:{}}function pt(n,e){return e.clone!==!1&&e.isMergeableObject(n)?Ze(Ql(n),n,e):n}function Gl(n,e,t){return n.concat(e).map(function(i){return pt(i,t)})}function Vl(n,e){if(!e.customMerge)return Ze;var t=e.customMerge(n);return typeof t=="function"?t:Ze}function Wl(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter(function(e){return Object.propertyIsEnumerable.call(n,e)}):[]}function uo(n){return Object.keys(n).concat(Wl(n))}function mo(n,e){try{return e in n}catch{return!1}}function Hl(n,e){return mo(n,e)&&!(Object.hasOwnProperty.call(n,e)&&Object.propertyIsEnumerable.call(n,e))}function Zl(n,e,t){var i={};return t.isMergeableObject(n)&&uo(n).forEach(function(r){i[r]=pt(n[r],t)}),uo(e).forEach(function(r){Hl(n,r)||(mo(n,r)&&t.isMergeableObject(e[r])?i[r]=Vl(r,t)(n[r],e[r],t):i[r]=pt(e[r],t))}),i}function Ze(n,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Gl,t.isMergeableObject=t.isMergeableObject||zl,t.cloneUnlessOtherwiseSpecified=pt;var i=Array.isArray(e),r=Array.isArray(n),s=i===r;return s?i?t.arrayMerge(n,e,t):Zl(n,e,t):pt(e,t)}Ze.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,r){return Ze(i,r,t)},{})};var Xl=Ze;fo.exports=Xl});var pe,kt=(pe=class{constructor(){this.title="modelsmith"}ngOnInit(){}},pe.\u0275fac=function(t){return new(t||pe)},pe.\u0275cmp=Se({type:pe,selectors:[["app-root"]],standalone:!0,features:[be],decls:1,vars:0,template:function(t,i){t&1&&z(0,"router-outlet")},dependencies:[Mt]}),pe);kt=yt([Ot()],kt);function es(n){return new C(3e3,!1)}function No(){return new C(3100,!1)}function Do(){return new C(3101,!1)}function xo(n){return new C(3001,!1)}function Fo(n){return new C(3003,!1)}function ko(n){return new C(3004,!1)}function Lo(n,e){return new C(3005,!1)}function jo(){return new C(3006,!1)}function zo(){return new C(3007,!1)}function $o(n,e){return new C(3008,!1)}function Uo(n){return new C(3002,!1)}function Ko(n,e,t,i,r){return new C(3010,!1)}function Bo(){return new C(3011,!1)}function qo(){return new C(3012,!1)}function Qo(){return new C(3200,!1)}function Go(){return new C(3202,!1)}function Vo(){return new C(3013,!1)}function Wo(n){return new C(3014,!1)}function Ho(n){return new C(3015,!1)}function Zo(n){return new C(3016,!1)}function Xo(n,e){return new C(3404,!1)}function Yo(n){return new C(3502,!1)}function Jo(n){return new C(3503,!1)}function ea(){return new C(3300,!1)}function ta(n){return new C(3504,!1)}function ia(n){return new C(3301,!1)}function na(n,e){return new C(3302,!1)}function ra(n){return new C(3303,!1)}function sa(n,e){return new C(3400,!1)}function oa(n){return new C(3401,!1)}function aa(n){return new C(3402,!1)}function la(n,e){return new C(3505,!1)}function Ae(n){switch(n.length){case 0:return new $e;case 1:return n[0];default:return new Ti(n)}}function ps(n,e,t=new Map,i=new Map){let r=[],s=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,u=d&&a||new Map;l.forEach((p,g)=>{let m=g,f=p;if(g!=="offset")switch(m=n.normalizePropertyName(m,r),f){case Ct:f=t.get(g);break;case le:f=i.get(g);break;default:f=n.normalizeStyleValue(g,m,f,r);break}u.set(m,f)}),d||s.push(u),a=u,o=c}),r.length)throw Yo(r);return s}function Xi(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Pi(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Pi(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Pi(t,"destroy",n)));break}}function Pi(n,e,t){let i=t.totalTime,r=!!t.disabled,s=Yi(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),o=n._data;return o!=null&&(s._data=o),s}function Yi(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function J(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function ts(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var ca=typeof document>"u"?null:document.documentElement;function Ji(n){let e=n.parentNode||n.host||null;return e===ca?null:e}function ua(n){return n.substring(1,6)=="ebkit"}var Ne=null,is=!1;function da(n){Ne||(Ne=ma()||{},is=Ne.style?"WebkitAppearance"in Ne.style:!1);let e=!0;return Ne.style&&!ua(n)&&(e=n in Ne.style,!e&&is&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Ne.style)),e}function ma(){return typeof document<"u"?document.body:null}function hs(n,e){for(;e;){if(e===n)return!0;e=Ji(e)}return!1}function gs(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var en=(()=>{let e=class e{validateStyleProperty(i){return da(i)}containsElement(i,r){return hs(i,r)}getParentElement(i){return Ji(i)}query(i,r,s){return gs(i,r,s)}computeStyle(i,r,s){return s||""}animate(i,r,s,o,a,l=[],c){return new $e(s,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})(),sn=class sn{};sn.NOOP=new en;var Fe=sn,ke=class{};var fa=1e3,ys="{{",pa="}}",Ss="ng-enter",Fi="ng-leave",Lt="ng-trigger",Kt=".ng-trigger",ns="ng-animating",ki=".ng-animating";function he(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Li(parseFloat(e[1]),e[2])}function Li(n,e){switch(e){case"s":return n*fa;default:return n}}function Bt(n,e,t){return n.hasOwnProperty("duration")?n:ha(n,e,t)}function ha(n,e,t){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,s=0,o="";if(typeof n=="string"){let a=n.match(i);if(a===null)return e.push(es(n)),{duration:0,delay:0,easing:""};r=Li(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=Li(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(No()),a=!0),s<0&&(e.push(Do()),a=!0),a&&e.splice(l,0,es(n))}return{duration:r,delay:s,easing:o}}function ga(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function ce(n,e,t){e.forEach((i,r)=>{let s=tn(r);t&&!t.has(r)&&t.set(r,n.style[s]),n.style[s]=i})}function xe(n,e){e.forEach((t,i)=>{let r=tn(i);n.style[r]=""})}function rt(n){return Array.isArray(n)?n.length==1?n[0]:pr(n):n}function ya(n,e,t){let i=e.params||{},r=vs(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(xo(s))})}var ji=new RegExp(`${ys}\\s*(.+?)\\s*${pa}`,"g");function vs(n){let e=[];if(typeof n=="string"){let t;for(;t=ji.exec(n);)e.push(t[1]);ji.lastIndex=0}return e}function ot(n,e,t){let i=`${n}`,r=i.replace(ji,(s,o)=>{let a=e[o];return a==null&&(t.push(Fo(o)),a=""),a.toString()});return r==i?n:r}var Sa=/-+([a-z0-9])/g;function tn(n){return n.replace(Sa,(...e)=>e[1].toUpperCase())}function va(n,e){return n===0||e===0}function Ea(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;so.set(a,nn(n,a)))}}return e}function Y(n,e,t){switch(e.type){case b.Trigger:return n.visitTrigger(e,t);case b.State:return n.visitState(e,t);case b.Transition:return n.visitTransition(e,t);case b.Sequence:return n.visitSequence(e,t);case b.Group:return n.visitGroup(e,t);case b.Animate:return n.visitAnimate(e,t);case b.Keyframes:return n.visitKeyframes(e,t);case b.Style:return n.visitStyle(e,t);case b.Reference:return n.visitReference(e,t);case b.AnimateChild:return n.visitAnimateChild(e,t);case b.AnimateRef:return n.visitAnimateRef(e,t);case b.Query:return n.visitQuery(e,t);case b.Stagger:return n.visitStagger(e,t);default:throw ko(e.type)}}function nn(n,e){return window.getComputedStyle(n)[e]}var _a=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),qt=class extends ke{normalizePropertyName(e,t){return tn(e)}normalizeStyleValue(e,t,i,r){let s="",o=i.toString().trim();if(_a.has(t)&&i!==0&&i!=="0")if(typeof i=="number")s="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Lo(e,i))}return o+s}};var Qt="*";function Ta(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>ba(i,t,e)):t.push(n),t}function ba(n,e,t){if(n[0]==":"){let l=Ma(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(Ho(n)),e;let r=i[1],s=i[2],o=i[3];e.push(rs(r,o));let a=r==Qt&&o==Qt;s[0]=="<"&&!a&&e.push(rs(o,r))}function Ma(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}var jt=new Set(["true","1"]),zt=new Set(["false","0"]);function rs(n,e){let t=jt.has(n)||zt.has(n),i=jt.has(e)||zt.has(e);return(r,s)=>{let o=n==Qt||n==r,a=e==Qt||e==s;return!o&&t&&typeof r=="boolean"&&(o=r?jt.has(n):zt.has(n)),!a&&i&&typeof s=="boolean"&&(a=s?jt.has(e):zt.has(e)),o&&a}}var Es=":self",wa=new RegExp(`s*${Es}s*,?`,"g");function _s(n,e,t,i){return new zi(n).build(e,t,i)}var ss="",zi=class{constructor(e){this._driver=e}build(e,t,i){let r=new $i(t);return this._resetContextStyleTimingState(r),Y(this,rt(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=ss,e.collectedStyles=new Map,e.collectedStyles.set(ss,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(jo()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==b.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,s.push(this.visitState(l,t))}),l.name=c}else if(a.type==b.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(zo())}),{type:b.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{vs(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&t.errors.push($o(e.name,[...s.values()]))}return{type:b.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=Y(this,rt(e.animation),t),r=Ta(e.expr,t.errors);return{type:b.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:De(e.options)}}visitSequence(e,t){return{type:b.Sequence,steps:e.steps.map(i=>Y(this,i,t)),options:De(e.options)}}visitGroup(e,t){let i=t.currentTime,r=0,s=e.steps.map(o=>{t.currentTime=i;let a=Y(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:b.Group,steps:s,options:De(e.options)}}visitAnimate(e,t){let i=Pa(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:ze({});if(s.type==b.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=ze(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:b.Animate,timings:i,style:r,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===le?i.push(a):t.errors.push(Uo(a)):i.push(new Map(Object.entries(a)));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf(ys)>=0){s=!0;break}}}),{type:b.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(s!=r&&s>=d.startTime&&r<=d.endTime&&(t.errors.push(Ko(l,d.startTime,d.endTime,s,r)),u=!1),s=d.startTime),u&&c.set(l,{startTime:s,endTime:r}),t.options&&ya(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:b.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Bo()),i;let r=1,s=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(w=>{let P=this._makeStyleAst(w,t),j=P.offset!=null?P.offset:Aa(P.styles),v=0;return j!=null&&(s++,v=P.offset=j),l=l||v<0||v>1,a=a||v0&&s{let j=p>0?P==g?1:p*P:o[P],v=j*T;t.currentTime=m+f.delay+v,f.duration=v,this._validateStyleAst(w,t),w.offset=j,i.styles.push(w)}),i}visitReference(e,t){return{type:b.Reference,animation:Y(this,rt(e.animation),t),options:De(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:b.AnimateChild,options:De(e.options)}}visitAnimateRef(e,t){return{type:b.AnimateRef,animation:this.visitReference(e.animation,t),options:De(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=Oa(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,J(t.collectedStyles,t.currentQuerySelector,new Map);let a=Y(this,rt(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:b.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:De(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Vo());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Bt(e.timings,t.errors,!0);return{type:b.Stagger,animation:Y(this,rt(e.animation),t),timings:i,options:null}}};function Oa(n){let e=!!n.split(/\s*,\s*/).find(t=>t==Es);return e&&(n=n.replace(wa,"")),n=n.replace(/@\*/g,Kt).replace(/@\w+/g,t=>Kt+"-"+t.slice(1)).replace(/:animating/g,ki),[n,e]}function Ca(n){return n?A({},n):null}var $i=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Aa(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Pa(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let s=Bt(n,e).duration;return Ii(s,0,"")}let t=n;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=Ii(0,0,"");return s.dynamic=!0,s.strValue=t,s}let r=Bt(t,e);return Ii(r.duration,r.delay,r.easing)}function De(n){return n?(n=A({},n),n.params&&(n.params=Ca(n.params))):n={},n}function Ii(n,e,t){return{duration:n,delay:e,easing:t}}function rn(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}var at=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ia=1,Ra=":enter",Na=new RegExp(Ra,"g"),Da=":leave",xa=new RegExp(Da,"g");function Ts(n,e,t,i,r,s=new Map,o=new Map,a,l,c=[]){return new Ui().buildKeyframes(n,e,t,i,r,s,o,a,l,c)}var Ui=class{buildKeyframes(e,t,i,r,s,o,a,l,c,d=[]){c=c||new at;let u=new Ki(e,t,c,r,s,d,[]);u.options=l;let p=l.delay?he(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([o],null,u.errors,l),Y(this,i,u);let g=u.timelines.filter(m=>m.containsAnimation());if(g.length&&a.size){let m;for(let f=g.length-1;f>=0;f--){let T=g[f];if(T.element===t){m=T;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return g.length?g.map(m=>m.buildKeyframes()):[rn(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let r of e){let s=r?.delay;if(s){let o=typeof s=="number"?s:he(ot(s,r?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime,o=i.duration!=null?he(i.duration):null,a=i.delay!=null?he(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,r=t,s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),s.delay!=null)){r.previousNode.type==b.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Gt);let o=he(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>Y(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],r=t.currentTimeline.currentTime,s=e.options&&e.options.delay?he(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),Y(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,r=t.params?ot(i,t.params,t.errors):i;return Bt(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());let s=e.style;s.type==b.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?he(r.delay):0;s&&(t.previousNode.type===b.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Gt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);s&&u.delayNextStep(s),c===t.element&&(l=u.currentTimeline),Y(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;o=Math.max(o,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=t.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;Y(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},Gt={},Ki=class n{constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Vt(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=he(i.duration)),i.delay!=null&&(r.delay=he(i.delay));let s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=ot(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){let r=t||this.element,s=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Gt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},s=new Bi(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(Na,"."+this._enterClassName),e=e.replace(xa,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&a.length==0&&o.push(Wo(t)),a}},Vt=class n{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ia,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||le),this._currentKeyframe.set(t,le);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);let s=r&&r.params||{},o=Fa(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ot(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??le),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Ct?e.add(u):d===le&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let s=[...e.values()],o=[...t.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return rn(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}},Bi=class extends Vt{constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let c=new Map(e[0]);c.set("offset",os(a)),s.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let p=new Map(e[u]),g=p.get("offset"),m=t+g*i;p.set("offset",os(m/o)),s.push(p)}i=o,t=0,r="",e=s}return rn(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}};function os(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Fa(n,e){let t=new Map,i;return n.forEach(r=>{if(r==="*"){i??=e.keys();for(let s of i)t.set(s,le)}else for(let[s,o]of r)t.set(s,o)}),t}function as(n,e,t,i,r,s,o,a,l,c,d,u,p){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:p}}var Ri={},Wt=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return ka(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,s,o,a,l,c,d){let u=[],p=this.ast.options&&this.ast.options.params||Ri,g=a&&a.params||Ri,m=this.buildStyles(i,g,u),f=l&&l.params||Ri,T=this.buildStyles(r,f,u),w=new Set,P=new Map,j=new Map,v=r==="void",I={params:bs(f,p),delay:this.ast.options?.delay},_=d?[]:Ts(e,t,this.ast.animation,s,o,m,T,I,c,u),k=0;return _.forEach(R=>{k=Math.max(R.duration+R.delay,k)}),u.length?as(t,this._triggerName,i,r,v,m,T,[],[],P,j,k,u):(_.forEach(R=>{let ne=R.element,Le=J(P,ne,new Set);R.preStyleProps.forEach(Ie=>Le.add(Ie));let bn=J(j,ne,new Set);R.postStyleProps.forEach(Ie=>bn.add(Ie)),ne!==t&&w.add(ne)}),as(t,this._triggerName,i,r,v,m,T,_,[...w.values()],P,j,k))}};function ka(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}function bs(n,e){let t=A({},e);return Object.entries(n).forEach(([i,r])=>{r!=null&&(t[i]=r)}),t}var qi=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,r=bs(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=ot(o,r,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function La(n,e,t){return new Qi(n,e,t)}var Qi=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{let s=r.options&&r.options.params||{};this.states.set(r.name,new qi(r.style,s,i))}),ls(this.states,"true","1"),ls(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Wt(e,r,this.states))}),this.fallbackTransition=ja(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function ja(n,e,t){let i=[(o,a)=>!0],r={type:b.Sequence,steps:[],options:null},s={type:b.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Wt(n,s,e)}function ls(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var za=new at,Gi=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],r=[],s=_s(this._driver,t,i,r);if(i.length)throw Jo(i);r.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,i){let r=e.element,s=ps(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let r=[],s=this._animations.get(e),o,a=new Map;if(s?(o=Ts(this._driver,t,s,Ss,Fi,new Map,new Map,i,za,r),o.forEach(d=>{let u=J(a,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(r.push(ea()),o=[]),r.length)throw ta(r);a.forEach((d,u)=>{d.forEach((p,g)=>{d.set(g,this._driver.computeStyle(u,g,le))})});let l=o.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ae(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ia(e);return t}listen(e,t,i,r){let s=Yi(t,"","","");return Xi(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let o=r[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},cs="ng-animate-queued",$a=".ng-animate-queued",Ni="ng-animate-disabled",Ua=".ng-animate-disabled",Ka="ng-star-inserted",Ba=".ng-star-inserted",qa=[],Ms={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Qa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},se="__ng_removed",lt=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=Va(r),i){let s=e,{value:o}=s,a=Cn(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(r=>{i[r]==null&&(i[r]=t[r])})}}},st="void",Di=new lt(st),Vi=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,ie(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw na(i,t);if(i==null||i.length==0)throw ra(t);if(!Wa(i))throw sa(i,t);let s=J(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);let a=J(this._engine.statesByElement,e,new Map);return a.has(t)||(ie(e,Lt),ie(e,Lt+"-"+t),a.set(t,Di)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw oa(e);return t}trigger(e,t,i,r=!0){let s=this._getTrigger(t),o=new ct(this.id,t,e),a=this._engine.statesByElement.get(e);a||(ie(e,Lt),ie(e,Lt+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new lt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Di),!(c.value===st)&&l.value===c.value){if(!Xa(l.params,c.params)){let f=[],T=s.matchStyles(l.value,l.params,f),w=s.matchStyles(c.value,c.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(()=>{xe(e,T),ce(e,w)})}return}let p=J(this._engine.playersByElement,e,[]);p.forEach(f=>{f.namespaceId==this.id&&f.triggerName==t&&f.queued&&f.destroy()});let g=s.matchTransition(l.value,c.value,e,c.params),m=!1;if(!g){if(!r)return;g=s.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:g,fromState:l,toState:c,player:o,isFallbackTransition:m}),m||(ie(e,cs),o.onStart(()=>{Ge(e,cs)})),o.onDone(()=>{let f=this.players.indexOf(o);f>=0&&this.players.splice(f,1);let T=this._engine.playersByElement.get(e);if(T){let w=T.indexOf(o);w>=0&&T.splice(w,1)}}),this.players.push(o),p.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,Kt,!0);i.forEach(r=>{if(r[se])return;let s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,st,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Ae(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let r=new Set;t.forEach(s=>{let o=s.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Di,d=new lt(st),u=new ct(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{let s=e[se];(!s||s===Ms)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){ie(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Yi(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Xi(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{let s=i.transition.ast.depCount,o=r.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Wi=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Vi(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}}return t}trigger(e,t,i,r){if($t(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!$t(t))return;let s=t[se];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ie(e,Ni)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ge(e,Ni))}removeNode(e,t,i){if($t(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[se]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return $t(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,Kt,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ki,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ae(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[se];if(t&&t.setForRemoval){if(e[se]=Ms,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ni)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ua,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ae(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw aa(e)}_flushAnimations(e,t){let i=new at,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(h=>{d.add(h);let y=this.driver.query(h,$a,!0);for(let S=0;S{let S=Ss+f++;m.set(y,S),h.forEach(O=>ie(O,S))});let T=[],w=new Set,P=new Set;for(let h=0;hw.add(O)):P.add(y))}let j=new Map,v=ms(p,Array.from(w));v.forEach((h,y)=>{let S=Fi+f++;j.set(y,S),h.forEach(O=>ie(O,S))}),e.push(()=>{g.forEach((h,y)=>{let S=m.get(y);h.forEach(O=>Ge(O,S))}),v.forEach((h,y)=>{let S=j.get(y);h.forEach(O=>Ge(O,S))}),T.forEach(h=>{this.processLeaveNode(h)})});let I=[],_=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(S=>{let O=S.player,U=S.element;if(I.push(O),this.collectedEnterElements.length){let q=U[se];if(q&&q.setForMove){if(q.previousTriggersValues&&q.previousTriggersValues.has(S.triggerName)){let Re=q.previousTriggersValues.get(S.triggerName),ee=this.statesByElement.get(S.element);if(ee&&ee.has(S.triggerName)){let gt=ee.get(S.triggerName);gt.value=Re,ee.set(S.triggerName,gt)}}O.destroy();return}}let oe=!u||!this.driver.containsElement(u,U),Z=j.get(U),ye=m.get(U),L=this._buildInstruction(S,i,ye,Z,oe);if(L.errors&&L.errors.length){_.push(L);return}if(oe){O.onStart(()=>xe(U,L.fromStyles)),O.onDestroy(()=>ce(U,L.toStyles)),r.push(O);return}if(S.isFallbackTransition){O.onStart(()=>xe(U,L.fromStyles)),O.onDestroy(()=>ce(U,L.toStyles)),r.push(O);return}let On=[];L.timelines.forEach(q=>{q.stretchStartingKeyframe=!0,this.disabledNodes.has(q.element)||On.push(q)}),L.timelines=On,i.append(U,L.timelines);let Po={instruction:L,player:O,element:U};o.push(Po),L.queriedElements.forEach(q=>J(a,q,[]).push(O)),L.preStyleProps.forEach((q,Re)=>{if(q.size){let ee=l.get(Re);ee||l.set(Re,ee=new Set),q.forEach((gt,fi)=>ee.add(fi))}}),L.postStyleProps.forEach((q,Re)=>{let ee=c.get(Re);ee||c.set(Re,ee=new Set),q.forEach((gt,fi)=>ee.add(fi))})});if(_.length){let h=[];_.forEach(y=>{h.push(la(y.triggerName,y.errors))}),I.forEach(y=>y.destroy()),this.reportError(h)}let k=new Map,R=new Map;o.forEach(h=>{let y=h.element;i.has(y)&&(R.set(y,y),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,k))}),r.forEach(h=>{let y=h.element;this._getPreviousPlayers(y,!1,h.namespaceId,h.triggerName,null).forEach(O=>{J(k,y,[]).push(O),O.destroy()})});let ne=T.filter(h=>fs(h,l,c)),Le=new Map;ds(Le,this.driver,P,c,le).forEach(h=>{fs(h,l,c)&&ne.push(h)});let Ie=new Map;g.forEach((h,y)=>{ds(Ie,this.driver,new Set(h),l,Ct)}),ne.forEach(h=>{let y=Le.get(h),S=Ie.get(h);Le.set(h,new Map([...y?.entries()??[],...S?.entries()??[]]))});let mi=[],Mn=[],wn={};o.forEach(h=>{let{element:y,player:S,instruction:O}=h;if(i.has(y)){if(d.has(y)){S.onDestroy(()=>ce(y,O.toStyles)),S.disabled=!0,S.overrideTotalTime(O.totalTime),r.push(S);return}let U=wn;if(R.size>1){let Z=y,ye=[];for(;Z=Z.parentNode;){let L=R.get(Z);if(L){U=L;break}ye.push(Z)}ye.forEach(L=>R.set(L,U))}let oe=this._buildAnimation(S.namespaceId,O,k,s,Ie,Le);if(S.setRealPlayer(oe),U===wn)mi.push(S);else{let Z=this.playersByElement.get(U);Z&&Z.length&&(S.parentPlayer=Ae(Z)),r.push(S)}}else xe(y,O.fromStyles),S.onDestroy(()=>ce(y,O.toStyles)),Mn.push(S),d.has(y)&&r.push(S)}),Mn.forEach(h=>{let y=s.get(h.element);if(y&&y.length){let S=Ae(y);h.setRealPlayer(S)}}),r.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h!oe.destroyed);U.length?Ha(this,y,U):this.processLeaveNode(y)}return T.length=0,mi.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let y=this.players.indexOf(h);this.players.splice(y,1)}),h.play()}),mi}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==st;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let r=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let c=l.element,d=c!==s,u=J(i,c,[]);this._getPreviousPlayers(c,d,o,a,t.toState).forEach(g=>{let m=g.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),g.destroy(),u.push(g)})}xe(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){let a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(m=>{let f=m.element;d.add(f);let T=f[se];if(T&&T.removedBeforeQueried)return new $e(m.duration,m.delay);let w=f!==l,P=Za((i.get(f)||qa).map(k=>k.getRealPlayer())).filter(k=>{let R=k;return R.element?R.element===f:!1}),j=s.get(f),v=o.get(f),I=ps(this._normalizer,m.keyframes,j,v),_=this._buildPlayer(m,I,P);if(m.subTimeline&&r&&u.add(f),w){let k=new ct(e,a,f);k.setRealPlayer(_),c.push(k)}return _});c.forEach(m=>{J(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Ga(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>ie(m,ns));let g=Ae(p);return g.onDestroy(()=>{d.forEach(m=>Ge(m,ns)),ce(l,t.toStyles)}),u.forEach(m=>{J(r,m,[]).push(g)}),g}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new $e(e.duration,e.delay)}},ct=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new $e,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Xi(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){J(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Ga(n,e,t){let i=n.get(e);if(i){if(i.length){let r=i.indexOf(t);i.splice(r,1)}i.length==0&&n.delete(e)}return i}function Va(n){return n??null}function $t(n){return n&&n.nodeType===1}function Wa(n){return n=="start"||n=="done"}function us(n,e){let t=n.style.display;return n.style.display=e??"none",t}function ds(n,e,t,i,r){let s=[];t.forEach(l=>s.push(us(l)));let o=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let p=e.computeStyle(c,u,r);d.set(u,p),(!p||p.length==0)&&(c[se]=Qa,o.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>us(l,s[a++])),o}function ms(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,r=new Set(e),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:r.has(c)?l=i:l=o(c),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function ie(n,e){n.classList?.add(e)}function Ge(n,e){n.classList?.remove(e)}function Ha(n,e,t){Ae(t).onDone(()=>n.processLeaveNode(e))}function Za(n){let e=[];return ws(n,e),e}function ws(n,e){for(let t=0;tr.add(s)):e.set(n,i),t.delete(n),!0}var We=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Wi(e.body,t,i),this._timelineEngine=new Gi(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){let o=e+"-"+r,a=this._triggerCache[o];if(!a){let l=[],c=[],d=_s(this._driver,s,l,c);if(l.length)throw Xo(r,l);c.length&&void 0,a=La(r,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if(i.charAt(0)=="@"){let[s,o]=ts(i),a=r;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if(i.charAt(0)=="@"){let[o,a]=ts(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Ya(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=xi(e[0]),e.length>1&&(i=xi(e[e.length-1]))):e instanceof Map&&(t=xi(e)),t||i?new Hi(n,t,i):null}var Ve=class Ve{constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let r=Ve.initialStylesByElement.get(e);r||Ve.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ce(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ce(this._element,this._initialStyles),this._endStyles&&(ce(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ve.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),ce(this._element,this._initialStyles),this._state=3)}};Ve.initialStylesByElement=new WeakMap;var Hi=Ve;function xi(n){let e=null;return n.forEach((t,i)=>{Ja(i)&&(e=e||new Map,e.set(i,t))}),e}function Ja(n){return n==="display"||n==="position"}var Ht=class{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:nn(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Zt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return hs(e,t)}getParentElement(e){return Ji(e)}query(e,t,i){return gs(e,t,i)}computeStyle(e,t,i){return nn(e,t)}animate(e,t,i,r,s,o=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};s&&(l.easing=s);let c=new Map,d=o.filter(g=>g instanceof Ht);va(i,r)&&d.forEach(g=>{g.currentSnapshot.forEach((m,f)=>c.set(f,m))});let u=ga(t).map(g=>new Map(g));u=Ea(e,u,c);let p=Ya(e,u);return new Ht(e,u,l,p)}};var Ut="@",Os="@.disabled",Xt=class{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==Ut&&t==Os?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Zi=class extends Xt{constructor(e,t,i,r,s){super(t,i,r,s),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==Ut?t.charAt(1)=="."&&t==Os?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==Ut){let r=el(e),s=t.slice(1),o="";return s.charAt(0)!=Ut&&([s,o]=tl(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}};function el(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function tl(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var Yt=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,s)=>{let o=s?.parentNode(r);o&&s.removeChild(o,r)}}createRenderer(e,t){let i="",r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Xt(i,r,this.engine,u),c.set(r,d)}return d}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,e,c.name,c)};return t.data.animation.forEach(a),new Zi(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var nl=(()=>{let e=class e extends We{constructor(i,r,s){super(i,r,s)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(E(Zn),E(Fe),E(ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function rl(){return new qt}function sl(n,e,t){return new Yt(n,e,t)}var As=[{provide:ke,useFactory:rl},{provide:We,useClass:nl},{provide:Gn,useFactory:sl,deps:[nr,We,vt]}],Cs=[{provide:Fe,useFactory:()=>new Zt},{provide:Si,useValue:"BrowserAnimations"},...As],ol=[{provide:Fe,useClass:en},{provide:Si,useValue:"NoopAnimations"},...As],Ps=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?ol:Cs}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=yi({type:e}),e.\u0275inj=gi({providers:Cs,imports:[sr]});let n=e;return n})();var Pe=class{static setItem(e,t){localStorage.setItem(e,JSON.stringify(t))}static getItem(e){let t=localStorage.getItem(e);return t?JSON.parse(t):null}static getNestedItem(e,t){let i=this.getItem(e);return i?this.getNestedProperty(i,t):null}static removeItem(e){localStorage.removeItem(e)}static clear(){localStorage.clear()}static getNestedProperty(e,t){if(!t)return e;let i=t.split(".");for(let r=0;r{let e=class e{constructor(i){this.router=i}canActivate(){return Pe.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?!0:(this.router.navigate([`/${M.AUTH.ROOT}`]),!1)}};e.\u0275fac=function(r){return new(r||e)(E(Me))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var Jt=(()=>{let e=class e{constructor(i,r){this.router=i,this.configFacadeService=r}canActivate(){let i=Pe.getNestedItem($.CORE.ROOT,`${$.CONFIGS.ROOT}.${$.CONFIGS.DEFAULT_MODE}`);return i&&(i===fe.GUIDED?(this.router.navigate([`/${M.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.GUIDED}))):(this.router.navigate([`/${M.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.EXPERT})))),!0}};e.\u0275fac=function(r){return new(r||e)(E(Me),E(qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var ei=(()=>{let e=class e{constructor(i){this.router=i}canActivate(){return Pe.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?(this.router.navigate([`/${M.MODE_SELECT.ROOT}`]),!1):!0}};e.\u0275fac=function(r){return new(r||e)(E(Me))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function ll(n,e){if(n&1&&z(0,"mat-icon",3),n&2){let t=te();ue("fontSet",t.item.fontSet)("fontIcon",t.item.icon)}}function cl(n,e){if(n&1&&z(0,"mat-icon",4),n&2){let t=te();ue("svgIcon",t.item.icon)}}function ul(n,e){if(n&1&&(x(0,"mat-icon"),Te(1),F()),n&2){let t=te();K(),Tt(t.item.icon)}}function dl(n,e){if(n&1&&(x(0,"div")(1,"div",6),Te(2),F()()),n&2){let t=te();K(2),Je(" ",t.item.label," ")}}function ml(n,e){n&1&&(x(0,"div"),z(1,"ms-spining-indicator"),F())}var Rs=(()=>{let e=class e{constructor(i){this.pageRunningScriptSpiningIndicatorService=i,this.itemStyle="accent",this.isExpanded=!0}};e.\u0275fac=function(r){return new(r||e)(Ye(nt))},e.\u0275cmp=Se({type:e,selectors:[["ms-sidenav-item"]],inputs:{item:"item",itemStyle:"itemStyle",isExpanded:"isExpanded"},standalone:!0,features:[be],decls:12,vars:6,consts:[["routerLinkActive","active-route",1,"sidenav-item",3,"routerLink"],[1,"left-side"],[1,"item-icon"],[3,"fontSet","fontIcon"],[3,"svgIcon"],[1,"right-side"],[1,"item-label","paragraph-semibold-p3-small-emphasis"]],template:function(r,s){if(r&1&&(x(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",2),Ee(4,ll,1,2,"mat-icon",3)(5,cl,1,1,"mat-icon",4)(6,ul,2,1,"mat-icon"),F()(),Ee(7,dl,3,1,"div"),F(),x(8,"div",5),Vn(9),Wn(10,"async"),Ee(11,ml,2,0,"div"),F()()),r&2){let o;ue("routerLink",s.item.route),K(4),_e((o=s.item.fontSet)==="ms"?4:o==="svg"?5:6),K(3),_e(s.isExpanded?7:-1);let a=Hn(10,4,s.pageRunningScriptSpiningIndicatorService.currentRunningPageInfo$);K(4),_e(s.isExpanded&&(a==null?null:a.page)===s.item.key?11:-1)}},dependencies:[Yn,Xn,Dt,Nt,Rr,wt,lr,cr],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.sidenav-item[_ngcontent-%COMP%]{padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.sidenav-item[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%], .sidenav-item[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{display:flex;align-items:center}.sidenav-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{margin-left:10px;white-space:nowrap}.sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}[itemStyle=grey][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--foregrounds-750)}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%]{background-color:var(--foregrounds-150);border-radius:8px}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{color:var(--foregrounds-800)}[itemStyle=accent][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--accent-400)}"]});let n=e;return n})();var fl=[{route:M.ADMIN.ROOT,label:"Admin",icon:"icon-Admin",fontSet:"ms"}],pl=[{route:M.WIZARD.ROOT,label:"Wizard",icon:"icon-Question",fontSet:"ms"}],hl=[{route:M.MODEL_COMPRESSION.ROOT,label:"Model Compression",icon:"icon-GearSix",fontSet:"ms",key:Qe.MODEL_COMPRESSION},{route:M.MACHINE_UNLEARNING.ROOT,label:"Machine Unlearning",icon:"icon-Systems-Manager",fontSet:"ms",key:Qe.MACHINE_UNLEARNING},{route:M.AWQ.ROOT,label:"LLM Quantization",icon:"icon-Lightning",fontSet:"ms",key:Qe.AWQ},{route:M.MULTI_MODAL.ROOT,label:"Multi-modal",icon:"icon-Environmental",fontSet:"ms",key:Qe.MODEL_SPECIALIZATION},{route:M.DIFFUSION_MODEL.ROOT,label:"Diffusion Model",icon:"machine-learning",fontSet:"svg",key:Qe.DIFFUSION_MODEL},{route:M.ALGORITHM_COMPARISON.ROOT,label:"Algorithm Comparison",icon:"icon-Rocket",fontSet:"ms"}],Ns={guided:pl,expert:hl,common:fl};var on=(n,e)=>e.route;function gl(n,e){if(n&1&&(x(0,"div",5)(1,"div",13),Te(2),F(),x(3,"div",14),Te(4),z(5,"mat-icon",15),F()()),n&2){let t=te();K(2),Je(" ",t.currentMode===t.Modes.GUIDED?"Guided mode":"Expert mode"," "),K(2),Je(" ",t.currentMode===t.Modes.GUIDED?"Switch to expert mode":"Switch to guided mode"," ")}}function yl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=te(2);K(),ue("item",t)("isExpanded",i.isExpanded)}}function Sl(n,e){if(n&1&&Et(0,yl,2,2,"div",8,on),n&2){let t=te();_t(t.SidenavConstants.guided)}}function vl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=te(2);K(),ue("item",t)("isExpanded",i.isExpanded)}}function El(n,e){if(n&1&&Et(0,vl,2,2,"div",8,on),n&2){let t=te();_t(t.SidenavConstants.expert)}}function _l(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",17),F()),n&2){let t=e.$implicit,i=te();K(),ue("item",t)("isExpanded",i.isExpanded)}}function Tl(n,e){n&1&&(x(0,"span",12),Te(1,"Collapse"),F())}var ge,ti=(ge=class{constructor(e,t){this.router=e,this.configFacadeService=t,this.SidenavConstants=Ns,this.Modes=fe,this.isExpanded=!0}ngOnInit(){this.listenToCurrentModeChanges()}listenToCurrentModeChanges(){this.configFacadeService.currentMode$.pipe(dr(this)).subscribe(e=>{this.currentMode=e})}toggleMode(){this.currentMode===fe.GUIDED?(this.router.navigate([`/${M.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.EXPERT}))):(this.router.navigate([`/${M.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.GUIDED})))}toggleSidebar(){this.isExpanded=!this.isExpanded}},ge.\u0275fac=function(t){return new(t||ge)(Ye(Me),Ye(qe))},ge.\u0275cmp=Se({type:ge,selectors:[["ms-sidenav"]],standalone:!0,features:[be],decls:21,vars:5,consts:[[1,"sidenav-wrapper"],[1,"top-section-items"],[1,"switch",3,"click"],[1,"left"],["fontSet","ms","fontIcon","icon-User"],[1,"right"],[1,"mt-3"],[1,"mt-5"],[1,"sidenav-items-wrapper"],[1,"mt-2","mb-4"],[1,"bottom-section-items"],[1,"sidebar-toggle",3,"click"],[1,"paragraph-semibold-p3-small-emphasis"],[1,"paragraph-semibold-p3-default-emphasis","text-container"],[1,"paragraph-regular-p4-small","switch-button","text-container"],["fontSet","ms","fontIcon","icon-ArrowRight",1,"switch-icon"],["itemStyle","grey",3,"item","isExpanded"],["itemStyle","accent",3,"item","isExpanded"]],template:function(t,i){t&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),vi("click",function(){return i.toggleMode()}),x(3,"div",3),z(4,"mat-icon",4),F(),Ee(5,gl,6,2,"div",5),F(),x(6,"div",6),z(7,"mat-divider"),F(),Ee(8,Sl,2,0)(9,El,2,0),x(10,"div",7),z(11,"mat-divider"),F(),Et(12,_l,2,2,"div",8,on),F(),x(14,"div",9),z(15,"mat-divider"),F(),x(16,"div",10)(17,"div",11),vi("click",function(){return i.toggleSidebar()}),x(18,"mat-icon"),Te(19),F(),Ee(20,Tl,2,0,"span",12),F()()()),t&2&&(ue("@expandCollapse",i.isExpanded?"expanded":"collapsed"),K(5),_e(i.isExpanded?5:-1),K(3),_e(i.currentMode===i.Modes.GUIDED?8:9),K(4),_t(i.SidenavConstants.common),K(7),Tt(i.isExpanded?"chevron_left":"chevron_right"),K(),_e(i.isExpanded?20:-1))},dependencies:[Rs,Dt,Nt,br,Tr],styles:["[_nghost-%COMP%]{height:100%}.sidenav-wrapper[_ngcontent-%COMP%]{padding:0 12px;display:flex;flex-direction:column;justify-content:space-between}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%]{display:flex;cursor:pointer;height:38px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-600);margin-left:8px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{margin-left:10px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%] .switch-icon[_ngcontent-%COMP%]{margin-left:5px;font-size:16px;width:16px;height:16px}.sidenav-wrapper[_ngcontent-%COMP%] .sidenav-items-wrapper[_ngcontent-%COMP%]{margin-top:10px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;padding:6px;cursor:pointer;transition:background-color .3s ease;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]:hover{color:var(--foregrounds-800);background-color:var(--foregrounds-150);border-radius:8px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;color:var(--foregrounds-750)}.text-container[_ngcontent-%COMP%]{width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],data:{animation:[mr("expandCollapse",[_i("expanded",ze({width:"240px"})),_i("collapsed",ze({width:"40px"})),hr("expanded <=> collapsed",fr("300ms ease-in-out"))])]}}),ge);ti=yt([Ot()],ti);var Ds=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Se({type:e,selectors:[["ms-main-layout"]],standalone:!0,features:[be],decls:9,vars:0,consts:[[1,"container"],[1,"body"],[1,"content"],[1,"router-outlet"],[1,"footer"],["styleMode","mainLayout"]],template:function(r,s){r&1&&(x(0,"div",0),z(1,"ms-header"),x(2,"div",1),z(3,"ms-sidenav"),x(4,"div",2)(5,"div",3),z(6,"router-outlet"),F(),x(7,"div",4),z(8,"ms-footer",5),F()()()())},dependencies:[Mr,Ir,ti,wt,Mt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden;max-width:100vw}.body[_ngcontent-%COMP%]{flex:1;display:flex;margin-top:20px}.content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;margin:0 10px;overflow-x:hidden}.router-outlet[_ngcontent-%COMP%]{flex:1;padding:0 2px}ms-footer[_ngcontent-%COMP%]{height:60px}ms-header[_ngcontent-%COMP%], ms-sidenav[_ngcontent-%COMP%]{overflow-x:hidden}"]});let n=e;return n})();var xs={records:Fr};var Fs=[{path:M.AUTH.ROOT,loadChildren:()=>import("./chunk-BXFQL2AE.js").then(n=>n.AuthModule),canActivate:[ei]},{path:M.MODE_SELECT.ROOT,loadChildren:()=>import("./chunk-ECZVTXIZ.js").then(n=>n.ModeSelectModule),canActivate:[dt,Jt]},{path:M.DEMO.ROOT,loadChildren:()=>import("./chunk-572IWEGA.js").then(n=>n.DemoModule)},{path:"",pathMatch:"full",redirectTo:M.AUTH.ROOT},{path:"",component:Ds,canActivate:[dt],children:[{path:"",redirectTo:M.WIZARD.ROOT,pathMatch:"full"},{path:M.WIZARD.ROOT,loadChildren:()=>import("./chunk-4NLHOTFP.js").then(n=>n.WizardModule)},{path:M.MODEL_COMPRESSION.ROOT,loadChildren:()=>import("./chunk-THAYRGPL.js").then(n=>n.ModelCompressionModule)},{path:M.MACHINE_UNLEARNING.ROOT,loadChildren:()=>import("./chunk-JXMB3S2H.js").then(n=>n.MachineUnlearningModule)},{path:M.AWQ.ROOT,loadChildren:()=>import("./chunk-TJN6IR5M.js").then(n=>n.LlmQuantizationModule)},{path:M.RUNNING.ROOT,loadChildren:()=>import("./chunk-G2RQEMMZ.js").then(n=>n.RunningModule)},{path:M.MODEL_TRAINING.ROOT,loadChildren:()=>import("./chunk-YTABWEBP.js").then(n=>n.ModelTrainingModule)},{path:M.ALGORITHM_COMPARISON.ROOT,loadChildren:()=>import("./chunk-CBPVJONL.js").then(n=>n.AlgorithmComparisonModule),providers:[ve(et.forFeature("runRecords",xs)),ve(tt.forFeature([xr]))]},{path:M.MULTI_MODAL.ROOT,loadChildren:()=>import("./chunk-WFESMHCU.js").then(n=>n.MultiModalModule)},{path:M.DIFFUSION_MODEL.ROOT,loadChildren:()=>import("./chunk-HRKLZVAK.js").then(n=>n.DiffusionModelModule)},{path:M.ADMIN.ROOT,loadChildren:()=>import("./chunk-TOG4AYSS.js").then(n=>n.AdminModule)}]}];var an=(()=>{let e=class e{constructor(i,r){this.matIconRegistry=i,this.domSanitizer=r}registerIcon(i,r){this.matIconRegistry.addSvgIcon(i,this.domSanitizer.bypassSecurityTrustResourceUrl(r))}registerIcons(i,r){i.forEach(s=>{let o=`${r}/${s}.svg`;this.registerIcon(s,o)})}registerAllCustomIcons(){this.registerIcons(["machine-learning"],"assets/icons")}initializeIcons(){this.registerAllCustomIcons()}};e.\u0275fac=function(r){return new(r||e)(E(Rt),E(or))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function ks(){return[Ci,Ai,dt,Oi,ei,Jt,wi,qe,Pr,Kr,Ur,$r,Br,Qr,qr,nt,Wr,Lr,an,{provide:Kn,multi:!0,useValue(){let n=ae(Oi),e=ae(nt),t=ae(Rt),i=ae(wi),r=ae(Ci),s=ae(Ai),o=ae(an);r.connect(),s.connect(),n.trackNavigationHistory(),e.trackCurrentRunningPage(),t.registerFontClassAlias("icomoon","ms"),o.registerAllCustomIcons(),i.dispatch(xt.fetchScriptStatus())}}]}function Ls(){return[{provide:wr,useValue:{floatLabel:"always",appearance:"outline",density:"cozy"}},{provide:kr,useValue:{displayDefaultIndicatorType:!0,showError:!1}},{provide:Xr,useValue:{placeholderLabel:"Search...",noEntriesFoundLabel:"No matching entries found..."}}]}var ii=class{constructor(e){this.httpClient=e}get httpHeaders(){return new Jn}getRequestOptions(e){let t=e.getParams||void 0;return{headers:this.httpHeaders,params:t}}serviceCall(e){return bt()&&console.log(`serviceCall@Client - ${e.getMethod} - ${e.getUrl}`),W(e).pipe(G(t=>{if(t.getMock)return this.httpClient.get(t.getUrl,this.getRequestOptions(t)).pipe(Ln(t.getMockDelay));switch(t.getMethod){case"GET":return this.httpClient.get(t.getUrl,this.getRequestOptions(t));case"POST":return this.httpClient.post(t.getUrl,t.getBody,this.getRequestOptions(t));case"PUT":return this.httpClient.put(t.getUrl,null,this.getRequestOptions(t));default:throw new Error(`Unsupported method: ${t.getMethod}`)}}))}};function js(){return[{provide:Oe,useFactory:n=>new ii(n),deps:[er]}]}var bl=(()=>{let e=class e{constructor(i){this.bannerService=i}handleError(i,r){let s=r.error,{error:o}=s;switch(r.status){case 400:case 404:case 500:case 503:this.spawnNotification(o);break;case 504:this.spawnNotification(s);break;default:this.spawnNotification(o);break}return Nn(()=>r)}spawnNotification(i){this.bannerService.showError(i)}};e.\u0275fac=function(r){return new(r||e)(E(Ft))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),zs=(()=>{let e=class e{constructor(i){this.errorHandler=i}intercept(i,r){return r.handle(i).pipe(X(s=>this.errorHandler.handleError(i,s)))}};e.\u0275fac=function(r){return new(r||e)(E(bl))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function $s(){return[{provide:Ei,useClass:zs,multi:!0},{provide:Ei,useClass:Yr,multi:!0}]}var ft="PERFORM_ACTION",Ml="REFRESH",Gs="RESET",Vs="ROLLBACK",Ws="COMMIT",Hs="SWEEP",Zs="TOGGLE_ACTION",wl="SET_ACTIONS_ACTIVE",Xs="JUMP_TO_STATE",Ys="JUMP_TO_ACTION",En="IMPORT_STATE",Js="LOCK_CHANGES",eo="PAUSE_RECORDING",He=class{constructor(e,t){if(this.action=e,this.timestamp=t,this.type=ft,typeof e.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},ln=class{constructor(){this.type=Ml}},cn=class{constructor(e){this.timestamp=e,this.type=Gs}},un=class{constructor(e){this.timestamp=e,this.type=Vs}},dn=class{constructor(e){this.timestamp=e,this.type=Ws}},mn=class{constructor(){this.type=Hs}},fn=class{constructor(e){this.id=e,this.type=Zs}};var pn=class{constructor(e){this.index=e,this.type=Xs}},hn=class{constructor(e){this.actionId=e,this.type=Ys}},gn=class{constructor(e){this.nextLiftedState=e,this.type=En}},yn=class{constructor(e){this.status=e,this.type=Js}},Sn=class{constructor(e){this.status=e,this.type=eo}};var oi=new Xe("@ngrx/store-devtools Options"),Us=new Xe("@ngrx/store-devtools Initial Config");function to(){return null}var Ol="NgRx Store DevTools";function Cl(n){let e={maxAge:!1,monitor:to,actionSanitizer:void 0,stateSanitizer:void 0,name:Ol,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},t=typeof n=="function"?n():n,i=t.logOnly?{pause:!0,export:!0,test:!0}:!1,r=t.features||i||e.features;r.import===!0&&(r.import="custom");let s=Object.assign({},e,{features:r},t);if(s.maxAge&&s.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${s.maxAge}`);return s}function Ks(n,e){return n.filter(t=>e.indexOf(t)<0)}function io(n){let{computedStates:e,currentStateIndex:t}=n;if(t>=e.length){let{state:r}=e[e.length-1];return r}let{state:i}=e[t];return i}function mt(n){return new He(n,+Date.now())}function Al(n,e){return Object.keys(e).reduce((t,i)=>{let r=Number(i);return t[r]=no(n,e[r],r),t},{})}function no(n,e,t){return N(A({},e),{action:n(e.action,t)})}function Pl(n,e){return e.map((t,i)=>({state:ro(n,t.state,i),error:t.error}))}function ro(n,e,t){return n(e,t)}function so(n){return n.predicate||n.actionsSafelist||n.actionsBlocklist}function Il(n,e,t,i){let r=[],s={},o=[];return n.stagedActionIds.forEach((a,l)=>{let c=n.actionsById[a];c&&(l&&_n(n.computedStates[l],c,e,t,i)||(s[a]=c,r.push(a),o.push(n.computedStates[l])))}),N(A({},n),{stagedActionIds:r,actionsById:s,computedStates:o})}function _n(n,e,t,i,r){let s=t&&!t(n,e.action),o=i&&!e.action.type.match(i.map(l=>Bs(l)).join("|")),a=r&&e.action.type.match(r.map(l=>Bs(l)).join("|"));return s||o||a}function Bs(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function oo(n){return{ngZone:n?ae(vt):null,connectInZone:n}}var ai=(()=>{let e=class e extends At{};e.\u0275fac=(()=>{let i;return function(s){return(i||(i=qn(e)))(s||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})(),ni={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},vn=new Xe("@ngrx/store-devtools Redux Devtools Extension"),ao=(()=>{let e=class e{constructor(i,r,s){this.config=r,this.dispatcher=s,this.zoneConfig=oo(this.config.connectInZone),this.devtoolsExtension=i,this.createActionStreams()}notify(i,r){if(this.devtoolsExtension)if(i.type===ft){if(r.isLocked||r.isPaused)return;let s=io(r);if(so(this.config)&&_n(s,i,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let o=this.config.stateSanitizer?ro(this.config.stateSanitizer,s,r.currentStateIndex):s,a=this.config.actionSanitizer?no(this.config.actionSanitizer,i,r.nextActionId):i;this.sendToReduxDevtools(()=>this.extensionConnection.send(a,o))}else{let s=N(A({},r),{stagedActionIds:r.stagedActionIds,actionsById:this.config.actionSanitizer?Al(this.config.actionSanitizer,r.actionsById):r.actionsById,computedStates:this.config.stateSanitizer?Pl(this.config.stateSanitizer,r.computedStates):r.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,s,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new pi(i=>{let r=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=r,r.init(),r.subscribe(s=>i.next(s)),r.unsubscribe}):In}createActionStreams(){let i=this.createChangesObservable().pipe(zn()),r=i.pipe(je(d=>d.type===ni.START)),s=i.pipe(je(d=>d.type===ni.STOP)),o=i.pipe(je(d=>d.type===ni.DISPATCH),Q(d=>this.unwrapAction(d.payload)),xn(d=>d.type===En?this.dispatcher.pipe(je(u=>u.type===Mi),Dn(1e3),Fn(1e3),Q(()=>d),X(()=>W(d)),kn(1)):W(d))),l=i.pipe(je(d=>d.type===ni.ACTION),Q(d=>this.unwrapAction(d.payload))).pipe(St(s)),c=o.pipe(St(s));this.start$=r.pipe(St(s)),this.actions$=this.start$.pipe(G(()=>l)),this.liftedActions$=this.start$.pipe(G(()=>c))}unwrapAction(i){return typeof i=="string"?(0,eval)(`(${i})`):i}getExtensionConfig(i){let r={name:i.name,features:i.features,serialize:i.serialize,autoPause:i.autoPause??!1,trace:i.trace??!1,traceLimit:i.traceLimit??75};return i.maxAge!==!1&&(r.maxAge=i.maxAge),r}sendToReduxDevtools(i){try{i()}catch(r){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",r)}}};e.\u0275fac=function(r){return new(r||e)(E(vn),E(oi),E(ai))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})(),si={type:bi},Rl="@ngrx/store-devtools/recompute",Nl={type:Rl};function lo(n,e,t,i,r){if(i)return{state:t,error:"Interrupted by an error up the chain"};let s=t,o;try{s=n(t,e)}catch(a){o=a.toString(),r.handleError(a)}return{state:s,error:o}}function ri(n,e,t,i,r,s,o,a,l){if(e>=n.length&&n.length===s.length)return n;let c=n.slice(0,e),d=s.length-(l?1:0);for(let u=e;u-1?m:lo(t,g,f,T,a);c.push(P)}return l&&c.push(n[n.length-1]),c}function Dl(n,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:mt(si)},stagedActionIds:[0],skippedActionIds:[],committedState:n,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function xl(n,e,t,i,r={}){return s=>(o,a)=>{let{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:m,computedStates:f,isLocked:T,isPaused:w}=o||e;o||(c=Object.create(c));function P(I){let _=I,k=u.slice(1,_+1);for(let R=0;Rk.indexOf(R)===-1),u=[0,...u.slice(_+1)],g=f[_].state,f=f.slice(_),m=m>_?m-_:0}function j(){c={0:mt(si)},d=1,u=[0],p=[],g=f[m].state,m=0,f=[]}let v=0;switch(a.type){case Js:{T=a.status,v=1/0;break}case eo:{w=a.status,w?(u=[...u,d],c[d]=new He({type:"@ngrx/devtools/pause"},+Date.now()),d++,v=u.length-1,f=f.concat(f[f.length-1]),m===u.length-2&&m++,v=1/0):j();break}case Gs:{c={0:mt(si)},d=1,u=[0],p=[],g=n,m=0,f=[];break}case Ws:{j();break}case Vs:{c={0:mt(si)},d=1,u=[0],p=[],m=0,f=[];break}case Zs:{let{id:I}=a;p.indexOf(I)===-1?p=[I,...p]:p=p.filter(k=>k!==I),v=u.indexOf(I);break}case wl:{let{start:I,end:_,active:k}=a,R=[];for(let ne=I;ne<_;ne++)R.push(ne);k?p=Ks(p,R):p=[...p,...R],v=u.indexOf(I);break}case Xs:{m=a.index,v=1/0;break}case Ys:{let I=u.indexOf(a.actionId);I!==-1&&(m=I),v=1/0;break}case Hs:{u=Ks(u,p),p=[],m=Math.min(m,u.length-1);break}case ft:{if(T)return o||e;if(w||o&&_n(o.computedStates[m],a,r.predicate,r.actionsSafelist,r.actionsBlocklist)){let _=f[f.length-1];f=[...f.slice(0,-1),lo(s,a.action,_.state,_.error,t)],v=1/0;break}r.maxAge&&u.length===r.maxAge&&P(1),m===u.length-1&&m++;let I=d++;c[I]=a,u=[...u,I],v=u.length-1;break}case En:{({monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:m,computedStates:f,isLocked:T,isPaused:w}=a.nextLiftedState);break}case bi:{v=0,r.maxAge&&u.length>r.maxAge&&(f=ri(f,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);break}case Mi:{if(f.filter(_=>_.error).length>0)v=0,r.maxAge&&u.length>r.maxAge&&(f=ri(f,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);else{if(!w&&!T){m===u.length-1&&m++;let _=d++;c[_]=new He(a,+Date.now()),u=[...u,_],v=u.length-1,f=ri(f,v,s,g,c,u,p,t,w)}f=f.map(_=>N(A({},_),{state:s(_.state,Nl)})),m=u.length-1,r.maxAge&&u.length>r.maxAge&&P(u.length-r.maxAge),v=1/0}break}default:{v=1/0;break}}return f=ri(f,v,s,g,c,u,p,t,w),l=i(l,a),{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:m,computedStates:f,isLocked:T,isPaused:w}}}var qs=(()=>{let e=class e{constructor(i,r,s,o,a,l,c,d){let u=Dl(c,d.monitor),p=xl(c,u,l,d.monitor,d),g=hi(hi(r.asObservable().pipe($n(1)),o.actions$).pipe(Q(mt)),i,o.liftedActions$).pipe(Rn(Pn)),m=s.pipe(Q(p)),f=oo(d.connectInZone),T=new An(1);this.liftedStateSubscription=g.pipe(Un(m),Qs(f),jn(({state:j},[v,I])=>{let _=I(j,v);return v.type!==ft&&so(d)&&(_=Il(_,d.predicate,d.actionsSafelist,d.actionsBlocklist)),o.notify(v,_),{state:_,action:v}},{state:u,action:null})).subscribe(({state:j,action:v})=>{if(T.next(j),v.type===ft){let I=v.action;a.next(I)}}),this.extensionStartSubscription=o.start$.pipe(Qs(f)).subscribe(()=>{this.refresh()});let w=T.asObservable(),P=w.pipe(Q(io));Object.defineProperty(P,"state",{value:gr(P,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=i,this.liftedState=w,this.state=P}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(i){this.dispatcher.next(i)}next(i){this.dispatcher.next(i)}error(i){}complete(){}performAction(i){this.dispatch(new He(i,+Date.now()))}refresh(){this.dispatch(new ln)}reset(){this.dispatch(new cn(+Date.now()))}rollback(){this.dispatch(new un(+Date.now()))}commit(){this.dispatch(new dn(+Date.now()))}sweep(){this.dispatch(new mn)}toggleAction(i){this.dispatch(new fn(i))}jumpToAction(i){this.dispatch(new hn(i))}jumpToState(i){this.dispatch(new pn(i))}importState(i){this.dispatch(new gn(i))}lockChanges(i){this.dispatch(new yn(i))}pauseRecording(i){this.dispatch(new Sn(i))}};e.\u0275fac=function(r){return new(r||e)(E(ai),E(At),E(Sr),E(ao),E(Er),E(Qn),E(yr),E(oi))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function Qs({ngZone:n,connectInZone:e}){return t=>e?new pi(i=>t.subscribe({next:r=>n.run(()=>i.next(r)),error:r=>n.run(()=>i.error(r)),complete:()=>n.run(()=>i.complete())})):t}var Fl=new Xe("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function kl(n,e){return!!n||e.monitor!==to}function Ll(){let n="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[n]<"u"?window[n]:null}function co(n={}){return Bn([ao,ai,qs,{provide:Us,useValue:n},{provide:Fl,deps:[vn,oi],useFactory:kl},{provide:vn,useFactory:Ll},{provide:oi,deps:[Us],useFactory:Cl},{provide:_r,deps:[qs],useFactory:jl},{provide:vr,useExisting:ai}])}function jl(n){return n.state}var ho=Ro(po(),1);var Tn="@ngrx/store/init",Yl="@ngrx/store/update-reducers",Jl=/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/,ec=(n,e)=>typeof e=="string"&&Jl.test(e)?new Date(e):e,tc=(n,e)=>e,ic=()=>typeof window<"u",nc=n=>n.map(e=>{let t=e;if(typeof e=="object"&&(t=Object.keys(e)[0]),typeof t!="string")throw new TypeError(`localStorageSync Unknown Parameter Type: Expected type of string, got ${typeof t}`);return e}),rc=(n,e,t,i)=>n.reduce((r,s)=>{let o=s,a=i?ec:tc,l,c;if(typeof o=="object"&&(o=Object.keys(o)[0],typeof s[o]=="function"?a=s[o]:(s[o].reviver&&(a=s[o].reviver),s[o].deserialize&&(l=s[o].deserialize)),s[o].encrypt&&s[o].decrypt?typeof s[o].encrypt=="function"&&typeof s[o].decrypt=="function"?c=s[o].decrypt:console.error(`Either encrypt or decrypt is not a function on '${s[o]}' key object.`):(s[o].encrypt||s[o].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${s[o]}' key object.`)),e!==void 0){let d=e.getItem(t(o));if(d){c&&(d=c(d));let u=new RegExp("{|\\["),p=d;return(d==="null"||d==="true"||d==="false"||u.test(d.charAt(0)))&&(p=JSON.parse(d,a)),Object.assign({},r,{[o]:l?l(p):p})}}return r},{});function go(n,e){return e.reduce((t,i)=>{if(typeof i=="string"||typeof i=="number"){let r=n?.[i];r!==void 0&&(t[i]=r)}else for(let r in i)if(Object.prototype.hasOwnProperty.call(i,r)){let s=i[r];t[r]=go(n[r],s)}return t},{})}var sc=(n,e,t,i,r,s)=>{if(s)try{if(s(n)!==!0)return}catch(o){if(o instanceof TypeError)return;throw o}e.forEach(o=>{let a=n[o],l,c,d;if(typeof o=="object"){let u=Object.keys(o)[0];if(a=n[u],typeof a<"u"&&o[u]){if(o[u].serialize)a=o[u].serialize(a);else{let p;o[u].reduce?p=o[u]:o[u].filter&&(p=o[u].filter),p&&(a=go(a,p)),o[u].encrypt&&o[u].decrypt?typeof o[u].encrypt=="function"&&(d=o[u].encrypt):(o[u].encrypt||o[u].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${o[u]}' key object.`)}l=o[u].replacer,c=o[u].space}o=u}if(typeof a<"u"&&t!==void 0)try{d&&(a=d(typeof a=="string"?a:JSON.stringify(a,l,c))),t.setItem(i(o),typeof a=="string"?a:JSON.stringify(a,l,c))}catch(u){console.warn("Unable to save state to localStorage:",u)}else if(typeof a>"u"&&r&&t!==void 0)try{t.removeItem(i(o))}catch(u){console.warn(`Exception on removing/cleaning undefined '${o}' state`,u)}})},oc=(n,e,t)=>((t.type===Tn||t.type===Yl)&&e&&(n=(0,ho.default)(n,e,{arrayMerge:(s,o,a)=>o})),n),yo=n=>e=>{(n.storage===void 0&&!n.checkStorageAvailability||n.checkStorageAvailability&&ic())&&(n.storage=localStorage||window.localStorage),n.storageKeySerializer===void 0&&(n.storageKeySerializer=s=>s),n.restoreDates===void 0&&(n.restoreDates=!0);let t=n.mergeReducer;(t===void 0||typeof t!="function")&&(t=oc);let i=nc(n.keys),r=n.rehydrate?rc(i,n.storage,n.storageKeySerializer,n.restoreDates):void 0;return function(s,o){let a;return o.type===Tn&&!s?a=e(s,o):a=A({},s),a=t(a,r,o),a=e(a,o),o.type!==Tn&&sc(a,i,n.storage,n.storageKeySerializer,n.removeOnUndefined,n.syncCondition),a}};function ac(n){let t={keys:[{[$.CORE.ROOT]:[$.AUTH.ROOT,$.CONFIGS.ROOT,$.SCRIPT.ROOT]}],rehydrate:!0};return yo(t)(n)}var So=[ac];var ht=class extends Or{constructor(e){if(!e)return;let t=new FormData;t.append("file",e),super("upload-model",t,!1)}};var Eo=(()=>{let e=class e{constructor(i,r,s){this.apiClient=i,this.bannerService=r,this.actions$=s,this.uploadFile$=de(()=>this.actions$.pipe(me(re.uploadFile),G(o=>this.apiClient.serviceCall(new ht(o.file)).pipe(Q(a=>re.uploadFileSuccess({data:a})),X(a=>W(re.uploadFileFailure({error:a}))))))),this.uploadFileAndCallScript$=de(()=>this.actions$.pipe(me(re.uploadFileAndCallScript),G(o=>(this.bannerService.showInfo("Uploading file"),this.apiClient.serviceCall(new ht(o.file)).pipe(G(a=>(this.bannerService.showSuccess("File uploaded successfully."),[re.uploadFileSuccess({data:a}),xt.callScript({configs:o.configs})])),X(a=>W(re.uploadFileFailure({error:a}))))))))}};e.\u0275fac=function(r){return new(r||e)(E(Oe),E(Ft),E(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var lc={uploading:!1},_o=Ue(lc,V(re.uploadFile,n=>N(A({},n),{uploading:!0})),V(re.uploadFileSuccess,(n,{data:e})=>N(A({},n),{uploading:!1,uploadedData:e})),V(re.uploadFileFailure,(n,{error:e})=>N(A({},n),{uploading:!1,error:e})));var Zd=Pt(It,({fileState:n})=>n.uploading),Xd=Pt(It,({fileState:n})=>n.uploadedData),Yd=Pt(It,({fileState:n})=>n.error);var cc={quantizationModels:[],pruningModels:[],machineUnlearningModels:[],awqModels:[],currentModel:"",modelMetadata:{},error:void 0},To=Ue(cc,V(B.getModelsListSuccess,(n,{algorithmType:e,models:t})=>{switch(e){case it.QUANTIZATION:return N(A({},n),{quantizationModels:t,error:void 0});case it.PRUNING:return N(A({},n),{pruningModels:t,error:void 0});case it.MACHINE_UNLEARNING:return N(A({},n),{machineUnlearningModels:t,error:void 0});case it.AWQ:return N(A({},n),{awqModels:t,error:void 0});default:return n}}),V(B.getModelsListFailure,(n,{error:e})=>N(A({},n),{error:e})),V(B.getCurrentOrPreviousSelectedModelSuccess,(n,{model:e})=>N(A({},n),{currentModel:e})),V(B.getCurrentOrPreviousSelectedModelFailure,(n,{error:e})=>N(A({},n),{error:e})),V(B.getModelMetadataSuccess,(n,{metadata:e})=>N(A({},n),{modelMetadata:e,error:void 0})),V(B.getModelMetadataFailure,(n,{error:e})=>N(A({},n),{modelMetadata:{},error:e})));var li=class extends we{constructor(e){super(`parameters/${e}`,void 0,void 0,!1),this.mock&&(this.url+="/get-response-body-200.json")}};var bo=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadParameters$=de(()=>this.actions$.pipe(me(Ce.loadParameters),G(({arg:s})=>this.apiClient.serviceCall(new li(s)).pipe(Q(o=>Ce.loadParametersSuccess({arg:s,parameters:o.parameters})),X(o=>W(Ce.loadParametersFailure({arg:s,error:o})))))))}};e.\u0275fac=function(r){return new(r||e)(E(Oe),E(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();var uc={},Mo=Ue(uc,V(Ce.loadParameters,(n,{arg:e})=>N(A({},n),{[e]:N(A({},n[e]),{loaded:!1,error:null})})),V(Ce.loadParametersSuccess,(n,{arg:e,parameters:t})=>N(A({},n),{[e]:{data:t,error:null,loaded:!0}})),V(Ce.loadParametersFailure,(n,{arg:e,error:t})=>N(A({},n),{[e]:N(A({},n[e]),{error:t,loaded:!0})})));var wo={auth:Ar,configs:Jr,script:Dr,uploadFile:_o,charts:zr,parameters:Mo,terminal:Zr,statistics:Vr,models:To};var ci=class extends we{constructor(e){super(`current-or-previous-selected-model/${e}`,void 0,void 0,!1)}};var ui=class extends we{constructor(e,t){super(`model-metadata/${e}/${t}`,void 0,void 0,!1)}};var di=class extends we{constructor(e){super(`models-list/${e}`,void 0,void 0,!1)}};var Oo=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadModels$=de(()=>this.actions$.pipe(me(B.getModelsList),G(s=>{let{algorithmType:o}=s;return this.apiClient.serviceCall(new di(o)).pipe(Q(a=>B.getModelsListSuccess({algorithmType:o,models:a})),X(a=>W(B.getModelsListFailure({error:a}))))}))),this.getCurrentOrPreviousSelectedModel$=de(()=>this.actions$.pipe(me(B.getCurrentOrPreviousSelectedModel),G(s=>this.apiClient.serviceCall(new ci(s.algorithmType)).pipe(Q(o=>B.getCurrentOrPreviousSelectedModelSuccess({model:o.model})),X(o=>W(B.getCurrentOrPreviousSelectedModelFailure({error:o}))))))),this.getModelMetadata$=de(()=>this.actions$.pipe(me(B.getModelMetadata),G(s=>{let{algorithmType:o,modelName:a}=s;return this.apiClient.serviceCall(new ui(o,a)).pipe(Q(l=>B.getModelMetadataSuccess({metadata:l})),X(l=>W(B.getModelMetadataFailure({error:l}))))})))}};e.\u0275fac=function(r){return new(r||e)(E(Oe),E(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let n=e;return n})();function Co(){return[co({maxAge:25,logOnly:bt(),connectInZone:!0}),ve([et.forRoot({},{metaReducers:So}),tt.forRoot([]),et.forFeature("core",wo)]),ve(tt.forFeature([Cr,Nr,Eo,jr,bo,Hr,Gr,Oo]))]}var Ao={providers:[ve(Ps),ur(Fs),Ls(),Co(),js(),ks(),$s(),ar(),tr(ir())]};rr(kt,Ao).catch(n=>console.error(n)); diff --git a/frontend/server/modelsmith-build/browser/styles-M6JMWTAV.css b/frontend/server/modelsmith-build/browser/styles-M6JMWTAV.css deleted file mode 100644 index b2a4abe5..00000000 --- a/frontend/server/modelsmith-build/browser/styles-M6JMWTAV.css +++ /dev/null @@ -1 +0,0 @@ -.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}html{color:var(--foregrounds-800)}.text-hint{color:var(--foregrounds-700)}.heading-primary-title{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}button.ms-white-stroked-button.mat-mdc-outlined-button{font-size:1rem;line-height:1.375rem;font-weight:400;border-color:var(--backgrounds-50);color:var(--backgrounds-50)}.mat-mdc-button.mat-unthemed{color:var(--foregrounds-700)!important;font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button{border-radius:6px;border-width:1px!important;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button:not(:disabled).mat-primary{border-color:var(--primary-800)}.mat-mdc-outlined-button:not(:disabled).mat-accent{border-color:var(--accent-400);font-weight:700}.mat-mdc-outlined-button:not(:disabled).mat-warn{border-color:var(--error-500);font-weight:700}.mat-button-toggle-group .mat-button-toggle{margin:0 5px;font-size:.875rem}:root{--mat-divider-width: 2px;--mat-divider-color: var(--foregrounds-300)}.vertical-divider{height:100%;width:1px;background-color:var(--backgrounds-50);margin:0 12px}mat-card.ms-card{border-radius:8px;padding:24px;box-shadow:0 3px 8px #00000014;border:2px solid transparent;transition:transform .3s cubic-bezier(.25,.8,.25,1),box-shadow .3s cubic-bezier(.25,.8,.25,1),border-color .3s cubic-bezier(.25,.8,.25,1)}mat-card.ms-card.action-card{cursor:pointer}mat-card.ms-card.action-card:hover{box-shadow:0 5px 15px #0000001f;background-color:var(--backgrounds-80)}mat-card.ms-card.action-card.selected{background-color:var(--backgrounds-80);box-shadow:inset 0 3px 8px #0000001a;border-color:var(--accent-400)}:root{--mat-option-label-text-size: .75rem;--mat-optgroup-label-text-size: .75rem;--background-color: #ffffff;--border-color: #dcdcdc;--text-color: #000000;--placeholder-color: #888888;--hover-border-color: #bcbcbc;--dark-background-color: #121212;--dark-border-color: #2c2c2c;--dark-text-color: #e0e0e0;--dark-placeholder-color: #757575;--dark-hover-border-color: #5e5e5e}.form-field-container{display:flex;flex-direction:column;color:var(--text-color)}.form-field-container.inline-container{flex-direction:row;align-items:center}.form-field-container .mat-mdc-form-field-hint-wrapper,.form-field-container .mat-mdc-form-field-error-wrapper{padding:0}.form-field-container .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color)}.form-field-container .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--text-color)}.form-field-container .mat-mdc-text-field-wrapper ::placeholder{color:var(--placeholder-color)}.form-field-container.dark{color:var(--dark-text-color)}.form-field-container.dark mat-label{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper:hover{border-color:var(--dark-hover-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper ::placeholder{color:var(--dark-placeholder-color)}.form-field-container.dark mat-icon{color:var(--dark-text-color)}.form-field-container mat-label{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem;color:var(--text-color)}.form-field-container mat-label.dark{color:var(--dark-text-color)}.form-field-container mat-form-field .mat-mdc-form-field-icon-prefix>.mat-icon,.form-field-container mat-form-field .mat-mdc-form-field-icon-suffix>.mat-icon{padding:8.5px}.form-field-container mat-form-field .mdc-notched-outline{display:none}.form-field-container mat-form-field .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:6px}.form-field-container mat-form-field .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mdc-text-field__input{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;color:var(--text-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark:hover{border-color:var(--dark-hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mdc-text-field__input{color:var(--dark-text-color)}mat-table.ms-table .mat-mdc-header-row{background:transparent;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem;text-align:left;color:var(--foregrounds-800)}mat-table.ms-table .mdc-data-table__cell,mat-table.ms-table .mdc-data-table__header-cell{padding-left:0}mat-table.ms-table .mat-mdc-cell{background:transparent;font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;text-align:left;color:var(--foregrounds-750)}mat-stepper.ms-wizard{background-color:transparent}mat-stepper.ms-wizard .mat-horizontal-stepper-header-container{display:none}.mat-mdc-chip.ms-chip .mdc-evolution-chip__text-label{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.mat-mdc-chip.ms-chip.mat-accent.mat-mdc-standard-chip{background-color:var(--accent-50)}.mat-mdc-chip.ms-chip.mat-primary.mat-mdc-standard-chip{background-color:var(--primary-100)}.mat-mdc-chip.ms-chip.mat-warn.mat-mdc-standard-chip{background-color:var(--error-200)}.ms-mat-menu{--mat-menu-item-label-text-size: .875rem}.mdc-label{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.ms-checkbox-white{--mdc-checkbox-unselected-hover-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-focus-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-pressed-state-layer-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-icon-color: var(--backgrounds-50) !important}.ms-checkbox-white .mdc-label{color:var(--backgrounds-50)}.mat-mdc-tooltip:before{background-color:var(--tooltip);height:12px;width:12px;rotate:45deg;right:50%!important;left:auto!important;transform:translate(4px,-4px)}.mdc-tooltip__surface{background-color:var(--tooltip)!important}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip:before{top:auto;bottom:-6px!important}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip:before{top:-6px!important;bottom:auto}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: rgba(255, 255, 255, 1) !important;--mdc-snackbar-supporting-text-color: rgba(35, 40, 46, 1) !important}.notification-panel-success .mdc-snackbar__surface{border-left:6px solid var(--success-500)}.notification-panel-error .mdc-snackbar__surface{border-left:6px solid var(--error-500)}.notification-panel-warning .mdc-snackbar__surface{border-left:6px solid var(--warning-500)}.notification-panel-info .mdc-snackbar__surface{border-left:6px solid var(--primary-800)}.dialog-backdrop,.drawer-backdrop{background-color:var(--foregrounds-500-alpha)}.mdc-list-item__primary-text{width:100%}.mat-mdc-optgroup-label{padding:5px 16px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.mat-h1,.mat-headline-5,body .mat-h1,body .mat-headline-5,body h1{font:700 1.5rem/2.125rem Montserrat;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,body .mat-h2,body .mat-headline-6,body h2{font:500 1.25rem/2rem Montserrat;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,body .mat-h3,body .mat-subtitle-1,body h3{font:400 1rem/1.75rem Montserrat;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,body .mat-h4,body .mat-body-1,body h4{font:400 1rem/1.5rem Montserrat;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,body .mat-h5,body h5{font:400 .72625rem/1.25rem Montserrat;margin:0 0 12px}.mat-h6,body .mat-h6,body h6{font:400 .58625rem/1.25rem Montserrat;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,body .mat-body-strong,body .mat-subtitle-2{font:500 .875rem/1.375rem Montserrat;letter-spacing:.0071428571em}.mat-body,.mat-body-2,body .mat-body,body .mat-body-2,body{font:400 .875rem/1.25rem Montserrat;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,body .mat-body p,body .mat-body-2 p,body p{margin:0 0 12px}.mat-small,.mat-caption,body .mat-small,body .mat-caption{font:400 .75rem/1.25rem Montserrat;letter-spacing:.0333333333em}.mat-headline-1,body .mat-headline-1{font:300 7rem/7rem Montserrat;letter-spacing:-.05em;margin:0 0 56px}.mat-headline-2,body .mat-headline-2{font:400 3.5rem/3.5rem Montserrat;letter-spacing:-.02em;margin:0 0 64px}.mat-headline-3,body .mat-headline-3{font:400 2.8125rem/3rem Montserrat;letter-spacing:-.005em;margin:0 0 64px}.mat-headline-4,body .mat-headline-4{font:400 2.125rem/2.5rem Montserrat;letter-spacing:normal;margin:0 0 64px}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--backgrounds-100)}::-webkit-scrollbar-thumb{background:var(--backgrounds-500);border-radius:16px}::-webkit-scrollbar-thumb:hover{background:var(--backgrounds-700)}@font-face{font-family:icomoon;src:url("./media/icomoon-N4UB7WA7.eot?39lrb6");src:url("./media/icomoon-N4UB7WA7.eot?39lrb6#iefix") format("embedded-opentype"),url("./media/icomoon-ALHP4THO.ttf?39lrb6") format("truetype"),url("./media/icomoon-FCELVRZF.woff?39lrb6") format("woff"),url("./media/icomoon-JVEKTUSA.svg?39lrb6#icomoon") format("svg");font-weight:400;font-style:normal;font-display:block}[class^=icon-],[class*=" icon-"]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-Admin:before{content:"\e955"}.icon-Environmental:before{content:"\e956"}.icon-Inventory:before{content:"\e957"}.icon-Systems-Manager:before{content:"\e958"}.icon-SelectedFalse:before{content:"\e958"}.icon-Alerts-Info .path1:before{content:"\e900";color:#5b92f0}.icon-Alerts-Info .path2:before{content:"\e901";margin-left:-1em;color:#fff}.icon-Alerts-Info .path3:before{content:"\e902";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path1:before{content:"\e903";color:#c24632}.icon-Alerts-Negative .path2:before{content:"\e904";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path3:before{content:"\e905";margin-left:-1em;color:#fff}.icon-Alerts-Positive .path1:before{content:"\e906";color:#45991f}.icon-Alerts-Positive .path2:before{content:"\e907";margin-left:-1em;color:#fff}.icon-Alerts-Warning .path1:before{content:"\e908";color:#d9b216}.icon-Alerts-Warning .path2:before{content:"\e909";margin-left:-1em;color:#464c54}.icon-Alerts-Warning .path3:before{content:"\e90a";margin-left:-1em;color:#464c54}.icon-ArrowDown:before{content:"\e90b"}.icon-ArrowLeft:before{content:"\e90c"}.icon-ArrowRight:before{content:"\e90d"}.icon-ArrowSquareOut:before{content:"\e90e"}.icon-ArrowUp:before{content:"\e90f"}.icon-Bell:before{content:"\e910"}.icon-CalendarBlank:before{content:"\e911"}.icon-CaretDoubleLeft:before{content:"\e912"}.icon-CaretDoubleRight:before{content:"\e913"}.icon-CaretDown:before{content:"\e914"}.icon-CaretLeft:before{content:"\e915"}.icon-CaretRight:before{content:"\e916"}.icon-CaretUp:before{content:"\e917"}.icon-Check:before{content:"\e918"}.icon-CheckCircle:before{content:"\e919"}.icon-Clock:before{content:"\e91a"}.icon-Copy:before{content:"\e91b"}.icon-Crosshair:before{content:"\e91c"}.icon-DotsSix:before{content:"\e91d"}.icon-DotsThree:before{content:"\e91e"}.icon-DotsThreeVertical:before{content:"\e91f"}.icon-DownloadSimple:before{content:"\e920"}.icon-DropdownCaretDown:before{content:"\e921"}.icon-DropdownCaretRight:before{content:"\e922"}.icon-DropdownCaretUp:before{content:"\e923"}.icon-EnvelopeSimple:before{content:"\e924"}.icon-Eye:before{content:"\e925"}.icon-EyeSlash:before{content:"\e926"}.icon-FunnelSimple:before{content:"\e927"}.icon-GearSix:before{content:"\e928"}.icon-Info:before{content:"\e929"}.icon-Lightning:before{content:"\e92a"}.icon-ListBullets:before{content:"\e92b"}.icon-Loader:before{content:"\e92c"}.icon-Lock:before{content:"\e92d"}.icon-MagicWand:before{content:"\e92e"}.icon-Magnet:before{content:"\e92f"}.icon-MagnifyingGlass:before{content:"\e930"}.icon-MapTrifold:before{content:"\e931"}.icon-Minus:before{content:"\e932"}.icon-Nav:before{content:"\e933"}.icon-Paperclip:before{content:"\e934"}.icon-Passthrough:before{content:"\e935"}.icon-PencilSimple:before{content:"\e936"}.icon-Placeholder:before{content:"\e937"}.icon-Plus:before{content:"\e938"}.icon-Printer:before{content:"\e939"}.icon-Prohibit:before{content:"\e93a"}.icon-Question:before{content:"\e93b"}.icon-Refresh:before{content:"\e93c"}.icon-Rocket:before{content:"\e93d"}.icon-SignOut:before{content:"\e93e"}.icon-Sort:before{content:"\e93f"}.icon-SortDown .path1:before{content:"\e940";color:#000}.icon-SortDown .path2:before{content:"\e941";margin-left:-1em;color:#232323}.icon-SortUp .path1:before{content:"\e942";color:#232323}.icon-SortUp .path2:before{content:"\e943";margin-left:-1em;color:#000}.icon-Stack:before{content:"\e944"}.icon-StackPort:before{content:"\e945"}.icon-TrashSimple:before{content:"\e946"}.icon-TrendDown:before{content:"\e947"}.icon-TrendUp:before{content:"\e948"}.icon-UploadSimple:before{content:"\e949"}.icon-User:before{content:"\e94a"}.icon-Users:before{content:"\e94b"}.icon-WifiHigh:before{content:"\e94c"}.icon-WifiLightning:before{content:"\e94d"}.icon-WifiLow:before{content:"\e94e"}.icon-WifiMedium:before{content:"\e94f"}.icon-WifiNone:before{content:"\e950"}.icon-WifiSlash:before{content:"\e951"}.icon-WifiX:before{content:"\e952"}.icon-X:before{content:"\e953"}.icon-XCircle:before{content:"\e954"}.mat-icon.size-18{font-size:1.125rem;width:1.125rem;height:1.125rem}.mat-icon.size-20{font-size:1.25rem;width:1.25rem;height:1.25rem}.mat-icon.size-24{font-size:1.5rem;width:1.5rem;height:1.5rem}.mat-icon.size-32{font-size:2rem;width:2rem;height:2rem}.mat-icon.size-48{font-size:3rem;width:3rem;height:3rem}mat-icon{font-size:1.5rem}mat-icon.mat-primary{color:var(--primary-800)!important}mat-icon.mat-complementary{color:var(--complementary-800)!important}mat-icon.mat-gray{color:var(--foregrounds-600)!important}mat-icon.mat-white{color:var(--backgrounds-50)!important}mat-icon.mat-accent{color:var(--accent-400)!important}mat-icon.mat-success{color:var(--success-500)!important}mat-icon.mat-warn{color:var(--warning-500)!important}mat-icon.mat-error{color:var(--error-500)!important}button[disabled] mat-icon{color:var(--backgroudns-800)!important}button[disabled] .scale-on-hover:hover{transform:none}.scale-on-hover{cursor:pointer;transition:transform .3s ease;display:inline-flex;align-items:center;justify-content:center}.scale-on-hover:hover{transform:scale(1.1);transform-origin:center}.key-value-container.single{display:grid;grid-template-columns:repeat(1,1fr)}.key-value-container.two-per-row{display:grid;grid-template-columns:repeat(2,1fr)}.key-value-container.three-per-row{display:grid;grid-template-columns:repeat(3,1fr)}.key-value-container.flexible{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.key-value-container.dense{display:flex;flex-wrap:wrap;justify-content:space-between}.key-value-container.dense .key-value-pair{flex-basis:calc(50% - 6px);margin-bottom:12px}@media (max-width: 768px){.key-value-container.dense .key-value-pair{flex-basis:100%}}.key-value-pair{display:flex;align-items:center;padding:6px 0}.key-value-pair.space-between{display:flex;justify-content:space-between;align-items:center}.key-value-key{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.key-value-value{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;margin-left:5px}a{cursor:pointer;color:var(--primary-800);text-decoration:none;font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}a:hover{color:var(--primary-600)}.page-wrapper{display:flex;justify-content:space-between;gap:20px;height:100%}.page-wrapper .left{display:flex;flex-direction:column;width:45%;gap:20px}.page-wrapper .right{display:flex;flex-direction:column;width:55%;height:100%}.xterm-viewport{overflow-y:auto!important}.xterm-selection{overflow:hidden}.static{position:static}.fixed{position:fixed}.relative{position:relative}.col-span-1{grid-column:span 1 / span 1}.col-span-10{grid-column:span 10 / span 10}.col-span-12{grid-column:span 12 / span 12}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-\[22px\]{margin-bottom:22px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\[-8px\]{margin-left:-8px}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-\[2px\]{margin-top:2px}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-9{height:2.25rem}.w-56{width:14rem}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.p-2{padding:.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-base{font-size:1rem;line-height:1.5rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html,body{height:100%;background-color:var(--backgrounds-100)}body{margin:0}.no-scroll{overflow:hidden} diff --git a/frontend/server/modelsmith-build/browser/styles-PLSUQHF2.css b/frontend/server/modelsmith-build/browser/styles-PLSUQHF2.css new file mode 100644 index 00000000..e17ae275 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/styles-PLSUQHF2.css @@ -0,0 +1 @@ +.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}html{color:var(--foregrounds-800)}.text-hint{color:var(--foregrounds-700)}.heading-primary-title{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}button.ms-white-stroked-button.mat-mdc-outlined-button{font-size:1rem;line-height:1.375rem;font-weight:400;border-color:var(--backgrounds-50);color:var(--backgrounds-50)}.mat-mdc-button.mat-unthemed{color:var(--foregrounds-700)!important;font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button{border-radius:6px;border-width:1px!important;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button:not(:disabled).mat-primary{border-color:var(--primary-800)}.mat-mdc-outlined-button:not(:disabled).mat-accent{border-color:var(--accent-400);font-weight:700}.mat-mdc-outlined-button:not(:disabled).mat-warn{border-color:var(--error-500);font-weight:700}.mat-button-toggle-group .mat-button-toggle{margin:0 5px;font-size:.875rem}:root{--mat-divider-width: 2px;--mat-divider-color: var(--foregrounds-300)}.vertical-divider{height:100%;width:1px;background-color:var(--backgrounds-50);margin:0 12px}mat-card.ms-card{border-radius:8px;padding:24px;box-shadow:0 3px 8px #00000014;border:2px solid transparent;transition:transform .3s cubic-bezier(.25,.8,.25,1),box-shadow .3s cubic-bezier(.25,.8,.25,1),border-color .3s cubic-bezier(.25,.8,.25,1)}mat-card.ms-card.action-card{cursor:pointer}mat-card.ms-card.action-card:hover{box-shadow:0 5px 15px #0000001f;background-color:var(--backgrounds-80)}mat-card.ms-card.action-card.selected{background-color:var(--backgrounds-80);box-shadow:inset 0 3px 8px #0000001a;border-color:var(--accent-400)}:root{--mat-option-label-text-size: .75rem;--mat-optgroup-label-text-size: .75rem;--background-color: #ffffff;--border-color: #dcdcdc;--text-color: #000000;--placeholder-color: #888888;--hover-border-color: #bcbcbc;--dark-background-color: #121212;--dark-border-color: #2c2c2c;--dark-text-color: #e0e0e0;--dark-placeholder-color: #757575;--dark-hover-border-color: #5e5e5e}.form-field-container{display:flex;flex-direction:column;color:var(--text-color)}.form-field-container.inline-container{flex-direction:row;align-items:center}.form-field-container .mat-mdc-form-field-hint-wrapper,.form-field-container .mat-mdc-form-field-error-wrapper{padding:0}.form-field-container .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color)}.form-field-container .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--text-color)}.form-field-container .mat-mdc-text-field-wrapper ::placeholder{color:var(--placeholder-color)}.form-field-container.dark{color:var(--dark-text-color)}.form-field-container.dark mat-label{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper:hover{border-color:var(--dark-hover-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper ::placeholder{color:var(--dark-placeholder-color)}.form-field-container.dark mat-icon{color:var(--dark-text-color)}.form-field-container mat-label{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem;color:var(--text-color)}.form-field-container mat-label.dark{color:var(--dark-text-color)}.form-field-container mat-form-field .mat-mdc-form-field-icon-prefix>.mat-icon,.form-field-container mat-form-field .mat-mdc-form-field-icon-suffix>.mat-icon{padding:8.5px}.form-field-container mat-form-field .mdc-notched-outline{display:none}.form-field-container mat-form-field .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:6px}.form-field-container mat-form-field .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mdc-text-field__input{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;color:var(--text-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark:hover{border-color:var(--dark-hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mdc-text-field__input{color:var(--dark-text-color)}mat-table.ms-table .mat-mdc-header-row{background:transparent;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem;text-align:left;color:var(--foregrounds-800)}mat-table.ms-table .mdc-data-table__cell,mat-table.ms-table .mdc-data-table__header-cell{padding-left:0}mat-table.ms-table .mat-mdc-cell{background:transparent;font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;text-align:left;color:var(--foregrounds-750)}mat-stepper.ms-wizard{background-color:transparent}mat-stepper.ms-wizard .mat-horizontal-stepper-header-container{display:none}.mat-mdc-chip.ms-chip .mdc-evolution-chip__text-label{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.mat-mdc-chip.ms-chip.mat-accent.mat-mdc-standard-chip{background-color:var(--accent-50)}.mat-mdc-chip.ms-chip.mat-primary.mat-mdc-standard-chip{background-color:var(--primary-100)}.mat-mdc-chip.ms-chip.mat-warn.mat-mdc-standard-chip{background-color:var(--error-200)}.ms-mat-menu{--mat-menu-item-label-text-size: .875rem}.mdc-label{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.ms-checkbox-white{--mdc-checkbox-unselected-hover-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-focus-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-pressed-state-layer-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-icon-color: var(--backgrounds-50) !important}.ms-checkbox-white .mdc-label{color:var(--backgrounds-50)}.mat-mdc-tooltip:before{background-color:var(--tooltip);height:12px;width:12px;rotate:45deg;right:50%!important;left:auto!important;transform:translate(4px,-4px)}.mdc-tooltip__surface{background-color:var(--tooltip)!important}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip:before{top:auto;bottom:-6px!important}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip:before{top:-6px!important;bottom:auto}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: rgba(255, 255, 255, 1) !important;--mdc-snackbar-supporting-text-color: rgba(35, 40, 46, 1) !important}.notification-panel-success .mdc-snackbar__surface{border-left:6px solid var(--success-500)}.notification-panel-error .mdc-snackbar__surface{border-left:6px solid var(--error-500)}.notification-panel-warning .mdc-snackbar__surface{border-left:6px solid var(--warning-500)}.notification-panel-info .mdc-snackbar__surface{border-left:6px solid var(--primary-800)}.dialog-backdrop,.drawer-backdrop{background-color:var(--foregrounds-500-alpha)}.mdc-list-item__primary-text{width:100%}.mat-mdc-optgroup-label{padding:5px 16px}:root .ms-stepper{--mat-stepper-header-selected-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-weight: 500;--mat-stepper-header-height: 60px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.mat-h1,.mat-headline-5,body .mat-h1,body .mat-headline-5,body h1{font:700 1.5rem/2.125rem Montserrat;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,body .mat-h2,body .mat-headline-6,body h2{font:500 1.25rem/2rem Montserrat;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,body .mat-h3,body .mat-subtitle-1,body h3{font:400 1rem/1.75rem Montserrat;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,body .mat-h4,body .mat-body-1,body h4{font:400 1rem/1.5rem Montserrat;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,body .mat-h5,body h5{font:400 .72625rem/1.25rem Montserrat;margin:0 0 12px}.mat-h6,body .mat-h6,body h6{font:400 .58625rem/1.25rem Montserrat;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,body .mat-body-strong,body .mat-subtitle-2{font:500 .875rem/1.375rem Montserrat;letter-spacing:.0071428571em}.mat-body,.mat-body-2,body .mat-body,body .mat-body-2,body{font:400 .875rem/1.25rem Montserrat;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,body .mat-body p,body .mat-body-2 p,body p{margin:0 0 12px}.mat-small,.mat-caption,body .mat-small,body .mat-caption{font:400 .75rem/1.25rem Montserrat;letter-spacing:.0333333333em}.mat-headline-1,body .mat-headline-1{font:300 7rem/7rem Montserrat;letter-spacing:-.05em;margin:0 0 56px}.mat-headline-2,body .mat-headline-2{font:400 3.5rem/3.5rem Montserrat;letter-spacing:-.02em;margin:0 0 64px}.mat-headline-3,body .mat-headline-3{font:400 2.8125rem/3rem Montserrat;letter-spacing:-.005em;margin:0 0 64px}.mat-headline-4,body .mat-headline-4{font:400 2.125rem/2.5rem Montserrat;letter-spacing:normal;margin:0 0 64px}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--backgrounds-100)}::-webkit-scrollbar-thumb{background:var(--backgrounds-500);border-radius:16px}::-webkit-scrollbar-thumb:hover{background:var(--backgrounds-700)}@font-face{font-family:icomoon;src:url("./media/icomoon-N4UB7WA7.eot?39lrb6");src:url("./media/icomoon-N4UB7WA7.eot?39lrb6#iefix") format("embedded-opentype"),url("./media/icomoon-ALHP4THO.ttf?39lrb6") format("truetype"),url("./media/icomoon-FCELVRZF.woff?39lrb6") format("woff"),url("./media/icomoon-JVEKTUSA.svg?39lrb6#icomoon") format("svg");font-weight:400;font-style:normal;font-display:block}[class^=icon-],[class*=" icon-"]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-Admin:before{content:"\e955"}.icon-Environmental:before{content:"\e956"}.icon-Inventory:before{content:"\e957"}.icon-Systems-Manager:before{content:"\e958"}.icon-SelectedFalse:before{content:"\e958"}.icon-Alerts-Info .path1:before{content:"\e900";color:#5b92f0}.icon-Alerts-Info .path2:before{content:"\e901";margin-left:-1em;color:#fff}.icon-Alerts-Info .path3:before{content:"\e902";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path1:before{content:"\e903";color:#c24632}.icon-Alerts-Negative .path2:before{content:"\e904";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path3:before{content:"\e905";margin-left:-1em;color:#fff}.icon-Alerts-Positive .path1:before{content:"\e906";color:#45991f}.icon-Alerts-Positive .path2:before{content:"\e907";margin-left:-1em;color:#fff}.icon-Alerts-Warning .path1:before{content:"\e908";color:#d9b216}.icon-Alerts-Warning .path2:before{content:"\e909";margin-left:-1em;color:#464c54}.icon-Alerts-Warning .path3:before{content:"\e90a";margin-left:-1em;color:#464c54}.icon-ArrowDown:before{content:"\e90b"}.icon-ArrowLeft:before{content:"\e90c"}.icon-ArrowRight:before{content:"\e90d"}.icon-ArrowSquareOut:before{content:"\e90e"}.icon-ArrowUp:before{content:"\e90f"}.icon-Bell:before{content:"\e910"}.icon-CalendarBlank:before{content:"\e911"}.icon-CaretDoubleLeft:before{content:"\e912"}.icon-CaretDoubleRight:before{content:"\e913"}.icon-CaretDown:before{content:"\e914"}.icon-CaretLeft:before{content:"\e915"}.icon-CaretRight:before{content:"\e916"}.icon-CaretUp:before{content:"\e917"}.icon-Check:before{content:"\e918"}.icon-CheckCircle:before{content:"\e919"}.icon-Clock:before{content:"\e91a"}.icon-Copy:before{content:"\e91b"}.icon-Crosshair:before{content:"\e91c"}.icon-DotsSix:before{content:"\e91d"}.icon-DotsThree:before{content:"\e91e"}.icon-DotsThreeVertical:before{content:"\e91f"}.icon-DownloadSimple:before{content:"\e920"}.icon-DropdownCaretDown:before{content:"\e921"}.icon-DropdownCaretRight:before{content:"\e922"}.icon-DropdownCaretUp:before{content:"\e923"}.icon-EnvelopeSimple:before{content:"\e924"}.icon-Eye:before{content:"\e925"}.icon-EyeSlash:before{content:"\e926"}.icon-FunnelSimple:before{content:"\e927"}.icon-GearSix:before{content:"\e928"}.icon-Info:before{content:"\e929"}.icon-Lightning:before{content:"\e92a"}.icon-ListBullets:before{content:"\e92b"}.icon-Loader:before{content:"\e92c"}.icon-Lock:before{content:"\e92d"}.icon-MagicWand:before{content:"\e92e"}.icon-Magnet:before{content:"\e92f"}.icon-MagnifyingGlass:before{content:"\e930"}.icon-MapTrifold:before{content:"\e931"}.icon-Minus:before{content:"\e932"}.icon-Nav:before{content:"\e933"}.icon-Paperclip:before{content:"\e934"}.icon-Passthrough:before{content:"\e935"}.icon-PencilSimple:before{content:"\e936"}.icon-Placeholder:before{content:"\e937"}.icon-Plus:before{content:"\e938"}.icon-Printer:before{content:"\e939"}.icon-Prohibit:before{content:"\e93a"}.icon-Question:before{content:"\e93b"}.icon-Refresh:before{content:"\e93c"}.icon-Rocket:before{content:"\e93d"}.icon-SignOut:before{content:"\e93e"}.icon-Sort:before{content:"\e93f"}.icon-SortDown .path1:before{content:"\e940";color:#000}.icon-SortDown .path2:before{content:"\e941";margin-left:-1em;color:#232323}.icon-SortUp .path1:before{content:"\e942";color:#232323}.icon-SortUp .path2:before{content:"\e943";margin-left:-1em;color:#000}.icon-Stack:before{content:"\e944"}.icon-StackPort:before{content:"\e945"}.icon-TrashSimple:before{content:"\e946"}.icon-TrendDown:before{content:"\e947"}.icon-TrendUp:before{content:"\e948"}.icon-UploadSimple:before{content:"\e949"}.icon-User:before{content:"\e94a"}.icon-Users:before{content:"\e94b"}.icon-WifiHigh:before{content:"\e94c"}.icon-WifiLightning:before{content:"\e94d"}.icon-WifiLow:before{content:"\e94e"}.icon-WifiMedium:before{content:"\e94f"}.icon-WifiNone:before{content:"\e950"}.icon-WifiSlash:before{content:"\e951"}.icon-WifiX:before{content:"\e952"}.icon-X:before{content:"\e953"}.icon-XCircle:before{content:"\e954"}.mat-icon.size-18{font-size:1.125rem;width:1.125rem;height:1.125rem}.mat-icon.size-20{font-size:1.25rem;width:1.25rem;height:1.25rem}.mat-icon.size-24{font-size:1.5rem;width:1.5rem;height:1.5rem}.mat-icon.size-32{font-size:2rem;width:2rem;height:2rem}.mat-icon.size-48{font-size:3rem;width:3rem;height:3rem}mat-icon{font-size:1.5rem}mat-icon.mat-primary{color:var(--primary-800)!important}mat-icon.mat-complementary{color:var(--complementary-800)!important}mat-icon.mat-gray{color:var(--foregrounds-600)!important}mat-icon.mat-white{color:var(--backgrounds-50)!important}mat-icon.mat-accent{color:var(--accent-400)!important}mat-icon.mat-success{color:var(--success-500)!important}mat-icon.mat-warn{color:var(--warning-500)!important}mat-icon.mat-error{color:var(--error-500)!important}button[disabled] mat-icon{color:var(--backgroudns-800)!important}button[disabled] .scale-on-hover:hover{transform:none}.scale-on-hover{cursor:pointer;transition:transform .3s ease;display:inline-flex;align-items:center;justify-content:center}.scale-on-hover:hover{transform:scale(1.1);transform-origin:center}.key-value-container.single{display:grid;grid-template-columns:repeat(1,1fr)}.key-value-container.two-per-row{display:grid;grid-template-columns:repeat(2,1fr)}.key-value-container.three-per-row{display:grid;grid-template-columns:repeat(3,1fr)}.key-value-container.flexible{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.key-value-container.dense{display:flex;flex-wrap:wrap;justify-content:space-between}.key-value-container.dense .key-value-pair{flex-basis:calc(50% - 6px);margin-bottom:12px}@media (max-width: 768px){.key-value-container.dense .key-value-pair{flex-basis:100%}}.key-value-pair{display:flex;align-items:center;padding:6px 0}.key-value-pair.space-between{display:flex;justify-content:space-between;align-items:center}.key-value-key{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.key-value-value{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;margin-left:5px}a{cursor:pointer;color:var(--primary-800);text-decoration:none;font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}a:hover{color:var(--primary-600)}.page-wrapper{display:flex;justify-content:space-between;gap:20px;height:100%}.page-wrapper .left{display:flex;flex-direction:column;width:45%;gap:20px}.page-wrapper .right{display:flex;flex-direction:column;width:55%;height:100%}.xterm-viewport{overflow-y:auto!important}.xterm-selection{overflow:hidden}.static{position:static}.fixed{position:fixed}.relative{position:relative}.col-span-1{grid-column:span 1 / span 1}.col-span-10{grid-column:span 10 / span 10}.col-span-12{grid-column:span 12 / span 12}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-\[22px\]{margin-bottom:22px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\[-8px\]{margin-left:-8px}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-\[2px\]{margin-top:2px}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-9{height:2.25rem}.w-56{width:14rem}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.p-2{padding:.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-base{font-size:1rem;line-height:1.5rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html,body{height:100%;background-color:var(--backgrounds-100)}body{margin:0}.no-scroll{overflow:hidden} diff --git a/frontend/server/modelsmith-build/browser/theme-RQ3A5USC.css b/frontend/server/modelsmith-build/browser/theme-OYVQL7SU.css similarity index 61% rename from frontend/server/modelsmith-build/browser/theme-RQ3A5USC.css rename to frontend/server/modelsmith-build/browser/theme-OYVQL7SU.css index 400a8121..0edf331b 100644 --- a/frontend/server/modelsmith-build/browser/theme-RQ3A5USC.css +++ b/frontend/server/modelsmith-build/browser/theme-OYVQL7SU.css @@ -1 +1 @@ -@charset "UTF-8";.mat-theme-loaded-marker{display:none}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #1d69cc;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #6250d4;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #1d69cc;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #1d69cc;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #6250d4;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #6250d4;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Montserrat;--mat-option-label-text-line-height: 1.5rem;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Montserrat;--mat-optgroup-label-text-line-height: 1.5rem;--mat-optgroup-label-text-size: 1rem;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-keep-touch-target: false;--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000;--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #1d69cc;--mat-text-button-state-layer-color: #1d69cc;--mat-text-button-ripple-color: rgba(29, 105, 204, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #6250d4;--mat-text-button-state-layer-color: #6250d4;--mat-text-button-ripple-color: rgba(98, 80, 212, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #1d69cc;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #6250d4;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #1d69cc;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #6250d4;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #1d69cc;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #1d69cc;--mat-outlined-button-ripple-color: rgba(29, 105, 204, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #6250d4;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #6250d4;--mat-outlined-button-ripple-color: rgba(98, 80, 212, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px;--mdc-filled-button-container-height: 36px;--mdc-outlined-button-container-height: 36px;--mdc-protected-button-container-height: 36px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Inter;--mdc-text-button-label-text-size: .875rem;--mdc-text-button-label-text-tracking: normal;--mdc-text-button-label-text-weight: 700;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Inter;--mdc-filled-button-label-text-size: .875rem;--mdc-filled-button-label-text-tracking: normal;--mdc-filled-button-label-text-weight: 700;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Inter;--mdc-outlined-button-label-text-size: .875rem;--mdc-outlined-button-label-text-tracking: normal;--mdc-outlined-button-label-text-weight: 700;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Inter;--mdc-protected-button-label-text-size: .875rem;--mdc-protected-button-label-text-tracking: normal;--mdc-protected-button-label-text-weight: 700;--mdc-protected-button-label-text-transform: none}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Montserrat;--mat-legacy-button-toggle-label-text-line-height: 1.5rem;--mat-legacy-button-toggle-label-text-size: 1rem;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Montserrat;--mat-standard-button-toggle-label-text-line-height: 1.5rem;--mat-standard-button-toggle-label-text-size: 1rem;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #1d69cc;--mdc-filled-text-field-focus-active-indicator-color: #1d69cc;--mdc-filled-text-field-focus-label-text-color: rgba(29, 105, 204, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #1d69cc;--mdc-outlined-text-field-focus-outline-color: #1d69cc;--mdc-outlined-text-field-focus-label-text-color: rgba(29, 105, 204, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(29, 105, 204, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #6250d4;--mdc-filled-text-field-focus-active-indicator-color: #6250d4;--mdc-filled-text-field-focus-label-text-color: rgba(98, 80, 212, .87);--mdc-outlined-text-field-caret-color: #6250d4;--mdc-outlined-text-field-focus-outline-color: #6250d4;--mdc-outlined-text-field-focus-label-text-color: rgba(98, 80, 212, .87);--mat-form-field-focus-select-arrow-color: rgba(98, 80, 212, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Montserrat;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Montserrat;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Montserrat;--mat-form-field-container-text-line-height: 1.5rem;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 1rem;--mat-form-field-subscript-text-font: Montserrat;--mat-form-field-subscript-text-line-height: 1.25rem;--mat-form-field-subscript-text-size: .75rem;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-base-elevation-level: 8}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Montserrat;--mat-menu-item-label-text-size: 1rem;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 1.5rem;--mat-menu-item-label-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(29, 105, 204, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(98, 80, 212, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Montserrat;--mat-select-trigger-text-line-height: 1.5rem;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #1d69cc;--mat-icon-button-state-layer-color: #1d69cc;--mat-icon-button-ripple-color: rgba(29, 105, 204, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #6250d4;--mat-icon-button-state-layer-color: #6250d4;--mat-icon-button-ripple-color: rgba(98, 80, 212, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Montserrat;--mat-table-header-headline-line-height: 1.375rem;--mat-table-header-headline-size: .875rem;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Montserrat;--mat-table-row-item-label-text-line-height: 1.25rem;--mat-table-row-item-label-text-size: .875rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Montserrat;--mat-table-footer-supporting-text-line-height: 1.25rem;--mat-table-footer-supporting-text-size: .875rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Montserrat;--mat-card-title-text-line-height: 2rem;--mat-card-title-text-size: 1.25rem;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Montserrat;--mat-card-subtitle-text-line-height: 1.375rem;--mat-card-subtitle-text-size: .875rem;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1d69cc;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1d69cc;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1d69cc;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #6250d4;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #6250d4;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #6250d4;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Montserrat;--mat-stepper-header-label-text-font: Montserrat;--mat-stepper-header-label-text-size: .875rem;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 1rem;--mat-stepper-header-selected-state-label-text-size: 1rem;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-selected-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-flat-disabled-selected-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #1d69cc;--mdc-chip-elevated-selected-container-color: #1d69cc;--mdc-chip-elevated-disabled-container-color: #1d69cc;--mdc-chip-flat-disabled-selected-container-color: #1d69cc;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #6250d4;--mdc-chip-elevated-selected-container-color: #6250d4;--mdc-chip-elevated-disabled-container-color: #6250d4;--mdc-chip-flat-disabled-selected-container-color: #6250d4;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Montserrat;--mdc-chip-label-text-line-height: 1.25rem;--mdc-chip-label-text-size: .875rem;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #6250d4;--mdc-checkbox-selected-hover-icon-color: #6250d4;--mdc-checkbox-selected-icon-color: #6250d4;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #6250d4;--mdc-checkbox-selected-hover-state-layer-color: #6250d4;--mdc-checkbox-selected-pressed-state-layer-color: #6250d4;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1d69cc;--mdc-checkbox-selected-hover-icon-color: #1d69cc;--mdc-checkbox-selected-icon-color: #1d69cc;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #1d69cc;--mdc-checkbox-selected-hover-state-layer-color: #1d69cc;--mdc-checkbox-selected-pressed-state-layer-color: #1d69cc;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Montserrat;--mat-checkbox-label-text-line-height: 1.25rem;--mat-checkbox-label-text-size: .875rem;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #6250d4}html{--mdc-snackbar-supporting-text-font: Montserrat;--mdc-snackbar-supporting-text-line-height: 1.25rem;--mdc-snackbar-supporting-text-size: .875rem;--mdc-snackbar-supporting-text-weight: 400}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Montserrat;--mdc-plain-tooltip-supporting-text-size: .75rem;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #1d69cc;--mdc-linear-progress-track-color: rgba(29, 105, 204, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #6250d4;--mdc-linear-progress-track-color: rgba(98, 80, 212, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #1d69cc}html .mat-accent{--mdc-circular-progress-active-indicator-color: #6250d4}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #228df2;--mdc-switch-selected-handle-color: #228df2;--mdc-switch-selected-hover-state-layer-color: #228df2;--mdc-switch-selected-pressed-state-layer-color: #228df2;--mdc-switch-selected-focus-handle-color: #184aad;--mdc-switch-selected-hover-handle-color: #184aad;--mdc-switch-selected-pressed-handle-color: #184aad;--mdc-switch-selected-focus-track-color: #65b9ff;--mdc-switch-selected-hover-track-color: #65b9ff;--mdc-switch-selected-pressed-track-color: #65b9ff;--mdc-switch-selected-track-color: #65b9ff;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #2c2ec6;--mdc-switch-selected-handle-color: #2c2ec6;--mdc-switch-selected-hover-state-layer-color: #2c2ec6;--mdc-switch-selected-pressed-state-layer-color: #2c2ec6;--mdc-switch-selected-focus-handle-color: #0018a8;--mdc-switch-selected-hover-handle-color: #0018a8;--mdc-switch-selected-pressed-handle-color: #0018a8;--mdc-switch-selected-focus-track-color: #816fdb;--mdc-switch-selected-hover-track-color: #816fdb;--mdc-switch-selected-pressed-track-color: #816fdb;--mdc-switch-selected-track-color: #816fdb}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Montserrat;--mat-switch-label-text-line-height: 1.25rem;--mat-switch-label-text-size: .875rem;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Montserrat;--mat-expansion-header-text-size: .875rem;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Montserrat;--mat-expansion-container-text-line-height: 1.25rem;--mat-expansion-container-text-size: .875rem;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-form-field-container-height: 40px;--mat-form-field-filled-label-display: none;--mat-form-field-container-vertical-padding: 8px;--mat-form-field-filled-with-label-container-padding-top: 8px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mat-icon-button-touch-target-display: none}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 32px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:4px}:root{--primary-50: #e3f3ff;--primary-100: #bce0ff;--primary-200: #91cdff;--primary-300: #65b9ff;--primary-400: #42aaff;--primary-500: #239bff;--primary-600: #228df2;--primary-700: #2774d9;--primary-800: #1d69cc;--primary-900: #184aad;--primary-contrast-50: white;--primary-contrast-100: white;--primary-contrast-200: white;--primary-contrast-300: white;--primary-contrast-400: white;--primary-contrast-500: white;--primary-contrast-600: white;--primary-contrast-700: white;--primary-contrast-800: white;--primary-contrast-900: white;--accent-50: #ebedff;--accent-100: #cac1ef;--accent-200: #a798e5;--accent-300: #816fdb;--accent-400: #6250d4;--accent-500: #3b33cc;--accent-600: #2c2ec6;--accent-700: #0527bd;--accent-800: #0022b6;--accent-900: #0018a8;--accent-contrast-50: white;--accent-contrast-100: white;--accent-contrast-200: white;--accent-contrast-300: white;--accent-contrast-400: white;--accent-contrast-500: white;--accent-contrast-600: white;--accent-contrast-700: white;--accent-contrast-800: white;--accent-contrast-900: white;--complementary-50: #fce5ee;--complementary-100: #f8bed5;--complementary-200: #f595b9;--complementary-300: #f26b9e;--complementary-400: #ef4c87;--complementary-500: #ee3272;--complementary-600: #dc2f6e;--complementary-700: #c62c68;--complementary-800: #b02863;--complementary-900: #8a2259;--success-50: #d7f6ee;--success-100: #9ae9d3;--success-200: #40dab6;--success-300: #00c899;--success-400: #00b885;--success-500: #00a873;--success-600: #009a66;--success-700: #008956;--success-800: #007948;--success-900: #005c2c;--warning-100: #fff4dd;--warning-200: #ffe9bb;--warning-300: #ffdf99;--warning-400: #ffd477;--warning-500: #ffc955;--warning-600: #cca144;--warning-700: #997933;--warning-800: #665022;--warning-900: #332811;--error-100: #ffdee2;--error-200: #febdc5;--error-300: #fe9ba9;--error-400: #fd7a8c;--error-500: #f44336;--error-600: #ca4759;--error-700: #983543;--error-800: #65242c;--error-900: #331216;--backgrounds-50: #ffffff;--backgrounds-80: #fafafa;--backgrounds-100: #f6f6f6;--backgrounds-150: #eaeaea;--backgrounds-200: #f1f1f1;--backgrounds-300: #e5e5e5;--backgrounds-400: #c2c2c2;--backgrounds-500: #a4a4a4;--backgrounds-600: #7a7a7a;--backgrounds-700: #666666;--backgrounds-800: #474747;--backgrounds-900: #000000;--foregrounds-50: #f5fcff;--foregrounds-100: #f0f8ff;--foregrounds-150: #f0f1f2;--foregrounds-200: #ebf3fd;--foregrounds-300: #e1e4e8;--foregrounds-400: #c1c8d3;--foregrounds-500: #a3abb4;--foregrounds-500-alpha: rgba(163, 171, 180, .6901960784);--foregrounds-550: #889099;--foregrounds-600: #7e868f;--foregrounds-650: #79818a;--foregrounds-700: #656c75;--foregrounds-750: #596069;--foregrounds-800: #23282e;--foregrounds-900: #242a32;--tooltip: #373c42;--terminal-color: #d0d4d9;--login-title: #27a7de;--header-left: #3fd9b6;--header-right: #28a9dc;--metrics-sparsity: #29aadc;--metrics-accuracy: #40dab7;--metrics-loss: #b02863;--metrics-testing: #f1c40f} +@charset "UTF-8";.mat-theme-loaded-marker{display:none}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #1d69cc;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #6250d4;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #1d69cc;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #1d69cc;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #6250d4;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #6250d4;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Montserrat;--mat-option-label-text-line-height: 1.5rem;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Montserrat;--mat-optgroup-label-text-line-height: 1.5rem;--mat-optgroup-label-text-size: 1rem;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-keep-touch-target: false;--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000;--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #1d69cc;--mat-text-button-state-layer-color: #1d69cc;--mat-text-button-ripple-color: rgba(29, 105, 204, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #6250d4;--mat-text-button-state-layer-color: #6250d4;--mat-text-button-ripple-color: rgba(98, 80, 212, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #1d69cc;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #6250d4;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #1d69cc;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #6250d4;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #1d69cc;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #1d69cc;--mat-outlined-button-ripple-color: rgba(29, 105, 204, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #6250d4;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #6250d4;--mat-outlined-button-ripple-color: rgba(98, 80, 212, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px;--mdc-filled-button-container-height: 36px;--mdc-outlined-button-container-height: 36px;--mdc-protected-button-container-height: 36px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Inter;--mdc-text-button-label-text-size: .875rem;--mdc-text-button-label-text-tracking: normal;--mdc-text-button-label-text-weight: 700;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Inter;--mdc-filled-button-label-text-size: .875rem;--mdc-filled-button-label-text-tracking: normal;--mdc-filled-button-label-text-weight: 700;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Inter;--mdc-outlined-button-label-text-size: .875rem;--mdc-outlined-button-label-text-tracking: normal;--mdc-outlined-button-label-text-weight: 700;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Inter;--mdc-protected-button-label-text-size: .875rem;--mdc-protected-button-label-text-tracking: normal;--mdc-protected-button-label-text-weight: 700;--mdc-protected-button-label-text-transform: none}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Montserrat;--mat-legacy-button-toggle-label-text-line-height: 1.5rem;--mat-legacy-button-toggle-label-text-size: 1rem;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Montserrat;--mat-standard-button-toggle-label-text-line-height: 1.5rem;--mat-standard-button-toggle-label-text-size: 1rem;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #1d69cc;--mdc-filled-text-field-focus-active-indicator-color: #1d69cc;--mdc-filled-text-field-focus-label-text-color: rgba(29, 105, 204, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #1d69cc;--mdc-outlined-text-field-focus-outline-color: #1d69cc;--mdc-outlined-text-field-focus-label-text-color: rgba(29, 105, 204, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(29, 105, 204, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #6250d4;--mdc-filled-text-field-focus-active-indicator-color: #6250d4;--mdc-filled-text-field-focus-label-text-color: rgba(98, 80, 212, .87);--mdc-outlined-text-field-caret-color: #6250d4;--mdc-outlined-text-field-focus-outline-color: #6250d4;--mdc-outlined-text-field-focus-label-text-color: rgba(98, 80, 212, .87);--mat-form-field-focus-select-arrow-color: rgba(98, 80, 212, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Montserrat;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Montserrat;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Montserrat;--mat-form-field-container-text-line-height: 1.5rem;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 1rem;--mat-form-field-subscript-text-font: Montserrat;--mat-form-field-subscript-text-line-height: 1.25rem;--mat-form-field-subscript-text-size: .75rem;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-base-elevation-level: 8}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Montserrat;--mat-menu-item-label-text-size: 1rem;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 1.5rem;--mat-menu-item-label-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(29, 105, 204, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(98, 80, 212, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Montserrat;--mat-select-trigger-text-line-height: 1.5rem;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #1d69cc;--mat-icon-button-state-layer-color: #1d69cc;--mat-icon-button-ripple-color: rgba(29, 105, 204, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #6250d4;--mat-icon-button-state-layer-color: #6250d4;--mat-icon-button-ripple-color: rgba(98, 80, 212, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Montserrat;--mat-table-header-headline-line-height: 1.375rem;--mat-table-header-headline-size: .875rem;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Montserrat;--mat-table-row-item-label-text-line-height: 1.25rem;--mat-table-row-item-label-text-size: .875rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Montserrat;--mat-table-footer-supporting-text-line-height: 1.25rem;--mat-table-footer-supporting-text-size: .875rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Montserrat;--mat-card-title-text-line-height: 2rem;--mat-card-title-text-size: 1.25rem;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Montserrat;--mat-card-subtitle-text-line-height: 1.375rem;--mat-card-subtitle-text-size: .875rem;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-selected-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-flat-disabled-selected-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #1d69cc;--mdc-chip-elevated-selected-container-color: #1d69cc;--mdc-chip-elevated-disabled-container-color: #1d69cc;--mdc-chip-flat-disabled-selected-container-color: #1d69cc;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #6250d4;--mdc-chip-elevated-selected-container-color: #6250d4;--mdc-chip-elevated-disabled-container-color: #6250d4;--mdc-chip-flat-disabled-selected-container-color: #6250d4;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Montserrat;--mdc-chip-label-text-line-height: 1.25rem;--mdc-chip-label-text-size: .875rem;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #6250d4;--mdc-checkbox-selected-hover-icon-color: #6250d4;--mdc-checkbox-selected-icon-color: #6250d4;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #6250d4;--mdc-checkbox-selected-hover-state-layer-color: #6250d4;--mdc-checkbox-selected-pressed-state-layer-color: #6250d4;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1d69cc;--mdc-checkbox-selected-hover-icon-color: #1d69cc;--mdc-checkbox-selected-icon-color: #1d69cc;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #1d69cc;--mdc-checkbox-selected-hover-state-layer-color: #1d69cc;--mdc-checkbox-selected-pressed-state-layer-color: #1d69cc;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Montserrat;--mat-checkbox-label-text-line-height: 1.25rem;--mat-checkbox-label-text-size: .875rem;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #6250d4}html{--mdc-snackbar-supporting-text-font: Montserrat;--mdc-snackbar-supporting-text-line-height: 1.25rem;--mdc-snackbar-supporting-text-size: .875rem;--mdc-snackbar-supporting-text-weight: 400}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Montserrat;--mdc-plain-tooltip-supporting-text-size: .75rem;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #1d69cc;--mdc-linear-progress-track-color: rgba(29, 105, 204, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #6250d4;--mdc-linear-progress-track-color: rgba(98, 80, 212, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #1d69cc}html .mat-accent{--mdc-circular-progress-active-indicator-color: #6250d4}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #228df2;--mdc-switch-selected-handle-color: #228df2;--mdc-switch-selected-hover-state-layer-color: #228df2;--mdc-switch-selected-pressed-state-layer-color: #228df2;--mdc-switch-selected-focus-handle-color: #184aad;--mdc-switch-selected-hover-handle-color: #184aad;--mdc-switch-selected-pressed-handle-color: #184aad;--mdc-switch-selected-focus-track-color: #65b9ff;--mdc-switch-selected-hover-track-color: #65b9ff;--mdc-switch-selected-pressed-track-color: #65b9ff;--mdc-switch-selected-track-color: #65b9ff;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #2c2ec6;--mdc-switch-selected-handle-color: #2c2ec6;--mdc-switch-selected-hover-state-layer-color: #2c2ec6;--mdc-switch-selected-pressed-state-layer-color: #2c2ec6;--mdc-switch-selected-focus-handle-color: #0018a8;--mdc-switch-selected-hover-handle-color: #0018a8;--mdc-switch-selected-pressed-handle-color: #0018a8;--mdc-switch-selected-focus-track-color: #816fdb;--mdc-switch-selected-hover-track-color: #816fdb;--mdc-switch-selected-pressed-track-color: #816fdb;--mdc-switch-selected-track-color: #816fdb}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Montserrat;--mat-switch-label-text-line-height: 1.25rem;--mat-switch-label-text-size: .875rem;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Montserrat;--mat-expansion-header-text-size: .875rem;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Montserrat;--mat-expansion-container-text-line-height: 1.25rem;--mat-expansion-container-text-size: .875rem;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1d69cc;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1d69cc;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1d69cc;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #6250d4;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #6250d4;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #6250d4;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Montserrat;--mat-stepper-header-label-text-font: Montserrat;--mat-stepper-header-label-text-size: .875rem;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 1rem;--mat-stepper-header-selected-state-label-text-size: 1rem;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-form-field-container-height: 40px;--mat-form-field-filled-label-display: none;--mat-form-field-container-vertical-padding: 8px;--mat-form-field-filled-with-label-container-padding-top: 8px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mat-icon-button-touch-target-display: none}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 32px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:4px}:root{--primary-50: #e3f3ff;--primary-100: #bce0ff;--primary-200: #91cdff;--primary-300: #65b9ff;--primary-400: #42aaff;--primary-500: #239bff;--primary-600: #228df2;--primary-700: #2774d9;--primary-800: #1d69cc;--primary-900: #184aad;--primary-contrast-50: white;--primary-contrast-100: white;--primary-contrast-200: white;--primary-contrast-300: white;--primary-contrast-400: white;--primary-contrast-500: white;--primary-contrast-600: white;--primary-contrast-700: white;--primary-contrast-800: white;--primary-contrast-900: white;--accent-50: #ebedff;--accent-100: #cac1ef;--accent-200: #a798e5;--accent-300: #816fdb;--accent-400: #6250d4;--accent-500: #3b33cc;--accent-600: #2c2ec6;--accent-700: #0527bd;--accent-800: #0022b6;--accent-900: #0018a8;--accent-contrast-50: white;--accent-contrast-100: white;--accent-contrast-200: white;--accent-contrast-300: white;--accent-contrast-400: white;--accent-contrast-500: white;--accent-contrast-600: white;--accent-contrast-700: white;--accent-contrast-800: white;--accent-contrast-900: white;--complementary-50: #fce5ee;--complementary-100: #f8bed5;--complementary-200: #f595b9;--complementary-300: #f26b9e;--complementary-400: #ef4c87;--complementary-500: #ee3272;--complementary-600: #dc2f6e;--complementary-700: #c62c68;--complementary-800: #b02863;--complementary-900: #8a2259;--success-50: #d7f6ee;--success-100: #9ae9d3;--success-200: #40dab6;--success-300: #00c899;--success-400: #00b885;--success-500: #00a873;--success-600: #009a66;--success-700: #008956;--success-800: #007948;--success-900: #005c2c;--warning-100: #fff4dd;--warning-200: #ffe9bb;--warning-300: #ffdf99;--warning-400: #ffd477;--warning-500: #ffc955;--warning-600: #cca144;--warning-700: #997933;--warning-800: #665022;--warning-900: #332811;--error-100: #ffdee2;--error-200: #febdc5;--error-300: #fe9ba9;--error-400: #fd7a8c;--error-500: #f44336;--error-600: #ca4759;--error-700: #983543;--error-800: #65242c;--error-900: #331216;--backgrounds-50: #ffffff;--backgrounds-80: #fafafa;--backgrounds-100: #f6f6f6;--backgrounds-150: #eaeaea;--backgrounds-200: #f1f1f1;--backgrounds-300: #e5e5e5;--backgrounds-400: #c2c2c2;--backgrounds-500: #a4a4a4;--backgrounds-600: #7a7a7a;--backgrounds-700: #666666;--backgrounds-800: #474747;--backgrounds-900: #000000;--foregrounds-50: #f5fcff;--foregrounds-100: #f0f8ff;--foregrounds-150: #f0f1f2;--foregrounds-200: #ebf3fd;--foregrounds-300: #e1e4e8;--foregrounds-400: #c1c8d3;--foregrounds-500: #a3abb4;--foregrounds-500-alpha: rgba(163, 171, 180, .6901960784);--foregrounds-550: #889099;--foregrounds-600: #7e868f;--foregrounds-650: #79818a;--foregrounds-700: #656c75;--foregrounds-750: #596069;--foregrounds-800: #23282e;--foregrounds-900: #242a32;--tooltip: #373c42;--terminal-color: #d0d4d9;--login-title: #27a7de;--header-left: #3fd9b6;--header-right: #28a9dc;--metrics-sparsity: #29aadc;--metrics-accuracy: #40dab7;--metrics-loss: #b02863;--metrics-testing: #f1c40f}